@vertracloud/blob 0.1.0 → 0.1.2
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/README.md +0 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -90,6 +90,8 @@ interface BlobWriteOptions {
|
|
|
90
90
|
overwrite?: boolean;
|
|
91
91
|
/** Insert `-<10 random characters>` before the extension. */
|
|
92
92
|
randomSuffix?: boolean;
|
|
93
|
+
/** When the path is taken, save as `name-1.ext`, `name-2.ext`, … instead of failing. The returned object has the final path. Not with `overwrite`. */
|
|
94
|
+
renameOnConflict?: boolean;
|
|
93
95
|
cacheControl?: string;
|
|
94
96
|
contentDisposition?: BlobContentDisposition;
|
|
95
97
|
/** File name suggested on download. */
|
|
@@ -136,6 +138,8 @@ interface BlobUpdateChanges {
|
|
|
136
138
|
interface BlobCopyOptions extends RequestOptions {
|
|
137
139
|
overwrite?: boolean;
|
|
138
140
|
randomSuffix?: boolean;
|
|
141
|
+
/** Copy only: when the path is taken (even by the source), save as `name-1.ext`, `name-2.ext`, … instead of failing. Not with `overwrite`. */
|
|
142
|
+
renameOnConflict?: boolean;
|
|
139
143
|
visibility?: BlobVisibility;
|
|
140
144
|
}
|
|
141
145
|
interface BlobDownloadUrlOptions extends RequestOptions {
|
|
@@ -288,6 +292,6 @@ declare class BlobClient {
|
|
|
288
292
|
private once;
|
|
289
293
|
}
|
|
290
294
|
|
|
291
|
-
declare const VERSION = "0.1.
|
|
295
|
+
declare const VERSION = "0.1.2";
|
|
292
296
|
|
|
293
297
|
export { BlobClient, type BlobClientErrorCode, type BlobClientOptions, type BlobCopyOptions, type BlobData, type BlobDeleteManyInput, type BlobDownloadUrlOptions, BlobError, type BlobErrorBody, type BlobImageOptions, type BlobListOptions, type BlobListPageOptions, type BlobObject, type BlobProgress, type BlobPutOptions, type BlobResumeOptions, type BlobRuleInput, type BlobRuleWithPrefix, type BlobShareOptions, type BlobUpdateChanges, type BlobUploadTokenOptions, type BlobWriteOptions, type FetchLike, type RequestOptions, VERSION };
|
package/dist/index.d.ts
CHANGED
|
@@ -90,6 +90,8 @@ interface BlobWriteOptions {
|
|
|
90
90
|
overwrite?: boolean;
|
|
91
91
|
/** Insert `-<10 random characters>` before the extension. */
|
|
92
92
|
randomSuffix?: boolean;
|
|
93
|
+
/** When the path is taken, save as `name-1.ext`, `name-2.ext`, … instead of failing. The returned object has the final path. Not with `overwrite`. */
|
|
94
|
+
renameOnConflict?: boolean;
|
|
93
95
|
cacheControl?: string;
|
|
94
96
|
contentDisposition?: BlobContentDisposition;
|
|
95
97
|
/** File name suggested on download. */
|
|
@@ -136,6 +138,8 @@ interface BlobUpdateChanges {
|
|
|
136
138
|
interface BlobCopyOptions extends RequestOptions {
|
|
137
139
|
overwrite?: boolean;
|
|
138
140
|
randomSuffix?: boolean;
|
|
141
|
+
/** Copy only: when the path is taken (even by the source), save as `name-1.ext`, `name-2.ext`, … instead of failing. Not with `overwrite`. */
|
|
142
|
+
renameOnConflict?: boolean;
|
|
139
143
|
visibility?: BlobVisibility;
|
|
140
144
|
}
|
|
141
145
|
interface BlobDownloadUrlOptions extends RequestOptions {
|
|
@@ -288,6 +292,6 @@ declare class BlobClient {
|
|
|
288
292
|
private once;
|
|
289
293
|
}
|
|
290
294
|
|
|
291
|
-
declare const VERSION = "0.1.
|
|
295
|
+
declare const VERSION = "0.1.2";
|
|
292
296
|
|
|
293
297
|
export { BlobClient, type BlobClientErrorCode, type BlobClientOptions, type BlobCopyOptions, type BlobData, type BlobDeleteManyInput, type BlobDownloadUrlOptions, BlobError, type BlobErrorBody, type BlobImageOptions, type BlobListOptions, type BlobListPageOptions, type BlobObject, type BlobProgress, type BlobPutOptions, type BlobResumeOptions, type BlobRuleInput, type BlobRuleWithPrefix, type BlobShareOptions, type BlobUpdateChanges, type BlobUploadTokenOptions, type BlobWriteOptions, type FetchLike, type RequestOptions, VERSION };
|