@vitnode/core 1.2.0-canary.48 → 1.2.0-canary.49
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/scripts/plugin.d.ts.map +1 -1
- package/dist/scripts/prepare-database.d.ts.map +1 -1
- package/dist/scripts/prepare-plugins-files.d.ts +1 -1
- package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
- package/dist/scripts/scripts.js +4 -4
- package/dist/src/api/config.d.ts.map +1 -1
- package/dist/src/api/config.js +3 -1
- package/dist/src/api/lib/check-plugin-id.d.ts.map +1 -1
- package/dist/src/api/lib/check-plugin-id.js +2 -0
- package/dist/src/api/lib/with-pagination.d.ts +2 -24
- package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.d.ts +7 -1
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +6 -2
- package/dist/src/api/models/email.d.ts +3 -1
- package/dist/src/api/models/email.d.ts.map +1 -1
- package/dist/src/api/models/email.js +25 -2
- package/dist/src/api/modules/admin/admin.module.d.ts +41 -288
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +23 -131
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +23 -131
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/routes/session.route.d.ts +2 -52
- package/dist/src/api/modules/admin/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts +16 -105
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts +18 -105
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts +16 -105
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/middleware/middleware.module.d.ts +7 -36
- package/dist/src/api/modules/middleware/middleware.module.d.ts.map +1 -1
- package/dist/src/api/modules/middleware/route.d.ts +14 -72
- package/dist/src/api/modules/middleware/route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/session.route.d.ts +2 -54
- package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-in.route.d.ts +5 -27
- package/dist/src/api/modules/users/routes/sign-in.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-in.route.js +1 -1
- package/dist/src/api/modules/users/routes/sign-out.route.d.ts +1 -5
- package/dist/src/api/modules/users/routes/sign-out.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts +8 -36
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-up.route.js +2 -2
- package/dist/src/api/modules/users/routes/test.route.js +1 -1
- package/dist/src/api/modules/users/sso/routes/callback.route.d.ts +3 -19
- package/dist/src/api/modules/users/sso/routes/callback.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts +2 -10
- package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/sso.module.d.ts +5 -29
- package/dist/src/api/modules/users/sso/sso.module.d.ts.map +1 -1
- package/dist/src/api/modules/users/users.module.d.ts +16 -128
- package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
- package/dist/src/components/form/auto-form.d.ts +28 -6
- package/dist/src/components/form/auto-form.d.ts.map +1 -1
- package/dist/src/components/form/auto-form.js +46 -12
- package/dist/src/components/form/fields/checkbox.d.ts +3 -7
- package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
- package/dist/src/components/form/fields/checkbox.js +5 -4
- package/dist/src/components/form/fields/combobox-async.d.ts +3 -6
- package/dist/src/components/form/fields/combobox-async.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox-async.js +4 -4
- package/dist/src/components/form/fields/combobox.d.ts +3 -6
- package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox.js +4 -5
- package/dist/src/components/form/fields/input.d.ts +3 -8
- package/dist/src/components/form/fields/input.d.ts.map +1 -1
- package/dist/src/components/form/fields/input.js +8 -4
- package/dist/src/components/form/fields/radio-group.d.ts +3 -6
- package/dist/src/components/form/fields/radio-group.d.ts.map +1 -1
- package/dist/src/components/form/fields/radio-group.js +4 -5
- package/dist/src/components/form/fields/select.d.ts +3 -6
- package/dist/src/components/form/fields/select.d.ts.map +1 -1
- package/dist/src/components/form/fields/select.js +4 -5
- package/dist/src/components/form/fields/switch.d.ts +2 -6
- package/dist/src/components/form/fields/switch.d.ts.map +1 -1
- package/dist/src/components/form/fields/switch.js +9 -9
- package/dist/src/components/form/fields/textarea.d.ts +3 -4
- package/dist/src/components/form/fields/textarea.d.ts.map +1 -1
- package/dist/src/components/form/fields/textarea.js +5 -3
- package/dist/src/components/ui/button-client.d.ts +3 -0
- package/dist/src/components/ui/button-client.d.ts.map +1 -0
- package/dist/src/components/ui/button-client.js +57 -0
- package/dist/src/components/ui/button.d.ts +2 -3
- package/dist/src/components/ui/button.d.ts.map +1 -1
- package/dist/src/components/ui/button.js +5 -39
- package/dist/src/components/ui/form.d.ts +2 -2
- package/dist/src/components/ui/form.d.ts.map +1 -1
- package/dist/src/components/ui/form.js +2 -2
- package/dist/src/components/ui/loader.js +1 -1
- package/dist/src/emails/default-template.d.ts +5 -1
- package/dist/src/emails/default-template.d.ts.map +1 -1
- package/dist/src/emails/default-template.js +10 -11
- package/dist/src/lib/api/get-middleware-api.d.ts +1 -1
- package/dist/src/lib/api/get-session-admin-api.d.ts +2 -2
- package/dist/src/lib/api/get-session-api.d.ts +2 -2
- package/dist/src/lib/helpers/auto-form.d.ts +18 -8
- package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.js +90 -86
- package/dist/src/lib/helpers/auto-form.test.js +299 -138
- package/dist/src/lib/navigation.d.ts +5 -5
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts +9 -9
- package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts +10 -10
- package/dist/src/views/admin/views/core/test.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/test.js +6 -6
- package/dist/src/views/auth/components/password-input.d.ts +2 -1
- package/dist/src/views/auth/components/password-input.d.ts.map +1 -1
- package/dist/src/views/auth/components/password-input.js +15 -8
- package/dist/src/views/auth/sign-in/form/use-form.d.ts +4 -16
- package/dist/src/views/auth/sign-in/form/use-form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-in/form/use-form.js +1 -1
- package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/form.js +22 -9
- package/dist/src/views/auth/sign-up/form/mutation-api.d.ts +1 -1
- package/dist/src/views/auth/sign-up/form/use-form.d.ts +18 -36
- package/dist/src/views/auth/sign-up/form/use-form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/use-form.js +10 -7
- package/dist/src/vitnode.config.d.ts +3 -0
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -18
- package/dist/src/components/form/fields/item.d.ts +0 -14
- package/dist/src/components/form/fields/item.d.ts.map +0 -1
- package/dist/src/components/form/fields/item.js +0 -22
|
@@ -35,59 +35,9 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
35
35
|
emailVerified: import("zod").ZodBoolean;
|
|
36
36
|
roleId: import("zod").ZodNumber;
|
|
37
37
|
birthday: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
38
|
-
},
|
|
39
|
-
email: string;
|
|
40
|
-
id: number;
|
|
41
|
-
name: string;
|
|
42
|
-
createdAt: Date;
|
|
43
|
-
nameCode: string;
|
|
44
|
-
newsletter: boolean;
|
|
45
|
-
avatarColor: string;
|
|
46
|
-
emailVerified: boolean;
|
|
47
|
-
roleId: number;
|
|
48
|
-
birthday: Date | null;
|
|
49
|
-
}, {
|
|
50
|
-
email: string;
|
|
51
|
-
id: number;
|
|
52
|
-
name: string;
|
|
53
|
-
createdAt: Date;
|
|
54
|
-
nameCode: string;
|
|
55
|
-
newsletter: boolean;
|
|
56
|
-
avatarColor: string;
|
|
57
|
-
emailVerified: boolean;
|
|
58
|
-
roleId: number;
|
|
59
|
-
birthday: Date | null;
|
|
60
|
-
}>;
|
|
38
|
+
}, import("zod/v4/core").$strip>;
|
|
61
39
|
vitnode_version: import("zod").ZodString;
|
|
62
|
-
},
|
|
63
|
-
user: {
|
|
64
|
-
email: string;
|
|
65
|
-
id: number;
|
|
66
|
-
name: string;
|
|
67
|
-
createdAt: Date;
|
|
68
|
-
nameCode: string;
|
|
69
|
-
newsletter: boolean;
|
|
70
|
-
avatarColor: string;
|
|
71
|
-
emailVerified: boolean;
|
|
72
|
-
roleId: number;
|
|
73
|
-
birthday: Date | null;
|
|
74
|
-
};
|
|
75
|
-
vitnode_version: string;
|
|
76
|
-
}, {
|
|
77
|
-
user: {
|
|
78
|
-
email: string;
|
|
79
|
-
id: number;
|
|
80
|
-
name: string;
|
|
81
|
-
createdAt: Date;
|
|
82
|
-
nameCode: string;
|
|
83
|
-
newsletter: boolean;
|
|
84
|
-
avatarColor: string;
|
|
85
|
-
emailVerified: boolean;
|
|
86
|
-
roleId: number;
|
|
87
|
-
birthday: Date | null;
|
|
88
|
-
};
|
|
89
|
-
vitnode_version: string;
|
|
90
|
-
}>;
|
|
40
|
+
}, import("zod/v4/core").$strip>;
|
|
91
41
|
};
|
|
92
42
|
};
|
|
93
43
|
description: string;
|
|
@@ -103,20 +53,20 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
103
53
|
handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/logs", {
|
|
104
54
|
in: {
|
|
105
55
|
query: {
|
|
106
|
-
order?: "asc" | "desc" | undefined;
|
|
107
56
|
cursor?: string | undefined;
|
|
108
|
-
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
109
57
|
first?: string | undefined;
|
|
110
58
|
last?: string | undefined;
|
|
59
|
+
order?: "asc" | "desc" | undefined;
|
|
60
|
+
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
111
61
|
};
|
|
112
62
|
};
|
|
113
63
|
out: {
|
|
114
64
|
query: {
|
|
115
|
-
order?: "asc" | "desc" | undefined;
|
|
116
65
|
cursor?: string | undefined;
|
|
117
|
-
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
118
66
|
first?: string | undefined;
|
|
119
67
|
last?: string | undefined;
|
|
68
|
+
order?: "asc" | "desc" | undefined;
|
|
69
|
+
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
120
70
|
};
|
|
121
71
|
};
|
|
122
72
|
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
@@ -156,22 +106,16 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
156
106
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
157
107
|
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
158
108
|
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
},
|
|
169
|
-
order?: "asc" | "desc" | undefined;
|
|
170
|
-
cursor?: string | undefined;
|
|
171
|
-
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
172
|
-
first?: string | undefined;
|
|
173
|
-
last?: string | undefined;
|
|
174
|
-
}>;
|
|
109
|
+
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
110
|
+
asc: "asc";
|
|
111
|
+
desc: "desc";
|
|
112
|
+
}>>;
|
|
113
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
114
|
+
type: "type";
|
|
115
|
+
createdAt: "createdAt";
|
|
116
|
+
pluginId: "pluginId";
|
|
117
|
+
}>>;
|
|
118
|
+
}, import("zod/v4/core").$strip>;
|
|
175
119
|
};
|
|
176
120
|
responses: {
|
|
177
121
|
200: {
|
|
@@ -181,7 +125,11 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
181
125
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
182
126
|
id: import("zod").ZodNumber;
|
|
183
127
|
pluginId: import("zod").ZodString;
|
|
184
|
-
type: import("zod").ZodEnum<
|
|
128
|
+
type: import("zod").ZodEnum<{
|
|
129
|
+
warn: "warn";
|
|
130
|
+
error: "error";
|
|
131
|
+
debug: "debug";
|
|
132
|
+
}>;
|
|
185
133
|
content: import("zod").ZodString;
|
|
186
134
|
createdAt: import("zod").ZodDate;
|
|
187
135
|
ipAddress: import("zod").ZodString;
|
|
@@ -193,48 +141,8 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
193
141
|
id: import("zod").ZodNumber;
|
|
194
142
|
name: import("zod").ZodString;
|
|
195
143
|
nameCode: import("zod").ZodString;
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
name: string;
|
|
199
|
-
nameCode: string;
|
|
200
|
-
}, {
|
|
201
|
-
id: number;
|
|
202
|
-
name: string;
|
|
203
|
-
nameCode: string;
|
|
204
|
-
}>>;
|
|
205
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
206
|
-
method: string;
|
|
207
|
-
ipAddress: string;
|
|
208
|
-
user: {
|
|
209
|
-
id: number;
|
|
210
|
-
name: string;
|
|
211
|
-
nameCode: string;
|
|
212
|
-
} | null;
|
|
213
|
-
id: number;
|
|
214
|
-
content: string;
|
|
215
|
-
type: "warn" | "error" | "debug";
|
|
216
|
-
createdAt: Date;
|
|
217
|
-
userAgent: string | null;
|
|
218
|
-
path: string;
|
|
219
|
-
pluginId: string;
|
|
220
|
-
statusCode: number;
|
|
221
|
-
}, {
|
|
222
|
-
method: string;
|
|
223
|
-
ipAddress: string;
|
|
224
|
-
user: {
|
|
225
|
-
id: number;
|
|
226
|
-
name: string;
|
|
227
|
-
nameCode: string;
|
|
228
|
-
} | null;
|
|
229
|
-
id: number;
|
|
230
|
-
content: string;
|
|
231
|
-
type: "warn" | "error" | "debug";
|
|
232
|
-
createdAt: Date;
|
|
233
|
-
userAgent: string | null;
|
|
234
|
-
path: string;
|
|
235
|
-
pluginId: string;
|
|
236
|
-
statusCode: number;
|
|
237
|
-
}>, "many">;
|
|
144
|
+
}, import("zod/v4/core").$strip>>;
|
|
145
|
+
}, import("zod/v4/core").$strip>>;
|
|
238
146
|
pageInfo: import("zod").ZodObject<{
|
|
239
147
|
totalCount: import("zod").ZodNumber;
|
|
240
148
|
count: import("zod").ZodNumber;
|
|
@@ -242,74 +150,8 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
242
150
|
hasPreviousPage: import("zod").ZodBoolean;
|
|
243
151
|
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
244
152
|
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
245
|
-
},
|
|
246
|
-
|
|
247
|
-
totalCount: number;
|
|
248
|
-
hasNextPage: boolean;
|
|
249
|
-
hasPreviousPage: boolean;
|
|
250
|
-
startCursor: number | null;
|
|
251
|
-
endCursor: number | null;
|
|
252
|
-
}, {
|
|
253
|
-
count: number;
|
|
254
|
-
totalCount: number;
|
|
255
|
-
hasNextPage: boolean;
|
|
256
|
-
hasPreviousPage: boolean;
|
|
257
|
-
startCursor: number | null;
|
|
258
|
-
endCursor: number | null;
|
|
259
|
-
}>;
|
|
260
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
261
|
-
edges: {
|
|
262
|
-
method: string;
|
|
263
|
-
ipAddress: string;
|
|
264
|
-
user: {
|
|
265
|
-
id: number;
|
|
266
|
-
name: string;
|
|
267
|
-
nameCode: string;
|
|
268
|
-
} | null;
|
|
269
|
-
id: number;
|
|
270
|
-
content: string;
|
|
271
|
-
type: "warn" | "error" | "debug";
|
|
272
|
-
createdAt: Date;
|
|
273
|
-
userAgent: string | null;
|
|
274
|
-
path: string;
|
|
275
|
-
pluginId: string;
|
|
276
|
-
statusCode: number;
|
|
277
|
-
}[];
|
|
278
|
-
pageInfo: {
|
|
279
|
-
count: number;
|
|
280
|
-
totalCount: number;
|
|
281
|
-
hasNextPage: boolean;
|
|
282
|
-
hasPreviousPage: boolean;
|
|
283
|
-
startCursor: number | null;
|
|
284
|
-
endCursor: number | null;
|
|
285
|
-
};
|
|
286
|
-
}, {
|
|
287
|
-
edges: {
|
|
288
|
-
method: string;
|
|
289
|
-
ipAddress: string;
|
|
290
|
-
user: {
|
|
291
|
-
id: number;
|
|
292
|
-
name: string;
|
|
293
|
-
nameCode: string;
|
|
294
|
-
} | null;
|
|
295
|
-
id: number;
|
|
296
|
-
content: string;
|
|
297
|
-
type: "warn" | "error" | "debug";
|
|
298
|
-
createdAt: Date;
|
|
299
|
-
userAgent: string | null;
|
|
300
|
-
path: string;
|
|
301
|
-
pluginId: string;
|
|
302
|
-
statusCode: number;
|
|
303
|
-
}[];
|
|
304
|
-
pageInfo: {
|
|
305
|
-
count: number;
|
|
306
|
-
totalCount: number;
|
|
307
|
-
hasNextPage: boolean;
|
|
308
|
-
hasPreviousPage: boolean;
|
|
309
|
-
startCursor: number | null;
|
|
310
|
-
endCursor: number | null;
|
|
311
|
-
};
|
|
312
|
-
}>;
|
|
153
|
+
}, import("zod/v4/core").$strip>;
|
|
154
|
+
}, import("zod/v4/core").$strip>;
|
|
313
155
|
};
|
|
314
156
|
};
|
|
315
157
|
description: string;
|
|
@@ -322,20 +164,20 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
322
164
|
handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/list", {
|
|
323
165
|
in: {
|
|
324
166
|
query: {
|
|
325
|
-
order?: "asc" | "desc" | undefined;
|
|
326
167
|
cursor?: string | undefined;
|
|
327
|
-
orderBy?: "name" | "createdAt" | undefined;
|
|
328
168
|
first?: string | undefined;
|
|
329
169
|
last?: string | undefined;
|
|
170
|
+
order?: "asc" | "desc" | undefined;
|
|
171
|
+
orderBy?: "name" | "createdAt" | undefined;
|
|
330
172
|
};
|
|
331
173
|
};
|
|
332
174
|
out: {
|
|
333
175
|
query: {
|
|
334
|
-
order?: "asc" | "desc" | undefined;
|
|
335
176
|
cursor?: string | undefined;
|
|
336
|
-
orderBy?: "name" | "createdAt" | undefined;
|
|
337
177
|
first?: string | undefined;
|
|
338
178
|
last?: string | undefined;
|
|
179
|
+
order?: "asc" | "desc" | undefined;
|
|
180
|
+
orderBy?: "name" | "createdAt" | undefined;
|
|
339
181
|
};
|
|
340
182
|
};
|
|
341
183
|
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
@@ -371,22 +213,15 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
371
213
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
372
214
|
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
373
215
|
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}, {
|
|
384
|
-
order?: "asc" | "desc" | undefined;
|
|
385
|
-
cursor?: string | undefined;
|
|
386
|
-
orderBy?: "name" | "createdAt" | undefined;
|
|
387
|
-
first?: string | undefined;
|
|
388
|
-
last?: string | undefined;
|
|
389
|
-
}>;
|
|
216
|
+
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
217
|
+
asc: "asc";
|
|
218
|
+
desc: "desc";
|
|
219
|
+
}>>;
|
|
220
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
221
|
+
name: "name";
|
|
222
|
+
createdAt: "createdAt";
|
|
223
|
+
}>>;
|
|
224
|
+
}, import("zod/v4/core").$strip>;
|
|
390
225
|
};
|
|
391
226
|
responses: {
|
|
392
227
|
200: {
|
|
@@ -405,31 +240,7 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
405
240
|
roleId: import("zod").ZodNumber;
|
|
406
241
|
birthday: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
407
242
|
language: import("zod").ZodString;
|
|
408
|
-
},
|
|
409
|
-
email: string;
|
|
410
|
-
id: number;
|
|
411
|
-
name: string;
|
|
412
|
-
createdAt: Date;
|
|
413
|
-
language: string;
|
|
414
|
-
nameCode: string;
|
|
415
|
-
newsletter: boolean;
|
|
416
|
-
avatarColor: string;
|
|
417
|
-
emailVerified: boolean;
|
|
418
|
-
roleId: number;
|
|
419
|
-
birthday: Date | null;
|
|
420
|
-
}, {
|
|
421
|
-
email: string;
|
|
422
|
-
id: number;
|
|
423
|
-
name: string;
|
|
424
|
-
createdAt: Date;
|
|
425
|
-
language: string;
|
|
426
|
-
nameCode: string;
|
|
427
|
-
newsletter: boolean;
|
|
428
|
-
avatarColor: string;
|
|
429
|
-
emailVerified: boolean;
|
|
430
|
-
roleId: number;
|
|
431
|
-
birthday: Date | null;
|
|
432
|
-
}>, "many">;
|
|
243
|
+
}, import("zod/v4/core").$strip>>;
|
|
433
244
|
pageInfo: import("zod").ZodObject<{
|
|
434
245
|
totalCount: import("zod").ZodNumber;
|
|
435
246
|
count: import("zod").ZodNumber;
|
|
@@ -437,66 +248,8 @@ export declare const adminModule: import("../../../api/lib/module").BuildModuleR
|
|
|
437
248
|
hasPreviousPage: import("zod").ZodBoolean;
|
|
438
249
|
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
439
250
|
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
440
|
-
},
|
|
441
|
-
|
|
442
|
-
totalCount: number;
|
|
443
|
-
hasNextPage: boolean;
|
|
444
|
-
hasPreviousPage: boolean;
|
|
445
|
-
startCursor: number | null;
|
|
446
|
-
endCursor: number | null;
|
|
447
|
-
}, {
|
|
448
|
-
count: number;
|
|
449
|
-
totalCount: number;
|
|
450
|
-
hasNextPage: boolean;
|
|
451
|
-
hasPreviousPage: boolean;
|
|
452
|
-
startCursor: number | null;
|
|
453
|
-
endCursor: number | null;
|
|
454
|
-
}>;
|
|
455
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
456
|
-
edges: {
|
|
457
|
-
email: string;
|
|
458
|
-
id: number;
|
|
459
|
-
name: string;
|
|
460
|
-
createdAt: Date;
|
|
461
|
-
language: string;
|
|
462
|
-
nameCode: string;
|
|
463
|
-
newsletter: boolean;
|
|
464
|
-
avatarColor: string;
|
|
465
|
-
emailVerified: boolean;
|
|
466
|
-
roleId: number;
|
|
467
|
-
birthday: Date | null;
|
|
468
|
-
}[];
|
|
469
|
-
pageInfo: {
|
|
470
|
-
count: number;
|
|
471
|
-
totalCount: number;
|
|
472
|
-
hasNextPage: boolean;
|
|
473
|
-
hasPreviousPage: boolean;
|
|
474
|
-
startCursor: number | null;
|
|
475
|
-
endCursor: number | null;
|
|
476
|
-
};
|
|
477
|
-
}, {
|
|
478
|
-
edges: {
|
|
479
|
-
email: string;
|
|
480
|
-
id: number;
|
|
481
|
-
name: string;
|
|
482
|
-
createdAt: Date;
|
|
483
|
-
language: string;
|
|
484
|
-
nameCode: string;
|
|
485
|
-
newsletter: boolean;
|
|
486
|
-
avatarColor: string;
|
|
487
|
-
emailVerified: boolean;
|
|
488
|
-
roleId: number;
|
|
489
|
-
birthday: Date | null;
|
|
490
|
-
}[];
|
|
491
|
-
pageInfo: {
|
|
492
|
-
count: number;
|
|
493
|
-
totalCount: number;
|
|
494
|
-
hasNextPage: boolean;
|
|
495
|
-
hasPreviousPage: boolean;
|
|
496
|
-
startCursor: number | null;
|
|
497
|
-
endCursor: number | null;
|
|
498
|
-
};
|
|
499
|
-
}>;
|
|
251
|
+
}, import("zod/v4/core").$strip>;
|
|
252
|
+
}, import("zod/v4/core").$strip>;
|
|
500
253
|
};
|
|
501
254
|
};
|
|
502
255
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/admin/admin.module.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"admin.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/admin/admin.module.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oQAKtB,CAAC"}
|
|
@@ -2,20 +2,20 @@ export declare const debugAdminModule: import("../../../lib/module").BuildModule
|
|
|
2
2
|
handler: (c: import("hono").Context<import("../../../middlewares/global.middleware").EnvVitNode, "/logs", {
|
|
3
3
|
in: {
|
|
4
4
|
query: {
|
|
5
|
-
order?: "asc" | "desc" | undefined;
|
|
6
5
|
cursor?: string | undefined;
|
|
7
|
-
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
8
6
|
first?: string | undefined;
|
|
9
7
|
last?: string | undefined;
|
|
8
|
+
order?: "asc" | "desc" | undefined;
|
|
9
|
+
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
out: {
|
|
13
13
|
query: {
|
|
14
|
-
order?: "asc" | "desc" | undefined;
|
|
15
14
|
cursor?: string | undefined;
|
|
16
|
-
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
17
15
|
first?: string | undefined;
|
|
18
16
|
last?: string | undefined;
|
|
17
|
+
order?: "asc" | "desc" | undefined;
|
|
18
|
+
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
@@ -55,22 +55,16 @@ export declare const debugAdminModule: import("../../../lib/module").BuildModule
|
|
|
55
55
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
56
|
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
57
57
|
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
order?: "asc" | "desc" | undefined;
|
|
69
|
-
cursor?: string | undefined;
|
|
70
|
-
orderBy?: "type" | "createdAt" | "pluginId" | undefined;
|
|
71
|
-
first?: string | undefined;
|
|
72
|
-
last?: string | undefined;
|
|
73
|
-
}>;
|
|
58
|
+
order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
59
|
+
asc: "asc";
|
|
60
|
+
desc: "desc";
|
|
61
|
+
}>>;
|
|
62
|
+
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
63
|
+
type: "type";
|
|
64
|
+
createdAt: "createdAt";
|
|
65
|
+
pluginId: "pluginId";
|
|
66
|
+
}>>;
|
|
67
|
+
}, import("zod/v4/core").$strip>;
|
|
74
68
|
};
|
|
75
69
|
responses: {
|
|
76
70
|
200: {
|
|
@@ -80,7 +74,11 @@ export declare const debugAdminModule: import("../../../lib/module").BuildModule
|
|
|
80
74
|
edges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
81
75
|
id: import("zod").ZodNumber;
|
|
82
76
|
pluginId: import("zod").ZodString;
|
|
83
|
-
type: import("zod").ZodEnum<
|
|
77
|
+
type: import("zod").ZodEnum<{
|
|
78
|
+
warn: "warn";
|
|
79
|
+
error: "error";
|
|
80
|
+
debug: "debug";
|
|
81
|
+
}>;
|
|
84
82
|
content: import("zod").ZodString;
|
|
85
83
|
createdAt: import("zod").ZodDate;
|
|
86
84
|
ipAddress: import("zod").ZodString;
|
|
@@ -92,48 +90,8 @@ export declare const debugAdminModule: import("../../../lib/module").BuildModule
|
|
|
92
90
|
id: import("zod").ZodNumber;
|
|
93
91
|
name: import("zod").ZodString;
|
|
94
92
|
nameCode: import("zod").ZodString;
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
name: string;
|
|
98
|
-
nameCode: string;
|
|
99
|
-
}, {
|
|
100
|
-
id: number;
|
|
101
|
-
name: string;
|
|
102
|
-
nameCode: string;
|
|
103
|
-
}>>;
|
|
104
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
105
|
-
method: string;
|
|
106
|
-
ipAddress: string;
|
|
107
|
-
user: {
|
|
108
|
-
id: number;
|
|
109
|
-
name: string;
|
|
110
|
-
nameCode: string;
|
|
111
|
-
} | null;
|
|
112
|
-
id: number;
|
|
113
|
-
content: string;
|
|
114
|
-
type: "warn" | "error" | "debug";
|
|
115
|
-
createdAt: Date;
|
|
116
|
-
userAgent: string | null;
|
|
117
|
-
path: string;
|
|
118
|
-
pluginId: string;
|
|
119
|
-
statusCode: number;
|
|
120
|
-
}, {
|
|
121
|
-
method: string;
|
|
122
|
-
ipAddress: string;
|
|
123
|
-
user: {
|
|
124
|
-
id: number;
|
|
125
|
-
name: string;
|
|
126
|
-
nameCode: string;
|
|
127
|
-
} | null;
|
|
128
|
-
id: number;
|
|
129
|
-
content: string;
|
|
130
|
-
type: "warn" | "error" | "debug";
|
|
131
|
-
createdAt: Date;
|
|
132
|
-
userAgent: string | null;
|
|
133
|
-
path: string;
|
|
134
|
-
pluginId: string;
|
|
135
|
-
statusCode: number;
|
|
136
|
-
}>, "many">;
|
|
93
|
+
}, import("zod/v4/core").$strip>>;
|
|
94
|
+
}, import("zod/v4/core").$strip>>;
|
|
137
95
|
pageInfo: import("zod").ZodObject<{
|
|
138
96
|
totalCount: import("zod").ZodNumber;
|
|
139
97
|
count: import("zod").ZodNumber;
|
|
@@ -141,74 +99,8 @@ export declare const debugAdminModule: import("../../../lib/module").BuildModule
|
|
|
141
99
|
hasPreviousPage: import("zod").ZodBoolean;
|
|
142
100
|
startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
143
101
|
endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
144
|
-
},
|
|
145
|
-
|
|
146
|
-
totalCount: number;
|
|
147
|
-
hasNextPage: boolean;
|
|
148
|
-
hasPreviousPage: boolean;
|
|
149
|
-
startCursor: number | null;
|
|
150
|
-
endCursor: number | null;
|
|
151
|
-
}, {
|
|
152
|
-
count: number;
|
|
153
|
-
totalCount: number;
|
|
154
|
-
hasNextPage: boolean;
|
|
155
|
-
hasPreviousPage: boolean;
|
|
156
|
-
startCursor: number | null;
|
|
157
|
-
endCursor: number | null;
|
|
158
|
-
}>;
|
|
159
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
160
|
-
edges: {
|
|
161
|
-
method: string;
|
|
162
|
-
ipAddress: string;
|
|
163
|
-
user: {
|
|
164
|
-
id: number;
|
|
165
|
-
name: string;
|
|
166
|
-
nameCode: string;
|
|
167
|
-
} | null;
|
|
168
|
-
id: number;
|
|
169
|
-
content: string;
|
|
170
|
-
type: "warn" | "error" | "debug";
|
|
171
|
-
createdAt: Date;
|
|
172
|
-
userAgent: string | null;
|
|
173
|
-
path: string;
|
|
174
|
-
pluginId: string;
|
|
175
|
-
statusCode: number;
|
|
176
|
-
}[];
|
|
177
|
-
pageInfo: {
|
|
178
|
-
count: number;
|
|
179
|
-
totalCount: number;
|
|
180
|
-
hasNextPage: boolean;
|
|
181
|
-
hasPreviousPage: boolean;
|
|
182
|
-
startCursor: number | null;
|
|
183
|
-
endCursor: number | null;
|
|
184
|
-
};
|
|
185
|
-
}, {
|
|
186
|
-
edges: {
|
|
187
|
-
method: string;
|
|
188
|
-
ipAddress: string;
|
|
189
|
-
user: {
|
|
190
|
-
id: number;
|
|
191
|
-
name: string;
|
|
192
|
-
nameCode: string;
|
|
193
|
-
} | null;
|
|
194
|
-
id: number;
|
|
195
|
-
content: string;
|
|
196
|
-
type: "warn" | "error" | "debug";
|
|
197
|
-
createdAt: Date;
|
|
198
|
-
userAgent: string | null;
|
|
199
|
-
path: string;
|
|
200
|
-
pluginId: string;
|
|
201
|
-
statusCode: number;
|
|
202
|
-
}[];
|
|
203
|
-
pageInfo: {
|
|
204
|
-
count: number;
|
|
205
|
-
totalCount: number;
|
|
206
|
-
hasNextPage: boolean;
|
|
207
|
-
hasPreviousPage: boolean;
|
|
208
|
-
startCursor: number | null;
|
|
209
|
-
endCursor: number | null;
|
|
210
|
-
};
|
|
211
|
-
}>;
|
|
102
|
+
}, import("zod/v4/core").$strip>;
|
|
103
|
+
}, import("zod/v4/core").$strip>;
|
|
212
104
|
};
|
|
213
105
|
};
|
|
214
106
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.admin.module.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/admin/debug/debug.admin.module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"debug.admin.module.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/admin/debug/debug.admin.module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sQAI3B,CAAC"}
|