@tulip-systems/core 0.8.2 → 0.8.3
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/components/common/icons.d.mts +1 -2
- package/dist/components/common/icons.mjs +1 -2
- package/dist/components/common/status.d.mts +1 -2
- package/dist/components/common/status.mjs +1 -2
- package/dist/components/editor/components/content.client.d.mts +1 -2
- package/dist/components/editor/components/content.client.mjs +1 -2
- package/dist/components/editor/components/editor.client.d.mts +1 -2
- package/dist/components/editor/components/editor.client.mjs +1 -2
- package/dist/components/editor/components/menu-nodes.client.mjs +1 -2
- package/dist/components/editor/components/menu.client.d.mts +1 -2
- package/dist/components/editor/components/menu.client.mjs +1 -2
- package/dist/components/editor/extensions/file-handler/extension.d.mts +1 -2
- package/dist/components/editor/extensions/file-handler/extension.mjs +1 -2
- package/dist/components/editor/extensions/file-handler/strategy.d.mts +1 -2
- package/dist/components/editor/extensions/file-handler/strategy.mjs +1 -2
- package/dist/components/editor/extensions/file-handler/utils.mjs +1 -2
- package/dist/components/editor/extensions/image/extension.d.mts +1 -2
- package/dist/components/editor/extensions/image/extension.mjs +1 -2
- package/dist/components/editor/extensions/skeleton/extension.mjs +1 -2
- package/dist/components/editor/extensions/skeleton/renderer.mjs +1 -2
- package/dist/components/editor/lib/constants.d.mts +1 -2
- package/dist/components/editor/lib/constants.mjs +1 -2
- package/dist/components/editor/lib/extensions.d.mts +1 -2
- package/dist/components/editor/lib/extensions.mjs +1 -2
- package/dist/components/editor/lib/helpers.d.mts +1 -2
- package/dist/components/editor/lib/helpers.mjs +1 -2
- package/dist/components/editor/lib/types.d.mts +1 -2
- package/dist/components/editor/lib/variants.mjs +1 -2
- package/dist/components/emails/forget-password-email.mjs +2 -3
- package/dist/components/header/back-button.client.d.mts +1 -2
- package/dist/components/header/back-button.client.mjs +1 -2
- package/dist/components/header/bottom-bar.client.d.mts +1 -2
- package/dist/components/header/bottom-bar.client.mjs +1 -2
- package/dist/components/header/breadcrumbs.client.d.mts +1 -2
- package/dist/components/header/breadcrumbs.client.mjs +1 -2
- package/dist/components/header/header.client.d.mts +1 -2
- package/dist/components/header/header.client.mjs +1 -2
- package/dist/components/header/indicator.client.mjs +1 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts +1 -2
- package/dist/components/header/mobile-nav-switcher.client.mjs +1 -2
- package/dist/components/header/top-bar.client.d.mts +1 -2
- package/dist/components/header/top-bar.client.mjs +1 -2
- package/dist/components/layouts/admin-content.client.d.mts +1 -2
- package/dist/components/layouts/admin-content.client.mjs +1 -2
- package/dist/components/layouts/admin-error-pages.d.mts +1 -2
- package/dist/components/layouts/admin-error-pages.mjs +1 -2
- package/dist/components/layouts/admin-layout.d.mts +1 -2
- package/dist/components/layouts/admin-layout.mjs +1 -2
- package/dist/components/layouts/admin-loading.d.mts +1 -2
- package/dist/components/layouts/admin-loading.mjs +1 -2
- package/dist/components/layouts/empty-page.d.mts +1 -2
- package/dist/components/layouts/empty-page.mjs +1 -2
- package/dist/components/layouts/error-page.d.mts +1 -2
- package/dist/components/layouts/error-page.mjs +1 -2
- package/dist/components/layouts/error-sections.d.mts +1 -2
- package/dist/components/layouts/error-sections.mjs +1 -2
- package/dist/components/layouts/list-layout.d.mts +1 -2
- package/dist/components/layouts/list-layout.mjs +1 -2
- package/dist/components/layouts/providers.client.d.mts +1 -2
- package/dist/components/layouts/providers.client.mjs +1 -2
- package/dist/components/layouts/root-error-pages.d.mts +1 -2
- package/dist/components/layouts/root-error-pages.mjs +1 -2
- package/dist/components/layouts/root-layout.server.d.mts +1 -2
- package/dist/components/layouts/root-layout.server.mjs +1 -2
- package/dist/components/layouts/root-loading.d.mts +1 -2
- package/dist/components/layouts/root-loading.mjs +1 -2
- package/dist/components/layouts/tab-layout.d.mts +1 -2
- package/dist/components/layouts/tab-layout.mjs +1 -2
- package/dist/components/lists/data-list.d.mts +1 -2
- package/dist/components/lists/data-list.mjs +1 -2
- package/dist/components/lists/data-stack.d.mts +1 -2
- package/dist/components/lists/data-stack.mjs +1 -2
- package/dist/components/navigation/admin-sidebar-header.client.mjs +1 -2
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +1 -2
- package/dist/components/navigation/admin-sidebar-paths.client.mjs +1 -2
- package/dist/components/navigation/admin-sidebar-skeleton.mjs +1 -2
- package/dist/components/ui/accordion.client.d.mts +1 -2
- package/dist/components/ui/accordion.client.mjs +1 -2
- package/dist/components/ui/alert-dialog.client.d.mts +1 -2
- package/dist/components/ui/alert-dialog.client.mjs +1 -2
- package/dist/components/ui/alert.d.mts +1 -2
- package/dist/components/ui/alert.mjs +1 -2
- package/dist/components/ui/aspect-ratio.client.d.mts +1 -2
- package/dist/components/ui/aspect-ratio.client.mjs +1 -2
- package/dist/components/ui/avatar.client.d.mts +1 -2
- package/dist/components/ui/avatar.client.mjs +1 -2
- package/dist/components/ui/badge.d.mts +2 -3
- package/dist/components/ui/badge.mjs +1 -2
- package/dist/components/ui/breadcrumb.d.mts +1 -2
- package/dist/components/ui/breadcrumb.mjs +1 -2
- package/dist/components/ui/button-group.d.mts +1 -2
- package/dist/components/ui/button-group.mjs +1 -2
- package/dist/components/ui/button.d.mts +2 -3
- package/dist/components/ui/button.mjs +1 -2
- package/dist/components/ui/calendar.client.d.mts +1 -2
- package/dist/components/ui/calendar.client.mjs +1 -2
- package/dist/components/ui/card.d.mts +1 -2
- package/dist/components/ui/card.mjs +1 -2
- package/dist/components/ui/carousel.client.d.mts +1 -2
- package/dist/components/ui/carousel.client.mjs +1 -2
- package/dist/components/ui/chart.client.d.mts +1 -2
- package/dist/components/ui/chart.client.mjs +1 -2
- package/dist/components/ui/checkbox.client.d.mts +1 -2
- package/dist/components/ui/checkbox.client.mjs +1 -2
- package/dist/components/ui/collapsible.client.d.mts +1 -2
- package/dist/components/ui/collapsible.client.mjs +1 -2
- package/dist/components/ui/color-picker.client.d.mts +1 -2
- package/dist/components/ui/color-picker.client.mjs +1 -2
- package/dist/components/ui/combobox-dropdown.client.d.mts +1 -2
- package/dist/components/ui/combobox-dropdown.client.mjs +1 -2
- package/dist/components/ui/combobox.client.d.mts +1 -2
- package/dist/components/ui/combobox.client.mjs +1 -2
- package/dist/components/ui/command.client.d.mts +1 -2
- package/dist/components/ui/command.client.mjs +1 -2
- package/dist/components/ui/context-menu.client.d.mts +1 -2
- package/dist/components/ui/context-menu.client.mjs +1 -2
- package/dist/components/ui/date-picker.client.d.mts +1 -2
- package/dist/components/ui/date-picker.client.mjs +1 -2
- package/dist/components/ui/dialog.client.d.mts +1 -2
- package/dist/components/ui/dialog.client.mjs +1 -2
- package/dist/components/ui/drawer.client.d.mts +1 -2
- package/dist/components/ui/drawer.client.mjs +1 -2
- package/dist/components/ui/dropdown-menu.client.d.mts +1 -2
- package/dist/components/ui/dropdown-menu.client.mjs +1 -2
- package/dist/components/ui/empty.d.mts +1 -2
- package/dist/components/ui/empty.mjs +1 -2
- package/dist/components/ui/field.client.d.mts +1 -2
- package/dist/components/ui/field.client.mjs +1 -2
- package/dist/components/ui/form.client.d.mts +1 -2
- package/dist/components/ui/form.client.mjs +1 -2
- package/dist/components/ui/hover-card.client.d.mts +1 -2
- package/dist/components/ui/hover-card.client.mjs +1 -2
- package/dist/components/ui/input-date-time.client.d.mts +1 -2
- package/dist/components/ui/input-date-time.client.mjs +1 -2
- package/dist/components/ui/input-date.d.mts +1 -2
- package/dist/components/ui/input-date.mjs +1 -2
- package/dist/components/ui/input-group.client.d.mts +1 -2
- package/dist/components/ui/input-group.client.mjs +1 -2
- package/dist/components/ui/input-recipient.d.mts +1 -2
- package/dist/components/ui/input-recipient.mjs +1 -2
- package/dist/components/ui/input-time.d.mts +1 -2
- package/dist/components/ui/input-time.mjs +1 -2
- package/dist/components/ui/input.d.mts +1 -2
- package/dist/components/ui/input.mjs +1 -2
- package/dist/components/ui/item.d.mts +2 -3
- package/dist/components/ui/item.mjs +1 -2
- package/dist/components/ui/kbd.d.mts +1 -2
- package/dist/components/ui/kbd.mjs +1 -2
- package/dist/components/ui/label.d.mts +1 -2
- package/dist/components/ui/label.mjs +1 -2
- package/dist/components/ui/loader.d.mts +1 -2
- package/dist/components/ui/loader.mjs +1 -2
- package/dist/components/ui/navigation-menu.d.mts +1 -2
- package/dist/components/ui/navigation-menu.mjs +1 -2
- package/dist/components/ui/pagination.d.mts +1 -2
- package/dist/components/ui/pagination.mjs +1 -2
- package/dist/components/ui/popover.client.d.mts +1 -2
- package/dist/components/ui/popover.client.mjs +1 -2
- package/dist/components/ui/progress.client.d.mts +1 -2
- package/dist/components/ui/progress.client.mjs +1 -2
- package/dist/components/ui/radio-group.d.mts +1 -2
- package/dist/components/ui/radio-group.mjs +1 -2
- package/dist/components/ui/resizable.client.d.mts +1 -2
- package/dist/components/ui/resizable.client.mjs +1 -2
- package/dist/components/ui/scroll-area.d.mts +1 -2
- package/dist/components/ui/scroll-area.mjs +1 -2
- package/dist/components/ui/select.client.d.mts +1 -2
- package/dist/components/ui/select.client.mjs +1 -2
- package/dist/components/ui/separator.d.mts +1 -2
- package/dist/components/ui/separator.mjs +1 -2
- package/dist/components/ui/sheet.client.d.mts +1 -2
- package/dist/components/ui/sheet.client.mjs +1 -2
- package/dist/components/ui/sidebar.client.d.mts +1 -2
- package/dist/components/ui/sidebar.client.mjs +1 -2
- package/dist/components/ui/skeleton.d.mts +1 -2
- package/dist/components/ui/skeleton.mjs +1 -2
- package/dist/components/ui/slider.d.mts +1 -2
- package/dist/components/ui/slider.mjs +1 -2
- package/dist/components/ui/sonner.client.d.mts +1 -2
- package/dist/components/ui/sonner.client.mjs +1 -2
- package/dist/components/ui/spinner.d.mts +1 -2
- package/dist/components/ui/spinner.mjs +1 -2
- package/dist/components/ui/switch.client.d.mts +1 -2
- package/dist/components/ui/switch.client.mjs +1 -2
- package/dist/components/ui/tabs.client.d.mts +1 -2
- package/dist/components/ui/tabs.client.mjs +1 -2
- package/dist/components/ui/textarea.d.mts +1 -2
- package/dist/components/ui/textarea.mjs +1 -2
- package/dist/components/ui/toggle-group.client.d.mts +1 -2
- package/dist/components/ui/toggle-group.client.mjs +1 -2
- package/dist/components/ui/toggle.client.d.mts +1 -2
- package/dist/components/ui/toggle.client.mjs +1 -2
- package/dist/components/ui/tooltip.client.d.mts +1 -2
- package/dist/components/ui/tooltip.client.mjs +1 -2
- package/dist/lib/hooks/use-action.d.mts +1 -2
- package/dist/lib/hooks/use-action.mjs +1 -2
- package/dist/lib/hooks/use-indicator.d.mts +1 -2
- package/dist/lib/hooks/use-indicator.mjs +1 -2
- package/dist/lib/hooks/use-mobile.client.d.mts +1 -2
- package/dist/lib/hooks/use-mobile.client.mjs +1 -2
- package/dist/lib/types/config.d.mts +1 -2
- package/dist/lib/utils/array-move.d.mts +1 -2
- package/dist/lib/utils/array-move.mjs +1 -2
- package/dist/lib/utils/cn.d.mts +1 -2
- package/dist/lib/utils/cn.mjs +1 -2
- package/dist/lib/utils/fonts.d.mts +1 -2
- package/dist/lib/utils/fonts.mjs +1 -2
- package/dist/lib/utils/format.d.mts +1 -2
- package/dist/lib/utils/format.mjs +1 -2
- package/dist/lib/utils/manifest.d.mts +1 -2
- package/dist/lib/utils/manifest.mjs +1 -2
- package/dist/lib/utils/markdown.d.mts +1 -2
- package/dist/lib/utils/markdown.mjs +1 -2
- package/dist/lib/utils/url.d.mts +1 -2
- package/dist/lib/utils/url.mjs +1 -2
- package/dist/lib/utils/user-agent.mjs +1 -2
- package/dist/modules/auth/components/allowed.client.d.mts +1 -2
- package/dist/modules/auth/components/allowed.client.mjs +1 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts +1 -2
- package/dist/modules/auth/components/auth-layout.server.mjs +1 -2
- package/dist/modules/auth/components/auth-loading.d.mts +1 -2
- package/dist/modules/auth/components/auth-loading.mjs +1 -2
- package/dist/modules/auth/components/create-first-user-guard.server.d.mts +1 -2
- package/dist/modules/auth/components/create-first-user-guard.server.mjs +1 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +1 -2
- package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -2
- package/dist/modules/auth/components/forget-password-page.client.d.mts +1 -2
- package/dist/modules/auth/components/forget-password-page.client.mjs +1 -2
- package/dist/modules/auth/components/guard.server.d.mts +1 -2
- package/dist/modules/auth/components/guard.server.mjs +1 -2
- package/dist/modules/auth/components/login-page.client.d.mts +1 -2
- package/dist/modules/auth/components/login-page.client.mjs +1 -2
- package/dist/modules/auth/components/reset-password-page.client.d.mts +1 -2
- package/dist/modules/auth/components/reset-password-page.client.mjs +1 -2
- package/dist/modules/auth/components/update-password-command.d.mts +1 -2
- package/dist/modules/auth/components/update-password-command.mjs +1 -2
- package/dist/modules/auth/db/schema.d.mts +1 -2
- package/dist/modules/auth/db/schema.mjs +1 -2
- package/dist/modules/auth/handler/create-client.client.d.mts +903 -665
- package/dist/modules/auth/handler/create-client.client.mjs +1 -2
- package/dist/modules/auth/handler/proxy.server.d.mts +1 -2
- package/dist/modules/auth/handler/proxy.server.mjs +1 -2
- package/dist/modules/auth/handler/route.server.d.mts +1 -2
- package/dist/modules/auth/handler/route.server.mjs +1 -2
- package/dist/modules/auth/handler/service.server.d.mts +121 -94
- package/dist/modules/auth/handler/service.server.mjs +1 -2
- package/dist/modules/auth/hooks/use-auth-client.d.mts +1 -2
- package/dist/modules/auth/hooks/use-auth-client.mjs +1 -2
- package/dist/modules/auth/hooks/use-permission.d.mts +1 -2
- package/dist/modules/auth/hooks/use-permission.mjs +1 -2
- package/dist/modules/auth/hooks/use-session.d.mts +3 -4
- package/dist/modules/auth/hooks/use-session.mjs +1 -2
- package/dist/modules/auth/lib/helpers.server.d.mts +2 -3
- package/dist/modules/auth/lib/helpers.server.mjs +1 -2
- package/dist/modules/auth/lib/permissions.d.mts +1 -2
- package/dist/modules/auth/lib/permissions.mjs +1 -2
- package/dist/modules/auth/lib/validators.d.mts +1 -2
- package/dist/modules/auth/lib/validators.mjs +1 -2
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +1 -2
- package/dist/modules/commands/components/alert-dialog-command.client.mjs +1 -2
- package/dist/modules/commands/components/click-command.client.d.mts +1 -2
- package/dist/modules/commands/components/click-command.client.mjs +1 -2
- package/dist/modules/commands/components/command-trigger.client.d.mts +1 -2
- package/dist/modules/commands/components/command-trigger.client.mjs +1 -2
- package/dist/modules/commands/components/dialog-command.client.d.mts +1 -2
- package/dist/modules/commands/components/dialog-command.client.mjs +1 -2
- package/dist/modules/commands/components/dropdown-command.client.d.mts +1 -2
- package/dist/modules/commands/components/dropdown-command.client.mjs +1 -2
- package/dist/modules/commands/components/empty-command.client.d.mts +1 -2
- package/dist/modules/commands/components/empty-command.client.mjs +1 -2
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +1 -2
- package/dist/modules/commands/components/form-dialog-command.client.mjs +1 -2
- package/dist/modules/commands/components/render-command.mjs +1 -2
- package/dist/modules/commands/hooks/context.client.mjs +1 -2
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts +1 -2
- package/dist/modules/commands/hooks/use-command-menu.client.mjs +1 -2
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +1 -2
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs +1 -2
- package/dist/modules/commands/lib/definitions.d.mts +1 -2
- package/dist/modules/commands/lib/factory.d.mts +1 -2
- package/dist/modules/commands/lib/factory.mjs +1 -2
- package/dist/modules/commands/menus/context-menu.client.d.mts +1 -2
- package/dist/modules/commands/menus/context-menu.client.mjs +1 -2
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +1 -2
- package/dist/modules/commands/menus/dropdown-menu.client.mjs +1 -2
- package/dist/modules/commands/menus/floating-menu.client.d.mts +1 -2
- package/dist/modules/commands/menus/floating-menu.client.mjs +1 -2
- package/dist/modules/commands/menus/inline-menu.client.d.mts +1 -2
- package/dist/modules/commands/menus/inline-menu.client.mjs +1 -2
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +1 -2
- package/dist/modules/commands/menus/responsive-menu.client.mjs +1 -2
- package/dist/modules/commands/utils/archive-command.client.d.mts +1 -2
- package/dist/modules/commands/utils/archive-command.client.mjs +1 -2
- package/dist/modules/commands/utils/delete-command.client.d.mts +1 -2
- package/dist/modules/commands/utils/delete-command.client.mjs +1 -2
- package/dist/modules/config/lib/config.d.mts +1 -2
- package/dist/modules/config/lib/config.mjs +1 -2
- package/dist/modules/config/lib/context.d.mts +1 -2
- package/dist/modules/config/lib/context.mjs +1 -2
- package/dist/modules/config/paths/helpers.d.mts +1 -2
- package/dist/modules/config/paths/helpers.mjs +1 -2
- package/dist/modules/config/paths/types.d.mts +1 -2
- package/dist/modules/data-tables/components/cell/common.client.d.mts +1 -2
- package/dist/modules/data-tables/components/cell/common.client.mjs +1 -2
- package/dist/modules/data-tables/components/cell/index.client.d.mts +1 -2
- package/dist/modules/data-tables/components/cell/index.client.mjs +1 -2
- package/dist/modules/data-tables/components/cell/select.client.d.mts +1 -2
- package/dist/modules/data-tables/components/cell/select.client.mjs +1 -2
- package/dist/modules/data-tables/components/column-header.d.mts +1 -2
- package/dist/modules/data-tables/components/column-header.mjs +1 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +1 -2
- package/dist/modules/data-tables/components/filters/combobox.client.mjs +1 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +1 -2
- package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -2
- package/dist/modules/data-tables/components/footer.mjs +1 -2
- package/dist/modules/data-tables/components/header.d.mts +1 -2
- package/dist/modules/data-tables/components/header.mjs +1 -2
- package/dist/modules/data-tables/components/layout.d.mts +1 -2
- package/dist/modules/data-tables/components/layout.mjs +1 -2
- package/dist/modules/data-tables/components/search-input.client.d.mts +1 -2
- package/dist/modules/data-tables/components/search-input.client.mjs +1 -2
- package/dist/modules/data-tables/components/skeleton.d.mts +1 -2
- package/dist/modules/data-tables/components/skeleton.mjs +1 -2
- package/dist/modules/data-tables/components/table.d.mts +1 -2
- package/dist/modules/data-tables/components/table.mjs +1 -2
- package/dist/modules/data-tables/components/toolbar.d.mts +1 -2
- package/dist/modules/data-tables/components/toolbar.mjs +1 -2
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +1 -2
- package/dist/modules/data-tables/hooks/use-context.client.mjs +1 -2
- package/dist/modules/data-tables/hooks/use-search.client.mjs +1 -2
- package/dist/modules/data-tables/hooks/use-selection.client.mjs +1 -2
- package/dist/modules/data-tables/hooks/use-table.client.d.mts +1 -2
- package/dist/modules/data-tables/hooks/use-table.client.mjs +1 -2
- package/dist/modules/data-tables/lib/converters/cursor.d.mts +1 -2
- package/dist/modules/data-tables/lib/converters/cursor.mjs +1 -2
- package/dist/modules/data-tables/lib/converters/dto.d.mts +1 -2
- package/dist/modules/data-tables/lib/converters/dto.mjs +1 -2
- package/dist/modules/data-tables/lib/converters/filter.d.mts +1 -2
- package/dist/modules/data-tables/lib/converters/filter.mjs +1 -2
- package/dist/modules/data-tables/lib/converters/search.d.mts +1 -2
- package/dist/modules/data-tables/lib/converters/search.mjs +1 -2
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +1 -2
- package/dist/modules/data-tables/lib/converters/sorting.mjs +1 -2
- package/dist/modules/data-tables/lib/filters/config.d.mts +1 -2
- package/dist/modules/data-tables/lib/filters/config.mjs +1 -2
- package/dist/modules/data-tables/lib/filters/helpers.d.mts +1 -2
- package/dist/modules/data-tables/lib/filters/helpers.mjs +1 -2
- package/dist/modules/data-tables/lib/filters/parsers.d.mts +1 -2
- package/dist/modules/data-tables/lib/filters/parsers.mjs +1 -2
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts +1 -2
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +1 -2
- package/dist/modules/data-tables/lib/helpers/create-column.mjs +1 -2
- package/dist/modules/data-tables/lib/search-params.d.mts +1 -2
- package/dist/modules/data-tables/lib/search-params.mjs +1 -2
- package/dist/modules/data-tables/lib/types.d.mts +1 -2
- package/dist/modules/data-tables/lib/validators.d.mts +1 -2
- package/dist/modules/data-tables/lib/validators.mjs +1 -2
- package/dist/modules/data-tables/server/get-data.server.d.mts +2 -3
- package/dist/modules/data-tables/server/get-data.server.mjs +1 -2
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs +1 -2
- package/dist/modules/data-tables/strategies/infinite/components.mjs +1 -2
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts +1 -2
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs +1 -2
- package/dist/modules/data-tables/strategies/pagination/components.mjs +1 -2
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts +1 -2
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs +1 -2
- package/dist/modules/data-tables/tables/data-table/components/body.mjs +1 -2
- package/dist/modules/data-tables/tables/data-table/components/header.mjs +1 -2
- package/dist/modules/data-tables/tables/data-table/components/row.mjs +1 -2
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +1 -2
- package/dist/modules/data-tables/tables/data-table/components/table.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +1 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +1 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs +1 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.d.mts +2 -3
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.mjs +1 -2
- package/dist/modules/database/lib/helpers.d.mts +1 -2
- package/dist/modules/database/lib/helpers.mjs +1 -2
- package/dist/modules/database/lib/service.server.d.mts +1 -2
- package/dist/modules/database/lib/service.server.mjs +1 -2
- package/dist/modules/database/lib/types.d.mts +1 -2
- package/dist/modules/emails/lib/service.server.d.mts +1 -2
- package/dist/modules/emails/lib/service.server.mjs +1 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +1 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/combobox.client.mjs +1 -2
- package/dist/modules/inline-edit/components/date-input.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/date-input.client.mjs +1 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/date-picker.client.mjs +1 -2
- package/dist/modules/inline-edit/components/date-time.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/date-time.client.mjs +1 -2
- package/dist/modules/inline-edit/components/editor.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/editor.client.mjs +1 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +1 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +1 -2
- package/dist/modules/inline-edit/components/input.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/input.client.mjs +1 -2
- package/dist/modules/inline-edit/components/select.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/select.client.mjs +1 -2
- package/dist/modules/inline-edit/components/switch.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/switch.client.mjs +1 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts +1 -2
- package/dist/modules/inline-edit/components/toggle.client.mjs +1 -2
- package/dist/modules/inline-edit/hooks/context.client.d.mts +1 -2
- package/dist/modules/inline-edit/hooks/context.client.mjs +1 -2
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +1 -2
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +1 -2
- package/dist/modules/inline-edit/lib/validators.d.mts +1 -2
- package/dist/modules/inline-edit/lib/validators.mjs +1 -2
- package/dist/modules/inline-edit/lib/variants.d.mts +2 -3
- package/dist/modules/inline-edit/lib/variants.mjs +1 -2
- package/dist/modules/router/handler/caller.client.d.mts +1 -2
- package/dist/modules/router/handler/caller.client.mjs +1 -2
- package/dist/modules/router/handler/caller.server.d.mts +1 -2
- package/dist/modules/router/handler/caller.server.mjs +1 -2
- package/dist/modules/router/handler/context.server.d.mts +2 -3
- package/dist/modules/router/handler/context.server.mjs +1 -2
- package/dist/modules/router/handler/init.server.d.mts +3 -31
- package/dist/modules/router/handler/init.server.mjs +8 -6
- package/dist/modules/router/handler/register.server.d.mts +1 -2
- package/dist/modules/router/handler/register.server.mjs +1 -2
- package/dist/modules/router/handler/route.server.d.mts +2 -3
- package/dist/modules/router/handler/route.server.mjs +1 -2
- package/dist/modules/router/lib/helpers.mjs +1 -2
- package/dist/modules/router/lib/query-client.d.mts +1 -2
- package/dist/modules/router/lib/query-client.mjs +1 -2
- package/dist/modules/router/lib/query-client.server.d.mts +1 -2
- package/dist/modules/router/lib/query-client.server.mjs +1 -2
- package/dist/modules/router/lib/validators.d.mts +1 -2
- package/dist/modules/router/lib/validators.mjs +1 -2
- package/dist/modules/storage/components/dropzone-context.client.d.mts +1 -2
- package/dist/modules/storage/components/dropzone-context.client.mjs +1 -2
- package/dist/modules/storage/components/dropzone.client.d.mts +3 -4
- package/dist/modules/storage/components/dropzone.client.mjs +1 -2
- package/dist/modules/storage/components/image-grid.client.d.mts +1 -2
- package/dist/modules/storage/components/image-grid.client.mjs +1 -2
- package/dist/modules/storage/components/image.client.d.mts +1 -2
- package/dist/modules/storage/components/image.client.mjs +1 -2
- package/dist/modules/storage/components/upload-button.client.d.mts +1 -2
- package/dist/modules/storage/components/upload-button.client.mjs +1 -2
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +1 -2
- package/dist/modules/storage/components/upload-zone-context.client.mjs +1 -2
- package/dist/modules/storage/components/upload-zone.client.d.mts +1 -2
- package/dist/modules/storage/components/upload-zone.client.mjs +1 -2
- package/dist/modules/storage/lib/constants.d.mts +1 -2
- package/dist/modules/storage/lib/constants.mjs +1 -2
- package/dist/modules/storage/lib/helpers.d.mts +1 -2
- package/dist/modules/storage/lib/helpers.mjs +1 -2
- package/dist/modules/storage/lib/procedures.server.d.mts +10 -11
- package/dist/modules/storage/lib/procedures.server.mjs +1 -2
- package/dist/modules/storage/lib/router-handlers.server.d.mts +2 -3
- package/dist/modules/storage/lib/router-handlers.server.mjs +1 -2
- package/dist/modules/storage/lib/schema.d.mts +2 -3
- package/dist/modules/storage/lib/schema.mjs +1 -2
- package/dist/modules/storage/lib/service.server.d.mts +31 -32
- package/dist/modules/storage/lib/service.server.mjs +1 -2
- package/dist/modules/storage/lib/upload.client.d.mts +1 -2
- package/dist/modules/storage/lib/upload.client.mjs +1 -2
- package/dist/modules/storage/lib/validators.d.mts +5 -6
- package/dist/modules/storage/lib/validators.mjs +1 -2
- package/dist/modules/storage/providers/adapters/s3.server.d.mts +1 -2
- package/dist/modules/storage/providers/adapters/s3.server.mjs +1 -2
- package/dist/modules/storage/providers/lib/constants.d.mts +1 -2
- package/dist/modules/storage/providers/lib/constants.mjs +1 -2
- package/dist/modules/storage/providers/lib/errors.d.mts +1 -2
- package/dist/modules/storage/providers/lib/errors.mjs +1 -2
- package/dist/modules/storage/providers/lib/types.d.mts +1 -2
- package/dist/modules/storage/providers/lib/validators.d.mts +1 -2
- package/dist/modules/storage/providers/lib/validators.mjs +1 -2
- package/package.json +66 -63
- package/src/components/emails/forget-password-email.tsx +1 -1
- package/src/modules/auth/lib/helpers.server.ts +1 -1
- package/src/modules/data-tables/server/get-data.server.ts +1 -1
- package/src/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.ts +1 -2
- package/src/modules/router/handler/context.server.ts +1 -1
- package/src/modules/router/handler/init.server.ts +2 -1
- package/src/modules/router/handler/route.server.ts +1 -1
- package/src/modules/storage/lib/procedures.server.ts +1 -1
- package/src/modules/storage/lib/router-handlers.server.ts +1 -1
- package/dist/components/common/icons.d.mts.map +0 -1
- package/dist/components/common/icons.mjs.map +0 -1
- package/dist/components/common/status.d.mts.map +0 -1
- package/dist/components/common/status.mjs.map +0 -1
- package/dist/components/editor/components/content.client.d.mts.map +0 -1
- package/dist/components/editor/components/content.client.mjs.map +0 -1
- package/dist/components/editor/components/editor.client.d.mts.map +0 -1
- package/dist/components/editor/components/editor.client.mjs.map +0 -1
- package/dist/components/editor/components/menu-nodes.client.mjs.map +0 -1
- package/dist/components/editor/components/menu.client.d.mts.map +0 -1
- package/dist/components/editor/components/menu.client.mjs.map +0 -1
- package/dist/components/editor/extensions/file-handler/extension.d.mts.map +0 -1
- package/dist/components/editor/extensions/file-handler/extension.mjs.map +0 -1
- package/dist/components/editor/extensions/file-handler/strategy.d.mts.map +0 -1
- package/dist/components/editor/extensions/file-handler/strategy.mjs.map +0 -1
- package/dist/components/editor/extensions/file-handler/utils.mjs.map +0 -1
- package/dist/components/editor/extensions/image/extension.d.mts.map +0 -1
- package/dist/components/editor/extensions/image/extension.mjs.map +0 -1
- package/dist/components/editor/extensions/skeleton/extension.mjs.map +0 -1
- package/dist/components/editor/extensions/skeleton/renderer.mjs.map +0 -1
- package/dist/components/editor/lib/constants.d.mts.map +0 -1
- package/dist/components/editor/lib/constants.mjs.map +0 -1
- package/dist/components/editor/lib/extensions.d.mts.map +0 -1
- package/dist/components/editor/lib/extensions.mjs.map +0 -1
- package/dist/components/editor/lib/helpers.d.mts.map +0 -1
- package/dist/components/editor/lib/helpers.mjs.map +0 -1
- package/dist/components/editor/lib/types.d.mts.map +0 -1
- package/dist/components/editor/lib/variants.mjs.map +0 -1
- package/dist/components/emails/forget-password-email.mjs.map +0 -1
- package/dist/components/header/back-button.client.d.mts.map +0 -1
- package/dist/components/header/back-button.client.mjs.map +0 -1
- package/dist/components/header/bottom-bar.client.d.mts.map +0 -1
- package/dist/components/header/bottom-bar.client.mjs.map +0 -1
- package/dist/components/header/breadcrumbs.client.d.mts.map +0 -1
- package/dist/components/header/breadcrumbs.client.mjs.map +0 -1
- package/dist/components/header/header.client.d.mts.map +0 -1
- package/dist/components/header/header.client.mjs.map +0 -1
- package/dist/components/header/indicator.client.mjs.map +0 -1
- package/dist/components/header/mobile-nav-switcher.client.d.mts.map +0 -1
- package/dist/components/header/mobile-nav-switcher.client.mjs.map +0 -1
- package/dist/components/header/top-bar.client.d.mts.map +0 -1
- package/dist/components/header/top-bar.client.mjs.map +0 -1
- package/dist/components/layouts/admin-content.client.d.mts.map +0 -1
- package/dist/components/layouts/admin-content.client.mjs.map +0 -1
- package/dist/components/layouts/admin-error-pages.d.mts.map +0 -1
- package/dist/components/layouts/admin-error-pages.mjs.map +0 -1
- package/dist/components/layouts/admin-layout.d.mts.map +0 -1
- package/dist/components/layouts/admin-layout.mjs.map +0 -1
- package/dist/components/layouts/admin-loading.d.mts.map +0 -1
- package/dist/components/layouts/admin-loading.mjs.map +0 -1
- package/dist/components/layouts/empty-page.d.mts.map +0 -1
- package/dist/components/layouts/empty-page.mjs.map +0 -1
- package/dist/components/layouts/error-page.d.mts.map +0 -1
- package/dist/components/layouts/error-page.mjs.map +0 -1
- package/dist/components/layouts/error-sections.d.mts.map +0 -1
- package/dist/components/layouts/error-sections.mjs.map +0 -1
- package/dist/components/layouts/list-layout.d.mts.map +0 -1
- package/dist/components/layouts/list-layout.mjs.map +0 -1
- package/dist/components/layouts/providers.client.d.mts.map +0 -1
- package/dist/components/layouts/providers.client.mjs.map +0 -1
- package/dist/components/layouts/root-error-pages.d.mts.map +0 -1
- package/dist/components/layouts/root-error-pages.mjs.map +0 -1
- package/dist/components/layouts/root-layout.server.d.mts.map +0 -1
- package/dist/components/layouts/root-layout.server.mjs.map +0 -1
- package/dist/components/layouts/root-loading.d.mts.map +0 -1
- package/dist/components/layouts/root-loading.mjs.map +0 -1
- package/dist/components/layouts/tab-layout.d.mts.map +0 -1
- package/dist/components/layouts/tab-layout.mjs.map +0 -1
- package/dist/components/lists/data-list.d.mts.map +0 -1
- package/dist/components/lists/data-list.mjs.map +0 -1
- package/dist/components/lists/data-stack.d.mts.map +0 -1
- package/dist/components/lists/data-stack.mjs.map +0 -1
- package/dist/components/navigation/admin-sidebar-header.client.mjs.map +0 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +0 -1
- package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +0 -1
- package/dist/components/navigation/admin-sidebar-skeleton.mjs.map +0 -1
- package/dist/components/ui/accordion.client.d.mts.map +0 -1
- package/dist/components/ui/accordion.client.mjs.map +0 -1
- package/dist/components/ui/alert-dialog.client.d.mts.map +0 -1
- package/dist/components/ui/alert-dialog.client.mjs.map +0 -1
- package/dist/components/ui/alert.d.mts.map +0 -1
- package/dist/components/ui/alert.mjs.map +0 -1
- package/dist/components/ui/aspect-ratio.client.d.mts.map +0 -1
- package/dist/components/ui/aspect-ratio.client.mjs.map +0 -1
- package/dist/components/ui/avatar.client.d.mts.map +0 -1
- package/dist/components/ui/avatar.client.mjs.map +0 -1
- package/dist/components/ui/badge.d.mts.map +0 -1
- package/dist/components/ui/badge.mjs.map +0 -1
- package/dist/components/ui/breadcrumb.d.mts.map +0 -1
- package/dist/components/ui/breadcrumb.mjs.map +0 -1
- package/dist/components/ui/button-group.d.mts.map +0 -1
- package/dist/components/ui/button-group.mjs.map +0 -1
- package/dist/components/ui/button.d.mts.map +0 -1
- package/dist/components/ui/button.mjs.map +0 -1
- package/dist/components/ui/calendar.client.d.mts.map +0 -1
- package/dist/components/ui/calendar.client.mjs.map +0 -1
- package/dist/components/ui/card.d.mts.map +0 -1
- package/dist/components/ui/card.mjs.map +0 -1
- package/dist/components/ui/carousel.client.d.mts.map +0 -1
- package/dist/components/ui/carousel.client.mjs.map +0 -1
- package/dist/components/ui/chart.client.d.mts.map +0 -1
- package/dist/components/ui/chart.client.mjs.map +0 -1
- package/dist/components/ui/checkbox.client.d.mts.map +0 -1
- package/dist/components/ui/checkbox.client.mjs.map +0 -1
- package/dist/components/ui/collapsible.client.d.mts.map +0 -1
- package/dist/components/ui/collapsible.client.mjs.map +0 -1
- package/dist/components/ui/color-picker.client.d.mts.map +0 -1
- package/dist/components/ui/color-picker.client.mjs.map +0 -1
- package/dist/components/ui/combobox-dropdown.client.d.mts.map +0 -1
- package/dist/components/ui/combobox-dropdown.client.mjs.map +0 -1
- package/dist/components/ui/combobox.client.d.mts.map +0 -1
- package/dist/components/ui/combobox.client.mjs.map +0 -1
- package/dist/components/ui/command.client.d.mts.map +0 -1
- package/dist/components/ui/command.client.mjs.map +0 -1
- package/dist/components/ui/context-menu.client.d.mts.map +0 -1
- package/dist/components/ui/context-menu.client.mjs.map +0 -1
- package/dist/components/ui/date-picker.client.d.mts.map +0 -1
- package/dist/components/ui/date-picker.client.mjs.map +0 -1
- package/dist/components/ui/dialog.client.d.mts.map +0 -1
- package/dist/components/ui/dialog.client.mjs.map +0 -1
- package/dist/components/ui/drawer.client.d.mts.map +0 -1
- package/dist/components/ui/drawer.client.mjs.map +0 -1
- package/dist/components/ui/dropdown-menu.client.d.mts.map +0 -1
- package/dist/components/ui/dropdown-menu.client.mjs.map +0 -1
- package/dist/components/ui/empty.d.mts.map +0 -1
- package/dist/components/ui/empty.mjs.map +0 -1
- package/dist/components/ui/field.client.d.mts.map +0 -1
- package/dist/components/ui/field.client.mjs.map +0 -1
- package/dist/components/ui/form.client.d.mts.map +0 -1
- package/dist/components/ui/form.client.mjs.map +0 -1
- package/dist/components/ui/hover-card.client.d.mts.map +0 -1
- package/dist/components/ui/hover-card.client.mjs.map +0 -1
- package/dist/components/ui/input-date-time.client.d.mts.map +0 -1
- package/dist/components/ui/input-date-time.client.mjs.map +0 -1
- package/dist/components/ui/input-date.d.mts.map +0 -1
- package/dist/components/ui/input-date.mjs.map +0 -1
- package/dist/components/ui/input-group.client.d.mts.map +0 -1
- package/dist/components/ui/input-group.client.mjs.map +0 -1
- package/dist/components/ui/input-recipient.d.mts.map +0 -1
- package/dist/components/ui/input-recipient.mjs.map +0 -1
- package/dist/components/ui/input-time.d.mts.map +0 -1
- package/dist/components/ui/input-time.mjs.map +0 -1
- package/dist/components/ui/input.d.mts.map +0 -1
- package/dist/components/ui/input.mjs.map +0 -1
- package/dist/components/ui/item.d.mts.map +0 -1
- package/dist/components/ui/item.mjs.map +0 -1
- package/dist/components/ui/kbd.d.mts.map +0 -1
- package/dist/components/ui/kbd.mjs.map +0 -1
- package/dist/components/ui/label.d.mts.map +0 -1
- package/dist/components/ui/label.mjs.map +0 -1
- package/dist/components/ui/loader.d.mts.map +0 -1
- package/dist/components/ui/loader.mjs.map +0 -1
- package/dist/components/ui/navigation-menu.d.mts.map +0 -1
- package/dist/components/ui/navigation-menu.mjs.map +0 -1
- package/dist/components/ui/pagination.d.mts.map +0 -1
- package/dist/components/ui/pagination.mjs.map +0 -1
- package/dist/components/ui/popover.client.d.mts.map +0 -1
- package/dist/components/ui/popover.client.mjs.map +0 -1
- package/dist/components/ui/progress.client.d.mts.map +0 -1
- package/dist/components/ui/progress.client.mjs.map +0 -1
- package/dist/components/ui/radio-group.d.mts.map +0 -1
- package/dist/components/ui/radio-group.mjs.map +0 -1
- package/dist/components/ui/resizable.client.d.mts.map +0 -1
- package/dist/components/ui/resizable.client.mjs.map +0 -1
- package/dist/components/ui/scroll-area.d.mts.map +0 -1
- package/dist/components/ui/scroll-area.mjs.map +0 -1
- package/dist/components/ui/select.client.d.mts.map +0 -1
- package/dist/components/ui/select.client.mjs.map +0 -1
- package/dist/components/ui/separator.d.mts.map +0 -1
- package/dist/components/ui/separator.mjs.map +0 -1
- package/dist/components/ui/sheet.client.d.mts.map +0 -1
- package/dist/components/ui/sheet.client.mjs.map +0 -1
- package/dist/components/ui/sidebar.client.d.mts.map +0 -1
- package/dist/components/ui/sidebar.client.mjs.map +0 -1
- package/dist/components/ui/skeleton.d.mts.map +0 -1
- package/dist/components/ui/skeleton.mjs.map +0 -1
- package/dist/components/ui/slider.d.mts.map +0 -1
- package/dist/components/ui/slider.mjs.map +0 -1
- package/dist/components/ui/sonner.client.d.mts.map +0 -1
- package/dist/components/ui/sonner.client.mjs.map +0 -1
- package/dist/components/ui/spinner.d.mts.map +0 -1
- package/dist/components/ui/spinner.mjs.map +0 -1
- package/dist/components/ui/switch.client.d.mts.map +0 -1
- package/dist/components/ui/switch.client.mjs.map +0 -1
- package/dist/components/ui/tabs.client.d.mts.map +0 -1
- package/dist/components/ui/tabs.client.mjs.map +0 -1
- package/dist/components/ui/textarea.d.mts.map +0 -1
- package/dist/components/ui/textarea.mjs.map +0 -1
- package/dist/components/ui/toggle-group.client.d.mts.map +0 -1
- package/dist/components/ui/toggle-group.client.mjs.map +0 -1
- package/dist/components/ui/toggle.client.d.mts.map +0 -1
- package/dist/components/ui/toggle.client.mjs.map +0 -1
- package/dist/components/ui/tooltip.client.d.mts.map +0 -1
- package/dist/components/ui/tooltip.client.mjs.map +0 -1
- package/dist/lib/hooks/use-action.d.mts.map +0 -1
- package/dist/lib/hooks/use-action.mjs.map +0 -1
- package/dist/lib/hooks/use-indicator.d.mts.map +0 -1
- package/dist/lib/hooks/use-indicator.mjs.map +0 -1
- package/dist/lib/hooks/use-mobile.client.d.mts.map +0 -1
- package/dist/lib/hooks/use-mobile.client.mjs.map +0 -1
- package/dist/lib/types/config.d.mts.map +0 -1
- package/dist/lib/utils/array-move.d.mts.map +0 -1
- package/dist/lib/utils/array-move.mjs.map +0 -1
- package/dist/lib/utils/cn.d.mts.map +0 -1
- package/dist/lib/utils/cn.mjs.map +0 -1
- package/dist/lib/utils/fonts.d.mts.map +0 -1
- package/dist/lib/utils/fonts.mjs.map +0 -1
- package/dist/lib/utils/format.d.mts.map +0 -1
- package/dist/lib/utils/format.mjs.map +0 -1
- package/dist/lib/utils/manifest.d.mts.map +0 -1
- package/dist/lib/utils/manifest.mjs.map +0 -1
- package/dist/lib/utils/markdown.d.mts.map +0 -1
- package/dist/lib/utils/markdown.mjs.map +0 -1
- package/dist/lib/utils/url.d.mts.map +0 -1
- package/dist/lib/utils/url.mjs.map +0 -1
- package/dist/lib/utils/user-agent.mjs.map +0 -1
- package/dist/modules/auth/components/allowed.client.d.mts.map +0 -1
- package/dist/modules/auth/components/allowed.client.mjs.map +0 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +0 -1
- package/dist/modules/auth/components/auth-layout.server.mjs.map +0 -1
- package/dist/modules/auth/components/auth-loading.d.mts.map +0 -1
- package/dist/modules/auth/components/auth-loading.mjs.map +0 -1
- package/dist/modules/auth/components/create-first-user-guard.server.d.mts.map +0 -1
- package/dist/modules/auth/components/create-first-user-guard.server.mjs.map +0 -1
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +0 -1
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +0 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +0 -1
- package/dist/modules/auth/components/forget-password-page.client.mjs.map +0 -1
- package/dist/modules/auth/components/guard.server.d.mts.map +0 -1
- package/dist/modules/auth/components/guard.server.mjs.map +0 -1
- package/dist/modules/auth/components/login-page.client.d.mts.map +0 -1
- package/dist/modules/auth/components/login-page.client.mjs.map +0 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +0 -1
- package/dist/modules/auth/components/reset-password-page.client.mjs.map +0 -1
- package/dist/modules/auth/components/update-password-command.d.mts.map +0 -1
- package/dist/modules/auth/components/update-password-command.mjs.map +0 -1
- package/dist/modules/auth/db/schema.d.mts.map +0 -1
- package/dist/modules/auth/db/schema.mjs.map +0 -1
- package/dist/modules/auth/handler/create-client.client.d.mts.map +0 -1
- package/dist/modules/auth/handler/create-client.client.mjs.map +0 -1
- package/dist/modules/auth/handler/proxy.server.d.mts.map +0 -1
- package/dist/modules/auth/handler/proxy.server.mjs.map +0 -1
- package/dist/modules/auth/handler/route.server.d.mts.map +0 -1
- package/dist/modules/auth/handler/route.server.mjs.map +0 -1
- package/dist/modules/auth/handler/service.server.d.mts.map +0 -1
- package/dist/modules/auth/handler/service.server.mjs.map +0 -1
- package/dist/modules/auth/hooks/use-auth-client.d.mts.map +0 -1
- package/dist/modules/auth/hooks/use-auth-client.mjs.map +0 -1
- package/dist/modules/auth/hooks/use-permission.d.mts.map +0 -1
- package/dist/modules/auth/hooks/use-permission.mjs.map +0 -1
- package/dist/modules/auth/hooks/use-session.d.mts.map +0 -1
- package/dist/modules/auth/hooks/use-session.mjs.map +0 -1
- package/dist/modules/auth/lib/helpers.server.d.mts.map +0 -1
- package/dist/modules/auth/lib/helpers.server.mjs.map +0 -1
- package/dist/modules/auth/lib/permissions.d.mts.map +0 -1
- package/dist/modules/auth/lib/permissions.mjs.map +0 -1
- package/dist/modules/auth/lib/validators.d.mts.map +0 -1
- package/dist/modules/auth/lib/validators.mjs.map +0 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +0 -1
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +0 -1
- package/dist/modules/commands/components/click-command.client.d.mts.map +0 -1
- package/dist/modules/commands/components/click-command.client.mjs.map +0 -1
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +0 -1
- package/dist/modules/commands/components/command-trigger.client.mjs.map +0 -1
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +0 -1
- package/dist/modules/commands/components/dialog-command.client.mjs.map +0 -1
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +0 -1
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +0 -1
- package/dist/modules/commands/components/empty-command.client.d.mts.map +0 -1
- package/dist/modules/commands/components/empty-command.client.mjs.map +0 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +0 -1
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +0 -1
- package/dist/modules/commands/components/render-command.mjs.map +0 -1
- package/dist/modules/commands/hooks/context.client.mjs.map +0 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +0 -1
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +0 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +0 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +0 -1
- package/dist/modules/commands/lib/definitions.d.mts.map +0 -1
- package/dist/modules/commands/lib/factory.d.mts.map +0 -1
- package/dist/modules/commands/lib/factory.mjs.map +0 -1
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +0 -1
- package/dist/modules/commands/menus/context-menu.client.mjs.map +0 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +0 -1
- package/dist/modules/commands/menus/dropdown-menu.client.mjs.map +0 -1
- package/dist/modules/commands/menus/floating-menu.client.d.mts.map +0 -1
- package/dist/modules/commands/menus/floating-menu.client.mjs.map +0 -1
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +0 -1
- package/dist/modules/commands/menus/inline-menu.client.mjs.map +0 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +0 -1
- package/dist/modules/commands/menus/responsive-menu.client.mjs.map +0 -1
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +0 -1
- package/dist/modules/commands/utils/archive-command.client.mjs.map +0 -1
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +0 -1
- package/dist/modules/commands/utils/delete-command.client.mjs.map +0 -1
- package/dist/modules/config/lib/config.d.mts.map +0 -1
- package/dist/modules/config/lib/config.mjs.map +0 -1
- package/dist/modules/config/lib/context.d.mts.map +0 -1
- package/dist/modules/config/lib/context.mjs.map +0 -1
- package/dist/modules/config/paths/helpers.d.mts.map +0 -1
- package/dist/modules/config/paths/helpers.mjs.map +0 -1
- package/dist/modules/config/paths/types.d.mts.map +0 -1
- package/dist/modules/data-tables/components/cell/common.client.d.mts.map +0 -1
- package/dist/modules/data-tables/components/cell/common.client.mjs.map +0 -1
- package/dist/modules/data-tables/components/cell/index.client.d.mts.map +0 -1
- package/dist/modules/data-tables/components/cell/index.client.mjs.map +0 -1
- package/dist/modules/data-tables/components/cell/select.client.d.mts.map +0 -1
- package/dist/modules/data-tables/components/cell/select.client.mjs.map +0 -1
- package/dist/modules/data-tables/components/column-header.d.mts.map +0 -1
- package/dist/modules/data-tables/components/column-header.mjs.map +0 -1
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +0 -1
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +0 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +0 -1
- package/dist/modules/data-tables/components/filters/slider.client.mjs.map +0 -1
- package/dist/modules/data-tables/components/footer.mjs.map +0 -1
- package/dist/modules/data-tables/components/header.d.mts.map +0 -1
- package/dist/modules/data-tables/components/header.mjs.map +0 -1
- package/dist/modules/data-tables/components/layout.d.mts.map +0 -1
- package/dist/modules/data-tables/components/layout.mjs.map +0 -1
- package/dist/modules/data-tables/components/search-input.client.d.mts.map +0 -1
- package/dist/modules/data-tables/components/search-input.client.mjs.map +0 -1
- package/dist/modules/data-tables/components/skeleton.d.mts.map +0 -1
- package/dist/modules/data-tables/components/skeleton.mjs.map +0 -1
- package/dist/modules/data-tables/components/table.d.mts.map +0 -1
- package/dist/modules/data-tables/components/table.mjs.map +0 -1
- package/dist/modules/data-tables/components/toolbar.d.mts.map +0 -1
- package/dist/modules/data-tables/components/toolbar.mjs.map +0 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +0 -1
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +0 -1
- package/dist/modules/data-tables/hooks/use-search.client.mjs.map +0 -1
- package/dist/modules/data-tables/hooks/use-selection.client.mjs.map +0 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +0 -1
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.mjs.map +0 -1
- package/dist/modules/data-tables/lib/converters/dto.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/converters/dto.mjs.map +0 -1
- package/dist/modules/data-tables/lib/converters/filter.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/converters/filter.mjs.map +0 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/converters/search.mjs.map +0 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/converters/sorting.mjs.map +0 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/filters/config.mjs.map +0 -1
- package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/filters/helpers.mjs.map +0 -1
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +0 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +0 -1
- package/dist/modules/data-tables/lib/helpers/create-column.mjs.map +0 -1
- package/dist/modules/data-tables/lib/search-params.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/search-params.mjs.map +0 -1
- package/dist/modules/data-tables/lib/types.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/validators.d.mts.map +0 -1
- package/dist/modules/data-tables/lib/validators.mjs.map +0 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts.map +0 -1
- package/dist/modules/data-tables/server/get-data.server.mjs.map +0 -1
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/components.mjs.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/components.mjs.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/body.mjs.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/header.mjs.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/row.mjs.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/table.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.mjs.map +0 -1
- package/dist/modules/database/lib/helpers.d.mts.map +0 -1
- package/dist/modules/database/lib/helpers.mjs.map +0 -1
- package/dist/modules/database/lib/service.server.d.mts.map +0 -1
- package/dist/modules/database/lib/service.server.mjs.map +0 -1
- package/dist/modules/database/lib/types.d.mts.map +0 -1
- package/dist/modules/emails/lib/service.server.d.mts.map +0 -1
- package/dist/modules/emails/lib/service.server.mjs.map +0 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/date-time.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/date-time.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/editor.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/input.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/input.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/select.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/select.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/switch.client.mjs.map +0 -1
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +0 -1
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/hooks/context.client.mjs.map +0 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +0 -1
- package/dist/modules/inline-edit/lib/validators.d.mts.map +0 -1
- package/dist/modules/inline-edit/lib/validators.mjs.map +0 -1
- package/dist/modules/inline-edit/lib/variants.d.mts.map +0 -1
- package/dist/modules/inline-edit/lib/variants.mjs.map +0 -1
- package/dist/modules/router/handler/caller.client.d.mts.map +0 -1
- package/dist/modules/router/handler/caller.client.mjs.map +0 -1
- package/dist/modules/router/handler/caller.server.d.mts.map +0 -1
- package/dist/modules/router/handler/caller.server.mjs.map +0 -1
- package/dist/modules/router/handler/context.server.d.mts.map +0 -1
- package/dist/modules/router/handler/context.server.mjs.map +0 -1
- package/dist/modules/router/handler/init.server.d.mts.map +0 -1
- package/dist/modules/router/handler/init.server.mjs.map +0 -1
- package/dist/modules/router/handler/register.server.d.mts.map +0 -1
- package/dist/modules/router/handler/register.server.mjs.map +0 -1
- package/dist/modules/router/handler/route.server.d.mts.map +0 -1
- package/dist/modules/router/handler/route.server.mjs.map +0 -1
- package/dist/modules/router/lib/helpers.mjs.map +0 -1
- package/dist/modules/router/lib/query-client.d.mts.map +0 -1
- package/dist/modules/router/lib/query-client.mjs.map +0 -1
- package/dist/modules/router/lib/query-client.server.d.mts.map +0 -1
- package/dist/modules/router/lib/query-client.server.mjs.map +0 -1
- package/dist/modules/router/lib/validators.d.mts.map +0 -1
- package/dist/modules/router/lib/validators.mjs.map +0 -1
- package/dist/modules/storage/components/dropzone-context.client.d.mts.map +0 -1
- package/dist/modules/storage/components/dropzone-context.client.mjs.map +0 -1
- package/dist/modules/storage/components/dropzone.client.d.mts.map +0 -1
- package/dist/modules/storage/components/dropzone.client.mjs.map +0 -1
- package/dist/modules/storage/components/image-grid.client.d.mts.map +0 -1
- package/dist/modules/storage/components/image-grid.client.mjs.map +0 -1
- package/dist/modules/storage/components/image.client.d.mts.map +0 -1
- package/dist/modules/storage/components/image.client.mjs.map +0 -1
- package/dist/modules/storage/components/upload-button.client.d.mts.map +0 -1
- package/dist/modules/storage/components/upload-button.client.mjs.map +0 -1
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +0 -1
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +0 -1
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +0 -1
- package/dist/modules/storage/components/upload-zone.client.mjs.map +0 -1
- package/dist/modules/storage/lib/constants.d.mts.map +0 -1
- package/dist/modules/storage/lib/constants.mjs.map +0 -1
- package/dist/modules/storage/lib/helpers.d.mts.map +0 -1
- package/dist/modules/storage/lib/helpers.mjs.map +0 -1
- package/dist/modules/storage/lib/procedures.server.d.mts.map +0 -1
- package/dist/modules/storage/lib/procedures.server.mjs.map +0 -1
- package/dist/modules/storage/lib/router-handlers.server.d.mts.map +0 -1
- package/dist/modules/storage/lib/router-handlers.server.mjs.map +0 -1
- package/dist/modules/storage/lib/schema.d.mts.map +0 -1
- package/dist/modules/storage/lib/schema.mjs.map +0 -1
- package/dist/modules/storage/lib/service.server.d.mts.map +0 -1
- package/dist/modules/storage/lib/service.server.mjs.map +0 -1
- package/dist/modules/storage/lib/upload.client.d.mts.map +0 -1
- package/dist/modules/storage/lib/upload.client.mjs.map +0 -1
- package/dist/modules/storage/lib/validators.d.mts.map +0 -1
- package/dist/modules/storage/lib/validators.mjs.map +0 -1
- package/dist/modules/storage/providers/adapters/s3.server.d.mts.map +0 -1
- package/dist/modules/storage/providers/adapters/s3.server.mjs.map +0 -1
- package/dist/modules/storage/providers/lib/constants.d.mts.map +0 -1
- package/dist/modules/storage/providers/lib/constants.mjs.map +0 -1
- package/dist/modules/storage/providers/lib/errors.d.mts.map +0 -1
- package/dist/modules/storage/providers/lib/errors.mjs.map +0 -1
- package/dist/modules/storage/providers/lib/types.d.mts.map +0 -1
- package/dist/modules/storage/providers/lib/validators.d.mts.map +0 -1
- package/dist/modules/storage/providers/lib/validators.mjs.map +0 -1
|
@@ -9,6 +9,8 @@ import * as _better_auth_passkey_client0 from "@better-auth/passkey/client";
|
|
|
9
9
|
import * as _better_auth_passkey0 from "@better-auth/passkey";
|
|
10
10
|
import * as better_auth_plugins0 from "better-auth/plugins";
|
|
11
11
|
import * as better_auth0 from "better-auth";
|
|
12
|
+
import * as better_call0 from "better-call";
|
|
13
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
12
14
|
|
|
13
15
|
//#region src/modules/auth/handler/service.server.d.ts
|
|
14
16
|
declare const authCookiePrefix = "tulip";
|
|
@@ -56,14 +58,15 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
56
58
|
};
|
|
57
59
|
};
|
|
58
60
|
hooks: {
|
|
59
|
-
after: (inputContext:
|
|
61
|
+
after: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>;
|
|
60
62
|
};
|
|
61
63
|
plugins: [{
|
|
62
64
|
id: "passkey";
|
|
65
|
+
version: string;
|
|
63
66
|
endpoints: {
|
|
64
|
-
generatePasskeyRegistrationOptions:
|
|
67
|
+
generatePasskeyRegistrationOptions: better_call0.StrictEndpoint<"/passkey/generate-register-options", {
|
|
65
68
|
method: "GET";
|
|
66
|
-
use: ((inputContext:
|
|
69
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
67
70
|
session: {
|
|
68
71
|
session: Record<string, any> & {
|
|
69
72
|
id: string;
|
|
@@ -92,7 +95,8 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
92
95
|
"cross-platform": "cross-platform";
|
|
93
96
|
}>>;
|
|
94
97
|
name: zod.ZodOptional<zod.ZodString>;
|
|
95
|
-
|
|
98
|
+
context: zod.ZodOptional<zod.ZodString>;
|
|
99
|
+
}, zod_v4_core0.$strip>>;
|
|
96
100
|
metadata: {
|
|
97
101
|
openapi: {
|
|
98
102
|
operationId: string;
|
|
@@ -110,6 +114,10 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
110
114
|
description: string;
|
|
111
115
|
required: boolean;
|
|
112
116
|
};
|
|
117
|
+
context: {
|
|
118
|
+
description: string;
|
|
119
|
+
required: boolean;
|
|
120
|
+
};
|
|
113
121
|
};
|
|
114
122
|
};
|
|
115
123
|
content: {
|
|
@@ -211,7 +219,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
211
219
|
};
|
|
212
220
|
};
|
|
213
221
|
}, _better_auth_passkey_client0.PublicKeyCredentialCreationOptionsJSON>;
|
|
214
|
-
generatePasskeyAuthenticationOptions:
|
|
222
|
+
generatePasskeyAuthenticationOptions: better_call0.StrictEndpoint<"/passkey/generate-authenticate-options", {
|
|
215
223
|
method: "GET";
|
|
216
224
|
metadata: {
|
|
217
225
|
openapi: {
|
|
@@ -305,13 +313,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
305
313
|
};
|
|
306
314
|
};
|
|
307
315
|
}, _better_auth_passkey_client0.PublicKeyCredentialRequestOptionsJSON>;
|
|
308
|
-
verifyPasskeyRegistration:
|
|
316
|
+
verifyPasskeyRegistration: better_call0.StrictEndpoint<"/passkey/verify-registration", {
|
|
309
317
|
method: "POST";
|
|
310
318
|
body: zod.ZodObject<{
|
|
311
319
|
response: zod.ZodAny;
|
|
312
320
|
name: zod.ZodOptional<zod.ZodString>;
|
|
313
|
-
},
|
|
314
|
-
use: ((inputContext:
|
|
321
|
+
}, zod_v4_core0.$strip>;
|
|
322
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
315
323
|
session: {
|
|
316
324
|
session: Record<string, any> & {
|
|
317
325
|
id: string;
|
|
@@ -356,11 +364,11 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
356
364
|
};
|
|
357
365
|
};
|
|
358
366
|
}, _better_auth_passkey0.Passkey>;
|
|
359
|
-
verifyPasskeyAuthentication:
|
|
367
|
+
verifyPasskeyAuthentication: better_call0.StrictEndpoint<"/passkey/verify-authentication", {
|
|
360
368
|
method: "POST";
|
|
361
369
|
body: zod.ZodObject<{
|
|
362
370
|
response: zod.ZodRecord<zod.ZodAny, zod.ZodAny>;
|
|
363
|
-
},
|
|
371
|
+
}, zod_v4_core0.$strip>;
|
|
364
372
|
metadata: {
|
|
365
373
|
openapi: {
|
|
366
374
|
operationId: string;
|
|
@@ -403,10 +411,19 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
403
411
|
ipAddress?: string | null | undefined;
|
|
404
412
|
userAgent?: string | null | undefined;
|
|
405
413
|
};
|
|
414
|
+
user: {
|
|
415
|
+
id: string;
|
|
416
|
+
createdAt: Date;
|
|
417
|
+
updatedAt: Date;
|
|
418
|
+
email: string;
|
|
419
|
+
emailVerified: boolean;
|
|
420
|
+
name: string;
|
|
421
|
+
image?: string | null | undefined;
|
|
422
|
+
};
|
|
406
423
|
}>;
|
|
407
|
-
listPasskeys:
|
|
424
|
+
listPasskeys: better_call0.StrictEndpoint<"/passkey/list-user-passkeys", {
|
|
408
425
|
method: "GET";
|
|
409
|
-
use: ((inputContext:
|
|
426
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
410
427
|
session: {
|
|
411
428
|
session: Record<string, any> & {
|
|
412
429
|
id: string;
|
|
@@ -452,12 +469,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
452
469
|
};
|
|
453
470
|
};
|
|
454
471
|
}, _better_auth_passkey0.Passkey[]>;
|
|
455
|
-
deletePasskey:
|
|
472
|
+
deletePasskey: better_call0.StrictEndpoint<"/passkey/delete-passkey", {
|
|
456
473
|
method: "POST";
|
|
457
474
|
body: zod.ZodObject<{
|
|
458
475
|
id: zod.ZodString;
|
|
459
|
-
},
|
|
460
|
-
use: ((inputContext:
|
|
476
|
+
}, zod_v4_core0.$strip>;
|
|
477
|
+
use: (((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
461
478
|
session: {
|
|
462
479
|
session: Record<string, any> & {
|
|
463
480
|
id: string;
|
|
@@ -479,7 +496,9 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
479
496
|
image?: string | null | undefined;
|
|
480
497
|
};
|
|
481
498
|
};
|
|
482
|
-
}>)
|
|
499
|
+
}>) | ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
500
|
+
verifiedResource: {};
|
|
501
|
+
}>))[];
|
|
483
502
|
metadata: {
|
|
484
503
|
openapi: {
|
|
485
504
|
description: string;
|
|
@@ -507,13 +526,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
507
526
|
}, {
|
|
508
527
|
status: boolean;
|
|
509
528
|
}>;
|
|
510
|
-
updatePasskey:
|
|
529
|
+
updatePasskey: better_call0.StrictEndpoint<"/passkey/update-passkey", {
|
|
511
530
|
method: "POST";
|
|
512
531
|
body: zod.ZodObject<{
|
|
513
532
|
id: zod.ZodString;
|
|
514
533
|
name: zod.ZodString;
|
|
515
|
-
},
|
|
516
|
-
use: ((inputContext:
|
|
534
|
+
}, zod_v4_core0.$strip>;
|
|
535
|
+
use: (((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
517
536
|
session: {
|
|
518
537
|
session: Record<string, any> & {
|
|
519
538
|
id: string;
|
|
@@ -535,7 +554,9 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
535
554
|
image?: string | null | undefined;
|
|
536
555
|
};
|
|
537
556
|
};
|
|
538
|
-
}>)
|
|
557
|
+
}>) | ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
558
|
+
verifiedResource: {};
|
|
559
|
+
}>))[];
|
|
539
560
|
metadata: {
|
|
540
561
|
openapi: {
|
|
541
562
|
description: string;
|
|
@@ -623,10 +644,18 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
623
644
|
AUTHENTICATION_FAILED: better_auth0.RawError<"AUTHENTICATION_FAILED">;
|
|
624
645
|
UNABLE_TO_CREATE_SESSION: better_auth0.RawError<"UNABLE_TO_CREATE_SESSION">;
|
|
625
646
|
FAILED_TO_UPDATE_PASSKEY: better_auth0.RawError<"FAILED_TO_UPDATE_PASSKEY">;
|
|
647
|
+
PREVIOUSLY_REGISTERED: better_auth0.RawError<"PREVIOUSLY_REGISTERED">;
|
|
648
|
+
REGISTRATION_CANCELLED: better_auth0.RawError<"REGISTRATION_CANCELLED">;
|
|
649
|
+
AUTH_CANCELLED: better_auth0.RawError<"AUTH_CANCELLED">;
|
|
650
|
+
UNKNOWN_ERROR: better_auth0.RawError<"UNKNOWN_ERROR">;
|
|
651
|
+
SESSION_REQUIRED: better_auth0.RawError<"SESSION_REQUIRED">;
|
|
652
|
+
RESOLVE_USER_REQUIRED: better_auth0.RawError<"RESOLVE_USER_REQUIRED">;
|
|
653
|
+
RESOLVED_USER_INVALID: better_auth0.RawError<"RESOLVED_USER_INVALID">;
|
|
626
654
|
};
|
|
627
655
|
options: _better_auth_passkey0.PasskeyOptions | undefined;
|
|
628
656
|
}, {
|
|
629
657
|
id: "admin";
|
|
658
|
+
version: string;
|
|
630
659
|
init(): {
|
|
631
660
|
options: {
|
|
632
661
|
databaseHooks: {
|
|
@@ -674,18 +703,18 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
674
703
|
hooks: {
|
|
675
704
|
after: {
|
|
676
705
|
matcher(context: better_auth0.HookEndpointContext): boolean;
|
|
677
|
-
handler: (inputContext:
|
|
706
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<better_auth_plugins0.SessionWithImpersonatedBy[] | undefined>;
|
|
678
707
|
}[];
|
|
679
708
|
};
|
|
680
709
|
endpoints: {
|
|
681
|
-
setRole:
|
|
710
|
+
setRole: better_call0.StrictEndpoint<"/admin/set-role", {
|
|
682
711
|
method: "POST";
|
|
683
712
|
body: zod.ZodObject<{
|
|
684
713
|
userId: zod.ZodCoercedString<unknown>;
|
|
685
714
|
role: zod.ZodUnion<readonly [zod.ZodString, zod.ZodArray<zod.ZodString>]>;
|
|
686
|
-
},
|
|
715
|
+
}, zod_v4_core0.$strip>;
|
|
687
716
|
requireHeaders: true;
|
|
688
|
-
use: ((inputContext:
|
|
717
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
689
718
|
session: {
|
|
690
719
|
user: better_auth_plugins0.UserWithRole;
|
|
691
720
|
session: {
|
|
@@ -733,12 +762,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
733
762
|
}, {
|
|
734
763
|
user: better_auth_plugins0.UserWithRole;
|
|
735
764
|
}>;
|
|
736
|
-
getUser:
|
|
765
|
+
getUser: better_call0.StrictEndpoint<"/admin/get-user", {
|
|
737
766
|
method: "GET";
|
|
738
767
|
query: zod.ZodObject<{
|
|
739
768
|
id: zod.ZodString;
|
|
740
|
-
},
|
|
741
|
-
use: ((inputContext:
|
|
769
|
+
}, zod_v4_core0.$strip>;
|
|
770
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
742
771
|
session: {
|
|
743
772
|
user: better_auth_plugins0.UserWithRole;
|
|
744
773
|
session: {
|
|
@@ -778,7 +807,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
778
807
|
};
|
|
779
808
|
};
|
|
780
809
|
}, better_auth_plugins0.UserWithRole>;
|
|
781
|
-
createUser:
|
|
810
|
+
createUser: better_call0.StrictEndpoint<"/admin/create-user", {
|
|
782
811
|
method: "POST";
|
|
783
812
|
body: zod.ZodObject<{
|
|
784
813
|
email: zod.ZodString;
|
|
@@ -786,7 +815,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
786
815
|
name: zod.ZodString;
|
|
787
816
|
role: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodArray<zod.ZodString>]>>;
|
|
788
817
|
data: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
789
|
-
},
|
|
818
|
+
}, zod_v4_core0.$strip>;
|
|
790
819
|
metadata: {
|
|
791
820
|
openapi: {
|
|
792
821
|
operationId: string;
|
|
@@ -823,13 +852,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
823
852
|
}, {
|
|
824
853
|
user: better_auth_plugins0.UserWithRole;
|
|
825
854
|
}>;
|
|
826
|
-
adminUpdateUser:
|
|
855
|
+
adminUpdateUser: better_call0.StrictEndpoint<"/admin/update-user", {
|
|
827
856
|
method: "POST";
|
|
828
857
|
body: zod.ZodObject<{
|
|
829
858
|
userId: zod.ZodCoercedString<unknown>;
|
|
830
859
|
data: zod.ZodRecord<zod.ZodAny, zod.ZodAny>;
|
|
831
|
-
},
|
|
832
|
-
use: ((inputContext:
|
|
860
|
+
}, zod_v4_core0.$strip>;
|
|
861
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
833
862
|
session: {
|
|
834
863
|
user: better_auth_plugins0.UserWithRole;
|
|
835
864
|
session: {
|
|
@@ -869,9 +898,9 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
869
898
|
};
|
|
870
899
|
};
|
|
871
900
|
}, better_auth_plugins0.UserWithRole>;
|
|
872
|
-
listUsers:
|
|
901
|
+
listUsers: better_call0.StrictEndpoint<"/admin/list-users", {
|
|
873
902
|
method: "GET";
|
|
874
|
-
use: ((inputContext:
|
|
903
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
875
904
|
session: {
|
|
876
905
|
user: better_auth_plugins0.UserWithRole;
|
|
877
906
|
session: {
|
|
@@ -889,8 +918,8 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
889
918
|
query: zod.ZodObject<{
|
|
890
919
|
searchValue: zod.ZodOptional<zod.ZodString>;
|
|
891
920
|
searchField: zod.ZodOptional<zod.ZodEnum<{
|
|
892
|
-
name: "name";
|
|
893
921
|
email: "email";
|
|
922
|
+
name: "name";
|
|
894
923
|
}>>;
|
|
895
924
|
searchOperator: zod.ZodOptional<zod.ZodEnum<{
|
|
896
925
|
contains: "contains";
|
|
@@ -919,7 +948,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
919
948
|
starts_with: "starts_with";
|
|
920
949
|
ends_with: "ends_with";
|
|
921
950
|
}>>;
|
|
922
|
-
},
|
|
951
|
+
}, zod_v4_core0.$strip>;
|
|
923
952
|
metadata: {
|
|
924
953
|
openapi: {
|
|
925
954
|
operationId: string;
|
|
@@ -961,9 +990,9 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
961
990
|
users: better_auth_plugins0.UserWithRole[];
|
|
962
991
|
total: number;
|
|
963
992
|
}>;
|
|
964
|
-
listUserSessions:
|
|
993
|
+
listUserSessions: better_call0.StrictEndpoint<"/admin/list-user-sessions", {
|
|
965
994
|
method: "POST";
|
|
966
|
-
use: ((inputContext:
|
|
995
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
967
996
|
session: {
|
|
968
997
|
user: better_auth_plugins0.UserWithRole;
|
|
969
998
|
session: {
|
|
@@ -980,7 +1009,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
980
1009
|
}>)[];
|
|
981
1010
|
body: zod.ZodObject<{
|
|
982
1011
|
userId: zod.ZodCoercedString<unknown>;
|
|
983
|
-
},
|
|
1012
|
+
}, zod_v4_core0.$strip>;
|
|
984
1013
|
metadata: {
|
|
985
1014
|
openapi: {
|
|
986
1015
|
operationId: string;
|
|
@@ -1011,12 +1040,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1011
1040
|
}, {
|
|
1012
1041
|
sessions: better_auth_plugins0.SessionWithImpersonatedBy[];
|
|
1013
1042
|
}>;
|
|
1014
|
-
unbanUser:
|
|
1043
|
+
unbanUser: better_call0.StrictEndpoint<"/admin/unban-user", {
|
|
1015
1044
|
method: "POST";
|
|
1016
1045
|
body: zod.ZodObject<{
|
|
1017
1046
|
userId: zod.ZodCoercedString<unknown>;
|
|
1018
|
-
},
|
|
1019
|
-
use: ((inputContext:
|
|
1047
|
+
}, zod_v4_core0.$strip>;
|
|
1048
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1020
1049
|
session: {
|
|
1021
1050
|
user: better_auth_plugins0.UserWithRole;
|
|
1022
1051
|
session: {
|
|
@@ -1058,14 +1087,14 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1058
1087
|
}, {
|
|
1059
1088
|
user: better_auth_plugins0.UserWithRole;
|
|
1060
1089
|
}>;
|
|
1061
|
-
banUser:
|
|
1090
|
+
banUser: better_call0.StrictEndpoint<"/admin/ban-user", {
|
|
1062
1091
|
method: "POST";
|
|
1063
1092
|
body: zod.ZodObject<{
|
|
1064
1093
|
userId: zod.ZodCoercedString<unknown>;
|
|
1065
1094
|
banReason: zod.ZodOptional<zod.ZodString>;
|
|
1066
1095
|
banExpiresIn: zod.ZodOptional<zod.ZodNumber>;
|
|
1067
|
-
},
|
|
1068
|
-
use: ((inputContext:
|
|
1096
|
+
}, zod_v4_core0.$strip>;
|
|
1097
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1069
1098
|
session: {
|
|
1070
1099
|
user: better_auth_plugins0.UserWithRole;
|
|
1071
1100
|
session: {
|
|
@@ -1107,12 +1136,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1107
1136
|
}, {
|
|
1108
1137
|
user: better_auth_plugins0.UserWithRole;
|
|
1109
1138
|
}>;
|
|
1110
|
-
impersonateUser:
|
|
1139
|
+
impersonateUser: better_call0.StrictEndpoint<"/admin/impersonate-user", {
|
|
1111
1140
|
method: "POST";
|
|
1112
1141
|
body: zod.ZodObject<{
|
|
1113
1142
|
userId: zod.ZodCoercedString<unknown>;
|
|
1114
|
-
},
|
|
1115
|
-
use: ((inputContext:
|
|
1143
|
+
}, zod_v4_core0.$strip>;
|
|
1144
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1116
1145
|
session: {
|
|
1117
1146
|
user: better_auth_plugins0.UserWithRole;
|
|
1118
1147
|
session: {
|
|
@@ -1167,7 +1196,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1167
1196
|
};
|
|
1168
1197
|
user: better_auth_plugins0.UserWithRole;
|
|
1169
1198
|
}>;
|
|
1170
|
-
stopImpersonating:
|
|
1199
|
+
stopImpersonating: better_call0.StrictEndpoint<"/admin/stop-impersonating", {
|
|
1171
1200
|
method: "POST";
|
|
1172
1201
|
requireHeaders: true;
|
|
1173
1202
|
}, {
|
|
@@ -1191,12 +1220,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1191
1220
|
image?: string | null | undefined;
|
|
1192
1221
|
} & Record<string, any>;
|
|
1193
1222
|
}>;
|
|
1194
|
-
revokeUserSession:
|
|
1223
|
+
revokeUserSession: better_call0.StrictEndpoint<"/admin/revoke-user-session", {
|
|
1195
1224
|
method: "POST";
|
|
1196
1225
|
body: zod.ZodObject<{
|
|
1197
1226
|
sessionToken: zod.ZodString;
|
|
1198
|
-
},
|
|
1199
|
-
use: ((inputContext:
|
|
1227
|
+
}, zod_v4_core0.$strip>;
|
|
1228
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1200
1229
|
session: {
|
|
1201
1230
|
user: better_auth_plugins0.UserWithRole;
|
|
1202
1231
|
session: {
|
|
@@ -1238,12 +1267,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1238
1267
|
}, {
|
|
1239
1268
|
success: boolean;
|
|
1240
1269
|
}>;
|
|
1241
|
-
revokeUserSessions:
|
|
1270
|
+
revokeUserSessions: better_call0.StrictEndpoint<"/admin/revoke-user-sessions", {
|
|
1242
1271
|
method: "POST";
|
|
1243
1272
|
body: zod.ZodObject<{
|
|
1244
1273
|
userId: zod.ZodCoercedString<unknown>;
|
|
1245
|
-
},
|
|
1246
|
-
use: ((inputContext:
|
|
1274
|
+
}, zod_v4_core0.$strip>;
|
|
1275
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1247
1276
|
session: {
|
|
1248
1277
|
user: better_auth_plugins0.UserWithRole;
|
|
1249
1278
|
session: {
|
|
@@ -1285,12 +1314,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1285
1314
|
}, {
|
|
1286
1315
|
success: boolean;
|
|
1287
1316
|
}>;
|
|
1288
|
-
removeUser:
|
|
1317
|
+
removeUser: better_call0.StrictEndpoint<"/admin/remove-user", {
|
|
1289
1318
|
method: "POST";
|
|
1290
1319
|
body: zod.ZodObject<{
|
|
1291
1320
|
userId: zod.ZodCoercedString<unknown>;
|
|
1292
|
-
},
|
|
1293
|
-
use: ((inputContext:
|
|
1321
|
+
}, zod_v4_core0.$strip>;
|
|
1322
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1294
1323
|
session: {
|
|
1295
1324
|
user: better_auth_plugins0.UserWithRole;
|
|
1296
1325
|
session: {
|
|
@@ -1332,13 +1361,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1332
1361
|
}, {
|
|
1333
1362
|
success: boolean;
|
|
1334
1363
|
}>;
|
|
1335
|
-
setUserPassword:
|
|
1364
|
+
setUserPassword: better_call0.StrictEndpoint<"/admin/set-user-password", {
|
|
1336
1365
|
method: "POST";
|
|
1337
1366
|
body: zod.ZodObject<{
|
|
1338
1367
|
newPassword: zod.ZodString;
|
|
1339
1368
|
userId: zod.ZodCoercedString<unknown>;
|
|
1340
|
-
},
|
|
1341
|
-
use: ((inputContext:
|
|
1369
|
+
}, zod_v4_core0.$strip>;
|
|
1370
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1342
1371
|
session: {
|
|
1343
1372
|
user: better_auth_plugins0.UserWithRole;
|
|
1344
1373
|
session: {
|
|
@@ -1380,18 +1409,16 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1380
1409
|
}, {
|
|
1381
1410
|
status: boolean;
|
|
1382
1411
|
}>;
|
|
1383
|
-
userHasPermission:
|
|
1412
|
+
userHasPermission: better_call0.StrictEndpoint<"/admin/has-permission", {
|
|
1384
1413
|
method: "POST";
|
|
1385
1414
|
body: zod.ZodIntersection<zod.ZodObject<{
|
|
1386
1415
|
userId: zod.ZodOptional<zod.ZodCoercedString<unknown>>;
|
|
1387
1416
|
role: zod.ZodOptional<zod.ZodString>;
|
|
1388
|
-
},
|
|
1417
|
+
}, zod_v4_core0.$strip>, zod.ZodXor<readonly [zod.ZodObject<{
|
|
1389
1418
|
permission: zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString>>;
|
|
1390
|
-
|
|
1391
|
-
}, better_auth0.$strip>, zod.ZodObject<{
|
|
1392
|
-
permission: zod.ZodUndefined;
|
|
1419
|
+
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
1393
1420
|
permissions: zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString>>;
|
|
1394
|
-
},
|
|
1421
|
+
}, zod_v4_core0.$strip>]>>;
|
|
1395
1422
|
metadata: {
|
|
1396
1423
|
openapi: {
|
|
1397
1424
|
description: string;
|
|
@@ -1526,6 +1553,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1526
1553
|
}>;
|
|
1527
1554
|
}, {
|
|
1528
1555
|
id: "email-otp";
|
|
1556
|
+
version: string;
|
|
1529
1557
|
init(ctx: better_auth0.AuthContext): {
|
|
1530
1558
|
options: {
|
|
1531
1559
|
emailVerification: {
|
|
@@ -1538,7 +1566,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1538
1566
|
};
|
|
1539
1567
|
} | undefined;
|
|
1540
1568
|
endpoints: {
|
|
1541
|
-
sendVerificationOTP:
|
|
1569
|
+
sendVerificationOTP: better_call0.StrictEndpoint<"/email-otp/send-verification-otp", {
|
|
1542
1570
|
method: "POST";
|
|
1543
1571
|
body: zod.ZodObject<{
|
|
1544
1572
|
email: zod.ZodString;
|
|
@@ -1548,7 +1576,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1548
1576
|
"email-verification": "email-verification";
|
|
1549
1577
|
"forget-password": "forget-password";
|
|
1550
1578
|
}>;
|
|
1551
|
-
},
|
|
1579
|
+
}, zod_v4_core0.$strip>;
|
|
1552
1580
|
metadata: {
|
|
1553
1581
|
openapi: {
|
|
1554
1582
|
operationId: string;
|
|
@@ -1575,7 +1603,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1575
1603
|
}, {
|
|
1576
1604
|
success: boolean;
|
|
1577
1605
|
}>;
|
|
1578
|
-
createVerificationOTP:
|
|
1606
|
+
createVerificationOTP: better_call0.StrictEndpoint<string, {
|
|
1579
1607
|
method: "POST";
|
|
1580
1608
|
body: zod.ZodObject<{
|
|
1581
1609
|
email: zod.ZodString;
|
|
@@ -1585,7 +1613,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1585
1613
|
"email-verification": "email-verification";
|
|
1586
1614
|
"forget-password": "forget-password";
|
|
1587
1615
|
}>;
|
|
1588
|
-
},
|
|
1616
|
+
}, zod_v4_core0.$strip>;
|
|
1589
1617
|
metadata: {
|
|
1590
1618
|
openapi: {
|
|
1591
1619
|
operationId: string;
|
|
@@ -1605,7 +1633,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1605
1633
|
};
|
|
1606
1634
|
};
|
|
1607
1635
|
}, string>;
|
|
1608
|
-
getVerificationOTP:
|
|
1636
|
+
getVerificationOTP: better_call0.StrictEndpoint<string, {
|
|
1609
1637
|
method: "GET";
|
|
1610
1638
|
query: zod.ZodObject<{
|
|
1611
1639
|
email: zod.ZodString;
|
|
@@ -1615,7 +1643,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1615
1643
|
"email-verification": "email-verification";
|
|
1616
1644
|
"forget-password": "forget-password";
|
|
1617
1645
|
}>;
|
|
1618
|
-
},
|
|
1646
|
+
}, zod_v4_core0.$strip>;
|
|
1619
1647
|
metadata: {
|
|
1620
1648
|
openapi: {
|
|
1621
1649
|
operationId: string;
|
|
@@ -1647,7 +1675,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1647
1675
|
} | {
|
|
1648
1676
|
otp: string;
|
|
1649
1677
|
}>;
|
|
1650
|
-
checkVerificationOTP:
|
|
1678
|
+
checkVerificationOTP: better_call0.StrictEndpoint<"/email-otp/check-verification-otp", {
|
|
1651
1679
|
method: "POST";
|
|
1652
1680
|
body: zod.ZodObject<{
|
|
1653
1681
|
email: zod.ZodString;
|
|
@@ -1658,7 +1686,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1658
1686
|
"forget-password": "forget-password";
|
|
1659
1687
|
}>;
|
|
1660
1688
|
otp: zod.ZodString;
|
|
1661
|
-
},
|
|
1689
|
+
}, zod_v4_core0.$strip>;
|
|
1662
1690
|
metadata: {
|
|
1663
1691
|
openapi: {
|
|
1664
1692
|
operationId: string;
|
|
@@ -1685,12 +1713,12 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1685
1713
|
}, {
|
|
1686
1714
|
success: boolean;
|
|
1687
1715
|
}>;
|
|
1688
|
-
verifyEmailOTP:
|
|
1716
|
+
verifyEmailOTP: better_call0.StrictEndpoint<"/email-otp/verify-email", {
|
|
1689
1717
|
method: "POST";
|
|
1690
1718
|
body: zod.ZodObject<{
|
|
1691
1719
|
email: zod.ZodString;
|
|
1692
1720
|
otp: zod.ZodString;
|
|
1693
|
-
},
|
|
1721
|
+
}, zod_v4_core0.$strip>;
|
|
1694
1722
|
metadata: {
|
|
1695
1723
|
openapi: {
|
|
1696
1724
|
description: string;
|
|
@@ -1749,14 +1777,14 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1749
1777
|
image?: string | null | undefined;
|
|
1750
1778
|
} & Record<string, any>;
|
|
1751
1779
|
}>;
|
|
1752
|
-
signInEmailOTP:
|
|
1780
|
+
signInEmailOTP: better_call0.StrictEndpoint<"/sign-in/email-otp", {
|
|
1753
1781
|
method: "POST";
|
|
1754
1782
|
body: zod.ZodIntersection<zod.ZodObject<{
|
|
1755
1783
|
email: zod.ZodString;
|
|
1756
1784
|
otp: zod.ZodString;
|
|
1757
1785
|
name: zod.ZodOptional<zod.ZodString>;
|
|
1758
1786
|
image: zod.ZodOptional<zod.ZodString>;
|
|
1759
|
-
},
|
|
1787
|
+
}, zod_v4_core0.$strip>, zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
1760
1788
|
metadata: {
|
|
1761
1789
|
openapi: {
|
|
1762
1790
|
operationId: string;
|
|
@@ -1797,11 +1825,11 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1797
1825
|
image?: string | null | undefined;
|
|
1798
1826
|
};
|
|
1799
1827
|
}>;
|
|
1800
|
-
requestPasswordResetEmailOTP:
|
|
1828
|
+
requestPasswordResetEmailOTP: better_call0.StrictEndpoint<"/email-otp/request-password-reset", {
|
|
1801
1829
|
method: "POST";
|
|
1802
1830
|
body: zod.ZodObject<{
|
|
1803
1831
|
email: zod.ZodString;
|
|
1804
|
-
},
|
|
1832
|
+
}, zod_v4_core0.$strip>;
|
|
1805
1833
|
metadata: {
|
|
1806
1834
|
openapi: {
|
|
1807
1835
|
operationId: string;
|
|
@@ -1829,11 +1857,11 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1829
1857
|
}, {
|
|
1830
1858
|
success: boolean;
|
|
1831
1859
|
}>;
|
|
1832
|
-
forgetPasswordEmailOTP:
|
|
1860
|
+
forgetPasswordEmailOTP: better_call0.StrictEndpoint<"/forget-password/email-otp", {
|
|
1833
1861
|
method: "POST";
|
|
1834
1862
|
body: zod.ZodObject<{
|
|
1835
1863
|
email: zod.ZodString;
|
|
1836
|
-
},
|
|
1864
|
+
}, zod_v4_core0.$strip>;
|
|
1837
1865
|
metadata: {
|
|
1838
1866
|
openapi: {
|
|
1839
1867
|
operationId: string;
|
|
@@ -1861,13 +1889,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1861
1889
|
}, {
|
|
1862
1890
|
success: boolean;
|
|
1863
1891
|
}>;
|
|
1864
|
-
resetPasswordEmailOTP:
|
|
1892
|
+
resetPasswordEmailOTP: better_call0.StrictEndpoint<"/email-otp/reset-password", {
|
|
1865
1893
|
method: "POST";
|
|
1866
1894
|
body: zod.ZodObject<{
|
|
1867
1895
|
email: zod.ZodString;
|
|
1868
1896
|
otp: zod.ZodString;
|
|
1869
1897
|
password: zod.ZodString;
|
|
1870
|
-
},
|
|
1898
|
+
}, zod_v4_core0.$strip>;
|
|
1871
1899
|
metadata: {
|
|
1872
1900
|
openapi: {
|
|
1873
1901
|
operationId: string;
|
|
@@ -1894,13 +1922,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1894
1922
|
}, {
|
|
1895
1923
|
success: boolean;
|
|
1896
1924
|
}>;
|
|
1897
|
-
requestEmailChangeEmailOTP:
|
|
1925
|
+
requestEmailChangeEmailOTP: better_call0.StrictEndpoint<"/email-otp/request-email-change", {
|
|
1898
1926
|
method: "POST";
|
|
1899
1927
|
body: zod.ZodObject<{
|
|
1900
1928
|
newEmail: zod.ZodString;
|
|
1901
1929
|
otp: zod.ZodOptional<zod.ZodString>;
|
|
1902
|
-
},
|
|
1903
|
-
use: ((inputContext:
|
|
1930
|
+
}, zod_v4_core0.$strip>;
|
|
1931
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1904
1932
|
session: {
|
|
1905
1933
|
session: Record<string, any> & {
|
|
1906
1934
|
id: string;
|
|
@@ -1949,13 +1977,13 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
1949
1977
|
}, {
|
|
1950
1978
|
success: boolean;
|
|
1951
1979
|
}>;
|
|
1952
|
-
changeEmailEmailOTP:
|
|
1980
|
+
changeEmailEmailOTP: better_call0.StrictEndpoint<"/email-otp/change-email", {
|
|
1953
1981
|
method: "POST";
|
|
1954
1982
|
body: zod.ZodObject<{
|
|
1955
1983
|
newEmail: zod.ZodString;
|
|
1956
1984
|
otp: zod.ZodString;
|
|
1957
|
-
},
|
|
1958
|
-
use: ((inputContext:
|
|
1985
|
+
}, zod_v4_core0.$strip>;
|
|
1986
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
|
|
1959
1987
|
session: {
|
|
1960
1988
|
session: Record<string, any> & {
|
|
1961
1989
|
id: string;
|
|
@@ -2008,7 +2036,7 @@ declare function createAuth<TSchema extends TDatabaseSchema>(props: InitAuthProp
|
|
|
2008
2036
|
hooks: {
|
|
2009
2037
|
after: {
|
|
2010
2038
|
matcher(context: better_auth0.HookEndpointContext): boolean;
|
|
2011
|
-
handler: (inputContext:
|
|
2039
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>;
|
|
2012
2040
|
}[];
|
|
2013
2041
|
};
|
|
2014
2042
|
rateLimit: ({
|
|
@@ -2070,5 +2098,4 @@ declare const Auth: {
|
|
|
2070
2098
|
init: typeof createAuth;
|
|
2071
2099
|
};
|
|
2072
2100
|
//#endregion
|
|
2073
|
-
export { Auth, authCookiePrefix };
|
|
2074
|
-
//# sourceMappingURL=service.server.d.mts.map
|
|
2101
|
+
export { Auth, authCookiePrefix };
|
|
@@ -20,5 +20,4 @@ declare function AuthProvider<TAccessControl extends AccessControl, TRoles exten
|
|
|
20
20
|
authClient: ClientAuth<TAccessControl, TRoles>;
|
|
21
21
|
}>): react_jsx_runtime0.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { AuthClientContext, AuthProvider, useAuthClient };
|
|
24
|
-
//# sourceMappingURL=use-auth-client.d.mts.map
|
|
23
|
+
export { AuthClientContext, AuthProvider, useAuthClient };
|