@secrecy/trpc-api-types 1.42.0-dev.1 → 1.42.0-feat-delete-complete-account.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.
- package/dist/index.d.ts +33 -23
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,16 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
63
63
|
};
|
|
64
64
|
meta: any;
|
|
65
65
|
}>;
|
|
66
|
+
delete: _trpc_server.TRPCMutationProcedure<{
|
|
67
|
+
input: Record<string, never>;
|
|
68
|
+
output: {
|
|
69
|
+
isDeleted: true;
|
|
70
|
+
} | {
|
|
71
|
+
isDeleted: false;
|
|
72
|
+
reason: string;
|
|
73
|
+
};
|
|
74
|
+
meta: any;
|
|
75
|
+
}>;
|
|
66
76
|
getUsers: _trpc_server.TRPCQueryProcedure<{
|
|
67
77
|
input: Record<string, never>;
|
|
68
78
|
output: {
|
|
@@ -1106,8 +1116,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1106
1116
|
createdAt: Date;
|
|
1107
1117
|
deletedAt: Date | null;
|
|
1108
1118
|
name: string;
|
|
1109
|
-
type: "FILE" | "FOLDER";
|
|
1110
1119
|
updatedAt: Date;
|
|
1120
|
+
type: "FILE" | "FOLDER";
|
|
1111
1121
|
isFavorite: boolean;
|
|
1112
1122
|
parentId: string | null;
|
|
1113
1123
|
currentDataId: string | null;
|
|
@@ -1160,8 +1170,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1160
1170
|
createdAt: Date;
|
|
1161
1171
|
deletedAt: Date | null;
|
|
1162
1172
|
name: string;
|
|
1163
|
-
type: "FILE" | "FOLDER";
|
|
1164
1173
|
updatedAt: Date;
|
|
1174
|
+
type: "FILE" | "FOLDER";
|
|
1165
1175
|
isFavorite: boolean;
|
|
1166
1176
|
parentId: string | null;
|
|
1167
1177
|
currentDataId: string | null;
|
|
@@ -1209,8 +1219,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1209
1219
|
createdAt: Date;
|
|
1210
1220
|
deletedAt: Date | null;
|
|
1211
1221
|
name: string;
|
|
1212
|
-
type: "FILE" | "FOLDER";
|
|
1213
1222
|
updatedAt: Date;
|
|
1223
|
+
type: "FILE" | "FOLDER";
|
|
1214
1224
|
isFavorite: boolean;
|
|
1215
1225
|
parentId: string | null;
|
|
1216
1226
|
currentDataId: string | null;
|
|
@@ -1547,8 +1557,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1547
1557
|
createdAt: Date;
|
|
1548
1558
|
deletedAt: Date | null;
|
|
1549
1559
|
name: string;
|
|
1550
|
-
type: "FILE" | "FOLDER";
|
|
1551
1560
|
updatedAt: Date;
|
|
1561
|
+
type: "FILE" | "FOLDER";
|
|
1552
1562
|
isFavorite: boolean;
|
|
1553
1563
|
parentId: string | null;
|
|
1554
1564
|
currentDataId: string | null;
|
|
@@ -1601,8 +1611,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1601
1611
|
createdAt: Date;
|
|
1602
1612
|
deletedAt: Date | null;
|
|
1603
1613
|
name: string;
|
|
1604
|
-
type: "FILE" | "FOLDER";
|
|
1605
1614
|
updatedAt: Date;
|
|
1615
|
+
type: "FILE" | "FOLDER";
|
|
1606
1616
|
isFavorite: boolean;
|
|
1607
1617
|
parentId: string | null;
|
|
1608
1618
|
currentDataId: string | null;
|
|
@@ -1650,8 +1660,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1650
1660
|
createdAt: Date;
|
|
1651
1661
|
deletedAt: Date | null;
|
|
1652
1662
|
name: string;
|
|
1653
|
-
type: "FILE" | "FOLDER";
|
|
1654
1663
|
updatedAt: Date;
|
|
1664
|
+
type: "FILE" | "FOLDER";
|
|
1655
1665
|
isFavorite: boolean;
|
|
1656
1666
|
parentId: string | null;
|
|
1657
1667
|
currentDataId: string | null;
|
|
@@ -2162,8 +2172,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2162
2172
|
createdAt: Date;
|
|
2163
2173
|
deletedAt: Date | null;
|
|
2164
2174
|
name: string;
|
|
2165
|
-
type: "FILE" | "FOLDER";
|
|
2166
2175
|
updatedAt: Date;
|
|
2176
|
+
type: "FILE" | "FOLDER";
|
|
2167
2177
|
isFavorite: boolean;
|
|
2168
2178
|
parentId: string | null;
|
|
2169
2179
|
currentDataId: string | null;
|
|
@@ -2216,8 +2226,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2216
2226
|
createdAt: Date;
|
|
2217
2227
|
deletedAt: Date | null;
|
|
2218
2228
|
name: string;
|
|
2219
|
-
type: "FILE" | "FOLDER";
|
|
2220
2229
|
updatedAt: Date;
|
|
2230
|
+
type: "FILE" | "FOLDER";
|
|
2221
2231
|
isFavorite: boolean;
|
|
2222
2232
|
parentId: string | null;
|
|
2223
2233
|
currentDataId: string | null;
|
|
@@ -2265,8 +2275,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2265
2275
|
createdAt: Date;
|
|
2266
2276
|
deletedAt: Date | null;
|
|
2267
2277
|
name: string;
|
|
2268
|
-
type: "FILE" | "FOLDER";
|
|
2269
2278
|
updatedAt: Date;
|
|
2279
|
+
type: "FILE" | "FOLDER";
|
|
2270
2280
|
isFavorite: boolean;
|
|
2271
2281
|
parentId: string | null;
|
|
2272
2282
|
currentDataId: string | null;
|
|
@@ -2504,8 +2514,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2504
2514
|
createdAt: Date;
|
|
2505
2515
|
deletedAt: Date | null;
|
|
2506
2516
|
name: string;
|
|
2507
|
-
type: "FILE" | "FOLDER";
|
|
2508
2517
|
updatedAt: Date;
|
|
2518
|
+
type: "FILE" | "FOLDER";
|
|
2509
2519
|
isFavorite: boolean;
|
|
2510
2520
|
parentId: string | null;
|
|
2511
2521
|
currentDataId: string | null;
|
|
@@ -2568,8 +2578,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2568
2578
|
createdAt: Date;
|
|
2569
2579
|
deletedAt: Date | null;
|
|
2570
2580
|
name: string;
|
|
2571
|
-
type: "FILE" | "FOLDER";
|
|
2572
2581
|
updatedAt: Date;
|
|
2582
|
+
type: "FILE" | "FOLDER";
|
|
2573
2583
|
isFavorite: boolean;
|
|
2574
2584
|
parentId: string | null;
|
|
2575
2585
|
currentDataId: string | null;
|
|
@@ -2633,8 +2643,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2633
2643
|
createdAt: Date;
|
|
2634
2644
|
deletedAt: Date | null;
|
|
2635
2645
|
name: string;
|
|
2636
|
-
type: "FILE" | "FOLDER";
|
|
2637
2646
|
updatedAt: Date;
|
|
2647
|
+
type: "FILE" | "FOLDER";
|
|
2638
2648
|
isFavorite: boolean;
|
|
2639
2649
|
parentId: string | null;
|
|
2640
2650
|
currentDataId: string | null;
|
|
@@ -2687,8 +2697,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2687
2697
|
createdAt: Date;
|
|
2688
2698
|
deletedAt: Date | null;
|
|
2689
2699
|
name: string;
|
|
2690
|
-
type: "FILE" | "FOLDER";
|
|
2691
2700
|
updatedAt: Date;
|
|
2701
|
+
type: "FILE" | "FOLDER";
|
|
2692
2702
|
isFavorite: boolean;
|
|
2693
2703
|
parentId: string | null;
|
|
2694
2704
|
currentDataId: string | null;
|
|
@@ -2736,8 +2746,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2736
2746
|
createdAt: Date;
|
|
2737
2747
|
deletedAt: Date | null;
|
|
2738
2748
|
name: string;
|
|
2739
|
-
type: "FILE" | "FOLDER";
|
|
2740
2749
|
updatedAt: Date;
|
|
2750
|
+
type: "FILE" | "FOLDER";
|
|
2741
2751
|
isFavorite: boolean;
|
|
2742
2752
|
parentId: string | null;
|
|
2743
2753
|
currentDataId: string | null;
|
|
@@ -2852,8 +2862,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2852
2862
|
createdAt: Date;
|
|
2853
2863
|
deletedAt: Date | null;
|
|
2854
2864
|
name: string;
|
|
2855
|
-
type: "FILE" | "FOLDER";
|
|
2856
2865
|
updatedAt: Date;
|
|
2866
|
+
type: "FILE" | "FOLDER";
|
|
2857
2867
|
isFavorite: boolean;
|
|
2858
2868
|
parentId: string | null;
|
|
2859
2869
|
currentDataId: string | null;
|
|
@@ -2906,8 +2916,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2906
2916
|
createdAt: Date;
|
|
2907
2917
|
deletedAt: Date | null;
|
|
2908
2918
|
name: string;
|
|
2909
|
-
type: "FILE" | "FOLDER";
|
|
2910
2919
|
updatedAt: Date;
|
|
2920
|
+
type: "FILE" | "FOLDER";
|
|
2911
2921
|
isFavorite: boolean;
|
|
2912
2922
|
parentId: string | null;
|
|
2913
2923
|
currentDataId: string | null;
|
|
@@ -2955,8 +2965,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2955
2965
|
createdAt: Date;
|
|
2956
2966
|
deletedAt: Date | null;
|
|
2957
2967
|
name: string;
|
|
2958
|
-
type: "FILE" | "FOLDER";
|
|
2959
2968
|
updatedAt: Date;
|
|
2969
|
+
type: "FILE" | "FOLDER";
|
|
2960
2970
|
isFavorite: boolean;
|
|
2961
2971
|
parentId: string | null;
|
|
2962
2972
|
currentDataId: string | null;
|
|
@@ -3108,8 +3118,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3108
3118
|
createdAt: Date;
|
|
3109
3119
|
deletedAt: Date | null;
|
|
3110
3120
|
name: string;
|
|
3111
|
-
type: "FILE" | "FOLDER";
|
|
3112
3121
|
updatedAt: Date;
|
|
3122
|
+
type: "FILE" | "FOLDER";
|
|
3113
3123
|
isFavorite: boolean;
|
|
3114
3124
|
parentId: string | null;
|
|
3115
3125
|
currentDataId: string | null;
|
|
@@ -3165,8 +3175,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3165
3175
|
createdAt: Date;
|
|
3166
3176
|
deletedAt: Date | null;
|
|
3167
3177
|
name: string;
|
|
3168
|
-
type: "FILE" | "FOLDER";
|
|
3169
3178
|
updatedAt: Date;
|
|
3179
|
+
type: "FILE" | "FOLDER";
|
|
3170
3180
|
isFavorite: boolean;
|
|
3171
3181
|
parentId: string | null;
|
|
3172
3182
|
currentDataId: string | null;
|
|
@@ -3221,8 +3231,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3221
3231
|
createdAt: Date;
|
|
3222
3232
|
deletedAt: Date | null;
|
|
3223
3233
|
name: string;
|
|
3224
|
-
type: "FILE" | "FOLDER";
|
|
3225
3234
|
updatedAt: Date;
|
|
3235
|
+
type: "FILE" | "FOLDER";
|
|
3226
3236
|
isFavorite: boolean;
|
|
3227
3237
|
parentId: string | null;
|
|
3228
3238
|
currentDataId: string | null;
|
|
@@ -3412,8 +3422,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3412
3422
|
createdAt: Date;
|
|
3413
3423
|
deletedAt: Date | null;
|
|
3414
3424
|
name: string;
|
|
3415
|
-
type: "FILE" | "FOLDER";
|
|
3416
3425
|
updatedAt: Date;
|
|
3426
|
+
type: "FILE" | "FOLDER";
|
|
3417
3427
|
isFavorite: boolean;
|
|
3418
3428
|
parentId: string | null;
|
|
3419
3429
|
currentDataId: string | null;
|
|
@@ -3466,8 +3476,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3466
3476
|
createdAt: Date;
|
|
3467
3477
|
deletedAt: Date | null;
|
|
3468
3478
|
name: string;
|
|
3469
|
-
type: "FILE" | "FOLDER";
|
|
3470
3479
|
updatedAt: Date;
|
|
3480
|
+
type: "FILE" | "FOLDER";
|
|
3471
3481
|
isFavorite: boolean;
|
|
3472
3482
|
parentId: string | null;
|
|
3473
3483
|
currentDataId: string | null;
|
|
@@ -3515,8 +3525,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3515
3525
|
createdAt: Date;
|
|
3516
3526
|
deletedAt: Date | null;
|
|
3517
3527
|
name: string;
|
|
3518
|
-
type: "FILE" | "FOLDER";
|
|
3519
3528
|
updatedAt: Date;
|
|
3529
|
+
type: "FILE" | "FOLDER";
|
|
3520
3530
|
isFavorite: boolean;
|
|
3521
3531
|
parentId: string | null;
|
|
3522
3532
|
currentDataId: string | null;
|