interface BlobStoreStoreOptions {
    replacePathMethod?: string;
    replacePathPrefix?: string;
}

Properties

replacePathMethod?: string

If the path is missing or invalid in the blob, how should we create a new path? Subclasses may define their own methods, but the following are supported by default:

  • Undefined or an emtpy string: Never replace
  • "prefixPath": Use the default prefix for the BlobStore and get the unique portion from the URL. The original path is stored in the metadata
  • "prefixUuid": Use the default prefix for the BlobStore and get the unique portion from a generated UUID. The original path is stored in the metadata
replacePathPrefix?: string

If either "prefixPath" or "prefixUuid" is used, what prefix should be used?

Generated using TypeDoc