@salesforce/lds-store-binary 1.388.0 → 1.389.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BinaryStore.d.ts +0 -12
- package/package.json +1 -1
package/dist/BinaryStore.d.ts
CHANGED
|
@@ -47,18 +47,6 @@ export interface GetOptions {
|
|
|
47
47
|
* from the canonical URL in the background.
|
|
48
48
|
*/
|
|
49
49
|
export interface BinaryStore {
|
|
50
|
-
/**
|
|
51
|
-
* Stores a binary file in the store. The file will not have a TTL. This is
|
|
52
|
-
* meant to store local-only files.
|
|
53
|
-
*
|
|
54
|
-
* @param data The data of the binary file to put into the store.
|
|
55
|
-
* @param type The MIME type of the binary file. Ex: "image/png".
|
|
56
|
-
* @param size The number of bytes of data contained within the file.
|
|
57
|
-
* @returns A Promise of a string representing the URI of the binary file. NOTE: the URI
|
|
58
|
-
* to a binary file should be treated as opaque (only use it to pass into methods
|
|
59
|
-
* on this interface).
|
|
60
|
-
*/
|
|
61
|
-
store(data: Uint8Array, type: string, size: number): Promise<string>;
|
|
62
50
|
/**
|
|
63
51
|
* Caches a binary file in the store. This is meant to locally cache a file
|
|
64
52
|
* thats source-of-truth exists at the given URL.
|
package/package.json
CHANGED