@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.
- package/dist/scripts/get-config.d.ts.map +1 -1
- package/dist/scripts/plugin.d.ts.map +1 -1
- package/dist/scripts/prepare-database.d.ts.map +1 -1
- package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
- package/dist/scripts/scripts.js +3 -3
- package/dist/scripts/shared/file-utils.d.ts.map +1 -1
- package/dist/src/api/adapters/cron/node-cron.adapter.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/discord.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/facebook.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/google.d.ts.map +1 -1
- package/dist/src/api/config.d.ts.map +1 -1
- package/dist/src/api/config.js +2 -1
- package/dist/src/api/lib/cron.d.ts +4 -4
- package/dist/src/api/lib/cron.d.ts.map +1 -1
- package/dist/src/api/lib/logger-middleware.js +1 -1
- package/dist/src/api/lib/module.d.ts +2 -2
- package/dist/src/api/lib/module.d.ts.map +1 -1
- package/dist/src/api/lib/plugin.d.ts +1 -1
- package/dist/src/api/lib/plugin.d.ts.map +1 -1
- package/dist/src/api/lib/route.d.ts +9 -16
- package/dist/src/api/lib/route.d.ts.map +1 -1
- package/dist/src/api/lib/route.js +1 -1
- package/dist/src/api/lib/with-pagination.d.ts +1 -1
- package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
- package/dist/src/api/middlewares/cron-auth.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.d.ts +6 -6
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +0 -1
- package/dist/src/api/models/device.d.ts.map +1 -1
- package/dist/src/api/models/device.js +1 -1
- package/dist/src/api/models/email.d.ts.map +1 -1
- package/dist/src/api/models/email.js +1 -2
- package/dist/src/api/models/session-admin.d.ts.map +1 -1
- package/dist/src/api/models/session.d.ts.map +1 -1
- package/dist/src/api/models/sso.d.ts.map +1 -1
- package/dist/src/api/models/sso.js +1 -1
- package/dist/src/api/models/user/get-user-by-id.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-in-with-passwords.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-up.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-up.js +1 -0
- package/dist/src/api/models/user.d.ts.map +1 -1
- package/dist/src/api/modules/admin/admin.module.d.ts +217 -393
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts +86 -150
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts +86 -150
- package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts +48 -91
- package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts +39 -60
- package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +56 -105
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +56 -105
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/routes/session.route.d.ts +29 -47
- package/dist/src/api/modules/admin/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts +49 -94
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts +54 -99
- package/dist/src/api/modules/admin/users/routes/users.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts +49 -94
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/cron/cron/clean.cron.d.ts.map +1 -1
- package/dist/src/api/modules/cron/cron.module.d.ts +17 -21
- package/dist/src/api/modules/cron/cron.module.d.ts.map +1 -1
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts +10 -10
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts.map +1 -1
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.js +3 -3
- package/dist/src/api/modules/cron/routes/cron.route.d.ts +17 -21
- package/dist/src/api/modules/cron/routes/cron.route.d.ts.map +1 -1
- package/dist/src/api/modules/cron/routes/cron.route.js +1 -1
- package/dist/src/api/modules/middleware/middleware.module.d.ts +26 -40
- package/dist/src/api/modules/middleware/middleware.module.d.ts.map +1 -1
- package/dist/src/api/modules/middleware/route.d.ts +26 -40
- package/dist/src/api/modules/middleware/route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/change-password.route.d.ts +21 -40
- package/dist/src/api/modules/users/routes/change-password.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts +20 -35
- package/dist/src/api/modules/users/routes/reset-passowrd.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/session.route.d.ts +27 -45
- package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-in.route.d.ts +30 -52
- package/dist/src/api/modules/users/routes/sign-in.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-out.route.d.ts +21 -36
- package/dist/src/api/modules/users/routes/sign-out.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts +36 -61
- package/dist/src/api/modules/users/routes/sign-up.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/test.route.d.ts +19 -23
- package/dist/src/api/modules/users/routes/test.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/routes/callback.route.d.ts +28 -59
- package/dist/src/api/modules/users/sso/routes/callback.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts +20 -37
- package/dist/src/api/modules/users/sso/routes/create-url.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/sso/sso.module.d.ts +47 -95
- package/dist/src/api/modules/users/sso/sso.module.d.ts.map +1 -1
- package/dist/src/api/modules/users/users.module.d.ts +212 -378
- package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
- package/dist/src/app_admin/core/advanced/cron/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/advanced/cron/page.js +3 -3
- package/dist/src/app_admin/core/debug/page.js +1 -1
- package/dist/src/app_admin/core/users/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/users/page.js +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +1 -1
- package/dist/src/components/confirm-action/content.d.ts.map +1 -1
- package/dist/src/components/confirm-action/content.js +1 -0
- package/dist/src/components/form/auto-form.d.ts.map +1 -1
- package/dist/src/components/form/auto-form.js +0 -1
- package/dist/src/components/form/fields/checkbox.d.ts +1 -1
- package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox-async.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
- package/dist/src/components/form/fields/input.d.ts +1 -1
- package/dist/src/components/form/fields/input.d.ts.map +1 -1
- package/dist/src/components/form/fields/select.d.ts.map +1 -1
- package/dist/src/components/form/fields/switch.js +1 -1
- package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
- package/dist/src/components/table/content.d.ts.map +1 -1
- package/dist/src/components/table/data-table.d.ts +1 -1
- package/dist/src/components/table/data-table.d.ts.map +1 -1
- package/dist/src/components/table/order-table-head.d.ts.map +1 -1
- package/dist/src/components/table/pagination.js +1 -1
- package/dist/src/components/tiptap/extension.d.ts.map +1 -1
- package/dist/src/components/tiptap/extension.js +7 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts +2 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +91 -0
- package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.js +45 -46
- package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.js +14 -13
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.js +5 -5
- package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.js +6 -6
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.js +38 -18
- package/dist/src/components/tiptap/toolbar/use-toolbar-editor.d.ts.map +1 -1
- package/dist/src/components/ui/accordion.d.ts +1 -1
- package/dist/src/components/ui/accordion.d.ts.map +1 -1
- package/dist/src/components/ui/alert.d.ts +1 -1
- package/dist/src/components/ui/alert.d.ts.map +1 -1
- package/dist/src/components/ui/badge.d.ts +1 -1
- package/dist/src/components/ui/badge.d.ts.map +1 -1
- package/dist/src/components/ui/button.d.ts +2 -2
- package/dist/src/components/ui/button.d.ts.map +1 -1
- package/dist/src/components/ui/checkbox.d.ts +1 -1
- package/dist/src/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/components/ui/command.d.ts +1 -1
- package/dist/src/components/ui/command.d.ts.map +1 -1
- package/dist/src/components/ui/context-menu.d.ts +1 -1
- package/dist/src/components/ui/context-menu.d.ts.map +1 -1
- package/dist/src/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/ui/editor-content.js +1 -1
- package/dist/src/components/ui/editor.d.ts.map +1 -1
- package/dist/src/components/ui/editor.js +1 -1
- package/dist/src/components/ui/form.d.ts.map +1 -1
- package/dist/src/components/ui/hover-card.d.ts +1 -1
- package/dist/src/components/ui/hover-card.d.ts.map +1 -1
- package/dist/src/components/ui/label.d.ts +1 -1
- package/dist/src/components/ui/label.d.ts.map +1 -1
- package/dist/src/components/ui/menubar.d.ts +1 -1
- package/dist/src/components/ui/menubar.d.ts.map +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/src/components/ui/popover.d.ts +1 -1
- package/dist/src/components/ui/popover.d.ts.map +1 -1
- package/dist/src/components/ui/progress.d.ts +1 -1
- package/dist/src/components/ui/progress.d.ts.map +1 -1
- package/dist/src/components/ui/radio-group.d.ts +1 -1
- package/dist/src/components/ui/radio-group.d.ts.map +1 -1
- package/dist/src/components/ui/scroll-area.d.ts +6 -0
- package/dist/src/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/src/components/ui/scroll-area.js +33 -0
- package/dist/src/components/ui/select.d.ts +1 -1
- package/dist/src/components/ui/select.d.ts.map +1 -1
- package/dist/src/components/ui/separator.d.ts +1 -1
- package/dist/src/components/ui/separator.d.ts.map +1 -1
- package/dist/src/components/ui/sheet.d.ts +1 -1
- package/dist/src/components/ui/sheet.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.js +1 -1
- package/dist/src/components/ui/sonner.d.ts.map +1 -1
- package/dist/src/components/ui/switch.d.ts +1 -1
- package/dist/src/components/ui/switch.d.ts.map +1 -1
- package/dist/src/components/ui/tabs.d.ts +1 -1
- package/dist/src/components/ui/tabs.d.ts.map +1 -1
- package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.d.ts +1 -1
- package/dist/src/components/ui/toggle.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.js +1 -1
- package/dist/src/components/ui/tooltip.d.ts +1 -1
- package/dist/src/components/ui/tooltip.d.ts.map +1 -1
- package/dist/src/drizzle.config.d.ts.map +1 -1
- package/dist/src/drizzle.config.js +1 -1
- package/dist/src/emails/default-template.d.ts.map +1 -1
- package/dist/src/emails/default-template.js +20 -21
- package/dist/src/hooks/use-captcha.d.ts +20 -0
- package/dist/src/hooks/use-captcha.d.ts.map +1 -1
- package/dist/src/hooks/use-captcha.js +22 -18
- package/dist/src/hooks/use-mobile.d.ts.map +1 -1
- package/dist/src/hooks/use-mobile.js +1 -0
- package/dist/src/lib/api/get-next-cron-run-date.d.ts.map +1 -1
- package/dist/src/lib/api/get-next-cron-run-date.js +2 -2
- package/dist/src/lib/api/should-cron-job-run.d.ts.map +1 -1
- package/dist/src/lib/api/should-cron-job-run.js +2 -2
- package/dist/src/lib/config.js +1 -1
- package/dist/src/lib/ctrl-or-command-character.d.ts +1 -1
- package/dist/src/lib/ctrl-or-command-character.d.ts.map +1 -1
- package/dist/src/lib/ctrl-or-command-character.js +2 -6
- package/dist/src/lib/fetcher/cookie-from-string-to-object.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.js +1 -2
- package/dist/src/lib/fetcher-client.d.ts.map +1 -1
- package/dist/src/lib/fetcher.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.js +0 -1
- package/dist/src/lib/navigation.d.ts +1 -1
- package/dist/src/lib/navigation.d.ts.map +1 -1
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts +1 -0
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts.map +1 -0
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.js +0 -0
- package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/admin-layout.js +4 -1
- package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.js +4 -4
- package/dist/src/views/admin/views/core/advanced/cron/run-action/mutation-api.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.js +4 -3
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.js +1 -1
- package/dist/src/views/admin/views/core/test.js +1 -1
- package/dist/src/views/auth/password-reset/change-password-form/use-form.d.ts.map +1 -1
- package/dist/src/views/auth/password-reset/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-in/form/mutation-api.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.js +2 -1
- package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/mutation-api.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/use-form.js +2 -2
- package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
- package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/wrapper.js +8 -5
- package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.js +2 -1
- package/dist/src/views/layouts/provider.d.ts.map +1 -1
- package/dist/src/views/layouts/provider.js +1 -0
- package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
- package/dist/src/vitnode.config.d.ts +1 -1
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/src/vitnode.config.js +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.mjs +17 -0
- package/package.json +42 -38
- package/src/app_admin/core/advanced/cron/page.tsx +3 -2
- package/src/app_admin/core/debug/page.tsx +1 -1
- package/src/app_admin/core/users/page.tsx +2 -1
- package/src/locales/en.json +8 -0
- package/src/tiptap.css +9 -1
|
@@ -1,43 +1,28 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
export declare const signOutRoute: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
}>) => Promise<Response & import("hono").TypedResponse<{}, 200 | 403, "json">>;
|
|
15
|
-
pluginId: "@vitnode/core";
|
|
16
|
-
route: {
|
|
17
|
-
method: "delete";
|
|
18
|
-
description: string;
|
|
19
|
-
path: "/sign_out";
|
|
20
|
-
request: {
|
|
21
|
-
body: {
|
|
22
|
-
content: {
|
|
23
|
-
"application/json": {
|
|
24
|
-
schema: z.ZodObject<{
|
|
25
|
-
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
-
}, z.core.$strip>;
|
|
27
|
-
};
|
|
2
|
+
export declare const signOutRoute: import("../../../../api/lib/route").Route<"@vitnode/core", {
|
|
3
|
+
method: "delete";
|
|
4
|
+
description: string;
|
|
5
|
+
path: "/sign_out";
|
|
6
|
+
request: {
|
|
7
|
+
body: {
|
|
8
|
+
content: {
|
|
9
|
+
"application/json": {
|
|
10
|
+
schema: z.ZodObject<{
|
|
11
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>;
|
|
28
13
|
};
|
|
29
14
|
};
|
|
30
15
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
16
|
+
};
|
|
17
|
+
responses: {
|
|
18
|
+
200: {
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
403: {
|
|
22
|
+
description: string;
|
|
38
23
|
};
|
|
39
|
-
} & {
|
|
40
|
-
getRoutingPath: () => "/sign_out";
|
|
41
24
|
};
|
|
42
|
-
}
|
|
25
|
+
} & {
|
|
26
|
+
path: string;
|
|
27
|
+
}>;
|
|
43
28
|
//# sourceMappingURL=sign-out.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-out.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/routes/sign-out.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAOtC,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"sign-out.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/routes/sign-out.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAOtC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;EAuCvB,CAAC"}
|
|
@@ -5,72 +5,47 @@ export declare const zodSignUpSchema: z.ZodObject<{
|
|
|
5
5
|
password: z.ZodString;
|
|
6
6
|
newsletter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
export declare const signUpRoute: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
27
|
-
id: number;
|
|
28
|
-
emailVerified: boolean;
|
|
29
|
-
email: string;
|
|
30
|
-
}, 201, "json">>;
|
|
31
|
-
pluginId: "@vitnode/core";
|
|
32
|
-
route: {
|
|
33
|
-
method: "post";
|
|
34
|
-
description: string;
|
|
35
|
-
path: "/sign_up";
|
|
36
|
-
withCaptcha: true;
|
|
37
|
-
request: {
|
|
38
|
-
body: {
|
|
39
|
-
required: true;
|
|
40
|
-
content: {
|
|
41
|
-
"application/json": {
|
|
42
|
-
schema: z.ZodObject<{
|
|
43
|
-
email: z.ZodEmail;
|
|
44
|
-
name: z.ZodString;
|
|
45
|
-
password: z.ZodString;
|
|
46
|
-
newsletter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
47
|
-
}, z.core.$strip>;
|
|
48
|
-
};
|
|
8
|
+
export declare const signUpRoute: import("../../../../api/lib/route").Route<"@vitnode/core", {
|
|
9
|
+
method: "post";
|
|
10
|
+
description: string;
|
|
11
|
+
path: "/sign_up";
|
|
12
|
+
withCaptcha: true;
|
|
13
|
+
request: {
|
|
14
|
+
body: {
|
|
15
|
+
required: true;
|
|
16
|
+
content: {
|
|
17
|
+
"application/json": {
|
|
18
|
+
schema: z.ZodObject<{
|
|
19
|
+
email: z.ZodEmail;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
password: z.ZodString;
|
|
22
|
+
newsletter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
49
24
|
};
|
|
50
25
|
};
|
|
51
26
|
};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
27
|
+
};
|
|
28
|
+
responses: {
|
|
29
|
+
201: {
|
|
30
|
+
content: {
|
|
31
|
+
"application/json": {
|
|
32
|
+
schema: z.ZodObject<{
|
|
33
|
+
id: z.ZodNumber;
|
|
34
|
+
emailVerified: z.ZodBoolean;
|
|
35
|
+
email: z.ZodEmail;
|
|
36
|
+
}, z.core.$strip>;
|
|
62
37
|
};
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
400: {
|
|
66
|
-
description: string;
|
|
67
|
-
};
|
|
68
|
-
409: {
|
|
69
|
-
description: string;
|
|
70
38
|
};
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
400: {
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
409: {
|
|
45
|
+
description: string;
|
|
71
46
|
};
|
|
72
|
-
} & {
|
|
73
|
-
getRoutingPath: () => "/sign_up";
|
|
74
47
|
};
|
|
75
|
-
}
|
|
48
|
+
} & {
|
|
49
|
+
path: string;
|
|
50
|
+
}>;
|
|
76
51
|
//# sourceMappingURL=sign-up.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-up.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/routes/sign-up.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,eAAe;;;;;iBAe1B,CAAC;AAEH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"sign-up.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/routes/sign-up.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,eAAe;;;;;iBAe1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DtB,CAAC"}
|
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const testRoute: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
content: {
|
|
12
|
-
"text/plain": {
|
|
13
|
-
schema: z.ZodString;
|
|
14
|
-
};
|
|
2
|
+
export declare const testRoute: import("../../../../api/lib/route").Route<"@vitnode/core", {
|
|
3
|
+
method: "post";
|
|
4
|
+
description: string;
|
|
5
|
+
path: "/test";
|
|
6
|
+
responses: {
|
|
7
|
+
200: {
|
|
8
|
+
content: {
|
|
9
|
+
"text/plain": {
|
|
10
|
+
schema: z.ZodString;
|
|
15
11
|
};
|
|
16
|
-
description: string;
|
|
17
12
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
201: {
|
|
16
|
+
content: {
|
|
17
|
+
"text/plain": {
|
|
18
|
+
schema: z.ZodString;
|
|
23
19
|
};
|
|
24
|
-
description: string;
|
|
25
20
|
};
|
|
21
|
+
description: string;
|
|
26
22
|
};
|
|
27
|
-
} & {
|
|
28
|
-
getRoutingPath: () => "/test";
|
|
29
23
|
};
|
|
30
|
-
}
|
|
24
|
+
} & {
|
|
25
|
+
path: string;
|
|
26
|
+
}>;
|
|
31
27
|
//# sourceMappingURL=test.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/routes/test.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"test.route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/routes/test.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;EA8BpB,CAAC"}
|
|
@@ -1,65 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const callbackRoute: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
code: string;
|
|
24
|
-
state: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
28
|
-
id: number;
|
|
29
|
-
token: string;
|
|
30
|
-
}, 200 | 409, "json">>;
|
|
31
|
-
pluginId: "@vitnode/core";
|
|
32
|
-
route: {
|
|
33
|
-
method: "get";
|
|
34
|
-
description: string;
|
|
35
|
-
path: "/{providerId}/callback";
|
|
36
|
-
request: {
|
|
37
|
-
params: z.ZodObject<{
|
|
38
|
-
providerId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
query: z.ZodObject<{
|
|
41
|
-
code: z.ZodString;
|
|
42
|
-
state: z.ZodString;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
};
|
|
45
|
-
responses: {
|
|
46
|
-
200: {
|
|
47
|
-
content: {
|
|
48
|
-
"application/json": {
|
|
49
|
-
schema: z.ZodObject<{
|
|
50
|
-
id: z.ZodNumber;
|
|
51
|
-
token: z.ZodString;
|
|
52
|
-
}, z.core.$strip>;
|
|
53
|
-
};
|
|
2
|
+
export declare const callbackRoute: import("../../../../../api/lib/route").Route<"@vitnode/core", {
|
|
3
|
+
method: "get";
|
|
4
|
+
description: string;
|
|
5
|
+
path: "/{providerId}/callback";
|
|
6
|
+
request: {
|
|
7
|
+
params: z.ZodObject<{
|
|
8
|
+
providerId: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
query: z.ZodObject<{
|
|
11
|
+
code: z.ZodString;
|
|
12
|
+
state: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
};
|
|
15
|
+
responses: {
|
|
16
|
+
200: {
|
|
17
|
+
content: {
|
|
18
|
+
"application/json": {
|
|
19
|
+
schema: z.ZodObject<{
|
|
20
|
+
id: z.ZodNumber;
|
|
21
|
+
token: z.ZodString;
|
|
22
|
+
}, z.core.$strip>;
|
|
54
23
|
};
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
409: {
|
|
58
|
-
description: string;
|
|
59
24
|
};
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
409: {
|
|
28
|
+
description: string;
|
|
60
29
|
};
|
|
61
|
-
} & {
|
|
62
|
-
getRoutingPath: () => "/:providerId/callback";
|
|
63
30
|
};
|
|
64
|
-
}
|
|
31
|
+
} & {
|
|
32
|
+
path: string;
|
|
33
|
+
}>;
|
|
65
34
|
//# sourceMappingURL=callback.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callback.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/users/sso/routes/callback.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"callback.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/users/sso/routes/callback.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CxB,CAAC"}
|
|
@@ -1,43 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const createUrlRoute: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
route: {
|
|
19
|
-
method: "post";
|
|
20
|
-
description: string;
|
|
21
|
-
path: "/{providerId}";
|
|
22
|
-
request: {
|
|
23
|
-
params: z.ZodObject<{
|
|
24
|
-
providerId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
};
|
|
27
|
-
responses: {
|
|
28
|
-
200: {
|
|
29
|
-
content: {
|
|
30
|
-
"application/json": {
|
|
31
|
-
schema: z.ZodObject<{
|
|
32
|
-
url: z.ZodString;
|
|
33
|
-
}, z.core.$strip>;
|
|
34
|
-
};
|
|
2
|
+
export declare const createUrlRoute: import("../../../../../api/lib/route").Route<"@vitnode/core", {
|
|
3
|
+
method: "post";
|
|
4
|
+
description: string;
|
|
5
|
+
path: "/{providerId}";
|
|
6
|
+
request: {
|
|
7
|
+
params: z.ZodObject<{
|
|
8
|
+
providerId: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
};
|
|
11
|
+
responses: {
|
|
12
|
+
200: {
|
|
13
|
+
content: {
|
|
14
|
+
"application/json": {
|
|
15
|
+
schema: z.ZodObject<{
|
|
16
|
+
url: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
35
18
|
};
|
|
36
|
-
description: string;
|
|
37
19
|
};
|
|
20
|
+
description: string;
|
|
38
21
|
};
|
|
39
|
-
} & {
|
|
40
|
-
getRoutingPath: () => "/:providerId";
|
|
41
22
|
};
|
|
42
|
-
}
|
|
23
|
+
} & {
|
|
24
|
+
path: string;
|
|
25
|
+
}>;
|
|
43
26
|
//# sourceMappingURL=create-url.route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-url.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/users/sso/routes/create-url.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"create-url.route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/modules/users/sso/routes/create-url.route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;EA8BzB,CAAC"}
|
|
@@ -1,104 +1,56 @@
|
|
|
1
|
-
export declare const ssoUserModule: import("../../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "sso", [{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
} & {
|
|
14
|
-
in: {
|
|
15
|
-
query: {
|
|
16
|
-
code: string;
|
|
17
|
-
state: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
out: {
|
|
21
|
-
query: {
|
|
22
|
-
code: string;
|
|
23
|
-
state: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}>) => Promise<Response & import("hono").TypedResponse<{
|
|
27
|
-
id: number;
|
|
28
|
-
token: string;
|
|
29
|
-
}, 200 | 409, "json">>;
|
|
30
|
-
pluginId: "@vitnode/core";
|
|
31
|
-
route: {
|
|
32
|
-
method: "get";
|
|
33
|
-
description: string;
|
|
34
|
-
path: "/{providerId}/callback";
|
|
35
|
-
request: {
|
|
36
|
-
params: import("zod").ZodObject<{
|
|
37
|
-
providerId: import("zod").ZodString;
|
|
38
|
-
}, import("zod/v4/core").$strip>;
|
|
39
|
-
query: import("zod").ZodObject<{
|
|
40
|
-
code: import("zod").ZodString;
|
|
41
|
-
state: import("zod").ZodString;
|
|
42
|
-
}, import("zod/v4/core").$strip>;
|
|
43
|
-
};
|
|
44
|
-
responses: {
|
|
45
|
-
200: {
|
|
46
|
-
content: {
|
|
47
|
-
"application/json": {
|
|
48
|
-
schema: import("zod").ZodObject<{
|
|
49
|
-
id: import("zod").ZodNumber;
|
|
50
|
-
token: import("zod").ZodString;
|
|
51
|
-
}, import("zod/v4/core").$strip>;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
description: string;
|
|
55
|
-
};
|
|
56
|
-
409: {
|
|
57
|
-
description: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
} & {
|
|
61
|
-
getRoutingPath: () => "/:providerId/callback";
|
|
1
|
+
export declare const ssoUserModule: import("../../../../api/lib/module").BuildModuleReturn<"@vitnode/core", "sso", [import("../../../lib/route").Route<"@vitnode/core", {
|
|
2
|
+
method: "get";
|
|
3
|
+
description: string;
|
|
4
|
+
path: "/{providerId}/callback";
|
|
5
|
+
request: {
|
|
6
|
+
params: import("zod").ZodObject<{
|
|
7
|
+
providerId: import("zod").ZodString;
|
|
8
|
+
}, import("zod/v4/core").$strip>;
|
|
9
|
+
query: import("zod").ZodObject<{
|
|
10
|
+
code: import("zod").ZodString;
|
|
11
|
+
state: import("zod").ZodString;
|
|
12
|
+
}, import("zod/v4/core").$strip>;
|
|
62
13
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
providerId: string;
|
|
14
|
+
responses: {
|
|
15
|
+
200: {
|
|
16
|
+
content: {
|
|
17
|
+
"application/json": {
|
|
18
|
+
schema: import("zod").ZodObject<{
|
|
19
|
+
id: import("zod").ZodNumber;
|
|
20
|
+
token: import("zod").ZodString;
|
|
21
|
+
}, import("zod/v4/core").$strip>;
|
|
22
|
+
};
|
|
73
23
|
};
|
|
24
|
+
description: string;
|
|
74
25
|
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}, 200, "json">>;
|
|
78
|
-
pluginId: "@vitnode/core";
|
|
79
|
-
route: {
|
|
80
|
-
method: "post";
|
|
81
|
-
description: string;
|
|
82
|
-
path: "/{providerId}";
|
|
83
|
-
request: {
|
|
84
|
-
params: import("zod").ZodObject<{
|
|
85
|
-
providerId: import("zod").ZodString;
|
|
86
|
-
}, import("zod/v4/core").$strip>;
|
|
26
|
+
409: {
|
|
27
|
+
description: string;
|
|
87
28
|
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
29
|
+
};
|
|
30
|
+
} & {
|
|
31
|
+
path: string;
|
|
32
|
+
}>, import("../../../lib/route").Route<"@vitnode/core", {
|
|
33
|
+
method: "post";
|
|
34
|
+
description: string;
|
|
35
|
+
path: "/{providerId}";
|
|
36
|
+
request: {
|
|
37
|
+
params: import("zod").ZodObject<{
|
|
38
|
+
providerId: import("zod").ZodString;
|
|
39
|
+
}, import("zod/v4/core").$strip>;
|
|
40
|
+
};
|
|
41
|
+
responses: {
|
|
42
|
+
200: {
|
|
43
|
+
content: {
|
|
44
|
+
"application/json": {
|
|
45
|
+
schema: import("zod").ZodObject<{
|
|
46
|
+
url: import("zod").ZodString;
|
|
47
|
+
}, import("zod/v4/core").$strip>;
|
|
96
48
|
};
|
|
97
|
-
description: string;
|
|
98
49
|
};
|
|
50
|
+
description: string;
|
|
99
51
|
};
|
|
100
|
-
} & {
|
|
101
|
-
getRoutingPath: () => "/:providerId";
|
|
102
52
|
};
|
|
103
|
-
}
|
|
53
|
+
} & {
|
|
54
|
+
path: string;
|
|
55
|
+
}>], import("../../../../api/lib/module").BaseBuildModuleReturn<"@vitnode/core", string, import("../../../lib/route").Route<"@vitnode/core", import("@hono/zod-openapi").RouteConfig>[]>[]>;
|
|
104
56
|
//# sourceMappingURL=sso.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sso.module.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/sso/sso.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"sso.module.d.ts","sourceRoot":"","sources":["../../../../../../src/api/modules/users/sso/sso.module.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iLAIxB,CAAC"}
|