@visulima/storage 1.0.9 → 1.0.10
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 +7 -0
- package/dist/adapter/nuxt/module.d.ts +8 -8
- package/dist/ai/ai-sdk/index.d.ts +51 -59
- package/dist/ai/claude/index.d.ts +104 -119
- package/dist/ai/openai/index.d.ts +86 -99
- package/dist/ai/tanstack/index.d.ts +53 -61
- package/dist/handler/http/fetch/index.d.ts +201 -201
- package/dist/handler/http/hono/index.d.ts +59 -59
- package/dist/handler/http/nextjs/index.d.ts +54 -54
- package/dist/handler/http/node/index.d.ts +233 -246
- package/dist/handler/http/solid-start/index.d.ts +54 -54
- package/dist/index.d.ts +70 -70
- package/dist/index.js +1 -1
- package/dist/packem_shared/{AwsLightStorage-BK-WPL0h.js → AwsLightStorage-EsqkAtU5.js} +1 -1
- package/dist/packem_shared/{AzureStorage-1UvDIQZd.js → AzureStorage-DL-U7qFG.js} +1 -1
- package/dist/packem_shared/BoxMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{BoxStorage-DbGqBLux.js → BoxStorage-B8_oCz27.js} +1 -1
- package/dist/packem_shared/BunS3MetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{BunS3Storage-DNvimm9e.js → BunS3Storage-_PVXu_na.js} +1 -1
- package/dist/packem_shared/BunnyMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{BunnyStorage-C7d0opLL.js → BunnyStorage-BsoWjScH.js} +1 -1
- package/dist/packem_shared/CloudinaryMetaStorage-BI9YXcwU.js +1 -0
- package/dist/packem_shared/{CloudinaryStorage-Dc3XA2lP.js → CloudinaryStorage-BNwiLF9V.js} +1 -1
- package/dist/packem_shared/{DiskStorage-CI07TVNu.js → DiskStorage-D-NtQDms.js} +1 -1
- package/dist/packem_shared/{DiskStorageWithChecksum-vFCubS6K.js → DiskStorageWithChecksum-UnCtyEvs.js} +1 -1
- package/dist/packem_shared/DropboxMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{DropboxStorage-CY9Ggu3m.js → DropboxStorage-BS9kj0nH.js} +1 -1
- package/dist/packem_shared/FirebaseMetaStorage-BI9YXcwU.js +1 -0
- package/dist/packem_shared/{FirebaseStorage-D6O9CJXN.js → FirebaseStorage-DNquii2p.js} +1 -1
- package/dist/packem_shared/FtpMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{FtpStorage-DbEjbq8z.js → FtpStorage-Bd004--s.js} +1 -1
- package/dist/packem_shared/{GCSMetaStorage-DT8K6zdm.js → GCSMetaStorage-Bf4qDFB1.js} +1 -1
- package/dist/packem_shared/{GCStorage-6BHkFlEs.js → GCStorage-ChqEpgqR.js} +1 -1
- package/dist/packem_shared/GoogleDriveMetaStorage-xlHfKwmR.js +1 -0
- package/dist/packem_shared/{GoogleDriveStorage-Bklsz7Bh.js → GoogleDriveStorage-v1glykjd.js} +1 -1
- package/dist/packem_shared/{LocalMetaStorage-BhicZnNl.js → LocalMetaStorage-YWPBYEe7.js} +1 -1
- package/dist/packem_shared/NetlifyBlobMetaStorage-BI9YXcwU.js +1 -0
- package/dist/packem_shared/{NetlifyBlobStorage-CkpCCoN1.js → NetlifyBlobStorage-BPyEWSnx.js} +1 -1
- package/dist/packem_shared/OneDriveMetaStorage-xlHfKwmR.js +1 -0
- package/dist/packem_shared/{OneDriveStorage-CP6MvGAa.js → OneDriveStorage-BJ3Kzxc5.js} +1 -1
- package/dist/packem_shared/PocketBaseMetaStorage-DnrxOQhO.js +1 -0
- package/dist/packem_shared/{PocketBaseStorage-2qhbI2PW.js → PocketBaseStorage-DqKHbbvn.js} +1 -1
- package/dist/packem_shared/{S3Storage-YGeNk3Tt.js → S3Storage-BiI2k6d1.js} +1 -1
- package/dist/packem_shared/SftpMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{SftpStorage-2Hz396Xr.js → SftpStorage-w8XdtZtw.js} +1 -1
- package/dist/packem_shared/SharePointMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{SharePointStorage-CrX2Pk6C.js → SharePointStorage-DpDpI7Ln.js} +1 -1
- package/dist/packem_shared/SupabaseMetaStorage-xlHfKwmR.js +1 -0
- package/dist/packem_shared/{SupabaseStorage-Dc_DBX29.js → SupabaseStorage-B_ugUCs7.js} +1 -1
- package/dist/packem_shared/UploadThingMetaStorage-BI9YXcwU.js +1 -0
- package/dist/packem_shared/{UploadThingStorage-BChykYSe.js → UploadThingStorage-_H45IVqX.js} +1 -1
- package/dist/packem_shared/VercelBlobMetaStorage-CHWrhgg2.js +1 -0
- package/dist/packem_shared/{VercelBlobStorage-CsRyPfw3.js → VercelBlobStorage-U1YMKeHs.js} +1 -1
- package/dist/packem_shared/{approval.d-CMAYH9GF.d.ts → approval.d-C-d-t94D.d.ts} +6 -6
- package/dist/packem_shared/disk-storage-BwPk2IRa.js +1 -0
- package/dist/packem_shared/disk-storage-with-checksum.d-CQucFacO.d.ts +146 -0
- package/dist/packem_shared/{executors.d-BZP2rWo3.d.ts → executors.d-DeDH3Ilt.d.ts} +2 -2
- package/dist/packem_shared/files.d-D8H_ge9Y.d.ts +655 -0
- package/dist/packem_shared/{gcs-meta-storage-B7BnctnV.js → gcs-meta-storage-DQGu_cHq.js} +1 -1
- package/dist/packem_shared/local-meta-storage-DJDcuxf1.js +11 -0
- package/dist/packem_shared/{local-meta-storage.d-D9PBfkn6.d.ts → local-meta-storage.d-DuTEzyii.d.ts} +7 -7
- package/dist/packem_shared/media-transformer.d-CvMFjINm.d.ts +331 -0
- package/dist/packem_shared/{memory-storage.d-4EU1cMt1.d.ts → memory-storage.d-BRdTiY8y.d.ts} +32 -40
- package/dist/packem_shared/{s3-base-storage-BoTyhuzO.js → s3-base-storage-CMUui93V.js} +1 -1
- package/dist/packem_shared/{s3-base-storage.d-BQgP5B-t.d.ts → s3-base-storage.d-Cg7m4FuH.d.ts} +64 -70
- package/dist/packem_shared/storage.d-DIav_lF1.d.ts +1163 -0
- package/dist/packem_shared/tus-base.d-BiEg5t4t.d.ts +102 -0
- package/dist/packem_shared/{types.d-CrUWY4On.d.ts → types.d-CAAzKiI6.d.ts} +134 -134
- package/dist/packem_shared/types.d-DgHhkCAl.d.ts +104 -0
- package/dist/packem_shared/{types.d-CggTCgXr.d.ts → types.d-jAs_Rp_v.d.ts} +3 -3
- package/dist/storage/aws/clients/index.d.ts +388 -388
- package/dist/storage/aws/index.d.ts +109 -113
- package/dist/storage/aws/index.js +1 -1
- package/dist/storage/aws-light/index.d.ts +63 -67
- package/dist/storage/aws-light/index.js +1 -1
- package/dist/storage/azure/index.d.ts +133 -139
- package/dist/storage/azure/index.js +1 -1
- package/dist/storage/box/index.d.ts +88 -92
- package/dist/storage/box/index.js +1 -1
- package/dist/storage/bun-s3/index.d.ts +70 -76
- package/dist/storage/bun-s3/index.js +1 -1
- package/dist/storage/bunny/index.d.ts +51 -55
- package/dist/storage/bunny/index.js +1 -1
- package/dist/storage/cloudinary/index.d.ts +53 -59
- package/dist/storage/cloudinary/index.js +1 -1
- package/dist/storage/dropbox/index.d.ts +58 -62
- package/dist/storage/dropbox/index.js +1 -1
- package/dist/storage/firebase/index.d.ts +73 -79
- package/dist/storage/firebase/index.js +1 -1
- package/dist/storage/ftp/index.d.ts +37 -43
- package/dist/storage/ftp/index.js +1 -1
- package/dist/storage/gcs/index.d.ts +89 -95
- package/dist/storage/gcs/index.js +1 -1
- package/dist/storage/google-drive/index.d.ts +68 -72
- 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 +2 -2
- package/dist/storage/netlify-blob/index.d.ts +85 -93
- package/dist/storage/netlify-blob/index.js +1 -1
- package/dist/storage/onedrive/index.d.ts +43 -53
- package/dist/storage/onedrive/index.js +1 -1
- package/dist/storage/pocketbase/index.d.ts +66 -72
- package/dist/storage/pocketbase/index.js +1 -1
- package/dist/storage/sftp/index.d.ts +39 -45
- package/dist/storage/sftp/index.js +1 -1
- package/dist/storage/sharepoint/index.d.ts +95 -95
- package/dist/storage/sharepoint/index.js +1 -1
- package/dist/storage/supabase/index.d.ts +49 -55
- package/dist/storage/supabase/index.js +1 -1
- package/dist/storage/uploadthing/index.d.ts +33 -37
- package/dist/storage/uploadthing/index.js +1 -1
- package/dist/storage/vercel-blob/index.d.ts +109 -115
- package/dist/storage/vercel-blob/index.js +1 -1
- package/dist/transformer/audio-transformer.d.ts +96 -96
- package/dist/transformer/image-transformer.d.ts +422 -422
- package/dist/transformer/index.d.ts +34 -34
- package/dist/transformer/video-transformer.d.ts +111 -111
- package/package.json +1 -1
- package/dist/packem_shared/BoxMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/BunS3MetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/BunnyMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/CloudinaryMetaStorage-DPVnmNe5.js +0 -1
- package/dist/packem_shared/DropboxMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/FirebaseMetaStorage-DPVnmNe5.js +0 -1
- package/dist/packem_shared/FtpMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/GoogleDriveMetaStorage-Cbwa1CHV.js +0 -1
- package/dist/packem_shared/NetlifyBlobMetaStorage-DPVnmNe5.js +0 -1
- package/dist/packem_shared/OneDriveMetaStorage-Cbwa1CHV.js +0 -1
- package/dist/packem_shared/PocketBaseMetaStorage-DOTLwVE7.js +0 -1
- package/dist/packem_shared/SftpMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/SharePointMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/SupabaseMetaStorage-Cbwa1CHV.js +0 -1
- package/dist/packem_shared/UploadThingMetaStorage-DPVnmNe5.js +0 -1
- package/dist/packem_shared/VercelBlobMetaStorage-BSn6Qfnf.js +0 -1
- package/dist/packem_shared/disk-storage-CsQcYW3s.js +0 -1
- package/dist/packem_shared/disk-storage-with-checksum.d-B-VGEsfl.d.ts +0 -156
- package/dist/packem_shared/files.d-CH0iLBNC.d.ts +0 -655
- package/dist/packem_shared/local-meta-storage-iuJnu90B.js +0 -11
- package/dist/packem_shared/media-transformer.d-Quf4ai47.d.ts +0 -331
- package/dist/packem_shared/storage.d-CEM1upWM.d.ts +0 -1176
- package/dist/packem_shared/tus-base.d-DLzKE54M.d.ts +0 -106
- package/dist/packem_shared/types.d-Bon9GVVe.d.ts +0 -104
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from 'node:events';
|
|
2
|
-
import { IncomingMessage } from 'node:http';
|
|
3
|
-
import { U as UploadFile, h as ResponseBodyType, B as BaseStorage, E as ErrorResponses } from "./storage.d-CEM1upWM.js";
|
|
4
|
-
import 'node:stream';
|
|
5
|
-
import { M as MediaTransformer } from "./media-transformer.d-Quf4ai47.js";
|
|
6
|
-
import { U as UploadOptions } from "./types.d-CggTCgXr.js";
|
|
7
|
-
import 'node:crypto';
|
|
8
|
-
import 'lru-cache';
|
|
9
|
-
import '@visulima/pagination';
|
|
10
|
-
/**
|
|
11
|
-
* Core base class containing shared business logic for all handlers.
|
|
12
|
-
* This class is platform-agnostic and contains no Node.js or Web API specific code.
|
|
13
|
-
* @template TFile The file type used by this handler.
|
|
14
|
-
*/
|
|
15
|
-
declare abstract class BaseHandlerCore<TFile extends UploadFile> extends EventEmitter {
|
|
16
|
-
/**
|
|
17
|
-
* Response body type for the handler.
|
|
18
|
-
*/
|
|
19
|
-
responseType: ResponseBodyType;
|
|
20
|
-
/**
|
|
21
|
-
* Storage instance for file operations.
|
|
22
|
-
*/
|
|
23
|
-
storage: BaseStorage<TFile>;
|
|
24
|
-
/**
|
|
25
|
-
* Optional media transformer for image/video processing.
|
|
26
|
-
*/
|
|
27
|
-
mediaTransformer?: MediaTransformer;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to disable termination for finished uploads.
|
|
30
|
-
*/
|
|
31
|
-
disableTerminationForFinishedUploads?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Logger instance for debugging and error reporting.
|
|
34
|
-
*/
|
|
35
|
-
protected logger?: Console;
|
|
36
|
-
/**
|
|
37
|
-
* Gets the logger instance.
|
|
38
|
-
* @returns Logger instance or undefined.
|
|
39
|
-
*/
|
|
40
|
-
get loggerInstance(): Console | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Internal error responses configuration.
|
|
43
|
-
*/
|
|
44
|
-
protected internalErrorResponses: ErrorResponses;
|
|
45
|
-
/**
|
|
46
|
-
* Gets the error responses configuration.
|
|
47
|
-
* @returns Error responses configuration.
|
|
48
|
-
*/
|
|
49
|
-
get errorResponses(): ErrorResponses;
|
|
50
|
-
constructor({
|
|
51
|
-
disableTerminationForFinishedUploads,
|
|
52
|
-
mediaTransformer,
|
|
53
|
-
storage
|
|
54
|
-
}: UploadOptions<TFile>);
|
|
55
|
-
/**
|
|
56
|
-
* Sets custom error responses.
|
|
57
|
-
* @param value Partial error responses to override defaults.
|
|
58
|
-
*/
|
|
59
|
-
set errorResponses(value: Partial<ErrorResponses>);
|
|
60
|
-
/**
|
|
61
|
-
* Assemble error responses by merging defaults with custom overrides.
|
|
62
|
-
* @param customErrors Custom error responses to override defaults
|
|
63
|
-
*/
|
|
64
|
-
assembleErrors: (customErrors?: {}) => void;
|
|
65
|
-
/**
|
|
66
|
-
* Parses HTTP Range header and returns start/end byte positions for partial content requests.
|
|
67
|
-
* @param rangeHeader HTTP Range header value (e.g., "bytes=0-1023").
|
|
68
|
-
* @param fileSize Total size of the file in bytes.
|
|
69
|
-
* @returns Object with start and end positions, or undefined if range is invalid.
|
|
70
|
-
*/
|
|
71
|
-
parseRangeHeader(rangeHeader: string | undefined, fileSize: number): {
|
|
72
|
-
end: number;
|
|
73
|
-
start: number;
|
|
74
|
-
} | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Build file URL from request and file data.
|
|
77
|
-
* Platform-agnostic version that accepts URL string.
|
|
78
|
-
*
|
|
79
|
-
* When `useRelativeLocation` is `false` (the default) the absolute origin is resolved from, in
|
|
80
|
-
* order: an absolute `requestUrl` (the fetch runtimes pass `request.url`, which carries the
|
|
81
|
-
* origin), then the host/proto derived from `requestHeaders` (the Node runtimes pass the request
|
|
82
|
-
* headers, since `request.url` there is only a path). If neither yields a host the Location
|
|
83
|
-
* stays relative rather than emitting a bogus `http://localhost` origin.
|
|
84
|
-
* @param requestUrl Request URL string (absolute on fetch runtimes, path-only on Node).
|
|
85
|
-
* @param file File object containing ID and content type
|
|
86
|
-
* @param requestHeaders Optional request headers used to recover host/proto on Node runtimes.
|
|
87
|
-
* @returns Constructed file URL with extension based on content type
|
|
88
|
-
*/
|
|
89
|
-
protected buildFileUrlFromString(requestUrl: string, file: TFile, requestHeaders?: IncomingMessage["headers"]): string;
|
|
90
|
-
/**
|
|
91
|
-
* Negotiates content type based on Accept header and supported formats.
|
|
92
|
-
* Platform-agnostic version that accepts header string.
|
|
93
|
-
* @param acceptHeader Accept header value
|
|
94
|
-
* @param supportedTypes Array of supported MIME types to match against
|
|
95
|
-
* @returns Best matching content type or undefined if no match found
|
|
96
|
-
*/
|
|
97
|
-
negotiateContentTypeFromHeader(acceptHeader: string | undefined, supportedTypes: string[]): string | undefined;
|
|
98
|
-
/**
|
|
99
|
-
* Check for undefined ID or path errors and throw appropriate HTTP errors.
|
|
100
|
-
* @param error The error to check
|
|
101
|
-
*/
|
|
102
|
-
protected checkForUndefinedIdOrPath(error: unknown): void;
|
|
103
|
-
}
|
|
104
|
-
declare const TUS_RESUMABLE: string;
|
|
105
|
-
declare const TUS_VERSION: string;
|
|
106
|
-
export { BaseHandlerCore as B, TUS_RESUMABLE as T, TUS_VERSION as a };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { F as File, L as LocalMetaStorageOptions, l as BaseStorageOptions } from "./storage.d-CEM1upWM.js";
|
|
2
|
-
import 'node:stream';
|
|
3
|
-
import { Client } from '@microsoft/microsoft-graph-client';
|
|
4
|
-
declare class OneDriveFile extends File {
|
|
5
|
-
driveItemId?: string;
|
|
6
|
-
eTag?: string;
|
|
7
|
-
webUrl?: string;
|
|
8
|
-
}
|
|
9
|
-
interface OneDriveClientCredentialsAuth {
|
|
10
|
-
/**
|
|
11
|
-
* Microsoft Entra (Azure AD) application (client) ID.
|
|
12
|
-
*/
|
|
13
|
-
clientId: string;
|
|
14
|
-
/**
|
|
15
|
-
* Application (client) secret.
|
|
16
|
-
*/
|
|
17
|
-
clientSecret: string;
|
|
18
|
-
/**
|
|
19
|
-
* Microsoft Entra tenant ID (GUID or domain name).
|
|
20
|
-
*/
|
|
21
|
-
tenantId: string;
|
|
22
|
-
}
|
|
23
|
-
interface OneDriveOAuthRefreshAuth {
|
|
24
|
-
/**
|
|
25
|
-
* Microsoft Entra application (client) ID.
|
|
26
|
-
*/
|
|
27
|
-
clientId: string;
|
|
28
|
-
/**
|
|
29
|
-
* Application client secret. Required for confidential clients (default).
|
|
30
|
-
* Public clients may omit it if the app registration allows.
|
|
31
|
-
*/
|
|
32
|
-
clientSecret?: string;
|
|
33
|
-
/**
|
|
34
|
-
* OAuth2 refresh token obtained from an interactive sign-in flow.
|
|
35
|
-
*/
|
|
36
|
-
refreshToken: string;
|
|
37
|
-
/**
|
|
38
|
-
* Tenant ID — `"common"`, `"consumers"`, `"organizations"`, or a tenant
|
|
39
|
-
* GUID/domain. Defaults to `"common"`.
|
|
40
|
-
*/
|
|
41
|
-
tenantId?: string;
|
|
42
|
-
}
|
|
43
|
-
interface OneDriveStorageOptions extends BaseStorageOptions {
|
|
44
|
-
/**
|
|
45
|
-
* Static or dynamic access token. Pass a string for a one-shot token, or
|
|
46
|
-
* a function returning a fresh token on each call.
|
|
47
|
-
*/
|
|
48
|
-
accessToken?: string | (() => string | Promise<string>);
|
|
49
|
-
/**
|
|
50
|
-
* Pre-built `@microsoft/microsoft-graph-client` `Client`. Escape hatch for
|
|
51
|
-
* callers that wire up their own `AuthenticationProvider` (e.g. with
|
|
52
|
-
* `@azure/identity` or `@azure/msal-node`).
|
|
53
|
-
*/
|
|
54
|
-
client?: Client;
|
|
55
|
-
/**
|
|
56
|
-
* Client-credentials auth — for app-only / daemon scenarios.
|
|
57
|
-
* Cannot be used with `/me/drive`; you must target via `driveId`,
|
|
58
|
-
* `siteId`, or `userId`.
|
|
59
|
-
*/
|
|
60
|
-
clientCredentials?: OneDriveClientCredentialsAuth;
|
|
61
|
-
/**
|
|
62
|
-
* Timeout, in milliseconds, for polling the async-copy monitor URL.
|
|
63
|
-
* Defaults to 60_000 (60s).
|
|
64
|
-
*/
|
|
65
|
-
copyTimeoutMs?: number;
|
|
66
|
-
/**
|
|
67
|
-
* Target drive by ID. Mutually exclusive with `siteId` and `userId`.
|
|
68
|
-
*/
|
|
69
|
-
driveId?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Configure metafiles storage. Defaults to local tmp directory.
|
|
72
|
-
*/
|
|
73
|
-
metaStorageConfig?: LocalMetaStorageOptions;
|
|
74
|
-
/**
|
|
75
|
-
* OAuth2 refresh-token auth — for delegated user scenarios. Exchanges
|
|
76
|
-
* the refresh token at the Microsoft identity platform and caches the
|
|
77
|
-
* resulting access token until ~60s before expiry.
|
|
78
|
-
*/
|
|
79
|
-
oauth?: OneDriveOAuthRefreshAuth;
|
|
80
|
-
/**
|
|
81
|
-
* When `true`, `getReadUrl` creates an anonymous shared link with
|
|
82
|
-
* `view` permission. Otherwise it returns the short-lived pre-authenticated
|
|
83
|
-
* `@microsoft.graph.downloadUrl` from the item metadata.
|
|
84
|
-
*/
|
|
85
|
-
publicByDefault?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Logical "bucket root" — virtual keys live under this folder path within
|
|
88
|
-
* the target drive. Must already exist; the adapter does not create
|
|
89
|
-
* folders. Defaults to drive root.
|
|
90
|
-
*/
|
|
91
|
-
rootFolderPath?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Target a SharePoint site's default drive. Mutually exclusive with
|
|
94
|
-
* `driveId` and `userId`.
|
|
95
|
-
*/
|
|
96
|
-
siteId?: string;
|
|
97
|
-
/**
|
|
98
|
-
* Target a specific user's drive. Mutually exclusive with `driveId` and
|
|
99
|
-
* `siteId`. Required when using `clientCredentials` auth (Graph does not
|
|
100
|
-
* accept `/me/drive` for app-only tokens).
|
|
101
|
-
*/
|
|
102
|
-
userId?: string;
|
|
103
|
-
}
|
|
104
|
-
export { OneDriveFile as O, OneDriveStorageOptions as a, OneDriveClientCredentialsAuth as b, OneDriveOAuthRefreshAuth as c };
|