@tulip-systems/core 0.5.15 → 0.6.0
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/auth/server.d.mts +1 -1
- package/dist/auth/server.mjs +1 -1
- package/dist/components/client.d.mts +2 -4
- package/dist/components/client.mjs +2 -4
- package/dist/components/common/icons.d.mts +52 -52
- package/dist/components/common/icons.d.mts.map +1 -1
- package/dist/components/common/icons.mjs.map +1 -1
- package/dist/components/common/status.d.mts +3 -3
- package/dist/components/common/status.d.mts.map +1 -1
- package/dist/components/common/status.mjs.map +1 -1
- package/dist/components/editor/components/content.client.d.mts +2 -2
- package/dist/components/editor/components/content.client.d.mts.map +1 -1
- package/dist/components/editor/components/content.client.mjs.map +1 -1
- package/dist/components/editor/components/editor.client.d.mts +4 -4
- package/dist/components/editor/components/editor.client.d.mts.map +1 -1
- package/dist/components/editor/components/editor.client.mjs +2 -2
- package/dist/components/editor/components/editor.client.mjs.map +1 -1
- package/dist/components/editor/components/menu-nodes.client.mjs +2 -2
- package/dist/components/editor/components/menu-nodes.client.mjs.map +1 -1
- package/dist/components/editor/components/menu.client.d.mts +3 -3
- package/dist/components/editor/components/menu.client.d.mts.map +1 -1
- package/dist/components/editor/components/menu.client.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/extension.d.mts.map +1 -1
- package/dist/components/editor/extensions/file-handler/extension.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/strategy.d.mts.map +1 -1
- package/dist/components/editor/extensions/file-handler/strategy.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/utils.mjs.map +1 -1
- package/dist/components/editor/extensions/image/extension.d.mts.map +1 -1
- package/dist/components/editor/extensions/image/extension.mjs.map +1 -1
- package/dist/components/editor/extensions/skeleton/renderer.mjs +1 -1
- package/dist/components/editor/extensions/skeleton/renderer.mjs.map +1 -1
- package/dist/components/editor/lib/constants.d.mts +27 -27
- package/dist/components/editor/lib/constants.d.mts.map +1 -1
- package/dist/components/editor/lib/extensions.d.mts +0 -1
- package/dist/components/editor/lib/extensions.d.mts.map +1 -1
- package/dist/components/editor/lib/extensions.mjs +6 -8
- package/dist/components/editor/lib/extensions.mjs.map +1 -1
- package/dist/components/editor/lib/helpers.d.mts +0 -1
- package/dist/components/editor/lib/helpers.d.mts.map +1 -1
- package/dist/components/editor/lib/helpers.mjs.map +1 -1
- package/dist/components/editor/lib/types.d.mts +0 -1
- package/dist/components/editor/lib/types.d.mts.map +1 -1
- package/dist/components/editor/lib/variants.mjs.map +1 -1
- package/dist/components/emails/forget-password-email.mjs +1 -2
- package/dist/components/emails/forget-password-email.mjs.map +1 -1
- package/dist/components/header/back-button.client.d.mts +2 -2
- package/dist/components/header/back-button.client.d.mts.map +1 -1
- package/dist/components/header/back-button.client.mjs.map +1 -1
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
- package/dist/components/header/bottom-bar.client.mjs.map +1 -1
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
- package/dist/components/header/breadcrumbs.client.mjs.map +1 -1
- package/dist/components/header/header.client.d.mts +2 -2
- package/dist/components/header/header.client.d.mts.map +1 -1
- package/dist/components/header/header.client.mjs.map +1 -1
- package/dist/components/header/indicator.client.mjs.map +1 -1
- package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
- package/dist/components/header/top-bar.client.d.mts +4 -4
- package/dist/components/header/top-bar.client.d.mts.map +1 -1
- package/dist/components/header/top-bar.client.mjs.map +1 -1
- package/dist/components/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
- package/dist/components/layouts/admin-content.client.mjs.map +1 -1
- package/dist/components/layouts/admin-error-pages.d.mts +4 -4
- package/dist/components/layouts/admin-error-pages.d.mts.map +1 -1
- package/dist/components/layouts/admin-error-pages.mjs.map +1 -1
- package/dist/components/layouts/admin-layout.d.mts +2 -2
- package/dist/components/layouts/admin-layout.d.mts.map +1 -1
- package/dist/components/layouts/admin-layout.mjs.map +1 -1
- package/dist/components/layouts/admin-loading.d.mts +2 -2
- package/dist/components/layouts/admin-loading.d.mts.map +1 -1
- package/dist/components/layouts/admin-loading.mjs.map +1 -1
- package/dist/components/layouts/empty-page.d.mts +4 -4
- package/dist/components/layouts/empty-page.d.mts.map +1 -1
- package/dist/components/layouts/empty-page.mjs.map +1 -1
- package/dist/components/layouts/error-page.d.mts +9 -9
- package/dist/components/layouts/error-page.d.mts.map +1 -1
- package/dist/components/layouts/error-page.mjs.map +1 -1
- package/dist/components/layouts/error-sections.d.mts +5 -5
- package/dist/components/layouts/error-sections.d.mts.map +1 -1
- package/dist/components/layouts/error-sections.mjs.map +1 -1
- package/dist/components/layouts/list-layout.d.mts +2 -2
- package/dist/components/layouts/list-layout.d.mts.map +1 -1
- package/dist/components/layouts/list-layout.mjs.map +1 -1
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/providers.client.d.mts.map +1 -1
- package/dist/components/layouts/providers.client.mjs +1 -1
- package/dist/components/layouts/providers.client.mjs.map +1 -1
- package/dist/components/layouts/root-error-pages.d.mts +2 -2
- package/dist/components/layouts/root-error-pages.d.mts.map +1 -1
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-layout.server.mjs.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/root-loading.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.mjs +3 -3
- package/dist/components/layouts/tab-layout.mjs.map +1 -1
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-list.d.mts.map +1 -1
- package/dist/components/lists/data-list.mjs.map +1 -1
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/lists/data-stack.d.mts.map +1 -1
- package/dist/components/lists/data-stack.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-skeleton.mjs.map +1 -1
- package/dist/components/ui/accordion.d.mts +5 -5
- package/dist/components/ui/accordion.d.mts.map +1 -1
- package/dist/components/ui/accordion.mjs +0 -1
- package/dist/components/ui/accordion.mjs.map +1 -1
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert-dialog.d.mts.map +1 -1
- package/dist/components/ui/alert-dialog.mjs +0 -1
- package/dist/components/ui/alert-dialog.mjs.map +1 -1
- package/dist/components/ui/alert.d.mts +6 -6
- package/dist/components/ui/alert.d.mts.map +1 -1
- package/dist/components/ui/alert.mjs +0 -1
- package/dist/components/ui/alert.mjs.map +1 -1
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/avatar.client.d.mts.map +1 -1
- package/dist/components/ui/avatar.client.mjs +0 -1
- package/dist/components/ui/avatar.client.mjs.map +1 -1
- package/dist/components/ui/badge.d.mts +4 -4
- package/dist/components/ui/badge.d.mts.map +1 -1
- package/dist/components/ui/badge.mjs +0 -1
- package/dist/components/ui/badge.mjs.map +1 -1
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/breadcrumb.d.mts.map +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -2
- package/dist/components/ui/breadcrumb.mjs.map +1 -1
- package/dist/components/ui/button.d.mts +5 -5
- package/dist/components/ui/button.d.mts.map +1 -1
- package/dist/components/ui/button.mjs +0 -1
- package/dist/components/ui/button.mjs.map +1 -1
- package/dist/components/ui/calendar.d.mts +3 -3
- package/dist/components/ui/calendar.d.mts.map +1 -1
- package/dist/components/ui/calendar.mjs +12 -12
- package/dist/components/ui/calendar.mjs.map +1 -1
- package/dist/components/ui/card.d.mts +7 -7
- package/dist/components/ui/card.d.mts.map +1 -1
- package/dist/components/ui/card.mjs +0 -1
- package/dist/components/ui/card.mjs.map +1 -1
- package/dist/components/ui/carousel.d.mts +6 -6
- package/dist/components/ui/carousel.d.mts.map +1 -1
- package/dist/components/ui/carousel.mjs +4 -4
- package/dist/components/ui/carousel.mjs.map +1 -1
- package/dist/components/ui/chart.client.d.mts +5 -5
- package/dist/components/ui/chart.client.d.mts.map +1 -1
- package/dist/components/ui/chart.client.mjs +6 -6
- package/dist/components/ui/chart.client.mjs.map +1 -1
- package/dist/components/ui/checkbox.d.mts +2 -2
- package/dist/components/ui/checkbox.d.mts.map +1 -1
- package/dist/components/ui/checkbox.mjs +0 -1
- package/dist/components/ui/checkbox.mjs.map +1 -1
- package/dist/components/ui/collapsible.client.d.mts +4 -4
- package/dist/components/ui/collapsible.client.d.mts.map +1 -1
- package/dist/components/ui/color-picker.client.d.mts +2 -2
- package/dist/components/ui/color-picker.client.d.mts.map +1 -1
- package/dist/components/ui/color-picker.client.mjs +6 -5
- package/dist/components/ui/color-picker.client.mjs.map +1 -1
- package/dist/components/ui/combobox-dropdown.client.d.mts +2 -3
- package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/components/ui/combobox-dropdown.client.mjs +3 -3
- package/dist/components/ui/combobox-dropdown.client.mjs.map +1 -1
- package/dist/components/ui/combobox.client.d.mts +2 -2
- package/dist/components/ui/combobox.client.d.mts.map +1 -1
- package/dist/components/ui/combobox.client.mjs +2 -2
- package/dist/components/ui/combobox.client.mjs.map +1 -1
- package/dist/components/ui/command.d.mts +10 -10
- package/dist/components/ui/command.d.mts.map +1 -1
- package/dist/components/ui/command.mjs +0 -1
- package/dist/components/ui/command.mjs.map +1 -1
- package/dist/components/ui/context-menu.d.mts +16 -16
- package/dist/components/ui/context-menu.d.mts.map +1 -1
- package/dist/components/ui/context-menu.mjs +0 -1
- package/dist/components/ui/context-menu.mjs.map +1 -1
- package/dist/components/ui/date-picker.client.d.mts +2 -2
- package/dist/components/ui/date-picker.client.d.mts.map +1 -1
- package/dist/components/ui/date-picker.client.mjs +3 -3
- package/dist/components/ui/date-picker.client.mjs.map +1 -1
- package/dist/components/ui/dialog.client.d.mts +11 -11
- package/dist/components/ui/dialog.client.d.mts.map +1 -1
- package/dist/components/ui/dialog.client.mjs +0 -1
- package/dist/components/ui/dialog.client.mjs.map +1 -1
- package/dist/components/ui/drawer.client.d.mts +11 -11
- package/dist/components/ui/drawer.client.d.mts.map +1 -1
- package/dist/components/ui/drawer.client.mjs +0 -1
- package/dist/components/ui/drawer.client.mjs.map +1 -1
- package/dist/components/ui/dropdown-menu.d.mts +16 -16
- package/dist/components/ui/dropdown-menu.d.mts.map +1 -1
- package/dist/components/ui/dropdown-menu.mjs +0 -1
- package/dist/components/ui/dropdown-menu.mjs.map +1 -1
- package/dist/components/ui/form.client.d.mts +7 -7
- package/dist/components/ui/form.client.d.mts.map +1 -1
- package/dist/components/ui/form.client.mjs.map +1 -1
- package/dist/components/ui/hover-card.client.d.mts +4 -4
- package/dist/components/ui/hover-card.client.d.mts.map +1 -1
- package/dist/components/ui/hover-card.client.mjs +0 -1
- package/dist/components/ui/hover-card.client.mjs.map +1 -1
- package/dist/components/ui/input-date-time.d.mts +23 -0
- package/dist/components/ui/input-date-time.d.mts.map +1 -0
- package/dist/components/ui/input-date-time.mjs +34 -0
- package/dist/components/ui/input-date-time.mjs.map +1 -0
- package/dist/components/ui/input-date.d.mts +14 -0
- package/dist/components/ui/input-date.d.mts.map +1 -0
- package/dist/components/ui/input-date.mjs +16 -0
- package/dist/components/ui/input-date.mjs.map +1 -0
- package/dist/components/ui/input-recipient.d.mts +2 -2
- package/dist/components/ui/input-recipient.d.mts.map +1 -1
- package/dist/components/ui/input-recipient.mjs +2 -2
- package/dist/components/ui/input-recipient.mjs.map +1 -1
- package/dist/components/ui/input-time.d.mts +14 -0
- package/dist/components/ui/input-time.d.mts.map +1 -0
- package/dist/components/ui/input-time.mjs +16 -0
- package/dist/components/ui/input-time.mjs.map +1 -0
- package/dist/components/ui/input.d.mts +2 -2
- package/dist/components/ui/input.d.mts.map +1 -1
- package/dist/components/ui/input.mjs +0 -1
- package/dist/components/ui/input.mjs.map +1 -1
- package/dist/components/ui/label.d.mts +2 -2
- package/dist/components/ui/label.d.mts.map +1 -1
- package/dist/components/ui/label.mjs +0 -1
- package/dist/components/ui/label.mjs.map +1 -1
- package/dist/components/ui/navigation-menu.d.mts +11 -11
- package/dist/components/ui/navigation-menu.d.mts.map +1 -1
- package/dist/components/ui/navigation-menu.mjs +0 -1
- package/dist/components/ui/navigation-menu.mjs.map +1 -1
- package/dist/components/ui/pagination.d.mts +8 -8
- package/dist/components/ui/pagination.d.mts.map +1 -1
- package/dist/components/ui/pagination.mjs +0 -1
- package/dist/components/ui/pagination.mjs.map +1 -1
- package/dist/components/ui/popover.d.mts +5 -5
- package/dist/components/ui/popover.d.mts.map +1 -1
- package/dist/components/ui/popover.mjs +0 -1
- package/dist/components/ui/popover.mjs.map +1 -1
- package/dist/components/ui/progress.client.d.mts +2 -2
- package/dist/components/ui/progress.client.d.mts.map +1 -1
- package/dist/components/ui/progress.client.mjs +0 -1
- package/dist/components/ui/progress.client.mjs.map +1 -1
- package/dist/components/ui/radio-group.d.mts +3 -3
- package/dist/components/ui/radio-group.d.mts.map +1 -1
- package/dist/components/ui/radio-group.mjs +0 -1
- package/dist/components/ui/radio-group.mjs.map +1 -1
- package/dist/components/ui/resizable.client.d.mts +4 -4
- package/dist/components/ui/resizable.client.d.mts.map +1 -1
- package/dist/components/ui/resizable.client.mjs +0 -1
- package/dist/components/ui/resizable.client.mjs.map +1 -1
- package/dist/components/ui/scroll-area.d.mts +3 -3
- package/dist/components/ui/scroll-area.d.mts.map +1 -1
- package/dist/components/ui/scroll-area.mjs +0 -1
- package/dist/components/ui/scroll-area.mjs.map +1 -1
- package/dist/components/ui/select.client.d.mts +11 -11
- package/dist/components/ui/select.client.d.mts.map +1 -1
- package/dist/components/ui/select.client.mjs +0 -1
- package/dist/components/ui/select.client.mjs.map +1 -1
- package/dist/components/ui/separator.d.mts +2 -2
- package/dist/components/ui/separator.d.mts.map +1 -1
- package/dist/components/ui/separator.mjs +0 -1
- package/dist/components/ui/separator.mjs.map +1 -1
- package/dist/components/ui/sheet.client.d.mts +9 -9
- package/dist/components/ui/sheet.client.d.mts.map +1 -1
- package/dist/components/ui/sheet.client.mjs +0 -1
- package/dist/components/ui/sheet.client.mjs.map +1 -1
- package/dist/components/ui/sidebar.client.d.mts +24 -24
- package/dist/components/ui/sidebar.client.d.mts.map +1 -1
- package/dist/components/ui/sidebar.client.mjs +2 -2
- package/dist/components/ui/sidebar.client.mjs.map +1 -1
- package/dist/components/ui/skeleton.d.mts +2 -2
- package/dist/components/ui/skeleton.d.mts.map +1 -1
- package/dist/components/ui/slider.d.mts +2 -2
- package/dist/components/ui/slider.d.mts.map +1 -1
- package/dist/components/ui/sonner.client.d.mts +2 -2
- package/dist/components/ui/sonner.client.d.mts.map +1 -1
- package/dist/components/ui/sonner.client.mjs.map +1 -1
- package/dist/components/ui/switch.d.mts +2 -2
- package/dist/components/ui/switch.d.mts.map +1 -1
- package/dist/components/ui/switch.mjs +0 -1
- package/dist/components/ui/switch.mjs.map +1 -1
- package/dist/components/ui/tabs.d.mts +5 -5
- package/dist/components/ui/tabs.d.mts.map +1 -1
- package/dist/components/ui/tabs.mjs +0 -1
- package/dist/components/ui/tabs.mjs.map +1 -1
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/textarea.d.mts.map +1 -1
- package/dist/components/ui/textarea.mjs +0 -1
- package/dist/components/ui/textarea.mjs.map +1 -1
- package/dist/components/ui/toggle-group.client.d.mts +3 -3
- package/dist/components/ui/toggle-group.client.d.mts.map +1 -1
- package/dist/components/ui/toggle-group.client.mjs.map +1 -1
- package/dist/components/ui/toggle.d.mts +4 -4
- package/dist/components/ui/toggle.d.mts.map +1 -1
- package/dist/components/ui/toggle.mjs +0 -1
- package/dist/components/ui/toggle.mjs.map +1 -1
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components/ui/tooltip.client.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.mjs +0 -1
- package/dist/components/ui/tooltip.client.mjs.map +1 -1
- package/dist/components.d.mts +4 -1
- package/dist/components.mjs +4 -1
- package/dist/data-tables/client.d.mts +4 -4
- package/dist/data-tables/client.mjs +4 -4
- package/dist/inline-edit/client.d.mts +5 -3
- package/dist/inline-edit/client.mjs +5 -3
- package/dist/lib/config/constants.d.mts.map +1 -1
- package/dist/lib/config/constants.mjs.map +1 -1
- package/dist/lib/hooks/use-action.d.mts +2 -3
- package/dist/lib/hooks/use-action.d.mts.map +1 -1
- package/dist/lib/hooks/use-action.mjs.map +1 -1
- package/dist/lib/hooks/use-indicator.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
- package/dist/lib/hooks/use-indicator.mjs +4 -4
- package/dist/lib/hooks/use-indicator.mjs.map +1 -1
- package/dist/lib/hooks/use-mobile.client.d.mts.map +1 -1
- package/dist/lib/types/config.d.mts.map +1 -1
- package/dist/lib/utils/array-move.d.mts.map +1 -1
- package/dist/lib/utils/cn.d.mts.map +1 -1
- package/dist/lib/utils/cn.mjs.map +1 -1
- package/dist/lib/utils/fonts.d.mts.map +1 -1
- package/dist/lib/utils/format.d.mts.map +1 -1
- package/dist/lib/utils/manifest.d.mts.map +1 -1
- package/dist/lib/utils/manifest.mjs.map +1 -1
- package/dist/lib/utils/url.d.mts.map +1 -1
- package/dist/lib/utils/url.mjs +1 -1
- package/dist/lib/utils/url.mjs.map +1 -1
- package/dist/modules/auth/components/allowed.client.d.mts +2 -2
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
- package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.mjs.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.mts +2 -2
- package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.mjs +2 -2
- package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.mjs.map +1 -1
- package/dist/modules/auth/components/guard.server.d.mts +2 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.mjs.map +1 -1
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/login-page.client.mjs +1 -1
- package/dist/modules/auth/components/login-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.mjs +2 -2
- package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
- package/dist/modules/auth/components/update-password-command.mjs +0 -1
- package/dist/modules/auth/components/update-password-command.mjs.map +1 -1
- package/dist/modules/auth/db/schema.d.mts +73 -73
- package/dist/modules/auth/db/schema.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.mjs +1 -1
- package/dist/modules/auth/db/schema.mjs.map +1 -1
- package/dist/modules/auth/handler/create-client.client.d.mts +304 -284
- package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -1
- package/dist/modules/auth/handler/create-client.client.mjs.map +1 -1
- package/dist/modules/auth/handler/init.d.mts +206 -220
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/handler/init.mjs +2 -2
- package/dist/modules/auth/handler/init.mjs.map +1 -1
- package/dist/modules/auth/handler/proxy.server.d.mts +0 -1
- package/dist/modules/auth/handler/proxy.server.d.mts.map +1 -1
- package/dist/modules/auth/handler/proxy.server.mjs +0 -1
- package/dist/modules/auth/handler/proxy.server.mjs.map +1 -1
- package/dist/modules/auth/handler/route.server.d.mts +0 -1
- package/dist/modules/auth/handler/route.server.d.mts.map +1 -1
- package/dist/modules/auth/handler/route.server.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-auth-client.d.mts +4 -4
- package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +2 -2
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-session.d.mts +2 -2
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
- package/dist/modules/auth/lib/helpers.server.mjs +2 -2
- package/dist/modules/auth/lib/helpers.server.mjs.map +1 -1
- package/dist/modules/auth/lib/permissions.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.d.mts +2 -3
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/click-command.client.d.mts +2 -2
- package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/click-command.client.mjs +0 -1
- package/dist/modules/commands/components/click-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.mjs.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
- package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/empty-command.client.mjs +0 -1
- package/dist/modules/commands/components/empty-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/render-command.mjs.map +1 -1
- package/dist/modules/commands/hooks/context.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.mjs +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +1 -1
- package/dist/modules/commands/lib/definitions.d.mts +0 -1
- package/dist/modules/commands/lib/definitions.d.mts.map +1 -1
- package/dist/modules/commands/lib/factory.d.mts.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.mjs +5 -5
- package/dist/modules/commands/menus/context-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/data-table-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.mjs +0 -1
- package/dist/modules/commands/menus/inline-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.mjs.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.mjs.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -1
- package/dist/modules/config/db/helpers.d.mts +5 -5
- package/dist/modules/config/db/helpers.d.mts.map +1 -1
- package/dist/modules/config/db/helpers.mjs.map +1 -1
- package/dist/modules/config/db/init.d.mts.map +1 -1
- package/dist/modules/config/db/init.mjs.map +1 -1
- package/dist/modules/config/db/types.d.mts.map +1 -1
- package/dist/modules/config/lib/config.d.mts.map +1 -1
- package/dist/modules/config/lib/context.d.mts.map +1 -1
- package/dist/modules/config/lib/context.mjs.map +1 -1
- package/dist/modules/config/paths/helpers.d.mts +0 -1
- package/dist/modules/config/paths/helpers.d.mts.map +1 -1
- package/dist/modules/config/paths/helpers.mjs.map +1 -1
- package/dist/modules/config/paths/types.d.mts +0 -1
- package/dist/modules/config/paths/types.d.mts.map +1 -1
- package/dist/modules/config/providers/email.d.mts.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
- package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/cell/index.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/cell/select.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/column-header.d.mts +2 -2
- package/dist/modules/data-tables/components/column-header.d.mts.map +1 -1
- package/dist/modules/data-tables/components/column-header.mjs.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/footer.mjs.map +1 -1
- package/dist/modules/data-tables/components/header.d.mts +4 -4
- package/dist/modules/data-tables/components/header.d.mts.map +1 -1
- package/dist/modules/data-tables/components/header.mjs.map +1 -1
- package/dist/modules/data-tables/components/layout.d.mts +2 -2
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
- package/dist/modules/data-tables/components/layout.mjs.map +1 -1
- package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
- package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.mjs +4 -4
- package/dist/modules/data-tables/components/skeleton.mjs.map +1 -1
- package/dist/modules/data-tables/components/table.d.mts +7 -7
- package/dist/modules/data-tables/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/components/table.mjs +0 -1
- package/dist/modules/data-tables/components/table.mjs.map +1 -1
- package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
- package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -1
- package/dist/modules/data-tables/components/toolbar.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-selection.client.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.mts +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/cursor.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/dto.d.mts +0 -1
- package/dist/modules/data-tables/lib/converters/dto.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/dto.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/filter.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts +1 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/helpers.mjs +4 -4
- package/dist/modules/data-tables/lib/filters/helpers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/helpers/create-column.mjs.map +1 -1
- package/dist/modules/data-tables/lib/search-params.d.mts +6 -6
- package/dist/modules/data-tables/lib/search-params.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/types.d.mts +0 -1
- package/dist/modules/data-tables/lib/types.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/validators.d.mts +0 -1
- package/dist/modules/data-tables/lib/validators.d.mts.map +1 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts +1 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts.map +1 -1
- package/dist/modules/data-tables/server/get-data.server.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/infinite/components.mjs +1 -1
- package/dist/modules/data-tables/strategies/infinite/components.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts.map +1 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/pagination/components.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts.map +1 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/body.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/header.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/row.mjs +0 -1
- package/dist/modules/data-tables/tables/data-table/components/row.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.mjs +3 -3
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.mjs +3 -3
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-time.client.d.mts +21 -0
- package/dist/modules/inline-edit/components/date-time.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/date-time.client.mjs +33 -0
- package/dist/modules/inline-edit/components/date-time.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.mjs +2 -2
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.mjs +1 -1
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.mjs +3 -3
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.mjs +3 -3
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.mjs +1 -1
- package/dist/modules/inline-edit/hooks/context.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +15 -2
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +3 -3
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/validators.d.mts +0 -1
- package/dist/modules/inline-edit/lib/validators.d.mts.map +1 -1
- package/dist/modules/inline-edit/lib/validators.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/variants.d.mts +3 -3
- package/dist/modules/inline-edit/lib/variants.d.mts.map +1 -1
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -1
- package/dist/modules/router/handler/caller.client.d.mts +0 -1
- package/dist/modules/router/handler/caller.client.d.mts.map +1 -1
- package/dist/modules/router/handler/caller.client.mjs.map +1 -1
- package/dist/modules/router/handler/caller.server.d.mts.map +1 -1
- package/dist/modules/router/handler/context.server.d.mts.map +1 -1
- package/dist/modules/router/handler/context.server.mjs.map +1 -1
- package/dist/modules/router/handler/init.server.d.mts +6 -6
- package/dist/modules/router/handler/init.server.d.mts.map +1 -1
- package/dist/modules/router/handler/init.server.mjs.map +1 -1
- package/dist/modules/router/handler/register.server.d.mts.map +1 -1
- package/dist/modules/router/handler/register.server.mjs.map +1 -1
- package/dist/modules/router/handler/route.server.d.mts +0 -1
- package/dist/modules/router/handler/route.server.d.mts.map +1 -1
- package/dist/modules/router/handler/route.server.mjs.map +1 -1
- package/dist/modules/router/lib/query-client.d.mts +0 -1
- package/dist/modules/router/lib/query-client.d.mts.map +1 -1
- package/dist/modules/router/lib/query-client.mjs.map +1 -1
- package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
- package/dist/modules/router/lib/validators.d.mts +0 -1
- package/dist/modules/router/lib/validators.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
- package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone-context.client.mjs.map +1 -1
- package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
- package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone.client.mjs.map +1 -1
- package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
- package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
- package/dist/modules/storage/components/image-grid.client.mjs +2 -0
- package/dist/modules/storage/components/image-grid.client.mjs.map +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +0 -1
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.mjs +4 -4
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -1
- package/dist/modules/storage/config/filters.d.mts.map +1 -1
- package/dist/modules/storage/config/filters.mjs.map +1 -1
- package/dist/modules/storage/lib/constants.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-client.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-client.server.mjs.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.mjs.map +1 -1
- package/dist/modules/storage/lib/helpers.d.mts +0 -1
- package/dist/modules/storage/lib/helpers.d.mts.map +1 -1
- package/dist/modules/storage/lib/helpers.mjs.map +1 -1
- package/dist/modules/storage/lib/proxy.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/proxy.server.mjs.map +1 -1
- package/dist/modules/storage/lib/router.server.d.mts +1874 -1874
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.mjs.map +1 -1
- package/dist/modules/storage/lib/schema.d.mts +92 -92
- package/dist/modules/storage/lib/schema.d.mts.map +1 -1
- package/dist/modules/storage/lib/schema.mjs +1 -1
- package/dist/modules/storage/lib/schema.mjs.map +1 -1
- package/dist/modules/storage/lib/service.server.d.mts +12 -12
- package/dist/modules/storage/lib/service.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/service.server.mjs +1 -1
- package/dist/modules/storage/lib/service.server.mjs.map +1 -1
- package/dist/modules/storage/lib/validators.d.mts +9 -9
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/dist/modules/storage/lib/validators.mjs.map +1 -1
- package/dist/storage/client.d.mts +1 -1
- package/package.json +89 -99
- package/src/components/common/icons.tsx +2 -2
- package/src/components/common/status.tsx +1 -1
- package/src/components/editor/components/content.client.tsx +1 -1
- package/src/components/editor/components/editor.client.tsx +6 -6
- package/src/components/editor/components/menu-nodes.client.tsx +9 -9
- package/src/components/editor/components/menu.client.tsx +5 -5
- package/src/components/editor/components/spinner.tsx +2 -8
- package/src/components/editor/extensions/file-handler/extension.ts +1 -1
- package/src/components/editor/extensions/file-handler/strategy.ts +4 -4
- package/src/components/editor/extensions/file-handler/utils.ts +4 -2
- package/src/components/editor/extensions/image/extension.ts +4 -1
- package/src/components/editor/extensions/skeleton/renderer.tsx +4 -3
- package/src/components/editor/lib/extensions.ts +23 -26
- package/src/components/editor/lib/helpers.ts +1 -1
- package/src/components/editor/lib/utils.ts +1 -33
- package/src/components/editor/lib/variants.ts +1 -1
- package/src/components/emails/forget-password-email.tsx +1 -1
- package/src/components/entry.client.ts +1 -3
- package/src/components/entry.ts +3 -0
- package/src/components/header/back-button.client.tsx +1 -1
- package/src/components/header/bottom-bar.client.tsx +3 -3
- package/src/components/header/breadcrumbs.client.tsx +2 -2
- package/src/components/header/header.client.tsx +1 -1
- package/src/components/header/indicator.client.tsx +2 -2
- package/src/components/header/top-bar.client.tsx +3 -3
- package/src/components/layouts/admin-content.client.tsx +1 -1
- package/src/components/layouts/admin-error-pages.tsx +1 -1
- package/src/components/layouts/admin-layout.tsx +1 -1
- package/src/components/layouts/admin-loading.tsx +1 -1
- package/src/components/layouts/empty-page.tsx +1 -1
- package/src/components/layouts/error-page.tsx +2 -2
- package/src/components/layouts/error-sections.tsx +1 -1
- package/src/components/layouts/list-layout.tsx +1 -1
- package/src/components/layouts/providers.client.tsx +4 -4
- package/src/components/layouts/root-layout.server.tsx +3 -3
- package/src/components/layouts/tab-layout.tsx +3 -3
- package/src/components/lists/data-list.tsx +1 -1
- package/src/components/lists/data-stack.tsx +1 -1
- package/src/components/navigation/admin-sidebar-header.client.tsx +13 -13
- package/src/components/navigation/admin-sidebar-paths.client.tsx +6 -6
- package/src/components/navigation/admin-sidebar-skeleton.tsx +1 -1
- package/src/components/navigation/admin-sidebar.client.tsx +5 -5
- package/src/components/ui/accordion.tsx +1 -2
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/components/ui/alert.tsx +1 -1
- package/src/components/ui/avatar.client.tsx +1 -1
- package/src/components/ui/badge.tsx +1 -1
- package/src/components/ui/breadcrumb.tsx +4 -2
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/calendar.tsx +2 -3
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/carousel.tsx +2 -0
- package/src/components/ui/chart.client.tsx +12 -10
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/color-picker.client.tsx +4 -3
- package/src/components/ui/combobox-dropdown.client.tsx +2 -4
- package/src/components/ui/combobox.client.tsx +2 -2
- package/src/components/ui/command.tsx +1 -1
- package/src/components/ui/context-menu.tsx +1 -1
- package/src/components/ui/date-picker.client.tsx +2 -2
- package/src/components/ui/dialog.client.tsx +1 -1
- package/src/components/ui/drawer.client.tsx +1 -1
- package/src/components/ui/dropdown-menu.tsx +1 -1
- package/src/components/ui/form.client.tsx +4 -4
- package/src/components/ui/hover-card.client.tsx +1 -1
- package/src/components/ui/input-date-time.tsx +58 -0
- package/src/components/ui/input-date.tsx +20 -0
- package/src/components/ui/input-recipient.tsx +6 -3
- package/src/components/ui/input-time.tsx +20 -0
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/navigation-menu.tsx +1 -1
- package/src/components/ui/pagination.tsx +4 -2
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/progress.client.tsx +1 -1
- package/src/components/ui/radio-group.tsx +1 -1
- package/src/components/ui/resizable.client.tsx +1 -1
- package/src/components/ui/scroll-area.tsx +1 -1
- package/src/components/ui/select.client.tsx +1 -1
- package/src/components/ui/separator.tsx +1 -1
- package/src/components/ui/sheet.client.tsx +1 -1
- package/src/components/ui/sidebar.client.tsx +5 -2
- package/src/components/ui/sonner.client.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/components/ui/toggle-group.client.tsx +1 -1
- package/src/components/ui/toggle.tsx +1 -1
- package/src/components/ui/tooltip.client.tsx +1 -1
- package/src/lib/config/constants.ts +1 -1
- package/src/lib/hooks/use-action.ts +3 -3
- package/src/lib/types/config.ts +1 -1
- package/src/lib/utils/cn.ts +1 -1
- package/src/lib/utils/manifest.ts +3 -2
- package/src/lib/utils/time-picker.ts +2 -2
- package/src/lib/utils/url.ts +1 -1
- package/src/modules/auth/components/allowed.client.tsx +2 -2
- package/src/modules/auth/components/auth-layout.server.tsx +1 -1
- package/src/modules/auth/components/create-first-user-page.client.tsx +10 -11
- package/src/modules/auth/components/forget-password-page.client.tsx +5 -5
- package/src/modules/auth/components/guard-first-user.server.tsx +2 -5
- package/src/modules/auth/components/guard.server.tsx +3 -3
- package/src/modules/auth/components/login-page.client.tsx +5 -5
- package/src/modules/auth/components/reset-password-page.client.tsx +7 -7
- package/src/modules/auth/components/update-password-command.tsx +5 -5
- package/src/modules/auth/db/schema.ts +2 -2
- package/src/modules/auth/entry.server.ts +1 -1
- package/src/modules/auth/handler/create-client.client.ts +3 -3
- package/src/modules/auth/handler/init.ts +6 -6
- package/src/modules/auth/handler/proxy.server.ts +1 -2
- package/src/modules/auth/handler/route.server.ts +2 -2
- package/src/modules/auth/hooks/use-auth-client.tsx +3 -3
- package/src/modules/auth/hooks/use-permission.ts +1 -1
- package/src/modules/auth/hooks/use-session.ts +1 -2
- package/src/modules/auth/lib/helpers.server.ts +4 -4
- package/src/modules/commands/components/alert-dialog-command.client.tsx +8 -8
- package/src/modules/commands/components/click-command.client.tsx +3 -3
- package/src/modules/commands/components/command-trigger.client.tsx +1 -1
- package/src/modules/commands/components/dialog-command.client.tsx +3 -3
- package/src/modules/commands/components/dropdown-command.client.tsx +2 -2
- package/src/modules/commands/components/empty-command.client.tsx +1 -1
- package/src/modules/commands/components/form-dialog-command.client.tsx +5 -5
- package/src/modules/commands/components/render-command.tsx +2 -2
- package/src/modules/commands/hooks/context.client.tsx +1 -1
- package/src/modules/commands/hooks/use-command-menu.client.tsx +4 -4
- package/src/modules/commands/hooks/use-command-mutation.client.tsx +1 -1
- package/src/modules/commands/menus/context-menu.client.tsx +20 -19
- package/src/modules/commands/menus/data-table-menu.client.tsx +2 -2
- package/src/modules/commands/menus/dropdown-menu.client.tsx +6 -3
- package/src/modules/commands/menus/inline-menu.client.tsx +6 -2
- package/src/modules/commands/menus/responsive-menu.client.tsx +1 -1
- package/src/modules/commands/utils/archive-command.client.tsx +1 -1
- package/src/modules/commands/utils/delete-command.client.tsx +1 -1
- package/src/modules/config/db/helpers.ts +1 -1
- package/src/modules/config/db/init.ts +2 -2
- package/src/modules/config/lib/context.ts +5 -5
- package/src/modules/config/paths/helpers.ts +1 -1
- package/src/modules/config/paths/types.ts +4 -5
- package/src/modules/data-tables/components/cell/common.client.tsx +1 -1
- package/src/modules/data-tables/components/column-header.tsx +2 -2
- package/src/modules/data-tables/components/filters/combobox.client.tsx +3 -3
- package/src/modules/data-tables/components/filters/slider.client.tsx +5 -5
- package/src/modules/data-tables/components/footer.tsx +2 -2
- package/src/modules/data-tables/components/header.tsx +2 -2
- package/src/modules/data-tables/components/layout.tsx +1 -1
- package/src/modules/data-tables/components/skeleton.tsx +22 -29
- package/src/modules/data-tables/components/table.tsx +1 -1
- package/src/modules/data-tables/components/toolbar.tsx +1 -1
- package/src/modules/data-tables/entry.client.ts +9 -13
- package/src/modules/data-tables/hooks/use-context.client.tsx +6 -6
- package/src/modules/data-tables/hooks/use-selection.client.ts +1 -1
- package/src/modules/data-tables/hooks/use-table.client.ts +1 -1
- package/src/modules/data-tables/lib/converters/cursor.ts +1 -1
- package/src/modules/data-tables/lib/converters/dto.ts +1 -1
- package/src/modules/data-tables/lib/converters/search.ts +2 -2
- package/src/modules/data-tables/lib/converters/sorting.ts +2 -2
- package/src/modules/data-tables/lib/filters/config.ts +2 -2
- package/src/modules/data-tables/lib/filters/helpers.ts +4 -4
- package/src/modules/data-tables/lib/filters/parsers.ts +2 -2
- package/src/modules/data-tables/lib/filters/resolvers.ts +2 -2
- package/src/modules/data-tables/lib/helpers/create-column.ts +1 -1
- package/src/modules/data-tables/lib/types.ts +6 -5
- package/src/modules/data-tables/server/get-data.server.ts +8 -8
- package/src/modules/data-tables/strategies/helpers/sorting.ts +7 -3
- package/src/modules/data-tables/strategies/infinite/components.tsx +4 -4
- package/src/modules/data-tables/strategies/infinite/strategy.ts +2 -2
- package/src/modules/data-tables/strategies/pagination/components.tsx +2 -2
- package/src/modules/data-tables/strategies/pagination/strategy.ts +2 -2
- package/src/modules/data-tables/tables/data-table/components/body.tsx +3 -3
- package/src/modules/data-tables/tables/data-table/components/header.tsx +1 -1
- package/src/modules/data-tables/tables/data-table/components/row.tsx +3 -3
- package/src/modules/data-tables/tables/data-table/components/table.tsx +2 -2
- package/src/modules/data-tables/tables/inline-table/components/body.tsx +5 -5
- package/src/modules/data-tables/tables/inline-table/components/cells/common.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +9 -5
- package/src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/components/header.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +5 -5
- package/src/modules/data-tables/tables/inline-table/components/table.tsx +3 -3
- package/src/modules/data-tables/tables/inline-table/hooks/context.client.tsx +2 -2
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +2 -2
- package/src/modules/inline-edit/components/combobox.client.tsx +2 -2
- package/src/modules/inline-edit/components/date-input.client.tsx +4 -4
- package/src/modules/inline-edit/components/date-picker.client.tsx +3 -3
- package/src/modules/inline-edit/components/date-time.client.tsx +40 -0
- package/src/modules/inline-edit/components/editor.client.tsx +3 -3
- package/src/modules/inline-edit/components/input-recipient.client.tsx +3 -3
- package/src/modules/inline-edit/components/input-toggle.client.tsx +3 -3
- package/src/modules/inline-edit/components/input.client.tsx +3 -3
- package/src/modules/inline-edit/components/select.client.tsx +8 -8
- package/src/modules/inline-edit/components/switch.client.tsx +1 -1
- package/src/modules/inline-edit/components/toggle.client.tsx +1 -1
- package/src/modules/inline-edit/entry.client.ts +12 -2
- package/src/modules/inline-edit/entry.server.ts +3 -0
- package/src/modules/inline-edit/entry.ts +3 -0
- package/src/modules/inline-edit/hooks/context.client.tsx +3 -2
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +5 -5
- package/src/modules/inline-edit/lib/validators.ts +1 -1
- package/src/modules/inline-edit/lib/variants.ts +1 -1
- package/src/modules/router/handler/caller.client.tsx +2 -2
- package/src/modules/router/handler/context.server.ts +4 -4
- package/src/modules/router/handler/init.server.ts +3 -3
- package/src/modules/router/handler/register.server.ts +3 -3
- package/src/modules/router/handler/route.server.ts +3 -3
- package/src/modules/router/lib/query-client.ts +0 -1
- package/src/modules/storage/components/dropzone-context.client.tsx +1 -1
- package/src/modules/storage/components/dropzone.client.tsx +3 -3
- package/src/modules/storage/components/image-grid.client.tsx +23 -19
- package/src/modules/storage/components/upload-button.client.tsx +2 -2
- package/src/modules/storage/components/upload-zone-context.client.tsx +2 -2
- package/src/modules/storage/components/upload-zone.client.tsx +5 -5
- package/src/modules/storage/config/filters.ts +1 -1
- package/src/modules/storage/entry.client.ts +3 -2
- package/src/modules/storage/lib/create-client.server.ts +2 -2
- package/src/modules/storage/lib/create-upload.client.ts +2 -2
- package/src/modules/storage/lib/helpers.ts +3 -3
- package/src/modules/storage/lib/proxy.server.ts +4 -4
- package/src/modules/storage/lib/router.server.ts +5 -5
- package/src/modules/storage/lib/schema.ts +2 -2
- package/src/modules/storage/lib/service.server.ts +21 -21
- package/src/modules/storage/lib/validators.ts +3 -3
- package/src/styles.css +1 -1
- package/dist/components/ui/time-input.client.d.mts +0 -16
- package/dist/components/ui/time-input.client.d.mts.map +0 -1
- package/dist/components/ui/time-input.client.mjs +0 -53
- package/dist/components/ui/time-input.client.mjs.map +0 -1
- package/dist/components/ui/time-picker-input.client.d.mts +0 -15
- package/dist/components/ui/time-picker-input.client.d.mts.map +0 -1
- package/dist/components/ui/time-picker-input.client.mjs +0 -64
- package/dist/components/ui/time-picker-input.client.mjs.map +0 -1
- package/dist/lib/utils/time-picker.d.mts +0 -6
- package/dist/lib/utils/time-picker.d.mts.map +0 -1
- package/dist/lib/utils/time-picker.mjs +0 -104
- package/dist/lib/utils/time-picker.mjs.map +0 -1
- package/src/components/ui/time-input.client.tsx +0 -56
- package/src/components/ui/time-picker-input.client.tsx +0 -107
- package/src/modules/auth/lib/utils.ts +0 -17
- package/src/modules/config/db/create-client.ts +0 -40
|
@@ -5,11 +5,11 @@ import { DatabaseClient } from "../../config/db/init.mjs";
|
|
|
5
5
|
import { EmailClient } from "../../config/providers/email.mjs";
|
|
6
6
|
import "../../../config/server.mjs";
|
|
7
7
|
import "../../../config.mjs";
|
|
8
|
-
import * as
|
|
8
|
+
import * as zod from "zod";
|
|
9
|
+
import * as _better_auth_passkey_client0 from "@better-auth/passkey/client";
|
|
9
10
|
import * as _better_auth_passkey0 from "@better-auth/passkey";
|
|
10
11
|
import * as better_auth_plugins0 from "better-auth/plugins";
|
|
11
12
|
import * as better_auth0 from "better-auth";
|
|
12
|
-
import * as _simplewebauthn_server0 from "@simplewebauthn/server";
|
|
13
13
|
|
|
14
14
|
//#region src/modules/auth/handler/init.d.ts
|
|
15
15
|
declare const authCookiePrefix = "tulip";
|
|
@@ -87,12 +87,12 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
}>)[];
|
|
90
|
-
query:
|
|
91
|
-
authenticatorAttachment:
|
|
90
|
+
query: zod.ZodOptional<zod.ZodObject<{
|
|
91
|
+
authenticatorAttachment: zod.ZodOptional<zod.ZodEnum<{
|
|
92
92
|
platform: "platform";
|
|
93
93
|
"cross-platform": "cross-platform";
|
|
94
94
|
}>>;
|
|
95
|
-
name:
|
|
95
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
96
96
|
}, better_auth0.$strip>>;
|
|
97
97
|
metadata: {
|
|
98
98
|
openapi: {
|
|
@@ -211,9 +211,7 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
}
|
|
215
|
-
use: any[];
|
|
216
|
-
}, _simplewebauthn_server0.PublicKeyCredentialCreationOptionsJSON>;
|
|
214
|
+
}, _better_auth_passkey_client0.PublicKeyCredentialCreationOptionsJSON>;
|
|
217
215
|
generatePasskeyAuthenticationOptions: better_auth0.StrictEndpoint<"/passkey/generate-authenticate-options", {
|
|
218
216
|
method: "GET";
|
|
219
217
|
metadata: {
|
|
@@ -307,14 +305,12 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
307
305
|
};
|
|
308
306
|
};
|
|
309
307
|
};
|
|
310
|
-
}
|
|
311
|
-
use: any[];
|
|
312
|
-
}, _simplewebauthn_server0.PublicKeyCredentialRequestOptionsJSON>;
|
|
308
|
+
}, _better_auth_passkey_client0.PublicKeyCredentialRequestOptionsJSON>;
|
|
313
309
|
verifyPasskeyRegistration: better_auth0.StrictEndpoint<"/passkey/verify-registration", {
|
|
314
310
|
method: "POST";
|
|
315
|
-
body:
|
|
316
|
-
response:
|
|
317
|
-
name:
|
|
311
|
+
body: zod.ZodObject<{
|
|
312
|
+
response: zod.ZodAny;
|
|
313
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
318
314
|
}, better_auth0.$strip>;
|
|
319
315
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
320
316
|
session: {
|
|
@@ -360,13 +356,11 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
360
356
|
};
|
|
361
357
|
};
|
|
362
358
|
};
|
|
363
|
-
} & {
|
|
364
|
-
use: any[];
|
|
365
359
|
}, _better_auth_passkey0.Passkey | null>;
|
|
366
360
|
verifyPasskeyAuthentication: better_auth0.StrictEndpoint<"/passkey/verify-authentication", {
|
|
367
361
|
method: "POST";
|
|
368
|
-
body:
|
|
369
|
-
response:
|
|
362
|
+
body: zod.ZodObject<{
|
|
363
|
+
response: zod.ZodRecord<zod.ZodAny, zod.ZodAny>;
|
|
370
364
|
}, better_auth0.$strip>;
|
|
371
365
|
metadata: {
|
|
372
366
|
openapi: {
|
|
@@ -395,12 +389,10 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
395
389
|
};
|
|
396
390
|
$Infer: {
|
|
397
391
|
body: {
|
|
398
|
-
response:
|
|
392
|
+
response: _better_auth_passkey_client0.AuthenticationResponseJSON;
|
|
399
393
|
};
|
|
400
394
|
};
|
|
401
395
|
};
|
|
402
|
-
} & {
|
|
403
|
-
use: any[];
|
|
404
396
|
}, {
|
|
405
397
|
session: {
|
|
406
398
|
id: string;
|
|
@@ -460,13 +452,11 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
460
452
|
};
|
|
461
453
|
};
|
|
462
454
|
};
|
|
463
|
-
} & {
|
|
464
|
-
use: any[];
|
|
465
455
|
}, _better_auth_passkey0.Passkey[]>;
|
|
466
456
|
deletePasskey: better_auth0.StrictEndpoint<"/passkey/delete-passkey", {
|
|
467
457
|
method: "POST";
|
|
468
|
-
body:
|
|
469
|
-
id:
|
|
458
|
+
body: zod.ZodObject<{
|
|
459
|
+
id: zod.ZodString;
|
|
470
460
|
}, better_auth0.$strip>;
|
|
471
461
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
472
462
|
session: {
|
|
@@ -515,16 +505,14 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
515
505
|
};
|
|
516
506
|
};
|
|
517
507
|
};
|
|
518
|
-
} & {
|
|
519
|
-
use: any[];
|
|
520
508
|
}, {
|
|
521
509
|
status: boolean;
|
|
522
510
|
}>;
|
|
523
511
|
updatePasskey: better_auth0.StrictEndpoint<"/passkey/update-passkey", {
|
|
524
512
|
method: "POST";
|
|
525
|
-
body:
|
|
526
|
-
id:
|
|
527
|
-
name:
|
|
513
|
+
body: zod.ZodObject<{
|
|
514
|
+
id: zod.ZodString;
|
|
515
|
+
name: zod.ZodString;
|
|
528
516
|
}, better_auth0.$strip>;
|
|
529
517
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
530
518
|
session: {
|
|
@@ -572,8 +560,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
572
560
|
};
|
|
573
561
|
};
|
|
574
562
|
};
|
|
575
|
-
} & {
|
|
576
|
-
use: any[];
|
|
577
563
|
}, {
|
|
578
564
|
passkey: _better_auth_passkey0.Passkey;
|
|
579
565
|
}>;
|
|
@@ -639,6 +625,7 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
639
625
|
readonly UNABLE_TO_CREATE_SESSION: "Unable to create session";
|
|
640
626
|
readonly FAILED_TO_UPDATE_PASSKEY: "Failed to update passkey";
|
|
641
627
|
};
|
|
628
|
+
options: _better_auth_passkey0.PasskeyOptions | undefined;
|
|
642
629
|
}, {
|
|
643
630
|
id: "admin";
|
|
644
631
|
init(): {
|
|
@@ -679,7 +666,7 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
679
666
|
token: string;
|
|
680
667
|
ipAddress?: string | null | undefined;
|
|
681
668
|
userAgent?: string | null | undefined;
|
|
682
|
-
} & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext |
|
|
669
|
+
} & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext | null): Promise<void>;
|
|
683
670
|
};
|
|
684
671
|
};
|
|
685
672
|
};
|
|
@@ -694,9 +681,9 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
694
681
|
endpoints: {
|
|
695
682
|
setRole: better_auth0.StrictEndpoint<"/admin/set-role", {
|
|
696
683
|
method: "POST";
|
|
697
|
-
body:
|
|
698
|
-
userId:
|
|
699
|
-
role:
|
|
684
|
+
body: zod.ZodObject<{
|
|
685
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
686
|
+
role: zod.ZodUnion<readonly [zod.ZodString, zod.ZodArray<zod.ZodString>]>;
|
|
700
687
|
}, better_auth0.$strip>;
|
|
701
688
|
requireHeaders: true;
|
|
702
689
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
@@ -735,15 +722,13 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
735
722
|
};
|
|
736
723
|
};
|
|
737
724
|
};
|
|
738
|
-
} & {
|
|
739
|
-
use: any[];
|
|
740
725
|
}, {
|
|
741
726
|
user: better_auth_plugins0.UserWithRole;
|
|
742
727
|
}>;
|
|
743
728
|
getUser: better_auth0.StrictEndpoint<"/admin/get-user", {
|
|
744
729
|
method: "GET";
|
|
745
|
-
query:
|
|
746
|
-
id:
|
|
730
|
+
query: zod.ZodObject<{
|
|
731
|
+
id: zod.ZodString;
|
|
747
732
|
}, better_auth0.$strip>;
|
|
748
733
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
749
734
|
session: {
|
|
@@ -775,25 +760,15 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
775
760
|
};
|
|
776
761
|
};
|
|
777
762
|
};
|
|
778
|
-
}
|
|
779
|
-
use: any[];
|
|
780
|
-
}, {
|
|
781
|
-
id: string;
|
|
782
|
-
createdAt: Date;
|
|
783
|
-
updatedAt: Date;
|
|
784
|
-
email: string;
|
|
785
|
-
emailVerified: boolean;
|
|
786
|
-
name: string;
|
|
787
|
-
image?: string | null | undefined;
|
|
788
|
-
}>;
|
|
763
|
+
}, better_auth_plugins0.UserWithRole>;
|
|
789
764
|
createUser: better_auth0.StrictEndpoint<"/admin/create-user", {
|
|
790
765
|
method: "POST";
|
|
791
|
-
body:
|
|
792
|
-
email:
|
|
793
|
-
password:
|
|
794
|
-
name:
|
|
795
|
-
role:
|
|
796
|
-
data:
|
|
766
|
+
body: zod.ZodObject<{
|
|
767
|
+
email: zod.ZodString;
|
|
768
|
+
password: zod.ZodOptional<zod.ZodString>;
|
|
769
|
+
name: zod.ZodString;
|
|
770
|
+
role: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodArray<zod.ZodString>]>>;
|
|
771
|
+
data: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
797
772
|
}, better_auth0.$strip>;
|
|
798
773
|
metadata: {
|
|
799
774
|
openapi: {
|
|
@@ -821,23 +796,21 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
821
796
|
$Infer: {
|
|
822
797
|
body: {
|
|
823
798
|
email: string;
|
|
824
|
-
password
|
|
799
|
+
password?: string | undefined;
|
|
825
800
|
name: string;
|
|
826
801
|
role?: string | string[] | undefined;
|
|
827
802
|
data?: Record<string, any> | undefined;
|
|
828
803
|
};
|
|
829
804
|
};
|
|
830
805
|
};
|
|
831
|
-
} & {
|
|
832
|
-
use: any[];
|
|
833
806
|
}, {
|
|
834
807
|
user: better_auth_plugins0.UserWithRole;
|
|
835
808
|
}>;
|
|
836
809
|
adminUpdateUser: better_auth0.StrictEndpoint<"/admin/update-user", {
|
|
837
810
|
method: "POST";
|
|
838
|
-
body:
|
|
839
|
-
userId:
|
|
840
|
-
data:
|
|
811
|
+
body: zod.ZodObject<{
|
|
812
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
813
|
+
data: zod.ZodRecord<zod.ZodAny, zod.ZodAny>;
|
|
841
814
|
}, better_auth0.$strip>;
|
|
842
815
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
843
816
|
session: {
|
|
@@ -869,8 +842,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
869
842
|
};
|
|
870
843
|
};
|
|
871
844
|
};
|
|
872
|
-
} & {
|
|
873
|
-
use: any[];
|
|
874
845
|
}, better_auth_plugins0.UserWithRole>;
|
|
875
846
|
listUsers: better_auth0.StrictEndpoint<"/admin/list-users", {
|
|
876
847
|
method: "GET";
|
|
@@ -880,27 +851,27 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
880
851
|
session: better_auth0.Session;
|
|
881
852
|
};
|
|
882
853
|
}>)[];
|
|
883
|
-
query:
|
|
884
|
-
searchValue:
|
|
885
|
-
searchField:
|
|
854
|
+
query: zod.ZodObject<{
|
|
855
|
+
searchValue: zod.ZodOptional<zod.ZodString>;
|
|
856
|
+
searchField: zod.ZodOptional<zod.ZodEnum<{
|
|
886
857
|
name: "name";
|
|
887
858
|
email: "email";
|
|
888
859
|
}>>;
|
|
889
|
-
searchOperator:
|
|
860
|
+
searchOperator: zod.ZodOptional<zod.ZodEnum<{
|
|
890
861
|
contains: "contains";
|
|
891
862
|
starts_with: "starts_with";
|
|
892
863
|
ends_with: "ends_with";
|
|
893
864
|
}>>;
|
|
894
|
-
limit:
|
|
895
|
-
offset:
|
|
896
|
-
sortBy:
|
|
897
|
-
sortDirection:
|
|
865
|
+
limit: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>>;
|
|
866
|
+
offset: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>>;
|
|
867
|
+
sortBy: zod.ZodOptional<zod.ZodString>;
|
|
868
|
+
sortDirection: zod.ZodOptional<zod.ZodEnum<{
|
|
898
869
|
asc: "asc";
|
|
899
870
|
desc: "desc";
|
|
900
871
|
}>>;
|
|
901
|
-
filterField:
|
|
902
|
-
filterValue:
|
|
903
|
-
filterOperator:
|
|
872
|
+
filterField: zod.ZodOptional<zod.ZodString>;
|
|
873
|
+
filterValue: zod.ZodOptional<zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, zod.ZodBoolean]>>;
|
|
874
|
+
filterOperator: zod.ZodOptional<zod.ZodEnum<{
|
|
904
875
|
eq: "eq";
|
|
905
876
|
ne: "ne";
|
|
906
877
|
lt: "lt";
|
|
@@ -947,8 +918,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
947
918
|
};
|
|
948
919
|
};
|
|
949
920
|
};
|
|
950
|
-
} & {
|
|
951
|
-
use: any[];
|
|
952
921
|
}, {
|
|
953
922
|
users: better_auth_plugins0.UserWithRole[];
|
|
954
923
|
total: number;
|
|
@@ -966,8 +935,8 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
966
935
|
session: better_auth0.Session;
|
|
967
936
|
};
|
|
968
937
|
}>)[];
|
|
969
|
-
body:
|
|
970
|
-
userId:
|
|
938
|
+
body: zod.ZodObject<{
|
|
939
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
971
940
|
}, better_auth0.$strip>;
|
|
972
941
|
metadata: {
|
|
973
942
|
openapi: {
|
|
@@ -996,15 +965,13 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
996
965
|
};
|
|
997
966
|
};
|
|
998
967
|
};
|
|
999
|
-
} & {
|
|
1000
|
-
use: any[];
|
|
1001
968
|
}, {
|
|
1002
969
|
sessions: better_auth_plugins0.SessionWithImpersonatedBy[];
|
|
1003
970
|
}>;
|
|
1004
971
|
unbanUser: better_auth0.StrictEndpoint<"/admin/unban-user", {
|
|
1005
972
|
method: "POST";
|
|
1006
|
-
body:
|
|
1007
|
-
userId:
|
|
973
|
+
body: zod.ZodObject<{
|
|
974
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
1008
975
|
}, better_auth0.$strip>;
|
|
1009
976
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1010
977
|
session: {
|
|
@@ -1036,25 +1003,15 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1036
1003
|
};
|
|
1037
1004
|
};
|
|
1038
1005
|
};
|
|
1039
|
-
} & {
|
|
1040
|
-
use: any[];
|
|
1041
1006
|
}, {
|
|
1042
|
-
user:
|
|
1043
|
-
id: string;
|
|
1044
|
-
createdAt: Date;
|
|
1045
|
-
updatedAt: Date;
|
|
1046
|
-
email: string;
|
|
1047
|
-
emailVerified: boolean;
|
|
1048
|
-
name: string;
|
|
1049
|
-
image?: string | null | undefined;
|
|
1050
|
-
} & Record<string, any>;
|
|
1007
|
+
user: better_auth_plugins0.UserWithRole;
|
|
1051
1008
|
}>;
|
|
1052
1009
|
banUser: better_auth0.StrictEndpoint<"/admin/ban-user", {
|
|
1053
1010
|
method: "POST";
|
|
1054
|
-
body:
|
|
1055
|
-
userId:
|
|
1056
|
-
banReason:
|
|
1057
|
-
banExpiresIn:
|
|
1011
|
+
body: zod.ZodObject<{
|
|
1012
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
1013
|
+
banReason: zod.ZodOptional<zod.ZodString>;
|
|
1014
|
+
banExpiresIn: zod.ZodOptional<zod.ZodNumber>;
|
|
1058
1015
|
}, better_auth0.$strip>;
|
|
1059
1016
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1060
1017
|
session: {
|
|
@@ -1086,23 +1043,13 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1086
1043
|
};
|
|
1087
1044
|
};
|
|
1088
1045
|
};
|
|
1089
|
-
} & {
|
|
1090
|
-
use: any[];
|
|
1091
1046
|
}, {
|
|
1092
|
-
user:
|
|
1093
|
-
id: string;
|
|
1094
|
-
createdAt: Date;
|
|
1095
|
-
updatedAt: Date;
|
|
1096
|
-
email: string;
|
|
1097
|
-
emailVerified: boolean;
|
|
1098
|
-
name: string;
|
|
1099
|
-
image?: string | null | undefined;
|
|
1100
|
-
} & Record<string, any>;
|
|
1047
|
+
user: better_auth_plugins0.UserWithRole;
|
|
1101
1048
|
}>;
|
|
1102
1049
|
impersonateUser: better_auth0.StrictEndpoint<"/admin/impersonate-user", {
|
|
1103
1050
|
method: "POST";
|
|
1104
|
-
body:
|
|
1105
|
-
userId:
|
|
1051
|
+
body: zod.ZodObject<{
|
|
1052
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
1106
1053
|
}, better_auth0.$strip>;
|
|
1107
1054
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1108
1055
|
session: {
|
|
@@ -1137,8 +1084,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1137
1084
|
};
|
|
1138
1085
|
};
|
|
1139
1086
|
};
|
|
1140
|
-
} & {
|
|
1141
|
-
use: any[];
|
|
1142
1087
|
}, {
|
|
1143
1088
|
session: {
|
|
1144
1089
|
id: string;
|
|
@@ -1150,6 +1095,22 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1150
1095
|
ipAddress?: string | null | undefined;
|
|
1151
1096
|
userAgent?: string | null | undefined;
|
|
1152
1097
|
};
|
|
1098
|
+
user: better_auth_plugins0.UserWithRole;
|
|
1099
|
+
}>;
|
|
1100
|
+
stopImpersonating: better_auth0.StrictEndpoint<"/admin/stop-impersonating", {
|
|
1101
|
+
method: "POST";
|
|
1102
|
+
requireHeaders: true;
|
|
1103
|
+
}, {
|
|
1104
|
+
session: {
|
|
1105
|
+
id: string;
|
|
1106
|
+
createdAt: Date;
|
|
1107
|
+
updatedAt: Date;
|
|
1108
|
+
userId: string;
|
|
1109
|
+
expiresAt: Date;
|
|
1110
|
+
token: string;
|
|
1111
|
+
ipAddress?: string | null | undefined;
|
|
1112
|
+
userAgent?: string | null | undefined;
|
|
1113
|
+
} & Record<string, any>;
|
|
1153
1114
|
user: {
|
|
1154
1115
|
id: string;
|
|
1155
1116
|
createdAt: Date;
|
|
@@ -1158,21 +1119,12 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1158
1119
|
emailVerified: boolean;
|
|
1159
1120
|
name: string;
|
|
1160
1121
|
image?: string | null | undefined;
|
|
1161
|
-
}
|
|
1162
|
-
}>;
|
|
1163
|
-
stopImpersonating: better_auth0.StrictEndpoint<"/admin/stop-impersonating", {
|
|
1164
|
-
method: "POST";
|
|
1165
|
-
requireHeaders: true;
|
|
1166
|
-
} & {
|
|
1167
|
-
use: any[];
|
|
1168
|
-
}, {
|
|
1169
|
-
session: better_auth0.Session & Record<string, any>;
|
|
1170
|
-
user: better_auth0.User & Record<string, any>;
|
|
1122
|
+
} & Record<string, any>;
|
|
1171
1123
|
}>;
|
|
1172
1124
|
revokeUserSession: better_auth0.StrictEndpoint<"/admin/revoke-user-session", {
|
|
1173
1125
|
method: "POST";
|
|
1174
|
-
body:
|
|
1175
|
-
sessionToken:
|
|
1126
|
+
body: zod.ZodObject<{
|
|
1127
|
+
sessionToken: zod.ZodString;
|
|
1176
1128
|
}, better_auth0.$strip>;
|
|
1177
1129
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1178
1130
|
session: {
|
|
@@ -1204,15 +1156,13 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1204
1156
|
};
|
|
1205
1157
|
};
|
|
1206
1158
|
};
|
|
1207
|
-
} & {
|
|
1208
|
-
use: any[];
|
|
1209
1159
|
}, {
|
|
1210
1160
|
success: boolean;
|
|
1211
1161
|
}>;
|
|
1212
1162
|
revokeUserSessions: better_auth0.StrictEndpoint<"/admin/revoke-user-sessions", {
|
|
1213
1163
|
method: "POST";
|
|
1214
|
-
body:
|
|
1215
|
-
userId:
|
|
1164
|
+
body: zod.ZodObject<{
|
|
1165
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
1216
1166
|
}, better_auth0.$strip>;
|
|
1217
1167
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1218
1168
|
session: {
|
|
@@ -1244,15 +1194,13 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1244
1194
|
};
|
|
1245
1195
|
};
|
|
1246
1196
|
};
|
|
1247
|
-
} & {
|
|
1248
|
-
use: any[];
|
|
1249
1197
|
}, {
|
|
1250
1198
|
success: boolean;
|
|
1251
1199
|
}>;
|
|
1252
1200
|
removeUser: better_auth0.StrictEndpoint<"/admin/remove-user", {
|
|
1253
1201
|
method: "POST";
|
|
1254
|
-
body:
|
|
1255
|
-
userId:
|
|
1202
|
+
body: zod.ZodObject<{
|
|
1203
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
1256
1204
|
}, better_auth0.$strip>;
|
|
1257
1205
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1258
1206
|
session: {
|
|
@@ -1284,16 +1232,14 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1284
1232
|
};
|
|
1285
1233
|
};
|
|
1286
1234
|
};
|
|
1287
|
-
} & {
|
|
1288
|
-
use: any[];
|
|
1289
1235
|
}, {
|
|
1290
1236
|
success: boolean;
|
|
1291
1237
|
}>;
|
|
1292
1238
|
setUserPassword: better_auth0.StrictEndpoint<"/admin/set-user-password", {
|
|
1293
1239
|
method: "POST";
|
|
1294
|
-
body:
|
|
1295
|
-
newPassword:
|
|
1296
|
-
userId:
|
|
1240
|
+
body: zod.ZodObject<{
|
|
1241
|
+
newPassword: zod.ZodString;
|
|
1242
|
+
userId: zod.ZodCoercedString<unknown>;
|
|
1297
1243
|
}, better_auth0.$strip>;
|
|
1298
1244
|
use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
|
|
1299
1245
|
session: {
|
|
@@ -1325,22 +1271,20 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1325
1271
|
};
|
|
1326
1272
|
};
|
|
1327
1273
|
};
|
|
1328
|
-
} & {
|
|
1329
|
-
use: any[];
|
|
1330
1274
|
}, {
|
|
1331
1275
|
status: boolean;
|
|
1332
1276
|
}>;
|
|
1333
1277
|
userHasPermission: better_auth0.StrictEndpoint<"/admin/has-permission", {
|
|
1334
1278
|
method: "POST";
|
|
1335
|
-
body:
|
|
1336
|
-
userId:
|
|
1337
|
-
role:
|
|
1338
|
-
}, better_auth0.$strip>,
|
|
1339
|
-
permission:
|
|
1340
|
-
permissions:
|
|
1341
|
-
}, better_auth0.$strip>,
|
|
1342
|
-
permission:
|
|
1343
|
-
permissions:
|
|
1279
|
+
body: zod.ZodIntersection<zod.ZodObject<{
|
|
1280
|
+
userId: zod.ZodOptional<zod.ZodCoercedString<unknown>>;
|
|
1281
|
+
role: zod.ZodOptional<zod.ZodString>;
|
|
1282
|
+
}, better_auth0.$strip>, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
1283
|
+
permission: zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString>>;
|
|
1284
|
+
permissions: zod.ZodUndefined;
|
|
1285
|
+
}, better_auth0.$strip>, zod.ZodObject<{
|
|
1286
|
+
permission: zod.ZodUndefined;
|
|
1287
|
+
permissions: zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString>>;
|
|
1344
1288
|
}, better_auth0.$strip>]>>;
|
|
1345
1289
|
metadata: {
|
|
1346
1290
|
openapi: {
|
|
@@ -1405,8 +1349,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1405
1349
|
};
|
|
1406
1350
|
};
|
|
1407
1351
|
};
|
|
1408
|
-
} & {
|
|
1409
|
-
use: any[];
|
|
1410
1352
|
}, {
|
|
1411
1353
|
error: null;
|
|
1412
1354
|
success: boolean;
|
|
@@ -1432,6 +1374,8 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1432
1374
|
readonly YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS: "You are not allowed to update users";
|
|
1433
1375
|
readonly YOU_CANNOT_REMOVE_YOURSELF: "You cannot remove yourself";
|
|
1434
1376
|
readonly YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE: "You are not allowed to set a non-existent role value";
|
|
1377
|
+
readonly YOU_CANNOT_IMPERSONATE_ADMINS: "You cannot impersonate admins";
|
|
1378
|
+
readonly INVALID_ROLE_TYPE: "Invalid role type";
|
|
1435
1379
|
};
|
|
1436
1380
|
schema: {
|
|
1437
1381
|
user: {
|
|
@@ -1468,7 +1412,22 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1468
1412
|
};
|
|
1469
1413
|
};
|
|
1470
1414
|
};
|
|
1471
|
-
options:
|
|
1415
|
+
options: NoInfer<{
|
|
1416
|
+
roles: {
|
|
1417
|
+
[x: string]: Role$1 | undefined;
|
|
1418
|
+
};
|
|
1419
|
+
ac: {
|
|
1420
|
+
newRole<K extends string | number>(statements: better_auth_plugins0.Subset<K, better_auth_plugins0.Statements>): {
|
|
1421
|
+
authorize<K_1 extends K>(request: K_1 extends infer T extends K_2 ? { [key in T]?: better_auth_plugins0.Subset<K, better_auth_plugins0.Statements>[key] | {
|
|
1422
|
+
actions: better_auth_plugins0.Subset<K, better_auth_plugins0.Statements>[key];
|
|
1423
|
+
connector: "OR" | "AND";
|
|
1424
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1425
|
+
statements: better_auth_plugins0.Subset<K, better_auth_plugins0.Statements>;
|
|
1426
|
+
};
|
|
1427
|
+
statements: better_auth_plugins0.Statements;
|
|
1428
|
+
};
|
|
1429
|
+
adminRoles: string[];
|
|
1430
|
+
}>;
|
|
1472
1431
|
}, {
|
|
1473
1432
|
id: "email-otp";
|
|
1474
1433
|
init(ctx: better_auth0.AuthContext): {
|
|
@@ -1483,18 +1442,53 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1483
1442
|
};
|
|
1484
1443
|
} | undefined;
|
|
1485
1444
|
endpoints: {
|
|
1486
|
-
|
|
1445
|
+
sendVerificationOTP: better_auth0.StrictEndpoint<"/email-otp/send-verification-otp", {
|
|
1446
|
+
method: "POST";
|
|
1447
|
+
body: zod.ZodObject<{
|
|
1448
|
+
email: zod.ZodString;
|
|
1449
|
+
type: zod.ZodEnum<{
|
|
1450
|
+
"sign-in": "sign-in";
|
|
1451
|
+
"email-verification": "email-verification";
|
|
1452
|
+
"forget-password": "forget-password";
|
|
1453
|
+
}>;
|
|
1454
|
+
}, better_auth0.$strip>;
|
|
1455
|
+
metadata: {
|
|
1456
|
+
openapi: {
|
|
1457
|
+
operationId: string;
|
|
1458
|
+
description: string;
|
|
1459
|
+
responses: {
|
|
1460
|
+
200: {
|
|
1461
|
+
description: string;
|
|
1462
|
+
content: {
|
|
1463
|
+
"application/json": {
|
|
1464
|
+
schema: {
|
|
1465
|
+
type: "object";
|
|
1466
|
+
properties: {
|
|
1467
|
+
success: {
|
|
1468
|
+
type: string;
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
}, {
|
|
1479
|
+
success: boolean;
|
|
1480
|
+
}>;
|
|
1481
|
+
createVerificationOTP: better_auth0.StrictEndpoint<string, {
|
|
1487
1482
|
method: "POST";
|
|
1488
|
-
body:
|
|
1489
|
-
email:
|
|
1490
|
-
type:
|
|
1483
|
+
body: zod.ZodObject<{
|
|
1484
|
+
email: zod.ZodString;
|
|
1485
|
+
type: zod.ZodEnum<{
|
|
1491
1486
|
"sign-in": "sign-in";
|
|
1492
1487
|
"email-verification": "email-verification";
|
|
1493
1488
|
"forget-password": "forget-password";
|
|
1494
1489
|
}>;
|
|
1495
1490
|
}, better_auth0.$strip>;
|
|
1496
1491
|
metadata: {
|
|
1497
|
-
SERVER_ONLY: true;
|
|
1498
1492
|
openapi: {
|
|
1499
1493
|
operationId: string;
|
|
1500
1494
|
description: string;
|
|
@@ -1512,21 +1506,18 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1512
1506
|
};
|
|
1513
1507
|
};
|
|
1514
1508
|
};
|
|
1515
|
-
} & {
|
|
1516
|
-
use: any[];
|
|
1517
1509
|
}, string>;
|
|
1518
|
-
getVerificationOTP: better_auth0.StrictEndpoint<
|
|
1510
|
+
getVerificationOTP: better_auth0.StrictEndpoint<string, {
|
|
1519
1511
|
method: "GET";
|
|
1520
|
-
query:
|
|
1521
|
-
email:
|
|
1522
|
-
type:
|
|
1512
|
+
query: zod.ZodObject<{
|
|
1513
|
+
email: zod.ZodString;
|
|
1514
|
+
type: zod.ZodEnum<{
|
|
1523
1515
|
"sign-in": "sign-in";
|
|
1524
1516
|
"email-verification": "email-verification";
|
|
1525
1517
|
"forget-password": "forget-password";
|
|
1526
1518
|
}>;
|
|
1527
1519
|
}, better_auth0.$strip>;
|
|
1528
1520
|
metadata: {
|
|
1529
|
-
SERVER_ONLY: true;
|
|
1530
1521
|
openapi: {
|
|
1531
1522
|
operationId: string;
|
|
1532
1523
|
description: string;
|
|
@@ -1552,8 +1543,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1552
1543
|
};
|
|
1553
1544
|
};
|
|
1554
1545
|
};
|
|
1555
|
-
} & {
|
|
1556
|
-
use: any[];
|
|
1557
1546
|
}, {
|
|
1558
1547
|
otp: null;
|
|
1559
1548
|
} | {
|
|
@@ -1561,14 +1550,14 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1561
1550
|
}>;
|
|
1562
1551
|
checkVerificationOTP: better_auth0.StrictEndpoint<"/email-otp/check-verification-otp", {
|
|
1563
1552
|
method: "POST";
|
|
1564
|
-
body:
|
|
1565
|
-
email:
|
|
1566
|
-
type:
|
|
1553
|
+
body: zod.ZodObject<{
|
|
1554
|
+
email: zod.ZodString;
|
|
1555
|
+
type: zod.ZodEnum<{
|
|
1567
1556
|
"sign-in": "sign-in";
|
|
1568
1557
|
"email-verification": "email-verification";
|
|
1569
1558
|
"forget-password": "forget-password";
|
|
1570
1559
|
}>;
|
|
1571
|
-
otp:
|
|
1560
|
+
otp: zod.ZodString;
|
|
1572
1561
|
}, better_auth0.$strip>;
|
|
1573
1562
|
metadata: {
|
|
1574
1563
|
openapi: {
|
|
@@ -1593,16 +1582,14 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1593
1582
|
};
|
|
1594
1583
|
};
|
|
1595
1584
|
};
|
|
1596
|
-
} & {
|
|
1597
|
-
use: any[];
|
|
1598
1585
|
}, {
|
|
1599
1586
|
success: boolean;
|
|
1600
1587
|
}>;
|
|
1601
1588
|
verifyEmailOTP: better_auth0.StrictEndpoint<"/email-otp/verify-email", {
|
|
1602
1589
|
method: "POST";
|
|
1603
|
-
body:
|
|
1604
|
-
email:
|
|
1605
|
-
otp:
|
|
1590
|
+
body: zod.ZodObject<{
|
|
1591
|
+
email: zod.ZodString;
|
|
1592
|
+
otp: zod.ZodString;
|
|
1606
1593
|
}, better_auth0.$strip>;
|
|
1607
1594
|
metadata: {
|
|
1608
1595
|
openapi: {
|
|
@@ -1637,38 +1624,36 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1637
1624
|
};
|
|
1638
1625
|
};
|
|
1639
1626
|
};
|
|
1640
|
-
} & {
|
|
1641
|
-
use: any[];
|
|
1642
1627
|
}, {
|
|
1643
1628
|
status: boolean;
|
|
1644
1629
|
token: string;
|
|
1645
1630
|
user: {
|
|
1646
1631
|
id: string;
|
|
1632
|
+
createdAt: Date;
|
|
1633
|
+
updatedAt: Date;
|
|
1647
1634
|
email: string;
|
|
1648
1635
|
emailVerified: boolean;
|
|
1649
1636
|
name: string;
|
|
1650
|
-
image
|
|
1651
|
-
|
|
1652
|
-
updatedAt: Date;
|
|
1653
|
-
};
|
|
1637
|
+
image?: string | null | undefined;
|
|
1638
|
+
} & Record<string, any>;
|
|
1654
1639
|
} | {
|
|
1655
1640
|
status: boolean;
|
|
1656
1641
|
token: null;
|
|
1657
1642
|
user: {
|
|
1658
1643
|
id: string;
|
|
1644
|
+
createdAt: Date;
|
|
1645
|
+
updatedAt: Date;
|
|
1659
1646
|
email: string;
|
|
1660
1647
|
emailVerified: boolean;
|
|
1661
1648
|
name: string;
|
|
1662
|
-
image
|
|
1663
|
-
|
|
1664
|
-
updatedAt: Date;
|
|
1665
|
-
};
|
|
1649
|
+
image?: string | null | undefined;
|
|
1650
|
+
} & Record<string, any>;
|
|
1666
1651
|
}>;
|
|
1667
1652
|
signInEmailOTP: better_auth0.StrictEndpoint<"/sign-in/email-otp", {
|
|
1668
1653
|
method: "POST";
|
|
1669
|
-
body:
|
|
1670
|
-
email:
|
|
1671
|
-
otp:
|
|
1654
|
+
body: zod.ZodObject<{
|
|
1655
|
+
email: zod.ZodString;
|
|
1656
|
+
otp: zod.ZodString;
|
|
1672
1657
|
}, better_auth0.$strip>;
|
|
1673
1658
|
metadata: {
|
|
1674
1659
|
openapi: {
|
|
@@ -1698,24 +1683,22 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1698
1683
|
};
|
|
1699
1684
|
};
|
|
1700
1685
|
};
|
|
1701
|
-
} & {
|
|
1702
|
-
use: any[];
|
|
1703
1686
|
}, {
|
|
1704
1687
|
token: string;
|
|
1705
1688
|
user: {
|
|
1706
1689
|
id: string;
|
|
1690
|
+
createdAt: Date;
|
|
1691
|
+
updatedAt: Date;
|
|
1707
1692
|
email: string;
|
|
1708
1693
|
emailVerified: boolean;
|
|
1709
1694
|
name: string;
|
|
1710
|
-
image
|
|
1711
|
-
createdAt: Date;
|
|
1712
|
-
updatedAt: Date;
|
|
1695
|
+
image?: string | null | undefined;
|
|
1713
1696
|
};
|
|
1714
1697
|
}>;
|
|
1715
|
-
|
|
1698
|
+
requestPasswordResetEmailOTP: better_auth0.StrictEndpoint<"/email-otp/request-password-reset", {
|
|
1716
1699
|
method: "POST";
|
|
1717
|
-
body:
|
|
1718
|
-
email:
|
|
1700
|
+
body: zod.ZodObject<{
|
|
1701
|
+
email: zod.ZodString;
|
|
1719
1702
|
}, better_auth0.$strip>;
|
|
1720
1703
|
metadata: {
|
|
1721
1704
|
openapi: {
|
|
@@ -1741,17 +1724,13 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1741
1724
|
};
|
|
1742
1725
|
};
|
|
1743
1726
|
};
|
|
1744
|
-
} & {
|
|
1745
|
-
use: any[];
|
|
1746
1727
|
}, {
|
|
1747
1728
|
success: boolean;
|
|
1748
1729
|
}>;
|
|
1749
|
-
|
|
1730
|
+
forgetPasswordEmailOTP: better_auth0.StrictEndpoint<"/forget-password/email-otp", {
|
|
1750
1731
|
method: "POST";
|
|
1751
|
-
body:
|
|
1752
|
-
email:
|
|
1753
|
-
otp: zod0.ZodString;
|
|
1754
|
-
password: zod0.ZodString;
|
|
1732
|
+
body: zod.ZodObject<{
|
|
1733
|
+
email: zod.ZodString;
|
|
1755
1734
|
}, better_auth0.$strip>;
|
|
1756
1735
|
metadata: {
|
|
1757
1736
|
openapi: {
|
|
@@ -1760,13 +1739,14 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1760
1739
|
responses: {
|
|
1761
1740
|
200: {
|
|
1762
1741
|
description: string;
|
|
1763
|
-
|
|
1742
|
+
content: {
|
|
1764
1743
|
"application/json": {
|
|
1765
1744
|
schema: {
|
|
1766
|
-
type:
|
|
1745
|
+
type: "object";
|
|
1767
1746
|
properties: {
|
|
1768
1747
|
success: {
|
|
1769
1748
|
type: string;
|
|
1749
|
+
description: string;
|
|
1770
1750
|
};
|
|
1771
1751
|
};
|
|
1772
1752
|
};
|
|
@@ -1776,20 +1756,15 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1776
1756
|
};
|
|
1777
1757
|
};
|
|
1778
1758
|
};
|
|
1779
|
-
} & {
|
|
1780
|
-
use: any[];
|
|
1781
1759
|
}, {
|
|
1782
1760
|
success: boolean;
|
|
1783
1761
|
}>;
|
|
1784
|
-
|
|
1762
|
+
resetPasswordEmailOTP: better_auth0.StrictEndpoint<"/email-otp/reset-password", {
|
|
1785
1763
|
method: "POST";
|
|
1786
|
-
body:
|
|
1787
|
-
email:
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
"email-verification": "email-verification";
|
|
1791
|
-
"forget-password": "forget-password";
|
|
1792
|
-
}>;
|
|
1764
|
+
body: zod.ZodObject<{
|
|
1765
|
+
email: zod.ZodString;
|
|
1766
|
+
otp: zod.ZodString;
|
|
1767
|
+
password: zod.ZodString;
|
|
1793
1768
|
}, better_auth0.$strip>;
|
|
1794
1769
|
metadata: {
|
|
1795
1770
|
openapi: {
|
|
@@ -1798,10 +1773,10 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1798
1773
|
responses: {
|
|
1799
1774
|
200: {
|
|
1800
1775
|
description: string;
|
|
1801
|
-
|
|
1776
|
+
contnt: {
|
|
1802
1777
|
"application/json": {
|
|
1803
1778
|
schema: {
|
|
1804
|
-
type:
|
|
1779
|
+
type: string;
|
|
1805
1780
|
properties: {
|
|
1806
1781
|
success: {
|
|
1807
1782
|
type: string;
|
|
@@ -1814,8 +1789,6 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1814
1789
|
};
|
|
1815
1790
|
};
|
|
1816
1791
|
};
|
|
1817
|
-
} & {
|
|
1818
|
-
use: any[];
|
|
1819
1792
|
}, {
|
|
1820
1793
|
success: boolean;
|
|
1821
1794
|
}>;
|
|
@@ -1847,7 +1820,20 @@ declare function initAuth<TSchema extends TDatabaseSchema>(props: InitAuthProps<
|
|
|
1847
1820
|
pathMatcher(path: string): path is "/sign-in/email-otp";
|
|
1848
1821
|
window: number;
|
|
1849
1822
|
max: number;
|
|
1823
|
+
} | {
|
|
1824
|
+
pathMatcher(path: string): path is "/email-otp/request-password-reset";
|
|
1825
|
+
window: number;
|
|
1826
|
+
max: number;
|
|
1827
|
+
} | {
|
|
1828
|
+
pathMatcher(path: string): path is "/email-otp/reset-password";
|
|
1829
|
+
window: number;
|
|
1830
|
+
max: number;
|
|
1831
|
+
} | {
|
|
1832
|
+
pathMatcher(path: string): path is "/forget-password/email-otp";
|
|
1833
|
+
window: number;
|
|
1834
|
+
max: number;
|
|
1850
1835
|
})[];
|
|
1836
|
+
options: better_auth_plugins0.EmailOTPOptions;
|
|
1851
1837
|
}];
|
|
1852
1838
|
}>;
|
|
1853
1839
|
type AuthClient = ReturnType<typeof initAuth>;
|