@secrecy/trpc-api-types 1.6.0-integration-prisma-selectors-client.1 → 1.6.0-integration-prisma-selectors-client.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.
- package/dist/index.d.ts +249 -250
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import type * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
2
2
|
import type * as superjson from 'superjson';
|
|
3
3
|
import type * as zod from 'zod';
|
|
4
|
-
import type * as
|
|
5
|
-
import type * as _trpc_server_dist_rpc from '@trpc/server/dist/rpc';
|
|
4
|
+
import type * as _trpc_server_dist_unstable_core_do_not_import from '@trpc/server/dist/unstable-core-do-not-import';
|
|
6
5
|
|
|
7
|
-
declare const appRouter:
|
|
6
|
+
declare const appRouter: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
8
7
|
ctx: {};
|
|
9
8
|
meta: object;
|
|
10
9
|
errorShape: {
|
|
11
10
|
message: string;
|
|
12
|
-
code:
|
|
13
|
-
data:
|
|
11
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
12
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
14
13
|
} | {
|
|
15
14
|
data: {
|
|
16
15
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -20,17 +19,17 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
20
19
|
stack?: string | undefined;
|
|
21
20
|
};
|
|
22
21
|
message: string;
|
|
23
|
-
code:
|
|
22
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
24
23
|
};
|
|
25
24
|
transformer: typeof superjson.default;
|
|
26
25
|
}>, {
|
|
27
|
-
account:
|
|
26
|
+
account: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
28
27
|
ctx: {};
|
|
29
28
|
meta: object;
|
|
30
29
|
errorShape: {
|
|
31
30
|
message: string;
|
|
32
|
-
code:
|
|
33
|
-
data:
|
|
31
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
32
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
34
33
|
} | {
|
|
35
34
|
data: {
|
|
36
35
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -40,11 +39,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
40
39
|
stack?: string | undefined;
|
|
41
40
|
};
|
|
42
41
|
message: string;
|
|
43
|
-
code:
|
|
42
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
44
43
|
};
|
|
45
44
|
transformer: typeof superjson.default;
|
|
46
45
|
}>, {
|
|
47
|
-
createUser:
|
|
46
|
+
createUser: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
48
47
|
input: {
|
|
49
48
|
lastname: string;
|
|
50
49
|
firstname: string;
|
|
@@ -53,7 +52,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
53
52
|
id: string;
|
|
54
53
|
};
|
|
55
54
|
}>;
|
|
56
|
-
deleteUser:
|
|
55
|
+
deleteUser: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
57
56
|
input: {
|
|
58
57
|
userId: string;
|
|
59
58
|
};
|
|
@@ -62,13 +61,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
62
61
|
};
|
|
63
62
|
}>;
|
|
64
63
|
}>;
|
|
65
|
-
application:
|
|
64
|
+
application: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
66
65
|
ctx: {};
|
|
67
66
|
meta: object;
|
|
68
67
|
errorShape: {
|
|
69
68
|
message: string;
|
|
70
|
-
code:
|
|
71
|
-
data:
|
|
69
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
70
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
72
71
|
} | {
|
|
73
72
|
data: {
|
|
74
73
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -78,11 +77,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
78
77
|
stack?: string | undefined;
|
|
79
78
|
};
|
|
80
79
|
message: string;
|
|
81
|
-
code:
|
|
80
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
82
81
|
};
|
|
83
82
|
transformer: typeof superjson.default;
|
|
84
83
|
}>, {
|
|
85
|
-
limitsComplete:
|
|
84
|
+
limitsComplete: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
86
85
|
input: {} | undefined;
|
|
87
86
|
output: {
|
|
88
87
|
mail: {
|
|
@@ -111,7 +110,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
111
110
|
};
|
|
112
111
|
};
|
|
113
112
|
}>;
|
|
114
|
-
limitsCons:
|
|
113
|
+
limitsCons: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
115
114
|
input: {} | undefined;
|
|
116
115
|
output: {
|
|
117
116
|
id: string;
|
|
@@ -120,7 +119,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
120
119
|
uploadBandwidth: bigint;
|
|
121
120
|
};
|
|
122
121
|
}>;
|
|
123
|
-
limits:
|
|
122
|
+
limits: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
124
123
|
input: {} | undefined;
|
|
125
124
|
output: {
|
|
126
125
|
id: string;
|
|
@@ -142,7 +141,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
142
141
|
bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
|
|
143
142
|
};
|
|
144
143
|
}>;
|
|
145
|
-
notification:
|
|
144
|
+
notification: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
146
145
|
input: {} | undefined;
|
|
147
146
|
output: {
|
|
148
147
|
id: string;
|
|
@@ -152,7 +151,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
152
151
|
disableAllUntil: Date | null;
|
|
153
152
|
};
|
|
154
153
|
}>;
|
|
155
|
-
plan:
|
|
154
|
+
plan: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
156
155
|
input: {} | undefined;
|
|
157
156
|
output: {
|
|
158
157
|
id: string;
|
|
@@ -163,7 +162,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
163
162
|
descriptorId: string;
|
|
164
163
|
};
|
|
165
164
|
}>;
|
|
166
|
-
plans:
|
|
165
|
+
plans: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
167
166
|
input: {} | undefined;
|
|
168
167
|
output: {
|
|
169
168
|
id: string;
|
|
@@ -174,7 +173,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
174
173
|
descriptorId: string;
|
|
175
174
|
}[];
|
|
176
175
|
}>;
|
|
177
|
-
settings:
|
|
176
|
+
settings: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
178
177
|
input: {};
|
|
179
178
|
output: {
|
|
180
179
|
id: string;
|
|
@@ -183,7 +182,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
183
182
|
historyFileDaysForDelete: number | null;
|
|
184
183
|
};
|
|
185
184
|
}>;
|
|
186
|
-
updateNotification:
|
|
185
|
+
updateNotification: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
187
186
|
input: {
|
|
188
187
|
mail?: boolean | undefined;
|
|
189
188
|
cloud?: boolean | undefined;
|
|
@@ -198,7 +197,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
198
197
|
disableAllUntil: Date | null;
|
|
199
198
|
};
|
|
200
199
|
}>;
|
|
201
|
-
updateSettings:
|
|
200
|
+
updateSettings: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
202
201
|
input: {
|
|
203
202
|
cloudNodeDaysForDelete?: number | null | undefined;
|
|
204
203
|
historyFileDaysForDelete?: number | null | undefined;
|
|
@@ -211,7 +210,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
211
210
|
historyFileDaysForDelete: number | null;
|
|
212
211
|
};
|
|
213
212
|
}>;
|
|
214
|
-
userPublicKey:
|
|
213
|
+
userPublicKey: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
215
214
|
input: {
|
|
216
215
|
userId: string;
|
|
217
216
|
};
|
|
@@ -220,13 +219,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
220
219
|
};
|
|
221
220
|
}>;
|
|
222
221
|
}>;
|
|
223
|
-
admin:
|
|
222
|
+
admin: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
224
223
|
ctx: {};
|
|
225
224
|
meta: object;
|
|
226
225
|
errorShape: {
|
|
227
226
|
message: string;
|
|
228
|
-
code:
|
|
229
|
-
data:
|
|
227
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
228
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
230
229
|
} | {
|
|
231
230
|
data: {
|
|
232
231
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -236,17 +235,17 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
236
235
|
stack?: string | undefined;
|
|
237
236
|
};
|
|
238
237
|
message: string;
|
|
239
|
-
code:
|
|
238
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
240
239
|
};
|
|
241
240
|
transformer: typeof superjson.default;
|
|
242
241
|
}>, {
|
|
243
|
-
user:
|
|
242
|
+
user: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
244
243
|
ctx: {};
|
|
245
244
|
meta: object;
|
|
246
245
|
errorShape: {
|
|
247
246
|
message: string;
|
|
248
|
-
code:
|
|
249
|
-
data:
|
|
247
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
248
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
250
249
|
} | {
|
|
251
250
|
data: {
|
|
252
251
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -256,11 +255,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
256
255
|
stack?: string | undefined;
|
|
257
256
|
};
|
|
258
257
|
message: string;
|
|
259
|
-
code:
|
|
258
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
260
259
|
};
|
|
261
260
|
transformer: typeof superjson.default;
|
|
262
261
|
}>, {
|
|
263
|
-
deleteById:
|
|
262
|
+
deleteById: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
264
263
|
input: {
|
|
265
264
|
id: string;
|
|
266
265
|
};
|
|
@@ -268,7 +267,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
268
267
|
isDeleted: boolean;
|
|
269
268
|
};
|
|
270
269
|
}>;
|
|
271
|
-
updatePlan:
|
|
270
|
+
updatePlan: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
272
271
|
input: {
|
|
273
272
|
id: string;
|
|
274
273
|
} & {
|
|
@@ -285,13 +284,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
285
284
|
}>;
|
|
286
285
|
}>;
|
|
287
286
|
}>;
|
|
288
|
-
auth:
|
|
287
|
+
auth: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
289
288
|
ctx: {};
|
|
290
289
|
meta: object;
|
|
291
290
|
errorShape: {
|
|
292
291
|
message: string;
|
|
293
|
-
code:
|
|
294
|
-
data:
|
|
292
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
293
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
295
294
|
} | {
|
|
296
295
|
data: {
|
|
297
296
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -301,11 +300,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
301
300
|
stack?: string | undefined;
|
|
302
301
|
};
|
|
303
302
|
message: string;
|
|
304
|
-
code:
|
|
303
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
305
304
|
};
|
|
306
305
|
transformer: typeof superjson.default;
|
|
307
306
|
}>, {
|
|
308
|
-
changeAppKeys:
|
|
307
|
+
changeAppKeys: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
309
308
|
input: {
|
|
310
309
|
keys: {
|
|
311
310
|
pub: string;
|
|
@@ -314,7 +313,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
314
313
|
};
|
|
315
314
|
output: {};
|
|
316
315
|
}>;
|
|
317
|
-
changePassword:
|
|
316
|
+
changePassword: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
318
317
|
input: {
|
|
319
318
|
srpSalt: string;
|
|
320
319
|
masterKeySalt: string;
|
|
@@ -322,13 +321,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
322
321
|
};
|
|
323
322
|
output: {};
|
|
324
323
|
}>;
|
|
325
|
-
deleteAllData:
|
|
324
|
+
deleteAllData: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
326
325
|
input: void;
|
|
327
326
|
output: {
|
|
328
327
|
success: boolean;
|
|
329
328
|
};
|
|
330
329
|
}>;
|
|
331
|
-
jwt:
|
|
330
|
+
jwt: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
332
331
|
input: {
|
|
333
332
|
includeEmail?: boolean | null | undefined;
|
|
334
333
|
};
|
|
@@ -336,7 +335,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
336
335
|
jwt: string;
|
|
337
336
|
};
|
|
338
337
|
}>;
|
|
339
|
-
login:
|
|
338
|
+
login: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
340
339
|
input: {
|
|
341
340
|
email: string;
|
|
342
341
|
};
|
|
@@ -346,7 +345,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
346
345
|
loginId: string;
|
|
347
346
|
};
|
|
348
347
|
}>;
|
|
349
|
-
loginCode:
|
|
348
|
+
loginCode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
350
349
|
input: {
|
|
351
350
|
code: string;
|
|
352
351
|
to: string;
|
|
@@ -360,7 +359,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
360
359
|
loginToken: string;
|
|
361
360
|
};
|
|
362
361
|
}>;
|
|
363
|
-
logout:
|
|
362
|
+
logout: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
364
363
|
input: {
|
|
365
364
|
sessionId: string | null;
|
|
366
365
|
};
|
|
@@ -368,7 +367,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
368
367
|
isLoggedOut: boolean;
|
|
369
368
|
};
|
|
370
369
|
}>;
|
|
371
|
-
masterSalt:
|
|
370
|
+
masterSalt: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
372
371
|
input: {};
|
|
373
372
|
output: {
|
|
374
373
|
masterKeySalt: string;
|
|
@@ -378,7 +377,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
378
377
|
}[];
|
|
379
378
|
};
|
|
380
379
|
}>;
|
|
381
|
-
resendCode:
|
|
380
|
+
resendCode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
382
381
|
input: {
|
|
383
382
|
type: string;
|
|
384
383
|
email: string;
|
|
@@ -389,14 +388,14 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
389
388
|
message: string;
|
|
390
389
|
};
|
|
391
390
|
}>;
|
|
392
|
-
resetPassword:
|
|
391
|
+
resetPassword: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
393
392
|
input: {
|
|
394
393
|
email: string;
|
|
395
394
|
phone: string;
|
|
396
395
|
};
|
|
397
396
|
output: {};
|
|
398
397
|
}>;
|
|
399
|
-
sendCodes:
|
|
398
|
+
sendCodes: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
400
399
|
input: {
|
|
401
400
|
type: string;
|
|
402
401
|
smsCode: string;
|
|
@@ -409,7 +408,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
409
408
|
masterKeySalt: string;
|
|
410
409
|
};
|
|
411
410
|
}>;
|
|
412
|
-
loginDeriveSession:
|
|
411
|
+
loginDeriveSession: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
413
412
|
input: {
|
|
414
413
|
email: string;
|
|
415
414
|
loginId: string;
|
|
@@ -420,7 +419,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
420
419
|
proof: string;
|
|
421
420
|
};
|
|
422
421
|
}>;
|
|
423
|
-
loginUser:
|
|
422
|
+
loginUser: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
424
423
|
input: {
|
|
425
424
|
userId: string;
|
|
426
425
|
loginToken: string;
|
|
@@ -430,7 +429,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
430
429
|
masterKeySalt: string;
|
|
431
430
|
};
|
|
432
431
|
}>;
|
|
433
|
-
signup:
|
|
432
|
+
signup: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
434
433
|
input: {
|
|
435
434
|
email: string;
|
|
436
435
|
lastname: string;
|
|
@@ -443,7 +442,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
443
442
|
};
|
|
444
443
|
output: {};
|
|
445
444
|
}>;
|
|
446
|
-
validateLogin:
|
|
445
|
+
validateLogin: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
447
446
|
input: {
|
|
448
447
|
email: string;
|
|
449
448
|
loginId: string;
|
|
@@ -451,13 +450,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
451
450
|
output: {};
|
|
452
451
|
}>;
|
|
453
452
|
}>;
|
|
454
|
-
blog:
|
|
453
|
+
blog: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
455
454
|
ctx: {};
|
|
456
455
|
meta: object;
|
|
457
456
|
errorShape: {
|
|
458
457
|
message: string;
|
|
459
|
-
code:
|
|
460
|
-
data:
|
|
458
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
459
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
461
460
|
} | {
|
|
462
461
|
data: {
|
|
463
462
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -467,11 +466,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
467
466
|
stack?: string | undefined;
|
|
468
467
|
};
|
|
469
468
|
message: string;
|
|
470
|
-
code:
|
|
469
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
471
470
|
};
|
|
472
471
|
transformer: typeof superjson.default;
|
|
473
472
|
}>, {
|
|
474
|
-
all:
|
|
473
|
+
all: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
475
474
|
input: {
|
|
476
475
|
lang: "fr" | "en";
|
|
477
476
|
};
|
|
@@ -492,13 +491,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
492
491
|
})[];
|
|
493
492
|
}>;
|
|
494
493
|
}>;
|
|
495
|
-
cloud:
|
|
494
|
+
cloud: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
496
495
|
ctx: {};
|
|
497
496
|
meta: object;
|
|
498
497
|
errorShape: {
|
|
499
498
|
message: string;
|
|
500
|
-
code:
|
|
501
|
-
data:
|
|
499
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
500
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
502
501
|
} | {
|
|
503
502
|
data: {
|
|
504
503
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -508,11 +507,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
508
507
|
stack?: string | undefined;
|
|
509
508
|
};
|
|
510
509
|
message: string;
|
|
511
|
-
code:
|
|
510
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
512
511
|
};
|
|
513
512
|
transformer: typeof superjson.default;
|
|
514
513
|
}>, {
|
|
515
|
-
addFileToHistory:
|
|
514
|
+
addFileToHistory: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
516
515
|
input: {
|
|
517
516
|
fileId: string;
|
|
518
517
|
nodeId: string;
|
|
@@ -630,7 +629,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
630
629
|
})[];
|
|
631
630
|
};
|
|
632
631
|
}>;
|
|
633
|
-
deleteFile:
|
|
632
|
+
deleteFile: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
634
633
|
input: {
|
|
635
634
|
fileId: string;
|
|
636
635
|
nodeId: string;
|
|
@@ -639,7 +638,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
639
638
|
isDeleted: boolean;
|
|
640
639
|
};
|
|
641
640
|
}>;
|
|
642
|
-
fileById:
|
|
641
|
+
fileById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
643
642
|
input: {
|
|
644
643
|
id: string;
|
|
645
644
|
};
|
|
@@ -658,7 +657,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
658
657
|
};
|
|
659
658
|
};
|
|
660
659
|
}>;
|
|
661
|
-
fileContentById:
|
|
660
|
+
fileContentById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
662
661
|
input: {
|
|
663
662
|
id: string;
|
|
664
663
|
};
|
|
@@ -699,7 +698,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
699
698
|
publicKey: string;
|
|
700
699
|
});
|
|
701
700
|
}>;
|
|
702
|
-
fileContentByIds:
|
|
701
|
+
fileContentByIds: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
703
702
|
input: {
|
|
704
703
|
ids: string[];
|
|
705
704
|
};
|
|
@@ -740,13 +739,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
740
739
|
publicKey: string;
|
|
741
740
|
}))[];
|
|
742
741
|
}>;
|
|
743
|
-
fileSharedWithMe:
|
|
742
|
+
fileSharedWithMe: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
744
743
|
input: {
|
|
745
744
|
accepted?: boolean | undefined;
|
|
746
745
|
};
|
|
747
746
|
output: any[];
|
|
748
747
|
}>;
|
|
749
|
-
saveInCloud:
|
|
748
|
+
saveInCloud: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
750
749
|
input: {
|
|
751
750
|
key: string;
|
|
752
751
|
fileId: string;
|
|
@@ -867,7 +866,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
867
866
|
})[];
|
|
868
867
|
};
|
|
869
868
|
}>;
|
|
870
|
-
shareFileInHistory:
|
|
869
|
+
shareFileInHistory: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
871
870
|
input: {
|
|
872
871
|
users: {
|
|
873
872
|
id: string;
|
|
@@ -880,7 +879,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
880
879
|
isShared: boolean;
|
|
881
880
|
};
|
|
882
881
|
}>;
|
|
883
|
-
uploadFileEnd:
|
|
882
|
+
uploadFileEnd: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
884
883
|
input: {
|
|
885
884
|
fileId: string;
|
|
886
885
|
};
|
|
@@ -888,7 +887,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
888
887
|
isUploadEnded: boolean;
|
|
889
888
|
};
|
|
890
889
|
}>;
|
|
891
|
-
uploadFilePartEnd:
|
|
890
|
+
uploadFilePartEnd: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
892
891
|
input: {
|
|
893
892
|
fileId: string;
|
|
894
893
|
md5: string;
|
|
@@ -898,7 +897,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
898
897
|
isUploadPartEnded: boolean;
|
|
899
898
|
};
|
|
900
899
|
}>;
|
|
901
|
-
uploadFile:
|
|
900
|
+
uploadFile: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
902
901
|
input: {
|
|
903
902
|
fileSize: bigint;
|
|
904
903
|
md5: string;
|
|
@@ -916,7 +915,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
916
915
|
}[];
|
|
917
916
|
};
|
|
918
917
|
}>;
|
|
919
|
-
uploadLiteFile:
|
|
918
|
+
uploadLiteFile: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
920
919
|
input: {
|
|
921
920
|
fileSize: bigint;
|
|
922
921
|
content: Buffer;
|
|
@@ -929,7 +928,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
929
928
|
id: string;
|
|
930
929
|
};
|
|
931
930
|
}>;
|
|
932
|
-
createFolder:
|
|
931
|
+
createFolder: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
933
932
|
input: {
|
|
934
933
|
name: string;
|
|
935
934
|
parentId: string | null;
|
|
@@ -1048,7 +1047,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1048
1047
|
})[];
|
|
1049
1048
|
};
|
|
1050
1049
|
}>;
|
|
1051
|
-
deleteNodeCloudTrash:
|
|
1050
|
+
deleteNodeCloudTrash: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1052
1051
|
input: {
|
|
1053
1052
|
ids: string[];
|
|
1054
1053
|
};
|
|
@@ -1056,7 +1055,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1056
1055
|
isDeleted: boolean;
|
|
1057
1056
|
};
|
|
1058
1057
|
}>;
|
|
1059
|
-
deleteNodeSharing:
|
|
1058
|
+
deleteNodeSharing: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1060
1059
|
input: {
|
|
1061
1060
|
userId: string;
|
|
1062
1061
|
nodeId: string;
|
|
@@ -1065,7 +1064,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1065
1064
|
isDeleted: boolean;
|
|
1066
1065
|
};
|
|
1067
1066
|
}>;
|
|
1068
|
-
deleteNode:
|
|
1067
|
+
deleteNode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1069
1068
|
input: {
|
|
1070
1069
|
id: string;
|
|
1071
1070
|
};
|
|
@@ -1073,7 +1072,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1073
1072
|
isDeleted: boolean;
|
|
1074
1073
|
};
|
|
1075
1074
|
}>;
|
|
1076
|
-
duplicateNode:
|
|
1075
|
+
duplicateNode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1077
1076
|
input: {
|
|
1078
1077
|
name: string | null;
|
|
1079
1078
|
folderId: string | null;
|
|
@@ -1083,13 +1082,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1083
1082
|
isDuplicated: boolean;
|
|
1084
1083
|
};
|
|
1085
1084
|
}>;
|
|
1086
|
-
emptyNodeCloudTrash:
|
|
1085
|
+
emptyNodeCloudTrash: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1087
1086
|
input: {};
|
|
1088
1087
|
output: {
|
|
1089
1088
|
isCleaned: boolean;
|
|
1090
1089
|
};
|
|
1091
1090
|
}>;
|
|
1092
|
-
moveNodes:
|
|
1091
|
+
moveNodes: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1093
1092
|
input: {
|
|
1094
1093
|
ids: string[];
|
|
1095
1094
|
parentId: string | null;
|
|
@@ -1098,7 +1097,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1098
1097
|
isMoved: boolean;
|
|
1099
1098
|
};
|
|
1100
1099
|
}>;
|
|
1101
|
-
nodeAccessById:
|
|
1100
|
+
nodeAccessById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1102
1101
|
input: {
|
|
1103
1102
|
id: string;
|
|
1104
1103
|
};
|
|
@@ -1113,7 +1112,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1113
1112
|
isRoot: boolean;
|
|
1114
1113
|
};
|
|
1115
1114
|
}>;
|
|
1116
|
-
nodeBreadcrumbById:
|
|
1115
|
+
nodeBreadcrumbById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1117
1116
|
input: {
|
|
1118
1117
|
id: string;
|
|
1119
1118
|
};
|
|
@@ -1124,7 +1123,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1124
1123
|
pubKey: string;
|
|
1125
1124
|
}[];
|
|
1126
1125
|
}>;
|
|
1127
|
-
nodeById:
|
|
1126
|
+
nodeById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1128
1127
|
input: {
|
|
1129
1128
|
id?: string | null | undefined;
|
|
1130
1129
|
deleted?: boolean | null | undefined;
|
|
@@ -1156,7 +1155,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1156
1155
|
};
|
|
1157
1156
|
};
|
|
1158
1157
|
}>;
|
|
1159
|
-
nodeFullById:
|
|
1158
|
+
nodeFullById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1160
1159
|
input: {
|
|
1161
1160
|
id?: string | null | undefined;
|
|
1162
1161
|
deleted?: boolean | null | undefined;
|
|
@@ -1274,7 +1273,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1274
1273
|
})[];
|
|
1275
1274
|
};
|
|
1276
1275
|
}>;
|
|
1277
|
-
nodeSizeById:
|
|
1276
|
+
nodeSizeById: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1278
1277
|
input: {
|
|
1279
1278
|
id: string;
|
|
1280
1279
|
};
|
|
@@ -1283,7 +1282,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1283
1282
|
sizeBefore: bigint;
|
|
1284
1283
|
};
|
|
1285
1284
|
}>;
|
|
1286
|
-
nodesDeleted:
|
|
1285
|
+
nodesDeleted: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1287
1286
|
input: {};
|
|
1288
1287
|
output: ({
|
|
1289
1288
|
type: "FILE" | "FOLDER";
|
|
@@ -1312,7 +1311,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1312
1311
|
};
|
|
1313
1312
|
})[];
|
|
1314
1313
|
}>;
|
|
1315
|
-
nodesSharedWithMe:
|
|
1314
|
+
nodesSharedWithMe: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1316
1315
|
input: {
|
|
1317
1316
|
type: "FILE" | "FOLDER";
|
|
1318
1317
|
};
|
|
@@ -1343,7 +1342,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1343
1342
|
};
|
|
1344
1343
|
})[];
|
|
1345
1344
|
}>;
|
|
1346
|
-
nodesShared:
|
|
1345
|
+
nodesShared: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1347
1346
|
input: void;
|
|
1348
1347
|
output: ({
|
|
1349
1348
|
type: "FILE" | "FOLDER";
|
|
@@ -1372,7 +1371,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1372
1371
|
};
|
|
1373
1372
|
})[];
|
|
1374
1373
|
}>;
|
|
1375
|
-
recoverNode:
|
|
1374
|
+
recoverNode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1376
1375
|
input: {
|
|
1377
1376
|
id: string;
|
|
1378
1377
|
};
|
|
@@ -1380,7 +1379,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1380
1379
|
isRecovered: boolean;
|
|
1381
1380
|
};
|
|
1382
1381
|
}>;
|
|
1383
|
-
shareNodeFinish:
|
|
1382
|
+
shareNodeFinish: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1384
1383
|
input: {
|
|
1385
1384
|
userId: string;
|
|
1386
1385
|
rights: "admin" | "write" | "read";
|
|
@@ -1397,7 +1396,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1397
1396
|
isFinished: boolean;
|
|
1398
1397
|
};
|
|
1399
1398
|
}>;
|
|
1400
|
-
shareNode:
|
|
1399
|
+
shareNode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1401
1400
|
input: {
|
|
1402
1401
|
userId: string;
|
|
1403
1402
|
nodeId: string;
|
|
@@ -1406,7 +1405,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1406
1405
|
ids: string[];
|
|
1407
1406
|
};
|
|
1408
1407
|
}>;
|
|
1409
|
-
updateNode:
|
|
1408
|
+
updateNode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1410
1409
|
input: {
|
|
1411
1410
|
id: string;
|
|
1412
1411
|
name: string | null;
|
|
@@ -1527,13 +1526,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1527
1526
|
};
|
|
1528
1527
|
}>;
|
|
1529
1528
|
}>;
|
|
1530
|
-
crypto:
|
|
1529
|
+
crypto: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
1531
1530
|
ctx: {};
|
|
1532
1531
|
meta: object;
|
|
1533
1532
|
errorShape: {
|
|
1534
1533
|
message: string;
|
|
1535
|
-
code:
|
|
1536
|
-
data:
|
|
1534
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1535
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
1537
1536
|
} | {
|
|
1538
1537
|
data: {
|
|
1539
1538
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -1543,11 +1542,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1543
1542
|
stack?: string | undefined;
|
|
1544
1543
|
};
|
|
1545
1544
|
message: string;
|
|
1546
|
-
code:
|
|
1545
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1547
1546
|
};
|
|
1548
1547
|
transformer: typeof superjson.default;
|
|
1549
1548
|
}>, {
|
|
1550
|
-
createWallet:
|
|
1549
|
+
createWallet: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1551
1550
|
input: {
|
|
1552
1551
|
address: string;
|
|
1553
1552
|
encryptedKeystore: string;
|
|
@@ -1559,7 +1558,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1559
1558
|
encryptedKeystore: string;
|
|
1560
1559
|
};
|
|
1561
1560
|
}>;
|
|
1562
|
-
isTransactionDone:
|
|
1561
|
+
isTransactionDone: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1563
1562
|
input: {
|
|
1564
1563
|
idOrHash: string;
|
|
1565
1564
|
network?: "mainnet" | "ropsten" | "rinkeby" | "goerli" | "kovan" | "polygon-mainnet" | "polygon-mumbai" | undefined;
|
|
@@ -1568,7 +1567,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1568
1567
|
isDone: boolean;
|
|
1569
1568
|
};
|
|
1570
1569
|
}>;
|
|
1571
|
-
sendTransaction:
|
|
1570
|
+
sendTransaction: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1572
1571
|
input: {
|
|
1573
1572
|
address: string;
|
|
1574
1573
|
rawTransaction: string;
|
|
@@ -1579,7 +1578,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1579
1578
|
hash: string;
|
|
1580
1579
|
};
|
|
1581
1580
|
}>;
|
|
1582
|
-
walletBalance:
|
|
1581
|
+
walletBalance: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1583
1582
|
input: {
|
|
1584
1583
|
network?: "mainnet" | "ropsten" | "rinkeby" | "goerli" | "kovan" | "polygon-mainnet" | "polygon-mumbai" | undefined;
|
|
1585
1584
|
};
|
|
@@ -1587,7 +1586,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1587
1586
|
amount: string;
|
|
1588
1587
|
};
|
|
1589
1588
|
}>;
|
|
1590
|
-
myWallet:
|
|
1589
|
+
myWallet: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1591
1590
|
input: void;
|
|
1592
1591
|
output: {
|
|
1593
1592
|
userId: string;
|
|
@@ -1597,13 +1596,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1597
1596
|
};
|
|
1598
1597
|
}>;
|
|
1599
1598
|
}>;
|
|
1600
|
-
db:
|
|
1599
|
+
db: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
1601
1600
|
ctx: {};
|
|
1602
1601
|
meta: object;
|
|
1603
1602
|
errorShape: {
|
|
1604
1603
|
message: string;
|
|
1605
|
-
code:
|
|
1606
|
-
data:
|
|
1604
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1605
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
1607
1606
|
} | {
|
|
1608
1607
|
data: {
|
|
1609
1608
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -1613,17 +1612,17 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1613
1612
|
stack?: string | undefined;
|
|
1614
1613
|
};
|
|
1615
1614
|
message: string;
|
|
1616
|
-
code:
|
|
1615
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1617
1616
|
};
|
|
1618
1617
|
transformer: typeof superjson.default;
|
|
1619
1618
|
}>, {
|
|
1620
|
-
developer:
|
|
1619
|
+
developer: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
1621
1620
|
ctx: {};
|
|
1622
1621
|
meta: object;
|
|
1623
1622
|
errorShape: {
|
|
1624
1623
|
message: string;
|
|
1625
|
-
code:
|
|
1626
|
-
data:
|
|
1624
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1625
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
1627
1626
|
} | {
|
|
1628
1627
|
data: {
|
|
1629
1628
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -1633,11 +1632,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1633
1632
|
stack?: string | undefined;
|
|
1634
1633
|
};
|
|
1635
1634
|
message: string;
|
|
1636
|
-
code:
|
|
1635
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1637
1636
|
};
|
|
1638
1637
|
transformer: typeof superjson.default;
|
|
1639
1638
|
}>, {
|
|
1640
|
-
config:
|
|
1639
|
+
config: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1641
1640
|
input: {
|
|
1642
1641
|
appId: string;
|
|
1643
1642
|
appEnv: string;
|
|
@@ -1659,7 +1658,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1659
1658
|
}[];
|
|
1660
1659
|
};
|
|
1661
1660
|
}>;
|
|
1662
|
-
createEnv:
|
|
1661
|
+
createEnv: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1663
1662
|
input: {
|
|
1664
1663
|
appId: string;
|
|
1665
1664
|
newEnv: string;
|
|
@@ -1686,7 +1685,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1686
1685
|
};
|
|
1687
1686
|
};
|
|
1688
1687
|
}>;
|
|
1689
|
-
deleteEnv:
|
|
1688
|
+
deleteEnv: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1690
1689
|
input: {
|
|
1691
1690
|
appId: string;
|
|
1692
1691
|
appEnv: string;
|
|
@@ -1695,7 +1694,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1695
1694
|
isDeleted: boolean;
|
|
1696
1695
|
};
|
|
1697
1696
|
}>;
|
|
1698
|
-
environments:
|
|
1697
|
+
environments: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1699
1698
|
input: {
|
|
1700
1699
|
appId: string;
|
|
1701
1700
|
};
|
|
@@ -1703,7 +1702,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1703
1702
|
environments: string[];
|
|
1704
1703
|
};
|
|
1705
1704
|
}>;
|
|
1706
|
-
migrate:
|
|
1705
|
+
migrate: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1707
1706
|
input: {
|
|
1708
1707
|
appId: string;
|
|
1709
1708
|
appEnv: string;
|
|
@@ -1732,7 +1731,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1732
1731
|
}[];
|
|
1733
1732
|
};
|
|
1734
1733
|
}>;
|
|
1735
|
-
diff:
|
|
1734
|
+
diff: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
1736
1735
|
input: {
|
|
1737
1736
|
appId: string;
|
|
1738
1737
|
appEnv: string;
|
|
@@ -1953,7 +1952,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1953
1952
|
nextEnv: string | null;
|
|
1954
1953
|
};
|
|
1955
1954
|
}>;
|
|
1956
|
-
updateConfig:
|
|
1955
|
+
updateConfig: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
1957
1956
|
input: {
|
|
1958
1957
|
appId: string;
|
|
1959
1958
|
appEnv: string;
|
|
@@ -1977,13 +1976,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1977
1976
|
};
|
|
1978
1977
|
}>;
|
|
1979
1978
|
}>;
|
|
1980
|
-
user:
|
|
1979
|
+
user: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
1981
1980
|
ctx: {};
|
|
1982
1981
|
meta: object;
|
|
1983
1982
|
errorShape: {
|
|
1984
1983
|
message: string;
|
|
1985
|
-
code:
|
|
1986
|
-
data:
|
|
1984
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1985
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
1987
1986
|
} | {
|
|
1988
1987
|
data: {
|
|
1989
1988
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -1993,11 +1992,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
1993
1992
|
stack?: string | undefined;
|
|
1994
1993
|
};
|
|
1995
1994
|
message: string;
|
|
1996
|
-
code:
|
|
1995
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
1997
1996
|
};
|
|
1998
1997
|
transformer: typeof superjson.default;
|
|
1999
1998
|
}>, {
|
|
2000
|
-
create:
|
|
1999
|
+
create: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2001
2000
|
input: {
|
|
2002
2001
|
appEnv: string;
|
|
2003
2002
|
appTable: string;
|
|
@@ -2007,7 +2006,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2007
2006
|
};
|
|
2008
2007
|
output: Record<string, unknown>;
|
|
2009
2008
|
}>;
|
|
2010
|
-
createMany:
|
|
2009
|
+
createMany: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2011
2010
|
input: {
|
|
2012
2011
|
appEnv: string;
|
|
2013
2012
|
appTable: string;
|
|
@@ -2019,7 +2018,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2019
2018
|
count: number;
|
|
2020
2019
|
};
|
|
2021
2020
|
}>;
|
|
2022
|
-
delete:
|
|
2021
|
+
delete: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2023
2022
|
input: {
|
|
2024
2023
|
appEnv: string;
|
|
2025
2024
|
appTable: string;
|
|
@@ -2031,7 +2030,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2031
2030
|
count: number;
|
|
2032
2031
|
};
|
|
2033
2032
|
}>;
|
|
2034
|
-
deleteMany:
|
|
2033
|
+
deleteMany: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2035
2034
|
input: {
|
|
2036
2035
|
appEnv: string;
|
|
2037
2036
|
appTable: string;
|
|
@@ -2043,7 +2042,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2043
2042
|
count: number;
|
|
2044
2043
|
};
|
|
2045
2044
|
}>;
|
|
2046
|
-
findFirst:
|
|
2045
|
+
findFirst: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2047
2046
|
input: {
|
|
2048
2047
|
appEnv: string;
|
|
2049
2048
|
appTable: string;
|
|
@@ -2054,7 +2053,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2054
2053
|
};
|
|
2055
2054
|
output: Record<string, unknown> | null;
|
|
2056
2055
|
}>;
|
|
2057
|
-
findMany:
|
|
2056
|
+
findMany: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2058
2057
|
input: {
|
|
2059
2058
|
appEnv: string;
|
|
2060
2059
|
appTable: string;
|
|
@@ -2068,7 +2067,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2068
2067
|
};
|
|
2069
2068
|
output: Record<string, unknown>[];
|
|
2070
2069
|
}>;
|
|
2071
|
-
update:
|
|
2070
|
+
update: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2072
2071
|
input: {
|
|
2073
2072
|
appEnv: string;
|
|
2074
2073
|
appTable: string;
|
|
@@ -2080,7 +2079,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2080
2079
|
};
|
|
2081
2080
|
output: Record<string, unknown>;
|
|
2082
2081
|
}>;
|
|
2083
|
-
updateMany:
|
|
2082
|
+
updateMany: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2084
2083
|
input: {
|
|
2085
2084
|
appEnv: string;
|
|
2086
2085
|
appTable: string;
|
|
@@ -2099,13 +2098,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2099
2098
|
}>;
|
|
2100
2099
|
}>;
|
|
2101
2100
|
}>;
|
|
2102
|
-
faq:
|
|
2101
|
+
faq: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2103
2102
|
ctx: {};
|
|
2104
2103
|
meta: object;
|
|
2105
2104
|
errorShape: {
|
|
2106
2105
|
message: string;
|
|
2107
|
-
code:
|
|
2108
|
-
data:
|
|
2106
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2107
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2109
2108
|
} | {
|
|
2110
2109
|
data: {
|
|
2111
2110
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2115,11 +2114,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2115
2114
|
stack?: string | undefined;
|
|
2116
2115
|
};
|
|
2117
2116
|
message: string;
|
|
2118
|
-
code:
|
|
2117
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2119
2118
|
};
|
|
2120
2119
|
transformer: typeof superjson.default;
|
|
2121
2120
|
}>, {
|
|
2122
|
-
all:
|
|
2121
|
+
all: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2123
2122
|
input: {
|
|
2124
2123
|
lang: "fr" | "en";
|
|
2125
2124
|
};
|
|
@@ -2130,13 +2129,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2130
2129
|
}[];
|
|
2131
2130
|
}>;
|
|
2132
2131
|
}>;
|
|
2133
|
-
mail:
|
|
2132
|
+
mail: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2134
2133
|
ctx: {};
|
|
2135
2134
|
meta: object;
|
|
2136
2135
|
errorShape: {
|
|
2137
2136
|
message: string;
|
|
2138
|
-
code:
|
|
2139
|
-
data:
|
|
2137
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2138
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2140
2139
|
} | {
|
|
2141
2140
|
data: {
|
|
2142
2141
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2146,11 +2145,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2146
2145
|
stack?: string | undefined;
|
|
2147
2146
|
};
|
|
2148
2147
|
message: string;
|
|
2149
|
-
code:
|
|
2148
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2150
2149
|
};
|
|
2151
2150
|
transformer: typeof superjson.default;
|
|
2152
2151
|
}>, {
|
|
2153
|
-
byId:
|
|
2152
|
+
byId: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2154
2153
|
input: {
|
|
2155
2154
|
id: string;
|
|
2156
2155
|
};
|
|
@@ -2207,7 +2206,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2207
2206
|
}[];
|
|
2208
2207
|
};
|
|
2209
2208
|
}>;
|
|
2210
|
-
createDraft:
|
|
2209
|
+
createDraft: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2211
2210
|
input: {
|
|
2212
2211
|
subject: string;
|
|
2213
2212
|
body: string;
|
|
@@ -2275,7 +2274,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2275
2274
|
}[];
|
|
2276
2275
|
};
|
|
2277
2276
|
}>;
|
|
2278
|
-
deleteDraft:
|
|
2277
|
+
deleteDraft: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2279
2278
|
input: {
|
|
2280
2279
|
id: string;
|
|
2281
2280
|
};
|
|
@@ -2283,7 +2282,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2283
2282
|
isDeleted: boolean;
|
|
2284
2283
|
};
|
|
2285
2284
|
}>;
|
|
2286
|
-
deleteTrash:
|
|
2285
|
+
deleteTrash: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2287
2286
|
input: {
|
|
2288
2287
|
ids: string[];
|
|
2289
2288
|
};
|
|
@@ -2291,7 +2290,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2291
2290
|
isDeleted: boolean;
|
|
2292
2291
|
};
|
|
2293
2292
|
}>;
|
|
2294
|
-
delete:
|
|
2293
|
+
delete: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2295
2294
|
input: {
|
|
2296
2295
|
id: string;
|
|
2297
2296
|
};
|
|
@@ -2299,7 +2298,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2299
2298
|
isDeleted: boolean;
|
|
2300
2299
|
};
|
|
2301
2300
|
}>;
|
|
2302
|
-
deleted:
|
|
2301
|
+
deleted: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2303
2302
|
input: {
|
|
2304
2303
|
type: "received" | "sent";
|
|
2305
2304
|
};
|
|
@@ -2356,7 +2355,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2356
2355
|
}[];
|
|
2357
2356
|
})[];
|
|
2358
2357
|
}>;
|
|
2359
|
-
draft:
|
|
2358
|
+
draft: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2360
2359
|
input: {};
|
|
2361
2360
|
output: ({
|
|
2362
2361
|
type: "received" | "sent";
|
|
@@ -2411,13 +2410,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2411
2410
|
}[];
|
|
2412
2411
|
})[];
|
|
2413
2412
|
}>;
|
|
2414
|
-
emptyTrash:
|
|
2413
|
+
emptyTrash: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2415
2414
|
input: {} | undefined;
|
|
2416
2415
|
output: {
|
|
2417
2416
|
isDeleted: boolean;
|
|
2418
2417
|
};
|
|
2419
2418
|
}>;
|
|
2420
|
-
read:
|
|
2419
|
+
read: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2421
2420
|
input: {
|
|
2422
2421
|
id: string;
|
|
2423
2422
|
};
|
|
@@ -2425,7 +2424,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2425
2424
|
isRead: boolean;
|
|
2426
2425
|
};
|
|
2427
2426
|
}>;
|
|
2428
|
-
received:
|
|
2427
|
+
received: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2429
2428
|
input: {};
|
|
2430
2429
|
output: ({
|
|
2431
2430
|
type: "received" | "sent";
|
|
@@ -2480,7 +2479,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2480
2479
|
}[];
|
|
2481
2480
|
})[];
|
|
2482
2481
|
}>;
|
|
2483
|
-
recover:
|
|
2482
|
+
recover: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2484
2483
|
input: {
|
|
2485
2484
|
id: string;
|
|
2486
2485
|
};
|
|
@@ -2488,7 +2487,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2488
2487
|
isRecovered: boolean;
|
|
2489
2488
|
};
|
|
2490
2489
|
}>;
|
|
2491
|
-
sendAppMail:
|
|
2490
|
+
sendAppMail: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2492
2491
|
input: {
|
|
2493
2492
|
subject: string;
|
|
2494
2493
|
html: string;
|
|
@@ -2498,7 +2497,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2498
2497
|
isSended: boolean;
|
|
2499
2498
|
};
|
|
2500
2499
|
}>;
|
|
2501
|
-
sendDraft:
|
|
2500
|
+
sendDraft: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2502
2501
|
input: {
|
|
2503
2502
|
id: string;
|
|
2504
2503
|
customMessage: string | null;
|
|
@@ -2519,7 +2518,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2519
2518
|
isSent: boolean;
|
|
2520
2519
|
};
|
|
2521
2520
|
}>;
|
|
2522
|
-
sendOne:
|
|
2521
|
+
sendOne: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2523
2522
|
input: {
|
|
2524
2523
|
id: string;
|
|
2525
2524
|
recipient: {
|
|
@@ -2538,7 +2537,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2538
2537
|
isSended: boolean;
|
|
2539
2538
|
};
|
|
2540
2539
|
}>;
|
|
2541
|
-
sent:
|
|
2540
|
+
sent: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2542
2541
|
input: {};
|
|
2543
2542
|
output: ({
|
|
2544
2543
|
type: "received" | "sent";
|
|
@@ -2593,11 +2592,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2593
2592
|
}[];
|
|
2594
2593
|
})[];
|
|
2595
2594
|
}>;
|
|
2596
|
-
unreadReceivedCount:
|
|
2595
|
+
unreadReceivedCount: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2597
2596
|
input: {} | undefined;
|
|
2598
2597
|
output: number;
|
|
2599
2598
|
}>;
|
|
2600
|
-
unread:
|
|
2599
|
+
unread: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2601
2600
|
input: {
|
|
2602
2601
|
id: string;
|
|
2603
2602
|
};
|
|
@@ -2605,7 +2604,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2605
2604
|
isUnread: boolean;
|
|
2606
2605
|
};
|
|
2607
2606
|
}>;
|
|
2608
|
-
updateDraft:
|
|
2607
|
+
updateDraft: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2609
2608
|
input: {
|
|
2610
2609
|
id: string;
|
|
2611
2610
|
} & {
|
|
@@ -2674,13 +2673,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2674
2673
|
};
|
|
2675
2674
|
}>;
|
|
2676
2675
|
}>;
|
|
2677
|
-
misc:
|
|
2676
|
+
misc: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2678
2677
|
ctx: {};
|
|
2679
2678
|
meta: object;
|
|
2680
2679
|
errorShape: {
|
|
2681
2680
|
message: string;
|
|
2682
|
-
code:
|
|
2683
|
-
data:
|
|
2681
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2682
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2684
2683
|
} | {
|
|
2685
2684
|
data: {
|
|
2686
2685
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2690,11 +2689,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2690
2689
|
stack?: string | undefined;
|
|
2691
2690
|
};
|
|
2692
2691
|
message: string;
|
|
2693
|
-
code:
|
|
2692
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2694
2693
|
};
|
|
2695
2694
|
transformer: typeof superjson.default;
|
|
2696
2695
|
}>, {
|
|
2697
|
-
createEmail:
|
|
2696
|
+
createEmail: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2698
2697
|
input: {
|
|
2699
2698
|
email: string;
|
|
2700
2699
|
};
|
|
@@ -2704,7 +2703,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2704
2703
|
createdAt: Date;
|
|
2705
2704
|
};
|
|
2706
2705
|
}>;
|
|
2707
|
-
createFeedback:
|
|
2706
|
+
createFeedback: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2708
2707
|
input: {
|
|
2709
2708
|
message: string;
|
|
2710
2709
|
subject: string;
|
|
@@ -2716,20 +2715,20 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2716
2715
|
};
|
|
2717
2716
|
output: {};
|
|
2718
2717
|
}>;
|
|
2719
|
-
serverTime:
|
|
2718
|
+
serverTime: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2720
2719
|
input: {} | undefined;
|
|
2721
2720
|
output: {
|
|
2722
2721
|
serverTime: number;
|
|
2723
2722
|
};
|
|
2724
2723
|
}>;
|
|
2725
2724
|
}>;
|
|
2726
|
-
plan:
|
|
2725
|
+
plan: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2727
2726
|
ctx: {};
|
|
2728
2727
|
meta: object;
|
|
2729
2728
|
errorShape: {
|
|
2730
2729
|
message: string;
|
|
2731
|
-
code:
|
|
2732
|
-
data:
|
|
2730
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2731
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2733
2732
|
} | {
|
|
2734
2733
|
data: {
|
|
2735
2734
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2739,11 +2738,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2739
2738
|
stack?: string | undefined;
|
|
2740
2739
|
};
|
|
2741
2740
|
message: string;
|
|
2742
|
-
code:
|
|
2741
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2743
2742
|
};
|
|
2744
2743
|
transformer: typeof superjson.default;
|
|
2745
2744
|
}>, {
|
|
2746
|
-
all:
|
|
2745
|
+
all: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2747
2746
|
input: {} | undefined;
|
|
2748
2747
|
output: ({
|
|
2749
2748
|
id: string;
|
|
@@ -2787,13 +2786,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2787
2786
|
})[];
|
|
2788
2787
|
}>;
|
|
2789
2788
|
}>;
|
|
2790
|
-
report:
|
|
2789
|
+
report: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2791
2790
|
ctx: {};
|
|
2792
2791
|
meta: object;
|
|
2793
2792
|
errorShape: {
|
|
2794
2793
|
message: string;
|
|
2795
|
-
code:
|
|
2796
|
-
data:
|
|
2794
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2795
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2797
2796
|
} | {
|
|
2798
2797
|
data: {
|
|
2799
2798
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2803,11 +2802,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2803
2802
|
stack?: string | undefined;
|
|
2804
2803
|
};
|
|
2805
2804
|
message: string;
|
|
2806
|
-
code:
|
|
2805
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2807
2806
|
};
|
|
2808
2807
|
transformer: typeof superjson.default;
|
|
2809
2808
|
}>, {
|
|
2810
|
-
create:
|
|
2809
|
+
create: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2811
2810
|
input: {
|
|
2812
2811
|
userId: string;
|
|
2813
2812
|
message?: string | undefined;
|
|
@@ -2820,13 +2819,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2820
2819
|
};
|
|
2821
2820
|
}>;
|
|
2822
2821
|
}>;
|
|
2823
|
-
sso:
|
|
2822
|
+
sso: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2824
2823
|
ctx: {};
|
|
2825
2824
|
meta: object;
|
|
2826
2825
|
errorShape: {
|
|
2827
2826
|
message: string;
|
|
2828
|
-
code:
|
|
2829
|
-
data:
|
|
2827
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2828
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2830
2829
|
} | {
|
|
2831
2830
|
data: {
|
|
2832
2831
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2836,11 +2835,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2836
2835
|
stack?: string | undefined;
|
|
2837
2836
|
};
|
|
2838
2837
|
message: string;
|
|
2839
|
-
code:
|
|
2838
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2840
2839
|
};
|
|
2841
2840
|
transformer: typeof superjson.default;
|
|
2842
2841
|
}>, {
|
|
2843
|
-
keys:
|
|
2842
|
+
keys: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2844
2843
|
input: {
|
|
2845
2844
|
uaSession: string;
|
|
2846
2845
|
uaPub: string;
|
|
@@ -2855,7 +2854,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2855
2854
|
uaSession: string;
|
|
2856
2855
|
};
|
|
2857
2856
|
}>;
|
|
2858
|
-
login:
|
|
2857
|
+
login: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2859
2858
|
input: {
|
|
2860
2859
|
appUrl: string;
|
|
2861
2860
|
appCode?: string | undefined;
|
|
@@ -2873,13 +2872,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2873
2872
|
};
|
|
2874
2873
|
}>;
|
|
2875
2874
|
}>;
|
|
2876
|
-
stripe:
|
|
2875
|
+
stripe: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
2877
2876
|
ctx: {};
|
|
2878
2877
|
meta: object;
|
|
2879
2878
|
errorShape: {
|
|
2880
2879
|
message: string;
|
|
2881
|
-
code:
|
|
2882
|
-
data:
|
|
2880
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2881
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
2883
2882
|
} | {
|
|
2884
2883
|
data: {
|
|
2885
2884
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -2889,11 +2888,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2889
2888
|
stack?: string | undefined;
|
|
2890
2889
|
};
|
|
2891
2890
|
message: string;
|
|
2892
|
-
code:
|
|
2891
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
2893
2892
|
};
|
|
2894
2893
|
transformer: typeof superjson.default;
|
|
2895
2894
|
}>, {
|
|
2896
|
-
addCardToPaymentIntent:
|
|
2895
|
+
addCardToPaymentIntent: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2897
2896
|
input: {
|
|
2898
2897
|
paymentIntentId: string;
|
|
2899
2898
|
sellerId: string;
|
|
@@ -2903,15 +2902,15 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2903
2902
|
isAdded: boolean;
|
|
2904
2903
|
};
|
|
2905
2904
|
}>;
|
|
2906
|
-
balanceTransaction:
|
|
2905
|
+
balanceTransaction: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2907
2906
|
input: {};
|
|
2908
2907
|
output: Record<string, any>;
|
|
2909
2908
|
}>;
|
|
2910
|
-
balance:
|
|
2909
|
+
balance: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2911
2910
|
input: {};
|
|
2912
2911
|
output: Record<string, any>;
|
|
2913
2912
|
}>;
|
|
2914
|
-
cancelPaymentIntent:
|
|
2913
|
+
cancelPaymentIntent: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2915
2914
|
input: {
|
|
2916
2915
|
paymentIntentId: string;
|
|
2917
2916
|
sellerId: string;
|
|
@@ -2920,13 +2919,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2920
2919
|
isCancelled: boolean;
|
|
2921
2920
|
};
|
|
2922
2921
|
}>;
|
|
2923
|
-
cancelPayment:
|
|
2922
|
+
cancelPayment: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2924
2923
|
input: {} | undefined;
|
|
2925
2924
|
output: {
|
|
2926
2925
|
isCancelled: boolean;
|
|
2927
2926
|
};
|
|
2928
2927
|
}>;
|
|
2929
|
-
cancelPayout:
|
|
2928
|
+
cancelPayout: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2930
2929
|
input: {
|
|
2931
2930
|
payoutId: string;
|
|
2932
2931
|
};
|
|
@@ -2934,11 +2933,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2934
2933
|
isCancelled: boolean;
|
|
2935
2934
|
};
|
|
2936
2935
|
}>;
|
|
2937
|
-
cardIdentification:
|
|
2936
|
+
cardIdentification: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
2938
2937
|
input: {};
|
|
2939
2938
|
output: Record<string, any>;
|
|
2940
2939
|
}>;
|
|
2941
|
-
confirmPaymentIntent:
|
|
2940
|
+
confirmPaymentIntent: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2942
2941
|
input: {
|
|
2943
2942
|
paymentIntentId: string;
|
|
2944
2943
|
sellerId: string;
|
|
@@ -2947,7 +2946,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2947
2946
|
isConfirmed: boolean;
|
|
2948
2947
|
};
|
|
2949
2948
|
}>;
|
|
2950
|
-
createCardToken:
|
|
2949
|
+
createCardToken: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2951
2950
|
input: {
|
|
2952
2951
|
cardTokenId: string;
|
|
2953
2952
|
lastFourDigit: string;
|
|
@@ -2956,7 +2955,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2956
2955
|
isCreated: boolean;
|
|
2957
2956
|
};
|
|
2958
2957
|
}>;
|
|
2959
|
-
createPaymentIntent:
|
|
2958
|
+
createPaymentIntent: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2960
2959
|
input: {
|
|
2961
2960
|
userId: string;
|
|
2962
2961
|
amount: number;
|
|
@@ -2966,7 +2965,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2966
2965
|
isCreated: boolean;
|
|
2967
2966
|
};
|
|
2968
2967
|
}>;
|
|
2969
|
-
createPayment:
|
|
2968
|
+
createPayment: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2970
2969
|
input: {
|
|
2971
2970
|
planCode: string;
|
|
2972
2971
|
paymentInput: {
|
|
@@ -2989,7 +2988,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2989
2988
|
isPayed: boolean;
|
|
2990
2989
|
};
|
|
2991
2990
|
}>;
|
|
2992
|
-
createPayout:
|
|
2991
|
+
createPayout: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
2993
2992
|
input: {
|
|
2994
2993
|
amount: number;
|
|
2995
2994
|
currency: string;
|
|
@@ -2999,7 +2998,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
2999
2998
|
isCreated: boolean;
|
|
3000
2999
|
};
|
|
3001
3000
|
}>;
|
|
3002
|
-
createTransfer:
|
|
3001
|
+
createTransfer: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3003
3002
|
input: {
|
|
3004
3003
|
amount: number;
|
|
3005
3004
|
currency: string;
|
|
@@ -3009,7 +3008,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3009
3008
|
isCreated: boolean;
|
|
3010
3009
|
};
|
|
3011
3010
|
}>;
|
|
3012
|
-
deleteCardToken:
|
|
3011
|
+
deleteCardToken: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3013
3012
|
input: {
|
|
3014
3013
|
cardTokenId: string;
|
|
3015
3014
|
};
|
|
@@ -3017,13 +3016,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3017
3016
|
isDeleted: boolean;
|
|
3018
3017
|
};
|
|
3019
3018
|
}>;
|
|
3020
|
-
hasAccount:
|
|
3019
|
+
hasAccount: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3021
3020
|
input: {};
|
|
3022
3021
|
output: {
|
|
3023
3022
|
hasAccount: boolean;
|
|
3024
3023
|
};
|
|
3025
3024
|
}>;
|
|
3026
|
-
invoice:
|
|
3025
|
+
invoice: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3027
3026
|
input: {
|
|
3028
3027
|
appCode: string;
|
|
3029
3028
|
invoiceId: string;
|
|
@@ -3050,7 +3049,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3050
3049
|
invoicePdf?: string | null | undefined;
|
|
3051
3050
|
};
|
|
3052
3051
|
}>;
|
|
3053
|
-
invoices:
|
|
3052
|
+
invoices: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3054
3053
|
input: {
|
|
3055
3054
|
appCode: string;
|
|
3056
3055
|
};
|
|
@@ -3076,7 +3075,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3076
3075
|
invoicePdf?: string | null | undefined;
|
|
3077
3076
|
}[];
|
|
3078
3077
|
}>;
|
|
3079
|
-
isValidPaymentIntent:
|
|
3078
|
+
isValidPaymentIntent: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3080
3079
|
input: {
|
|
3081
3080
|
userId: string;
|
|
3082
3081
|
amount: number;
|
|
@@ -3087,19 +3086,19 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3087
3086
|
isValid: boolean;
|
|
3088
3087
|
};
|
|
3089
3088
|
}>;
|
|
3090
|
-
kycComplete:
|
|
3089
|
+
kycComplete: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3091
3090
|
input: {};
|
|
3092
3091
|
output: {
|
|
3093
3092
|
kycCompleted: boolean;
|
|
3094
3093
|
};
|
|
3095
3094
|
}>;
|
|
3096
|
-
onBoarding:
|
|
3095
|
+
onBoarding: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3097
3096
|
input: {};
|
|
3098
3097
|
output: {
|
|
3099
3098
|
url: string;
|
|
3100
3099
|
};
|
|
3101
3100
|
}>;
|
|
3102
|
-
paymentInfos:
|
|
3101
|
+
paymentInfos: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3103
3102
|
input: {} | undefined;
|
|
3104
3103
|
output: {
|
|
3105
3104
|
invoices: {
|
|
@@ -3132,61 +3131,61 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3132
3131
|
};
|
|
3133
3132
|
} | null;
|
|
3134
3133
|
}>;
|
|
3135
|
-
paymentRequestToCollect:
|
|
3134
|
+
paymentRequestToCollect: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3136
3135
|
input: {
|
|
3137
3136
|
paymentRequestId: string;
|
|
3138
3137
|
};
|
|
3139
3138
|
output: Record<string, unknown>;
|
|
3140
3139
|
}>;
|
|
3141
|
-
paymentsRequestToCollect:
|
|
3140
|
+
paymentsRequestToCollect: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3142
3141
|
input: {};
|
|
3143
3142
|
output: Record<string, unknown>[];
|
|
3144
3143
|
}>;
|
|
3145
|
-
paymentRequestToPay:
|
|
3144
|
+
paymentRequestToPay: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3146
3145
|
input: {
|
|
3147
3146
|
sellerId: string;
|
|
3148
3147
|
paymentRequestId: string;
|
|
3149
3148
|
};
|
|
3150
3149
|
output: Record<string, unknown>;
|
|
3151
3150
|
}>;
|
|
3152
|
-
paymentsRequestToPay:
|
|
3151
|
+
paymentsRequestToPay: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3153
3152
|
input: {};
|
|
3154
3153
|
output: Record<string, unknown>[];
|
|
3155
3154
|
}>;
|
|
3156
|
-
payout:
|
|
3155
|
+
payout: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3157
3156
|
input: {
|
|
3158
3157
|
payoutId: string;
|
|
3159
3158
|
};
|
|
3160
3159
|
output: Record<string, any>;
|
|
3161
3160
|
}>;
|
|
3162
|
-
payouts:
|
|
3161
|
+
payouts: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3163
3162
|
input: {};
|
|
3164
3163
|
output: Record<string, any>;
|
|
3165
3164
|
}>;
|
|
3166
|
-
transaction:
|
|
3165
|
+
transaction: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3167
3166
|
input: {
|
|
3168
3167
|
transactionId: string;
|
|
3169
3168
|
};
|
|
3170
3169
|
output: Record<string, any>;
|
|
3171
3170
|
}>;
|
|
3172
|
-
transfer:
|
|
3171
|
+
transfer: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3173
3172
|
input: {
|
|
3174
3173
|
transferId: string;
|
|
3175
3174
|
};
|
|
3176
3175
|
output: Record<string, any>;
|
|
3177
3176
|
}>;
|
|
3178
|
-
transfers:
|
|
3177
|
+
transfers: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3179
3178
|
input: {};
|
|
3180
3179
|
output: Record<string, any>;
|
|
3181
3180
|
}>;
|
|
3182
3181
|
}>;
|
|
3183
|
-
tech:
|
|
3182
|
+
tech: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
3184
3183
|
ctx: {};
|
|
3185
3184
|
meta: object;
|
|
3186
3185
|
errorShape: {
|
|
3187
3186
|
message: string;
|
|
3188
|
-
code:
|
|
3189
|
-
data:
|
|
3187
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
3188
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
3190
3189
|
} | {
|
|
3191
3190
|
data: {
|
|
3192
3191
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -3196,11 +3195,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3196
3195
|
stack?: string | undefined;
|
|
3197
3196
|
};
|
|
3198
3197
|
message: string;
|
|
3199
|
-
code:
|
|
3198
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
3200
3199
|
};
|
|
3201
3200
|
transformer: typeof superjson.default;
|
|
3202
3201
|
}>, {
|
|
3203
|
-
addDeveloper:
|
|
3202
|
+
addDeveloper: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3204
3203
|
input: {
|
|
3205
3204
|
userId: string;
|
|
3206
3205
|
userRole: "user" | "admin";
|
|
@@ -3211,7 +3210,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3211
3210
|
isAdded: boolean;
|
|
3212
3211
|
};
|
|
3213
3212
|
}>;
|
|
3214
|
-
application:
|
|
3213
|
+
application: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3215
3214
|
input: {
|
|
3216
3215
|
appCode: string;
|
|
3217
3216
|
};
|
|
@@ -3287,7 +3286,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3287
3286
|
} | null)[];
|
|
3288
3287
|
};
|
|
3289
3288
|
}>;
|
|
3290
|
-
applications:
|
|
3289
|
+
applications: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3291
3290
|
input: {
|
|
3292
3291
|
sortBy: "updatedAt" | "users" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
3293
3292
|
};
|
|
@@ -3363,7 +3362,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3363
3362
|
} | null)[];
|
|
3364
3363
|
}[];
|
|
3365
3364
|
}>;
|
|
3366
|
-
createApplication:
|
|
3365
|
+
createApplication: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3367
3366
|
input: {
|
|
3368
3367
|
name: string;
|
|
3369
3368
|
color: string | null;
|
|
@@ -3378,7 +3377,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3378
3377
|
id: string;
|
|
3379
3378
|
};
|
|
3380
3379
|
}>;
|
|
3381
|
-
deleteApplication:
|
|
3380
|
+
deleteApplication: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3382
3381
|
input: {
|
|
3383
3382
|
appCode: string;
|
|
3384
3383
|
};
|
|
@@ -3386,7 +3385,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3386
3385
|
isDeleted: boolean;
|
|
3387
3386
|
};
|
|
3388
3387
|
}>;
|
|
3389
|
-
deleteDeveloper:
|
|
3388
|
+
deleteDeveloper: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3390
3389
|
input: {
|
|
3391
3390
|
developerId: string;
|
|
3392
3391
|
appCode: string;
|
|
@@ -3395,7 +3394,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3395
3394
|
isDeleted: boolean;
|
|
3396
3395
|
};
|
|
3397
3396
|
}>;
|
|
3398
|
-
developer:
|
|
3397
|
+
developer: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3399
3398
|
input: {
|
|
3400
3399
|
developerId: string;
|
|
3401
3400
|
appCode: string;
|
|
@@ -3420,7 +3419,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3420
3419
|
rights: "admin" | "write" | "read";
|
|
3421
3420
|
};
|
|
3422
3421
|
}>;
|
|
3423
|
-
developers:
|
|
3422
|
+
developers: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3424
3423
|
input: {
|
|
3425
3424
|
appCode: string;
|
|
3426
3425
|
};
|
|
@@ -3444,7 +3443,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3444
3443
|
rights: "admin" | "write" | "read";
|
|
3445
3444
|
}[];
|
|
3446
3445
|
}>;
|
|
3447
|
-
renewAppCode:
|
|
3446
|
+
renewAppCode: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3448
3447
|
input: {
|
|
3449
3448
|
appCode: string;
|
|
3450
3449
|
};
|
|
@@ -3452,7 +3451,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3452
3451
|
isRenewed: boolean;
|
|
3453
3452
|
};
|
|
3454
3453
|
}>;
|
|
3455
|
-
setOrigins:
|
|
3454
|
+
setOrigins: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3456
3455
|
input: {
|
|
3457
3456
|
appCode: string;
|
|
3458
3457
|
origins: string[];
|
|
@@ -3461,7 +3460,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3461
3460
|
isUpdated: boolean;
|
|
3462
3461
|
};
|
|
3463
3462
|
}>;
|
|
3464
|
-
updateApplication:
|
|
3463
|
+
updateApplication: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3465
3464
|
input: {
|
|
3466
3465
|
appCode: string;
|
|
3467
3466
|
name?: string | undefined;
|
|
@@ -3472,7 +3471,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3472
3471
|
isUpdated: boolean;
|
|
3473
3472
|
};
|
|
3474
3473
|
}>;
|
|
3475
|
-
updateDeveloper:
|
|
3474
|
+
updateDeveloper: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3476
3475
|
input: {
|
|
3477
3476
|
developerId: string;
|
|
3478
3477
|
appCode: string;
|
|
@@ -3483,7 +3482,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3483
3482
|
isUpdated: boolean;
|
|
3484
3483
|
};
|
|
3485
3484
|
}>;
|
|
3486
|
-
updateOwnership:
|
|
3485
|
+
updateOwnership: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3487
3486
|
input: {
|
|
3488
3487
|
developerId: string;
|
|
3489
3488
|
appCode: string;
|
|
@@ -3493,13 +3492,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3493
3492
|
};
|
|
3494
3493
|
}>;
|
|
3495
3494
|
}>;
|
|
3496
|
-
user:
|
|
3495
|
+
user: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
3497
3496
|
ctx: {};
|
|
3498
3497
|
meta: object;
|
|
3499
3498
|
errorShape: {
|
|
3500
3499
|
message: string;
|
|
3501
|
-
code:
|
|
3502
|
-
data:
|
|
3500
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
3501
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
3503
3502
|
} | {
|
|
3504
3503
|
data: {
|
|
3505
3504
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -3509,11 +3508,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3509
3508
|
stack?: string | undefined;
|
|
3510
3509
|
};
|
|
3511
3510
|
message: string;
|
|
3512
|
-
code:
|
|
3511
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
3513
3512
|
};
|
|
3514
3513
|
transformer: typeof superjson.default;
|
|
3515
3514
|
}>, {
|
|
3516
|
-
byId:
|
|
3515
|
+
byId: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3517
3516
|
input: {
|
|
3518
3517
|
id: string;
|
|
3519
3518
|
};
|
|
@@ -3523,7 +3522,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3523
3522
|
firstname: string;
|
|
3524
3523
|
};
|
|
3525
3524
|
}>;
|
|
3526
|
-
searchMany:
|
|
3525
|
+
searchMany: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3527
3526
|
input: {
|
|
3528
3527
|
search: string;
|
|
3529
3528
|
};
|
|
@@ -3533,19 +3532,19 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3533
3532
|
firstname: string;
|
|
3534
3533
|
}[];
|
|
3535
3534
|
}>;
|
|
3536
|
-
deleteSelfData:
|
|
3535
|
+
deleteSelfData: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3537
3536
|
input: {} | undefined;
|
|
3538
3537
|
output: {
|
|
3539
3538
|
isDeleted: boolean;
|
|
3540
3539
|
};
|
|
3541
3540
|
}>;
|
|
3542
|
-
deleteSelf:
|
|
3541
|
+
deleteSelf: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3543
3542
|
input: {} | undefined;
|
|
3544
3543
|
output: {
|
|
3545
3544
|
isDeleted: boolean;
|
|
3546
3545
|
};
|
|
3547
3546
|
}>;
|
|
3548
|
-
publicKey:
|
|
3547
|
+
publicKey: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3549
3548
|
input: {
|
|
3550
3549
|
id: string;
|
|
3551
3550
|
};
|
|
@@ -3553,7 +3552,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3553
3552
|
pub: string;
|
|
3554
3553
|
};
|
|
3555
3554
|
}>;
|
|
3556
|
-
self:
|
|
3555
|
+
self: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3557
3556
|
input: {} | undefined;
|
|
3558
3557
|
output: {
|
|
3559
3558
|
id: string;
|
|
@@ -3577,7 +3576,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3577
3576
|
firstname: string;
|
|
3578
3577
|
};
|
|
3579
3578
|
}>;
|
|
3580
|
-
updateAutoDisconnectDelay:
|
|
3579
|
+
updateAutoDisconnectDelay: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3581
3580
|
input: {
|
|
3582
3581
|
delay: number;
|
|
3583
3582
|
};
|
|
@@ -3585,7 +3584,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3585
3584
|
isUpdated: boolean;
|
|
3586
3585
|
};
|
|
3587
3586
|
}>;
|
|
3588
|
-
updateProfile:
|
|
3587
|
+
updateProfile: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3589
3588
|
input: {
|
|
3590
3589
|
firstname?: string | null | undefined;
|
|
3591
3590
|
lastname?: string | null | undefined;
|
|
@@ -3600,7 +3599,7 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3600
3599
|
firstname: string;
|
|
3601
3600
|
};
|
|
3602
3601
|
}>;
|
|
3603
|
-
sessions:
|
|
3602
|
+
sessions: _trpc_server_dist_unstable_core_do_not_import.QueryProcedure<{
|
|
3604
3603
|
input: {} | undefined;
|
|
3605
3604
|
output: {
|
|
3606
3605
|
id: string;
|
|
@@ -3629,13 +3628,13 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3629
3628
|
}[];
|
|
3630
3629
|
}>;
|
|
3631
3630
|
}>;
|
|
3632
|
-
webhook:
|
|
3631
|
+
webhook: _trpc_server_dist_unstable_core_do_not_import.CreateRouterInner<_trpc_server_dist_unstable_core_do_not_import.RootConfig<{
|
|
3633
3632
|
ctx: {};
|
|
3634
3633
|
meta: object;
|
|
3635
3634
|
errorShape: {
|
|
3636
3635
|
message: string;
|
|
3637
|
-
code:
|
|
3638
|
-
data:
|
|
3636
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
3637
|
+
data: _trpc_server_dist_unstable_core_do_not_import.DefaultErrorData;
|
|
3639
3638
|
} | {
|
|
3640
3639
|
data: {
|
|
3641
3640
|
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
@@ -3645,11 +3644,11 @@ declare const appRouter: _trpc_server_dist__trpc_core_unstable_do_not_import_thi
|
|
|
3645
3644
|
stack?: string | undefined;
|
|
3646
3645
|
};
|
|
3647
3646
|
message: string;
|
|
3648
|
-
code:
|
|
3647
|
+
code: _trpc_server_dist_unstable_core_do_not_import.TRPC_ERROR_CODE_NUMBER;
|
|
3649
3648
|
};
|
|
3650
3649
|
transformer: typeof superjson.default;
|
|
3651
3650
|
}>, {
|
|
3652
|
-
recurly:
|
|
3651
|
+
recurly: _trpc_server_dist_unstable_core_do_not_import.MutationProcedure<{
|
|
3653
3652
|
input: Record<string, any>;
|
|
3654
3653
|
output: void;
|
|
3655
3654
|
}>;
|