Setu-TS
    Preparing search index...

    Interface R2StorageArm

    Wires an R2 bucket up as the application's IStorage under CAPABILITIES.STORAGE.

    0.2.0

    interface R2StorageArm {
        binding: string;
        name?: string;
        prefix?: string;
    }
    Index
    binding: string

    The R2 bucket binding name from wrangler.toml.

    name?: string

    Instance name. 'default' (the default) claims the bare storage token; anything else derives storage.<name>.

    prefix?: string

    Prefix applied to every object key.