@vitnode/core 1.2.0-canary.55 → 1.2.0-canary.56

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.
Files changed (68) hide show
  1. package/dist/scripts/scripts.js +3 -3
  2. package/dist/src/api/lib/route.d.ts +9 -16
  3. package/dist/src/api/lib/route.d.ts.map +1 -1
  4. package/dist/src/api/lib/route.js +1 -1
  5. package/dist/src/api/modules/admin/admin.module.d.ts +217 -393
  6. package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
  7. package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts +86 -150
  8. package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts.map +1 -1
  9. package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts +86 -150
  10. package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts.map +1 -1
  11. package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts +48 -91
  12. package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts.map +1 -1
  13. package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts +39 -60
  14. package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts.map +1 -1
  15. package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +56 -105
  16. package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts.map +1 -1
  17. package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +56 -105
  18. package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts.map +1 -1
  19. package/dist/src/api/modules/admin/routes/session.route.d.ts +29 -47
  20. package/dist/src/api/modules/admin/routes/session.route.d.ts.map +1 -1
  21. package/dist/src/api/modules/admin/users/routes/list.route.d.ts +49 -94
  22. package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
  23. package/dist/src/api/modules/admin/users/routes/users.route.d.ts +54 -99
  24. package/dist/src/api/modules/admin/users/routes/users.route.d.ts.map +1 -1
  25. package/dist/src/api/modules/admin/users/users.admin.module.d.ts +49 -94
  26. package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
  27. package/dist/src/api/modules/cron/cron.module.d.ts +17 -21
  28. package/dist/src/api/modules/cron/cron.module.d.ts.map +1 -1
  29. package/dist/src/api/modules/cron/routes/cron.route.d.ts +17 -21
  30. package/dist/src/api/modules/cron/routes/cron.route.d.ts.map +1 -1
  31. package/dist/src/api/modules/middleware/middleware.module.d.ts +26 -40
  32. package/dist/src/api/modules/middleware/middleware.module.d.ts.map +1 -1
  33. package/dist/src/api/modules/middleware/route.d.ts +26 -40
  34. package/dist/src/api/modules/middleware/route.d.ts.map +1 -1
  35. package/dist/src/api/modules/users/routes/change-password.route.d.ts +21 -40
  36. package/dist/src/api/modules/users/routes/change-password.route.d.ts.map +1 -1
  37. package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts +20 -35
  38. package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts.map +1 -1
  39. package/dist/src/api/modules/users/routes/session.route.d.ts +27 -45
  40. package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
  41. package/dist/src/api/modules/users/routes/sign-in.route.d.ts +30 -52
  42. package/dist/src/api/modules/users/routes/sign-in.route.d.ts.map +1 -1
  43. package/dist/src/api/modules/users/routes/sign-out.route.d.ts +21 -36
  44. package/dist/src/api/modules/users/routes/sign-out.route.d.ts.map +1 -1
  45. package/dist/src/api/modules/users/routes/sign-up.route.d.ts +36 -61
  46. package/dist/src/api/modules/users/routes/sign-up.route.d.ts.map +1 -1
  47. package/dist/src/api/modules/users/routes/test.route.d.ts +19 -23
  48. package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
  49. package/dist/src/api/modules/users/sso/routes/callback.route.d.ts +28 -59
  50. package/dist/src/api/modules/users/sso/routes/callback.route.d.ts.map +1 -1
  51. package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts +20 -37
  52. package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts.map +1 -1
  53. package/dist/src/api/modules/users/sso/sso.module.d.ts +47 -95
  54. package/dist/src/api/modules/users/sso/sso.module.d.ts.map +1 -1
  55. package/dist/src/api/modules/users/users.module.d.ts +212 -378
  56. package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
  57. package/dist/src/components/ui/sidebar.d.ts.map +1 -1
  58. package/dist/src/components/ui/sidebar.js +1 -0
  59. package/dist/src/hooks/use-captcha.d.ts.map +1 -1
  60. package/dist/src/hooks/use-captcha.js +3 -0
  61. package/dist/src/views/auth/sign-up/form/use-form.js +2 -2
  62. package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
  63. package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
  64. package/dist/src/views/auth/sign-up/wrapper.js +4 -4
  65. package/dist/src/views/layouts/provider.d.ts.map +1 -1
  66. package/dist/src/views/layouts/provider.js +1 -0
  67. package/dist/tsconfig.tsbuildinfo +1 -1
  68. package/package.json +38 -38
