@visulima/storage 1.0.0-alpha.31 → 1.0.0-alpha.33
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/CHANGELOG.md +45 -0
- package/README.md +2 -2
- package/dist/adapter/nuxt/module.d.ts +4 -4
- package/dist/ai/ai-sdk/index.d.ts +5 -5
- package/dist/ai/ai-sdk/index.js +1 -1
- package/dist/ai/claude/index.d.ts +4 -4
- package/dist/ai/claude/index.js +1 -1
- package/dist/ai/openai/index.d.ts +5 -5
- package/dist/ai/openai/index.js +1 -1
- package/dist/ai/tanstack/index.d.ts +4 -4
- package/dist/ai/tanstack/index.js +1 -1
- package/dist/handler/http/fetch/index.d.ts +7 -7
- package/dist/handler/http/fetch/index.js +1 -1
- package/dist/handler/http/hono/index.d.ts +4 -4
- package/dist/handler/http/hono/index.js +1 -1
- package/dist/handler/http/nextjs/index.d.ts +4 -4
- package/dist/handler/http/nextjs/index.js +1 -1
- package/dist/handler/http/node/index.d.ts +7 -7
- package/dist/handler/http/node/index.js +1 -1
- package/dist/handler/http/solid-start/index.d.ts +4 -4
- package/dist/handler/http/solid-start/index.js +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/packem_shared/{AwsLightMetaStorage-B-iQbToR.js → AwsLightMetaStorage-Cj7ym1qI.js} +1 -1
- package/dist/packem_shared/{AwsLightStorage-DbQrK9m7.js → AwsLightStorage-6Z1ovz9R.js} +1 -1
- package/dist/packem_shared/AzureSMetaStorage-YCj-X8a1.js +1 -0
- package/dist/packem_shared/AzureStorage-CbAN4vPm.js +1 -0
- package/dist/packem_shared/{BoxMetaStorage-DLdXbZaV.js → BoxMetaStorage-BGBPZWoL.js} +1 -1
- package/dist/packem_shared/BoxStorage-DitlyKVB.js +1 -0
- package/dist/packem_shared/{BunS3MetaStorage-Bv_CTTMz.js → BunS3MetaStorage-DAskpG_G.js} +1 -1
- package/dist/packem_shared/BunS3Storage-D1gxh5Tt.js +1 -0
- package/dist/packem_shared/{BunnyMetaStorage-DNMTSeoN.js → BunnyMetaStorage-ByUvvuPc.js} +1 -1
- package/dist/packem_shared/BunnyStorage-r6DptjUt.js +1 -0
- package/dist/packem_shared/{CloudinaryMetaStorage-DEBk5eQy.js → CloudinaryMetaStorage-DsJyN0iQ.js} +1 -1
- package/dist/packem_shared/CloudinaryStorage-BR8CZhlL.js +1 -0
- package/dist/packem_shared/DiskStorage-DHcHDZeO.js +1 -0
- package/dist/packem_shared/DiskStorageWithChecksum--U7zOz-0.js +1 -0
- package/dist/packem_shared/{DropboxMetaStorage-C6vj1QDA.js → DropboxMetaStorage-B7eY16fU.js} +1 -1
- package/dist/packem_shared/DropboxStorage-9-jj7H8C.js +1 -0
- package/dist/packem_shared/ERRORS-vMSqlI69.js +1 -0
- package/dist/packem_shared/{FirebaseMetaStorage-CzyOim-J.js → FirebaseMetaStorage-BpYykWhG.js} +1 -1
- package/dist/packem_shared/FirebaseStorage-DB87abIF.js +2 -0
- package/dist/packem_shared/{FtpMetaStorage-1Njy0DpU.js → FtpMetaStorage-v2wXTwqX.js} +1 -1
- package/dist/packem_shared/FtpStorage-DdRf0Wg6.js +1 -0
- package/dist/packem_shared/{GCSMetaStorage-DFIjFmn-.js → GCSMetaStorage-BMtou9o7.js} +1 -1
- package/dist/packem_shared/GCStorage-CRVpuZ5_.js +1 -0
- package/dist/packem_shared/{GoogleDriveMetaStorage-WGuUZPyx.js → GoogleDriveMetaStorage-BT9N1Wji.js} +1 -1
- package/dist/packem_shared/GoogleDriveStorage-BzuSZZzN.js +1 -0
- package/dist/packem_shared/LocalMetaStorage-BFQz8VPm.js +1 -0
- package/dist/packem_shared/MemoryMetaStorage-DEzfBNgL.js +1 -0
- package/dist/packem_shared/MemoryStorage-BuNY963D.js +1 -0
- package/dist/packem_shared/{Multipart-C6Mw7V9W.js → Multipart-IE3j_gAJ.js} +1 -1
- package/dist/packem_shared/{Multipart-DkH4QwNs.js → Multipart-UIRqOPCf.js} +1 -1
- package/dist/packem_shared/{NetlifyBlobMetaStorage-ClIFdTkT.js → NetlifyBlobMetaStorage-DNgncijZ.js} +1 -1
- package/dist/packem_shared/NetlifyBlobStorage-eP0pkR0o.js +1 -0
- package/dist/packem_shared/{OneDriveMetaStorage-DS4f83X2.js → OneDriveMetaStorage-CkaFJFHe.js} +1 -1
- package/dist/packem_shared/OneDriveStorage-3Iq5vBfd.js +1 -0
- package/dist/packem_shared/{PocketBaseMetaStorage-B6utPncj.js → PocketBaseMetaStorage-CxnGde_n.js} +1 -1
- package/dist/packem_shared/PocketBaseStorage-DHphg8yi.js +1 -0
- package/dist/packem_shared/{Rest-DWrS4Z_j.js → Rest-B_E4TrqF.js} +1 -1
- package/dist/packem_shared/{Rest-DY1neM_3.js → Rest-DItHKz-N.js} +1 -1
- package/dist/packem_shared/S3Storage-Bc9eq5vJ.js +1 -0
- package/dist/packem_shared/{SftpMetaStorage-DYqXwCdM.js → SftpMetaStorage-CBcUhZRU.js} +1 -1
- package/dist/packem_shared/SftpStorage-DSsMhTZC.js +1 -0
- package/dist/packem_shared/{SharePointMetaStorage-DVM5-X6g.js → SharePointMetaStorage-yzxvwgKr.js} +1 -1
- package/dist/packem_shared/{SharePointStorage-r934t5HX.js → SharePointStorage-C6KIGN2r.js} +1 -1
- package/dist/packem_shared/{SupabaseMetaStorage-ivXoYVUu.js → SupabaseMetaStorage-D26wob-R.js} +1 -1
- package/dist/packem_shared/SupabaseStorage-B_knTpFQ.js +1 -0
- package/dist/packem_shared/{Tus-BMd67Cnb.js → Tus-CAestp2j.js} +1 -1
- package/dist/packem_shared/{Tus-d2hPK5nV.js → Tus-KQ8J2WF3.js} +1 -1
- package/dist/packem_shared/UploadControl-Otw_5jxw.js +1 -0
- package/dist/packem_shared/{UploadThingMetaStorage-BvKNzgm7.js → UploadThingMetaStorage-DPIokkHa.js} +1 -1
- package/dist/packem_shared/UploadThingStorage-B3aIKSMh.js +1 -0
- package/dist/packem_shared/{VercelBlobMetaStorage-CwaqWucZ.js → VercelBlobMetaStorage-Bx0l9Xt6.js} +1 -1
- package/dist/packem_shared/VercelBlobStorage-CGxoGkv4.js +1 -0
- package/dist/packem_shared/{agentsListFiles-R-CnGKc4.js → agentsListFiles-Bl2TOnMy.js} +1 -1
- package/dist/packem_shared/{approval.d-CMAYH9GF.d.ts → approval.d-3sw7wbPG.d.ts} +1 -1
- package/dist/packem_shared/aws-light-meta-storage-CXIZfLXR.js +4 -0
- package/dist/packem_shared/{azure-meta-storage-C4SrMtT2.js → azure-meta-storage-B-D-tBVw.js} +1 -1
- package/dist/packem_shared/{base-handler-core-Cwd9uq_E.js → base-handler-core-OdTz4-Pm.js} +1 -1
- package/dist/packem_shared/{base-handler-fetch-_BD4V1W2.js → base-handler-fetch-B0FWPun7.js} +1 -1
- package/dist/packem_shared/{base-handler-node-BDNRnVIc.js → base-handler-node-CR2Bg43M.js} +1 -1
- package/dist/packem_shared/{claudeListFiles-DAezbKEi.js → claudeListFiles-yLqM5iFS.js} +1 -1
- package/dist/packem_shared/{createResponsesFileTools-BCep-qdO.js → createResponsesFileTools-DFFHq35s.js} +1 -1
- package/dist/packem_shared/{defaultCloudStorageFileNameValidation-hWLdEgOD.js → defaultCloudStorageFileNameValidation-De0HFP7m.js} +1 -1
- package/dist/packem_shared/disk-storage-CklneE2m.js +1 -0
- package/dist/packem_shared/{disk-storage-with-checksum.d-Dm4agCey.d.ts → disk-storage-with-checksum.d-Z_Z-OQpm.d.ts} +8 -2
- package/dist/packem_shared/executors-MzQbS9FT.js +1 -0
- package/dist/packem_shared/{executors.d-Cut3Gstb.d.ts → executors.d-CRI3jlk4.d.ts} +2 -2
- package/dist/packem_shared/{gcs-meta-storage-Bwts-MUe.js → gcs-meta-storage-Dh0TAqB_.js} +1 -1
- package/dist/packem_shared/get-file-status-DLS18Zvd.js +1 -0
- package/dist/packem_shared/index.d-C4o9jVLx.d.ts +672 -0
- package/dist/packem_shared/isRetryableError-CBZ65V6T.js +1 -0
- package/dist/packem_shared/{listFiles-BtP6VnUp.js → listFiles-BNGQbV_d.js} +1 -1
- package/dist/packem_shared/{listFiles-B6VF05d-.js → listFiles-BdBngq3i.js} +1 -1
- package/dist/packem_shared/{local-meta-storage-Bi0mK6gD.js → local-meta-storage-Bvl0Flac.js} +1 -1
- package/dist/packem_shared/{local-meta-storage.d-qZQI1JUe.d.ts → local-meta-storage.d-CobcjyWu.d.ts} +1 -1
- package/dist/packem_shared/{media-transformer.d-lQ_RUjb5.d.ts → media-transformer.d-B5cQJz30.d.ts} +2 -2
- package/dist/packem_shared/memory-storage.d-CunLnxmE.d.ts +101 -0
- package/dist/packem_shared/part-match-D_NwyoF3.js +1 -0
- package/dist/packem_shared/{rest-base-C-a7pXUc.js → rest-base-DHkzq0rj.js} +1 -1
- package/dist/packem_shared/s3-base-storage-o_zkj15Y.js +1 -0
- package/dist/packem_shared/{s3-base-storage.d-CDIOMTpp.d.ts → s3-base-storage.d-ByfwKeid.d.ts} +29 -2
- package/dist/packem_shared/storage-z0o24zmZ.js +1 -0
- package/dist/packem_shared/{storage.d-BoJgdi1n.d.ts → storage.d-D5UN5mRz.d.ts} +65 -1
- package/dist/packem_shared/{tus-base.d-C28C_AY9.d.ts → tus-base.d-D7UPhqdW.d.ts} +3 -3
- package/dist/packem_shared/{types.d-DCPQvHDI.d.ts → types.d-BsjUOfBJ.d.ts} +2 -2
- package/dist/packem_shared/{types.d-CPxJpoPH.d.ts → types.d-CPUyyEj9.d.ts} +2 -2
- package/dist/packem_shared/{types.d-C0MDnUYc.d.ts → types.d-GogSTfRh.d.ts} +1 -1
- package/dist/storage/aws/index.d.ts +14 -3
- package/dist/storage/aws/index.js +1 -1
- package/dist/storage/aws-light/index.d.ts +7 -2
- package/dist/storage/aws-light/index.js +1 -1
- package/dist/storage/azure/index.d.ts +26 -7
- package/dist/storage/azure/index.js +1 -1
- package/dist/storage/box/index.d.ts +2 -2
- package/dist/storage/box/index.js +1 -1
- package/dist/storage/bun-s3/index.d.ts +2 -2
- package/dist/storage/bun-s3/index.js +1 -1
- package/dist/storage/bunny/index.d.ts +2 -2
- package/dist/storage/bunny/index.js +1 -1
- package/dist/storage/cloudinary/index.d.ts +2 -2
- package/dist/storage/cloudinary/index.js +1 -1
- package/dist/storage/dropbox/index.d.ts +2 -2
- package/dist/storage/dropbox/index.js +1 -1
- package/dist/storage/firebase/index.d.ts +2 -2
- package/dist/storage/firebase/index.js +1 -1
- package/dist/storage/ftp/index.d.ts +9 -3
- package/dist/storage/ftp/index.js +1 -1
- package/dist/storage/gcs/index.d.ts +15 -1
- package/dist/storage/gcs/index.js +1 -1
- package/dist/storage/google-drive/index.d.ts +2 -2
- package/dist/storage/google-drive/index.js +1 -1
- package/dist/storage/local/index.d.ts +3 -3
- package/dist/storage/local/index.js +1 -1
- package/dist/storage/memory/index.d.ts +6 -0
- package/dist/storage/memory/index.js +1 -0
- package/dist/storage/netlify-blob/index.d.ts +2 -2
- package/dist/storage/netlify-blob/index.js +1 -1
- package/dist/storage/onedrive/index.d.ts +4 -4
- package/dist/storage/onedrive/index.js +1 -1
- package/dist/storage/pocketbase/index.d.ts +2 -2
- package/dist/storage/pocketbase/index.js +1 -1
- package/dist/storage/sftp/index.d.ts +9 -3
- package/dist/storage/sftp/index.js +1 -1
- package/dist/storage/sharepoint/index.d.ts +3 -3
- package/dist/storage/sharepoint/index.js +1 -1
- package/dist/storage/supabase/index.d.ts +3 -3
- package/dist/storage/supabase/index.js +1 -1
- package/dist/storage/uploadthing/index.d.ts +2 -2
- package/dist/storage/uploadthing/index.js +1 -1
- package/dist/storage/vercel-blob/index.d.ts +2 -2
- package/dist/storage/vercel-blob/index.js +1 -1
- package/dist/transformer/audio-transformer.d.ts +2 -2
- package/dist/transformer/image-transformer.d.ts +2 -2
- package/dist/transformer/index.d.ts +3 -3
- package/dist/transformer/video-transformer.d.ts +2 -2
- package/package.json +6 -2
- package/dist/packem_shared/AzureSMetaStorage-CR-lfQNQ.js +0 -1
- package/dist/packem_shared/AzureStorage-Cmr0nPDq.js +0 -1
- package/dist/packem_shared/BoxStorage-DYzAYPIr.js +0 -1
- package/dist/packem_shared/BunS3Storage-BvaFeKeu.js +0 -1
- package/dist/packem_shared/BunnyStorage-DsQndiy5.js +0 -1
- package/dist/packem_shared/CloudinaryStorage-DiK0T7N7.js +0 -1
- package/dist/packem_shared/DiskStorage-RvZNMWe7.js +0 -1
- package/dist/packem_shared/DiskStorageWithChecksum-eGOV3leX.js +0 -1
- package/dist/packem_shared/DropboxStorage-Dfd78aJL.js +0 -1
- package/dist/packem_shared/ERRORS-CyOuSMLY.js +0 -1
- package/dist/packem_shared/Files-CtggibJ-.js +0 -1
- package/dist/packem_shared/FirebaseStorage-C-FwZOYA.js +0 -2
- package/dist/packem_shared/FtpStorage-DzaP89bG.js +0 -1
- package/dist/packem_shared/GCStorage-1vA3xkFO.js +0 -1
- package/dist/packem_shared/GoogleDriveStorage-D_RaKV_j.js +0 -1
- package/dist/packem_shared/LocalMetaStorage-QMKL7McF.js +0 -1
- package/dist/packem_shared/NetlifyBlobStorage-C-IkXF0_.js +0 -1
- package/dist/packem_shared/OneDriveStorage-C7rqK2Wp.js +0 -1
- package/dist/packem_shared/PocketBaseStorage-Cdgr5w88.js +0 -1
- package/dist/packem_shared/S3Storage-Dn3l4WkO.js +0 -1
- package/dist/packem_shared/SftpStorage-CBW6MBLV.js +0 -1
- package/dist/packem_shared/SupabaseStorage-DMRhLPNo.js +0 -1
- package/dist/packem_shared/UploadThingStorage-BjF_gRMY.js +0 -1
- package/dist/packem_shared/VercelBlobStorage-Dx2jywjl.js +0 -1
- package/dist/packem_shared/aws-light-meta-storage-CstQBYXG.js +0 -4
- package/dist/packem_shared/disk-storage-Bmvawf-b.js +0 -1
- package/dist/packem_shared/executors-DG6hGtvm.js +0 -1
- package/dist/packem_shared/index.d-DSZjPbvW.d.ts +0 -230
- package/dist/packem_shared/isRetryableError-BhizNeAz.js +0 -1
- package/dist/packem_shared/part-match-B5fLLmFw.js +0 -1
- package/dist/packem_shared/s3-base-storage-Ek1HinGR.js +0 -1
- package/dist/packem_shared/storage-B-NDsI-o.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File,
|
|
1
|
+
import { F as File, i as MetaStorageOptions, j as BaseStorageOptions, L as LocalMetaStorageOptions, M as MetaStorage, H as HttpError, g as FileQuery, O as OperationOptions, e as FileInit } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import { Readable } from 'node:stream';
|
|
3
|
-
import { P as Part, S as S3CallOptions, a as S3ApiOperations, b as S3BaseStorage } from "../../packem_shared/s3-base-storage.d-
|
|
3
|
+
import { P as Part, S as S3CallOptions, a as S3ApiOperations, b as S3BaseStorage } from "../../packem_shared/s3-base-storage.d-ByfwKeid.js";
|
|
4
4
|
import { S3ClientConfig, ObjectCannedACL, S3Client } from '@aws-sdk/client-s3';
|
|
5
5
|
import { ResponseMetadata } from '@aws-sdk/types';
|
|
6
6
|
import 'node:crypto';
|
|
@@ -188,6 +188,7 @@ declare class S3ClientAdapter implements S3ApiOperations {
|
|
|
188
188
|
getObject(params: {
|
|
189
189
|
Bucket: string;
|
|
190
190
|
Key: string;
|
|
191
|
+
Range?: string;
|
|
191
192
|
}, options?: S3CallOptions): Promise<{
|
|
192
193
|
Body?: ReadableStream | Readable;
|
|
193
194
|
ContentLength?: number;
|
|
@@ -220,8 +221,13 @@ declare class S3ClientAdapter implements S3ApiOperations {
|
|
|
220
221
|
listObjectsV2(params: {
|
|
221
222
|
Bucket: string;
|
|
222
223
|
ContinuationToken?: string;
|
|
224
|
+
Delimiter?: string;
|
|
223
225
|
MaxKeys?: number;
|
|
226
|
+
Prefix?: string;
|
|
224
227
|
}, options?: S3CallOptions): Promise<{
|
|
228
|
+
CommonPrefixes?: {
|
|
229
|
+
Prefix?: string;
|
|
230
|
+
}[];
|
|
225
231
|
Contents?: {
|
|
226
232
|
Key?: string;
|
|
227
233
|
LastModified?: Date;
|
|
@@ -297,7 +303,12 @@ declare class S3Storage extends S3BaseStorage {
|
|
|
297
303
|
}: FileQuery, metadata: Partial<S3File>): Promise<S3File>;
|
|
298
304
|
override getStream({
|
|
299
305
|
id
|
|
300
|
-
}: FileQuery, options?: OperationOptions
|
|
306
|
+
}: FileQuery, options?: OperationOptions & {
|
|
307
|
+
range?: {
|
|
308
|
+
end?: number;
|
|
309
|
+
start: number;
|
|
310
|
+
};
|
|
311
|
+
}): Promise<{
|
|
301
312
|
headers?: Record<string, string>;
|
|
302
313
|
size?: number;
|
|
303
314
|
stream: Readable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as t}from"../../packem_shared/S3File-BfmCOET4.js";import{default as r}from"../../packem_shared/S3MetaStorage-vcriiosn.js";import{default as S}from"../../packem_shared/S3Storage-
|
|
1
|
+
import{default as t}from"../../packem_shared/S3File-BfmCOET4.js";import{default as r}from"../../packem_shared/S3MetaStorage-vcriiosn.js";import{default as S}from"../../packem_shared/S3Storage-Bc9eq5vJ.js";export{t as S3File,r as S3MetaStorage,S as S3Storage};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as Part, S as S3CallOptions, a as S3ApiOperations, b as S3BaseStorage } from "../../packem_shared/s3-base-storage.d-
|
|
2
|
-
import { F as File,
|
|
1
|
+
import { P as Part, S as S3CallOptions, a as S3ApiOperations, b as S3BaseStorage } from "../../packem_shared/s3-base-storage.d-ByfwKeid.js";
|
|
2
|
+
import { F as File, i as MetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, H as HttpError, g as FileQuery, O as OperationOptions, e as FileInit } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
3
3
|
import { Readable } from 'node:stream';
|
|
4
4
|
import { AwsClient } from 'aws4fetch';
|
|
5
5
|
import 'node:crypto';
|
|
@@ -152,8 +152,13 @@ declare class AwsLightApiAdapter implements S3ApiOperations {
|
|
|
152
152
|
listObjectsV2(params: {
|
|
153
153
|
Bucket: string;
|
|
154
154
|
ContinuationToken?: string;
|
|
155
|
+
Delimiter?: string;
|
|
155
156
|
MaxKeys?: number;
|
|
157
|
+
Prefix?: string;
|
|
156
158
|
}, options?: S3CallOptions): Promise<{
|
|
159
|
+
CommonPrefixes?: {
|
|
160
|
+
Prefix?: string;
|
|
161
|
+
}[];
|
|
157
162
|
Contents?: {
|
|
158
163
|
Key?: string;
|
|
159
164
|
LastModified?: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/AwsLightFile-BSqjc_rD.js";import{l as r}from"../../packem_shared/aws-light-meta-storage-
|
|
1
|
+
import{default as a}from"../../packem_shared/AwsLightFile-BSqjc_rD.js";import{l as r}from"../../packem_shared/aws-light-meta-storage-CXIZfLXR.js";import{default as f}from"../../packem_shared/AwsLightStorage-6Z1ovz9R.js";export{a as AwsLightFile,r as AwsLightMetaStorage,f as AwsLightStorage};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as File,
|
|
1
|
+
import { F as File, i as MetaStorageOptions, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, R as RetryConfig, e as FileInit, O as OperationOptions, g as FileQuery, n as BatchOperationResponse, f as FilePart, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
3
|
import { TokenCredential } from '@azure/core-auth';
|
|
4
4
|
import { BlobServiceClient } from '@azure/storage-blob';
|
|
@@ -105,7 +105,7 @@ declare class AzureMetaStorage<T extends File = File> extends MetaStorage<T> {
|
|
|
105
105
|
* @remarks
|
|
106
106
|
* ## Supported Operations
|
|
107
107
|
* - ✅ create, write, delete, get, list, update, copy, move
|
|
108
|
-
* - ✅ Batch operations: deleteBatch,
|
|
108
|
+
* - ✅ Batch operations: deleteBatch (native Blob Batch API, 256/request), copyBatch + moveBatch (inherited from BaseStorage)
|
|
109
109
|
* - ✅ exists: Implemented (checks metadata and Azure blob)
|
|
110
110
|
* - ❌ getStream: Not implemented (use get() for file retrieval)
|
|
111
111
|
* - ✅ getReadUrl / getUploadUrl: service SAS (shared key / connection string) or User Delegation SAS (Microsoft Entra credential). SAS-token adapters append the pre-issued token. Anonymous (public-container) adapters serve unsigned read URLs only — uploads are rejected.
|
|
@@ -141,6 +141,20 @@ declare class AzureStorage extends BaseStorage {
|
|
|
141
141
|
id
|
|
142
142
|
}: FileQuery, options?: OperationOptions): Promise<AzureFile>;
|
|
143
143
|
/**
|
|
144
|
+
* Deletes many blobs in one round-trip using Azure's native
|
|
145
|
+
* [Blob Batch API](https://learn.microsoft.com/rest/api/storageservices/blob-batch)
|
|
146
|
+
* (up to 256 sub-requests per request) instead of issuing one DELETE per key.
|
|
147
|
+
*
|
|
148
|
+
* Sidecar metadata removal and the {@link onDelete} hook are still applied per
|
|
149
|
+
* successfully-deleted id; a 404 sub-response is treated as success to match the
|
|
150
|
+
* `deleteIfExists` semantics of the single-key {@link delete}. If the batch endpoint
|
|
151
|
+
* is unavailable (e.g. an Azurite build without batch support) the call transparently
|
|
152
|
+
* falls back to the per-key base implementation.
|
|
153
|
+
* @param ids File ids/keys to delete.
|
|
154
|
+
* @param options Optional per-call signal/timeout/retries.
|
|
155
|
+
*/
|
|
156
|
+
override deleteBatch(ids: string[], options?: OperationOptions): Promise<BatchOperationResponse<AzureFile>>;
|
|
157
|
+
/**
|
|
144
158
|
* Moves an upload file to a new location.
|
|
145
159
|
* @param name Source file name/ID.
|
|
146
160
|
* @param destination Destination file name/ID.
|
|
@@ -180,8 +194,11 @@ declare class AzureStorage extends BaseStorage {
|
|
|
180
194
|
* (public-container) adapters return the unsigned blob URL.
|
|
181
195
|
* @param key Storage key.
|
|
182
196
|
* @param options Optional expiry and response content overrides. Response
|
|
183
|
-
* content overrides only apply when the adapter mints a fresh SAS
|
|
184
|
-
*
|
|
197
|
+
* content overrides only apply when the adapter mints a fresh SAS; they are
|
|
198
|
+
* rejected on the pre-issued `sasToken` and anonymous paths, which have no
|
|
199
|
+
* signature in which to bind them.
|
|
200
|
+
* @throws {UploadError} When the adapter has no way to authorise reads, or
|
|
201
|
+
* when a response content override is supplied on a non-signing path.
|
|
185
202
|
*/
|
|
186
203
|
override getReadUrl(key: string, options?: {
|
|
187
204
|
expiresIn?: number;
|
|
@@ -197,9 +214,11 @@ declare class AzureStorage extends BaseStorage {
|
|
|
197
214
|
* header on the PUT — a SAS cannot pin the stored content type.
|
|
198
215
|
* @param key Storage key.
|
|
199
216
|
* @param options Optional expiry. `contentLength` and `contentType` are
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
217
|
+
* rejected: an Azure SAS does not bind the request `Content-Type` into the
|
|
218
|
+
* signature and has no server-enforced size limit, so accepting them would
|
|
219
|
+
* hand the caller a guarantee that does not hold.
|
|
220
|
+
* @throws {UploadError} When the adapter cannot authorise writes, or when an
|
|
221
|
+
* unenforceable `contentType`/`contentLength` override is supplied.
|
|
203
222
|
*/
|
|
204
223
|
override getUploadUrl(key: string, options?: {
|
|
205
224
|
contentLength?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/AzureFile-Dgj2Tef4.js";import{b as t}from"../../packem_shared/azure-meta-storage-
|
|
1
|
+
import{default as a}from"../../packem_shared/AzureFile-Dgj2Tef4.js";import{b as t}from"../../packem_shared/azure-meta-storage-B-D-tBVw.js";import{default as u}from"../../packem_shared/AzureStorage-CbAN4vPm.js";export{a as AzureFile,t as AzureSMetaStorage,u as AzureStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { BoxClient } from 'box-typescript-sdk-gen';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/BoxFile-Be0S4N1L.js";import{default as r}from"../../packem_shared/BoxMetaStorage-
|
|
1
|
+
import{default as a}from"../../packem_shared/BoxFile-Be0S4N1L.js";import{default as r}from"../../packem_shared/BoxMetaStorage-BGBPZWoL.js";import{default as x}from"../../packem_shared/BoxStorage-DitlyKVB.js";export{a as BoxFile,r as BoxMetaStorage,x as BoxStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import { Readable } from 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'node:http';
|
|
6
6
|
import 'lru-cache';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as t}from"../../packem_shared/BunS3File-D-SRiyrm.js";import{default as r}from"../../packem_shared/BunS3MetaStorage-
|
|
1
|
+
import{default as t}from"../../packem_shared/BunS3File-D-SRiyrm.js";import{default as r}from"../../packem_shared/BunS3MetaStorage-DAskpG_G.js";import{default as u}from"../../packem_shared/BunS3Storage-D1gxh5Tt.js";export{t as BunS3File,r as BunS3MetaStorage,u as BunS3Storage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import * as BunnyStorageSDK from '@bunny.net/storage-sdk';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as t}from"../../packem_shared/BunnyFile-Dotl-lO9.js";import{default as r}from"../../packem_shared/BunnyMetaStorage-
|
|
1
|
+
import{default as t}from"../../packem_shared/BunnyFile-Dotl-lO9.js";import{default as r}from"../../packem_shared/BunnyMetaStorage-ByUvvuPc.js";import{default as n}from"../../packem_shared/BunnyStorage-r6DptjUt.js";export{t as BunnyFile,r as BunnyMetaStorage,n as BunnyStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { v2 } from 'cloudinary';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/CloudinaryFile-B5-m33eS.js";import{default as t}from"../../packem_shared/CloudinaryMetaStorage-
|
|
1
|
+
import{default as r}from"../../packem_shared/CloudinaryFile-B5-m33eS.js";import{default as t}from"../../packem_shared/CloudinaryMetaStorage-DsJyN0iQ.js";import{default as d}from"../../packem_shared/CloudinaryStorage-BR8CZhlL.js";export{r as CloudinaryFile,t as CloudinaryMetaStorage,d as CloudinaryStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { Dropbox } from 'dropbox';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/DropboxFile-BGVG2kXM.js";import{default as t}from"../../packem_shared/DropboxMetaStorage-
|
|
1
|
+
import{default as e}from"../../packem_shared/DropboxFile-BGVG2kXM.js";import{default as t}from"../../packem_shared/DropboxMetaStorage-B7eY16fU.js";import{default as p}from"../../packem_shared/DropboxStorage-9-jj7H8C.js";export{e as DropboxFile,t as DropboxMetaStorage,p as DropboxStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'node:http';
|
|
6
6
|
import 'lru-cache';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/FirebaseFile-JEu3plMP.js";import{default as o}from"../../packem_shared/FirebaseMetaStorage-
|
|
1
|
+
import{default as r}from"../../packem_shared/FirebaseFile-JEu3plMP.js";import{default as o}from"../../packem_shared/FirebaseMetaStorage-BpYykWhG.js";import{default as s}from"../../packem_shared/FirebaseStorage-DB87abIF.js";export{r as FirebaseFile,o as FirebaseMetaStorage,s as FirebaseStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { AccessOptions } from 'basic-ftp';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -50,6 +50,7 @@ interface FtpStorageOptions extends BaseStorageOptions {
|
|
|
50
50
|
declare class FtpStorage extends BaseStorage<FtpFile> {
|
|
51
51
|
static override readonly name: string;
|
|
52
52
|
override checksumTypes: string[];
|
|
53
|
+
override readonly supportsRange: boolean;
|
|
53
54
|
protected meta: MetaStorage<FtpFile>;
|
|
54
55
|
private readonly connection;
|
|
55
56
|
private readonly rootFolderPath;
|
|
@@ -58,7 +59,12 @@ declare class FtpStorage extends BaseStorage<FtpFile> {
|
|
|
58
59
|
write(part: FilePart | FileQuery | FtpFile, options?: OperationOptions): Promise<FtpFile>;
|
|
59
60
|
get({
|
|
60
61
|
id
|
|
61
|
-
}: FileQuery, options?: OperationOptions
|
|
62
|
+
}: FileQuery, options?: OperationOptions & {
|
|
63
|
+
range?: {
|
|
64
|
+
end?: number;
|
|
65
|
+
start: number;
|
|
66
|
+
};
|
|
67
|
+
}): Promise<FileReturn>;
|
|
62
68
|
delete({
|
|
63
69
|
id
|
|
64
70
|
}: FileQuery, options?: OperationOptions): Promise<FtpFile>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/FtpFile-B8jaICTB.js";import{default as r}from"../../packem_shared/FtpMetaStorage-
|
|
1
|
+
import{default as a}from"../../packem_shared/FtpFile-B8jaICTB.js";import{default as r}from"../../packem_shared/FtpMetaStorage-v2wXTwqX.js";import{default as p}from"../../packem_shared/FtpStorage-DdRf0Wg6.js";export{a as FtpFile,r as FtpMetaStorage,p as FtpStorage};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as File,
|
|
1
|
+
import { F as File, i as MetaStorageOptions, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, H as HttpError, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
3
|
import { RetryConfig } from 'gaxios';
|
|
4
4
|
import { GoogleAuthOptions, GoogleAuth } from 'google-auth-library';
|
|
@@ -104,6 +104,7 @@ declare class GCSMetaStorage<T extends File = File> extends MetaStorage<T> {
|
|
|
104
104
|
declare class GCStorage extends BaseStorage<GCSFile> {
|
|
105
105
|
static override readonly name: string;
|
|
106
106
|
override checksumTypes: string[];
|
|
107
|
+
override readonly supportsDelimiter: boolean;
|
|
107
108
|
override get raw(): GoogleAuth;
|
|
108
109
|
protected meta: MetaStorage;
|
|
109
110
|
private readonly bucket;
|
|
@@ -166,6 +167,19 @@ declare class GCStorage extends BaseStorage<GCSFile> {
|
|
|
166
167
|
id
|
|
167
168
|
}: FileQuery, options?: OperationOptions): Promise<boolean>;
|
|
168
169
|
override list(limit?: number, options?: OperationOptions): Promise<GCSFile[]>;
|
|
170
|
+
/**
|
|
171
|
+
* Directory-style listing via the GCS JSON API's native `delimiter`/`prefix` — the API returns
|
|
172
|
+
* the direct child objects in `items` and the common prefixes ("subdirectories") in `prefixes`,
|
|
173
|
+
* so the subtree is never fully walked. Pages until exhausted or `limit` files are collected.
|
|
174
|
+
*/
|
|
175
|
+
override listDirectory(options?: OperationOptions & {
|
|
176
|
+
delimiter: string;
|
|
177
|
+
limit?: number;
|
|
178
|
+
prefix?: string;
|
|
179
|
+
}): Promise<{
|
|
180
|
+
files: GCSFile[];
|
|
181
|
+
prefixes: string[];
|
|
182
|
+
}>;
|
|
169
183
|
protected internalWrite(part: GCSFile & Partial<FilePart>, callOptions?: OperationOptions): Promise<number>;
|
|
170
184
|
private internalOnComplete;
|
|
171
185
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/GCSConfig-BQ0OpVhe.js";import{default as t}from"../../packem_shared/GCSFile-CDQ6IWAz.js";import{E as C}from"../../packem_shared/gcs-meta-storage-
|
|
1
|
+
import{default as a}from"../../packem_shared/GCSConfig-BQ0OpVhe.js";import{default as t}from"../../packem_shared/GCSFile-CDQ6IWAz.js";import{E as C}from"../../packem_shared/gcs-meta-storage-Dh0TAqB_.js";import{default as l}from"../../packem_shared/GCStorage-CRVpuZ5_.js";export{a as GCSConfig,t as GCSFile,C as GCSMetaStorage,l as GCStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { drive_v3 } from '@googleapis/drive';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/GoogleDriveFile-D0aGfGbL.js";import{default as t}from"../../packem_shared/GoogleDriveMetaStorage-
|
|
1
|
+
import{default as r}from"../../packem_shared/GoogleDriveFile-D0aGfGbL.js";import{default as t}from"../../packem_shared/GoogleDriveMetaStorage-BT9N1Wji.js";import{default as f}from"../../packem_shared/GoogleDriveStorage-BzuSZZzN.js";export{r as GoogleDriveFile,t as GoogleDriveMetaStorage,f as GoogleDriveStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { D as DiskStorage, a as DiskStorageWithChecksum } from "../../packem_shared/disk-storage-with-checksum.d-
|
|
2
|
-
export { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
-
export { type L as LocalMetaStorageOptions } from "../../packem_shared/storage.d-
|
|
1
|
+
export { D as DiskStorage, a as DiskStorageWithChecksum } from "../../packem_shared/disk-storage-with-checksum.d-Z_Z-OQpm.js";
|
|
2
|
+
export { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
3
|
+
export { type L as LocalMetaStorageOptions } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
4
4
|
import 'node:stream';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{p as e}from"../../packem_shared/disk-storage-CklneE2m.js";import{default as t}from"../../packem_shared/DiskStorageWithChecksum--U7zOz-0.js";import{v as f}from"../../packem_shared/local-meta-storage-Bvl0Flac.js";export{e as DiskStorage,t as DiskStorageWithChecksum,f as LocalMetaStorage};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { M as MemoryMetaStorage, a as MemoryStorage, type b as MemoryStorageOptions, a as default } from "../../packem_shared/memory-storage.d-CunLnxmE.js";
|
|
2
|
+
import 'node:stream';
|
|
3
|
+
import "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
4
|
+
import 'node:crypto';
|
|
5
|
+
import 'node:http';
|
|
6
|
+
import 'lru-cache';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{default as o}from"../../packem_shared/MemoryMetaStorage-DEzfBNgL.js";import{default as t,default as f}from"../../packem_shared/MemoryStorage-BuNY963D.js";export{o as MemoryMetaStorage,t as MemoryStorage,f as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, R as RetryConfig, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { getStore } from '@netlify/blobs';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as o}from"../../packem_shared/NetlifyBlobFile-PMZLJ8AC.js";import{default as a}from"../../packem_shared/NetlifyBlobMetaStorage-
|
|
1
|
+
import{default as o}from"../../packem_shared/NetlifyBlobFile-PMZLJ8AC.js";import{default as a}from"../../packem_shared/NetlifyBlobMetaStorage-DNgncijZ.js";import{default as r}from"../../packem_shared/NetlifyBlobStorage-eP0pkR0o.js";export{o as NetlifyBlobFile,a as NetlifyBlobMetaStorage,r as NetlifyBlobStorage};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as OneDriveFile, a as OneDriveStorageOptions } from "../../packem_shared/types.d-
|
|
2
|
-
export { type b as OneDriveClientCredentialsAuth, type c as OneDriveOAuthRefreshAuth } from "../../packem_shared/types.d-
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
4
|
-
import { L as LocalMetaStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-
|
|
1
|
+
import { O as OneDriveFile, a as OneDriveStorageOptions } from "../../packem_shared/types.d-GogSTfRh.js";
|
|
2
|
+
export { type b as OneDriveClientCredentialsAuth, type c as OneDriveOAuthRefreshAuth } from "../../packem_shared/types.d-GogSTfRh.js";
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
|
+
import { L as LocalMetaStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
5
5
|
import { Client } from '@microsoft/microsoft-graph-client';
|
|
6
6
|
import 'node:stream';
|
|
7
7
|
import 'node:crypto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/OneDriveFile-XbVVKIJh.js";import{default as o}from"../../packem_shared/OneDriveMetaStorage-
|
|
1
|
+
import{default as a}from"../../packem_shared/OneDriveFile-XbVVKIJh.js";import{default as o}from"../../packem_shared/OneDriveMetaStorage-CkaFJFHe.js";import{default as i}from"../../packem_shared/OneDriveStorage-3Iq5vBfd.js";export{a as OneDriveFile,o as OneDriveMetaStorage,i as OneDriveStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'node:http';
|
|
6
6
|
import 'lru-cache';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as t}from"../../packem_shared/PocketBaseFile-CkAiSBb0.js";import{default as r}from"../../packem_shared/PocketBaseMetaStorage-
|
|
1
|
+
import{default as t}from"../../packem_shared/PocketBaseFile-CkAiSBb0.js";import{default as r}from"../../packem_shared/PocketBaseMetaStorage-CxnGde_n.js";import{default as s}from"../../packem_shared/PocketBaseStorage-DHphg8yi.js";export{t as PocketBaseFile,r as PocketBaseMetaStorage,s as PocketBaseStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { ConnectOptions } from 'ssh2-sftp-client';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -51,6 +51,7 @@ interface SftpStorageOptions extends BaseStorageOptions {
|
|
|
51
51
|
declare class SftpStorage extends BaseStorage<SftpFile> {
|
|
52
52
|
static override readonly name: string;
|
|
53
53
|
override checksumTypes: string[];
|
|
54
|
+
override readonly supportsRange: boolean;
|
|
54
55
|
protected meta: MetaStorage<SftpFile>;
|
|
55
56
|
private readonly connection;
|
|
56
57
|
private readonly rootFolderPath;
|
|
@@ -59,7 +60,12 @@ declare class SftpStorage extends BaseStorage<SftpFile> {
|
|
|
59
60
|
write(part: FilePart | FileQuery | SftpFile, options?: OperationOptions): Promise<SftpFile>;
|
|
60
61
|
get({
|
|
61
62
|
id
|
|
62
|
-
}: FileQuery, options?: OperationOptions
|
|
63
|
+
}: FileQuery, options?: OperationOptions & {
|
|
64
|
+
range?: {
|
|
65
|
+
end?: number;
|
|
66
|
+
start: number;
|
|
67
|
+
};
|
|
68
|
+
}): Promise<FileReturn>;
|
|
63
69
|
delete({
|
|
64
70
|
id
|
|
65
71
|
}: FileQuery, options?: OperationOptions): Promise<SftpFile>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/SftpFile-CQCxZNVq.js";import{default as o}from"../../packem_shared/SftpMetaStorage-
|
|
1
|
+
import{default as a}from"../../packem_shared/SftpFile-CQCxZNVq.js";import{default as o}from"../../packem_shared/SftpMetaStorage-CBcUhZRU.js";import{default as p}from"../../packem_shared/SftpStorage-DSsMhTZC.js";export{a as SftpFile,o as SftpMetaStorage,p as SftpStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as OneDriveFile, a as OneDriveStorageOptions } from "../../packem_shared/types.d-
|
|
2
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
-
import { L as LocalMetaStorageOptions,
|
|
1
|
+
import { O as OneDriveFile, a as OneDriveStorageOptions } from "../../packem_shared/types.d-GogSTfRh.js";
|
|
2
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
3
|
+
import { L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
4
4
|
import { Readable } from 'node:stream';
|
|
5
5
|
import { Client } from '@microsoft/microsoft-graph-client';
|
|
6
6
|
import 'node:crypto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as t}from"../../packem_shared/SharePointFile-BA6X9Sxr.js";import{default as r}from"../../packem_shared/SharePointMetaStorage-
|
|
1
|
+
import{default as t}from"../../packem_shared/SharePointFile-BA6X9Sxr.js";import{default as r}from"../../packem_shared/SharePointMetaStorage-yzxvwgKr.js";import{default as S}from"../../packem_shared/SharePointStorage-C6KIGN2r.js";export{t as SharePointFile,r as SharePointMetaStorage,S as SharePointStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions,
|
|
1
|
+
import { F as File, L as LocalMetaStorageOptions, j as BaseStorageOptions, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { StorageClient } from '@supabase/storage-js';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -104,7 +104,7 @@ declare class SupabaseStorage extends BaseStorage<SupabaseFile> {
|
|
|
104
104
|
responseContentDisposition?: string;
|
|
105
105
|
responseContentType?: string;
|
|
106
106
|
}): Promise<string>;
|
|
107
|
-
override getUploadUrl(key: string,
|
|
107
|
+
override getUploadUrl(key: string, options?: {
|
|
108
108
|
contentLength?: number;
|
|
109
109
|
contentType?: string;
|
|
110
110
|
expiresIn?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as t}from"../../packem_shared/SupabaseFile-DZ1iv9gM.js";import{default as r}from"../../packem_shared/SupabaseMetaStorage-
|
|
1
|
+
import{default as t}from"../../packem_shared/SupabaseFile-DZ1iv9gM.js";import{default as r}from"../../packem_shared/SupabaseMetaStorage-D26wob-R.js";import{default as p}from"../../packem_shared/SupabaseStorage-B_knTpFQ.js";export{t as SupabaseFile,r as SupabaseMetaStorage,p as SupabaseStorage};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UTApi } from 'uploadthing/server';
|
|
2
|
-
import { L as LocalMetaStorageOptions,
|
|
2
|
+
import { L as LocalMetaStorageOptions, j as BaseStorageOptions, F as File, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
3
3
|
import 'node:stream';
|
|
4
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
4
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
7
7
|
import 'lru-cache';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/UploadThingFile-BpG9mE8K.js";import{default as r}from"../../packem_shared/UploadThingMetaStorage-
|
|
1
|
+
import{default as e}from"../../packem_shared/UploadThingFile-BpG9mE8K.js";import{default as r}from"../../packem_shared/UploadThingMetaStorage-DPIokkHa.js";import{default as d}from"../../packem_shared/UploadThingStorage-B3aIKSMh.js";export{e as UploadThingFile,r as UploadThingMetaStorage,d as UploadThingStorage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as LocalMetaStorageOptions,
|
|
1
|
+
import { L as LocalMetaStorageOptions, j as BaseStorageOptions, F as File, M as MetaStorage, e as FileInit, O as OperationOptions, f as FilePart, g as FileQuery, a as FileReturn, B as BaseStorage } from "../../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
2
|
import 'node:stream';
|
|
3
|
-
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-
|
|
3
|
+
import { L as LocalMetaStorage } from "../../packem_shared/local-meta-storage.d-CobcjyWu.js";
|
|
4
4
|
import { copy, del, list, put } from '@vercel/blob';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as r}from"../../packem_shared/VercelBlobFile-Cni_1qwD.js";import{default as a}from"../../packem_shared/VercelBlobMetaStorage-
|
|
1
|
+
import{default as r}from"../../packem_shared/VercelBlobFile-Cni_1qwD.js";import{default as a}from"../../packem_shared/VercelBlobMetaStorage-Bx0l9Xt6.js";import{default as f}from"../../packem_shared/VercelBlobStorage-CGxoGkv4.js";export{r as VercelBlobFile,a as VercelBlobMetaStorage,f as VercelBlobStorage};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as File, a as FileReturn, B as BaseStorage } from "../packem_shared/storage.d-
|
|
2
|
-
import {
|
|
1
|
+
import { F as File, a as FileReturn, B as BaseStorage } from "../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
|
+
import { A as AudioTransformerConfig, a as AudioTransformResult, b as AudioResampleOptions, c as AudioChannelMixOptions, d as AudioTransformOptions, e as AudioTransformationStep, B as BaseTransformer } from "../packem_shared/types.d-BsjUOfBJ.js";
|
|
3
3
|
import 'node:stream';
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'node:http';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Readable } from 'node:stream';
|
|
2
|
-
import { F as File, a as FileReturn, B as BaseStorage } from "../packem_shared/storage.d-
|
|
3
|
-
import { I as ImageTransformerConfig, T as TransformResult, R as ResizeOptions, C as CropOptions,
|
|
2
|
+
import { F as File, a as FileReturn, B as BaseStorage } from "../packem_shared/storage.d-D5UN5mRz.js";
|
|
3
|
+
import { I as ImageTransformerConfig, T as TransformResult, R as ResizeOptions, C as CropOptions, m as RotateOptions, n as ImageFormat, o as TransformOptions, S as SharpenOptions, p as BlurOptions, q as MedianOptions, r as CLAHEOptions, s as ConvolveOptions, t as ThresholdOptions, u as BooleanOptions, L as LinearOptions, v as RecombineOptions, w as ModulateOptions, x as TintOptions, G as GreyscaleOptions, y as ColourspaceOptions, E as ExtractChannelOptions, J as JoinChannelOptions, z as BandboolOptions, D as AffineOptions, F as DilateOptions, H as ErodeOptions, P as PipelineColourspaceOptions, K as ToColourspaceOptions, N as RemoveAlphaOptions, O as EnsureAlphaOptions, Q as TransformationStep, B as BaseTransformer } from "../packem_shared/types.d-BsjUOfBJ.js";
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'node:http';
|
|
6
6
|
import 'lru-cache';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { type
|
|
2
|
-
export { M as MediaTransformer } from "../packem_shared/media-transformer.d-
|
|
3
|
-
import { a as FileReturn } from "../packem_shared/storage.d-
|
|
1
|
+
export { type c as AudioChannelMixOptions, type b as AudioResampleOptions, type d as AudioTransformOptions, type a as AudioTransformResult, type e as AudioTransformationStep, type A as AudioTransformerConfig, B as BaseTransformer, type C as CropOptions, type n as ImageFormat, type I as ImageTransformerConfig, type U as MediaTransformQuery, type l as MediaTransformResult, type W as MediaTransformationStep, type M as MediaTransformerConfig, type R as ResizeOptions, type m as RotateOptions, type o as TransformOptions, type T as TransformResult, type Q as TransformationStep, type h as VideoCropOptions, type g as VideoResizeOptions, type i as VideoRotateOptions, type j as VideoTransformOptions, type f as VideoTransformResult, type k as VideoTransformationStep, type V as VideoTransformerConfig } from "../packem_shared/types.d-BsjUOfBJ.js";
|
|
2
|
+
export { M as MediaTransformer } from "../packem_shared/media-transformer.d-B5cQJz30.js";
|
|
3
|
+
import { a as FileReturn } from "../packem_shared/storage.d-D5UN5mRz.js";
|
|
4
4
|
import 'node:stream';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:http';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as File, a as FileReturn, B as BaseStorage } from "../packem_shared/storage.d-
|
|
2
|
-
import { V as VideoTransformerConfig,
|
|
1
|
+
import { F as File, a as FileReturn, B as BaseStorage } from "../packem_shared/storage.d-D5UN5mRz.js";
|
|
2
|
+
import { V as VideoTransformerConfig, f as VideoTransformResult, g as VideoResizeOptions, h as VideoCropOptions, i as VideoRotateOptions, j as VideoTransformOptions, k as VideoTransformationStep, B as BaseTransformer } from "../packem_shared/types.d-BsjUOfBJ.js";
|
|
3
3
|
import 'node:stream';
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'node:http';
|