@secrecy/trpc-api-types 1.33.0-feat-other-s3-providers.1 → 1.33.0-feat-other-s3-providers.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.cts +413 -137
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -346,7 +346,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
346
346
  users: number;
347
347
  developers: number;
348
348
  hasDatabase: boolean;
349
- storageUsage: number;
349
+ storageUsage: {
350
+ count: bigint;
351
+ size: bigint;
352
+ details: ({
353
+ count: bigint;
354
+ id: string;
355
+ size: bigint;
356
+ mode: "standard" | "glacier";
357
+ provider: "scaleway" | "ovh";
358
+ protocol: "s3";
359
+ region: string;
360
+ } | {
361
+ count: bigint;
362
+ id: string;
363
+ size: bigint;
364
+ mode: "standard";
365
+ provider: "secrecy";
366
+ protocol: "mongo";
367
+ region: string;
368
+ })[];
369
+ };
350
370
  downloadBandwidthUsage: number;
351
371
  uploadBandwidthUsage: number;
352
372
  };
@@ -354,7 +374,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
354
374
  users: number;
355
375
  developers: number;
356
376
  hasDatabase: boolean;
357
- storageUsage: number;
377
+ storageUsage: {
378
+ count: bigint;
379
+ size: bigint;
380
+ details: ({
381
+ count: bigint;
382
+ id: string;
383
+ size: bigint;
384
+ mode: "standard" | "glacier";
385
+ provider: "scaleway" | "ovh";
386
+ protocol: "s3";
387
+ region: string;
388
+ } | {
389
+ count: bigint;
390
+ id: string;
391
+ size: bigint;
392
+ mode: "standard";
393
+ provider: "secrecy";
394
+ protocol: "mongo";
395
+ region: string;
396
+ })[];
397
+ };
358
398
  downloadBandwidthUsage: number;
359
399
  uploadBandwidthUsage: number;
360
400
  };
@@ -2196,18 +2236,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2196
2236
  md5: string;
2197
2237
  userAppUserId: string;
2198
2238
  userAppAppId: string;
2199
- storageId: string;
2239
+ nextStorageId: string | null;
2200
2240
  sizeEncrypted: bigint | null;
2201
2241
  md5Encrypted: string | null;
2202
2242
  mime: string | null;
2203
2243
  ext: string | null;
2204
2244
  validatedAt: Date | null;
2205
2245
  restoreSince: Date | null;
