@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface AssetsApi

    interface AssetsApi {
        startSession(manifest: AssetManifest): Promise<UploadSession>;
        uploadBucket(
            jwt: string,
            files: { bytes: Uint8Array; hash: string }[],
        ): Promise<string>;
    }
    Index
    • POST /workers/assets/upload?base64=true

      Parameters

      • jwt: string
      • files: { bytes: Uint8Array; hash: string }[]

      Returns Promise<string>