@memberjunction/storage 2.103.0 → 2.104.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.
@@ -0,0 +1,694 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Configuration schema for file storage providers
4
+ */
5
+ declare const storageProvidersSchema: z.ZodObject<{
6
+ /**
7
+ * AWS S3 Configuration
8
+ * Used by: AWSFileStorage driver
9
+ */
10
+ aws: z.ZodOptional<z.ZodObject<{
11
+ accessKeyID: z.ZodOptional<z.ZodString>;
12
+ secretAccessKey: z.ZodOptional<z.ZodString>;
13
+ region: z.ZodOptional<z.ZodString>;
14
+ defaultBucket: z.ZodOptional<z.ZodString>;
15
+ keyPrefix: z.ZodOptional<z.ZodString>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ accessKeyID?: string;
18
+ secretAccessKey?: string;
19
+ region?: string;
20
+ defaultBucket?: string;
21
+ keyPrefix?: string;
22
+ }, {
23
+ accessKeyID?: string;
24
+ secretAccessKey?: string;
25
+ region?: string;
26
+ defaultBucket?: string;
27
+ keyPrefix?: string;
28
+ }>>;
29
+ /**
30
+ * Azure Blob Storage Configuration
31
+ * Used by: AzureFileStorage driver
32
+ */
33
+ azure: z.ZodOptional<z.ZodObject<{
34
+ accountName: z.ZodOptional<z.ZodString>;
35
+ accountKey: z.ZodOptional<z.ZodString>;
36
+ connectionString: z.ZodOptional<z.ZodString>;
37
+ defaultContainer: z.ZodOptional<z.ZodString>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ accountName?: string;
40
+ accountKey?: string;
41
+ connectionString?: string;
42
+ defaultContainer?: string;
43
+ }, {
44
+ accountName?: string;
45
+ accountKey?: string;
46
+ connectionString?: string;
47
+ defaultContainer?: string;
48
+ }>>;
49
+ /**
50
+ * Google Cloud Storage Configuration
51
+ * Used by: GoogleFileStorage driver
52
+ */
53
+ googleCloud: z.ZodOptional<z.ZodObject<{
54
+ projectID: z.ZodOptional<z.ZodString>;
55
+ keyFilename: z.ZodOptional<z.ZodString>;
56
+ keyJSON: z.ZodOptional<z.ZodString>;
57
+ defaultBucket: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ defaultBucket?: string;
60
+ projectID?: string;
61
+ keyFilename?: string;
62
+ keyJSON?: string;
63
+ }, {
64
+ defaultBucket?: string;
65
+ projectID?: string;
66
+ keyFilename?: string;
67
+ keyJSON?: string;
68
+ }>>;
69
+ /**
70
+ * Google Drive Configuration
71
+ * Used by: GoogleDriveFileStorage driver
72
+ * Supports BOTH service account auth (keyFile, credentialsJSON) AND OAuth2 (clientID, etc.)
73
+ */
74
+ googleDrive: z.ZodOptional<z.ZodObject<{
75
+ keyFile: z.ZodOptional<z.ZodString>;
76
+ credentialsJSON: z.ZodOptional<z.ZodString>;
77
+ clientID: z.ZodOptional<z.ZodString>;
78
+ clientSecret: z.ZodOptional<z.ZodString>;
79
+ refreshToken: z.ZodOptional<z.ZodString>;
80
+ redirectURI: z.ZodOptional<z.ZodString>;
81
+ rootFolderID: z.ZodOptional<z.ZodString>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ keyFile?: string;
84
+ credentialsJSON?: string;
85
+ clientID?: string;
86
+ clientSecret?: string;
87
+ refreshToken?: string;
88
+ redirectURI?: string;
89
+ rootFolderID?: string;
90
+ }, {
91
+ keyFile?: string;
92
+ credentialsJSON?: string;
93
+ clientID?: string;
94
+ clientSecret?: string;
95
+ refreshToken?: string;
96
+ redirectURI?: string;
97
+ rootFolderID?: string;
98
+ }>>;
99
+ /**
100
+ * Dropbox Configuration
101
+ * Used by: DropboxFileStorage driver
102
+ */
103
+ dropbox: z.ZodOptional<z.ZodObject<{
104
+ accessToken: z.ZodOptional<z.ZodString>;
105
+ refreshToken: z.ZodOptional<z.ZodString>;
106
+ clientID: z.ZodOptional<z.ZodString>;
107
+ clientSecret: z.ZodOptional<z.ZodString>;
108
+ rootPath: z.ZodOptional<z.ZodString>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ clientID?: string;
111
+ clientSecret?: string;
112
+ refreshToken?: string;
113
+ accessToken?: string;
114
+ rootPath?: string;
115
+ }, {
116
+ clientID?: string;
117
+ clientSecret?: string;
118
+ refreshToken?: string;
119
+ accessToken?: string;
120
+ rootPath?: string;
121
+ }>>;
122
+ /**
123
+ * Box.com Configuration
124
+ * Used by: BoxFileStorage driver
125
+ * Supports access token, refresh token, AND JWT/client credentials auth
126
+ */
127
+ box: z.ZodOptional<z.ZodObject<{
128
+ clientID: z.ZodOptional<z.ZodString>;
129
+ clientSecret: z.ZodOptional<z.ZodString>;
130
+ accessToken: z.ZodOptional<z.ZodString>;
131
+ refreshToken: z.ZodOptional<z.ZodString>;
132
+ enterpriseID: z.ZodOptional<z.ZodString>;
133
+ rootFolderID: z.ZodOptional<z.ZodString>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ clientID?: string;
136
+ clientSecret?: string;
137
+ refreshToken?: string;
138
+ rootFolderID?: string;
139
+ accessToken?: string;
140
+ enterpriseID?: string;
141
+ }, {
142
+ clientID?: string;
143
+ clientSecret?: string;
144
+ refreshToken?: string;
145
+ rootFolderID?: string;
146
+ accessToken?: string;
147
+ enterpriseID?: string;
148
+ }>>;
149
+ /**
150
+ * SharePoint Configuration
151
+ * Used by: SharePointFileStorage driver
152
+ */
153
+ sharePoint: z.ZodOptional<z.ZodObject<{
154
+ clientID: z.ZodOptional<z.ZodString>;
155
+ clientSecret: z.ZodOptional<z.ZodString>;
156
+ tenantID: z.ZodOptional<z.ZodString>;
157
+ siteID: z.ZodOptional<z.ZodString>;
158
+ driveID: z.ZodOptional<z.ZodString>;
159
+ rootFolderID: z.ZodOptional<z.ZodString>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ clientID?: string;
162
+ clientSecret?: string;
163
+ rootFolderID?: string;
164
+ tenantID?: string;
165
+ siteID?: string;
166
+ driveID?: string;
167
+ }, {
168
+ clientID?: string;
169
+ clientSecret?: string;
170
+ rootFolderID?: string;
171
+ tenantID?: string;
172
+ siteID?: string;
173
+ driveID?: string;
174
+ }>>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ aws?: {
177
+ accessKeyID?: string;
178
+ secretAccessKey?: string;
179
+ region?: string;
180
+ defaultBucket?: string;
181
+ keyPrefix?: string;
182
+ };
183
+ azure?: {
184
+ accountName?: string;
185
+ accountKey?: string;
186
+ connectionString?: string;
187
+ defaultContainer?: string;
188
+ };
189
+ googleCloud?: {
190
+ defaultBucket?: string;
191
+ projectID?: string;
192
+ keyFilename?: string;
193
+ keyJSON?: string;
194
+ };
195
+ googleDrive?: {
196
+ keyFile?: string;
197
+ credentialsJSON?: string;
198
+ clientID?: string;
199
+ clientSecret?: string;
200
+ refreshToken?: string;
201
+ redirectURI?: string;
202
+ rootFolderID?: string;
203
+ };
204
+ dropbox?: {
205
+ clientID?: string;
206
+ clientSecret?: string;
207
+ refreshToken?: string;
208
+ accessToken?: string;
209
+ rootPath?: string;
210
+ };
211
+ box?: {
212
+ clientID?: string;
213
+ clientSecret?: string;
214
+ refreshToken?: string;
215
+ rootFolderID?: string;
216
+ accessToken?: string;
217
+ enterpriseID?: string;
218
+ };
219
+ sharePoint?: {
220
+ clientID?: string;
221
+ clientSecret?: string;
222
+ rootFolderID?: string;
223
+ tenantID?: string;
224
+ siteID?: string;
225
+ driveID?: string;
226
+ };
227
+ }, {
228
+ aws?: {
229
+ accessKeyID?: string;
230
+ secretAccessKey?: string;
231
+ region?: string;
232
+ defaultBucket?: string;
233
+ keyPrefix?: string;
234
+ };
235
+ azure?: {
236
+ accountName?: string;
237
+ accountKey?: string;
238
+ connectionString?: string;
239
+ defaultContainer?: string;
240
+ };
241
+ googleCloud?: {
242
+ defaultBucket?: string;
243
+ projectID?: string;
244
+ keyFilename?: string;
245
+ keyJSON?: string;
246
+ };
247
+ googleDrive?: {
248
+ keyFile?: string;
249
+ credentialsJSON?: string;
250
+ clientID?: string;
251
+ clientSecret?: string;
252
+ refreshToken?: string;
253
+ redirectURI?: string;
254
+ rootFolderID?: string;
255
+ };
256
+ dropbox?: {
257
+ clientID?: string;
258
+ clientSecret?: string;
259
+ refreshToken?: string;
260
+ accessToken?: string;
261
+ rootPath?: string;
262
+ };
263
+ box?: {
264
+ clientID?: string;
265
+ clientSecret?: string;
266
+ refreshToken?: string;
267
+ rootFolderID?: string;
268
+ accessToken?: string;
269
+ enterpriseID?: string;
270
+ };
271
+ sharePoint?: {
272
+ clientID?: string;
273
+ clientSecret?: string;
274
+ rootFolderID?: string;
275
+ tenantID?: string;
276
+ siteID?: string;
277
+ driveID?: string;
278
+ };
279
+ }>;
280
+ /**
281
+ * Complete configuration schema for MJStorage package
282
+ */
283
+ declare const storageConfigSchema: z.ZodObject<{
284
+ /**
285
+ * Storage provider configurations
286
+ */
287
+ storageProviders: z.ZodDefault<z.ZodOptional<z.ZodObject<{
288
+ /**
289
+ * AWS S3 Configuration
290
+ * Used by: AWSFileStorage driver
291
+ */
292
+ aws: z.ZodOptional<z.ZodObject<{
293
+ accessKeyID: z.ZodOptional<z.ZodString>;
294
+ secretAccessKey: z.ZodOptional<z.ZodString>;
295
+ region: z.ZodOptional<z.ZodString>;
296
+ defaultBucket: z.ZodOptional<z.ZodString>;
297
+ keyPrefix: z.ZodOptional<z.ZodString>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ accessKeyID?: string;
300
+ secretAccessKey?: string;
301
+ region?: string;
302
+ defaultBucket?: string;
303
+ keyPrefix?: string;
304
+ }, {
305
+ accessKeyID?: string;
306
+ secretAccessKey?: string;
307
+ region?: string;
308
+ defaultBucket?: string;
309
+ keyPrefix?: string;
310
+ }>>;
311
+ /**
312
+ * Azure Blob Storage Configuration
313
+ * Used by: AzureFileStorage driver
314
+ */
315
+ azure: z.ZodOptional<z.ZodObject<{
316
+ accountName: z.ZodOptional<z.ZodString>;
317
+ accountKey: z.ZodOptional<z.ZodString>;
318
+ connectionString: z.ZodOptional<z.ZodString>;
319
+ defaultContainer: z.ZodOptional<z.ZodString>;
320
+ }, "strip", z.ZodTypeAny, {
321
+ accountName?: string;
322
+ accountKey?: string;
323
+ connectionString?: string;
324
+ defaultContainer?: string;
325
+ }, {
326
+ accountName?: string;
327
+ accountKey?: string;
328
+ connectionString?: string;
329
+ defaultContainer?: string;
330
+ }>>;
331
+ /**
332
+ * Google Cloud Storage Configuration
333
+ * Used by: GoogleFileStorage driver
334
+ */
335
+ googleCloud: z.ZodOptional<z.ZodObject<{
336
+ projectID: z.ZodOptional<z.ZodString>;
337
+ keyFilename: z.ZodOptional<z.ZodString>;
338
+ keyJSON: z.ZodOptional<z.ZodString>;
339
+ defaultBucket: z.ZodOptional<z.ZodString>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ defaultBucket?: string;
342
+ projectID?: string;
343
+ keyFilename?: string;
344
+ keyJSON?: string;
345
+ }, {
346
+ defaultBucket?: string;
347
+ projectID?: string;
348
+ keyFilename?: string;
349
+ keyJSON?: string;
350
+ }>>;
351
+ /**
352
+ * Google Drive Configuration
353
+ * Used by: GoogleDriveFileStorage driver
354
+ * Supports BOTH service account auth (keyFile, credentialsJSON) AND OAuth2 (clientID, etc.)
355
+ */
356
+ googleDrive: z.ZodOptional<z.ZodObject<{
357
+ keyFile: z.ZodOptional<z.ZodString>;
358
+ credentialsJSON: z.ZodOptional<z.ZodString>;
359
+ clientID: z.ZodOptional<z.ZodString>;
360
+ clientSecret: z.ZodOptional<z.ZodString>;
361
+ refreshToken: z.ZodOptional<z.ZodString>;
362
+ redirectURI: z.ZodOptional<z.ZodString>;
363
+ rootFolderID: z.ZodOptional<z.ZodString>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ keyFile?: string;
366
+ credentialsJSON?: string;
367
+ clientID?: string;
368
+ clientSecret?: string;
369
+ refreshToken?: string;
370
+ redirectURI?: string;
371
+ rootFolderID?: string;
372
+ }, {
373
+ keyFile?: string;
374
+ credentialsJSON?: string;
375
+ clientID?: string;
376
+ clientSecret?: string;
377
+ refreshToken?: string;
378
+ redirectURI?: string;
379
+ rootFolderID?: string;
380
+ }>>;
381
+ /**
382
+ * Dropbox Configuration
383
+ * Used by: DropboxFileStorage driver
384
+ */
385
+ dropbox: z.ZodOptional<z.ZodObject<{
386
+ accessToken: z.ZodOptional<z.ZodString>;
387
+ refreshToken: z.ZodOptional<z.ZodString>;
388
+ clientID: z.ZodOptional<z.ZodString>;
389
+ clientSecret: z.ZodOptional<z.ZodString>;
390
+ rootPath: z.ZodOptional<z.ZodString>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ clientID?: string;
393
+ clientSecret?: string;
394
+ refreshToken?: string;
395
+ accessToken?: string;
396
+ rootPath?: string;
397
+ }, {
398
+ clientID?: string;
399
+ clientSecret?: string;
400
+ refreshToken?: string;
401
+ accessToken?: string;
402
+ rootPath?: string;
403
+ }>>;
404
+ /**
405
+ * Box.com Configuration
406
+ * Used by: BoxFileStorage driver
407
+ * Supports access token, refresh token, AND JWT/client credentials auth
408
+ */
409
+ box: z.ZodOptional<z.ZodObject<{
410
+ clientID: z.ZodOptional<z.ZodString>;
411
+ clientSecret: z.ZodOptional<z.ZodString>;
412
+ accessToken: z.ZodOptional<z.ZodString>;
413
+ refreshToken: z.ZodOptional<z.ZodString>;
414
+ enterpriseID: z.ZodOptional<z.ZodString>;
415
+ rootFolderID: z.ZodOptional<z.ZodString>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ clientID?: string;
418
+ clientSecret?: string;
419
+ refreshToken?: string;
420
+ rootFolderID?: string;
421
+ accessToken?: string;
422
+ enterpriseID?: string;
423
+ }, {
424
+ clientID?: string;
425
+ clientSecret?: string;
426
+ refreshToken?: string;
427
+ rootFolderID?: string;
428
+ accessToken?: string;
429
+ enterpriseID?: string;
430
+ }>>;
431
+ /**
432
+ * SharePoint Configuration
433
+ * Used by: SharePointFileStorage driver
434
+ */
435
+ sharePoint: z.ZodOptional<z.ZodObject<{
436
+ clientID: z.ZodOptional<z.ZodString>;
437
+ clientSecret: z.ZodOptional<z.ZodString>;
438
+ tenantID: z.ZodOptional<z.ZodString>;
439
+ siteID: z.ZodOptional<z.ZodString>;
440
+ driveID: z.ZodOptional<z.ZodString>;
441
+ rootFolderID: z.ZodOptional<z.ZodString>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ clientID?: string;
444
+ clientSecret?: string;
445
+ rootFolderID?: string;
446
+ tenantID?: string;
447
+ siteID?: string;
448
+ driveID?: string;
449
+ }, {
450
+ clientID?: string;
451
+ clientSecret?: string;
452
+ rootFolderID?: string;
453
+ tenantID?: string;
454
+ siteID?: string;
455
+ driveID?: string;
456
+ }>>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ aws?: {
459
+ accessKeyID?: string;
460
+ secretAccessKey?: string;
461
+ region?: string;
462
+ defaultBucket?: string;
463
+ keyPrefix?: string;
464
+ };
465
+ azure?: {
466
+ accountName?: string;
467
+ accountKey?: string;
468
+ connectionString?: string;
469
+ defaultContainer?: string;
470
+ };
471
+ googleCloud?: {
472
+ defaultBucket?: string;
473
+ projectID?: string;
474
+ keyFilename?: string;
475
+ keyJSON?: string;
476
+ };
477
+ googleDrive?: {
478
+ keyFile?: string;
479
+ credentialsJSON?: string;
480
+ clientID?: string;
481
+ clientSecret?: string;
482
+ refreshToken?: string;
483
+ redirectURI?: string;
484
+ rootFolderID?: string;
485
+ };
486
+ dropbox?: {
487
+ clientID?: string;
488
+ clientSecret?: string;
489
+ refreshToken?: string;
490
+ accessToken?: string;
491
+ rootPath?: string;
492
+ };
493
+ box?: {
494
+ clientID?: string;
495
+ clientSecret?: string;
496
+ refreshToken?: string;
497
+ rootFolderID?: string;
498
+ accessToken?: string;
499
+ enterpriseID?: string;
500
+ };
501
+ sharePoint?: {
502
+ clientID?: string;
503
+ clientSecret?: string;
504
+ rootFolderID?: string;
505
+ tenantID?: string;
506
+ siteID?: string;
507
+ driveID?: string;
508
+ };
509
+ }, {
510
+ aws?: {
511
+ accessKeyID?: string;
512
+ secretAccessKey?: string;
513
+ region?: string;
514
+ defaultBucket?: string;
515
+ keyPrefix?: string;
516
+ };
517
+ azure?: {
518
+ accountName?: string;
519
+ accountKey?: string;
520
+ connectionString?: string;
521
+ defaultContainer?: string;
522
+ };
523
+ googleCloud?: {
524
+ defaultBucket?: string;
525
+ projectID?: string;
526
+ keyFilename?: string;
527
+ keyJSON?: string;
528
+ };
529
+ googleDrive?: {
530
+ keyFile?: string;
531
+ credentialsJSON?: string;
532
+ clientID?: string;
533
+ clientSecret?: string;
534
+ refreshToken?: string;
535
+ redirectURI?: string;
536
+ rootFolderID?: string;
537
+ };
538
+ dropbox?: {
539
+ clientID?: string;
540
+ clientSecret?: string;
541
+ refreshToken?: string;
542
+ accessToken?: string;
543
+ rootPath?: string;
544
+ };
545
+ box?: {
546
+ clientID?: string;
547
+ clientSecret?: string;
548
+ refreshToken?: string;
549
+ rootFolderID?: string;
550
+ accessToken?: string;
551
+ enterpriseID?: string;
552
+ };
553
+ sharePoint?: {
554
+ clientID?: string;
555
+ clientSecret?: string;
556
+ rootFolderID?: string;
557
+ tenantID?: string;
558
+ siteID?: string;
559
+ driveID?: string;
560
+ };
561
+ }>>>;
562
+ }, "strip", z.ZodTypeAny, {
563
+ storageProviders?: {
564
+ aws?: {
565
+ accessKeyID?: string;
566
+ secretAccessKey?: string;
567
+ region?: string;
568
+ defaultBucket?: string;
569
+ keyPrefix?: string;
570
+ };
571
+ azure?: {
572
+ accountName?: string;
573
+ accountKey?: string;
574
+ connectionString?: string;
575
+ defaultContainer?: string;
576
+ };
577
+ googleCloud?: {
578
+ defaultBucket?: string;
579
+ projectID?: string;
580
+ keyFilename?: string;
581
+ keyJSON?: string;
582
+ };
583
+ googleDrive?: {
584
+ keyFile?: string;
585
+ credentialsJSON?: string;
586
+ clientID?: string;
587
+ clientSecret?: string;
588
+ refreshToken?: string;
589
+ redirectURI?: string;
590
+ rootFolderID?: string;
591
+ };
592
+ dropbox?: {
593
+ clientID?: string;
594
+ clientSecret?: string;
595
+ refreshToken?: string;
596
+ accessToken?: string;
597
+ rootPath?: string;
598
+ };
599
+ box?: {
600
+ clientID?: string;
601
+ clientSecret?: string;
602
+ refreshToken?: string;
603
+ rootFolderID?: string;
604
+ accessToken?: string;
605
+ enterpriseID?: string;
606
+ };
607
+ sharePoint?: {
608
+ clientID?: string;
609
+ clientSecret?: string;
610
+ rootFolderID?: string;
611
+ tenantID?: string;
612
+ siteID?: string;
613
+ driveID?: string;
614
+ };
615
+ };
616
+ }, {
617
+ storageProviders?: {
618
+ aws?: {
619
+ accessKeyID?: string;
620
+ secretAccessKey?: string;
621
+ region?: string;
622
+ defaultBucket?: string;
623
+ keyPrefix?: string;
624
+ };
625
+ azure?: {
626
+ accountName?: string;
627
+ accountKey?: string;
628
+ connectionString?: string;
629
+ defaultContainer?: string;
630
+ };
631
+ googleCloud?: {
632
+ defaultBucket?: string;
633
+ projectID?: string;
634
+ keyFilename?: string;
635
+ keyJSON?: string;
636
+ };
637
+ googleDrive?: {
638
+ keyFile?: string;
639
+ credentialsJSON?: string;
640
+ clientID?: string;
641
+ clientSecret?: string;
642
+ refreshToken?: string;
643
+ redirectURI?: string;
644
+ rootFolderID?: string;
645
+ };
646
+ dropbox?: {
647
+ clientID?: string;
648
+ clientSecret?: string;
649
+ refreshToken?: string;
650
+ accessToken?: string;
651
+ rootPath?: string;
652
+ };
653
+ box?: {
654
+ clientID?: string;
655
+ clientSecret?: string;
656
+ refreshToken?: string;
657
+ rootFolderID?: string;
658
+ accessToken?: string;
659
+ enterpriseID?: string;
660
+ };
661
+ sharePoint?: {
662
+ clientID?: string;
663
+ clientSecret?: string;
664
+ rootFolderID?: string;
665
+ tenantID?: string;
666
+ siteID?: string;
667
+ driveID?: string;
668
+ };
669
+ };
670
+ }>;
671
+ export type StorageConfig = z.infer<typeof storageConfigSchema>;
672
+ export type StorageProvidersConfig = z.infer<typeof storageProvidersSchema>;
673
+ /**
674
+ * Gets the MJStorage configuration, loading it from mj.config.cjs if not already loaded
675
+ * @returns The MJStorage configuration object
676
+ */
677
+ export declare function getStorageConfig(): StorageConfig;
678
+ /**
679
+ * Gets the storage providers configuration
680
+ * @returns The storage providers configuration object
681
+ */
682
+ export declare function getStorageProvidersConfig(): StorageProvidersConfig;
683
+ /**
684
+ * Gets configuration for a specific storage provider
685
+ * @param provider - The provider name ('aws', 'azure', 'googleCloud', etc.)
686
+ * @returns The provider configuration or undefined if not configured
687
+ */
688
+ export declare function getProviderConfig<T extends keyof StorageProvidersConfig>(provider: T): StorageProvidersConfig[T];
689
+ /**
690
+ * Clears the cached configuration (useful for testing)
691
+ */
692
+ export declare function clearStorageConfig(): void;
693
+ export {};
694
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,QAAA,MAAM,sBAAsB;IAC1B;;;OAGG;;;;;;;;;;;;;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;;;IAQH;;;OAGG;;;;;;;;;;;;;;;;;IAQH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;IAaH;;;OAGG;;;;;;;;;;;;;;;;;;;;IASH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;IAUH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASH,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,mBAAmB;IACvB;;OAEG;;QAjGH;;;WAGG;;;;;;;;;;;;;;;;;;;;QASH;;;WAGG;;;;;;;;;;;;;;;;;QAQH;;;WAGG;;;;;;;;;;;;;;;;;QAQH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;QAaH;;;WAGG;;;;;;;;;;;;;;;;;;;;QASH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;QAUH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAI5E;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAgFhD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,sBAAsB,CAGlE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,sBAAsB,EACtE,QAAQ,EAAE,CAAC,GACV,sBAAsB,CAAC,CAAC,CAAC,CAG3B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAEzC"}