drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias MirrorBucket

    the slice of R2 the drain needs; structural so a stand-in can drive it

    type MirrorBucket = {
        delete(key: string): Promise<unknown>;
        put(key: string, value: Uint8Array, options?: unknown): Promise<unknown>;
    }
    Index
    • Parameters

      • key: string

      Returns Promise<unknown>

    • Parameters

      • key: string
      • value: Uint8Array
      • Optionaloptions: unknown

      Returns Promise<unknown>