@suluk/deploy - v0.1.4
    Preparing search index...

    Interface R2BucketLike

    The minimal Workers R2 surface this binding calls — satisfied by the real R2Bucket and by a mock.

    interface R2BucketLike {
        put(
            key: string,
            value: string | ArrayBuffer | Uint8Array<ArrayBufferLike>,
            opts?: { httpMetadata?: { contentType?: string } },
        ): Promise<unknown>;
        delete(key: string): Promise<void>;
    }
    Index

    Methods

    Methods

    • Parameters

      • key: string
      • value: string | ArrayBuffer | Uint8Array<ArrayBufferLike>
      • Optionalopts: { httpMetadata?: { contentType?: string } }

      Returns Promise<unknown>

    • Parameters

      • key: string

      Returns Promise<void>