@secrecy/trpc-api-types 1.33.0-feat-s3-cold-storage.3 → 1.33.0-feat-s3-cold-storage.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +50 -18
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2570,9 +2570,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2570
2570
|
id: string;
|
|
2571
2571
|
type: "received_mail";
|
|
2572
2572
|
key: string | null;
|
|
2573
|
+
storageType: "s3" | "cold" | "lite";
|
|
2574
|
+
size: bigint;
|
|
2573
2575
|
md5: string;
|
|
2576
|
+
sizeEncrypted: bigint | null;
|
|
2574
2577
|
md5Encrypted: string | null;
|
|
2575
|
-
totalSize: bigint;
|
|
2576
2578
|
senderPublicKey: string;
|
|
2577
2579
|
maybeParts: {
|
|
2578
2580
|
md5: string;
|
|
@@ -2584,9 +2586,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2584
2586
|
id: string;
|
|
2585
2587
|
type: "sent_mail";
|
|
2586
2588
|
key: string | null;
|
|
2589
|
+
storageType: "s3" | "cold" | "lite";
|
|
2590
|
+
size: bigint;
|
|
2587
2591
|
md5: string;
|
|
2592
|
+
sizeEncrypted: bigint | null;
|
|
2588
2593
|
md5Encrypted: string | null;
|
|
2589
|
-
totalSize: bigint;
|
|
2590
2594
|
maybeParts: {
|
|
2591
2595
|
md5: string;
|
|
2592
2596
|
order: number;
|
|
@@ -2597,7 +2601,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2597
2601
|
id: string;
|
|
2598
2602
|
type: "cloud";
|
|
2599
2603
|
key: string | null;
|
|
2604
|
+
storageType: "s3" | "cold";
|
|
2605
|
+
size: bigint;
|
|
2600
2606
|
md5: string;
|
|
2607
|
+
sizeEncrypted: bigint | null;
|
|
2601
2608
|
md5Encrypted: string | null;
|
|
2602
2609
|
parts: {
|
|
2603
2610
|
md5: string;
|
|
@@ -2605,24 +2612,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2605
2612
|
contentUrl: string;
|
|
2606
2613
|
}[];
|
|
2607
2614
|
publicKey: string;
|
|
2608
|
-
totalSize: bigint;
|
|
2609
2615
|
} | {
|
|
2610
2616
|
id: string;
|
|
2611
2617
|
type: "lite";
|
|
2612
2618
|
key: string | null;
|
|
2619
|
+
storageType: "lite";
|
|
2620
|
+
size: bigint;
|
|
2613
2621
|
md5: string;
|
|
2622
|
+
sizeEncrypted: bigint | null;
|
|
2614
2623
|
md5Encrypted: string | null;
|
|
2615
2624
|
content: Buffer;
|
|
2616
2625
|
publicKey: string;
|
|
2617
|
-
totalSize: bigint;
|
|
2618
2626
|
};
|
|
2619
2627
|
_output_out: {
|
|
2620
2628
|
id: string;
|
|
2621
2629
|
type: "received_mail";
|
|
2622
2630
|
key: string | null;
|
|
2631
|
+
storageType: "s3" | "cold" | "lite";
|
|
2632
|
+
size: bigint;
|
|
2623
2633
|
md5: string;
|
|
2634
|
+
sizeEncrypted: bigint | null;
|
|
2624
2635
|
md5Encrypted: string | null;
|
|
2625
|
-
totalSize: bigint;
|
|
2626
2636
|
senderPublicKey: string;
|
|
2627
2637
|
maybeParts: {
|
|
2628
2638
|
md5: string;
|
|
@@ -2634,9 +2644,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2634
2644
|
id: string;
|
|
2635
2645
|
type: "sent_mail";
|
|
2636
2646
|
key: string | null;
|
|
2647
|
+
storageType: "s3" | "cold" | "lite";
|
|
2648
|
+
size: bigint;
|
|
2637
2649
|
md5: string;
|
|
2650
|
+
sizeEncrypted: bigint | null;
|
|
2638
2651
|
md5Encrypted: string | null;
|
|
2639
|
-
totalSize: bigint;
|
|
2640
2652
|
maybeParts: {
|
|
2641
2653
|
md5: string;
|
|
2642
2654
|
order: number;
|
|
@@ -2647,7 +2659,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2647
2659
|
id: string;
|
|
2648
2660
|
type: "cloud";
|
|
2649
2661
|
key: string | null;
|
|
2662
|
+
storageType: "s3" | "cold";
|
|
2663
|
+
size: bigint;
|
|
2650
2664
|
md5: string;
|
|
2665
|
+
sizeEncrypted: bigint | null;
|
|
2651
2666
|
md5Encrypted: string | null;
|
|
2652
2667
|
parts: {
|
|
2653
2668
|
md5: string;
|
|
@@ -2655,16 +2670,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2655
2670
|
contentUrl: string;
|
|
2656
2671
|
}[];
|
|
2657
2672
|
publicKey: string;
|
|
2658
|
-
totalSize: bigint;
|
|
2659
2673
|
} | {
|
|
2660
2674
|
id: string;
|
|
2661
2675
|
type: "lite";
|
|
2662
2676
|
key: string | null;
|
|
2677
|
+
storageType: "lite";
|
|
2678
|
+
size: bigint;
|
|
2663
2679
|
md5: string;
|
|
2680
|
+
sizeEncrypted: bigint | null;
|
|
2664
2681
|
md5Encrypted: string | null;
|
|
2665
2682
|
content: Buffer;
|
|
2666
2683
|
publicKey: string;
|
|
2667
|
-
totalSize: bigint;
|
|
2668
2684
|
};
|
|
2669
2685
|
}, unknown>;
|
|
2670
2686
|
dataContentByIds: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2700,9 +2716,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2700
2716
|
id: string;
|
|
2701
2717
|
type: "received_mail";
|
|
2702
2718
|
key: string | null;
|
|
2719
|
+
storageType: "s3" | "cold" | "lite";
|
|
2720
|
+
size: bigint;
|
|
2703
2721
|
md5: string;
|
|
2722
|
+
sizeEncrypted: bigint | null;
|
|
2704
2723
|
md5Encrypted: string | null;
|
|
2705
|
-
totalSize: bigint;
|
|
2706
2724
|
senderPublicKey: string;
|
|
2707
2725
|
maybeParts: {
|
|
2708
2726
|
md5: string;
|
|
@@ -2714,9 +2732,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2714
2732
|
id: string;
|
|
2715
2733
|
type: "sent_mail";
|
|
2716
2734
|
key: string | null;
|
|
2735
|
+
storageType: "s3" | "cold" | "lite";
|
|
2736
|
+
size: bigint;
|
|
2717
2737
|
md5: string;
|
|
2738
|
+
sizeEncrypted: bigint | null;
|
|
2718
2739
|
md5Encrypted: string | null;
|
|
2719
|
-
totalSize: bigint;
|
|
2720
2740
|
maybeParts: {
|
|
2721
2741
|
md5: string;
|
|
2722
2742
|
order: number;
|
|
@@ -2727,7 +2747,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2727
2747
|
id: string;
|
|
2728
2748
|
type: "cloud";
|
|
2729
2749
|
key: string | null;
|
|
2750
|
+
storageType: "s3" | "cold";
|
|
2751
|
+
size: bigint;
|
|
2730
2752
|
md5: string;
|
|
2753
|
+
sizeEncrypted: bigint | null;
|
|
2731
2754
|
md5Encrypted: string | null;
|
|
2732
2755
|
parts: {
|
|
2733
2756
|
md5: string;
|
|
@@ -2735,24 +2758,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2735
2758
|
contentUrl: string;
|
|
2736
2759
|
}[];
|
|
2737
2760
|
publicKey: string;
|
|
2738
|
-
totalSize: bigint;
|
|
2739
2761
|
} | {
|
|
2740
2762
|
id: string;
|
|
2741
2763
|
type: "lite";
|
|
2742
2764
|
key: string | null;
|
|
2765
|
+
storageType: "lite";
|
|
2766
|
+
size: bigint;
|
|
2743
2767
|
md5: string;
|
|
2768
|
+
sizeEncrypted: bigint | null;
|
|
2744
2769
|
md5Encrypted: string | null;
|
|
2745
2770
|
content: Buffer;
|
|
2746
2771
|
publicKey: string;
|
|
2747
|
-
totalSize: bigint;
|
|
2748
2772
|
})[];
|
|
2749
2773
|
_output_out: ({
|
|
2750
2774
|
id: string;
|
|
2751
2775
|
type: "received_mail";
|
|
2752
2776
|
key: string | null;
|
|
2777
|
+
storageType: "s3" | "cold" | "lite";
|
|
2778
|
+
size: bigint;
|
|
2753
2779
|
md5: string;
|
|
2780
|
+
sizeEncrypted: bigint | null;
|
|
2754
2781
|
md5Encrypted: string | null;
|
|
2755
|
-
totalSize: bigint;
|
|
2756
2782
|
senderPublicKey: string;
|
|
2757
2783
|
maybeParts: {
|
|
2758
2784
|
md5: string;
|
|
@@ -2764,9 +2790,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2764
2790
|
id: string;
|
|
2765
2791
|
type: "sent_mail";
|
|
2766
2792
|
key: string | null;
|
|
2793
|
+
storageType: "s3" | "cold" | "lite";
|
|
2794
|
+
size: bigint;
|
|
2767
2795
|
md5: string;
|
|
2796
|
+
sizeEncrypted: bigint | null;
|
|
2768
2797
|
md5Encrypted: string | null;
|
|
2769
|
-
totalSize: bigint;
|
|
2770
2798
|
maybeParts: {
|
|
2771
2799
|
md5: string;
|
|
2772
2800
|
order: number;
|
|
@@ -2777,7 +2805,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2777
2805
|
id: string;
|
|
2778
2806
|
type: "cloud";
|
|
2779
2807
|
key: string | null;
|
|
2808
|
+
storageType: "s3" | "cold";
|
|
2809
|
+
size: bigint;
|
|
2780
2810
|
md5: string;
|
|
2811
|
+
sizeEncrypted: bigint | null;
|
|
2781
2812
|
md5Encrypted: string | null;
|
|
2782
2813
|
parts: {
|
|
2783
2814
|
md5: string;
|
|
@@ -2785,16 +2816,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2785
2816
|
contentUrl: string;
|
|
2786
2817
|
}[];
|
|
2787
2818
|
publicKey: string;
|
|
2788
|
-
totalSize: bigint;
|
|
2789
2819
|
} | {
|
|
2790
2820
|
id: string;
|
|
2791
2821
|
type: "lite";
|
|
2792
2822
|
key: string | null;
|
|
2823
|
+
storageType: "lite";
|
|
2824
|
+
size: bigint;
|
|
2793
2825
|
md5: string;
|
|
2826
|
+
sizeEncrypted: bigint | null;
|
|
2794
2827
|
md5Encrypted: string | null;
|
|
2795
2828
|
content: Buffer;
|
|
2796
2829
|
publicKey: string;
|
|
2797
|
-
totalSize: bigint;
|
|
2798
2830
|
})[];
|
|
2799
2831
|
}, unknown>;
|
|
2800
2832
|
dataSharedWithMe: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3299,7 +3331,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3299
3331
|
appId: string;
|
|
3300
3332
|
nameKey: string;
|
|
3301
3333
|
};
|
|
3302
|
-
totalSize: bigint;
|
|
3303
3334
|
breadcrumb: {
|
|
3304
3335
|
name: string;
|
|
3305
3336
|
id: string;
|
|
@@ -3307,6 +3338,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3307
3338
|
pubKey: string;
|
|
3308
3339
|
}[];
|
|
3309
3340
|
sharedCount: number;
|
|
3341
|
+
totalSize: bigint;
|
|
3310
3342
|
}[];
|
|
3311
3343
|
};
|
|
3312
3344
|
pagination: {
|
|
@@ -3340,7 +3372,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3340
3372
|
appId: string;
|
|
3341
3373
|
nameKey: string;
|
|
3342
3374
|
};
|
|
3343
|
-
totalSize: bigint;
|
|
3344
3375
|
breadcrumb: {
|
|
3345
3376
|
name: string;
|
|
3346
3377
|
id: string;
|
|
@@ -3348,6 +3379,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3348
3379
|
pubKey: string;
|
|
3349
3380
|
}[];
|
|
3350
3381
|
sharedCount: number;
|
|
3382
|
+
totalSize: bigint;
|
|
3351
3383
|
}[];
|
|
3352
3384
|
};
|
|
3353
3385
|
pagination: {
|