2246
+ onTransferSince: Date | null;
2206
2247
  } & {
2207
2248
  storage: {
2208
2249
  id: string;
2250
+ provider: "scaleway" | "ovh";
2209
2251
  protocol: "s3";
2210
- provider: "scaleway" | "secrecy" | "ovh";
2211
2252
  s3StorageOptions: {
2212
2253
  id: string;
2213
2254
  mode: "standard" | "glacier";
@@ -2216,14 +2257,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2216
2257
  providerSettings: {
2217
2258
  id: string;
2218
2259
  features: ("versioning" | "edge")[];
2219
- modes: ("standard" | "glacier")[];
2220
2260
  regions: string[];
2261
+ modes: ("standard" | "glacier")[];
2221
2262
  };
2222
2263
  };
2223
2264
  } | {
2224
2265
  id: string;
2266
+ provider: "secrecy";
2225
2267
  protocol: "mongo";
2226
- provider: "scaleway" | "secrecy" | "ovh";
2227
2268
  mongoStorageOptions: {
2228
2269
  id: string;
2229
2270
  } & {
@@ -2244,18 +2285,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2244
2285
  md5: string;
2245
2286
  userAppUserId: string;
2246
2287
  userAppAppId: string;
2247
- storageId: string;
2288
+ nextStorageId: string | null;
2248
2289
  sizeEncrypted: bigint | null;
2249
2290
  md5Encrypted: string | null;
2250
2291
  mime: string | null;
2251
2292
  ext: string | null;
2252
2293
  validatedAt: Date | null;
2253
2294
  restoreSince: Date | null;
2295
+ onTransferSince: Date | null;
2254
2296
  } & {
2255
2297
  storage: {
2256
2298
  id: string;
2299
+ provider: "scaleway" | "ovh";
2257
2300
  protocol: "s3";
2258
- provider: "scaleway" | "secrecy" | "ovh";
2259
2301
  s3StorageOptions: {
2260
2302
  id: string;
2261
2303
  mode: "standard" | "glacier";
@@ -2264,14 +2306,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2264
2306
  providerSettings: {
2265
2307
  id: string;
2266
2308
  features: ("versioning" | "edge")[];
2267
- modes: ("standard" | "glacier")[];
2268
2309
  regions: string[];
2310
+ modes: ("standard" | "glacier")[];
2269
2311
  };
2270
2312
  };
2271
2313
  } | {
2272
2314
  id: string;
2315
+ provider: "secrecy";
2273
2316
  protocol: "mongo";
2274
- provider: "scaleway" | "secrecy" | "ovh";
2275
2317
  mongoStorageOptions: {
2276
2318
  id: string;
2277
2319
  } & {
@@ -2405,18 +2447,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2405
2447
  md5: string;
2406
2448
  userAppUserId: string;
2407
2449
  userAppAppId: string;
2408
- storageId: string;
2450
+ nextStorageId: string | null;
2409
2451
  sizeEncrypted: bigint | null;
2410
2452
  md5Encrypted: string | null;
2411
2453
  mime: string | null;
2412
2454
  ext: string | null;
2413
2455
  validatedAt: Date | null;
2414
2456
  restoreSince: Date | null;
2457
+ onTransferSince: Date | null;
2415
2458
  } & {
2416
2459
  storage: {
2417
2460
  id: string;
2461
+ provider: "scaleway" | "ovh";
2418
2462
  protocol: "s3";
2419
- provider: "scaleway" | "secrecy" | "ovh";
2420
2463
  s3StorageOptions: {
2421
2464
  id: string;
2422
2465
  mode: "standard" | "glacier";
@@ -2425,14 +2468,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2425
2468
  providerSettings: {
2426
2469
  id: string;
2427
2470
  features: ("versioning" | "edge")[];
2428
- modes: ("standard" | "glacier")[];
2429
2471
  regions: string[];
2472
+ modes: ("standard" | "glacier")[];
2430
2473
  };
2431
2474
  };
2432
2475
  } | {
2433
2476
  id: string;
2477
+ provider: "secrecy";
2434
2478
  protocol: "mongo";
2435
- provider: "scaleway" | "secrecy" | "ovh";
2436
2479
  mongoStorageOptions: {
2437
2480
  id: string;
2438
2481
  } & {
@@ -2453,18 +2496,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2453
2496
  md5: string;
2454
2497
  userAppUserId: string;
2455
2498
  userAppAppId: string;
2456
- storageId: string;
2499
+ nextStorageId: string | null;
2457
2500
  sizeEncrypted: bigint | null;
2458
2501
  md5Encrypted: string | null;
2459
2502
  mime: string | null;
2460
2503
  ext: string | null;
2461
2504
  validatedAt: Date | null;
2462
2505
  restoreSince: Date | null;
2506
+ onTransferSince: Date | null;
2463
2507
  } & {
2464
2508
  storage: {
2465
2509
  id: string;
2510
+ provider: "scaleway" | "ovh";
2466
2511
  protocol: "s3";
2467
- provider: "scaleway" | "secrecy" | "ovh";
2468
2512
  s3StorageOptions: {
2469
2513
  id: string;
2470
2514
  mode: "standard" | "glacier";
@@ -2473,14 +2517,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2473
2517
  providerSettings: {
2474
2518
  id: string;
2475
2519
  features: ("versioning" | "edge")[];
2476
- modes: ("standard" | "glacier")[];
2477
2520
  regions: string[];
2521
+ modes: ("standard" | "glacier")[];
2478
2522
  };
2479
2523
  };
2480
2524
  } | {
2481
2525
  id: string;
2526
+ provider: "secrecy";
2482
2527
  protocol: "mongo";
2483
- provider: "scaleway" | "secrecy" | "ovh";
2484
2528
  mongoStorageOptions: {
2485
2529
  id: string;
2486
2530
  } & {
@@ -2649,18 +2693,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2649
2693
  md5: string;
2650
2694
  userAppUserId: string;
2651
2695
  userAppAppId: string;
2652
- storageId: string;
2696
+ nextStorageId: string | null;
2653
2697
  sizeEncrypted: bigint | null;
2654
2698
  md5Encrypted: string | null;
2655
2699
  mime: string | null;
2656
2700
  ext: string | null;
2657
2701
  validatedAt: Date | null;
2658
2702
  restoreSince: Date | null;
2703
+ onTransferSince: Date | null;
2659
2704
  } & {
2660
2705
  storage: {
2661
2706
  id: string;
2707
+ provider: "scaleway" | "ovh";
2662
2708
  protocol: "s3";
2663
- provider: "scaleway" | "secrecy" | "ovh";
2664
2709
  s3StorageOptions: {
2665
2710
  id: string;
2666
2711
  mode: "standard" | "glacier";
@@ -2669,14 +2714,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2669
2714
  providerSettings: {
2670
2715
  id: string;
2671
2716
  features: ("versioning" | "edge")[];
2672
- modes: ("standard" | "glacier")[];
2673
2717
  regions: string[];
2718
+ modes: ("standard" | "glacier")[];
2674
2719
  };
2675
2720
  };
2676
2721
  } | {
2677
2722
  id: string;
2723
+ provider: "secrecy";
2678
2724
  protocol: "mongo";
2679
- provider: "scaleway" | "secrecy" | "ovh";
2680
2725
  mongoStorageOptions: {
2681
2726
  id: string;
2682
2727
  } & {
@@ -2697,18 +2742,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2697
2742
  md5: string;
2698
2743
  userAppUserId: string;
2699
2744
  userAppAppId: string;
2700
- storageId: string;
2745
+ nextStorageId: string | null;
2701
2746
  sizeEncrypted: bigint | null;
2702
2747
  md5Encrypted: string | null;
2703
2748
  mime: string | null;
2704
2749
  ext: string | null;
2705
2750
  validatedAt: Date | null;
2706
2751
  restoreSince: Date | null;
2752
+ onTransferSince: Date | null;
2707
2753
  } & {
2708
2754
  storage: {
2709
2755
  id: string;
2756
+ provider: "scaleway" | "ovh";
2710
2757
  protocol: "s3";
2711
- provider: "scaleway" | "secrecy" | "ovh";
2712
2758
  s3StorageOptions: {
2713
2759
  id: string;
2714
2760
  mode: "standard" | "glacier";
@@ -2717,14 +2763,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2717
2763
  providerSettings: {
2718
2764
  id: string;
2719
2765
  features: ("versioning" | "edge")[];
2720
- modes: ("standard" | "glacier")[];
2721
2766
  regions: string[];
2767
+ modes: ("standard" | "glacier")[];
2722
2768
  };
2723
2769
  };
2724
2770
  } | {
2725
2771
  id: string;
2772
+ provider: "secrecy";
2726
2773
  protocol: "mongo";
2727
- provider: "scaleway" | "secrecy" | "ovh";
2728
2774
  mongoStorageOptions: {
2729
2775
  id: string;
2730
2776
  } & {
@@ -2774,8 +2820,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2774
2820
  key: string | null;
2775
2821
  storage: {
2776
2822
  id: string;
2823
+ provider: "scaleway" | "ovh";
2777
2824
  protocol: "s3";
2778
- provider: "scaleway" | "secrecy" | "ovh";
2779
2825
  s3StorageOptions: {
2780
2826
  id: string;
2781
2827
  mode: "standard" | "glacier";
@@ -2784,14 +2830,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2784
2830
  providerSettings: {
2785
2831
  id: string;
2786
2832
  features: ("versioning" | "edge")[];
2787
- modes: ("standard" | "glacier")[];
2788
2833
  regions: string[];
2834
+ modes: ("standard" | "glacier")[];
2789
2835
  };
2790
2836
  };
2791
2837
  } | {
2792
2838
  id: string;
2839
+ provider: "secrecy";
2793
2840
  protocol: "mongo";
2794
- provider: "scaleway" | "secrecy" | "ovh";
2795
2841
  mongoStorageOptions: {
2796
2842
  id: string;
2797
2843
  } & {
@@ -2819,8 +2865,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2819
2865
  key: string | null;
2820
2866
  storage: {
2821
2867
  id: string;
2868
+ provider: "scaleway" | "ovh";
2822
2869
  protocol: "s3";
2823
- provider: "scaleway" | "secrecy" | "ovh";
2824
2870
  s3StorageOptions: {
2825
2871
  id: string;
2826
2872
  mode: "standard" | "glacier";
@@ -2829,14 +2875,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2829
2875
  providerSettings: {
2830
2876
  id: string;
2831
2877
  features: ("versioning" | "edge")[];
2832
- modes: ("standard" | "glacier")[];
2833
2878
  regions: string[];
2879
+ modes: ("standard" | "glacier")[];
2834
2880
  };
2835
2881
  };
2836
2882
  } | {
2837
2883
  id: string;
2884
+ provider: "secrecy";
2838
2885
  protocol: "mongo";
2839
- provider: "scaleway" | "secrecy" | "ovh";
2840
2886
  mongoStorageOptions: {
2841
2887
  id: string;
2842
2888
  } & {
@@ -2863,8 +2909,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2863
2909
  key: string | null;
2864
2910
  storage: {
2865
2911
  id: string;
2912
+ provider: "scaleway" | "ovh";
2866
2913
  protocol: "s3";
2867
- provider: "scaleway" | "secrecy" | "ovh";
2868
2914
  s3StorageOptions: {
2869
2915
  id: string;
2870
2916
  mode: "standard" | "glacier";
@@ -2873,8 +2919,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2873
2919
  providerSettings: {
2874
2920
  id: string;
2875
2921
  features: ("versioning" | "edge")[];
2876
- modes: ("standard" | "glacier")[];
2877
2922
  regions: string[];
2923
+ modes: ("standard" | "glacier")[];
2878
2924
  };
2879
2925
  };
2880
2926
  };
@@ -2896,8 +2942,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2896
2942
  key: string | null;
2897
2943
  storage: {
2898
2944
  id: string;
2945
+ provider: "secrecy";
2899
2946
  protocol: "mongo";
2900
- provider: "scaleway" | "secrecy" | "ovh";
2901
2947
  mongoStorageOptions: {
2902
2948
  id: string;
2903
2949
  } & {
@@ -2921,8 +2967,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2921
2967
  key: string | null;
2922
2968
  storage: {
2923
2969
  id: string;
2970
+ provider: "scaleway" | "ovh";
2924
2971
  protocol: "s3";
2925
- provider: "scaleway" | "secrecy" | "ovh";
2926
2972
  s3StorageOptions: {
2927
2973
  id: string;
2928
2974
  mode: "standard" | "glacier";
@@ -2931,14 +2977,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2931
2977
  providerSettings: {
2932
2978
  id: string;
2933
2979
  features: ("versioning" | "edge")[];
2934
- modes: ("standard" | "glacier")[];
2935
2980
  regions: string[];
2981
+ modes: ("standard" | "glacier")[];
2936
2982
  };
2937
2983
  };
2938
2984
  } | {
2939
2985
  id: string;
2986
+ provider: "secrecy";
2940
2987
  protocol: "mongo";
2941
- provider: "scaleway" | "secrecy" | "ovh";
2942
2988
  mongoStorageOptions: {
2943
2989
  id: string;
2944
2990
  } & {
@@ -2966,8 +3012,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2966
3012
  key: string | null;
2967
3013
  storage: {
2968
3014
  id: string;
3015
+ provider: "scaleway" | "ovh";
2969
3016
  protocol: "s3";
2970
- provider: "scaleway" | "secrecy" | "ovh";
2971
3017
  s3StorageOptions: {
2972
3018
  id: string;
2973
3019
  mode: "standard" | "glacier";
@@ -2976,14 +3022,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2976
3022
  providerSettings: {
2977
3023
  id: string;
2978
3024
  features: ("versioning" | "edge")[];
2979
- modes: ("standard" | "glacier")[];
2980
3025
  regions: string[];
3026
+ modes: ("standard" | "glacier")[];
2981
3027
  };
2982
3028
  };
2983
3029
  } | {
2984
3030
  id: string;
3031
+ provider: "secrecy";
2985
3032
  protocol: "mongo";
2986
- provider: "scaleway" | "secrecy" | "ovh";
2987
3033
  mongoStorageOptions: {
2988
3034
  id: string;
2989
3035
  } & {
@@ -3010,8 +3056,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3010
3056
  key: string | null;
3011
3057
  storage: {
3012
3058
  id: string;
3059
+ provider: "scaleway" | "ovh";
3013
3060
  protocol: "s3";
3014
- provider: "scaleway" | "secrecy" | "ovh";
3015
3061
  s3StorageOptions: {
3016
3062
  id: string;
3017
3063
  mode: "standard" | "glacier";
@@ -3020,8 +3066,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3020
3066
  providerSettings: {
3021
3067
  id: string;
3022
3068
  features: ("versioning" | "edge")[];
3023
- modes: ("standard" | "glacier")[];
3024
3069
  regions: string[];
3070
+ modes: ("standard" | "glacier")[];
3025
3071
  };
3026
3072
  };
3027
3073
  };
@@ -3043,8 +3089,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3043
3089
  key: string | null;
3044
3090
  storage: {
3045
3091
  id: string;
3092
+ provider: "secrecy";
3046
3093
  protocol: "mongo";
3047
- provider: "scaleway" | "secrecy" | "ovh";
3048
3094
  mongoStorageOptions: {
3049
3095
  id: string;
3050
3096
  } & {
@@ -3098,8 +3144,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3098
3144
  key: string | null;
3099
3145
  storage: {
3100
3146
  id: string;
3147
+ provider: "scaleway" | "ovh";
3101
3148
  protocol: "s3";
3102
- provider: "scaleway" | "secrecy" | "ovh";
3103
3149
  s3StorageOptions: {
3104
3150
  id: string;
3105
3151
  mode: "standard" | "glacier";
@@ -3108,14 +3154,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3108
3154
  providerSettings: {
3109
3155
  id: string;
3110
3156
  features: ("versioning" | "edge")[];
3111
- modes: ("standard" | "glacier")[];
3112
3157
  regions: string[];
3158
+ modes: ("standard" | "glacier")[];
3113
3159
  };
3114
3160
  };
3115
3161
  } | {
3116
3162
  id: string;
3163
+ provider: "secrecy";
3117
3164
  protocol: "mongo";
3118
- provider: "scaleway" | "secrecy" | "ovh";
3119
3165
  mongoStorageOptions: {
3120
3166
  id: string;
3121
3167
  } & {
@@ -3143,8 +3189,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3143
3189
  key: string | null;
3144
3190
  storage: {
3145
3191
  id: string;
3192
+ provider: "scaleway" | "ovh";
3146
3193
  protocol: "s3";
3147
- provider: "scaleway" | "secrecy" | "ovh";
3148
3194
  s3StorageOptions: {
3149
3195
  id: string;
3150
3196
  mode: "standard" | "glacier";
@@ -3153,14 +3199,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3153
3199
  providerSettings: {
3154
3200
  id: string;
3155
3201
  features: ("versioning" | "edge")[];
3156
- modes: ("standard" | "glacier")[];
3157
3202
  regions: string[];
3203
+ modes: ("standard" | "glacier")[];
3158
3204
  };
3159
3205
  };
3160
3206
  } | {
3161
3207
  id: string;
3208
+ provider: "secrecy";
3162
3209
  protocol: "mongo";
3163
- provider: "scaleway" | "secrecy" | "ovh";
3164
3210
  mongoStorageOptions: {
3165
3211
  id: string;
3166
3212
  } & {
@@ -3187,8 +3233,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3187
3233
  key: string | null;
3188
3234
  storage: {
3189
3235
  id: string;
3236
+ provider: "scaleway" | "ovh";
3190
3237
  protocol: "s3";
3191
- provider: "scaleway" | "secrecy" | "ovh";
3192
3238
  s3StorageOptions: {
3193
3239
  id: string;
3194
3240
  mode: "standard" | "glacier";
@@ -3197,8 +3243,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3197
3243
  providerSettings: {
3198
3244
  id: string;
3199
3245
  features: ("versioning" | "edge")[];
3200
- modes: ("standard" | "glacier")[];
3201
3246
  regions: string[];
3247
+ modes: ("standard" | "glacier")[];
3202
3248
  };
3203
3249
  };
3204
3250
  };
@@ -3220,8 +3266,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3220
3266
  key: string | null;
3221
3267
  storage: {
3222
3268
  id: string;
3269
+ provider: "secrecy";
3223
3270
  protocol: "mongo";
3224
- provider: "scaleway" | "secrecy" | "ovh";
3225
3271
  mongoStorageOptions: {
3226
3272
  id: string;
3227
3273
  } & {
@@ -3245,8 +3291,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3245
3291
  key: string | null;
3246
3292
  storage: {
3247
3293
  id: string;
3294
+ provider: "scaleway" | "ovh";
3248
3295
  protocol: "s3";
3249
- provider: "scaleway" | "secrecy" | "ovh";
3250
3296
  s3StorageOptions: {
3251
3297
  id: string;
3252
3298
  mode: "standard" | "glacier";
@@ -3255,14 +3301,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3255
3301
  providerSettings: {
3256
3302
  id: string;
3257
3303
  features: ("versioning" | "edge")[];
3258
- modes: ("standard" | "glacier")[];
3259
3304
  regions: string[];
3305
+ modes: ("standard" | "glacier")[];
3260
3306
  };
3261
3307
  };
3262
3308
  } | {
3263
3309
  id: string;
3310
+ provider: "secrecy";
3264
3311
  protocol: "mongo";
3265
- provider: "scaleway" | "secrecy" | "ovh";
3266
3312
  mongoStorageOptions: {
3267
3313
  id: string;
3268
3314
  } & {
@@ -3290,8 +3336,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3290
3336
  key: string | null;
3291
3337
  storage: {
3292
3338
  id: string;
3339
+ provider: "scaleway" | "ovh";
3293
3340
  protocol: "s3";
3294
- provider: "scaleway" | "secrecy" | "ovh";
3295
3341
  s3StorageOptions: {
3296
3342
  id: string;
3297
3343
  mode: "standard" | "glacier";
@@ -3300,14 +3346,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3300
3346
  providerSettings: {
3301
3347
  id: string;
3302
3348
  features: ("versioning" | "edge")[];
3303
- modes: ("standard" | "glacier")[];
3304
3349
  regions: string[];
3350
+ modes: ("standard" | "glacier")[];
3305
3351
  };
3306
3352
  };
3307
3353
  } | {
3308
3354
  id: string;
3355
+ provider: "secrecy";
3309
3356
  protocol: "mongo";
3310
- provider: "scaleway" | "secrecy" | "ovh";
3311
3357
  mongoStorageOptions: {
3312
3358
  id: string;
3313
3359
  } & {
@@ -3334,8 +3380,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3334
3380
  key: string | null;
3335
3381
  storage: {
3336
3382
  id: string;
3383
+ provider: "scaleway" | "ovh";
3337
3384
  protocol: "s3";
3338
- provider: "scaleway" | "secrecy" | "ovh";
3339
3385
  s3StorageOptions: {
3340
3386
  id: string;
3341
3387
  mode: "standard" | "glacier";
@@ -3344,8 +3390,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3344
3390
  providerSettings: {
3345
3391
  id: string;
3346
3392
  features: ("versioning" | "edge")[];
3347
- modes: ("standard" | "glacier")[];
3348
3393
  regions: string[];
3394
+ modes: ("standard" | "glacier")[];
3349
3395
  };
3350
3396
  };
3351
3397
  };
@@ -3367,8 +3413,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3367
3413
  key: string | null;
3368
3414
  storage: {
3369
3415
  id: string;
3416
+ provider: "secrecy";
3370
3417
  protocol: "mongo";
3371
- provider: "scaleway" | "secrecy" | "ovh";
3372
3418
  mongoStorageOptions: {
3373
3419
  id: string;
3374
3420
  } & {
@@ -3444,21 +3490,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3444
3490
  _ctx_out: {};
3445
3491
  _input_in: {
3446
3492
  dataId: string;
3447
- storageProtocol: "s3" | "mongo";
3493
+ mode?: "standard" | "glacier" | undefined;
3494
+ provider?: "scaleway" | "secrecy" | "ovh" | undefined;
3495
+ protocol?: "s3" | "mongo" | undefined;
3496
+ region?: string | undefined;
3448
3497
  };
3449
3498
  _input_out: {
3450
3499
  dataId: string;
3451
- storageProtocol: "s3" | "mongo";
3500
+ mode?: "standard" | "glacier" | undefined;
3501
+ provider?: "scaleway" | "secrecy" | "ovh" | undefined;
3502
+ protocol?: "s3" | "mongo" | undefined;
3503
+ region?: string | undefined;
3452
3504
  };
3453
3505
  _output_in: {
3454
3506
  isMoved: boolean;
3455
- fromProtocol: "s3" | "mongo";
3456
- toProtocol: "s3" | "mongo";
3507
+ fromProtocol?: "s3" | "mongo" | undefined;
3508
+ fromMode?: "standard" | "glacier" | undefined;
3509
+ fromRegion?: string | undefined;
3510
+ toProtocol?: "s3" | "mongo" | undefined;
3511
+ toMode?: "standard" | "glacier" | undefined;
3512
+ toRegion?: string | undefined;
3457
3513
  };
3458
3514
  _output_out: {
3459
3515
  isMoved: boolean;
3460
- fromProtocol: "s3" | "mongo";
3461
- toProtocol: "s3" | "mongo";
3516
+ fromProtocol?: "s3" | "mongo" | undefined;
3517
+ fromMode?: "standard" | "glacier" | undefined;
3518
+ fromRegion?: string | undefined;
3519
+ toProtocol?: "s3" | "mongo" | undefined;
3520
+ toMode?: "standard" | "glacier" | undefined;
3521
+ toRegion?: string | undefined;
3462
3522
  };
3463
3523
  }, unknown>;
3464
3524
  saveInCloud: _trpc_server.BuildProcedure<"mutation", {
@@ -3542,18 +3602,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3542
3602
  md5: string;
3543
3603
  userAppUserId: string;
3544
3604
  userAppAppId: string;
3545
- storageId: string;
3605
+ nextStorageId: string | null;
3546
3606
  sizeEncrypted: bigint | null;
3547
3607
  md5Encrypted: string | null;
3548
3608
  mime: string | null;
3549
3609
  ext: string | null;
3550
3610
  validatedAt: Date | null;
3551
3611
  restoreSince: Date | null;
3612
+ onTransferSince: Date | null;
3552
3613
  } & {
3553
3614
  storage: {
3554
3615
  id: string;
3616
+ provider: "scaleway" | "ovh";
3555
3617
  protocol: "s3";
3556
- provider: "scaleway" | "secrecy" | "ovh";
3557
3618
  s3StorageOptions: {
3558
3619
  id: string;
3559
3620
  mode: "standard" | "glacier";
@@ -3562,14 +3623,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3562
3623
  providerSettings: {
3563
3624
  id: string;
3564
3625
  features: ("versioning" | "edge")[];
3565
- modes: ("standard" | "glacier")[];
3566
3626
  regions: string[];
3627
+ modes: ("standard" | "glacier")[];
3567
3628
  };
3568
3629
  };
3569
3630
  } | {
3570
3631
  id: string;
3632
+ provider: "secrecy";
3571
3633
  protocol: "mongo";
3572
- provider: "scaleway" | "secrecy" | "ovh";
3573
3634
  mongoStorageOptions: {
3574
3635
  id: string;
3575
3636
  } & {
@@ -3590,18 +3651,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3590
3651
  md5: string;
3591
3652
  userAppUserId: string;
3592
3653
  userAppAppId: string;
3593
- storageId: string;
3654
+ nextStorageId: string | null;
3594
3655
  sizeEncrypted: bigint | null;
3595
3656
  md5Encrypted: string | null;
3596
3657
  mime: string | null;
3597
3658
  ext: string | null;
3598
3659
  validatedAt: Date | null;
3599
3660
  restoreSince: Date | null;
3661
+ onTransferSince: Date | null;
3600
3662
  } & {
3601
3663
  storage: {
3602
3664
  id: string;
3665
+ provider: "scaleway" | "ovh";
3603
3666
  protocol: "s3";
3604
- provider: "scaleway" | "secrecy" | "ovh";
3605
3667
  s3StorageOptions: {
3606
3668
  id: string;
3607
3669
  mode: "standard" | "glacier";
@@ -3610,14 +3672,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3610
3672
  providerSettings: {
3611
3673
  id: string;
3612
3674
  features: ("versioning" | "edge")[];
3613
- modes: ("standard" | "glacier")[];
3614
3675
  regions: string[];
3676
+ modes: ("standard" | "glacier")[];
3615
3677
  };
3616
3678
  };
3617
3679
  } | {
3618
3680
  id: string;
3681
+ provider: "secrecy";
3619
3682
  protocol: "mongo";
3620
- provider: "scaleway" | "secrecy" | "ovh";
3621
3683
  mongoStorageOptions: {
3622
3684
  id: string;
3623
3685
  } & {
@@ -3751,18 +3813,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3751
3813
  md5: string;
3752
3814
  userAppUserId: string;
3753
3815
  userAppAppId: string;
3754
- storageId: string;
3816
+ nextStorageId: string | null;
3755
3817
  sizeEncrypted: bigint | null;
3756
3818
  md5Encrypted: string | null;
3757
3819
  mime: string | null;
3758
3820
  ext: string | null;
3759
3821
  validatedAt: Date | null;
3760
3822
  restoreSince: Date | null;
3823
+ onTransferSince: Date | null;
3761
3824
  } & {
3762
3825
  storage: {
3763
3826
  id: string;
3827
+ provider: "scaleway" | "ovh";
3764
3828
  protocol: "s3";
3765
- provider: "scaleway" | "secrecy" | "ovh";
3766
3829
  s3StorageOptions: {
3767
3830
  id: string;
3768
3831
  mode: "standard" | "glacier";
@@ -3771,14 +3834,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3771
3834
  providerSettings: {
3772
3835
  id: string;
3773
3836
  features: ("versioning" | "edge")[];
3774
- modes: ("standard" | "glacier")[];
3775
3837
  regions: string[];
3838
+ modes: ("standard" | "glacier")[];
3776
3839
  };
3777
3840
  };
3778
3841
  } | {
3779
3842
  id: string;
3843
+ provider: "secrecy";
3780
3844
  protocol: "mongo";
3781
- provider: "scaleway" | "secrecy" | "ovh";
3782
3845
  mongoStorageOptions: {
3783
3846
  id: string;
3784
3847
  } & {
@@ -3799,18 +3862,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3799
3862
  md5: string;
3800
3863
  userAppUserId: string;
3801
3864
  userAppAppId: string;
3802
- storageId: string;
3865
+ nextStorageId: string | null;
3803
3866
  sizeEncrypted: bigint | null;
3804
3867
  md5Encrypted: string | null;
3805
3868
  mime: string | null;
3806
3869
  ext: string | null;
3807
3870
  validatedAt: Date | null;
3808
3871
  restoreSince: Date | null;
3872
+ onTransferSince: Date | null;
3809
3873
  } & {
3810
3874
  storage: {
3811
3875
  id: string;
3876
+ provider: "scaleway" | "ovh";
3812
3877
  protocol: "s3";
3813
- provider: "scaleway" | "secrecy" | "ovh";
3814
3878
  s3StorageOptions: {
3815
3879
  id: string;
3816
3880
  mode: "standard" | "glacier";
@@ -3819,14 +3883,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3819
3883
  providerSettings: {
3820
3884
  id: string;
3821
3885
  features: ("versioning" | "edge")[];
3822
- modes: ("standard" | "glacier")[];
3823
3886
  regions: string[];
3887
+ modes: ("standard" | "glacier")[];
3824
3888
  };
3825
3889
  };
3826
3890
  } | {
3827
3891
  id: string;
3892
+ provider: "secrecy";
3828
3893
  protocol: "mongo";
3829
- provider: "scaleway" | "secrecy" | "ovh";
3830
3894
  mongoStorageOptions: {
3831
3895
  id: string;
3832
3896
  } & {
@@ -4195,12 +4259,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4195
4259
  md5: string;
4196
4260
  sizeEncrypted: bigint;
4197
4261
  md5Encrypted: string;
4262
+ mode?: "standard" | "glacier" | undefined;
4263
+ provider?: "scaleway" | "ovh" | undefined;
4264
+ region?: string | undefined;
4198
4265
  mime?: string | undefined;
4199
4266
  ext?: string | undefined;
4200
4267
  } | {
4201
4268
  type: "unencrypted";
4202
4269
  size: bigint;
4203
4270
  md5: string;
4271
+ mode?: "standard" | "glacier" | undefined;
4272
+ provider?: "scaleway" | "ovh" | undefined;
4273
+ region?: string | undefined;
4204
4274
  mime?: string | undefined;
4205
4275
  ext?: string | undefined;
4206
4276
  };
@@ -4208,15 +4278,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4208
4278
  type: "encrypted";
4209
4279
  key: string;
4210
4280
  size: bigint;
4281
+ mode: "standard" | "glacier";
4211
4282
  md5: string;
4283
+ provider: "scaleway" | "ovh";
4212
4284
  sizeEncrypted: bigint;
4213
4285
  md5Encrypted: string;
4286
+ region?: string | undefined;
4214
4287
  mime?: string | undefined;
4215
4288
  ext?: string | undefined;
4216
4289
  } | {
4217
4290
  type: "unencrypted";
4218
4291
  size: bigint;
4292
+ mode: "standard" | "glacier";
4219
4293
  md5: string;
4294
+ provider: "scaleway" | "ovh";
4295
+ region?: string | undefined;
4220
4296
  mime?: string | undefined;
4221
4297
  ext?: string | undefined;
4222
4298
  };
@@ -4279,12 +4355,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4279
4355
  md5: string;
4280
4356
  sizeEncrypted: bigint;
4281
4357
  md5Encrypted: string;
4358
+ mode?: "standard" | "glacier" | undefined;
4359
+ provider?: "scaleway" | "ovh" | undefined;
4360
+ region?: string | undefined;
4282
4361
  mime?: string | undefined;
4283
4362
  ext?: string | undefined;
4284
4363
  } | {
4285
4364
  type: "unencrypted";
4286
4365
  size: bigint;
4287
4366
  md5: string;
4367
+ mode?: "standard" | "glacier" | undefined;
4368
+ provider?: "scaleway" | "ovh" | undefined;
4369
+ region?: string | undefined;
4288
4370
  mime?: string | undefined;
4289
4371
  ext?: string | undefined;
4290
4372
  };
@@ -4292,15 +4374,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4292
4374
  type: "encrypted";
4293
4375
  key: string;
4294
4376
  size: bigint;
4377
+ mode: "standard" | "glacier";
4295
4378
  md5: string;
4379
+ provider: "scaleway" | "ovh";
4296
4380
  sizeEncrypted: bigint;
4297
4381
  md5Encrypted: string;
4382
+ region?: string | undefined;
4298
4383
  mime?: string | undefined;
4299
4384
  ext?: string | undefined;
4300
4385
  } | {
4301
4386
  type: "unencrypted";
4302
4387
  size: bigint;
4388
+ mode: "standard" | "glacier";
4303
4389
  md5: string;
4390
+ provider: "scaleway" | "ovh";
4391
+ region?: string | undefined;
4304
4392
  mime?: string | undefined;
4305
4393
  ext?: string | undefined;
4306
4394
  };
@@ -4333,7 +4421,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4333
4421
  partSize: bigint;
4334
4422
  };
4335
4423
  }, unknown>;
4336
- uploadLiteData: _trpc_server.BuildProcedure<"mutation", {
4424
+ uploadMongoData: _trpc_server.BuildProcedure<"mutation", {
4337
4425
  _config: _trpc_server.RootConfig<{
4338
4426
  ctx: {};
4339
4427
  meta: object;
@@ -4356,10 +4444,58 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4356
4444
  }>;
4357
4445
  _meta: object;
4358
4446
  _ctx_out: {};
4359
- _input_in: any;
4360
- _input_out: any;
4361
- _output_in: any;
4362
- _output_out: any;
4447
+ _input_in: {
4448
+ type: "encrypted";
4449
+ key: string;
4450
+ size: bigint;
4451
+ md5: string;
4452
+ sizeEncrypted: bigint;
4453
+ md5Encrypted: string;
4454
+ bytes: Buffer;
4455
+ mime?: string | undefined;
4456
+ ext?: string | undefined;
4457
+ } | {
4458
+ type: "unencrypted";
4459
+ size: bigint;
4460
+ md5: string;
4461
+ bytes: Buffer;
4462
+ mime?: string | undefined;
4463
+ ext?: string | undefined;
4464
+ };
4465
+ _input_out: {
4466
+ type: "encrypted";
4467
+ key: string;
4468
+ size: bigint;
4469
+ md5: string;
4470
+ sizeEncrypted: bigint;
4471
+ md5Encrypted: string;
4472
+ bytes: Buffer;
4473
+ mime?: string | undefined;
4474
+ ext?: string | undefined;
4475
+ } | {
4476
+ type: "unencrypted";
4477
+ size: bigint;
4478
+ md5: string;
4479
+ bytes: Buffer;
4480
+ mime?: string | undefined;
4481
+ ext?: string | undefined;
4482
+ };
4483
+ _output_in: {
4484
+ id: string;
4485
+ keyPair: {
4486
+ pub: string;
4487
+ encPriv: string;
4488
+ };
4489
+ key: string | null;
4490
+ };
4491
+ _output_out: {
4492
+ id: string;
4493
+ keyPair: {
4494
+ pub: string;
4495
+ encPriv: string;
4496
+ };
4497
+ key: string | null;
4498
+ };
4363
4499
  }, unknown>;
4364
4500
  reportData: _trpc_server.BuildProcedure<"mutation", {
4365
4501
  _config: _trpc_server.RootConfig<{
@@ -4401,6 +4537,134 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4401
4537
  isReported: boolean;
4402
4538
  };
4403
4539
  }, unknown>;
4540
+ dataStorage: _trpc_server.BuildProcedure<"query", {
4541
+ _config: _trpc_server.RootConfig<{
4542
+ ctx: {};
4543
+ meta: object;
4544
+ errorShape: {
4545
+ message: string;
4546
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
4547
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
4548
+ } | {
4549
+ data: {
4550
+ zodError: zod.typeToFlattenedError<any, string> | null;
4551
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
4552
+ httpStatus: number;
4553
+ path?: string;
4554
+ stack?: string;
4555
+ };
4556
+ message: string;
4557
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
4558
+ };
4559
+ transformer: typeof superjson.default;
4560
+ }>;
4561
+ _meta: object;
4562
+ _ctx_out: {};
4563
+ _input_in: {
4564
+ provider?: "scaleway" | "secrecy" | "ovh" | undefined;
4565
+ protocol?: "s3" | "mongo" | undefined;
4566
+ };
4567
+ _input_out: {
4568
+ provider?: "scaleway" | "secrecy" | "ovh" | undefined;
4569
+ protocol?: "s3" | "mongo" | undefined;
4570
+ };
4571
+ _output_in: {
4572
+ id: string;
4573
+ provider: "scaleway" | "secrecy" | "ovh";
4574
+ protocol: "s3" | "mongo";
4575
+ s3StorageOptionsId: string | null;
4576
+ mongoStorageOptionsId: string | null;
4577
+ }[];
4578
+ _output_out: {
4579
+ id: string;
4580
+ provider: "scaleway" | "secrecy" | "ovh";
4581
+ protocol: "s3" | "mongo";
4582
+ s3StorageOptionsId: string | null;
4583
+ mongoStorageOptionsId: string | null;
4584
+ }[];
4585
+ }, unknown>;
4586
+ dataStorageMongoSettings: _trpc_server.BuildProcedure<"query", {
4587
+ _config: _trpc_server.RootConfig<{
4588
+ ctx: {};
4589
+ meta: object;
4590
+ errorShape: {
4591
+ message: string;
4592
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
4593
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
4594
+ } | {
4595
+ data: {
4596
+ zodError: zod.typeToFlattenedError<any, string> | null;
4597
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
4598
+ httpStatus: number;
4599
+ path?: string;
4600
+ stack?: string;
4601
+ };
4602
+ message: string;
4603
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
4604
+ };
4605
+ transformer: typeof superjson.default;
4606
+ }>;
4607
+ _meta: object;
4608
+ _ctx_out: {};
4609
+ _input_in: {
4610
+ id: string;
4611
+ };
4612
+ _input_out: {
4613
+ id: string;
4614
+ };
4615
+ _output_in: {
4616
+ id: string;
4617
+ regions: string[];
4618
+ modes: "standard"[];
4619
+ };
4620
+ _output_out: {
4621
+ id: string;
4622
+ regions: string[];
4623
+ modes: "standard"[];
4624
+ };
4625
+ }, unknown>;
4626
+ dataStorageS3Settings: _trpc_server.BuildProcedure<"query", {
4627
+ _config: _trpc_server.RootConfig<{
4628
+ ctx: {};
4629
+ meta: object;
4630
+ errorShape: {
4631
+ message: string;
4632
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
4633
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
4634
+ } | {
4635
+ data: {
4636
+ zodError: zod.typeToFlattenedError<any, string> | null;
4637
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
4638
+ httpStatus: number;
4639
+ path?: string;
4640
+ stack?: string;
4641
+ };
4642
+ message: string;
4643
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
4644
+ };
4645
+ transformer: typeof superjson.default;
4646
+ }>;
4647
+ _meta: object;
4648
+ _ctx_out: {};
4649
+ _input_in: {
4650
+ id: string;
4651
+ };
4652
+ _input_out: {
4653
+ id: string;
4654
+ };
4655
+ _output_in: {
4656
+ id: string;
4657
+ features: ("versioning" | "edge")[];
4658
+ regions: string[];
4659
+ modes: ("standard" | "glacier")[];
4660
+ };
4661
+ _output_out: {
4662
+ id: string;
4663
+ features: ("versioning" | "edge")[];
4664
+ regions: string[];
4665
+ modes: ("standard" | "glacier")[];
4666
+ };
4667
+ }, unknown>;
4404
4668
  dataLink: _trpc_server.BuildProcedure<"query", {
4405
4669
  _config: _trpc_server.RootConfig<{
4406
4670
  ctx: {};
@@ -4714,18 +4978,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4714
4978
  md5: string;
4715
4979
  userAppUserId: string;
4716
4980
  userAppAppId: string;
4717
- storageId: string;
4981
+ nextStorageId: string | null;
4718
4982
  sizeEncrypted: bigint | null;
4719
4983
  md5Encrypted: string | null;
4720
4984
  mime: string | null;
4721
4985
  ext: string | null;
4722
4986
  validatedAt: Date | null;
4723
4987
  restoreSince: Date | null;
4988
+ onTransferSince: Date | null;
4724
4989
  } & {
4725
4990
  storage: {
4726
4991
  id: string;
4992
+ provider: "scaleway" | "ovh";
4727
4993
  protocol: "s3";
4728
- provider: "scaleway" | "secrecy" | "ovh";
4729
4994
  s3StorageOptions: {
4730
4995
  id: string;
4731
4996
  mode: "standard" | "glacier";
@@ -4734,14 +4999,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4734
4999
  providerSettings: {
4735
5000
  id: string;
4736
5001
  features: ("versioning" | "edge")[];
4737
- modes: ("standard" | "glacier")[];
4738
5002
  regions: string[];
5003
+ modes: ("standard" | "glacier")[];
4739
5004
  };
4740
5005
  };
4741
5006
  } | {
4742
5007
  id: string;
5008
+ provider: "secrecy";
4743
5009
  protocol: "mongo";
4744
- provider: "scaleway" | "secrecy" | "ovh";
4745
5010
  mongoStorageOptions: {
4746
5011
  id: string;
4747
5012
  } & {
@@ -4762,18 +5027,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4762
5027
  md5: string;
4763
5028
  userAppUserId: string;
4764
5029
  userAppAppId: string;
4765
- storageId: string;
5030
+ nextStorageId: string | null;
4766
5031
  sizeEncrypted: bigint | null;
4767
5032
  md5Encrypted: string | null;
4768
5033
  mime: string | null;
4769
5034
  ext: string | null;
4770
5035
  validatedAt: Date | null;
4771
5036
  restoreSince: Date | null;
5037
+ onTransferSince: Date | null;
4772
5038
  } & {
4773
5039
  storage: {
4774
5040
  id: string;
5041
+ provider: "scaleway" | "ovh";
4775
5042
  protocol: "s3";
4776
- provider: "scaleway" | "secrecy" | "ovh";
4777
5043
  s3StorageOptions: {
4778
5044
  id: string;
4779
5045
  mode: "standard" | "glacier";
@@ -4782,14 +5048,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4782
5048
  providerSettings: {
4783
5049
  id: string;
4784
5050
  features: ("versioning" | "edge")[];
4785
- modes: ("standard" | "glacier")[];
4786
5051
  regions: string[];
5052
+ modes: ("standard" | "glacier")[];
4787
5053
  };
4788
5054
  };
4789
5055
  } | {
4790
5056
  id: string;
5057
+ provider: "secrecy";
4791
5058
  protocol: "mongo";
4792
- provider: "scaleway" | "secrecy" | "ovh";
4793
5059
  mongoStorageOptions: {
4794
5060
  id: string;
4795
5061
  } & {
@@ -4923,18 +5189,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4923
5189
  md5: string;
4924
5190
  userAppUserId: string;
4925
5191
  userAppAppId: string;
4926
- storageId: string;
5192
+ nextStorageId: string | null;
4927
5193
  sizeEncrypted: bigint | null;
4928
5194
  md5Encrypted: string | null;
4929
5195
  mime: string | null;
4930
5196
  ext: string | null;
4931
5197
  validatedAt: Date | null;
4932
5198
  restoreSince: Date | null;
5199
+ onTransferSince: Date | null;
4933
5200
  } & {
4934
5201
  storage: {
4935
5202
  id: string;
5203
+ provider: "scaleway" | "ovh";
4936
5204
  protocol: "s3";
4937
- provider: "scaleway" | "secrecy" | "ovh";
4938
5205
  s3StorageOptions: {
4939
5206
  id: string;
4940
5207
  mode: "standard" | "glacier";
@@ -4943,14 +5210,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4943
5210
  providerSettings: {
4944
5211
  id: string;
4945
5212
  features: ("versioning" | "edge")[];
4946
- modes: ("standard" | "glacier")[];
4947
5213
  regions: string[];
5214
+ modes: ("standard" | "glacier")[];
4948
5215
  };
4949
5216
  };
4950
5217
  } | {
4951
5218
  id: string;
5219
+ provider: "secrecy";
4952
5220
  protocol: "mongo";
4953
- provider: "scaleway" | "secrecy" | "ovh";
4954
5221
  mongoStorageOptions: {
4955
5222
  id: string;
4956
5223
  } & {
@@ -4971,18 +5238,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4971
5238
  md5: string;
4972
5239
  userAppUserId: string;
4973
5240
  userAppAppId: string;
4974
- storageId: string;
5241
+ nextStorageId: string | null;
4975
5242
  sizeEncrypted: bigint | null;
4976
5243
  md5Encrypted: string | null;
4977
5244
  mime: string | null;
4978
5245
  ext: string | null;
4979
5246
  validatedAt: Date | null;
4980
5247
  restoreSince: Date | null;
5248
+ onTransferSince: Date | null;
4981
5249
  } & {
4982
5250
  storage: {
4983
5251
  id: string;
5252
+ provider: "scaleway" | "ovh";
4984
5253
  protocol: "s3";
4985
- provider: "scaleway" | "secrecy" | "ovh";
4986
5254
  s3StorageOptions: {
4987
5255
  id: string;
4988
5256
  mode: "standard" | "glacier";
@@ -4991,14 +5259,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4991
5259
  providerSettings: {
4992
5260
  id: string;
4993
5261
  features: ("versioning" | "edge")[];
4994
- modes: ("standard" | "glacier")[];
4995
5262
  regions: string[];
5263
+ modes: ("standard" | "glacier")[];
4996
5264
  };
4997
5265
  };
4998
5266
  } | {
4999
5267
  id: string;
5268
+ provider: "secrecy";
5000
5269
  protocol: "mongo";
5001
- provider: "scaleway" | "secrecy" | "ovh";
5002
5270
  mongoStorageOptions: {
5003
5271
  id: string;
5004
5272
  } & {
@@ -5628,18 +5896,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5628
5896
  md5: string;
5629
5897
  userAppUserId: string;
5630
5898
  userAppAppId: string;
5631
- storageId: string;
5899
+ nextStorageId: string | null;
5632
5900
  sizeEncrypted: bigint | null;
5633
5901
  md5Encrypted: string | null;
5634
5902
  mime: string | null;
5635
5903
  ext: string | null;
5636
5904
  validatedAt: Date | null;
5637
5905
  restoreSince: Date | null;
5906
+ onTransferSince: Date | null;
5638
5907
  } & {
5639
5908
  storage: {
5640
5909
  id: string;
5910
+ provider: "scaleway" | "ovh";
5641
5911
  protocol: "s3";
5642
- provider: "scaleway" | "secrecy" | "ovh";
5643
5912
  s3StorageOptions: {
5644
5913
  id: string;
5645
5914
  mode: "standard" | "glacier";
@@ -5648,14 +5917,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5648
5917
  providerSettings: {
5649
5918
  id: string;
5650
5919
  features: ("versioning" | "edge")[];
5651
- modes: ("standard" | "glacier")[];
5652
5920
  regions: string[];
5921
+ modes: ("standard" | "glacier")[];
5653
5922
  };
5654
5923
  };
5655
5924
  } | {
5656
5925
  id: string;
5926
+ provider: "secrecy";
5657
5927
  protocol: "mongo";
5658
- provider: "scaleway" | "secrecy" | "ovh";
5659
5928
  mongoStorageOptions: {
5660
5929
  id: string;
5661
5930
  } & {
@@ -5676,18 +5945,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5676
5945
  md5: string;
5677
5946
  userAppUserId: string;
5678
5947
  userAppAppId: string;
5679
- storageId: string;
5948
+ nextStorageId: string | null;
5680
5949
  sizeEncrypted: bigint | null;
5681
5950
  md5Encrypted: string | null;
5682
5951
  mime: string | null;
5683
5952
  ext: string | null;
5684
5953
  validatedAt: Date | null;
5685
5954
  restoreSince: Date | null;
5955
+ onTransferSince: Date | null;
5686
5956
  } & {
5687
5957
  storage: {
5688
5958
  id: string;
5959
+ provider: "scaleway" | "ovh";
5689
5960
  protocol: "s3";
5690
- provider: "scaleway" | "secrecy" | "ovh";
5691
5961
  s3StorageOptions: {
5692
5962
  id: string;
5693
5963
  mode: "standard" | "glacier";
@@ -5696,14 +5966,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5696
5966
  providerSettings: {
5697
5967
  id: string;
5698
5968
  features: ("versioning" | "edge")[];
5699
- modes: ("standard" | "glacier")[];
5700
5969
  regions: string[];
5970
+ modes: ("standard" | "glacier")[];
5701
5971
  };
5702
5972
  };
5703
5973
  } | {
5704
5974
  id: string;
5975
+ provider: "secrecy";
5705
5976
  protocol: "mongo";
5706
- provider: "scaleway" | "secrecy" | "ovh";
5707
5977
  mongoStorageOptions: {
5708
5978
  id: string;
5709
5979
  } & {
@@ -5837,18 +6107,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5837
6107
  md5: string;
5838
6108
  userAppUserId: string;
5839
6109
  userAppAppId: string;
5840
- storageId: string;
6110
+ nextStorageId: string | null;
5841
6111
  sizeEncrypted: bigint | null;
5842
6112
  md5Encrypted: string | null;
5843
6113
  mime: string | null;
5844
6114
  ext: string | null;
5845
6115
  validatedAt: Date | null;
5846
6116
  restoreSince: Date | null;
6117
+ onTransferSince: Date | null;
5847
6118
  } & {
5848
6119
  storage: {
5849
6120
  id: string;
6121
+ provider: "scaleway" | "ovh";
5850
6122
  protocol: "s3";
5851
- provider: "scaleway" | "secrecy" | "ovh";
5852
6123
  s3StorageOptions: {
5853
6124
  id: string;
5854
6125
  mode: "standard" | "glacier";
@@ -5857,14 +6128,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5857
6128
  providerSettings: {
5858
6129
  id: string;
5859
6130
  features: ("versioning" | "edge")[];
5860
- modes: ("standard" | "glacier")[];
5861
6131
  regions: string[];
6132
+ modes: ("standard" | "glacier")[];
5862
6133
  };
5863
6134
  };
5864
6135
  } | {
5865
6136
  id: string;
6137
+ provider: "secrecy";
5866
6138
  protocol: "mongo";
5867
- provider: "scaleway" | "secrecy" | "ovh";
5868
6139
  mongoStorageOptions: {
5869
6140
  id: string;
5870
6141
  } & {
@@ -5885,18 +6156,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5885
6156
  md5: string;
5886
6157
  userAppUserId: string;
5887
6158
  userAppAppId: string;
5888
- storageId: string;
6159
+ nextStorageId: string | null;
5889
6160
  sizeEncrypted: bigint | null;
5890
6161
  md5Encrypted: string | null;
5891
6162
  mime: string | null;
5892
6163
  ext: string | null;
5893
6164
  validatedAt: Date | null;
5894
6165
  restoreSince: Date | null;
6166
+ onTransferSince: Date | null;
5895
6167
  } & {
5896
6168
  storage: {
5897
6169
  id: string;
6170
+ provider: "scaleway" | "ovh";
5898
6171
  protocol: "s3";
5899
- provider: "scaleway" | "secrecy" | "ovh";
5900
6172
  s3StorageOptions: {
5901
6173
  id: string;
5902
6174
  mode: "standard" | "glacier";
@@ -5905,14 +6177,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5905
6177
  providerSettings: {
5906
6178
  id: string;
5907
6179
  features: ("versioning" | "edge")[];
5908
- modes: ("standard" | "glacier")[];
5909
6180
  regions: string[];
6181
+ modes: ("standard" | "glacier")[];
5910
6182
  };
5911
6183
  };
5912
6184
  } | {
5913
6185
  id: string;
6186
+ provider: "secrecy";
5914
6187
  protocol: "mongo";
5915
- provider: "scaleway" | "secrecy" | "ovh";
5916
6188
  mongoStorageOptions: {
5917
6189
  id: string;
5918
6190
  } & {
@@ -6522,18 +6794,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6522
6794
  md5: string;
6523
6795
  userAppUserId: string;
6524
6796
  userAppAppId: string;
6525
- storageId: string;
6797
+ nextStorageId: string | null;
6526
6798
  sizeEncrypted: bigint | null;
6527
6799
  md5Encrypted: string | null;
6528
6800
  mime: string | null;
6529
6801
  ext: string | null;
6530
6802
  validatedAt: Date | null;
6531
6803
  restoreSince: Date | null;
6804
+ onTransferSince: Date | null;
6532
6805
  } & {
6533
6806
  storage: {
6534
6807
  id: string;
6808
+ provider: "scaleway" | "ovh";
6535
6809
  protocol: "s3";
6536
- provider: "scaleway" | "secrecy" | "ovh";
6537
6810
  s3StorageOptions: {
6538
6811
  id: string;
6539
6812
  mode: "standard" | "glacier";
@@ -6542,14 +6815,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6542
6815
  providerSettings: {
6543
6816
  id: string;
6544
6817
  features: ("versioning" | "edge")[];
6545
- modes: ("standard" | "glacier")[];
6546
6818
  regions: string[];
6819
+ modes: ("standard" | "glacier")[];
6547
6820
  };
6548
6821
  };
6549
6822
  } | {
6550
6823
  id: string;
6824
+ provider: "secrecy";
6551
6825
  protocol: "mongo";
6552
- provider: "scaleway" | "secrecy" | "ovh";
6553
6826
  mongoStorageOptions: {
6554
6827
  id: string;
6555
6828
  } & {
@@ -6570,18 +6843,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6570
6843
  md5: string;
6571
6844
  userAppUserId: string;
6572
6845
  userAppAppId: string;
6573
- storageId: string;
6846
+ nextStorageId: string | null;
6574
6847
  sizeEncrypted: bigint | null;
6575
6848
  md5Encrypted: string | null;
6576
6849
  mime: string | null;
6577
6850
  ext: string | null;
6578
6851
  validatedAt: Date | null;
6579
6852
  restoreSince: Date | null;
6853
+ onTransferSince: Date | null;
6580
6854
  } & {
6581
6855
  storage: {
6582
6856
  id: string;
6857
+ provider: "scaleway" | "ovh";
6583
6858
  protocol: "s3";
6584
- provider: "scaleway" | "secrecy" | "ovh";
6585
6859
  s3StorageOptions: {
6586
6860
  id: string;
6587
6861
  mode: "standard" | "glacier";
@@ -6590,14 +6864,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6590
6864
  providerSettings: {
6591
6865
  id: string;
6592
6866
  features: ("versioning" | "edge")[];
6593
- modes: ("standard" | "glacier")[];
6594
6867
  regions: string[];
6868
+ modes: ("standard" | "glacier")[];
6595
6869
  };
6596
6870
  };
6597
6871
  } | {
6598
6872
  id: string;
6873
+ provider: "secrecy";
6599
6874
  protocol: "mongo";
6600
- provider: "scaleway" | "secrecy" | "ovh";
6601
6875
  mongoStorageOptions: {
6602
6876
  id: string;
6603
6877
  } & {
@@ -6731,18 +7005,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6731
7005
  md5: string;
6732
7006
  userAppUserId: string;
6733
7007
  userAppAppId: string;
6734
- storageId: string;
7008
+ nextStorageId: string | null;
6735
7009
  sizeEncrypted: bigint | null;
6736
7010
  md5Encrypted: string | null;
6737
7011
  mime: string | null;
6738
7012
  ext: string | null;
6739
7013
  validatedAt: Date | null;
6740
7014
  restoreSince: Date | null;
7015
+ onTransferSince: Date | null;
6741
7016
  } & {
6742
7017
  storage: {
6743
7018
  id: string;
7019
+ provider: "scaleway" | "ovh";
6744
7020
  protocol: "s3";
6745
- provider: "scaleway" | "secrecy" | "ovh";
6746
7021
  s3StorageOptions: {
6747
7022
  id: string;
6748
7023
  mode: "standard" | "glacier";
@@ -6751,14 +7026,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6751
7026
  providerSettings: {
6752
7027
  id: string;
6753
7028
  features: ("versioning" | "edge")[];
6754
- modes: ("standard" | "glacier")[];
6755
7029
  regions: string[];
7030
+ modes: ("standard" | "glacier")[];
6756
7031
  };
6757
7032
  };
6758
7033
  } | {
6759
7034
  id: string;
7035
+ provider: "secrecy";
6760
7036
  protocol: "mongo";
6761
- provider: "scaleway" | "secrecy" | "ovh";
6762
7037
  mongoStorageOptions: {
6763
7038
  id: string;
6764
7039
  } & {
@@ -6779,18 +7054,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6779
7054
  md5: string;
6780
7055
  userAppUserId: string;
6781
7056
  userAppAppId: string;
6782
- storageId: string;
7057
+ nextStorageId: string | null;
6783
7058
  sizeEncrypted: bigint | null;
6784
7059
  md5Encrypted: string | null;
6785
7060
  mime: string | null;
6786
7061
  ext: string | null;
6787
7062
  validatedAt: Date | null;
6788
7063
  restoreSince: Date | null;
7064
+ onTransferSince: Date | null;
6789
7065
  } & {
6790
7066
  storage: {
6791
7067
  id: string;
7068
+ provider: "scaleway" | "ovh";
6792
7069
  protocol: "s3";
6793
- provider: "scaleway" | "secrecy" | "ovh";
6794
7070
  s3StorageOptions: {
6795
7071
  id: string;
6796
7072
  mode: "standard" | "glacier";
@@ -6799,14 +7075,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6799
7075
  providerSettings: {
6800
7076
  id: string;
6801
7077
  features: ("versioning" | "edge")[];
6802
- modes: ("standard" | "glacier")[];
6803
7078
  regions: string[];
7079
+ modes: ("standard" | "glacier")[];
6804
7080
  };
6805
7081
  };
6806
7082
  } | {
6807
7083
  id: string;
7084
+ provider: "secrecy";
6808
7085
  protocol: "mongo";
6809
- provider: "scaleway" | "secrecy" | "ovh";
6810
7086
  mongoStorageOptions: {
6811
7087
  id: string;
6812
7088
  } & {