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

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 (82) 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/helpers/process-cron-jobs.d.ts +3 -3
  30. package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts.map +1 -1
  31. package/dist/src/api/modules/cron/routes/cron.route.d.ts +17 -21
  32. package/dist/src/api/modules/cron/routes/cron.route.d.ts.map +1 -1
  33. package/dist/src/api/modules/middleware/middleware.module.d.ts +26 -40
  34. package/dist/src/api/modules/middleware/middleware.module.d.ts.map +1 -1
  35. package/dist/src/api/modules/middleware/route.d.ts +26 -40
  36. package/dist/src/api/modules/middleware/route.d.ts.map +1 -1
  37. package/dist/src/api/modules/users/routes/change-password.route.d.ts +21 -40
  38. package/dist/src/api/modules/users/routes/change-password.route.d.ts.map +1 -1
  39. package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts +20 -35
  40. package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts.map +1 -1
  41. package/dist/src/api/modules/users/routes/session.route.d.ts +27 -45
  42. package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
  43. package/dist/src/api/modules/users/routes/sign-in.route.d.ts +30 -52
  44. package/dist/src/api/modules/users/routes/sign-in.route.d.ts.map +1 -1
  45. package/dist/src/api/modules/users/routes/sign-out.route.d.ts +21 -36
  46. package/dist/src/api/modules/users/routes/sign-out.route.d.ts.map +1 -1
  47. package/dist/src/api/modules/users/routes/sign-up.route.d.ts +36 -61
  48. package/dist/src/api/modules/users/routes/sign-up.route.d.ts.map +1 -1
  49. package/dist/src/api/modules/users/routes/test.route.d.ts +19 -23
  50. package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
  51. package/dist/src/api/modules/users/sso/routes/callback.route.d.ts +28 -59
  52. package/dist/src/api/modules/users/sso/routes/callback.route.d.ts.map +1 -1
  53. package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts +20 -37
  54. package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts.map +1 -1
  55. package/dist/src/api/modules/users/sso/sso.module.d.ts +47 -95
  56. package/dist/src/api/modules/users/sso/sso.module.d.ts.map +1 -1
  57. package/dist/src/api/modules/users/users.module.d.ts +212 -378
  58. package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
  59. package/dist/src/components/ui/button.js +1 -1
  60. package/dist/src/components/ui/command.js +1 -1
  61. package/dist/src/components/ui/context-menu.js +4 -4
  62. package/dist/src/components/ui/dialog.js +1 -1
  63. package/dist/src/components/ui/dropdown-menu.js +3 -3
  64. package/dist/src/components/ui/menubar.js +3 -3
  65. package/dist/src/components/ui/navigation-menu.js +1 -1
  66. package/dist/src/components/ui/select.js +2 -2
  67. package/dist/src/components/ui/sidebar.d.ts.map +1 -1
  68. package/dist/src/components/ui/sidebar.js +1 -0
  69. package/dist/src/components/ui/tabs.js +1 -1
  70. package/dist/src/components/ui/toggle.js +1 -1
  71. package/dist/src/hooks/use-captcha.d.ts.map +1 -1
  72. package/dist/src/hooks/use-captcha.js +3 -0
  73. package/dist/src/views/auth/sign-up/form/use-form.js +2 -2
  74. package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
  75. package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
  76. package/dist/src/views/auth/sign-up/wrapper.js +4 -4
  77. package/dist/src/views/layouts/provider.d.ts.map +1 -1
  78. package/dist/src/views/layouts/provider.js +1 -0
  79. package/dist/src/vitnode.config.d.ts +2 -2
  80. package/dist/src/vitnode.config.d.ts.map +1 -1
  81. package/dist/tsconfig.tsbuildinfo +1 -1
  82. package/package.json +38 -38
@@ -1,54 +1,36 @@
1
1
  import { z } from "zod";
2
- export declare const sessionAdminRoute: {
3
- handler: (c: import("hono").Context<import("../../../middlewares/global.middleware").EnvVitNode, "/session", {}>) => Response & import("hono").TypedResponse<{
4
- user: {
5
- avatarColor: string;
6
- birthday: string | null;
7
- createdAt: string;
8
- email: string;
9
- emailVerified: boolean;
10
- id: number;
11
- name: string;
12
- nameCode: string;
13
- newsletter: boolean;
14
- roleId: number;
15
- };
16
- vitnode_version: string;
17
- }, 200 | 403, "json">;
18
- pluginId: "@vitnode/core";
19
- route: {
20
- method: "get";
21
- description: string;
22
- path: "/session";
23
- responses: {
24
- 200: {
25
- content: {
26
- "application/json": {
27
- schema: z.ZodObject<{
28
- user: z.ZodObject<{
29
- id: z.ZodNumber;
30
- email: z.ZodString;
31
- name: z.ZodString;
32
- nameCode: z.ZodString;
33
- createdAt: z.ZodDate;
34
- newsletter: z.ZodBoolean;
35
- avatarColor: z.ZodString;
36
- emailVerified: z.ZodBoolean;
37
- roleId: z.ZodNumber;
38
- birthday: z.ZodNullable<z.ZodDate>;
39
- }, z.core.$strip>;
40
- vitnode_version: z.ZodString;
2
+ export declare const sessionAdminRoute: import("../../../../api/lib/route").Route<"@vitnode/core", {
3
+ method: "get";
4
+ description: string;
5
+ path: "/session";
6
+ responses: {
7
+ 200: {
8
+ content: {
9
+ "application/json": {
10
+ schema: z.ZodObject<{
11
+ user: z.ZodObject<{
12
+ id: z.ZodNumber;
13
+ email: z.ZodString;
14
+ name: z.ZodString;
15
+ nameCode: z.ZodString;
16
+ createdAt: z.ZodDate;
17
+ newsletter: z.ZodBoolean;
18
+ avatarColor: z.ZodString;
19
+ emailVerified: z.ZodBoolean;
20
+ roleId: z.ZodNumber;
21
+ birthday: z.ZodNullable<z.ZodDate>;
41
22
  }, z.core.$strip>;
42
- };
23
+ vitnode_version: z.ZodString;
24
+ }, z.core.$strip>;
43
25
  };
44
- description: string;
45
- };
46
- 403: {
47
- description: string;
48
26
  };
27
+ description: string;
28
+ };
29
+ 403: {
30
+ description: string;
49
31
  };
50
- } & {
51
- getRoutingPath: () => "/session";
52
32
  };
53
- };
33
+ } & {
34
+ path: string;
35
+ }>;
54
36
  //# sourceMappingURL=session.route.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/admin/routes/session.route.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C5B,CAAC"}
1
+ {"version":3,"file":"session.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/admin/routes/session.route.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2C5B,CAAC"}
@@ -1,101 +1,56 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- export declare const listUsersAdminRoute: {
3
- handler: (c: import("hono").Context<import("../../../../middlewares/global.middleware").EnvVitNode, "/list", {
4
- in: {
5
- query: {
6
- cursor?: string | undefined;
7
- first?: string | undefined;
8
- last?: string | undefined;
9
- order?: "asc" | "desc" | undefined;
10
- orderBy?: "name" | "createdAt" | undefined;
11
- };
12
- };
13
- out: {
14
- query: {
15
- cursor?: string | undefined;
16
- first?: string | undefined;
17
- last?: string | undefined;
18
- order?: "asc" | "desc" | undefined;
19
- orderBy?: "name" | "createdAt" | undefined;
20
- };
21
- };
22
- }>) => Promise<Response & import("hono").TypedResponse<{
23
- edges: {
24
- id: number;
25
- name: string;
26
- email: string;
27
- nameCode: string;
28
- createdAt: string;
29
- newsletter: boolean;
30
- avatarColor: string;
31
- emailVerified: boolean;
32
- roleId: number;
33
- birthday: string | null;
34
- language: string;
35
- }[];
36
- pageInfo: {
37
- count: number;
38
- endCursor: null | number;
39
- hasNextPage: boolean;
40
- hasPreviousPage: boolean;
41
- startCursor: null | number;
42
- totalCount: number;
43
- };
44
- }, 200, "json">>;
45
- pluginId: "@vitnode/core";
46
- route: {
47
- method: "get";
48
- description: string;
49
- path: "/list";
50
- request: {
51
- query: z.ZodObject<{
52
- cursor: z.ZodOptional<z.ZodString>;
53
- first: z.ZodOptional<z.ZodString>;
54
- last: z.ZodOptional<z.ZodString>;
55
- order: z.ZodOptional<z.ZodEnum<{
56
- asc: "asc";
57
- desc: "desc";
58
- }>>;
59
- orderBy: z.ZodOptional<z.ZodEnum<{
60
- name: "name";
61
- createdAt: "createdAt";
62
- }>>;
63
- }, z.core.$strip>;
64
- };
65
- responses: {
66
- 200: {
67
- content: {
68
- "application/json": {
69
- schema: z.ZodObject<{
70
- edges: z.ZodArray<z.ZodObject<{
71
- id: z.ZodNumber;
72
- name: z.ZodString;
73
- email: z.ZodString;
74
- nameCode: z.ZodString;
75
- createdAt: z.ZodDate;
76
- newsletter: z.ZodBoolean;
77
- avatarColor: z.ZodString;
78
- emailVerified: z.ZodBoolean;
79
- roleId: z.ZodNumber;
80
- birthday: z.ZodNullable<z.ZodDate>;
81
- language: z.ZodString;
82
- }, z.core.$strip>>;
83
- pageInfo: z.ZodObject<{
84
- totalCount: z.ZodNumber;
85
- count: z.ZodNumber;
86
- hasNextPage: z.ZodBoolean;
87
- hasPreviousPage: z.ZodBoolean;
88
- startCursor: z.ZodNullable<z.ZodNumber>;
89
- endCursor: z.ZodNullable<z.ZodNumber>;
90
- }, z.core.$strip>;
2
+ export declare const listUsersAdminRoute: import("../../../../../api/lib/route").Route<"@vitnode/core", {
3
+ method: "get";
4
+ description: string;
5
+ path: "/list";
6
+ request: {
7
+ query: z.ZodObject<{
8
+ cursor: z.ZodOptional<z.ZodString>;
9
+ first: z.ZodOptional<z.ZodString>;
10
+ last: z.ZodOptional<z.ZodString>;
11
+ order: z.ZodOptional<z.ZodEnum<{
12
+ asc: "asc";
13
+ desc: "desc";
14
+ }>>;
15
+ orderBy: z.ZodOptional<z.ZodEnum<{
16
+ name: "name";
17
+ createdAt: "createdAt";
18
+ }>>;
19
+ }, z.core.$strip>;
20
+ };
21
+ responses: {
22
+ 200: {
23
+ content: {
24
+ "application/json": {
25
+ schema: z.ZodObject<{
26
+ edges: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodNumber;
28
+ name: z.ZodString;
29
+ email: z.ZodString;
30
+ nameCode: z.ZodString;
31
+ createdAt: z.ZodDate;
32
+ newsletter: z.ZodBoolean;
33
+ avatarColor: z.ZodString;
34
+ emailVerified: z.ZodBoolean;
35
+ roleId: z.ZodNumber;
36
+ birthday: z.ZodNullable<z.ZodDate>;
37
+ language: z.ZodString;
38
+ }, z.core.$strip>>;
39
+ pageInfo: z.ZodObject<{
40
+ totalCount: z.ZodNumber;
41
+ count: z.ZodNumber;
42
+ hasNextPage: z.ZodBoolean;
43
+ hasPreviousPage: z.ZodBoolean;
44
+ startCursor: z.ZodNullable<z.ZodNumber>;
45
+ endCursor: z.ZodNullable<z.ZodNumber>;
91
46
  }, z.core.$strip>;
92
- };
47
+ }, z.core.$strip>;
93
48
  };
94
- description: string;
95
49
  };
50
+ description: string;
96
51
  };
97
- } & {
98
- getRoutingPath: () => "/list";
99
52
  };
100
- };
53
+ } & {
54
+ path: string;
55
+ }>;
101
56
  //# sourceMappingURL=list.route.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/admin/users/routes/list.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAWtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+E9B,CAAC"}
1
+ {"version":3,"file":"list.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/admin/users/routes/list.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAWtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+E9B,CAAC"}
@@ -1,106 +1,61 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- export declare const usersAdminRoute: {
3
- handler: (c: import("hono").Context<import("../../../../middlewares/global.middleware").EnvVitNode, "/list", {
4
- in: {
5
- query: {
6
- cursor?: string | undefined;
7
- first?: string | undefined;
8
- last?: string | undefined;
9
- order?: "asc" | "desc" | undefined;
10
- orderBy?: "id" | "email" | "name" | "createdAt" | undefined;
11
- };
12
- };
13
- out: {
14
- query: {
15
- cursor?: string | undefined;
16
- first?: string | undefined;
17
- last?: string | undefined;
18
- order?: "asc" | "desc" | undefined;
19
- orderBy?: "id" | "email" | "name" | "createdAt" | undefined;
20
- };
21
- };
22
- }>) => Promise<Response & import("hono").TypedResponse<{
23
- edges: {
24
- id: number;
25
- name: string;
26
- email: string;
27
- nameCode: string;
28
- createdAt: string;
29
- newsletter: boolean;
30
- avatarColor: string;
31
- emailVerified: boolean;
32
- roleId: number;
33
- birthday: string | null;
34
- language: string;
35
- }[];
36
- pageInfo: {
37
- count: number;
38
- endCursor: null | number;
39
- hasNextPage: boolean;
40
- hasPreviousPage: boolean;
41
- startCursor: null | number;
42
- totalCount: number;
43
- };
44
- }, 200 | 403, "json">>;
45
- pluginId: "@vitnode/core";
46
- route: {
47
- method: "get";
48
- description: string;
49
- path: "/list";
50
- request: {
51
- query: z.ZodObject<{
52
- cursor: z.ZodOptional<z.ZodString>;
53
- first: z.ZodOptional<z.ZodString>;
54
- last: z.ZodOptional<z.ZodString>;
55
- order: z.ZodOptional<z.ZodEnum<{
56
- asc: "asc";
57
- desc: "desc";
58
- }>>;
59
- orderBy: z.ZodOptional<z.ZodEnum<{
60
- id: "id";
61
- email: "email";
62
- name: "name";
63
- createdAt: "createdAt";
64
- }>>;
65
- }, z.core.$strip>;
66
- };
67
- responses: {
68
- 200: {
69
- content: {
70
- "application/json": {
71
- schema: z.ZodObject<{
72
- edges: z.ZodArray<z.ZodObject<{
73
- id: z.ZodNumber;
74
- name: z.ZodString;
75
- email: z.ZodString;
76
- nameCode: z.ZodString;
77
- createdAt: z.ZodDate;
78
- newsletter: z.ZodBoolean;
79
- avatarColor: z.ZodString;
80
- emailVerified: z.ZodBoolean;
81
- roleId: z.ZodNumber;
82
- birthday: z.ZodNullable<z.ZodDate>;
83
- language: z.ZodString;
84
- }, z.core.$strip>>;
85
- pageInfo: z.ZodObject<{
86
- totalCount: z.ZodNumber;
87
- count: z.ZodNumber;
88
- hasNextPage: z.ZodBoolean;
89
- hasPreviousPage: z.ZodBoolean;
90
- startCursor: z.ZodNullable<z.ZodNumber>;
91
- endCursor: z.ZodNullable<z.ZodNumber>;
92
- }, z.core.$strip>;
2
+ export declare const usersAdminRoute: import("../../../../../api/lib/route").Route<"@vitnode/core", {
3
+ method: "get";
4
+ description: string;
5
+ path: "/list";
6
+ request: {
7
+ query: z.ZodObject<{
8
+ cursor: z.ZodOptional<z.ZodString>;
9
+ first: z.ZodOptional<z.ZodString>;
10
+ last: z.ZodOptional<z.ZodString>;
11
+ order: z.ZodOptional<z.ZodEnum<{
12
+ asc: "asc";
13
+ desc: "desc";
14
+ }>>;
15
+ orderBy: z.ZodOptional<z.ZodEnum<{
16
+ id: "id";
17
+ email: "email";
18
+ name: "name";
19
+ createdAt: "createdAt";
20
+ }>>;
21
+ }, z.core.$strip>;
22
+ };
23
+ responses: {
24
+ 200: {
25
+ content: {
26
+ "application/json": {
27
+ schema: z.ZodObject<{
28
+ edges: z.ZodArray<z.ZodObject<{
29
+ id: z.ZodNumber;
30
+ name: z.ZodString;
31
+ email: z.ZodString;
32
+ nameCode: z.ZodString;
33
+ createdAt: z.ZodDate;
34
+ newsletter: z.ZodBoolean;
35
+ avatarColor: z.ZodString;
36
+ emailVerified: z.ZodBoolean;
37
+ roleId: z.ZodNumber;
38
+ birthday: z.ZodNullable<z.ZodDate>;
39
+ language: z.ZodString;
40
+ }, z.core.$strip>>;
41
+ pageInfo: z.ZodObject<{
42
+ totalCount: z.ZodNumber;
43
+ count: z.ZodNumber;
44
+ hasNextPage: z.ZodBoolean;
45
+ hasPreviousPage: z.ZodBoolean;
46
+ startCursor: z.ZodNullable<z.ZodNumber>;
47
+ endCursor: z.ZodNullable<z.ZodNumber>;
93
48
  }, z.core.$strip>;
94
- };
49
+ }, z.core.$strip>;
95
50
  };
96
- description: string;
97
- };
98
- 403: {
99
- description: string;
100
51
  };
52
+ description: string;
53
+ };
54
+ 403: {
55
+ description: string;
101
56
  };
102
- } & {
103
- getRoutingPath: () => "/list";
104
57
  };
105
- };
58
+ } & {
59
+ path: string;
60
+ }>;
106
61
  //# sourceMappingURL=users.route.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/admin/users/routes/users.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAWtC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkF1B,CAAC"}
1
+ {"version":3,"file":"users.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/admin/users/routes/users.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAWtC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkF1B,CAAC"}
@@ -1,100 +1,55 @@
1
- export declare const usersAdminModule: import("../../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "users", [{
2
- handler: (c: import("hono").Context<import("../../../middlewares/global.middleware").EnvVitNode, "/list", {
3
- in: {
4
- query: {
5
- cursor?: string | undefined;
6
- first?: string | undefined;
7
- last?: string | undefined;
8
- order?: "asc" | "desc" | undefined;
9
- orderBy?: "name" | "createdAt" | undefined;
10
- };
11
- };
12
- out: {
13
- query: {
14
- cursor?: string | undefined;
15
- first?: string | undefined;
16
- last?: string | undefined;
17
- order?: "asc" | "desc" | undefined;
18
- orderBy?: "name" | "createdAt" | undefined;
19
- };
20
- };
21
- }>) => Promise<Response & import("hono").TypedResponse<{
22
- edges: {
23
- id: number;
24
- name: string;
25
- email: string;
26
- nameCode: string;
27
- createdAt: string;
28
- newsletter: boolean;
29
- avatarColor: string;
30
- emailVerified: boolean;
31
- roleId: number;
32
- birthday: string | null;
33
- language: string;
34
- }[];
35
- pageInfo: {
36
- count: number;
37
- endCursor: null | number;
38
- hasNextPage: boolean;
39
- hasPreviousPage: boolean;
40
- startCursor: null | number;
41
- totalCount: number;
42
- };
43
- }, 200, "json">>;
44
- pluginId: "@vitnode/core";
45
- route: {
46
- method: "get";
47
- description: string;
48
- path: "/list";
49
- request: {
50
- query: import("zod").ZodObject<{
51
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
52
- first: import("zod").ZodOptional<import("zod").ZodString>;
53
- last: import("zod").ZodOptional<import("zod").ZodString>;
54
- order: import("zod").ZodOptional<import("zod").ZodEnum<{
55
- asc: "asc";
56
- desc: "desc";
57
- }>>;
58
- orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
59
- name: "name";
60
- createdAt: "createdAt";
61
- }>>;
62
- }, import("zod/v4/core").$strip>;
63
- };
64
- responses: {
65
- 200: {
66
- content: {
67
- "application/json": {
68
- schema: import("zod").ZodObject<{
69
- edges: import("zod").ZodArray<import("zod").ZodObject<{
70
- id: import("zod").ZodNumber;
71
- name: import("zod").ZodString;
72
- email: import("zod").ZodString;
73
- nameCode: import("zod").ZodString;
74
- createdAt: import("zod").ZodDate;
75
- newsletter: import("zod").ZodBoolean;
76
- avatarColor: import("zod").ZodString;
77
- emailVerified: import("zod").ZodBoolean;
78
- roleId: import("zod").ZodNumber;
79
- birthday: import("zod").ZodNullable<import("zod").ZodDate>;
80
- language: import("zod").ZodString;
81
- }, import("zod/v4/core").$strip>>;
82
- pageInfo: import("zod").ZodObject<{
83
- totalCount: import("zod").ZodNumber;
84
- count: import("zod").ZodNumber;
85
- hasNextPage: import("zod").ZodBoolean;
86
- hasPreviousPage: import("zod").ZodBoolean;
87
- startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
88
- endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
89
- }, import("zod/v4/core").$strip>;
1
+ export declare const usersAdminModule: import("../../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "users", [import("../../../lib/route").Route<"@vitnode/core", {
2
+ method: "get";
3
+ description: string;
4
+ path: "/list";
5
+ request: {
6
+ query: import("zod").ZodObject<{
7
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
8
+ first: import("zod").ZodOptional<import("zod").ZodString>;
9
+ last: import("zod").ZodOptional<import("zod").ZodString>;
10
+ order: import("zod").ZodOptional<import("zod").ZodEnum<{
11
+ asc: "asc";
12
+ desc: "desc";
13
+ }>>;
14
+ orderBy: import("zod").ZodOptional<import("zod").ZodEnum<{
15
+ name: "name";
16
+ createdAt: "createdAt";
17
+ }>>;
18
+ }, import("zod/v4/core").$strip>;
19
+ };
20
+ responses: {
21
+ 200: {
22
+ content: {
23
+ "application/json": {
24
+ schema: import("zod").ZodObject<{
25
+ edges: import("zod").ZodArray<import("zod").ZodObject<{
26
+ id: import("zod").ZodNumber;
27
+ name: import("zod").ZodString;
28
+ email: import("zod").ZodString;
29
+ nameCode: import("zod").ZodString;
30
+ createdAt: import("zod").ZodDate;
31
+ newsletter: import("zod").ZodBoolean;
32
+ avatarColor: import("zod").ZodString;
33
+ emailVerified: import("zod").ZodBoolean;
34
+ roleId: import("zod").ZodNumber;
35
+ birthday: import("zod").ZodNullable<import("zod").ZodDate>;
36
+ language: import("zod").ZodString;
37
+ }, import("zod/v4/core").$strip>>;
38
+ pageInfo: import("zod").ZodObject<{
39
+ totalCount: import("zod").ZodNumber;
40
+ count: import("zod").ZodNumber;
41
+ hasNextPage: import("zod").ZodBoolean;
42
+ hasPreviousPage: import("zod").ZodBoolean;
43
+ startCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
44
+ endCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
90
45
  }, import("zod/v4/core").$strip>;
91
- };
46
+ }, import("zod/v4/core").$strip>;
92
47
  };
93
- description: string;
94
48
  };
49
+ description: string;
95
50
  };
96
- } & {
97
- getRoutingPath: () => "/list";
98
51
  };
99
- }], 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>>[]>[]>;
52
+ } & {
53
+ path: string;
54
+ }>], import("../../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]>;
100
55
  //# sourceMappingURL=users.admin.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.admin.module.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/admin/users/users.admin.module.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mQAI3B,CAAC"}
1
+ {"version":3,"file":"users.admin.module.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/admin/users/users.admin.module.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iLAI3B,CAAC"}
@@ -1,26 +1,22 @@
1
- export declare const cronModule: import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "cron", [{
2
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/", {}>) => Promise<(Response & import("hono").TypedResponse<`Cron jobs processed. Executed ${number} jobs.`, 200, "text">) | (Response & import("hono").TypedResponse<"Error processing cron jobs", 500, "text">)>;
3
- pluginId: "@vitnode/core";
4
- route: {
5
- method: "post";
6
- description: string;
7
- path: "/";
8
- middleware: ((c: import("hono").Context, next: import("hono").Next) => Promise<void>)[];
9
- responses: {
10
- 200: {
11
- content: {
12
- "text/plain": {
13
- schema: import("zod").ZodString;
14
- };
1
+ export declare const cronModule: import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "cron", [import("../../lib/route").Route<"@vitnode/core", {
2
+ method: "post";
3
+ description: string;
4
+ path: "/";
5
+ middleware: ((c: import("hono").Context, next: import("hono").Next) => Promise<void>)[];
6
+ responses: {
7
+ 200: {
8
+ content: {
9
+ "text/plain": {
10
+ schema: import("zod").ZodString;
15
11
  };
16
- description: string;
17
- };
18
- 403: {
19
- description: string;
20
12
  };
13
+ description: string;
14
+ };
15
+ 403: {
16
+ description: string;
21
17
  };
22
- } & {
23
- getRoutingPath: () => "/";
24
18
  };
25
- }], 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>>[]>[]>;
19
+ } & {
20
+ path: string;
21
+ }>], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]>;
26
22
  //# sourceMappingURL=cron.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cron.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/cron/cron.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;gQAKrB,CAAC"}
1
+ {"version":3,"file":"cron.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/cron/cron.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;8KAKrB,CAAC"}