@@ -1,424 +1,248 @@
1
- export declare const adminModule: import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "admin", [{
2
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/session", {}>) => Response & import("hono").TypedResponse<{
3
- user: {
4
- avatarColor: string;
5
- birthday: string | null;
6
- createdAt: string;
7
- email: string;
8
- emailVerified: boolean;
9
- id: number;
10
- name: string;
11
- nameCode: string;
12
- newsletter: boolean;
13
- roleId: number;
14
- };
15
- vitnode_version: string;
16
- }, 200 | 403, "json">;
17
- pluginId: "@vitnode/core";
18
- route: {
19
- method: "get";
20
- description: string;
21
- path: "/session";
22
- responses: {
23
- 200: {
24
- content: {
25
- "application/json": {
26
- schema: import("zod").ZodObject<{
27
- user: import("zod").ZodObject<{
28
- id: import("zod").ZodNumber;
29
- email: import("zod").ZodString;
30
- name: import("zod").ZodString;
31
- nameCode: import("zod").ZodString;
32
- createdAt: import("zod").ZodDate;
33
- newsletter: import("zod").ZodBoolean;
34
- avatarColor: import("zod").ZodString;
35
- emailVerified: import("zod").ZodBoolean;
36
- roleId: import("zod").ZodNumber;
37
- birthday: import("zod").ZodNullable<import("zod").ZodDate>;
38
- }, import("zod/v4/core").$strip>;
39
- vitnode_version: import("zod").ZodString;
1
+ export declare const adminModule: import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "admin", [import("../../lib/route").Route<"@vitnode/core", {
2
+ method: "get";
3
+ description: string;
4
+ path: "/session";
5
+ responses: {
6
+ 200: {
7
+ content: {
8
+ "application/json": {
9
+ schema: import("zod").ZodObject<{
10
+ user: import("zod").ZodObject<{
11
+ id: import("zod").ZodNumber;
12
+ email: import("zod").ZodString;
13
+ name: import("zod").ZodString;
14
+ nameCode: import("zod").ZodString;
15
+ createdAt: import("zod").ZodDate;
16
+ newsletter: import("zod").ZodBoolean;
17
+ avatarColor: import("zod").ZodString;
18
+ emailVerified: import("zod").ZodBoolean;
19
+ roleId: import("zod").ZodNumber;
20
+ birthday: import("zod").ZodNullable<import("zod").ZodDate>;
40
21
  }, import("zod/v4/core").$strip>;
41
- };
22
+ vitnode_version: import("zod").ZodString;
23
+ }, import("zod/v4/core").$strip>;
42
24
  };
43
- description: string;
44
- };
45
- 403: {
46
- description: string;
47
- };
48
- };
49
- } & {
50
- getRoutingPath: () => "/session";
51
- };
52
- }], (import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "advanced", [], import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "cron", [{
53
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/", {
54
- in: {
55
- query: {
56
- cursor?: string | undefined;
57
- first?: string | undefined;
58
- last?: string | undefined;
59
- order?: "asc" | "desc" | undefined;
60
- orderBy?: "createdAt" | "lastRun" | "nextRun" | undefined;
61
- };
62
- };
63
- out: {
64
- query: {
65
- cursor?: string | undefined;
66
- first?: string | undefined;
67
- last?: string | undefined;
68
- order?: "asc" | "desc" | undefined;
69
- orderBy?: "createdAt" | "lastRun" | "nextRun" | undefined;
70
25
  };
26
+ description: string;
71
27
  };
72
- }>) => Promise<Response & import("hono").TypedResponse<{
73
- edges: {
74
- id: number;
75
- name: string;
76
- description: string | null;
77
- lastRun: string | null;
78
- createdAt: string;
79
- pluginId: string;
80
- module: string;
81
- nextRun: string | null;
82
- schedule: string;
83
- }[];
84
- pageInfo: {
85
- count: number;
86
- endCursor: null | number;
87
- hasNextPage: boolean;
88
- hasPreviousPage: boolean;
89
- startCursor: null | number;
90
- totalCount: number;
91
- };
92
- }, 200, "json">>;
93
- pluginId: "@vitnode/core";
94
- route: {
95
- method: "get";
96
- description: string;
97
- path: "/";
98
- request: {
99
- query: import("zod").ZodObject<{
100
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
101
- first: import("zod").ZodOptional<import("zod").ZodString>;
102
- last: import("zod").ZodOptional<import("zod").ZodString>;
103
- order: import("zod").ZodOptional<import("zod").ZodEnum<{
104
- asc: "asc";
105
- desc: "desc";
106
- }>>;
107
- orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
108
- createdAt: "createdAt";
109
- lastRun: "lastRun";
110
- nextRun: "nextRun";
111
- }>>;
112
- }, import("zod/v4/core").$strip>;
28
+ 403: {
29
+ description: string;
113
30
  };
114
- responses: {
115
- 200: {
116
- content: {
117
- "application/json": {
118
- schema: import("zod").ZodObject<{
119
- edges: import("zod").ZodArray<import("zod").ZodObject<{
120
- id: import("zod").ZodNumber;
121
- createdAt: import("zod").ZodDate;
122
- name: import("zod").ZodString;
123
- description: import("zod").ZodNullable<import("zod").ZodString>;
124
- pluginId: import("zod").ZodString;
125
- module: import("zod").ZodString;
126
- lastRun: import("zod").ZodNullable<import("zod").ZodDate>;
127
- nextRun: import("zod").ZodNullable<import("zod").ZodDate>;
128
- schedule: import("zod").ZodString;
129
- }, import("zod/v4/core").$strip>>;
130
- pageInfo: import("zod").ZodObject<{
131
- totalCount: import("zod").ZodNumber;
132
- count: import("zod").ZodNumber;
133
- hasNextPage: import("zod").ZodBoolean;
134
- hasPreviousPage: import("zod").ZodBoolean;
135
- startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
136
- endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
137
- }, import("zod/v4/core").$strip>;
31
+ };
32
+ } & {
33
+ path: string;
34
+ }>], (import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "advanced", [], import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "cron", [import("../../lib/route").Route<"@vitnode/core", {
35
+ method: "get";
36
+ description: string;
37
+ path: "/";
38
+ request: {
39
+ query: import("zod").ZodObject<{
40
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
41
+ first: import("zod").ZodOptional<import("zod").ZodString>;
42
+ last: import("zod").ZodOptional<import("zod").ZodString>;
43
+ order: import("zod").ZodOptional<import("zod").ZodEnum<{
44
+ asc: "asc";
45
+ desc: "desc";
46
+ }>>;
47
+ orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
48
+ createdAt: "createdAt";
49
+ lastRun: "lastRun";
50
+ nextRun: "nextRun";
51
+ }>>;
52
+ }, import("zod/v4/core").$strip>;
53
+ };
54
+ responses: {
55
+ 200: {
56
+ content: {
57
+ "application/json": {
58
+ schema: import("zod").ZodObject<{
59
+ edges: import("zod").ZodArray<import("zod").ZodObject<{
60
+ id: import("zod").ZodNumber;
61
+ createdAt: import("zod").ZodDate;
62
+ name: import("zod").ZodString;
63
+ description: import("zod").ZodNullable<import("zod").ZodString>;
64
+ pluginId: import("zod").ZodString;
65
+ module: import("zod").ZodString;
66
+ lastRun: import("zod").ZodNullable<import("zod").ZodDate>;
67
+ nextRun: import("zod").ZodNullable<import("zod").ZodDate>;
68
+ schedule: import("zod").ZodString;
69
+ }, import("zod/v4/core").$strip>>;
70
+ pageInfo: import("zod").ZodObject<{
71
+ totalCount: import("zod").ZodNumber;
72
+ count: import("zod").ZodNumber;
73
+ hasNextPage: import("zod").ZodBoolean;
74
+ hasPreviousPage: import("zod").ZodBoolean;
75
+ startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
76
+ endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
138
77
  }, import("zod/v4/core").$strip>;
139
- };
78
+ }, import("zod/v4/core").$strip>;
140
79
  };
141
- description: string;
142
80
  };
81
+ description: string;
143
82
  };
144
- } & {
145
- getRoutingPath: () => "/";
146
83
  };
147
- }, {
148
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/:id", {
149
- in: {
150
- param: {
151
- id: string;
152
- };
153
- };
154
- out: {
155
- param: {
156
- id: string;
157
- };
158
- };
159
- }>) => Promise<(Response & import("hono").TypedResponse<{
160
- error: string;
161
- }, 404, "json">) | (Response & import("hono").TypedResponse<{
162
- message: string;
163
- }, 201, "json">) | (Response & import("hono").TypedResponse<{
164
- error: string;
165
- }, 500, "json">)>;
166
- pluginId: "@vitnode/core";
167
- route: {
168
- method: "post";
169
- description: string;
170
- path: "/{id}";
171
- request: {
172
- params: import("zod").ZodObject<{
173
- id: import("zod").ZodString;
174
- }, import("zod/v4/core").$strip>;
175
- };
176
- responses: {
177
- 201: {
178
- content: {
179
- "application/json": {
180
- schema: import("zod").ZodObject<{
181
- message: import("zod").ZodOptional<import("zod").ZodString>;
182
- error: import("zod").ZodOptional<import("zod").ZodString>;
183
- }, import("zod/v4/core").$strip>;
184
- };
84
+ } & {
85
+ path: string;
86
+ }>, import("../../lib/route").Route<"@vitnode/core", {
87
+ method: "post";
88
+ description: string;
89
+ path: "/{id}";
90
+ request: {
91
+ params: import("zod").ZodObject<{
92
+ id: import("zod").ZodString;
93
+ }, import("zod/v4/core").$strip>;
94
+ };
95
+ responses: {
96
+ 201: {
97
+ content: {
98
+ "application/json": {
99
+ schema: import("zod").ZodObject<{
100
+ message: import("zod").ZodOptional<import("zod").ZodString>;
101
+ error: import("zod").ZodOptional<import("zod").ZodString>;
102
+ }, import("zod/v4/core").$strip>;
185
103
  };
186
- description: string;
187
104
  };
188
- 404: {
189
- content: {
190
- "application/json": {
191
- schema: import("zod").ZodObject<{
192
- message: import("zod").ZodOptional<import("zod").ZodString>;
193
- error: import("zod").ZodOptional<import("zod").ZodString>;
194
- }, import("zod/v4/core").$strip>;
195
- };
105
+ description: string;
106
+ };
107
+ 404: {
108
+ content: {
109
+ "application/json": {
110
+ schema: import("zod").ZodObject<{
111
+ message: import("zod").ZodOptional<import("zod").ZodString>;
112
+ error: import("zod").ZodOptional<import("zod").ZodString>;
113
+ }, import("zod/v4/core").$strip>;
196
114
  };
197
- description: string;
198
115
  };
199
- 500: {
200
- content: {
201
- "application/json": {
202
- schema: import("zod").ZodObject<{
203
- message: import("zod").ZodOptional<import("zod").ZodString>;
204
- error: import("zod").ZodOptional<import("zod").ZodString>;
205
- }, import("zod/v4/core").$strip>;
206
- };
116
+ description: string;
117
+ };
118
+ 500: {
119
+ content: {
120
+ "application/json": {
121
+ schema: import("zod").ZodObject<{
122
+ message: import("zod").ZodOptional<import("zod").ZodString>;
123
+ error: import("zod").ZodOptional<import("zod").ZodString>;
124
+ }, import("zod/v4/core").$strip>;
207
125
  };
208
- description: string;
209
126
  };
127
+ description: string;
210
128
  };
211
- } & {
212
- getRoutingPath: () => "/:id";
213
129
  };
214
- }], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig, import("@hono/zod-openapi").RouteHandler<import("@hono/zod-openapi").RouteConfig>>[]>[]>[]> | import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "debug", [{
215
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/logs", {
216
- in: {
217
- query: {
218
- cursor?: string | undefined;
219
- first?: string | undefined;
220
- last?: string | undefined;
221
- order?: "asc" | "desc" | undefined;
222
- orderBy?: "type" | "createdAt" | "pluginId" | undefined;
223
- };
224
- };
225
- out: {
226
- query: {
227
- cursor?: string | undefined;
228
- first?: string | undefined;
229
- last?: string | undefined;
230
- order?: "asc" | "desc" | undefined;
231
- orderBy?: "type" | "createdAt" | "pluginId" | undefined;
232
- };
233
- };
234
- }>) => Promise<Response & import("hono").TypedResponse<{
235
- edges: {
236
- id: number;
237
- pluginId: string;
238
- type: "warn" | "error" | "debug";
239
- content: string;
240
- createdAt: string;
241
- ipAddress: string;
242
- method: string;
243
- path: string;
244
- userAgent: string | null;
245
- statusCode: number;
246
- user: {
247
- id: number;
248
- name: string;
249
- nameCode: string;
250
- } | null;
251
- }[];
252
- pageInfo: {
253
- count: number;
254
- endCursor: null | number;
255
- hasNextPage: boolean;
256
- hasPreviousPage: boolean;
257
- startCursor: null | number;
258
- totalCount: number;
259
- };
260
- }, 200, "json">>;
261
- pluginId: "@vitnode/core";
262
- route: {
263
- method: "get";
264
- description: string;
265
- path: "/logs";
266
- request: {
267
- query: import("zod").ZodObject<{
268
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
269
- first: import("zod").ZodOptional<import("zod").ZodString>;
270
- last: import("zod").ZodOptional<import("zod").ZodString>;
271
- order: import("zod").ZodOptional<import("zod").ZodEnum<{
272
- asc: "asc";
273
- desc: "desc";
274
- }>>;
275
- orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
276
- type: "type";
277
- createdAt: "createdAt";
278
- pluginId: "pluginId";
279
- }>>;
280
- }, import("zod/v4/core").$strip>;
281
- };
282
- responses: {
283
- 200: {
284
- content: {
285
- "application/json": {
286
- schema: import("zod").ZodObject<{
287
- edges: import("zod").ZodArray<import("zod").ZodObject<{
130
+ } & {
131
+ path: string;
132
+ }>], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]>[]> | import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "debug", [import("../../lib/route").Route<"@vitnode/core", {
133
+ method: "get";
134
+ description: string;
135
+ path: "/logs";
136
+ request: {
137
+ query: import("zod").ZodObject<{
138
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
139
+ first: import("zod").ZodOptional<import("zod").ZodString>;
140
+ last: import("zod").ZodOptional<import("zod").ZodString>;
141
+ order: import("zod").ZodOptional<import("zod").ZodEnum<{
142
+ asc: "asc";
143
+ desc: "desc";
144
+ }>>;
145
+ orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
146
+ type: "type";
147
+ createdAt: "createdAt";
148
+ pluginId: "pluginId";
149
+ }>>;
150
+ }, import("zod/v4/core").$strip>;
151
+ };
152
+ responses: {
153
+ 200: {
154
+ content: {
155
+ "application/json": {
156
+ schema: import("zod").ZodObject<{
157
+ edges: import("zod").ZodArray<import("zod").ZodObject<{
158
+ id: import("zod").ZodNumber;
159
+ pluginId: import("zod").ZodString;
160
+ type: import("zod").ZodEnum<{
161
+ warn: "warn";
162
+ error: "error";
163
+ debug: "debug";
164
+ }>;
165
+ content: import("zod").ZodString;
166
+ createdAt: import("zod").ZodDate;
167
+ ipAddress: import("zod").ZodString;
168
+ method: import("zod").ZodString;
169
+ path: import("zod").ZodString;
170
+ userAgent: import("zod").ZodNullable<import("zod").ZodString>;
171
+ statusCode: import("zod").ZodNumber;
172
+ user: import("zod").ZodNullable<import("zod").ZodObject<{
288
173
  id: import("zod").ZodNumber;
289
- pluginId: import("zod").ZodString;
290
- type: import("zod").ZodEnum<{
291
- warn: "warn";
292
- error: "error";
293
- debug: "debug";
294
- }>;
295
- content: import("zod").ZodString;
296
- createdAt: import("zod").ZodDate;
297
- ipAddress: import("zod").ZodString;
298
- method: import("zod").ZodString;
299
- path: import("zod").ZodString;
300
- userAgent: import("zod").ZodNullable<import("zod").ZodString>;
301
- statusCode: import("zod").ZodNumber;
302
- user: import("zod").ZodNullable<import("zod").ZodObject<{
303
- id: import("zod").ZodNumber;
304
- name: import("zod").ZodString;
305
- nameCode: import("zod").ZodString;
306
- }, import("zod/v4/core").$strip>>;
174
+ name: import("zod").ZodString;
175
+ nameCode: import("zod").ZodString;
307
176
  }, import("zod/v4/core").$strip>>;
308
- pageInfo: import("zod").ZodObject<{
309
- totalCount: import("zod").ZodNumber;
310
- count: import("zod").ZodNumber;
311
- hasNextPage: import("zod").ZodBoolean;
312
- hasPreviousPage: import("zod").ZodBoolean;
313
- startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
314
- endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
315
- }, import("zod/v4/core").$strip>;
177
+ }, import("zod/v4/core").$strip>>;
178
+ pageInfo: import("zod").ZodObject<{
179
+ totalCount: import("zod").ZodNumber;
180
+ count: import("zod").ZodNumber;
181
+ hasNextPage: import("zod").ZodBoolean;
182
+ hasPreviousPage: import("zod").ZodBoolean;
183
+ startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
184
+ endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
316
185
  }, import("zod/v4/core").$strip>;
317
- };
186
+ }, import("zod/v4/core").$strip>;
318
187
  };
319
- description: string;
320
188
  };
189
+ description: string;
321
190
  };
322
- } & {
323
- getRoutingPath: () => "/logs";
324
191
  };
325
- }], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig, import("@hono/zod-openapi").RouteHandler<import("@hono/zod-openapi").RouteConfig>>[]>[]> | import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "users", [{
326
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/list", {
327
- in: {
328
- query: {
329
- cursor?: string | undefined;
330
- first?: string | undefined;
331
- last?: string | undefined;
332
- order?: "asc" | "desc" | undefined;
333
- orderBy?: "name" | "createdAt" | undefined;
334
- };
335
- };
336
- out: {
337
- query: {
338
- cursor?: string | undefined;
339
- first?: string | undefined;
340
- last?: string | undefined;
341
- order?: "asc" | "desc" | undefined;
342
- orderBy?: "name" | "createdAt" | undefined;
343
- };
344
- };
345
- }>) => Promise<Response & import("hono").TypedResponse<{
346
- edges: {
347
- id: number;
348
- name: string;
349
- email: string;
350
- nameCode: string;
351
- createdAt: string;
352
- newsletter: boolean;
353
- avatarColor: string;
354
- emailVerified: boolean;
355
- roleId: number;
356
- birthday: string | null;
357
- language: string;
358
- }[];
359
- pageInfo: {
360
- count: number;
361
- endCursor: null | number;
362
- hasNextPage: boolean;
363
- hasPreviousPage: boolean;
364
- startCursor: null | number;
365
- totalCount: number;
366
- };
367
- }, 200, "json">>;
368
- pluginId: "@vitnode/core";
369
- route: {
370
- method: "get";
371
- description: string;
372
- path: "/list";
373
- request: {
374
- query: import("zod").ZodObject<{
375
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
376
- first: import("zod").ZodOptional<import("zod").ZodString>;
377
- last: import("zod").ZodOptional<import("zod").ZodString>;
378
- order: import("zod").ZodOptional<import("zod").ZodEnum<{
379
- asc: "asc";
380
- desc: "desc";
381
- }>>;
382
- orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
383
- name: "name";
384
- createdAt: "createdAt";
385
- }>>;
386
- }, import("zod/v4/core").$strip>;
387
- };
388
- responses: {
389
- 200: {
390
- content: {
391
- "application/json": {
392
- schema: import("zod").ZodObject<{
393
- edges: import("zod").ZodArray<import("zod").ZodObject<{
394
- id: import("zod").ZodNumber;
395
- name: import("zod").ZodString;
396
- email: import("zod").ZodString;
397
- nameCode: import("zod").ZodString;
398
- createdAt: import("zod").ZodDate;
399
- newsletter: import("zod").ZodBoolean;
400
- avatarColor: import("zod").ZodString;
401
- emailVerified: import("zod").ZodBoolean;
402
- roleId: import("zod").ZodNumber;
403
- birthday: import("zod").ZodNullable<import("zod").ZodDate>;
404
- language: import("zod").ZodString;
405
- }, import("zod/v4/core").$strip>>;
406
- pageInfo: import("zod").ZodObject<{
407
- totalCount: import("zod").ZodNumber;
408
- count: import("zod").ZodNumber;
409
- hasNextPage: import("zod").ZodBoolean;
410
- hasPreviousPage: import("zod").ZodBoolean;
411
- startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
412
- endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
413
- }, import("zod/v4/core").$strip>;
192
+ } & {
193
+ path: string;
194
+ }>], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]> | import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "users", [import("../../lib/route").Route<"@vitnode/core", {
195
+ method: "get";
196
+ description: string;
197
+ path: "/list";
198
+ request: {
199
+ query: import("zod").ZodObject<{
200
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
201
+ first: import("zod").ZodOptional<import("zod").ZodString>;
202
+ last: import("zod").ZodOptional<import("zod").ZodString>;
203
+ order: import("zod").ZodOptional<import("zod").ZodEnum<{
204
+ asc: "asc";
205
+ desc: "desc";
206
+ }>>;
207
+ orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
208
+ name: "name";
209
+ createdAt: "createdAt";
210
+ }>>;
211
+ }, import("zod/v4/core").$strip>;
212
+ };
213
+ responses: {
214
+ 200: {
215
+ content: {
216
+ "application/json": {
217
+ schema: import("zod").ZodObject<{
218
+ edges: import("zod").ZodArray<import("zod").ZodObject<{
219
+ id: import("zod").ZodNumber;
220
+ name: import("zod").ZodString;
221
+ email: import("zod").ZodString;
222
+ nameCode: import("zod").ZodString;
223
+ createdAt: import("zod").ZodDate;
224
+ newsletter: import("zod").ZodBoolean;
225
+ avatarColor: import("zod").ZodString;
226
+ emailVerified: import("zod").ZodBoolean;
227
+ roleId: import("zod").ZodNumber;
228
+ birthday: import("zod").ZodNullable<import("zod").ZodDate>;
229
+ language: import("zod").ZodString;
230
+ }, import("zod/v4/core").$strip>>;
231
+ pageInfo: import("zod").ZodObject<{
232
+ totalCount: import("zod").ZodNumber;
233
+ count: import("zod").ZodNumber;
234
+ hasNextPage: import("zod").ZodBoolean;
235
+ hasPreviousPage: import("zod").ZodBoolean;
236
+ startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
237
+ endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
414
238
  }, import("zod/v4/core").$strip>;
415
- };
239
+ }, import("zod/v4/core").$strip>;
416
240
  };
417
- description: string;
418
241
  };
242
+ description: string;
419
243
  };
420
- } & {
421
- getRoutingPath: () => "/list";
422
244
  };
423
- }], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig, import("@hono/zod-openapi").RouteHandler<import("@hono/zod-openapi").RouteConfig>>[]>[]>)[]>;
245
+ } & {
246
+ path: string;
247
+ }>], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]>)[]>;
424
248
  //# sourceMappingURL=admin.module.d.ts.map