@vitnode/core 1.2.0-canary.54 → 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 (267) hide show
  1. package/dist/scripts/get-config.d.ts.map +1 -1
  2. package/dist/scripts/plugin.d.ts.map +1 -1
  3. package/dist/scripts/prepare-database.d.ts.map +1 -1
  4. package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
  5. package/dist/scripts/scripts.js +3 -3
  6. package/dist/scripts/shared/file-utils.d.ts.map +1 -1
  7. package/dist/src/api/adapters/cron/node-cron.adapter.d.ts.map +1 -1
  8. package/dist/src/api/adapters/sso/discord.d.ts.map +1 -1
  9. package/dist/src/api/adapters/sso/facebook.d.ts.map +1 -1
  10. package/dist/src/api/adapters/sso/google.d.ts.map +1 -1
  11. package/dist/src/api/config.d.ts.map +1 -1
  12. package/dist/src/api/config.js +2 -1
  13. package/dist/src/api/lib/cron.d.ts +4 -4
  14. package/dist/src/api/lib/cron.d.ts.map +1 -1
  15. package/dist/src/api/lib/logger-middleware.js +1 -1
  16. package/dist/src/api/lib/module.d.ts +2 -2
  17. package/dist/src/api/lib/module.d.ts.map +1 -1
  18. package/dist/src/api/lib/plugin.d.ts +1 -1
  19. package/dist/src/api/lib/plugin.d.ts.map +1 -1
  20. package/dist/src/api/lib/route.d.ts +9 -16
  21. package/dist/src/api/lib/route.d.ts.map +1 -1
  22. package/dist/src/api/lib/route.js +1 -1
  23. package/dist/src/api/lib/with-pagination.d.ts +1 -1
  24. package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
  25. package/dist/src/api/middlewares/cron-auth.middleware.d.ts.map +1 -1
  26. package/dist/src/api/middlewares/global.middleware.d.ts +6 -6
  27. package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
  28. package/dist/src/api/middlewares/global.middleware.js +0 -1
  29. package/dist/src/api/models/device.d.ts.map +1 -1
  30. package/dist/src/api/models/device.js +1 -1
  31. package/dist/src/api/models/email.d.ts.map +1 -1
  32. package/dist/src/api/models/email.js +1 -2
  33. package/dist/src/api/models/session-admin.d.ts.map +1 -1
  34. package/dist/src/api/models/session.d.ts.map +1 -1
  35. package/dist/src/api/models/sso.d.ts.map +1 -1
  36. package/dist/src/api/models/sso.js +1 -1
  37. package/dist/src/api/models/user/get-user-by-id.d.ts.map +1 -1
  38. package/dist/src/api/models/user/sign-in-with-passwords.d.ts.map +1 -1
  39. package/dist/src/api/models/user/sign-up.d.ts.map +1 -1
  40. package/dist/src/api/models/user/sign-up.js +1 -0
  41. package/dist/src/api/models/user.d.ts.map +1 -1
  42. package/dist/src/api/modules/admin/admin.module.d.ts +217 -393
  43. package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
  44. package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts +86 -150
  45. package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts.map +1 -1
  46. package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts +86 -150
  47. package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts.map +1 -1
  48. package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts +48 -91
  49. package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts.map +1 -1
  50. package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts +39 -60
  51. package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts.map +1 -1
  52. package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +56 -105
  53. package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts.map +1 -1
  54. package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +56 -105
  55. package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts.map +1 -1
  56. package/dist/src/api/modules/admin/routes/session.route.d.ts +29 -47
  57. package/dist/src/api/modules/admin/routes/session.route.d.ts.map +1 -1
  58. package/dist/src/api/modules/admin/users/routes/list.route.d.ts +49 -94
  59. package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
  60. package/dist/src/api/modules/admin/users/routes/users.route.d.ts +54 -99
  61. package/dist/src/api/modules/admin/users/routes/users.route.d.ts.map +1 -1
  62. package/dist/src/api/modules/admin/users/users.admin.module.d.ts +49 -94
  63. package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
  64. package/dist/src/api/modules/cron/cron/clean.cron.d.ts.map +1 -1
  65. package/dist/src/api/modules/cron/cron.module.d.ts +17 -21
  66. package/dist/src/api/modules/cron/cron.module.d.ts.map +1 -1
  67. package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts +10 -10
  68. package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts.map +1 -1
  69. package/dist/src/api/modules/cron/helpers/process-cron-jobs.js +3 -3
  70. package/dist/src/api/modules/cron/routes/cron.route.d.ts +17 -21
  71. package/dist/src/api/modules/cron/routes/cron.route.d.ts.map +1 -1
  72. package/dist/src/api/modules/cron/routes/cron.route.js +1 -1
  73. package/dist/src/api/modules/middleware/middleware.module.d.ts +26 -40
  74. package/dist/src/api/modules/middleware/middleware.module.d.ts.map +1 -1
  75. package/dist/src/api/modules/middleware/route.d.ts +26 -40
  76. package/dist/src/api/modules/middleware/route.d.ts.map +1 -1
  77. package/dist/src/api/modules/users/routes/change-password.route.d.ts +21 -40
  78. package/dist/src/api/modules/users/routes/change-password.route.d.ts.map +1 -1
  79. package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts +20 -35
  80. package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts.map +1 -1
  81. package/dist/src/api/modules/users/routes/session.route.d.ts +27 -45
  82. package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
  83. package/dist/src/api/modules/users/routes/sign-in.route.d.ts +30 -52
  84. package/dist/src/api/modules/users/routes/sign-in.route.d.ts.map +1 -1
  85. package/dist/src/api/modules/users/routes/sign-out.route.d.ts +21 -36
  86. package/dist/src/api/modules/users/routes/sign-out.route.d.ts.map +1 -1
  87. package/dist/src/api/modules/users/routes/sign-up.route.d.ts +36 -61
  88. package/dist/src/api/modules/users/routes/sign-up.route.d.ts.map +1 -1
  89. package/dist/src/api/modules/users/routes/test.route.d.ts +19 -23
  90. package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
  91. package/dist/src/api/modules/users/sso/routes/callback.route.d.ts +28 -59
  92. package/dist/src/api/modules/users/sso/routes/callback.route.d.ts.map +1 -1
  93. package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts +20 -37
  94. package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts.map +1 -1
  95. package/dist/src/api/modules/users/sso/sso.module.d.ts +47 -95
  96. package/dist/src/api/modules/users/sso/sso.module.d.ts.map +1 -1
  97. package/dist/src/api/modules/users/users.module.d.ts +212 -378
  98. package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
  99. package/dist/src/app_admin/core/advanced/cron/page.d.ts.map +1 -1
  100. package/dist/src/app_admin/core/advanced/cron/page.js +3 -3
  101. package/dist/src/app_admin/core/debug/page.js +1 -1
  102. package/dist/src/app_admin/core/users/page.d.ts.map +1 -1
  103. package/dist/src/app_admin/core/users/page.js +1 -1
  104. package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +1 -1
  105. package/dist/src/components/confirm-action/content.d.ts.map +1 -1
  106. package/dist/src/components/confirm-action/content.js +1 -0
  107. package/dist/src/components/form/auto-form.d.ts.map +1 -1
  108. package/dist/src/components/form/auto-form.js +0 -1
  109. package/dist/src/components/form/fields/checkbox.d.ts +1 -1
  110. package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
  111. package/dist/src/components/form/fields/combobox-async.d.ts.map +1 -1
  112. package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
  113. package/dist/src/components/form/fields/input.d.ts +1 -1
  114. package/dist/src/components/form/fields/input.d.ts.map +1 -1
  115. package/dist/src/components/form/fields/select.d.ts.map +1 -1
  116. package/dist/src/components/form/fields/switch.js +1 -1
  117. package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
  118. package/dist/src/components/table/content.d.ts.map +1 -1
  119. package/dist/src/components/table/data-table.d.ts +1 -1
  120. package/dist/src/components/table/data-table.d.ts.map +1 -1
  121. package/dist/src/components/table/order-table-head.d.ts.map +1 -1
  122. package/dist/src/components/table/pagination.js +1 -1
  123. package/dist/src/components/tiptap/extension.d.ts.map +1 -1
  124. package/dist/src/components/tiptap/extension.js +7 -0
  125. package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts +2 -0
  126. package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -0
  127. package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +91 -0
  128. package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts.map +1 -1
  129. package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts.map +1 -1
  130. package/dist/src/components/tiptap/toolbar/actions/headings-action.js +45 -46
  131. package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts.map +1 -1
  132. package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts.map +1 -1
  133. package/dist/src/components/tiptap/toolbar/actions/list-action.js +14 -13
  134. package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map +1 -1
  135. package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.js +5 -5
  136. package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts.map +1 -1
  137. package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts.map +1 -1
  138. package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.js +6 -6
  139. package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts.map +1 -1
  140. package/dist/src/components/tiptap/toolbar/tiptap-toolbar.js +38 -18
  141. package/dist/src/components/tiptap/toolbar/use-toolbar-editor.d.ts.map +1 -1
  142. package/dist/src/components/ui/accordion.d.ts +1 -1
  143. package/dist/src/components/ui/accordion.d.ts.map +1 -1
  144. package/dist/src/components/ui/alert.d.ts +1 -1
  145. package/dist/src/components/ui/alert.d.ts.map +1 -1
  146. package/dist/src/components/ui/badge.d.ts +1 -1
  147. package/dist/src/components/ui/badge.d.ts.map +1 -1
  148. package/dist/src/components/ui/button.d.ts +2 -2
  149. package/dist/src/components/ui/button.d.ts.map +1 -1
  150. package/dist/src/components/ui/checkbox.d.ts +1 -1
  151. package/dist/src/components/ui/checkbox.d.ts.map +1 -1
  152. package/dist/src/components/ui/command.d.ts +1 -1
  153. package/dist/src/components/ui/command.d.ts.map +1 -1
  154. package/dist/src/components/ui/context-menu.d.ts +1 -1
  155. package/dist/src/components/ui/context-menu.d.ts.map +1 -1
  156. package/dist/src/components/ui/drawer.d.ts.map +1 -1
  157. package/dist/src/components/ui/dropdown-menu.d.ts +1 -1
  158. package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
  159. package/dist/src/components/ui/editor-content.js +1 -1
  160. package/dist/src/components/ui/editor.d.ts.map +1 -1
  161. package/dist/src/components/ui/editor.js +1 -1
  162. package/dist/src/components/ui/form.d.ts.map +1 -1
  163. package/dist/src/components/ui/hover-card.d.ts +1 -1
  164. package/dist/src/components/ui/hover-card.d.ts.map +1 -1
  165. package/dist/src/components/ui/label.d.ts +1 -1
  166. package/dist/src/components/ui/label.d.ts.map +1 -1
  167. package/dist/src/components/ui/menubar.d.ts +1 -1
  168. package/dist/src/components/ui/menubar.d.ts.map +1 -1
  169. package/dist/src/components/ui/navigation-menu.d.ts +1 -1
  170. package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
  171. package/dist/src/components/ui/popover.d.ts +1 -1
  172. package/dist/src/components/ui/popover.d.ts.map +1 -1
  173. package/dist/src/components/ui/progress.d.ts +1 -1
  174. package/dist/src/components/ui/progress.d.ts.map +1 -1
  175. package/dist/src/components/ui/radio-group.d.ts +1 -1
  176. package/dist/src/components/ui/radio-group.d.ts.map +1 -1
  177. package/dist/src/components/ui/scroll-area.d.ts +6 -0
  178. package/dist/src/components/ui/scroll-area.d.ts.map +1 -0
  179. package/dist/src/components/ui/scroll-area.js +33 -0
  180. package/dist/src/components/ui/select.d.ts +1 -1
  181. package/dist/src/components/ui/select.d.ts.map +1 -1
  182. package/dist/src/components/ui/separator.d.ts +1 -1
  183. package/dist/src/components/ui/separator.d.ts.map +1 -1
  184. package/dist/src/components/ui/sheet.d.ts +1 -1
  185. package/dist/src/components/ui/sheet.d.ts.map +1 -1
  186. package/dist/src/components/ui/sidebar.js +1 -1
  187. package/dist/src/components/ui/sonner.d.ts.map +1 -1
  188. package/dist/src/components/ui/switch.d.ts +1 -1
  189. package/dist/src/components/ui/switch.d.ts.map +1 -1
  190. package/dist/src/components/ui/tabs.d.ts +1 -1
  191. package/dist/src/components/ui/tabs.d.ts.map +1 -1
  192. package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
  193. package/dist/src/components/ui/toggle.d.ts +1 -1
  194. package/dist/src/components/ui/toggle.d.ts.map +1 -1
  195. package/dist/src/components/ui/toggle.js +1 -1
  196. package/dist/src/components/ui/tooltip.d.ts +1 -1
  197. package/dist/src/components/ui/tooltip.d.ts.map +1 -1
  198. package/dist/src/drizzle.config.d.ts.map +1 -1
  199. package/dist/src/drizzle.config.js +1 -1
  200. package/dist/src/emails/default-template.d.ts.map +1 -1
  201. package/dist/src/emails/default-template.js +20 -21
  202. package/dist/src/hooks/use-captcha.d.ts +20 -0
  203. package/dist/src/hooks/use-captcha.d.ts.map +1 -1
  204. package/dist/src/hooks/use-captcha.js +22 -18
  205. package/dist/src/hooks/use-mobile.d.ts.map +1 -1
  206. package/dist/src/hooks/use-mobile.js +1 -0
  207. package/dist/src/lib/api/get-next-cron-run-date.d.ts.map +1 -1
  208. package/dist/src/lib/api/get-next-cron-run-date.js +2 -2
  209. package/dist/src/lib/api/should-cron-job-run.d.ts.map +1 -1
  210. package/dist/src/lib/api/should-cron-job-run.js +2 -2
  211. package/dist/src/lib/config.js +1 -1
  212. package/dist/src/lib/ctrl-or-command-character.d.ts +1 -1
  213. package/dist/src/lib/ctrl-or-command-character.d.ts.map +1 -1
  214. package/dist/src/lib/ctrl-or-command-character.js +2 -6
  215. package/dist/src/lib/fetcher/cookie-from-string-to-object.d.ts.map +1 -1
  216. package/dist/src/lib/fetcher/core.d.ts.map +1 -1
  217. package/dist/src/lib/fetcher/core.js +1 -2
  218. package/dist/src/lib/fetcher-client.d.ts.map +1 -1
  219. package/dist/src/lib/fetcher.d.ts.map +1 -1
  220. package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
  221. package/dist/src/lib/helpers/auto-form.js +0 -1
  222. package/dist/src/lib/navigation.d.ts +1 -1
  223. package/dist/src/lib/navigation.d.ts.map +1 -1
  224. package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts +1 -0
  225. package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts.map +1 -0
  226. package/dist/src/lib/tiptap/toolbar/actions/bold-action.js +0 -0
  227. package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
  228. package/dist/src/views/admin/layouts/admin-layout.js +4 -1
  229. package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts.map +1 -1
  230. package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts.map +1 -1
  231. package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.js +4 -4
  232. package/dist/src/views/admin/views/core/advanced/cron/run-action/mutation-api.d.ts.map +1 -1
  233. package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts.map +1 -1
  234. package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.js +4 -3
  235. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts.map +1 -1
  236. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.js +1 -1
  237. package/dist/src/views/admin/views/core/test.js +1 -1
  238. package/dist/src/views/auth/password-reset/change-password-form/use-form.d.ts.map +1 -1
  239. package/dist/src/views/auth/password-reset/form/form.d.ts.map +1 -1
  240. package/dist/src/views/auth/sign-in/form/mutation-api.d.ts.map +1 -1
  241. package/dist/src/views/auth/sign-up/components/password-input.d.ts.map +1 -1
  242. package/dist/src/views/auth/sign-up/components/password-input.js +2 -1
  243. package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
  244. package/dist/src/views/auth/sign-up/form/mutation-api.d.ts.map +1 -1
  245. package/dist/src/views/auth/sign-up/form/use-form.js +2 -2
  246. package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
  247. package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
  248. package/dist/src/views/auth/sign-up/wrapper.js +8 -5
  249. package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
  250. package/dist/src/views/error/global-error-view.d.ts.map +1 -1
  251. package/dist/src/views/error/global-error-view.js +2 -1
  252. package/dist/src/views/layouts/provider.d.ts.map +1 -1
  253. package/dist/src/views/layouts/provider.js +1 -0
  254. package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
  255. package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
  256. package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
  257. package/dist/src/vitnode.config.d.ts +1 -1
  258. package/dist/src/vitnode.config.d.ts.map +1 -1
  259. package/dist/src/vitnode.config.js +0 -1
  260. package/dist/tsconfig.tsbuildinfo +1 -1
  261. package/eslint.config.mjs +17 -0
  262. package/package.json +42 -38
  263. package/src/app_admin/core/advanced/cron/page.tsx +3 -2
  264. package/src/app_admin/core/debug/page.tsx +1 -1
  265. package/src/app_admin/core/users/page.tsx +2 -1
  266. package/src/locales/en.json +8 -0
  267. package/src/tiptap.css +9 -1
