MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / upload

Method upload

apps/cloud/worker-configuration.d.ts:11977–11977  ·  view source on GitHub ↗

* Upload a new hosted image * @param image The image file to upload * @param options Upload configuration * @returns Metadata for the uploaded image * @throws ImagesError if upload fails

(
    image: ReadableStream<Uint8Array> | ArrayBuffer,
    options?: ImageUploadOptions,
  )

Source from the content-addressed store, hash-verified

11975 * @throws {@link ImagesError} if upload fails
11976 */
11977 upload(
11978 image: ReadableStream<Uint8Array> | ArrayBuffer,
11979 options?: ImageUploadOptions,
11980 ): Promise<ImageMetadata>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected