@secrecy/trpc-api-types 1.33.0-feat-next15.9 → 1.33.0-feat-next15.10
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 +29 -29
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -675,8 +675,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
675
675
|
}>;
|
|
676
676
|
resendCode: _trpc_server.TRPCMutationProcedure<{
|
|
677
677
|
input: {
|
|
678
|
-
type:
|
|
679
|
-
codeType:
|
|
678
|
+
type: "reset-password" | "sign-up";
|
|
679
|
+
codeType: "email" | "sms";
|
|
680
680
|
email: string;
|
|
681
681
|
phone: string;
|
|
682
682
|
};
|
|
@@ -695,7 +695,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
695
695
|
}>;
|
|
696
696
|
sendCodes: _trpc_server.TRPCMutationProcedure<{
|
|
697
697
|
input: {
|
|
698
|
-
type:
|
|
698
|
+
type: "reset-password" | "sign-up";
|
|
699
699
|
smsCode: string;
|
|
700
700
|
emailCode: string;
|
|
701
701
|
godFather?: string | undefined;
|
|
@@ -972,11 +972,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
972
972
|
nodeId: string;
|
|
973
973
|
};
|
|
974
974
|
output: {
|
|
975
|
-
type: "FILE" | "FOLDER";
|
|
976
975
|
id: string;
|
|
977
976
|
createdAt: Date;
|
|
978
977
|
deletedAt: Date | null;
|
|
979
978
|
name: string;
|
|
979
|
+
type: "FILE" | "FOLDER";
|
|
980
980
|
updatedAt: Date;
|
|
981
981
|
isFavorite: boolean;
|
|
982
982
|
parentId: string | null;
|
|
@@ -1020,11 +1020,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1020
1020
|
};
|
|
1021
1021
|
} & {
|
|
1022
1022
|
parent: ({
|
|
1023
|
-
type: "FILE" | "FOLDER";
|
|
1024
1023
|
id: string;
|
|
1025
1024
|
createdAt: Date;
|
|
1026
1025
|
deletedAt: Date | null;
|
|
1027
1026
|
name: string;
|
|
1027
|
+
type: "FILE" | "FOLDER";
|
|
1028
1028
|
updatedAt: Date;
|
|
1029
1029
|
isFavorite: boolean;
|
|
1030
1030
|
parentId: string | null;
|
|
@@ -1063,11 +1063,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1063
1063
|
}][];
|
|
1064
1064
|
}) | null;
|
|
1065
1065
|
children: ({
|
|
1066
|
-
type: "FILE" | "FOLDER";
|
|
1067
1066
|
id: string;
|
|
1068
1067
|
createdAt: Date;
|
|
1069
1068
|
deletedAt: Date | null;
|
|
1070
1069
|
name: string;
|
|
1070
|
+
type: "FILE" | "FOLDER";
|
|
1071
1071
|
updatedAt: Date;
|
|
1072
1072
|
isFavorite: boolean;
|
|
1073
1073
|
parentId: string | null;
|
|
@@ -1369,11 +1369,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1369
1369
|
nameKey: string;
|
|
1370
1370
|
};
|
|
1371
1371
|
output: {
|
|
1372
|
-
type: "FILE" | "FOLDER";
|
|
1373
1372
|
id: string;
|
|
1374
1373
|
createdAt: Date;
|
|
1375
1374
|
deletedAt: Date | null;
|
|
1376
1375
|
name: string;
|
|
1376
|
+
type: "FILE" | "FOLDER";
|
|
1377
1377
|
updatedAt: Date;
|
|
1378
1378
|
isFavorite: boolean;
|
|
1379
1379
|
parentId: string | null;
|
|
@@ -1417,11 +1417,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1417
1417
|
};
|
|
1418
1418
|
} & {
|
|
1419
1419
|
parent: ({
|
|
1420
|
-
type: "FILE" | "FOLDER";
|
|
1421
1420
|
id: string;
|
|
1422
1421
|
createdAt: Date;
|
|
1423
1422
|
deletedAt: Date | null;
|
|
1424
1423
|
name: string;
|
|
1424
|
+
type: "FILE" | "FOLDER";
|
|
1425
1425
|
updatedAt: Date;
|
|
1426
1426
|
isFavorite: boolean;
|
|
1427
1427
|
parentId: string | null;
|
|
@@ -1460,11 +1460,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1460
1460
|
}][];
|
|
1461
1461
|
}) | null;
|
|
1462
1462
|
children: ({
|
|
1463
|
-
type: "FILE" | "FOLDER";
|
|
1464
1463
|
id: string;
|
|
1465
1464
|
createdAt: Date;
|
|
1466
1465
|
deletedAt: Date | null;
|
|
1467
1466
|
name: string;
|
|
1467
|
+
type: "FILE" | "FOLDER";
|
|
1468
1468
|
updatedAt: Date;
|
|
1469
1469
|
isFavorite: boolean;
|
|
1470
1470
|
parentId: string | null;
|
|
@@ -1896,11 +1896,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1896
1896
|
parentId: string | null;
|
|
1897
1897
|
};
|
|
1898
1898
|
output: {
|
|
1899
|
-
type: "FILE" | "FOLDER";
|
|
1900
1899
|
id: string;
|
|
1901
1900
|
createdAt: Date;
|
|
1902
1901
|
deletedAt: Date | null;
|
|
1903
1902
|
name: string;
|
|
1903
|
+
type: "FILE" | "FOLDER";
|
|
1904
1904
|
updatedAt: Date;
|
|
1905
1905
|
isFavorite: boolean;
|
|
1906
1906
|
parentId: string | null;
|
|
@@ -1944,11 +1944,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1944
1944
|
};
|
|
1945
1945
|
} & {
|
|
1946
1946
|
parent: ({
|
|
1947
|
-
type: "FILE" | "FOLDER";
|
|
1948
1947
|
id: string;
|
|
1949
1948
|
createdAt: Date;
|
|
1950
1949
|
deletedAt: Date | null;
|
|
1951
1950
|
name: string;
|
|
1951
|
+
type: "FILE" | "FOLDER";
|
|
1952
1952
|
updatedAt: Date;
|
|
1953
1953
|
isFavorite: boolean;
|
|
1954
1954
|
parentId: string | null;
|
|
@@ -1987,11 +1987,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1987
1987
|
}][];
|
|
1988
1988
|
}) | null;
|
|
1989
1989
|
children: ({
|
|
1990
|
-
type: "FILE" | "FOLDER";
|
|
1991
1990
|
id: string;
|
|
1992
1991
|
createdAt: Date;
|
|
1993
1992
|
deletedAt: Date | null;
|
|
1994
1993
|
name: string;
|
|
1994
|
+
type: "FILE" | "FOLDER";
|
|
1995
1995
|
updatedAt: Date;
|
|
1996
1996
|
isFavorite: boolean;
|
|
1997
1997
|
parentId: string | null;
|
|
@@ -2192,11 +2192,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2192
2192
|
deleted?: boolean | null | undefined;
|
|
2193
2193
|
};
|
|
2194
2194
|
output: {
|
|
2195
|
-
type: "FILE" | "FOLDER";
|
|
2196
2195
|
id: string;
|
|
2197
2196
|
createdAt: Date;
|
|
2198
2197
|
deletedAt: Date | null;
|
|
2199
2198
|
name: string;
|
|
2199
|
+
type: "FILE" | "FOLDER";
|
|
2200
2200
|
updatedAt: Date;
|
|
2201
2201
|
isFavorite: boolean;
|
|
2202
2202
|
parentId: string | null;
|
|
@@ -2247,11 +2247,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2247
2247
|
deleted?: boolean | null | undefined;
|
|
2248
2248
|
};
|
|
2249
2249
|
output: {
|
|
2250
|
-
type: "FILE" | "FOLDER";
|
|
2251
2250
|
id: string;
|
|
2252
2251
|
createdAt: Date;
|
|
2253
2252
|
deletedAt: Date | null;
|
|
2254
2253
|
name: string;
|
|
2254
|
+
type: "FILE" | "FOLDER";
|
|
2255
2255
|
updatedAt: Date;
|
|
2256
2256
|
isFavorite: boolean;
|
|
2257
2257
|
parentId: string | null;
|
|
@@ -2295,11 +2295,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2295
2295
|
};
|
|
2296
2296
|
} & {
|
|
2297
2297
|
parent: ({
|
|
2298
|
-
type: "FILE" | "FOLDER";
|
|
2299
2298
|
id: string;
|
|
2300
2299
|
createdAt: Date;
|
|
2301
2300
|
deletedAt: Date | null;
|
|
2302
2301
|
name: string;
|
|
2302
|
+
type: "FILE" | "FOLDER";
|
|
2303
2303
|
updatedAt: Date;
|
|
2304
2304
|
isFavorite: boolean;
|
|
2305
2305
|
parentId: string | null;
|
|
@@ -2338,11 +2338,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2338
2338
|
}][];
|
|
2339
2339
|
}) | null;
|
|
2340
2340
|
children: ({
|
|
2341
|
-
type: "FILE" | "FOLDER";
|
|
2342
2341
|
id: string;
|
|
2343
2342
|
createdAt: Date;
|
|
2344
2343
|
deletedAt: Date | null;
|
|
2345
2344
|
name: string;
|
|
2345
|
+
type: "FILE" | "FOLDER";
|
|
2346
2346
|
updatedAt: Date;
|
|
2347
2347
|
isFavorite: boolean;
|
|
2348
2348
|
parentId: string | null;
|
|
@@ -2469,11 +2469,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2469
2469
|
nodesDeleted: _trpc_server.TRPCQueryProcedure<{
|
|
2470
2470
|
input: Record<string, never>;
|
|
2471
2471
|
output: ({
|
|
2472
|
-
type: "FILE" | "FOLDER";
|
|
2473
2472
|
id: string;
|
|
2474
2473
|
createdAt: Date;
|
|
2475
2474
|
deletedAt: Date | null;
|
|
2476
2475
|
name: string;
|
|
2476
|
+
type: "FILE" | "FOLDER";
|
|
2477
2477
|
updatedAt: Date;
|
|
2478
2478
|
isFavorite: boolean;
|
|
2479
2479
|
parentId: string | null;
|
|
@@ -2518,11 +2518,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2518
2518
|
type: "FILE" | "FOLDER";
|
|
2519
2519
|
};
|
|
2520
2520
|
output: ({
|
|
2521
|
-
type: "FILE" | "FOLDER";
|
|
2522
2521
|
id: string;
|
|
2523
2522
|
createdAt: Date;
|
|
2524
2523
|
deletedAt: Date | null;
|
|
2525
2524
|
name: string;
|
|
2525
|
+
type: "FILE" | "FOLDER";
|
|
2526
2526
|
updatedAt: Date;
|
|
2527
2527
|
isFavorite: boolean;
|
|
2528
2528
|
parentId: string | null;
|
|
@@ -2565,11 +2565,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2565
2565
|
nodesShared: _trpc_server.TRPCQueryProcedure<{
|
|
2566
2566
|
input: void;
|
|
2567
2567
|
output: ({
|
|
2568
|
-
type: "FILE" | "FOLDER";
|
|
2569
2568
|
id: string;
|
|
2570
2569
|
createdAt: Date;
|
|
2571
2570
|
deletedAt: Date | null;
|
|
2572
2571
|
name: string;
|
|
2572
|
+
type: "FILE" | "FOLDER";
|
|
2573
2573
|
updatedAt: Date;
|
|
2574
2574
|
isFavorite: boolean;
|
|
2575
2575
|
parentId: string | null;
|
|
@@ -2731,11 +2731,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2731
2731
|
deletedAt: Date | null;
|
|
2732
2732
|
};
|
|
2733
2733
|
output: {
|
|
2734
|
-
type: "FILE" | "FOLDER";
|
|
2735
2734
|
id: string;
|
|
2736
2735
|
createdAt: Date;
|
|
2737
2736
|
deletedAt: Date | null;
|
|
2738
2737
|
name: string;
|
|
2738
|
+
type: "FILE" | "FOLDER";
|
|
2739
2739
|
updatedAt: Date;
|
|
2740
2740
|
isFavorite: boolean;
|
|
2741
2741
|
parentId: string | null;
|
|
@@ -2779,11 +2779,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2779
2779
|
};
|
|
2780
2780
|
} & {
|
|
2781
2781
|
parent: ({
|
|
2782
|
-
type: "FILE" | "FOLDER";
|
|
2783
2782
|
id: string;
|
|
2784
2783
|
createdAt: Date;
|
|
2785
2784
|
deletedAt: Date | null;
|
|
2786
2785
|
name: string;
|
|
2786
|
+
type: "FILE" | "FOLDER";
|
|
2787
2787
|
updatedAt: Date;
|
|
2788
2788
|
isFavorite: boolean;
|
|
2789
2789
|
parentId: string | null;
|
|
@@ -2822,11 +2822,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2822
2822
|
}][];
|
|
2823
2823
|
}) | null;
|
|
2824
2824
|
children: ({
|
|
2825
|
-
type: "FILE" | "FOLDER";
|
|
2826
2825
|
id: string;
|
|
2827
2826
|
createdAt: Date;
|
|
2828
2827
|
deletedAt: Date | null;
|
|
2829
2828
|
name: string;
|
|
2829
|
+
type: "FILE" | "FOLDER";
|
|
2830
2830
|
updatedAt: Date;
|
|
2831
2831
|
isFavorite: boolean;
|
|
2832
2832
|
parentId: string | null;
|
|
@@ -4070,10 +4070,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4070
4070
|
id: string;
|
|
4071
4071
|
};
|
|
4072
4072
|
output: {
|
|
4073
|
-
type: "sent" | "received";
|
|
4074
4073
|
id: string;
|
|
4075
4074
|
createdAt: Date;
|
|
4076
4075
|
deletedAt: Date | null;
|
|
4076
|
+
type: "sent" | "received";
|
|
4077
4077
|
body: string;
|
|
4078
4078
|
subject: string;
|
|
4079
4079
|
openedAt: Date | null;
|
|
@@ -4145,10 +4145,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4145
4145
|
}[];
|
|
4146
4146
|
};
|
|
4147
4147
|
output: {
|
|
4148
|
-
type: "sent" | "received";
|
|
4149
4148
|
id: string;
|
|
4150
4149
|
createdAt: Date;
|
|
4151
4150
|
deletedAt: Date | null;
|
|
4151
|
+
type: "sent" | "received";
|
|
4152
4152
|
body: string;
|
|
4153
4153
|
subject: string;
|
|
4154
4154
|
openedAt: Date | null;
|
|
@@ -4236,10 +4236,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4236
4236
|
type: "sent" | "received";
|
|
4237
4237
|
};
|
|
4238
4238
|
output: ({
|
|
4239
|
-
type: "sent" | "received";
|
|
4240
4239
|
id: string;
|
|
4241
4240
|
createdAt: Date;
|
|
4242
4241
|
deletedAt: Date | null;
|
|
4242
|
+
type: "sent" | "received";
|
|
4243
4243
|
body: string;
|
|
4244
4244
|
subject: string;
|
|
4245
4245
|
openedAt: Date | null;
|
|
@@ -4301,10 +4301,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4301
4301
|
perPage?: number | undefined;
|
|
4302
4302
|
};
|
|
4303
4303
|
output: ({
|
|
4304
|
-
type: "sent" | "received";
|
|
4305
4304
|
id: string;
|
|
4306
4305
|
createdAt: Date;
|
|
4307
4306
|
deletedAt: Date | null;
|
|
4307
|
+
type: "sent" | "received";
|
|
4308
4308
|
body: string;
|
|
4309
4309
|
subject: string;
|
|
4310
4310
|
openedAt: Date | null;
|
|
@@ -4382,10 +4382,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4382
4382
|
perPage?: number | undefined;
|
|
4383
4383
|
};
|
|
4384
4384
|
output: ({
|
|
4385
|
-
type: "sent" | "received";
|
|
4386
4385
|
id: string;
|
|
4387
4386
|
createdAt: Date;
|
|
4388
4387
|
deletedAt: Date | null;
|
|
4388
|
+
type: "sent" | "received";
|
|
4389
4389
|
body: string;
|
|
4390
4390
|
subject: string;
|
|
4391
4391
|
openedAt: Date | null;
|
|
@@ -4509,10 +4509,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4509
4509
|
perPage?: number | undefined;
|
|
4510
4510
|
};
|
|
4511
4511
|
output: ({
|
|
4512
|
-
type: "sent" | "received";
|
|
4513
4512
|
id: string;
|
|
4514
4513
|
createdAt: Date;
|
|
4515
4514
|
deletedAt: Date | null;
|
|
4515
|
+
type: "sent" | "received";
|
|
4516
4516
|
body: string;
|
|
4517
4517
|
subject: string;
|
|
4518
4518
|
openedAt: Date | null;
|
|
@@ -4598,10 +4598,10 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4598
4598
|
}[] | null;
|
|
4599
4599
|
};
|
|
4600
4600
|
output: {
|
|
4601
|
-
type: "sent" | "received";
|
|
4602
4601
|
id: string;
|
|
4603
4602
|
createdAt: Date;
|
|
4604
4603
|
deletedAt: Date | null;
|
|
4604
|
+
type: "sent" | "received";
|
|
4605
4605
|
body: string;
|
|
4606
4606
|
subject: string;
|
|
4607
4607
|
openedAt: Date | null;
|