@@ -1,428 +1,262 @@
1
- export declare const usersModule: import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "users", [{
2
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/session", {}>) => Promise<Response & import("hono").TypedResponse<{
3
- user: {
4
- isAdmin: boolean;
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
- } | null;
16
- }, 200, "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").ZodNullable<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
- isAdmin: import("zod").ZodBoolean;
39
- }, import("zod/v4/core").$strip>>;
40
- }, import("zod/v4/core").$strip>;
41
- };
1
+ export declare const usersModule: import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "users", [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").ZodNullable<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>;
21
+ isAdmin: import("zod").ZodBoolean;
22
+ }, import("zod/v4/core").$strip>>;
23
+ }, import("zod/v4/core").$strip>;
42
24
  };
43
- description: string;
44
25
  };
26
+ description: string;
45
27
  };
46
- } & {
47
- getRoutingPath: () => "/session";
48
28
  };
49
- }, {
50
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/sign_in", {
51
- in: {
52
- json: {
53
- email: string;
54
- password: string;
55
- isAdmin?: boolean | undefined;
56
- };
57
- };
58
- out: {
59
- json: {
60
- email: string;
61
- password: string;
62
- isAdmin?: boolean | undefined;
63
- };
64
- };
65
- }>) => Promise<Response & import("hono").TypedResponse<{
66
- id: number;
67
- token: string;
68
- }, 201, "json">>;
69
- pluginId: "@vitnode/core";
70
- route: {
71
- method: "post";
72
- description: string;
73
- path: "/sign_in";
74
- request: {
75
- body: {
76
- required: true;
77
- content: {
78
- "application/json": {
79
- schema: import("zod").ZodObject<{
80
- email: import("zod").ZodEmail;
81
- password: import("zod").ZodString;
82
- isAdmin: import("zod").ZodOptional<import("zod").ZodBoolean>;
83
- }, import("zod/v4/core").$strip>;
84
- };
29
+ } & {
30
+ path: string;
31
+ }>, import("../../lib/route").Route<"@vitnode/core", {
32
+ method: "post";
33
+ description: string;
34
+ path: "/sign_in";
35
+ request: {
36
+ body: {
37
+ required: true;
38
+ content: {
39
+ "application/json": {
40
+ schema: import("zod").ZodObject<{
41
+ email: import("zod").ZodEmail;
42
+ password: import("zod").ZodString;
43
+ isAdmin: import("zod").ZodOptional<import("zod").ZodBoolean>;
44
+ }, import("zod/v4/core").$strip>;
85
45
  };
86
46
  };
87
47
  };
88
- responses: {
89
- 403: {
90
- description: string;
91
- };
92
- 201: {
93
- content: {
94
- "application/json": {
95
- schema: import("zod").ZodObject<{
96
- id: import("zod").ZodNumber;
97
- token: import("zod").ZodString;
98
- }, import("zod/v4/core").$strip>;
99
- };
48
+ };
49
+ responses: {
50
+ 403: {
51
+ description: string;
52
+ };
53
+ 201: {
54
+ content: {
55
+ "application/json": {
56
+ schema: import("zod").ZodObject<{
57
+ id: import("zod").ZodNumber;
58
+ token: import("zod").ZodString;
59
+ }, import("zod/v4/core").$strip>;
100
60
  };
101
- description: string;
102
61
  };
62
+ description: string;
103
63
  };
104
- } & {
105
- getRoutingPath: () => "/sign_in";
106
64
  };
107
- }, {
108
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/sign_out", {
109
- in: {
110
- json: {
111
- isAdmin?: boolean | undefined;
112
- };
113
- };
114
- out: {
115
- json: {
116
- isAdmin?: boolean | undefined;
117
- };
118
- };
119
- }>) => Promise<Response & import("hono").TypedResponse<{}, 200 | 403, "json">>;
120
- pluginId: "@vitnode/core";
121
- route: {
122
- method: "delete";
123
- description: string;
124
- path: "/sign_out";
125
- request: {
126
- body: {
127
- content: {
128
- "application/json": {
129
- schema: import("zod").ZodObject<{
130
- isAdmin: import("zod").ZodOptional<import("zod").ZodBoolean>;
131
- }, import("zod/v4/core").$strip>;
132
- };
65
+ } & {
66
+ path: string;
67
+ }>, import("../../lib/route").Route<"@vitnode/core", {
68
+ method: "delete";
69
+ description: string;
70
+ path: "/sign_out";
71
+ request: {
72
+ body: {
73
+ content: {
74
+ "application/json": {
75
+ schema: import("zod").ZodObject<{
76
+ isAdmin: import("zod").ZodOptional<import("zod").ZodBoolean>;
77
+ }, import("zod/v4/core").$strip>;
133
78
  };
134
79
  };
135
80
  };
136
- responses: {
137
- 200: {
138
- description: string;
139
- };
140
- 403: {
141
- description: string;
142
- };
143
- };
144
- } & {
145
- getRoutingPath: () => "/sign_out";
146
81
  };
147
- }, {
148
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/sign_up", {
149
- in: {
150
- json: {
151
- email: string;
152
- name: string;
153
- password: string;
154
- newsletter?: boolean | undefined;
155
- };
82
+ responses: {
83
+ 200: {
84
+ description: string;
156
85
  };
157
- out: {
158
- json: {
159
- email: string;
160
- name: string;
161
- password: string;
162
- newsletter?: boolean | undefined;
163
- };
164
- };
165
- }>) => Promise<Response & import("hono").TypedResponse<{
166
- id: number;
167
- emailVerified: boolean;
168
- email: string;
169
- }, 201, "json">>;
170
- pluginId: "@vitnode/core";
171
- route: {
172
- method: "post";
173
- description: string;
174
- path: "/sign_up";
175
- withCaptcha: true;
176
- request: {
177
- body: {
178
- required: true;
179
- content: {
180
- "application/json": {
181
- schema: import("zod").ZodObject<{
182
- email: import("zod").ZodEmail;
183
- name: import("zod").ZodString;
184
- password: import("zod").ZodString;
185
- newsletter: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
186
- }, import("zod/v4/core").$strip>;
187
- };
188
- };
189
- };
86
+ 403: {
87
+ description: string;
190
88
  };
191
- responses: {
192
- 201: {
193
- content: {
194
- "application/json": {
195
- schema: import("zod").ZodObject<{
196
- id: import("zod").ZodNumber;
197
- emailVerified: import("zod").ZodBoolean;
198
- email: import("zod").ZodEmail;
199
- }, import("zod/v4/core").$strip>;
200
- };
89
+ };
90
+ } & {
91
+ path: string;
92
+ }>, import("../../lib/route").Route<"@vitnode/core", {
93
+ method: "post";
94
+ description: string;
95
+ path: "/sign_up";
96
+ withCaptcha: true;
97
+ request: {
98
+ body: {
99
+ required: true;
100
+ content: {
101
+ "application/json": {
102
+ schema: import("zod").ZodObject<{
103
+ email: import("zod").ZodEmail;
104
+ name: import("zod").ZodString;
105
+ password: import("zod").ZodString;
106
+ newsletter: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
107
+ }, import("zod/v4/core").$strip>;
201
108
  };
202
- description: string;
203
- };
204
- 400: {
205
- description: string;
206
- };
207
- 409: {
208
- description: string;
209
109
  };
210
110
  };
211
- } & {
212
- getRoutingPath: () => "/sign_up";
213
111
  };
214
- }, {
215
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/test", {}>) => Promise<Response & import("hono").TypedResponse<"test", 200 | 201, "text">>;
216
- pluginId: "@vitnode/core";
217
- route: {
218
- method: "post";
219
- description: string;
220
- path: "/test";
221
- responses: {
222
- 200: {
223
- content: {
224
- "text/plain": {
225
- schema: import("zod").ZodString;
226
- };
227
- };
228
- description: string;
229
- };
230
- 201: {
231
- content: {
232
- "text/plain": {
233
- schema: import("zod").ZodString;
234
- };
112
+ responses: {
113
+ 201: {
114
+ content: {
115
+ "application/json": {
116
+ schema: import("zod").ZodObject<{
117
+ id: import("zod").ZodNumber;
118
+ emailVerified: import("zod").ZodBoolean;
119
+ email: import("zod").ZodEmail;
120
+ }, import("zod/v4/core").$strip>;
235
121
  };
236
- description: string;
237
122
  };
123
+ description: string;
238
124
  };
239
- } & {
240
- getRoutingPath: () => "/test";
241
- };
242
- }, {
243
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/reset-password", {
244
- in: {
245
- json: {
246
- email: string;
247
- };
125
+ 400: {
126
+ description: string;
248
127
  };
249
- out: {
250
- json: {
251
- email: string;
252
- };
128
+ 409: {
129
+ description: string;
253
130
  };
254
- }>) => Promise<Response & import("hono").TypedResponse<"Email sent", 201, "text">>;
255
- pluginId: "@vitnode/core";
256
- route: {
257
- method: "post";
258
- description: string;
259
- path: "/reset-password";
260
- withCaptcha: true;
261
- request: {
262
- body: {
263
- required: true;
264
- content: {
265
- "application/json": {
266
- schema: import("zod").ZodObject<{
267
- email: import("zod").ZodEmail;
268
- }, import("zod/v4/core").$strip>;
269
- };
131
+ };
132
+ } & {
133
+ path: string;
134
+ }>, import("../../lib/route").Route<"@vitnode/core", {
135
+ method: "post";
136
+ description: string;
137
+ path: "/test";
138
+ responses: {
139
+ 200: {
140
+ content: {
141
+ "text/plain": {
142
+ schema: import("zod").ZodString;
270
143
  };
271
144
  };
145
+ description: string;
272
146
  };
273
- responses: {
274
- 201: {
275
- description: string;
147
+ 201: {
148
+ content: {
149
+ "text/plain": {
150
+ schema: import("zod").ZodString;
151
+ };
276
152
  };
153
+ description: string;
277
154
  };
278
- } & {
279
- getRoutingPath: () => "/reset-password";
280
155
  };
281
- }, {
282
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/change-password", {
283
- in: {
284
- json: {
285
- password: string;
286
- userId: number;
287
- token: string;
288
- };
289
- };
290
- out: {
291
- json: {
292
- password: string;
293
- userId: number;
294
- token: string;
295
- };
296
- };
297
- }>) => Promise<Response & import("hono").TypedResponse<"Password changed", 201, "text">>;
298
- pluginId: "@vitnode/core";
299
- route: {
300
- method: "post";
301
- description: string;
302
- path: "/change-password";
303
- request: {
304
- body: {
305
- required: true;
306
- content: {
307
- "application/json": {
308
- schema: import("zod").ZodObject<{
309
- password: import("zod").ZodString;
310
- userId: import("zod").ZodNumber;
311
- token: import("zod").ZodString;
312
- }, import("zod/v4/core").$strip>;
313
- };
156
+ } & {
157
+ path: string;
158
+ }>, import("../../lib/route").Route<"@vitnode/core", {
159
+ method: "post";
160
+ description: string;
161
+ path: "/reset-password";
162
+ withCaptcha: true;
163
+ request: {
164
+ body: {
165
+ required: true;
166
+ content: {
167
+ "application/json": {
168
+ schema: import("zod").ZodObject<{
169
+ email: import("zod").ZodEmail;
170
+ }, import("zod/v4/core").$strip>;
314
171
  };
315
172
  };
316
173
  };
317
- responses: {
318
- 201: {
319
- description: string;
320
- };
321
- };
322
- } & {
323
- getRoutingPath: () => "/change-password";
324
174
  };
325
- }], import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "sso", [{
326
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/:providerId/callback", {
327
- in: {
328
- param: {
329
- providerId: string;
330
- };
331
- };
332
- out: {
333
- param: {
334
- providerId: string;
335
- };
175
+ responses: {
176
+ 201: {
177
+ description: string;
336
178
  };
337
- } & {
338
- in: {
339
- query: {
340
- code: string;
341
- state: string;
342
- };
343
- };
344
- out: {
345
- query: {
346
- code: string;
347
- state: string;
348
- };
349
- };
350
- }>) => Promise<Response & import("hono").TypedResponse<{
351
- id: number;
352
- token: string;
353
- }, 200 | 409, "json">>;
354
- pluginId: "@vitnode/core";
355
- route: {
356
- method: "get";
357
- description: string;
358
- path: "/{providerId}/callback";
359
- request: {
360
- params: import("zod").ZodObject<{
361
- providerId: import("zod").ZodString;
362
- }, import("zod/v4/core").$strip>;
363
- query: import("zod").ZodObject<{
364
- code: import("zod").ZodString;
365
- state: import("zod").ZodString;
366
- }, import("zod/v4/core").$strip>;
367
- };
368
- responses: {
369
- 200: {
370
- content: {
371
- "application/json": {
372
- schema: import("zod").ZodObject<{
373
- id: import("zod").ZodNumber;
374
- token: import("zod").ZodString;
375
- }, import("zod/v4/core").$strip>;
376
- };
179
+ };
180
+ } & {
181
+ path: string;
182
+ }>, import("../../lib/route").Route<"@vitnode/core", {
183
+ method: "post";
184
+ description: string;
185
+ path: "/change-password";
186
+ request: {
187
+ body: {
188
+ required: true;
189
+ content: {
190
+ "application/json": {
191
+ schema: import("zod").ZodObject<{
192
+ password: import("zod").ZodString;
193
+ userId: import("zod").ZodNumber;
194
+ token: import("zod").ZodString;
195
+ }, import("zod/v4/core").$strip>;
377
196
  };
378
- description: string;
379
- };
380
- 409: {
381
- description: string;
382
197
  };
383
198
  };
384
- } & {
385
- getRoutingPath: () => "/:providerId/callback";
386
199
  };
387
- }, {
388
- handler: (c: import("hono").Context<import("../../middlewares/global.middleware").EnvVitNode, "/:providerId", {
389
- in: {
390
- param: {
391
- providerId: string;
392
- };
200
+ responses: {
201
+ 201: {
202
+ description: string;
393
203
  };
394
- out: {
395
- param: {
396
- providerId: string;
204
+ };
205
+ } & {
206
+ path: string;
207
+ }>], import("../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "sso", [import("../../lib/route").Route<"@vitnode/core", {
208
+ method: "get";
209
+ description: string;
210
+ path: "/{providerId}/callback";
211
+ request: {
212
+ params: import("zod").ZodObject<{
213
+ providerId: import("zod").ZodString;
214
+ }, import("zod/v4/core").$strip>;
215
+ query: import("zod").ZodObject<{
216
+ code: import("zod").ZodString;
217
+ state: import("zod").ZodString;
218
+ }, import("zod/v4/core").$strip>;
219
+ };
220
+ responses: {
221
+ 200: {
222
+ content: {
223
+ "application/json": {
224
+ schema: import("zod").ZodObject<{
225
+ id: import("zod").ZodNumber;
226
+ token: import("zod").ZodString;
227
+ }, import("zod/v4/core").$strip>;
228
+ };
397
229
  };
230
+ description: string;
398
231
  };
399
- }>) => Promise<Response & import("hono").TypedResponse<{
400
- url: string;
401
- }, 200, "json">>;
402
- pluginId: "@vitnode/core";
403
- route: {
404
- method: "post";
405
- description: string;
406
- path: "/{providerId}";
407
- request: {
408
- params: import("zod").ZodObject<{
409
- providerId: import("zod").ZodString;
410
- }, import("zod/v4/core").$strip>;
232
+ 409: {
233
+ description: string;
411
234
  };
412
- responses: {
413
- 200: {
414
- content: {
415
- "application/json": {
416
- schema: import("zod").ZodObject<{
417
- url: import("zod").ZodString;
418
- }, import("zod/v4/core").$strip>;
419
- };
235
+ };
236
+ } & {
237
+ path: string;
238
+ }>, import("../../lib/route").Route<"@vitnode/core", {
239
+ method: "post";
240
+ description: string;
241
+ path: "/{providerId}";
242
+ request: {
243
+ params: import("zod").ZodObject<{
244
+ providerId: import("zod").ZodString;
245
+ }, import("zod/v4/core").$strip>;
246
+ };
247
+ responses: {
248
+ 200: {
249
+ content: {
250
+ "application/json": {
251
+ schema: import("zod").ZodObject<{
252
+ url: import("zod").ZodString;
253
+ }, import("zod/v4/core").$strip>;
420
254
  };
421
- description: string;
422
255
  };
256
+ description: string;
423
257
  };
424
- } & {
425
- getRoutingPath: () => "/:providerId";
426
258
  };
427
- }], 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>>[]>[]>[]>;
259
+ } & {
260
+ path: string;
261
+ }>], import("../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]>[]>;
428
262
  //# sourceMappingURL=users.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/users/users.module.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mQAatB,CAAC"}
1
+ {"version":3,"file":"users.module.d.ts","sourceRoot":"","sources":["../../../../../src/api/modules/users/users.module.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iLAatB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../src/app_admin/core/advanced/cron/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,QAAA,MAAM,aAAa;;EAMlB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;EAO5B,CAAC;AAEF,wBAA8B,IAAI,CAChC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,oDAelD"}
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../src/app_admin/core/advanced/cron/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,QAAA,MAAM,aAAa;;EAMlB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;EAO5B,CAAC;AAEF,wBAA8B,IAAI,CAChC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,oDAelD"}