@polinetwork/backend 0.8.2 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +47 -38
- package/dist/index.d.ts +47 -38
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as _trpc_server from '@trpc/server';
|
|
2
2
|
import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable-core-do-not-import';
|
|
3
|
-
import * as zod from 'zod';
|
|
4
|
-
import { z } from 'zod';
|
|
5
3
|
import * as better_auth from 'better-auth';
|
|
4
|
+
import { z } from 'zod/v4';
|
|
6
5
|
|
|
7
6
|
declare const TRPC_PATH = "/api/trpc";
|
|
8
7
|
declare const AUTH_PATH = "/api/auth";
|
|
@@ -28,7 +27,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
28
27
|
meta: object;
|
|
29
28
|
errorShape: {
|
|
30
29
|
data: {
|
|
31
|
-
zodError:
|
|
30
|
+
zodError: {
|
|
31
|
+
errors: string[];
|
|
32
|
+
} | null;
|
|
32
33
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
33
34
|
httpStatus: number;
|
|
34
35
|
path?: string;
|
|
@@ -46,7 +47,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
46
47
|
meta: object;
|
|
47
48
|
errorShape: {
|
|
48
49
|
data: {
|
|
49
|
-
zodError:
|
|
50
|
+
zodError: {
|
|
51
|
+
errors: string[];
|
|
52
|
+
} | null;
|
|
50
53
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
51
54
|
httpStatus: number;
|
|
52
55
|
path?: string;
|
|
@@ -78,7 +81,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
78
81
|
meta: object;
|
|
79
82
|
errorShape: {
|
|
80
83
|
data: {
|
|
81
|
-
zodError:
|
|
84
|
+
zodError: {
|
|
85
|
+
errors: string[];
|
|
86
|
+
} | null;
|
|
82
87
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
83
88
|
httpStatus: number;
|
|
84
89
|
path?: string;
|
|
@@ -96,7 +101,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
96
101
|
meta: object;
|
|
97
102
|
errorShape: {
|
|
98
103
|
data: {
|
|
99
|
-
zodError:
|
|
104
|
+
zodError: {
|
|
105
|
+
errors: string[];
|
|
106
|
+
} | null;
|
|
100
107
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
101
108
|
httpStatus: number;
|
|
102
109
|
path?: string;
|
|
@@ -120,14 +127,16 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
120
127
|
search: _trpc_server.TRPCQueryProcedure<{
|
|
121
128
|
input: {
|
|
122
129
|
query: string;
|
|
130
|
+
limit?: number | undefined;
|
|
123
131
|
};
|
|
124
132
|
output: {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
133
|
+
groups: {
|
|
134
|
+
telegramId: number;
|
|
135
|
+
title: string;
|
|
136
|
+
link: string | null;
|
|
137
|
+
}[];
|
|
138
|
+
count: number;
|
|
139
|
+
};
|
|
131
140
|
}>;
|
|
132
141
|
getById: _trpc_server.TRPCQueryProcedure<{
|
|
133
142
|
input: {
|
|
@@ -143,9 +152,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
143
152
|
}>;
|
|
144
153
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
145
154
|
input: {
|
|
146
|
-
link: string;
|
|
147
|
-
telegramId: number;
|
|
148
155
|
title: string;
|
|
156
|
+
telegramId: number;
|
|
157
|
+
link: string;
|
|
149
158
|
}[];
|
|
150
159
|
output: number[];
|
|
151
160
|
}>;
|
|
@@ -163,7 +172,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
163
172
|
meta: object;
|
|
164
173
|
errorShape: {
|
|
165
174
|
data: {
|
|
166
|
-
zodError:
|
|
175
|
+
zodError: {
|
|
176
|
+
errors: string[];
|
|
177
|
+
} | null;
|
|
167
178
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
168
179
|
httpStatus: number;
|
|
169
180
|
path?: string;
|
|
@@ -201,8 +212,8 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
201
212
|
addGroup: _trpc_server.TRPCQueryProcedure<{
|
|
202
213
|
input: {
|
|
203
214
|
userId: number;
|
|
204
|
-
groupId: number;
|
|
205
215
|
adderId: number;
|
|
216
|
+
groupId: number;
|
|
206
217
|
};
|
|
207
218
|
output: void;
|
|
208
219
|
}>;
|
|
@@ -211,11 +222,11 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
211
222
|
userId: number;
|
|
212
223
|
};
|
|
213
224
|
output: {
|
|
214
|
-
error: null;
|
|
215
225
|
allowed: boolean;
|
|
226
|
+
error: null;
|
|
216
227
|
} | {
|
|
217
|
-
error: "NOT_FOUND";
|
|
218
228
|
allowed: false;
|
|
229
|
+
error: "NOT_FOUND";
|
|
219
230
|
};
|
|
220
231
|
}>;
|
|
221
232
|
}>>;
|
|
@@ -226,7 +237,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
226
237
|
meta: object;
|
|
227
238
|
errorShape: {
|
|
228
239
|
data: {
|
|
229
|
-
zodError:
|
|
240
|
+
zodError: {
|
|
241
|
+
errors: string[];
|
|
242
|
+
} | null;
|
|
230
243
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
231
244
|
httpStatus: number;
|
|
232
245
|
path?: string;
|
|
@@ -239,9 +252,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
239
252
|
}, _trpc_server_unstable_core_do_not_import.DecorateCreateRouterOptions<{
|
|
240
253
|
link: _trpc_server.TRPCQueryProcedure<{
|
|
241
254
|
input: {
|
|
255
|
+
code: string;
|
|
242
256
|
telegramId: number;
|
|
243
257
|
telegramUsername: string;
|
|
244
|
-
code: string;
|
|
245
258
|
};
|
|
246
259
|
output: {
|
|
247
260
|
success: boolean;
|
|
@@ -259,7 +272,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
259
272
|
meta: object;
|
|
260
273
|
errorShape: {
|
|
261
274
|
data: {
|
|
262
|
-
zodError:
|
|
275
|
+
zodError: {
|
|
276
|
+
errors: string[];
|
|
277
|
+
} | null;
|
|
263
278
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
264
279
|
httpStatus: number;
|
|
265
280
|
path?: string;
|
|
@@ -276,17 +291,17 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
276
291
|
messageId: number;
|
|
277
292
|
};
|
|
278
293
|
output: {
|
|
279
|
-
error: null;
|
|
280
294
|
message: {
|
|
281
295
|
chatId: number;
|
|
282
296
|
messageId: number;
|
|
283
297
|
authorId: number;
|
|
284
|
-
timestamp: Date;
|
|
285
298
|
message: string;
|
|
299
|
+
timestamp: Date;
|
|
286
300
|
};
|
|
301
|
+
error: null;
|
|
287
302
|
} | {
|
|
288
|
-
error: "NOT_FOUND" | "DECRYPT_ERROR";
|
|
289
303
|
message: null;
|
|
304
|
+
error: "NOT_FOUND" | "DECRYPT_ERROR";
|
|
290
305
|
};
|
|
291
306
|
}>;
|
|
292
307
|
add: _trpc_server.TRPCMutationProcedure<{
|
|
@@ -295,8 +310,8 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
295
310
|
chatId: number;
|
|
296
311
|
messageId: number;
|
|
297
312
|
authorId: number;
|
|
298
|
-
timestamp: Date;
|
|
299
313
|
message: string;
|
|
314
|
+
timestamp: Date;
|
|
300
315
|
}[];
|
|
301
316
|
};
|
|
302
317
|
output: {
|
|
@@ -311,7 +326,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
311
326
|
meta: object;
|
|
312
327
|
errorShape: {
|
|
313
328
|
data: {
|
|
314
|
-
zodError:
|
|
329
|
+
zodError: {
|
|
330
|
+
errors: string[];
|
|
331
|
+
} | null;
|
|
315
332
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
316
333
|
httpStatus: number;
|
|
317
334
|
path?: string;
|
|
@@ -324,10 +341,10 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
324
341
|
}, _trpc_server_unstable_core_do_not_import.DecorateCreateRouterOptions<{
|
|
325
342
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
326
343
|
input: {
|
|
327
|
-
groupId: number | null;
|
|
328
344
|
adminId: number;
|
|
329
345
|
targetId: number;
|
|
330
346
|
type: "ban" | "kick" | "mute" | "ban_all" | "mute_all";
|
|
347
|
+
groupId: number | null;
|
|
331
348
|
until: Date | null;
|
|
332
349
|
reason?: string | undefined;
|
|
333
350
|
};
|
|
@@ -432,12 +449,8 @@ declare const telegramPlugin: () => {
|
|
|
432
449
|
};
|
|
433
450
|
}>)[];
|
|
434
451
|
body: z.ZodObject<{
|
|
435
|
-
telegramUsername: z.
|
|
436
|
-
},
|
|
437
|
-
telegramUsername: string;
|
|
438
|
-
}, {
|
|
439
|
-
telegramUsername: string;
|
|
440
|
-
}>;
|
|
452
|
+
telegramUsername: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
453
|
+
}, z.core.$strip>;
|
|
441
454
|
} & {
|
|
442
455
|
use: any[];
|
|
443
456
|
};
|
|
@@ -503,11 +516,7 @@ declare const telegramPlugin: () => {
|
|
|
503
516
|
}>)[];
|
|
504
517
|
query: z.ZodObject<{
|
|
505
518
|
code: z.ZodString;
|
|
506
|
-
},
|
|
507
|
-
code: string;
|
|
508
|
-
}, {
|
|
509
|
-
code: string;
|
|
510
|
-
}>;
|
|
519
|
+
}, z.core.$strip>;
|
|
511
520
|
} & {
|
|
512
521
|
use: any[];
|
|
513
522
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as _trpc_server from '@trpc/server';
|
|
2
2
|
import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable-core-do-not-import';
|
|
3
|
-
import * as zod from 'zod';
|
|
4
|
-
import { z } from 'zod';
|
|
5
3
|
import * as better_auth from 'better-auth';
|
|
4
|
+
import { z } from 'zod/v4';
|
|
6
5
|
|
|
7
6
|
declare const TRPC_PATH = "/api/trpc";
|
|
8
7
|
declare const AUTH_PATH = "/api/auth";
|
|
@@ -28,7 +27,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
28
27
|
meta: object;
|
|
29
28
|
errorShape: {
|
|
30
29
|
data: {
|
|
31
|
-
zodError:
|
|
30
|
+
zodError: {
|
|
31
|
+
errors: string[];
|
|
32
|
+
} | null;
|
|
32
33
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
33
34
|
httpStatus: number;
|
|
34
35
|
path?: string;
|
|
@@ -46,7 +47,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
46
47
|
meta: object;
|
|
47
48
|
errorShape: {
|
|
48
49
|
data: {
|
|
49
|
-
zodError:
|
|
50
|
+
zodError: {
|
|
51
|
+
errors: string[];
|
|
52
|
+
} | null;
|
|
50
53
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
51
54
|
httpStatus: number;
|
|
52
55
|
path?: string;
|
|
@@ -78,7 +81,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
78
81
|
meta: object;
|
|
79
82
|
errorShape: {
|
|
80
83
|
data: {
|
|
81
|
-
zodError:
|
|
84
|
+
zodError: {
|
|
85
|
+
errors: string[];
|
|
86
|
+
} | null;
|
|
82
87
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
83
88
|
httpStatus: number;
|
|
84
89
|
path?: string;
|
|
@@ -96,7 +101,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
96
101
|
meta: object;
|
|
97
102
|
errorShape: {
|
|
98
103
|
data: {
|
|
99
|
-
zodError:
|
|
104
|
+
zodError: {
|
|
105
|
+
errors: string[];
|
|
106
|
+
} | null;
|
|
100
107
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
101
108
|
httpStatus: number;
|
|
102
109
|
path?: string;
|
|
@@ -120,14 +127,16 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
120
127
|
search: _trpc_server.TRPCQueryProcedure<{
|
|
121
128
|
input: {
|
|
122
129
|
query: string;
|
|
130
|
+
limit?: number | undefined;
|
|
123
131
|
};
|
|
124
132
|
output: {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
133
|
+
groups: {
|
|
134
|
+
telegramId: number;
|
|
135
|
+
title: string;
|
|
136
|
+
link: string | null;
|
|
137
|
+
}[];
|
|
138
|
+
count: number;
|
|
139
|
+
};
|
|
131
140
|
}>;
|
|
132
141
|
getById: _trpc_server.TRPCQueryProcedure<{
|
|
133
142
|
input: {
|
|
@@ -143,9 +152,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
143
152
|
}>;
|
|
144
153
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
145
154
|
input: {
|
|
146
|
-
link: string;
|
|
147
|
-
telegramId: number;
|
|
148
155
|
title: string;
|
|
156
|
+
telegramId: number;
|
|
157
|
+
link: string;
|
|
149
158
|
}[];
|
|
150
159
|
output: number[];
|
|
151
160
|
}>;
|
|
@@ -163,7 +172,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
163
172
|
meta: object;
|
|
164
173
|
errorShape: {
|
|
165
174
|
data: {
|
|
166
|
-
zodError:
|
|
175
|
+
zodError: {
|
|
176
|
+
errors: string[];
|
|
177
|
+
} | null;
|
|
167
178
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
168
179
|
httpStatus: number;
|
|
169
180
|
path?: string;
|
|
@@ -201,8 +212,8 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
201
212
|
addGroup: _trpc_server.TRPCQueryProcedure<{
|
|
202
213
|
input: {
|
|
203
214
|
userId: number;
|
|
204
|
-
groupId: number;
|
|
205
215
|
adderId: number;
|
|
216
|
+
groupId: number;
|
|
206
217
|
};
|
|
207
218
|
output: void;
|
|
208
219
|
}>;
|
|
@@ -211,11 +222,11 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
211
222
|
userId: number;
|
|
212
223
|
};
|
|
213
224
|
output: {
|
|
214
|
-
error: null;
|
|
215
225
|
allowed: boolean;
|
|
226
|
+
error: null;
|
|
216
227
|
} | {
|
|
217
|
-
error: "NOT_FOUND";
|
|
218
228
|
allowed: false;
|
|
229
|
+
error: "NOT_FOUND";
|
|
219
230
|
};
|
|
220
231
|
}>;
|
|
221
232
|
}>>;
|
|
@@ -226,7 +237,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
226
237
|
meta: object;
|
|
227
238
|
errorShape: {
|
|
228
239
|
data: {
|
|
229
|
-
zodError:
|
|
240
|
+
zodError: {
|
|
241
|
+
errors: string[];
|
|
242
|
+
} | null;
|
|
230
243
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
231
244
|
httpStatus: number;
|
|
232
245
|
path?: string;
|
|
@@ -239,9 +252,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
239
252
|
}, _trpc_server_unstable_core_do_not_import.DecorateCreateRouterOptions<{
|
|
240
253
|
link: _trpc_server.TRPCQueryProcedure<{
|
|
241
254
|
input: {
|
|
255
|
+
code: string;
|
|
242
256
|
telegramId: number;
|
|
243
257
|
telegramUsername: string;
|
|
244
|
-
code: string;
|
|
245
258
|
};
|
|
246
259
|
output: {
|
|
247
260
|
success: boolean;
|
|
@@ -259,7 +272,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
259
272
|
meta: object;
|
|
260
273
|
errorShape: {
|
|
261
274
|
data: {
|
|
262
|
-
zodError:
|
|
275
|
+
zodError: {
|
|
276
|
+
errors: string[];
|
|
277
|
+
} | null;
|
|
263
278
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
264
279
|
httpStatus: number;
|
|
265
280
|
path?: string;
|
|
@@ -276,17 +291,17 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
276
291
|
messageId: number;
|
|
277
292
|
};
|
|
278
293
|
output: {
|
|
279
|
-
error: null;
|
|
280
294
|
message: {
|
|
281
295
|
chatId: number;
|
|
282
296
|
messageId: number;
|
|
283
297
|
authorId: number;
|
|
284
|
-
timestamp: Date;
|
|
285
298
|
message: string;
|
|
299
|
+
timestamp: Date;
|
|
286
300
|
};
|
|
301
|
+
error: null;
|
|
287
302
|
} | {
|
|
288
|
-
error: "NOT_FOUND" | "DECRYPT_ERROR";
|
|
289
303
|
message: null;
|
|
304
|
+
error: "NOT_FOUND" | "DECRYPT_ERROR";
|
|
290
305
|
};
|
|
291
306
|
}>;
|
|
292
307
|
add: _trpc_server.TRPCMutationProcedure<{
|
|
@@ -295,8 +310,8 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
295
310
|
chatId: number;
|
|
296
311
|
messageId: number;
|
|
297
312
|
authorId: number;
|
|
298
|
-
timestamp: Date;
|
|
299
313
|
message: string;
|
|
314
|
+
timestamp: Date;
|
|
300
315
|
}[];
|
|
301
316
|
};
|
|
302
317
|
output: {
|
|
@@ -311,7 +326,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
311
326
|
meta: object;
|
|
312
327
|
errorShape: {
|
|
313
328
|
data: {
|
|
314
|
-
zodError:
|
|
329
|
+
zodError: {
|
|
330
|
+
errors: string[];
|
|
331
|
+
} | null;
|
|
315
332
|
code: _trpc_server_unstable_core_do_not_import.TRPC_ERROR_CODE_KEY;
|
|
316
333
|
httpStatus: number;
|
|
317
334
|
path?: string;
|
|
@@ -324,10 +341,10 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
324
341
|
}, _trpc_server_unstable_core_do_not_import.DecorateCreateRouterOptions<{
|
|
325
342
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
326
343
|
input: {
|
|
327
|
-
groupId: number | null;
|
|
328
344
|
adminId: number;
|
|
329
345
|
targetId: number;
|
|
330
346
|
type: "ban" | "kick" | "mute" | "ban_all" | "mute_all";
|
|
347
|
+
groupId: number | null;
|
|
331
348
|
until: Date | null;
|
|
332
349
|
reason?: string | undefined;
|
|
333
350
|
};
|
|
@@ -432,12 +449,8 @@ declare const telegramPlugin: () => {
|
|
|
432
449
|
};
|
|
433
450
|
}>)[];
|
|
434
451
|
body: z.ZodObject<{
|
|
435
|
-
telegramUsername: z.
|
|
436
|
-
},
|
|
437
|
-
telegramUsername: string;
|
|
438
|
-
}, {
|
|
439
|
-
telegramUsername: string;
|
|
440
|
-
}>;
|
|
452
|
+
telegramUsername: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
453
|
+
}, z.core.$strip>;
|
|
441
454
|
} & {
|
|
442
455
|
use: any[];
|
|
443
456
|
};
|
|
@@ -503,11 +516,7 @@ declare const telegramPlugin: () => {
|
|
|
503
516
|
}>)[];
|
|
504
517
|
query: z.ZodObject<{
|
|
505
518
|
code: z.ZodString;
|
|
506
|
-
},
|
|
507
|
-
code: string;
|
|
508
|
-
}, {
|
|
509
|
-
code: string;
|
|
510
|
-
}>;
|
|
519
|
+
}, z.core.$strip>;
|
|
511
520
|
} & {
|
|
512
521
|
use: any[];
|
|
513
522
|
};
|