@secrecy/trpc-api-types 1.33.0-feat-many-data-contents-limits.2 → 1.33.0-feat-s3-cold-storage.1

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 +142 -40
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -2182,11 +2182,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2182
2182
  current: {
2183
2183
  id: string;
2184
2184
  createdAt: Date;
2185
+ storageType: "s3" | "cold" | "lite";
2185
2186
  size: bigint;
2186
2187
  md5: string;
2187
2188
  userAppUserId: string;
2188
2189
  userAppAppId: string;
2189
- storageType: "s3" | "lite";
2190
2190
  sizeEncrypted: bigint | null;
2191
2191
  md5Encrypted: string | null;
2192
2192
  validatedAt: Date | null;
@@ -2198,11 +2198,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2198
2198
  history: {
2199
2199
  id: string;
2200
2200
  createdAt: Date;
2201
+ storageType: "s3" | "cold" | "lite";
2201
2202
  size: bigint;
2202
2203
  md5: string;
2203
2204
  userAppUserId: string;
2204
2205
  userAppAppId: string;
2205
- storageType: "s3" | "lite";
2206
2206
  sizeEncrypted: bigint | null;
2207
2207
  md5Encrypted: string | null;
2208
2208
  validatedAt: Date | null;
@@ -2327,11 +2327,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2327
2327
  current: {
2328
2328
  id: string;
2329
2329
  createdAt: Date;
2330
+ storageType: "s3" | "cold" | "lite";
2330
2331
  size: bigint;
2331
2332
  md5: string;
2332
2333
  userAppUserId: string;
2333
2334
  userAppAppId: string;
2334
- storageType: "s3" | "lite";
2335
2335
  sizeEncrypted: bigint | null;
2336
2336
  md5Encrypted: string | null;
2337
2337
  validatedAt: Date | null;
@@ -2343,11 +2343,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2343
2343
  history: {
2344
2344
  id: string;
2345
2345
  createdAt: Date;
2346
+ storageType: "s3" | "cold" | "lite";
2346
2347
  size: bigint;
2347
2348
  md5: string;
2348
2349
  userAppUserId: string;
2349
2350
  userAppAppId: string;
2350
- storageType: "s3" | "lite";
2351
2351
  sizeEncrypted: bigint | null;
2352
2352
  md5Encrypted: string | null;
2353
2353
  validatedAt: Date | null;
@@ -2507,11 +2507,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2507
2507
  _output_in: {
2508
2508
  id: string;
2509
2509
  createdAt: Date;
2510
+ storageType: "s3" | "cold" | "lite";
2510
2511
  size: bigint;
2511
2512
  md5: string;
2512
2513
  userAppUserId: string;
2513
2514
  userAppAppId: string;
2514
- storageType: "s3" | "lite";
2515
2515
  sizeEncrypted: bigint | null;
2516
2516
  md5Encrypted: string | null;
2517
2517
  validatedAt: Date | null;
@@ -2523,11 +2523,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2523
2523
  _output_out: {
2524
2524
  id: string;
2525
2525
  createdAt: Date;
2526
+ storageType: "s3" | "cold" | "lite";
2526
2527
  size: bigint;
2527
2528
  md5: string;
2528
2529
  userAppUserId: string;
2529
2530
  userAppAppId: string;
2530
- storageType: "s3" | "lite";
2531
2531
  sizeEncrypted: bigint | null;
2532
2532
  md5Encrypted: string | null;
2533
2533
  validatedAt: Date | null;
@@ -2571,7 +2571,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2571
2571
  type: "received_mail";
2572
2572
  key: string | null;
2573
2573
  md5: string;
2574
- storageType: "s3" | "lite";
2575
2574
  md5Encrypted: string | null;
2576
2575
  totalSize: bigint;
2577
2576
  senderPublicKey: string;
@@ -2586,7 +2585,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2586
2585
  type: "sent_mail";
2587
2586
  key: string | null;
2588
2587
  md5: string;
2589
- storageType: "s3" | "lite";
2590
2588
  md5Encrypted: string | null;
2591
2589
  totalSize: bigint;
2592
2590
  maybeParts: {
@@ -2600,7 +2598,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2600
2598
  type: "cloud";
2601
2599
  key: string | null;
2602
2600
  md5: string;
2603
- storageType: "s3" | "lite";
2604
2601
  md5Encrypted: string | null;
2605
2602
  parts: {
2606
2603
  md5: string;
@@ -2614,7 +2611,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2614
2611
  type: "lite";
2615
2612
  key: string | null;
2616
2613
  md5: string;
2617
- storageType: "s3" | "lite";
2618
2614
  md5Encrypted: string | null;
2619
2615
  content: Buffer;
2620
2616
  publicKey: string;
@@ -2625,7 +2621,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2625
2621
  type: "received_mail";
2626
2622
  key: string | null;
2627
2623
  md5: string;
2628
- storageType: "s3" | "lite";
2629
2624
  md5Encrypted: string | null;
2630
2625
  totalSize: bigint;
2631
2626
  senderPublicKey: string;
@@ -2640,7 +2635,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2640
2635
  type: "sent_mail";
2641
2636
  key: string | null;
2642
2637
  md5: string;
2643
- storageType: "s3" | "lite";
2644
2638
  md5Encrypted: string | null;
2645
2639
  totalSize: bigint;
2646
2640
  maybeParts: {
@@ -2654,7 +2648,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2654
2648
  type: "cloud";
2655
2649
  key: string | null;
2656
2650
  md5: string;
2657
- storageType: "s3" | "lite";
2658
2651
  md5Encrypted: string | null;
2659
2652
  parts: {
2660
2653
  md5: string;
@@ -2668,7 +2661,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2668
2661
  type: "lite";
2669
2662
  key: string | null;
2670
2663
  md5: string;
2671
- storageType: "s3" | "lite";
2672
2664
  md5Encrypted: string | null;
2673
2665
  content: Buffer;
2674
2666
  publicKey: string;
@@ -2709,7 +2701,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2709
2701
  type: "received_mail";
2710
2702
  key: string | null;
2711
2703
  md5: string;
2712
- storageType: "s3" | "lite";
2713
2704
  md5Encrypted: string | null;
2714
2705
  totalSize: bigint;
2715
2706
  senderPublicKey: string;
@@ -2724,7 +2715,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2724
2715
  type: "sent_mail";
2725
2716
  key: string | null;
2726
2717
  md5: string;
2727
- storageType: "s3" | "lite";
2728
2718
  md5Encrypted: string | null;
2729
2719
  totalSize: bigint;
2730
2720
  maybeParts: {
@@ -2738,7 +2728,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2738
2728
  type: "cloud";
2739
2729
  key: string | null;
2740
2730
  md5: string;
2741
- storageType: "s3" | "lite";
2742
2731
  md5Encrypted: string | null;
2743
2732
  parts: {
2744
2733
  md5: string;
@@ -2752,7 +2741,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2752
2741
  type: "lite";
2753
2742
  key: string | null;
2754
2743
  md5: string;
2755
- storageType: "s3" | "lite";
2756
2744
  md5Encrypted: string | null;
2757
2745
  content: Buffer;
2758
2746
  publicKey: string;
@@ -2763,7 +2751,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2763
2751
  type: "received_mail";
2764
2752
  key: string | null;
2765
2753
  md5: string;
2766
- storageType: "s3" | "lite";
2767
2754
  md5Encrypted: string | null;
2768
2755
  totalSize: bigint;
2769
2756
  senderPublicKey: string;
@@ -2778,7 +2765,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2778
2765
  type: "sent_mail";
2779
2766
  key: string | null;
2780
2767
  md5: string;
2781
- storageType: "s3" | "lite";
2782
2768
  md5Encrypted: string | null;
2783
2769
  totalSize: bigint;
2784
2770
  maybeParts: {
@@ -2792,7 +2778,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2792
2778
  type: "cloud";
2793
2779
  key: string | null;
2794
2780
  md5: string;
2795
- storageType: "s3" | "lite";
2796
2781
  md5Encrypted: string | null;
2797
2782
  parts: {
2798
2783
  md5: string;
@@ -2806,7 +2791,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2806
2791
  type: "lite";
2807
2792
  key: string | null;
2808
2793
  md5: string;
2809
- storageType: "s3" | "lite";
2810
2794
  md5Encrypted: string | null;
2811
2795
  content: Buffer;
2812
2796
  publicKey: string;
@@ -2845,6 +2829,48 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2845
2829
  _output_in: any[];
2846
2830
  _output_out: any[];
2847
2831
  }, unknown>;
2832
+ moveToStorageType: _trpc_server.BuildProcedure<"mutation", {
2833
+ _config: _trpc_server.RootConfig<{
2834
+ ctx: {};
2835
+ meta: object;
2836
+ errorShape: {
2837
+ message: string;
2838
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2839
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
2840
+ } | {
2841
+ data: {
2842
+ zodError: zod.typeToFlattenedError<any, string> | null;
2843
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2844
+ httpStatus: number;
2845
+ path?: string;
2846
+ stack?: string;
2847
+ };
2848
+ message: string;
2849
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2850
+ };
2851
+ transformer: typeof superjson.default;
2852
+ }>;
2853
+ _meta: object;
2854
+ _ctx_out: {};
2855
+ _input_in: {
2856
+ dataId: string;
2857
+ storageType: "s3" | "cold";
2858
+ };
2859
+ _input_out: {
2860
+ dataId: string;
2861
+ storageType: "s3" | "cold";
2862
+ };
2863
+ _output_in: {
2864
+ isMoved: boolean;
2865
+ fromType: "s3" | "cold";
2866
+ toType: "s3" | "cold";
2867
+ };
2868
+ _output_out: {
2869
+ isMoved: boolean;
2870
+ fromType: "s3" | "cold";
2871
+ toType: "s3" | "cold";
2872
+ };
2873
+ }, unknown>;
2848
2874
  saveInCloud: _trpc_server.BuildProcedure<"mutation", {
2849
2875
  _config: _trpc_server.RootConfig<{
2850
2876
  ctx: {};
@@ -2922,11 +2948,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2922
2948
  current: {
2923
2949
  id: string;
2924
2950
  createdAt: Date;
2951
+ storageType: "s3" | "cold" | "lite";
2925
2952
  size: bigint;
2926
2953
  md5: string;
2927
2954
  userAppUserId: string;
2928
2955
  userAppAppId: string;
2929
- storageType: "s3" | "lite";
2930
2956
  sizeEncrypted: bigint | null;
2931
2957
  md5Encrypted: string | null;
2932
2958
  validatedAt: Date | null;
@@ -2938,11 +2964,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2938
2964
  history: {
2939
2965
  id: string;
2940
2966
  createdAt: Date;
2967
+ storageType: "s3" | "cold" | "lite";
2941
2968
  size: bigint;
2942
2969
  md5: string;
2943
2970
  userAppUserId: string;
2944
2971
  userAppAppId: string;
2945
- storageType: "s3" | "lite";
2946
2972
  sizeEncrypted: bigint | null;
2947
2973
  md5Encrypted: string | null;
2948
2974
  validatedAt: Date | null;
@@ -3067,11 +3093,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3067
3093
  current: {
3068
3094
  id: string;
3069
3095
  createdAt: Date;
3096
+ storageType: "s3" | "cold" | "lite";
3070
3097
  size: bigint;
3071
3098
  md5: string;
3072
3099
  userAppUserId: string;
3073
3100
  userAppAppId: string;
3074
- storageType: "s3" | "lite";
3075
3101
  sizeEncrypted: bigint | null;
3076
3102
  md5Encrypted: string | null;
3077
3103
  validatedAt: Date | null;
@@ -3083,11 +3109,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3083
3109
  history: {
3084
3110
  id: string;
3085
3111
  createdAt: Date;
3112
+ storageType: "s3" | "cold" | "lite";
3086
3113
  size: bigint;
3087
3114
  md5: string;
3088
3115
  userAppUserId: string;
3089
3116
  userAppAppId: string;
3090
- storageType: "s3" | "lite";
3091
3117
  sizeEncrypted: bigint | null;
3092
3118
  md5Encrypted: string | null;
3093
3119
  validatedAt: Date | null;
@@ -3266,8 +3292,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3266
3292
  history: {
3267
3293
  createdAt: Date;
3268
3294
  dataId: string;
3295
+ storageType: "s3" | "cold" | "lite";
3269
3296
  size: bigint;
3270
- storageType: "s3" | "lite";
3271
3297
  }[];
3272
3298
  access: {
3273
3299
  appId: string;
@@ -3307,8 +3333,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3307
3333
  history: {
3308
3334
  createdAt: Date;
3309
3335
  dataId: string;
3336
+ storageType: "s3" | "cold" | "lite";
3310
3337
  size: bigint;
3311
- storageType: "s3" | "lite";
3312
3338
  }[];
3313
3339
  access: {
3314
3340
  appId: string;
@@ -3497,6 +3523,82 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3497
3523
  partSize: bigint;
3498
3524
  };
3499
3525
  }, unknown>;
3526
+ uploadColdData: _trpc_server.BuildProcedure<"mutation", {
3527
+ _config: _trpc_server.RootConfig<{
3528
+ ctx: {};
3529
+ meta: object;
3530
+ errorShape: {
3531
+ message: string;
3532
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3533
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
3534
+ } | {
3535
+ data: {
3536
+ zodError: zod.typeToFlattenedError<any, string> | null;
3537
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
3538
+ httpStatus: number;
3539
+ path?: string;
3540
+ stack?: string;
3541
+ };
3542
+ message: string;
3543
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3544
+ };
3545
+ transformer: typeof superjson.default;
3546
+ }>;
3547
+ _meta: object;
3548
+ _ctx_out: {};
3549
+ _input_in: {
3550
+ type: "encrypted";
3551
+ key: string;
3552
+ size: bigint;
3553
+ md5: string;
3554
+ sizeEncrypted: bigint;
3555
+ md5Encrypted: string;
3556
+ } | {
3557
+ type: "unencrypted";
3558
+ size: bigint;
3559
+ md5: string;
3560
+ };
3561
+ _input_out: {
3562
+ type: "encrypted";
3563
+ key: string;
3564
+ size: bigint;
3565
+ md5: string;
3566
+ sizeEncrypted: bigint;
3567
+ md5Encrypted: string;
3568
+ } | {
3569
+ type: "unencrypted";
3570
+ size: bigint;
3571
+ md5: string;
3572
+ };
3573
+ _output_in: {
3574
+ id: string;
3575
+ keyPair: {
3576
+ pub: string;
3577
+ encPriv: string;
3578
+ };
3579
+ key: string | null;
3580
+ parts: {
3581
+ fields: Record<string, string>;
3582
+ url: string;
3583
+ order: number;
3584
+ }[];
3585
+ partSize: bigint;
3586
+ };
3587
+ _output_out: {
3588
+ id: string;
3589
+ keyPair: {
3590
+ pub: string;
3591
+ encPriv: string;
3592
+ };
3593
+ key: string | null;
3594
+ parts: {
3595
+ fields: Record<string, string>;
3596
+ url: string;
3597
+ order: number;
3598
+ }[];
3599
+ partSize: bigint;
3600
+ };
3601
+ }, unknown>;
3500
3602
  uploadLiteData: _trpc_server.BuildProcedure<"mutation", {
3501
3603
  _config: _trpc_server.RootConfig<{
3502
3604
  ctx: {};
@@ -3678,11 +3780,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3678
3780
  current: {
3679
3781
  id: string;
3680
3782
  createdAt: Date;
3783
+ storageType: "s3" | "cold" | "lite";
3681
3784
  size: bigint;
3682
3785
  md5: string;
3683
3786
  userAppUserId: string;
3684
3787
  userAppAppId: string;
3685
- storageType: "s3" | "lite";
3686
3788
  sizeEncrypted: bigint | null;
3687
3789
  md5Encrypted: string | null;
3688
3790
  validatedAt: Date | null;
@@ -3694,11 +3796,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3694
3796
  history: {
3695
3797
  id: string;
3696
3798
  createdAt: Date;
3799
+ storageType: "s3" | "cold" | "lite";
3697
3800
  size: bigint;
3698
3801
  md5: string;
3699
3802
  userAppUserId: string;
3700
3803
  userAppAppId: string;
3701
- storageType: "s3" | "lite";
3702
3804
  sizeEncrypted: bigint | null;
3703
3805
  md5Encrypted: string | null;
3704
3806
  validatedAt: Date | null;
@@ -3823,11 +3925,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3823
3925
  current: {
3824
3926
  id: string;
3825
3927
  createdAt: Date;
3928
+ storageType: "s3" | "cold" | "lite";
3826
3929
  size: bigint;
3827
3930
  md5: string;
3828
3931
  userAppUserId: string;
3829
3932
  userAppAppId: string;
3830
- storageType: "s3" | "lite";
3831
3933
  sizeEncrypted: bigint | null;
3832
3934
  md5Encrypted: string | null;
3833
3935
  validatedAt: Date | null;
@@ -3839,11 +3941,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3839
3941
  history: {
3840
3942
  id: string;
3841
3943
  createdAt: Date;
3944
+ storageType: "s3" | "cold" | "lite";
3842
3945
  size: bigint;
3843
3946
  md5: string;
3844
3947
  userAppUserId: string;
3845
3948
  userAppAppId: string;
3846
- storageType: "s3" | "lite";
3847
3949
  sizeEncrypted: bigint | null;
3848
3950
  md5Encrypted: string | null;
3849
3951
  validatedAt: Date | null;
@@ -4464,11 +4566,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4464
4566
  current: {
4465
4567
  id: string;
4466
4568
  createdAt: Date;
4569
+ storageType: "s3" | "cold" | "lite";
4467
4570
  size: bigint;
4468
4571
  md5: string;
4469
4572
  userAppUserId: string;
4470
4573
  userAppAppId: string;
4471
- storageType: "s3" | "lite";
4472
4574
  sizeEncrypted: bigint | null;
4473
4575
  md5Encrypted: string | null;
4474
4576
  validatedAt: Date | null;
@@ -4480,11 +4582,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4480
4582
  history: {
4481
4583
  id: string;
4482
4584
  createdAt: Date;
4585
+ storageType: "s3" | "cold" | "lite";
4483
4586
  size: bigint;
4484
4587
  md5: string;
4485
4588
  userAppUserId: string;
4486
4589
  userAppAppId: string;
4487
- storageType: "s3" | "lite";
4488
4590
  sizeEncrypted: bigint | null;
4489
4591
  md5Encrypted: string | null;
4490
4592
  validatedAt: Date | null;
@@ -4609,11 +4711,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4609
4711
  current: {
4610
4712
  id: string;
4611
4713
  createdAt: Date;
4714
+ storageType: "s3" | "cold" | "lite";
4612
4715
  size: bigint;
4613
4716
  md5: string;
4614
4717
  userAppUserId: string;
4615
4718
  userAppAppId: string;
4616
- storageType: "s3" | "lite";
4617
4719
  sizeEncrypted: bigint | null;
4618
4720
  md5Encrypted: string | null;
4619
4721
  validatedAt: Date | null;
@@ -4625,11 +4727,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4625
4727
  history: {
4626
4728
  id: string;
4627
4729
  createdAt: Date;
4730
+ storageType: "s3" | "cold" | "lite";
4628
4731
  size: bigint;
4629
4732
  md5: string;
4630
4733
  userAppUserId: string;
4631
4734
  userAppAppId: string;
4632
- storageType: "s3" | "lite";
4633
4735
  sizeEncrypted: bigint | null;
4634
4736
  md5Encrypted: string | null;
4635
4737
  validatedAt: Date | null;
@@ -5230,11 +5332,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5230
5332
  current: {
5231
5333
  id: string;
5232
5334
  createdAt: Date;
5335
+ storageType: "s3" | "cold" | "lite";
5233
5336
  size: bigint;
5234
5337
  md5: string;
5235
5338
  userAppUserId: string;
5236
5339
  userAppAppId: string;
5237
- storageType: "s3" | "lite";
5238
5340
  sizeEncrypted: bigint | null;
5239
5341
  md5Encrypted: string | null;
5240
5342
  validatedAt: Date | null;
@@ -5246,11 +5348,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5246
5348
  history: {
5247
5349
  id: string;
5248
5350
  createdAt: Date;
5351
+ storageType: "s3" | "cold" | "lite";
5249
5352
  size: bigint;
5250
5353
  md5: string;
5251
5354
  userAppUserId: string;
5252
5355
  userAppAppId: string;
5253
- storageType: "s3" | "lite";
5254
5356
  sizeEncrypted: bigint | null;
5255
5357
  md5Encrypted: string | null;
5256
5358
  validatedAt: Date | null;
@@ -5375,11 +5477,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5375
5477
  current: {
5376
5478
  id: string;
5377
5479
  createdAt: Date;
5480
+ storageType: "s3" | "cold" | "lite";
5378
5481
  size: bigint;
5379
5482
  md5: string;
5380
5483
  userAppUserId: string;
5381
5484
  userAppAppId: string;
5382
- storageType: "s3" | "lite";
5383
5485
  sizeEncrypted: bigint | null;
5384
5486
  md5Encrypted: string | null;
5385
5487
  validatedAt: Date | null;
@@ -5391,11 +5493,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5391
5493
  history: {
5392
5494
  id: string;
5393
5495
  createdAt: Date;
5496
+ storageType: "s3" | "cold" | "lite";
5394
5497
  size: bigint;
5395
5498
  md5: string;
5396
5499
  userAppUserId: string;
5397
5500
  userAppAppId: string;
5398
- storageType: "s3" | "lite";
5399
5501
  sizeEncrypted: bigint | null;
5400
5502
  md5Encrypted: string | null;
5401
5503
  validatedAt: Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-many-data-contents-limits.2",
3
+ "version": "1.33.0-feat-s3-cold-storage.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"