@vitnode/core 1.2.0-canary.74 → 1.2.0-canary.75
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/config/next.config.ts +4 -0
- package/dist/scripts/plugin.d.ts.map +1 -1
- package/dist/scripts/prepare-database.d.ts.map +1 -1
- package/dist/scripts/scripts.js +10 -39
- package/dist/scripts/shared/file-utils.d.ts +1 -0
- package/dist/scripts/shared/file-utils.d.ts.map +1 -1
- package/dist/scripts/shared/file-utils.test.d.ts +2 -0
- package/dist/scripts/shared/file-utils.test.d.ts.map +1 -0
- package/dist/src/api/config.d.ts.map +1 -1
- package/dist/src/api/config.js +1 -1
- package/dist/src/api/lib/cache-client.d.ts +4 -0
- package/dist/src/api/lib/cache-client.d.ts.map +1 -0
- package/dist/src/api/lib/cache-client.js +1 -0
- package/dist/src/api/lib/cache.d.ts +32 -0
- package/dist/src/api/lib/cache.d.ts.map +1 -0
- package/dist/src/api/lib/cache.js +1 -0
- package/dist/src/api/lib/cache.test.d.ts +2 -0
- package/dist/src/api/lib/cache.test.d.ts.map +1 -0
- package/dist/src/api/lib/cache.test.js +1 -0
- package/dist/src/api/lib/check-staff-permission.d.ts +20 -0
- package/dist/src/api/lib/check-staff-permission.d.ts.map +1 -0
- package/dist/src/api/lib/check-staff-permission.js +1 -0
- package/dist/src/api/lib/module.d.ts +4 -1
- package/dist/src/api/lib/module.d.ts.map +1 -1
- package/dist/src/api/lib/module.js +1 -1
- package/dist/src/api/lib/permission-staff.d.ts +35 -0
- package/dist/src/api/lib/permission-staff.d.ts.map +1 -0
- package/dist/src/api/lib/permission-staff.js +1 -0
- package/dist/src/api/lib/plugin.d.ts +8 -3
- package/dist/src/api/lib/plugin.d.ts.map +1 -1
- package/dist/src/api/lib/plugin.js +1 -1
- package/dist/src/api/lib/queue.d.ts +14 -0
- package/dist/src/api/lib/queue.d.ts.map +1 -0
- package/dist/src/api/lib/queue.js +1 -0
- package/dist/src/api/lib/resolve-role-names.d.ts +7 -0
- package/dist/src/api/lib/resolve-role-names.d.ts.map +1 -0
- package/dist/src/api/lib/resolve-role-names.js +1 -0
- package/dist/src/api/lib/route.d.ts +7 -1
- 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/staff-permission.d.ts +4 -0
- package/dist/src/api/lib/staff-permission.d.ts.map +1 -0
- package/dist/src/api/lib/staff-permission.js +1 -0
- package/dist/src/api/middlewares/global.middleware.d.ts +18 -5
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +1 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.d.ts +2 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.js +1 -1
- package/dist/src/api/models/email.d.ts +11 -1
- package/dist/src/api/models/email.d.ts.map +1 -1
- package/dist/src/api/models/email.js +1 -1
- package/dist/src/api/models/email.test.d.ts +2 -0
- package/dist/src/api/models/email.test.d.ts.map +1 -0
- package/dist/src/api/models/email.test.js +1 -0
- package/dist/src/api/models/queue.d.ts +17 -0
- package/dist/src/api/models/queue.d.ts.map +1 -0
- package/dist/src/api/models/queue.js +1 -0
- package/dist/src/api/models/queue.test.d.ts +2 -0
- package/dist/src/api/models/queue.test.d.ts.map +1 -0
- package/dist/src/api/models/queue.test.js +1 -0
- package/dist/src/api/models/session-admin.d.ts.map +1 -1
- package/dist/src/api/models/session-admin.js +1 -1
- package/dist/src/api/models/session-cache.d.ts +8 -0
- package/dist/src/api/models/session-cache.d.ts.map +1 -0
- package/dist/src/api/models/session-cache.js +1 -0
- package/dist/src/api/models/session.d.ts.map +1 -1
- package/dist/src/api/models/session.js +1 -1
- package/dist/src/api/modules/admin/admin.module.d.ts +694 -8
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/admin.module.js +1 -1
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts +64 -2
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.js +1 -1
- package/dist/src/api/modules/admin/advanced/queue/queue.admin.module.d.ts +64 -0
- package/dist/src/api/modules/admin/advanced/queue/queue.admin.module.d.ts.map +1 -0
- package/dist/src/api/modules/admin/advanced/queue/queue.admin.module.js +1 -0
- package/dist/src/api/modules/admin/advanced/queue/routes/get.route.d.ts +65 -0
- package/dist/src/api/modules/admin/advanced/queue/routes/get.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/advanced/queue/routes/get.route.js +1 -0
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts +122 -2
- package/dist/src/api/modules/admin/debug/debug.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/debug.admin.module.js +1 -1
- package/dist/src/api/modules/admin/debug/routes/integrations.route.d.ts +49 -0
- package/dist/src/api/modules/admin/debug/routes/integrations.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/debug/routes/integrations.route.js +1 -0
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts +2 -2
- package/dist/src/api/modules/admin/debug/routes/logs.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/debug/routes/logs.route.js +1 -1
- package/dist/src/api/modules/admin/debug/routes/queue.route.d.ts +42 -0
- package/dist/src/api/modules/admin/debug/routes/queue.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/debug/routes/queue.route.js +1 -0
- package/dist/src/api/modules/admin/debug/routes/send-test-email.route.d.ts +43 -0
- package/dist/src/api/modules/admin/debug/routes/send-test-email.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/debug/routes/send-test-email.route.js +1 -0
- package/dist/src/api/modules/admin/routes/session.route.d.ts +8 -0
- package/dist/src/api/modules/admin/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/routes/session.route.js +1 -1
- package/dist/src/api/modules/admin/staff/lib/resolve-staff-edges.d.ts +38 -0
- package/dist/src/api/modules/admin/staff/lib/resolve-staff-edges.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/lib/resolve-staff-edges.js +1 -0
- package/dist/src/api/modules/admin/staff/lib/schema.d.ts +107 -0
- package/dist/src/api/modules/admin/staff/lib/schema.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/lib/schema.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/admins.route.d.ts +76 -0
- package/dist/src/api/modules/admin/staff/routes/admins.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/admins.route.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/create.route.d.ts +52 -0
- package/dist/src/api/modules/admin/staff/routes/create.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/create.route.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/delete.route.d.ts +36 -0
- package/dist/src/api/modules/admin/staff/routes/delete.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/delete.route.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/moderators.route.d.ts +76 -0
- package/dist/src/api/modules/admin/staff/routes/moderators.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/moderators.route.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/permission-catalog.route.d.ts +32 -0
- package/dist/src/api/modules/admin/staff/routes/permission-catalog.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/permission-catalog.route.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/show-permissions.route.d.ts +75 -0
- package/dist/src/api/modules/admin/staff/routes/show-permissions.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/show-permissions.route.js +1 -0
- package/dist/src/api/modules/admin/staff/routes/update-permissions.route.d.ts +62 -0
- package/dist/src/api/modules/admin/staff/routes/update-permissions.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/routes/update-permissions.route.js +1 -0
- package/dist/src/api/modules/admin/staff/staff.admin.module.d.ts +392 -0
- package/dist/src/api/modules/admin/staff/staff.admin.module.d.ts.map +1 -0
- package/dist/src/api/modules/admin/staff/staff.admin.module.js +1 -0
- package/dist/src/api/modules/admin/users/lib/assert-edit-user-permission.d.ts +4 -0
- package/dist/src/api/modules/admin/users/lib/assert-edit-user-permission.d.ts.map +1 -0
- package/dist/src/api/modules/admin/users/lib/assert-edit-user-permission.js +1 -0
- package/dist/src/api/modules/admin/users/routes/create.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/create.route.js +1 -1
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts +16 -0
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/list.route.js +1 -1
- package/dist/src/api/modules/admin/users/routes/show.route.d.ts +19 -2
- package/dist/src/api/modules/admin/users/routes/show.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/show.route.js +1 -1
- package/dist/src/api/modules/admin/users/routes/update.route.d.ts +83 -0
- package/dist/src/api/modules/admin/users/routes/update.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/users/routes/update.route.js +1 -0
- package/dist/src/api/modules/admin/users/routes/verify-email.route.d.ts +2 -2
- package/dist/src/api/modules/admin/users/routes/verify-email.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/verify-email.route.js +1 -1
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts +110 -4
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/users.admin.module.js +1 -1
- package/dist/src/api/modules/queue/cron/process-queue.cron.d.ts +2 -0
- package/dist/src/api/modules/queue/cron/process-queue.cron.d.ts.map +1 -0
- package/dist/src/api/modules/queue/cron/process-queue.cron.js +1 -0
- package/dist/src/api/modules/queue/helpers/process-queue-tasks.d.ts +4 -0
- package/dist/src/api/modules/queue/helpers/process-queue-tasks.d.ts.map +1 -0
- package/dist/src/api/modules/queue/helpers/process-queue-tasks.js +1 -0
- package/dist/src/api/modules/queue/queue.module.d.ts +2 -0
- package/dist/src/api/modules/queue/queue.module.d.ts.map +1 -0
- package/dist/src/api/modules/queue/queue.module.js +1 -0
- package/dist/src/api/modules/queue/tasks/send-email.task.d.ts +10 -0
- package/dist/src/api/modules/queue/tasks/send-email.task.d.ts.map +1 -0
- package/dist/src/api/modules/queue/tasks/send-email.task.js +1 -0
- package/dist/src/api/modules/users/routes/permissions.route.d.ts +26 -0
- package/dist/src/api/modules/users/routes/permissions.route.d.ts.map +1 -0
- package/dist/src/api/modules/users/routes/permissions.route.js +1 -0
- package/dist/src/api/modules/users/routes/reset-passowrd.route.js +1 -1
- package/dist/src/api/modules/users/routes/session.route.d.ts +1 -0
- package/dist/src/api/modules/users/routes/session.route.d.ts.map +1 -1
- package/dist/src/api/modules/users/routes/session.route.js +1 -1
- package/dist/src/api/modules/users/users.module.d.ts +24 -0
- package/dist/src/api/modules/users/users.module.d.ts.map +1 -1
- package/dist/src/api/modules/users/users.module.js +1 -1
- package/dist/src/api/plugin.d.ts.map +1 -1
- package/dist/src/api/plugin.js +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts.map +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +1 -1
- package/dist/src/components/form/auto-form.js +1 -1
- package/dist/src/components/form/fields/array.d.ts.map +1 -1
- package/dist/src/components/form/fields/checkbox.js +1 -1
- package/dist/src/components/form/fields/select.d.ts.map +1 -1
- package/dist/src/components/form/fields/select.js +1 -1
- package/dist/src/components/form/fields/switch.js +1 -1
- package/dist/src/components/staff-permission/provider.d.ts +13 -0
- package/dist/src/components/staff-permission/provider.d.ts.map +1 -0
- package/dist/src/components/staff-permission/provider.js +1 -0
- package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
- package/dist/src/components/switchers/langs/language-switcher.js +1 -1
- package/dist/src/components/switchers/themes/theme-switcher.js +1 -1
- package/dist/src/components/table/filters.d.ts.map +1 -1
- package/dist/src/components/table/filters.js +1 -1
- package/dist/src/components/table/pagination.d.ts.map +1 -1
- package/dist/src/components/table/pagination.js +1 -1
- package/dist/src/components/theme-provider.d.ts +26 -0
- package/dist/src/components/theme-provider.d.ts.map +1 -0
- package/dist/src/components/theme-provider.js +1 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +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 +1 -1
- 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 +1 -1
- package/dist/src/components/ui/accordion.d.ts +3 -3
- package/dist/src/components/ui/accordion.d.ts.map +1 -1
- package/dist/src/components/ui/accordion.js +1 -1
- package/dist/src/components/ui/alert-dialog.d.ts +10 -10
- package/dist/src/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/src/components/ui/alert-dialog.js +1 -1
- package/dist/src/components/ui/alert.d.ts +2 -2
- package/dist/src/components/ui/alert.d.ts.map +1 -1
- package/dist/src/components/ui/alert.js +1 -1
- package/dist/src/components/ui/aspect-ratio.d.ts +4 -2
- package/dist/src/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/src/components/ui/aspect-ratio.js +1 -1
- package/dist/src/components/ui/avatar.d.ts +2 -2
- package/dist/src/components/ui/avatar.d.ts.map +1 -1
- package/dist/src/components/ui/avatar.js +1 -1
- package/dist/src/components/ui/badge.d.ts +3 -5
- package/dist/src/components/ui/badge.d.ts.map +1 -1
- package/dist/src/components/ui/badge.js +1 -1
- package/dist/src/components/ui/breadcrumb.d.ts +3 -4
- package/dist/src/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/src/components/ui/breadcrumb.js +1 -1
- package/dist/src/components/ui/button-client.d.ts +1 -1
- package/dist/src/components/ui/button-client.d.ts.map +1 -1
- package/dist/src/components/ui/button-client.js +1 -1
- package/dist/src/components/ui/button-group.d.ts +2 -3
- package/dist/src/components/ui/button-group.d.ts.map +1 -1
- package/dist/src/components/ui/button-group.js +1 -1
- package/dist/src/components/ui/button.d.ts +5 -5
- package/dist/src/components/ui/button.d.ts.map +1 -1
- package/dist/src/components/ui/button.js +1 -1
- package/dist/src/components/ui/card.d.ts +1 -1
- package/dist/src/components/ui/card.d.ts.map +1 -1
- package/dist/src/components/ui/card.js +1 -1
- package/dist/src/components/ui/carousel.d.ts +1 -1
- package/dist/src/components/ui/carousel.d.ts.map +1 -1
- package/dist/src/components/ui/carousel.js +1 -1
- package/dist/src/components/ui/chart.d.ts +1 -1
- package/dist/src/components/ui/chart.d.ts.map +1 -1
- package/dist/src/components/ui/chart.js +1 -1
- package/dist/src/components/ui/checkbox.d.ts +2 -2
- package/dist/src/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/components/ui/checkbox.js +1 -1
- package/dist/src/components/ui/collapsible.d.ts +5 -4
- package/dist/src/components/ui/collapsible.d.ts.map +1 -1
- package/dist/src/components/ui/collapsible.js +1 -1
- package/dist/src/components/ui/combobox.d.ts +1 -1
- package/dist/src/components/ui/combobox.d.ts.map +1 -1
- package/dist/src/components/ui/combobox.js +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/command.js +1 -1
- package/dist/src/components/ui/context-menu.d.ts +7 -9
- package/dist/src/components/ui/context-menu.d.ts.map +1 -1
- package/dist/src/components/ui/context-menu.js +1 -1
- package/dist/src/components/ui/dialog.d.ts +12 -9
- package/dist/src/components/ui/dialog.d.ts.map +1 -1
- package/dist/src/components/ui/dialog.js +1 -1
- package/dist/src/components/ui/direction.d.ts +5 -5
- package/dist/src/components/ui/direction.d.ts.map +1 -1
- package/dist/src/components/ui/direction.js +1 -1
- package/dist/src/components/ui/drawer.d.ts +1 -1
- package/dist/src/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/components/ui/drawer.js +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/ui/dropdown-menu.js +1 -1
- package/dist/src/components/ui/empty.d.ts.map +1 -1
- package/dist/src/components/ui/empty.js +1 -1
- package/dist/src/components/ui/field.js +1 -1
- package/dist/src/components/ui/form.d.ts +1 -2
- package/dist/src/components/ui/form.d.ts.map +1 -1
- package/dist/src/components/ui/form.js +1 -1
- package/dist/src/components/ui/hover-card.d.ts +5 -5
- package/dist/src/components/ui/hover-card.d.ts.map +1 -1
- package/dist/src/components/ui/hover-card.js +1 -1
- package/dist/src/components/ui/input-group.d.ts +4 -2
- package/dist/src/components/ui/input-group.d.ts.map +1 -1
- package/dist/src/components/ui/input-group.js +1 -1
- package/dist/src/components/ui/input-otp.d.ts +1 -1
- package/dist/src/components/ui/input-otp.d.ts.map +1 -1
- package/dist/src/components/ui/input-otp.js +1 -1
- package/dist/src/components/ui/input.d.ts +1 -1
- package/dist/src/components/ui/input.d.ts.map +1 -1
- package/dist/src/components/ui/input.js +1 -1
- package/dist/src/components/ui/item.d.ts +4 -5
- package/dist/src/components/ui/item.d.ts.map +1 -1
- package/dist/src/components/ui/item.js +1 -1
- package/dist/src/components/ui/label.d.ts +2 -3
- package/dist/src/components/ui/label.d.ts.map +1 -1
- package/dist/src/components/ui/label.js +1 -1
- package/dist/src/components/ui/menubar.d.ts +18 -17
- package/dist/src/components/ui/menubar.d.ts.map +1 -1
- package/dist/src/components/ui/menubar.js +1 -1
- package/dist/src/components/ui/native-select.d.ts +1 -1
- package/dist/src/components/ui/native-select.d.ts.map +1 -1
- package/dist/src/components/ui/native-select.js +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts +9 -11
- package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/src/components/ui/navigation-menu.js +1 -1
- package/dist/src/components/ui/pagination.d.ts +1 -1
- package/dist/src/components/ui/pagination.d.ts.map +1 -1
- package/dist/src/components/ui/pagination.js +1 -1
- package/dist/src/components/ui/popover.d.ts +6 -7
- package/dist/src/components/ui/popover.d.ts.map +1 -1
- package/dist/src/components/ui/popover.js +1 -1
- package/dist/src/components/ui/progress.d.ts +2 -2
- package/dist/src/components/ui/progress.d.ts.map +1 -1
- package/dist/src/components/ui/progress.js +1 -1
- package/dist/src/components/ui/radio-group.d.ts +5 -4
- package/dist/src/components/ui/radio-group.d.ts.map +1 -1
- package/dist/src/components/ui/radio-group.js +1 -1
- package/dist/src/components/ui/scroll-area.d.ts +3 -3
- package/dist/src/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/src/components/ui/scroll-area.js +1 -1
- package/dist/src/components/ui/select.d.ts +6 -6
- package/dist/src/components/ui/select.d.ts.map +1 -1
- package/dist/src/components/ui/select.js +1 -1
- package/dist/src/components/ui/separator.d.ts +3 -3
- package/dist/src/components/ui/separator.d.ts.map +1 -1
- package/dist/src/components/ui/separator.js +1 -1
- package/dist/src/components/ui/sheet.d.ts +8 -8
- package/dist/src/components/ui/sheet.d.ts.map +1 -1
- package/dist/src/components/ui/sheet.js +1 -1
- package/dist/src/components/ui/sidebar.d.ts +9 -15
- package/dist/src/components/ui/sidebar.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.js +1 -1
- package/dist/src/components/ui/slider.d.ts +2 -2
- package/dist/src/components/ui/slider.d.ts.map +1 -1
- package/dist/src/components/ui/slider.js +1 -1
- package/dist/src/components/ui/sonner.d.ts.map +1 -1
- package/dist/src/components/ui/sonner.js +1 -1
- package/dist/src/components/ui/spinner.d.ts.map +1 -1
- package/dist/src/components/ui/spinner.js +1 -1
- package/dist/src/components/ui/switch.d.ts +2 -2
- package/dist/src/components/ui/switch.d.ts.map +1 -1
- package/dist/src/components/ui/switch.js +1 -1
- package/dist/src/components/ui/table.d.ts +1 -1
- package/dist/src/components/ui/table.d.ts.map +1 -1
- package/dist/src/components/ui/table.js +1 -1
- package/dist/src/components/ui/tabs.d.ts +4 -4
- package/dist/src/components/ui/tabs.d.ts.map +1 -1
- package/dist/src/components/ui/tabs.js +1 -1
- package/dist/src/components/ui/textarea.d.ts +1 -1
- package/dist/src/components/ui/textarea.d.ts.map +1 -1
- package/dist/src/components/ui/textarea.js +1 -1
- package/dist/src/components/ui/toggle-group.d.ts +1 -1
- package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/src/components/ui/toggle-group.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/components/ui/tooltip.js +1 -1
- package/dist/src/config.js +1 -1
- package/dist/src/database/admins.d.ts +20 -0
- package/dist/src/database/admins.d.ts.map +1 -1
- package/dist/src/database/admins.js +1 -1
- package/dist/src/database/languages.d.ts.map +1 -1
- package/dist/src/database/languages.js +1 -1
- package/dist/src/database/logs.d.ts +1 -1
- package/dist/src/database/moderators.d.ts +20 -0
- package/dist/src/database/moderators.d.ts.map +1 -1
- package/dist/src/database/moderators.js +1 -1
- package/dist/src/database/queue.d.ts +273 -0
- package/dist/src/database/queue.d.ts.map +1 -0
- package/dist/src/database/queue.js +1 -0
- package/dist/src/database/users.d.ts +63 -0
- package/dist/src/database/users.d.ts.map +1 -1
- package/dist/src/database/users.js +1 -1
- package/dist/src/emails/default-template.d.ts +1 -1
- package/dist/src/emails/default-template.d.ts.map +1 -1
- package/dist/src/emails/default-template.js +1 -1
- package/dist/src/emails/reset-password.js +1 -1
- package/dist/src/emails/test-email.d.ts +26 -0
- package/dist/src/emails/test-email.d.ts.map +1 -0
- package/dist/src/emails/test-email.js +1 -0
- package/dist/src/emails/ui/button.d.ts +2 -2
- package/dist/src/emails/ui/button.d.ts.map +1 -1
- package/dist/src/emails/ui/button.js +1 -1
- package/dist/src/emails/ui/card.d.ts +1 -1
- package/dist/src/emails/ui/card.d.ts.map +1 -1
- package/dist/src/emails/ui/card.js +1 -1
- package/dist/src/hooks/use-captcha.d.ts.map +1 -1
- package/dist/src/hooks/use-captcha.js +1 -1
- package/dist/src/hooks/use-mobile.js +1 -1
- package/dist/src/lib/api/get-moderator-permissions-api.d.ts +4 -0
- package/dist/src/lib/api/get-moderator-permissions-api.d.ts.map +1 -0
- package/dist/src/lib/api/get-moderator-permissions-api.js +1 -0
- package/dist/src/lib/api/get-next-cron-run-date.js +1 -1
- package/dist/src/lib/api/get-queue-backoff-date.d.ts +2 -0
- package/dist/src/lib/api/get-queue-backoff-date.d.ts.map +1 -0
- package/dist/src/lib/api/get-queue-backoff-date.js +1 -0
- package/dist/src/lib/api/get-queue-backoff-date.test.d.ts +2 -0
- package/dist/src/lib/api/get-queue-backoff-date.test.d.ts.map +1 -0
- package/dist/src/lib/api/get-queue-backoff-date.test.js +1 -0
- package/dist/src/lib/api/get-session-admin-api.d.ts +12 -0
- package/dist/src/lib/api/get-session-admin-api.d.ts.map +1 -1
- package/dist/src/lib/api/get-session-admin-api.js +1 -1
- package/dist/src/lib/api/get-session-api.d.ts +1 -0
- package/dist/src/lib/api/get-session-api.d.ts.map +1 -1
- package/dist/src/lib/api/resolve-queue-task-outcome.d.ts +14 -0
- package/dist/src/lib/api/resolve-queue-task-outcome.d.ts.map +1 -0
- package/dist/src/lib/api/resolve-queue-task-outcome.js +1 -0
- package/dist/src/lib/api/resolve-queue-task-outcome.test.d.ts +2 -0
- package/dist/src/lib/api/resolve-queue-task-outcome.test.d.ts.map +1 -0
- package/dist/src/lib/api/resolve-queue-task-outcome.test.js +1 -0
- package/dist/src/lib/api/should-cron-job-run.js +1 -1
- package/dist/src/lib/config.d.ts +1 -0
- package/dist/src/lib/config.d.ts.map +1 -1
- package/dist/src/lib/config.js +1 -1
- package/dist/src/lib/fetcher/types.d.ts.map +1 -1
- package/dist/src/lib/navigation.d.ts +5 -5
- package/dist/src/lib/plugin.d.ts +3 -0
- package/dist/src/lib/plugin.d.ts.map +1 -1
- package/dist/src/lib/utils.d.ts +1 -0
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +1 -1
- package/dist/src/routes/admin/core/advanced/queue/page.d.ts +13 -0
- package/dist/src/routes/admin/core/advanced/queue/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/advanced/queue/page.js +1 -0
- package/dist/src/routes/admin/core/debug/page.d.ts.map +1 -1
- package/dist/src/routes/admin/core/debug/page.js +1 -1
- package/dist/src/routes/admin/core/staff/admins/create/page.d.ts +3 -0
- package/dist/src/routes/admin/core/staff/admins/create/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/staff/admins/create/page.js +1 -0
- package/dist/src/routes/admin/core/staff/admins/edit/[id]/page.d.ts +7 -0
- package/dist/src/routes/admin/core/staff/admins/edit/[id]/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/staff/admins/edit/[id]/page.js +1 -0
- package/dist/src/routes/admin/core/staff/admins/page.d.ts +4 -0
- package/dist/src/routes/admin/core/staff/admins/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/staff/admins/page.js +1 -0
- package/dist/src/routes/admin/core/staff/moderators/create/page.d.ts +3 -0
- package/dist/src/routes/admin/core/staff/moderators/create/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/staff/moderators/create/page.js +1 -0
- package/dist/src/routes/admin/core/staff/moderators/edit/[id]/page.d.ts +7 -0
- package/dist/src/routes/admin/core/staff/moderators/edit/[id]/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/staff/moderators/edit/[id]/page.js +1 -0
- package/dist/src/routes/admin/core/staff/moderators/page.d.ts +4 -0
- package/dist/src/routes/admin/core/staff/moderators/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/staff/moderators/page.js +1 -0
- package/dist/src/routes/admin/core/system/integrations/page.d.ts +7 -0
- package/dist/src/routes/admin/core/system/integrations/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/system/integrations/page.js +1 -0
- package/dist/src/routes/admin/core/users/{[nameCode] → [id]}/page.d.ts +2 -2
- package/dist/src/routes/admin/core/users/[id]/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/users/[id]/page.js +1 -0
- package/dist/src/routes/admin/core/users/page.d.ts.map +1 -1
- package/dist/src/routes/admin/core/users/page.js +1 -1
- package/dist/src/routes/breadcrumb/admin/[...all]/page.d.ts +1 -5
- package/dist/src/routes/breadcrumb/admin/[...all]/page.d.ts.map +1 -1
- package/dist/src/routes/breadcrumb/admin/[...all]/page.js +1 -1
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/create/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/create/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/create/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/{users/[nameCode] → staff/admins/edit/[id]}/page.d.ts +1 -1
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/edit/[id]/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/edit/[id]/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/admins/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/create/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/create/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/create/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/edit/[id]/page.d.ts +6 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/edit/[id]/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/edit/[id]/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/staff/moderators/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/users/[id]/page.d.ts +6 -0
- package/dist/src/routes/breadcrumb/admin/core/users/[id]/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/users/{[nameCode] → [id]}/page.js +1 -1
- package/dist/src/routes/breadcrumb/main/[...rest]/page.d.ts +1 -5
- package/dist/src/routes/breadcrumb/main/[...rest]/page.d.ts.map +1 -1
- package/dist/src/routes/breadcrumb/main/[...rest]/page.js +1 -1
- package/dist/src/routes/breadcrumb/main/settings/overview/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/settings/overview/page.js +1 -0
- package/dist/src/routes/breadcrumb/main/settings/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/{register → settings}/page.js +1 -1
- package/dist/src/routes/breadcrumb/main/settings/security/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/settings/security/page.js +1 -0
- package/dist/src/routes/main/settings/layout.d.ts +5 -0
- package/dist/src/routes/main/settings/layout.d.ts.map +1 -0
- package/dist/src/routes/main/settings/layout.js +1 -0
- package/dist/src/routes/main/settings/overview/page.d.ts +5 -0
- package/dist/src/routes/main/settings/overview/page.d.ts.map +1 -0
- package/dist/src/routes/main/settings/overview/page.js +1 -0
- package/dist/src/routes/main/settings/page.d.ts +5 -0
- package/dist/src/routes/main/settings/page.d.ts.map +1 -0
- package/dist/src/routes/main/settings/page.js +1 -0
- package/dist/src/routes/main/settings/security/page.d.ts +5 -0
- package/dist/src/routes/main/settings/security/page.d.ts.map +1 -0
- package/dist/src/routes/main/settings/security/page.js +1 -0
- package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/admin-layout.js +1 -1
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-admin.d.ts +6 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-admin.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-admin.js +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-create-admin.d.ts +5 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-create-admin.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-create-admin.js +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-edit-admin.d.ts +6 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-edit-admin.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-staff-edit-admin.js +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.d.ts +2 -2
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.js +1 -1
- package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.js +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.js +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/item.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/item.js +1 -1
- package/dist/src/views/admin/layouts/user-bar/client.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/user-bar/client.js +1 -1
- package/dist/src/views/admin/layouts/user-bar/user-bar.js +1 -1
- package/dist/src/views/admin/views/core/advanced/queue/badges/status-badge.d.ts +5 -0
- package/dist/src/views/admin/views/core/advanced/queue/badges/status-badge.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/advanced/queue/badges/status-badge.js +1 -0
- package/dist/src/views/admin/views/core/advanced/queue/queue-table-view.d.ts +7 -0
- package/dist/src/views/admin/views/core/advanced/queue/queue-table-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/advanced/queue/queue-table-view.js +1 -0
- package/dist/src/views/admin/views/core/debug/actions/clear-cache/mutation-api.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/actions/clear-cache/mutation-api.js +1 -1
- package/dist/src/views/admin/views/core/debug/queue/queue-view.d.ts +2 -0
- package/dist/src/views/admin/views/core/debug/queue/queue-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/debug/queue/queue-view.js +1 -0
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.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/debug/system-logs/system-logs-view.d.ts +1 -1
- package/dist/src/views/admin/views/core/staff/create/create-staff-permissions-view.d.ts +5 -0
- package/dist/src/views/admin/views/core/staff/create/create-staff-permissions-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/create/create-staff-permissions-view.js +1 -0
- package/dist/src/views/admin/views/core/staff/create/form.d.ts +6 -0
- package/dist/src/views/admin/views/core/staff/create/form.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/create/form.js +1 -0
- package/dist/src/views/admin/views/core/staff/create/mutation-api.d.ts +14 -0
- package/dist/src/views/admin/views/core/staff/create/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/create/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/staff/create/search.action.d.ts +8 -0
- package/dist/src/views/admin/views/core/staff/create/search.action.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/create/search.action.js +1 -0
- package/dist/src/views/admin/views/core/staff/edit/edit-staff-permissions-view.d.ts +8 -0
- package/dist/src/views/admin/views/core/staff/edit/edit-staff-permissions-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/edit/edit-staff-permissions-view.js +1 -0
- package/dist/src/views/admin/views/core/staff/edit/form.d.ts +29 -0
- package/dist/src/views/admin/views/core/staff/edit/form.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/edit/form.js +1 -0
- package/dist/src/views/admin/views/core/staff/edit/mutation-api.d.ts +13 -0
- package/dist/src/views/admin/views/core/staff/edit/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/edit/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/staff/selectable-card.d.ts +11 -0
- package/dist/src/views/admin/views/core/staff/selectable-card.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/selectable-card.js +1 -0
- package/dist/src/views/admin/views/core/staff/table/actions/delete-action.d.ts +11 -0
- package/dist/src/views/admin/views/core/staff/table/actions/delete-action.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/table/actions/delete-action.js +1 -0
- package/dist/src/views/admin/views/core/staff/table/actions/staff-row-actions.d.ts +10 -0
- package/dist/src/views/admin/views/core/staff/table/actions/staff-row-actions.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/table/actions/staff-row-actions.js +1 -0
- package/dist/src/views/admin/views/core/staff/table/staff-table.d.ts +7 -0
- package/dist/src/views/admin/views/core/staff/table/staff-table.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/table/staff-table.js +1 -0
- package/dist/src/views/admin/views/core/staff/table/staff-user-format.d.ts +18 -0
- package/dist/src/views/admin/views/core/staff/table/staff-user-format.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/table/staff-user-format.js +1 -0
- package/dist/src/views/admin/views/core/staff/views/admins/admins-staff-view.d.ts +4 -0
- package/dist/src/views/admin/views/core/staff/views/admins/admins-staff-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/views/admins/admins-staff-view.js +1 -0
- package/dist/src/views/admin/views/core/staff/views/moderators/moderators-staff-view.d.ts +4 -0
- package/dist/src/views/admin/views/core/staff/views/moderators/moderators-staff-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/staff/views/moderators/moderators-staff-view.js +1 -0
- package/dist/src/views/admin/views/core/system/integrations/integration-card.d.ts +15 -0
- package/dist/src/views/admin/views/core/system/integrations/integration-card.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/system/integrations/integration-card.js +1 -0
- package/dist/src/views/admin/views/core/system/integrations/integrations-view.d.ts +3 -0
- package/dist/src/views/admin/views/core/system/integrations/integrations-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/system/integrations/integrations-view.js +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/content.d.ts +2 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/content.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/content.js +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/mutation-api.d.ts +12 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/send-test-email.d.ts +3 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/send-test-email.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/send-test-email.js +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/use-form.d.ts +15 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/use-form.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/system/integrations/send-test-email/use-form.js +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/create.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/actions/create/create.js +1 -1
- package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.d.ts +1 -1
- package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.js +1 -1
- package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.d.ts +2 -2
- package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.js +1 -1
- package/dist/src/views/admin/views/core/users/actions.d.ts +3 -3
- package/dist/src/views/admin/views/core/users/actions.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/actions.js +1 -1
- package/dist/src/views/admin/views/core/users/show/edit-buttons.d.ts +4 -0
- package/dist/src/views/admin/views/core/users/show/edit-buttons.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/edit-buttons.js +1 -0
- package/dist/src/views/admin/views/core/users/show/edit-field.d.ts +13 -0
- package/dist/src/views/admin/views/core/users/show/edit-field.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/edit-field.js +1 -0
- package/dist/src/views/admin/views/core/users/show/edit-name-code.d.ts +5 -0
- package/dist/src/views/admin/views/core/users/show/edit-name-code.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/edit-name-code.js +1 -0
- package/dist/src/views/admin/views/core/users/show/mutation-api.d.ts +19 -0
- package/dist/src/views/admin/views/core/users/show/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/edit-roles.d.ts +8 -0
- package/dist/src/views/admin/views/core/users/show/roles/edit-roles.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/edit-roles.js +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/roles.d.ts +8 -0
- package/dist/src/views/admin/views/core/users/show/roles/roles.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/roles.js +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/search-roles.action.d.ts +10 -0
- package/dist/src/views/admin/views/core/users/show/roles/search-roles.action.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/search-roles.action.js +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/update-roles.action.d.ts +13 -0
- package/dist/src/views/admin/views/core/users/show/roles/update-roles.action.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/roles/update-roles.action.js +1 -0
- package/dist/src/views/admin/views/core/users/show/show-user-admin-view.d.ts +2 -2
- package/dist/src/views/admin/views/core/users/show/show-user-admin-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/show/show-user-admin-view.js +1 -1
- package/dist/src/views/admin/views/core/users/users-admin-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/users-admin-view.js +1 -1
- package/dist/src/views/auth/settings/layout.d.ts +4 -0
- package/dist/src/views/auth/settings/layout.d.ts.map +1 -0
- package/dist/src/views/auth/settings/layout.js +1 -0
- package/dist/src/views/auth/settings/nav.d.ts +2 -0
- package/dist/src/views/auth/settings/nav.d.ts.map +1 -0
- package/dist/src/views/auth/settings/nav.js +1 -0
- package/dist/src/views/auth/settings/overview/overview.d.ts +2 -0
- package/dist/src/views/auth/settings/overview/overview.d.ts.map +1 -0
- package/dist/src/views/auth/settings/overview/overview.js +1 -0
- package/dist/src/views/auth/settings/security/security.d.ts +2 -0
- package/dist/src/views/auth/settings/security/security.d.ts.map +1 -0
- package/dist/src/views/auth/settings/security/security.js +1 -0
- package/dist/src/views/auth/settings/shell.d.ts +4 -0
- package/dist/src/views/auth/settings/shell.d.ts.map +1 -0
- package/dist/src/views/auth/settings/shell.js +1 -0
- package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
- package/dist/src/views/auth/sso/callback/client/client.js +1 -1
- package/dist/src/views/breadcrumb/breadcrumb-main.js +1 -1
- package/dist/src/views/breadcrumb/breadcrumb-render.js +1 -1
- package/dist/src/views/error/global-error-view.js +1 -1
- package/dist/src/views/layouts/provider.d.ts.map +1 -1
- package/dist/src/views/layouts/provider.js +1 -1
- package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
- package/dist/src/views/layouts/root-layout.js +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/auth.js +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.js +1 -1
- package/dist/src/vitnode.config.d.ts +7 -3
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/src/ws/handle.d.ts.map +1 -1
- package/dist/src/ws/handle.js +1 -1
- package/dist/src/ws/manager.d.ts.map +1 -1
- package/dist/src/ws/manager.js +1 -1
- package/dist/src/ws/provider.d.ts.map +1 -1
- package/dist/src/ws/provider.js +1 -1
- package/dist/src/ws/registry.d.ts +5 -0
- package/dist/src/ws/registry.d.ts.map +1 -1
- package/dist/src/ws/registry.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vitest.config.d.ts.map +1 -1
- package/package.json +24 -26
- package/src/locales/en.json +279 -4
- package/src/routes/admin/core/advanced/queue/page.tsx +51 -0
- package/src/routes/admin/core/debug/page.tsx +25 -4
- package/src/routes/admin/core/staff/admins/create/page.tsx +17 -0
- package/src/routes/admin/core/staff/admins/edit/[id]/page.tsx +23 -0
- package/src/routes/admin/core/staff/admins/page.tsx +14 -0
- package/src/routes/admin/core/staff/moderators/create/page.tsx +17 -0
- package/src/routes/admin/core/staff/moderators/edit/[id]/page.tsx +23 -0
- package/src/routes/admin/core/staff/moderators/page.tsx +14 -0
- package/src/routes/admin/core/system/integrations/page.tsx +43 -0
- package/src/routes/admin/core/users/{[nameCode] → [id]}/page.tsx +7 -7
- package/src/routes/admin/core/users/page.tsx +10 -2
- package/src/routes/breadcrumb/admin/[...all]/page.tsx +2 -16
- package/src/routes/breadcrumb/admin/core/staff/admins/create/page.tsx +5 -0
- package/src/routes/breadcrumb/admin/core/staff/admins/edit/[id]/page.tsx +11 -0
- package/src/routes/breadcrumb/admin/core/staff/admins/page.tsx +5 -0
- package/src/routes/breadcrumb/admin/core/staff/moderators/create/page.tsx +5 -0
- package/src/routes/breadcrumb/admin/core/staff/moderators/edit/[id]/page.tsx +11 -0
- package/src/routes/breadcrumb/admin/core/staff/moderators/page.tsx +5 -0
- package/src/routes/breadcrumb/admin/core/users/[id]/page.tsx +11 -0
- package/src/routes/breadcrumb/main/[...rest]/page.tsx +2 -16
- package/src/routes/breadcrumb/main/settings/overview/page.tsx +17 -0
- package/src/routes/breadcrumb/main/{register → settings}/page.tsx +3 -3
- package/src/routes/breadcrumb/main/settings/security/page.tsx +17 -0
- package/src/routes/main/settings/layout.tsx +16 -0
- package/src/routes/main/settings/overview/page.tsx +15 -0
- package/src/routes/main/settings/page.tsx +15 -0
- package/src/routes/main/settings/security/page.tsx +15 -0
- package/dist/scripts/get-config.js +0 -66
- package/dist/scripts/plugin.js +0 -206
- package/dist/scripts/prepare-database.js +0 -177
- package/dist/scripts/prepare-plugins-files.js +0 -152
- package/dist/scripts/run-interactive-shell-command.js +0 -21
- package/dist/scripts/shared/file-utils.js +0 -203
- package/dist/src/locales/en.json +0 -372
- package/dist/src/routes/admin/core/users/[nameCode]/page.d.ts.map +0 -1
- package/dist/src/routes/admin/core/users/[nameCode]/page.js +0 -1
- package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.d.ts.map +0 -1
- package/dist/src/routes/breadcrumb/main/login/page.d.ts.map +0 -1
- package/dist/src/routes/breadcrumb/main/login/page.js +0 -1
- package/dist/src/routes/breadcrumb/main/login/reset-password/page.d.ts.map +0 -1
- package/dist/src/routes/breadcrumb/main/login/reset-password/page.js +0 -1
- package/dist/src/routes/breadcrumb/main/register/page.d.ts.map +0 -1
- package/dist/tsup.config.js +0 -17
- package/dist/vitest.config.js +0 -48
- package/src/routes/breadcrumb/admin/core/users/[nameCode]/page.tsx +0 -12
- package/src/routes/breadcrumb/main/login/page.tsx +0 -11
- package/src/routes/breadcrumb/main/login/reset-password/page.tsx +0 -20
- /package/dist/src/routes/breadcrumb/main/{login → settings/overview}/page.d.ts +0 -0
- /package/dist/src/routes/breadcrumb/main/{login/reset-password → settings}/page.d.ts +0 -0
- /package/dist/src/routes/breadcrumb/main/{register → settings/security}/page.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAIA,
|
|
1
|
+
{"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAIA,wBA2CG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitnode/core",
|
|
3
|
-
"version": "1.2.0-canary.
|
|
3
|
+
"version": "1.2.0-canary.75",
|
|
4
4
|
"description": "Core package for VitNode, providing essential functionalities and configurations.",
|
|
5
5
|
"author": "VitNode Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,31 +40,31 @@
|
|
|
40
40
|
"@hono/zod-openapi": "^1.4.0",
|
|
41
41
|
"@hono/zod-validator": "^0.8.0",
|
|
42
42
|
"@hookform/resolvers": "^5.4.0",
|
|
43
|
-
"@react-email/
|
|
43
|
+
"@react-email/ui": "^6.6.6",
|
|
44
44
|
"@swc/cli": "^0.8.1",
|
|
45
|
-
"@swc/core": "^1.15.
|
|
45
|
+
"@swc/core": "^1.15.43",
|
|
46
46
|
"@testing-library/dom": "^10.4.1",
|
|
47
47
|
"@testing-library/react": "^16.3.2",
|
|
48
|
-
"@types/node": "^
|
|
48
|
+
"@types/node": "^26.0.1",
|
|
49
49
|
"@types/react": "^19.2.17",
|
|
50
50
|
"@types/react-dom": "^19.2.3",
|
|
51
|
-
"@vitejs/plugin-react": "^6.0.
|
|
52
|
-
"@vitest/coverage-v8": "^4.1.
|
|
51
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
52
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
53
53
|
"chokidar": "^5.0.0",
|
|
54
54
|
"concurrently": "^10.0.3",
|
|
55
55
|
"drizzle-kit": "^0.31.10",
|
|
56
56
|
"drizzle-orm": "^0.45.2",
|
|
57
57
|
"eslint": "^10.5.0",
|
|
58
|
-
"hono": "^4.12.
|
|
58
|
+
"hono": "^4.12.27",
|
|
59
59
|
"jiti": "^2.7.0",
|
|
60
60
|
"jsdom": "^29.1.1",
|
|
61
|
-
"lucide-react": "^1.
|
|
62
|
-
"next": "
|
|
61
|
+
"lucide-react": "^1.21.0",
|
|
62
|
+
"next": "16.3.0-preview.5",
|
|
63
63
|
"next-intl": "^4.13.0",
|
|
64
64
|
"react": "^19.2.7",
|
|
65
65
|
"react-dom": "^19.2.7",
|
|
66
|
-
"react-email": "^6.6.
|
|
67
|
-
"react-hook-form": "^7.
|
|
66
|
+
"react-email": "^6.6.6",
|
|
67
|
+
"react-hook-form": "^7.80.0",
|
|
68
68
|
"sonner": "^2.0.7",
|
|
69
69
|
"tailwindcss": "^4.3.1",
|
|
70
70
|
"tsc-alias": "^1.8.17",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"tsx": "^4.22.4",
|
|
73
73
|
"tw-animate-css": "^1.4.0",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
|
-
"vite": "^8.0
|
|
76
|
-
"vitest": "^4.1.
|
|
75
|
+
"vite": "^8.1.0",
|
|
76
|
+
"vitest": "^4.1.9",
|
|
77
77
|
"zod": "^4.4.3",
|
|
78
|
-
"@vitnode/config": "1.2.0-canary.
|
|
78
|
+
"@vitnode/config": "1.2.0-canary.75"
|
|
79
79
|
},
|
|
80
80
|
"bin": {
|
|
81
81
|
"vitnode": "./dist/scripts/scripts.js"
|
|
@@ -97,38 +97,36 @@
|
|
|
97
97
|
},
|
|
98
98
|
"type": "module",
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@base-ui/react": "^1.
|
|
100
|
+
"@base-ui/react": "^1.6.0",
|
|
101
101
|
"@bprogress/next": "^3.2.12",
|
|
102
102
|
"@dnd-kit/core": "^6.3.1",
|
|
103
103
|
"@hono/swagger-ui": "^0.6.1",
|
|
104
|
-
"@react-
|
|
105
|
-
"@
|
|
106
|
-
"@tiptap/
|
|
107
|
-
"@tiptap/
|
|
108
|
-
"@tiptap/
|
|
109
|
-
"@tiptap/starter-kit": "^3.26.1",
|
|
104
|
+
"@tanstack/react-query": "^5.101.1",
|
|
105
|
+
"@tiptap/extension-text-align": "^3.27.1",
|
|
106
|
+
"@tiptap/pm": "^3.27.1",
|
|
107
|
+
"@tiptap/react": "^3.27.1",
|
|
108
|
+
"@tiptap/starter-kit": "^3.27.1",
|
|
110
109
|
"class-variance-authority": "^0.7.1",
|
|
111
110
|
"clsx": "^2.1.1",
|
|
112
111
|
"cmdk": "^1.1.1",
|
|
113
|
-
"cron-parser": "^5.
|
|
112
|
+
"cron-parser": "^5.6.1",
|
|
114
113
|
"date-fns": "^4.4.0",
|
|
115
114
|
"dotenv": "^17.4.2",
|
|
116
115
|
"embla-carousel-react": "^8.6.0",
|
|
117
116
|
"input-otp": "^1.4.2",
|
|
118
|
-
"
|
|
117
|
+
"ioredis": "^5.11.1",
|
|
118
|
+
"motion": "^12.41.0",
|
|
119
119
|
"next-themes": "^0.4.6",
|
|
120
120
|
"postgres": "^3.4.9",
|
|
121
|
-
"radix-ui": "^1.5.0",
|
|
122
121
|
"rate-limiter-flexible": "^11.2.0",
|
|
123
122
|
"react-day-picker": "^10.0.1",
|
|
124
123
|
"react-resizable-panels": "^4.11.2",
|
|
125
124
|
"react-scan": "^0.5.7",
|
|
126
|
-
"recharts": "3.
|
|
125
|
+
"recharts": "3.9.0",
|
|
127
126
|
"server-only": "^0.0.1",
|
|
128
127
|
"shadcn": "^4.11.0",
|
|
129
128
|
"tailwind-merge": "^3.6.0",
|
|
130
129
|
"use-debounce": "^10.1.1",
|
|
131
|
-
"use-intl": "^4.13.0",
|
|
132
130
|
"vaul": "^1.1.2"
|
|
133
131
|
},
|
|
134
132
|
"scripts": {
|
package/src/locales/en.json
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
+
"@vitnode/core": {
|
|
3
|
+
"title": "Core"
|
|
4
|
+
},
|
|
5
|
+
"@vitnode/core:users": "Users",
|
|
6
|
+
"@vitnode/core:users:can_view": "View users list",
|
|
7
|
+
"@vitnode/core:users:can_create": "Create users",
|
|
8
|
+
"@vitnode/core:users:can_edit": "Edit users",
|
|
9
|
+
"@vitnode/core:users:can_edit_admin": "Edit users with administrator permission",
|
|
10
|
+
"@vitnode/core:roles": "Roles",
|
|
11
|
+
"@vitnode/core:roles:can_manage": "Manage roles",
|
|
12
|
+
"@vitnode/core:debug": "Debug Panel",
|
|
13
|
+
"@vitnode/core:debug:can_view": "View debug panel",
|
|
14
|
+
"@vitnode/core:debug:can_clear_cache": "Clear cache",
|
|
15
|
+
"@vitnode/core:system": "System",
|
|
16
|
+
"@vitnode/core:system:can_view": "View integrations",
|
|
17
|
+
"@vitnode/core:system:can_send_test_email": "Send test email",
|
|
18
|
+
"@vitnode/core:queue": "Queue Tasks",
|
|
19
|
+
"@vitnode/core:queue:can_view": "View queue tasks",
|
|
20
|
+
"@vitnode/core:staff_moderators": "Staff: Moderators",
|
|
21
|
+
"@vitnode/core:staff_moderators:can_view": "View moderators list",
|
|
22
|
+
"@vitnode/core:staff_moderators:can_create": "Create moderators",
|
|
23
|
+
"@vitnode/core:staff_moderators:can_edit": "Edit moderator permissions",
|
|
24
|
+
"@vitnode/core:staff_moderators:can_delete": "Remove moderators",
|
|
25
|
+
"@vitnode/core:staff_admins": "Staff: Administrators",
|
|
26
|
+
"@vitnode/core:staff_admins:can_view": "View administrators list",
|
|
27
|
+
"@vitnode/core:staff_admins:can_create": "Create administrators",
|
|
28
|
+
"@vitnode/core:staff_admins:can_edit": "Edit administrator permissions",
|
|
29
|
+
"@vitnode/core:staff_admins:can_delete": "Remove administrators",
|
|
2
30
|
"core": {
|
|
3
31
|
"global": {
|
|
4
32
|
"close": "Close",
|
|
@@ -99,8 +127,11 @@
|
|
|
99
127
|
}
|
|
100
128
|
},
|
|
101
129
|
"user_bar": {
|
|
130
|
+
"my_profile": "My Profile",
|
|
102
131
|
"log_out": "Log out",
|
|
103
|
-
"
|
|
132
|
+
"mod_cp": "Moderator CP",
|
|
133
|
+
"admin_cp": "Admin CP",
|
|
134
|
+
"settings": "Settings"
|
|
104
135
|
}
|
|
105
136
|
},
|
|
106
137
|
"auth": {
|
|
@@ -204,6 +235,14 @@
|
|
|
204
235
|
"title": "Password changed successfully",
|
|
205
236
|
"desc": "You can now log in with your new password."
|
|
206
237
|
}
|
|
238
|
+
},
|
|
239
|
+
"settings": {
|
|
240
|
+
"title": "Settings",
|
|
241
|
+
"desc": "Manage your profile, security, and account preferences.",
|
|
242
|
+
"nav": {
|
|
243
|
+
"overview": "Overview",
|
|
244
|
+
"security": "Security"
|
|
245
|
+
}
|
|
207
246
|
}
|
|
208
247
|
}
|
|
209
248
|
},
|
|
@@ -221,14 +260,24 @@
|
|
|
221
260
|
"list": "User List",
|
|
222
261
|
"roles": "Roles"
|
|
223
262
|
},
|
|
263
|
+
"staff": {
|
|
264
|
+
"title": "Staff",
|
|
265
|
+
"moderators": "Moderators",
|
|
266
|
+
"admins": "Administrators"
|
|
267
|
+
},
|
|
224
268
|
"user_bar": {
|
|
225
269
|
"home_page": "Home Page",
|
|
226
270
|
"debug": "Debug Panel",
|
|
227
271
|
"log_out": "Log Out"
|
|
228
272
|
},
|
|
273
|
+
"system": {
|
|
274
|
+
"title": "System",
|
|
275
|
+
"integrations": "Integrations"
|
|
276
|
+
},
|
|
229
277
|
"advanced": {
|
|
230
278
|
"title": "Advanced",
|
|
231
|
-
"cron": "Cron Jobs"
|
|
279
|
+
"cron": "Cron Jobs",
|
|
280
|
+
"queue": "Queue Tasks"
|
|
232
281
|
}
|
|
233
282
|
}
|
|
234
283
|
},
|
|
@@ -256,6 +305,26 @@
|
|
|
256
305
|
}
|
|
257
306
|
}
|
|
258
307
|
}
|
|
308
|
+
},
|
|
309
|
+
"queue": {
|
|
310
|
+
"title": "Queue Tasks",
|
|
311
|
+
"desc": "Monitor background tasks queued for processing by the cron worker.",
|
|
312
|
+
"list": {
|
|
313
|
+
"name": "Task",
|
|
314
|
+
"queue": "Queue",
|
|
315
|
+
"status": "Status",
|
|
316
|
+
"attempts": "Attempts",
|
|
317
|
+
"availableAt": "Available At",
|
|
318
|
+
"createdAt": "Created At",
|
|
319
|
+
"lastError": "Last Error",
|
|
320
|
+
"statusFilter": "Status"
|
|
321
|
+
},
|
|
322
|
+
"status": {
|
|
323
|
+
"pending": "Pending",
|
|
324
|
+
"processing": "Processing",
|
|
325
|
+
"completed": "Completed",
|
|
326
|
+
"failed": "Failed"
|
|
327
|
+
}
|
|
259
328
|
}
|
|
260
329
|
},
|
|
261
330
|
"user": {
|
|
@@ -264,8 +333,9 @@
|
|
|
264
333
|
"user": "User",
|
|
265
334
|
"createdAt": "Created At",
|
|
266
335
|
"emailNotVerified": "Email Not Verified",
|
|
267
|
-
"
|
|
336
|
+
"edit": "Edit profile",
|
|
268
337
|
"roles": "Roles",
|
|
338
|
+
"email": "Email",
|
|
269
339
|
"searchPlaceholder": "Search users by email or username...",
|
|
270
340
|
"noResults": {
|
|
271
341
|
"title": "No users found",
|
|
@@ -276,7 +346,35 @@
|
|
|
276
346
|
"title": "User Profile",
|
|
277
347
|
"joined": "Joined",
|
|
278
348
|
"emailNotVerified": "Email Not Verified",
|
|
279
|
-
"coverPlaceholder": "No cover image"
|
|
349
|
+
"coverPlaceholder": "No cover image",
|
|
350
|
+
"editCover": "Edit cover image",
|
|
351
|
+
"editAvatar": "Edit avatar",
|
|
352
|
+
"editName": "Edit username",
|
|
353
|
+
"editEmail": "Edit email",
|
|
354
|
+
"uploadImage": "Upload image",
|
|
355
|
+
"removeImage": "Remove image",
|
|
356
|
+
"goToProfile": "Go to Public Profile",
|
|
357
|
+
"updateSuccess": "Profile updated.",
|
|
358
|
+
"editNameCode": "Edit name code",
|
|
359
|
+
"editNameCodeDesc": "The name code is the unique handle used in this user's profile URL and @mentions.",
|
|
360
|
+
"editNameCodeWarningTitle": "This change breaks existing links",
|
|
361
|
+
"editNameCodeWarning": "Changing the name code will break existing @mention links and change the public profile URL. Anyone visiting the old link will no longer reach this profile.",
|
|
362
|
+
"newNameCode": "New name code",
|
|
363
|
+
"confirmNameCode": "Type the <bold>current name code</bold> (<nameCode></nameCode>) to confirm",
|
|
364
|
+
"nameCodeInvalid": "Only letters, numbers, and hyphens are allowed.",
|
|
365
|
+
"nameCodeSame": "The new name code must be different from the current one.",
|
|
366
|
+
"nameCodeConfirmMismatch": "This does not match the current name code.",
|
|
367
|
+
"nameCodeExists": "This name code is already taken.",
|
|
368
|
+
"saveNameCode": "Change name code",
|
|
369
|
+
"rolesTitle": "Roles",
|
|
370
|
+
"primaryRole": "Primary Role",
|
|
371
|
+
"secondaryRoles": "Secondary Roles",
|
|
372
|
+
"editRoles": "Edit roles",
|
|
373
|
+
"editRolesDesc": "Set this user's primary role and any secondary roles. The primary role is unique, while secondary roles can be combined.",
|
|
374
|
+
"selectRole": "Select a role",
|
|
375
|
+
"addSecondaryRole": "Add role",
|
|
376
|
+
"removeRole": "Remove role",
|
|
377
|
+
"saveRoles": "Save roles"
|
|
280
378
|
},
|
|
281
379
|
"verify_email": {
|
|
282
380
|
"label": "Verify Email",
|
|
@@ -318,9 +416,186 @@
|
|
|
318
416
|
}
|
|
319
417
|
}
|
|
320
418
|
},
|
|
419
|
+
"staff": {
|
|
420
|
+
"title": "Staff",
|
|
421
|
+
"desc": "Manage the staff of your application.",
|
|
422
|
+
"protected": "Protected",
|
|
423
|
+
"self": "You cannot edit your own permissions",
|
|
424
|
+
"delete": {
|
|
425
|
+
"title": "Remove staff member?",
|
|
426
|
+
"desc": "This revokes the assigned staff access. This action cannot be undone.",
|
|
427
|
+
"confirm": "Yes, remove",
|
|
428
|
+
"success": "Staff member removed."
|
|
429
|
+
},
|
|
430
|
+
"tabs": {
|
|
431
|
+
"moderators": "Moderators",
|
|
432
|
+
"admins": "Administrators"
|
|
433
|
+
},
|
|
434
|
+
"table": {
|
|
435
|
+
"role": "Role",
|
|
436
|
+
"user": "User",
|
|
437
|
+
"permissions": "Permissions",
|
|
438
|
+
"unrestricted": "Unrestricted",
|
|
439
|
+
"restricted": "Restricted",
|
|
440
|
+
"updatedAt": "Updated At",
|
|
441
|
+
"edit": "Edit permissions"
|
|
442
|
+
},
|
|
443
|
+
"edit": {
|
|
444
|
+
"title": "Edit permissions",
|
|
445
|
+
"subject": "For",
|
|
446
|
+
"back": "Back",
|
|
447
|
+
"save": "Save changes",
|
|
448
|
+
"success": "Permissions updated successfully.",
|
|
449
|
+
"error": "Failed to update permissions.",
|
|
450
|
+
"protected": "This entry is protected and its permissions cannot be edited.",
|
|
451
|
+
"self": "You cannot edit your own staff permissions, including the entry for your main role.",
|
|
452
|
+
"no_permissions": "No plugins have declared staff permissions yet.",
|
|
453
|
+
"select_all": "Enable all",
|
|
454
|
+
"clear_all": "Disable all",
|
|
455
|
+
"search_plugins": "Search plugins",
|
|
456
|
+
"search_empty": "No plugins match your search.",
|
|
457
|
+
"granted": "{granted}/{total} granted",
|
|
458
|
+
"requires": "Requires {permission}",
|
|
459
|
+
"mode": {
|
|
460
|
+
"label": "Access level",
|
|
461
|
+
"unrestricted": {
|
|
462
|
+
"label": "Unrestricted",
|
|
463
|
+
"desc": "Grant every permission, including ones added later."
|
|
464
|
+
},
|
|
465
|
+
"restricted": {
|
|
466
|
+
"label": "Restricted",
|
|
467
|
+
"desc": "Choose exactly which permissions apply."
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"create": {
|
|
472
|
+
"admins": "Add administrator",
|
|
473
|
+
"moderators": "Add moderator",
|
|
474
|
+
"desc": "Grant staff access to a role or a specific user.",
|
|
475
|
+
"button": "Add member",
|
|
476
|
+
"back": "Back",
|
|
477
|
+
"assign_to": "Assign to",
|
|
478
|
+
"tabs": {
|
|
479
|
+
"role": "Role",
|
|
480
|
+
"role_desc": "Grant staff access to everyone with a role.",
|
|
481
|
+
"user": "User",
|
|
482
|
+
"user_desc": "Grant staff access to a single person."
|
|
483
|
+
},
|
|
484
|
+
"select_role": "Select a role",
|
|
485
|
+
"search_user": "Search by name or email",
|
|
486
|
+
"submit": "Add member",
|
|
487
|
+
"success": "Staff member added.",
|
|
488
|
+
"error": "Failed to add staff member.",
|
|
489
|
+
"already_exists": "This role or user is already a staff member."
|
|
490
|
+
},
|
|
491
|
+
"moderators": {
|
|
492
|
+
"title": "Moderators",
|
|
493
|
+
"desc": "Manage the moderators of your application.",
|
|
494
|
+
"create": "Add Moderator",
|
|
495
|
+
"noResults": {
|
|
496
|
+
"title": "No moderators found",
|
|
497
|
+
"description": "Assign a role or user to grant moderator permissions."
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"admins": {
|
|
501
|
+
"title": "Administrators",
|
|
502
|
+
"desc": "Manage the administrators of your application.",
|
|
503
|
+
"create": "Add Administrator",
|
|
504
|
+
"noResults": {
|
|
505
|
+
"title": "No administrators found",
|
|
506
|
+
"description": "Assign a role or user to grant administrator permissions."
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"system": {
|
|
511
|
+
"integrations": {
|
|
512
|
+
"title": "Integrations",
|
|
513
|
+
"desc": "Status of the core services that power this instance.",
|
|
514
|
+
"read_more": "Read more",
|
|
515
|
+
"status": {
|
|
516
|
+
"active": "Active",
|
|
517
|
+
"inactive": "Inactive",
|
|
518
|
+
"warning": "Unreachable"
|
|
519
|
+
},
|
|
520
|
+
"websocket": {
|
|
521
|
+
"title": "WebSocket",
|
|
522
|
+
"desc": "Live updates and notifications pushed to connected clients in real time."
|
|
523
|
+
},
|
|
524
|
+
"redis": {
|
|
525
|
+
"title": "Redis",
|
|
526
|
+
"desc": "Shared cache and rate-limiter storage. Falls back to in-memory when off.",
|
|
527
|
+
"down": "Configured but unreachable — check your Redis connection."
|
|
528
|
+
},
|
|
529
|
+
"email": {
|
|
530
|
+
"title": "Email",
|
|
531
|
+
"desc": "Transactional emails such as sign-up confirmations and password resets.",
|
|
532
|
+
"test": {
|
|
533
|
+
"label": "Test email",
|
|
534
|
+
"title": "Send a test email",
|
|
535
|
+
"desc": "Send an email to any address to confirm your email adapter is working.",
|
|
536
|
+
"info": {
|
|
537
|
+
"title": "How to verify your configuration",
|
|
538
|
+
"desc": "If the message arrives in the inbox, your email adapter is configured correctly. If it doesn't show up, double-check your adapter settings and the system logs."
|
|
539
|
+
},
|
|
540
|
+
"to": {
|
|
541
|
+
"label": "Recipient",
|
|
542
|
+
"invalid": "Please enter a valid email address."
|
|
543
|
+
},
|
|
544
|
+
"subject": {
|
|
545
|
+
"label": "Subject",
|
|
546
|
+
"default": "VitNode test email"
|
|
547
|
+
},
|
|
548
|
+
"content": {
|
|
549
|
+
"label": "Content",
|
|
550
|
+
"default": "This is a test email sent from the VitNode admin panel."
|
|
551
|
+
},
|
|
552
|
+
"submit": "Send test email",
|
|
553
|
+
"success": "Test email sent. Check the recipient's inbox to confirm your configuration."
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"captcha": {
|
|
557
|
+
"title": "Captcha",
|
|
558
|
+
"desc": "Bot protection on public forms like sign-up and password reset.",
|
|
559
|
+
"type": {
|
|
560
|
+
"cloudflare_turnstile": "Cloudflare Turnstile",
|
|
561
|
+
"recaptcha_v3": "reCAPTCHA v3"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"cron": {
|
|
565
|
+
"title": "Cron Jobs",
|
|
566
|
+
"desc": "Scheduled background tasks such as clearing expired sessions and tokens.",
|
|
567
|
+
"insecure": "Using the default CRON_SECRET — set a secure one in production.",
|
|
568
|
+
"not_configured": "No cron adapter configured — jobs won't run automatically.",
|
|
569
|
+
"jobs": "{count, plural, =0 {No jobs scheduled} one {# job scheduled} other {# jobs scheduled}}"
|
|
570
|
+
},
|
|
571
|
+
"queue": {
|
|
572
|
+
"title": "Queue Tasks",
|
|
573
|
+
"desc": "Background jobs enqueued in the database and drained by the cron worker.",
|
|
574
|
+
"tasks": "{count, plural, =0 {No tasks registered} one {# task registered} other {# tasks registered}}",
|
|
575
|
+
"queued": "{pending} pending · {processing} running"
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
},
|
|
321
579
|
"debug": {
|
|
322
580
|
"title": "Debug Panel",
|
|
323
581
|
"desc": "Check logs, errors, and other debug information.",
|
|
582
|
+
"queue": {
|
|
583
|
+
"title": "Queue Tasks",
|
|
584
|
+
"empty": "No active queue tasks.",
|
|
585
|
+
"counts": {
|
|
586
|
+
"pending": "Pending",
|
|
587
|
+
"processing": "Processing",
|
|
588
|
+
"completed": "Completed",
|
|
589
|
+
"failed": "Failed"
|
|
590
|
+
},
|
|
591
|
+
"list": {
|
|
592
|
+
"name": "Task",
|
|
593
|
+
"queue": "Queue",
|
|
594
|
+
"status": "Status",
|
|
595
|
+
"attempts": "Attempts",
|
|
596
|
+
"availableAt": "Available At"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
324
599
|
"actions": {
|
|
325
600
|
"clear_cache": {
|
|
326
601
|
"label": "Clear Cache",
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { getTranslations } from "next-intl/server";
|
|
2
|
+
import dynamic from "next/dynamic";
|
|
3
|
+
import { notFound } from "next/navigation";
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
7
|
+
import { DataTableSkeleton } from "@/components/table/data-table";
|
|
8
|
+
import { HeaderContent } from "@/components/ui/header-content";
|
|
9
|
+
import { checkAdminPermissionApi } from "@/lib/api/get-session-admin-api";
|
|
10
|
+
|
|
11
|
+
const QueueTableView = dynamic(async () =>
|
|
12
|
+
import("@/views/admin/views/core/advanced/queue/queue-table-view").then(
|
|
13
|
+
module => ({
|
|
14
|
+
default: module.QueueTableView,
|
|
15
|
+
}),
|
|
16
|
+
),
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
export const generateMetadata = async () => {
|
|
20
|
+
const t = await getTranslations("admin.advanced.queue");
|
|
21
|
+
|
|
22
|
+
return {
|
|
23
|
+
title: t("title"),
|
|
24
|
+
description: t("desc"),
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default async function Page(
|
|
29
|
+
props: React.ComponentProps<typeof QueueTableView>,
|
|
30
|
+
) {
|
|
31
|
+
const [t, canView] = await Promise.all([
|
|
32
|
+
getTranslations("admin.advanced.queue"),
|
|
33
|
+
checkAdminPermissionApi({ module: "queue", permission: "can_view" }),
|
|
34
|
+
]);
|
|
35
|
+
|
|
36
|
+
if (!canView) {
|
|
37
|
+
notFound();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<I18nProvider namespaces={["admin.advanced.queue"]}>
|
|
42
|
+
<div className="p-4">
|
|
43
|
+
<HeaderContent desc={t("desc")} h1={t("title")} />
|
|
44
|
+
|
|
45
|
+
<React.Suspense fallback={<DataTableSkeleton columns={7} />}>
|
|
46
|
+
<QueueTableView {...props} />
|
|
47
|
+
</React.Suspense>
|
|
48
|
+
</div>
|
|
49
|
+
</I18nProvider>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { getTranslations } from "next-intl/server";
|
|
2
2
|
import dynamic from "next/dynamic";
|
|
3
|
+
import { notFound } from "next/navigation";
|
|
3
4
|
import React from "react";
|
|
4
5
|
|
|
5
6
|
import { I18nProvider } from "@/components/i18n-provider";
|
|
6
7
|
import { DataTableSkeleton } from "@/components/table/data-table";
|
|
7
8
|
import { HeaderContent } from "@/components/ui/header-content";
|
|
9
|
+
import { checkAdminPermissionApi } from "@/lib/api/get-session-admin-api";
|
|
8
10
|
import { ClearCacheAction } from "@/views/admin/views/core/debug/actions/clear-cache/clear-cache";
|
|
9
11
|
|
|
10
12
|
const SystemLogsView = dynamic(async () =>
|
|
@@ -15,6 +17,12 @@ const SystemLogsView = dynamic(async () =>
|
|
|
15
17
|
),
|
|
16
18
|
);
|
|
17
19
|
|
|
20
|
+
const QueueView = dynamic(async () =>
|
|
21
|
+
import("@/views/admin/views/core/debug/queue/queue-view").then(module => ({
|
|
22
|
+
default: module.QueueView,
|
|
23
|
+
})),
|
|
24
|
+
);
|
|
25
|
+
|
|
18
26
|
export const generateMetadata = async () => {
|
|
19
27
|
const t = await getTranslations("admin.debug");
|
|
20
28
|
|
|
@@ -27,16 +35,29 @@ export const generateMetadata = async () => {
|
|
|
27
35
|
export default async function Page(
|
|
28
36
|
props: React.ComponentProps<typeof SystemLogsView>,
|
|
29
37
|
) {
|
|
30
|
-
const t = await
|
|
38
|
+
const [t, canView, canClearCache] = await Promise.all([
|
|
39
|
+
getTranslations("admin.debug"),
|
|
40
|
+
checkAdminPermissionApi({ module: "debug", permission: "can_view" }),
|
|
41
|
+
checkAdminPermissionApi({ module: "debug", permission: "can_clear_cache" }),
|
|
42
|
+
]);
|
|
43
|
+
|
|
44
|
+
if (!canView) {
|
|
45
|
+
notFound();
|
|
46
|
+
}
|
|
31
47
|
|
|
32
48
|
return (
|
|
33
|
-
<I18nProvider namespaces="admin.debug">
|
|
49
|
+
<I18nProvider namespaces={["admin.debug", "admin.advanced.queue"]}>
|
|
34
50
|
<div className="p-4">
|
|
35
51
|
<HeaderContent desc={t("desc")} h1={t("title")}>
|
|
36
|
-
<ClearCacheAction />
|
|
52
|
+
{canClearCache && <ClearCacheAction />}
|
|
37
53
|
</HeaderContent>
|
|
38
54
|
|
|
39
|
-
<HeaderContent h2={t("
|
|
55
|
+
<HeaderContent className="mt-8" h2={t("queue.title")} />
|
|
56
|
+
<React.Suspense fallback={<DataTableSkeleton columns={5} />}>
|
|
57
|
+
<QueueView />
|
|
58
|
+
</React.Suspense>
|
|
59
|
+
|
|
60
|
+
<HeaderContent className="mt-8" h2={t("logs.title")} />
|
|
40
61
|
<React.Suspense fallback={<DataTableSkeleton columns={4} />}>
|
|
41
62
|
<SystemLogsView {...props} />
|
|
42
63
|
</React.Suspense>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
4
|
+
import { Loader } from "@/components/ui/loader";
|
|
5
|
+
import { CreateStaffPermissionsView } from "@/views/admin/views/core/staff/create/create-staff-permissions-view";
|
|
6
|
+
|
|
7
|
+
export default function Page() {
|
|
8
|
+
return (
|
|
9
|
+
<I18nProvider namespaces="admin.staff">
|
|
10
|
+
<div className="mx-auto max-w-4xl p-4">
|
|
11
|
+
<React.Suspense fallback={<Loader />}>
|
|
12
|
+
<CreateStaffPermissionsView type="admin" />
|
|
13
|
+
</React.Suspense>
|
|
14
|
+
</div>
|
|
15
|
+
</I18nProvider>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
4
|
+
import { Loader } from "@/components/ui/loader";
|
|
5
|
+
import { EditStaffPermissionsView } from "@/views/admin/views/core/staff/edit/edit-staff-permissions-view";
|
|
6
|
+
|
|
7
|
+
export default async function Page({
|
|
8
|
+
params,
|
|
9
|
+
}: {
|
|
10
|
+
params: Promise<{ id: string }>;
|
|
11
|
+
}) {
|
|
12
|
+
const { id } = await params;
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<I18nProvider namespaces="admin.staff">
|
|
16
|
+
<div className="mx-auto max-w-4xl p-4">
|
|
17
|
+
<React.Suspense fallback={<Loader />}>
|
|
18
|
+
<EditStaffPermissionsView id={id} type="admin" />
|
|
19
|
+
</React.Suspense>
|
|
20
|
+
</div>
|
|
21
|
+
</I18nProvider>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
4
|
+
import { AdminsStaffAdminView } from "@/views/admin/views/core/staff/views/admins/admins-staff-view";
|
|
5
|
+
|
|
6
|
+
export default function Page(
|
|
7
|
+
props: React.ComponentProps<typeof AdminsStaffAdminView>,
|
|
8
|
+
) {
|
|
9
|
+
return (
|
|
10
|
+
<I18nProvider namespaces="admin.staff">
|
|
11
|
+
<AdminsStaffAdminView {...props} />
|
|
12
|
+
</I18nProvider>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
4
|
+
import { Loader } from "@/components/ui/loader";
|
|
5
|
+
import { CreateStaffPermissionsView } from "@/views/admin/views/core/staff/create/create-staff-permissions-view";
|
|
6
|
+
|
|
7
|
+
export default function Page() {
|
|
8
|
+
return (
|
|
9
|
+
<I18nProvider namespaces="admin.staff">
|
|
10
|
+
<div className="mx-auto max-w-4xl p-4">
|
|
11
|
+
<React.Suspense fallback={<Loader />}>
|
|
12
|
+
<CreateStaffPermissionsView type="moderator" />
|
|
13
|
+
</React.Suspense>
|
|
14
|
+
</div>
|
|
15
|
+
</I18nProvider>
|
|
16
|
+
);
|
|
17
|
+
}
|