Options
All
  • Public
  • Public/Protected
  • All
Menu

@dfinity/assets

Index

Type Aliases

ContentEncoding: "identity" | "gzip" | "compress" | "deflate" | "br"

Supported content encodings by asset canister

Arguments to store an asset in asset manager

StoreBlobArgs: [blob: Blob, config: Omit<StoreConfig, "fileName"> & Required<Pick<StoreConfig, "fileName">>]
StoreBytesArgs: [bytes: Uint8Array | ArrayBuffer | number[], config: Omit<StoreConfig, "fileName"> & Required<Pick<StoreConfig, "fileName">>]
StoreFileArgs: [file: File, config?: StoreConfig]
StorePathArgs: [path: string, config?: StoreConfig]
StoreReadableArgs: [readable: Readable, config?: StoreConfig]

Generated using TypeDoc