@tulip-systems/core 0.8.1 → 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 +810 -572
- 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 +1 -2
- 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 +1 -2
- 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 +2 -3
- 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 +1 -2
- package/dist/modules/storage/lib/schema.mjs +1 -2
- package/dist/modules/storage/lib/service.server.d.mts +10 -11
- 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 +1 -2
- 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 +67 -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
|
@@ -2,5 +2,4 @@
|
|
|
2
2
|
declare const imageDispositions: readonly ["inline", "attachment"];
|
|
3
3
|
type ImageDisposition = (typeof imageDispositions)[number];
|
|
4
4
|
//#endregion
|
|
5
|
-
export { ImageDisposition, imageDispositions };
|
|
6
|
-
//# sourceMappingURL=constants.d.mts.map
|
|
5
|
+
export { ImageDisposition, imageDispositions };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TDatabaseSchema } from "../../database/lib/types.mjs";
|
|
1
2
|
import { ProtectedRPCContext, RPCContext } from "../../router/handler/context.server.mjs";
|
|
2
3
|
import "../../../router/server.mjs";
|
|
3
4
|
import * as _orpc_server0 from "@orpc/server";
|
|
@@ -5,7 +6,6 @@ import { InferRouterInputs, InferRouterOutputs } from "@orpc/server";
|
|
|
5
6
|
import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
|
|
6
7
|
import * as drizzle_zod0 from "drizzle-zod";
|
|
7
8
|
import { z as z$1 } from "zod";
|
|
8
|
-
import { TDatabaseSchema } from "@/modules/config/db/types";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/storage/lib/procedures.server.d.ts
|
|
11
11
|
declare function createStorageProcedures<TSchema extends TDatabaseSchema>(): {
|
|
@@ -1987,5 +1987,4 @@ type StorageRouter = ReturnType<typeof createStorageProcedures>;
|
|
|
1987
1987
|
type StorageRouterOutputs = InferRouterOutputs<StorageRouter>;
|
|
1988
1988
|
type StorageRouterInputs = InferRouterInputs<StorageRouter>;
|
|
1989
1989
|
//#endregion
|
|
1990
|
-
export { StorageRouter, StorageRouterInputs, StorageRouterOutputs, createStorageProcedures };
|
|
1991
|
-
//# sourceMappingURL=procedures.server.d.mts.map
|
|
1990
|
+
export { StorageRouter, StorageRouterInputs, StorageRouterOutputs, createStorageProcedures };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TDatabaseSchema } from "../../database/lib/types.mjs";
|
|
1
2
|
import { TulipContext } from "../../config/lib/context.mjs";
|
|
2
3
|
import { NextRequest } from "next/server";
|
|
3
|
-
import { TDatabaseSchema } from "@/modules/config/db/types";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/storage/lib/router-handlers.server.d.ts
|
|
6
6
|
type RouteCtx = {
|
|
@@ -37,5 +37,4 @@ declare function createStorageRouteHandler<TSchema extends TDatabaseSchema>({
|
|
|
37
37
|
DELETE: () => Promise<Response>;
|
|
38
38
|
};
|
|
39
39
|
//#endregion
|
|
40
|
-
export { createStorageRouteHandler };
|
|
41
|
-
//# sourceMappingURL=router-handlers.server.d.mts.map
|
|
40
|
+
export { createStorageRouteHandler };
|
|
@@ -288,5 +288,4 @@ declare const storageAssets: drizzle_orm_pg_core0.PgTableWithColumns<{
|
|
|
288
288
|
dialect: "pg";
|
|
289
289
|
}>;
|
|
290
290
|
//#endregion
|
|
291
|
-
export { storageAssetStatusEnum, storageAssetVisibilityEnum, storageAssets };
|
|
292
|
-
//# sourceMappingURL=schema.d.mts.map
|
|
291
|
+
export { storageAssetStatusEnum, storageAssetVisibilityEnum, storageAssets };
|
|
@@ -34,5 +34,4 @@ const storageAssets = pgTable("storage_assets", (t) => ({
|
|
|
34
34
|
]);
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
export { storageAssetStatusEnum, storageAssetVisibilityEnum, storageAssets };
|
|
38
|
-
//# sourceMappingURL=schema.mjs.map
|
|
37
|
+
export { storageAssetStatusEnum, storageAssetVisibilityEnum, storageAssets };
|
|
@@ -1915,19 +1915,19 @@ declare class Storage<TSchema extends TDatabaseSchema> {
|
|
|
1915
1915
|
*/
|
|
1916
1916
|
presignUpload(props: PresignUploadInput): Promise<{
|
|
1917
1917
|
presignedUrl: string;
|
|
1918
|
-
key: string;
|
|
1919
1918
|
id: string;
|
|
1920
1919
|
createdAt: Date;
|
|
1921
1920
|
updatedAt: Date;
|
|
1922
1921
|
name: string | null;
|
|
1922
|
+
key: string;
|
|
1923
1923
|
metadata: unknown;
|
|
1924
1924
|
provider: "s3";
|
|
1925
|
-
status: "error" | "pending" | "ready";
|
|
1926
|
-
size: number | null;
|
|
1927
1925
|
uploadId: string;
|
|
1928
1926
|
visibility: "private" | "public";
|
|
1927
|
+
size: number | null;
|
|
1929
1928
|
contentType: string | null;
|
|
1930
1929
|
bucket: string;
|
|
1930
|
+
status: "error" | "pending" | "ready";
|
|
1931
1931
|
etag: string | null;
|
|
1932
1932
|
uploadedAt: Date;
|
|
1933
1933
|
deletedAt: Date | null;
|
|
@@ -2164,19 +2164,19 @@ declare class Storage<TSchema extends TDatabaseSchema> {
|
|
|
2164
2164
|
* @returns The purged asset record, or null if not found
|
|
2165
2165
|
*/
|
|
2166
2166
|
purgeAsset(input: string): Promise<{
|
|
2167
|
-
key: string;
|
|
2168
2167
|
id: string;
|
|
2169
2168
|
createdAt: Date;
|
|
2170
2169
|
updatedAt: Date;
|
|
2171
2170
|
name: string | null;
|
|
2171
|
+
key: string;
|
|
2172
2172
|
metadata: unknown;
|
|
2173
2173
|
provider: "s3";
|
|
2174
|
-
status: "error" | "pending" | "ready";
|
|
2175
|
-
size: number | null;
|
|
2176
2174
|
uploadId: string;
|
|
2177
2175
|
visibility: "private" | "public";
|
|
2176
|
+
size: number | null;
|
|
2178
2177
|
contentType: string | null;
|
|
2179
2178
|
bucket: string;
|
|
2179
|
+
status: "error" | "pending" | "ready";
|
|
2180
2180
|
etag: string | null;
|
|
2181
2181
|
uploadedAt: Date;
|
|
2182
2182
|
deletedAt: Date | null;
|
|
@@ -2195,24 +2195,23 @@ declare class Storage<TSchema extends TDatabaseSchema> {
|
|
|
2195
2195
|
* @throws {ServerError} If provider deletion fails
|
|
2196
2196
|
*/
|
|
2197
2197
|
purgeAssets(input: string[]): Promise<{
|
|
2198
|
-
key: string;
|
|
2199
2198
|
id: string;
|
|
2200
2199
|
createdAt: Date;
|
|
2201
2200
|
updatedAt: Date;
|
|
2202
2201
|
name: string | null;
|
|
2202
|
+
key: string;
|
|
2203
2203
|
metadata: unknown;
|
|
2204
2204
|
provider: "s3";
|
|
2205
|
-
status: "error" | "pending" | "ready";
|
|
2206
|
-
size: number | null;
|
|
2207
2205
|
uploadId: string;
|
|
2208
2206
|
visibility: "private" | "public";
|
|
2207
|
+
size: number | null;
|
|
2209
2208
|
contentType: string | null;
|
|
2210
2209
|
bucket: string;
|
|
2210
|
+
status: "error" | "pending" | "ready";
|
|
2211
2211
|
etag: string | null;
|
|
2212
2212
|
uploadedAt: Date;
|
|
2213
2213
|
deletedAt: Date | null;
|
|
2214
2214
|
}[]>;
|
|
2215
2215
|
}
|
|
2216
2216
|
//#endregion
|
|
2217
|
-
export { Storage, StorageConfig };
|
|
2218
|
-
//# sourceMappingURL=service.server.d.mts.map
|
|
2217
|
+
export { Storage, StorageConfig };
|
|
@@ -54,5 +54,4 @@ type CreateStorageClientProps = {
|
|
|
54
54
|
*/
|
|
55
55
|
declare function createUploadClient(props: CreateStorageClientProps): UploadClient;
|
|
56
56
|
//#endregion
|
|
57
|
-
export { PrepareUploadInput, UploadClient, UploadFileRequest, UploadHooks, createUploadClient };
|
|
58
|
-
//# sourceMappingURL=upload.client.d.mts.map
|
|
57
|
+
export { PrepareUploadInput, UploadClient, UploadFileRequest, UploadHooks, createUploadClient };
|
|
@@ -932,5 +932,4 @@ declare const getAssetURLSchema: z$1.ZodObject<{
|
|
|
932
932
|
type GetAssetURLInput = z$1.input<typeof getAssetURLSchema>;
|
|
933
933
|
type GetAssetURLSchema = z$1.infer<typeof getAssetURLSchema>;
|
|
934
934
|
//#endregion
|
|
935
|
-
export { ConfirmUploadInput, CreateStorageAssetInput, CreateStorageAssetSchema, GetAssetURLInput, GetAssetURLSchema, PresignUploadInput, PresignUploadOutput, SelectStorageAssetSchema, StorageAsset, StorageAssetVisibility, UpdateStorageAssetInput, UpdateStorageAssetSchema, UploadInput, confirmUploadInputSchema, createStorageAssetSchema, getAssetURLSchema, presignUploadInputSchema, presignUploadOutputSchema, selectStorageAssetSchema, storageAssetVisibilitySchema, updateStorageAssetSchema, uploadInputSchema };
|
|
936
|
-
//# sourceMappingURL=validators.d.mts.map
|
|
935
|
+
export { ConfirmUploadInput, CreateStorageAssetInput, CreateStorageAssetSchema, GetAssetURLInput, GetAssetURLSchema, PresignUploadInput, PresignUploadOutput, SelectStorageAssetSchema, StorageAsset, StorageAssetVisibility, UpdateStorageAssetInput, UpdateStorageAssetSchema, UploadInput, confirmUploadInputSchema, createStorageAssetSchema, getAssetURLSchema, presignUploadInputSchema, presignUploadOutputSchema, selectStorageAssetSchema, storageAssetVisibilitySchema, updateStorageAssetSchema, uploadInputSchema };
|
|
@@ -49,5 +49,4 @@ const confirmUploadInputSchema = z$1.uuid().describe("The upload id of the pendi
|
|
|
49
49
|
const getAssetURLSchema = z$1.object({ disposition: z$1.enum(imageDispositions).optional().default(getObjectOptionsDefaults.disposition) });
|
|
50
50
|
|
|
51
51
|
//#endregion
|
|
52
|
-
export { confirmUploadInputSchema, createStorageAssetSchema, getAssetURLSchema, presignUploadInputSchema, presignUploadOutputSchema, selectStorageAssetSchema, storageAssetVisibilitySchema, updateStorageAssetSchema, uploadInputSchema };
|
|
53
|
-
//# sourceMappingURL=validators.mjs.map
|
|
52
|
+
export { confirmUploadInputSchema, createStorageAssetSchema, getAssetURLSchema, presignUploadInputSchema, presignUploadOutputSchema, selectStorageAssetSchema, storageAssetVisibilitySchema, updateStorageAssetSchema, uploadInputSchema };
|
|
@@ -15,5 +15,4 @@ type StorageS3AdapterConfig = S3ClientConfig & {
|
|
|
15
15
|
*/
|
|
16
16
|
declare function storageS3Adapter(config: StorageS3AdapterConfig): StorageAdapter;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { StorageS3AdapterConfig, storageS3Adapter };
|
|
19
|
-
//# sourceMappingURL=s3.server.d.mts.map
|
|
18
|
+
export { StorageS3AdapterConfig, storageS3Adapter };
|
|
@@ -8,5 +8,4 @@ declare class StorageAdapterError extends Error {
|
|
|
8
8
|
constructor(code: StorageAdapterErrorCode, message: string, options?: ErrorOptions);
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
|
-
export { StorageAdapterError, StorageAdapterErrorCode };
|
|
12
|
-
//# sourceMappingURL=errors.d.mts.map
|
|
11
|
+
export { StorageAdapterError, StorageAdapterErrorCode };
|
|
@@ -108,5 +108,4 @@ declare const putObjectOutputSchema: z$1.ZodObject<{
|
|
|
108
108
|
}, z$1.core.$strip>;
|
|
109
109
|
type PutObjectOutput = z$1.infer<typeof putObjectOutputSchema>;
|
|
110
110
|
//#endregion
|
|
111
|
-
export { GetObjectInput, GetObjectOptions, GetObjectOutput, GetObjectURLOptions, HeadObjectInput, HeadObjectOutput, ObjectBodyInput, ObjectBodyOutput, ObjectSchema, PutObjectInput, PutObjectOutput, PutObjectURLInput, PutObjectURLOptions, getObjectInputSchema, getObjectOptionsDefaults, getObjectOptionsSchema, getObjectOutputSchema, getObjectURLOptionsSchema, headObjectInputSchema, headObjectOutputSchema, objectBodyInputSchema, objectBodyOutputSchema, objectSchema, putObjectInputSchema, putObjectOutputSchema, putObjectURLInputSchema, putObjectURLOptionsSchema };
|
|
112
|
-
//# sourceMappingURL=validators.d.mts.map
|
|
111
|
+
export { GetObjectInput, GetObjectOptions, GetObjectOutput, GetObjectURLOptions, HeadObjectInput, HeadObjectOutput, ObjectBodyInput, ObjectBodyOutput, ObjectSchema, PutObjectInput, PutObjectOutput, PutObjectURLInput, PutObjectURLOptions, getObjectInputSchema, getObjectOptionsDefaults, getObjectOptionsSchema, getObjectOutputSchema, getObjectURLOptionsSchema, headObjectInputSchema, headObjectOutputSchema, objectBodyInputSchema, objectBodyOutputSchema, objectSchema, putObjectInputSchema, putObjectOutputSchema, putObjectURLInputSchema, putObjectURLOptionsSchema };
|
|
@@ -71,5 +71,4 @@ const putObjectInputSchema = putObjectURLInputSchema.extend({ body: objectBodyIn
|
|
|
71
71
|
const putObjectOutputSchema = objectSchema;
|
|
72
72
|
|
|
73
73
|
//#endregion
|
|
74
|
-
export { getObjectInputSchema, getObjectOptionsDefaults, getObjectOptionsSchema, getObjectOutputSchema, getObjectURLOptionsSchema, headObjectInputSchema, headObjectOutputSchema, objectBodyInputSchema, objectBodyOutputSchema, objectSchema, putObjectInputSchema, putObjectOutputSchema, putObjectURLInputSchema, putObjectURLOptionsSchema };
|
|
75
|
-
//# sourceMappingURL=validators.mjs.map
|
|
74
|
+
export { getObjectInputSchema, getObjectOptionsDefaults, getObjectOptionsSchema, getObjectOutputSchema, getObjectURLOptionsSchema, headObjectInputSchema, headObjectOutputSchema, objectBodyInputSchema, objectBodyOutputSchema, objectSchema, putObjectInputSchema, putObjectOutputSchema, putObjectURLInputSchema, putObjectURLOptionsSchema };
|
package/package.json
CHANGED
|
@@ -1,105 +1,108 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tulip-systems/core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"devDependencies": {
|
|
8
|
+
"@arethetypeswrong/core": "^0.18.2",
|
|
8
9
|
"@types/markdown-it": "^14.1.2",
|
|
9
|
-
"@types/pg": "^8.
|
|
10
|
+
"@types/pg": "^8.20.0",
|
|
10
11
|
"@types/react": "19.2.14",
|
|
11
12
|
"@types/react-dom": "19.2.3",
|
|
12
13
|
"aws-sdk-client-mock": "^4.1.0",
|
|
13
14
|
"aws-sdk-client-mock-vitest": "^7.0.1",
|
|
14
|
-
"
|
|
15
|
+
"publint": "^0.3.20",
|
|
16
|
+
"tailwindcss": "^4.3.0",
|
|
15
17
|
"tsdown": "^0.20.3",
|
|
16
18
|
"tw-animate-css": "^1.4.0",
|
|
17
19
|
"typescript": "5.9.3",
|
|
18
|
-
"
|
|
19
|
-
"vitest": "^4.1.
|
|
20
|
+
"unrun": "^0.3.0",
|
|
21
|
+
"vitest": "^4.1.5",
|
|
20
22
|
"@tulip-systems/typescript-config": "0.0.0"
|
|
21
23
|
},
|
|
22
24
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/client-s3": "^3.
|
|
24
|
-
"@aws-sdk/s3-request-presigner": "^3.
|
|
25
|
+
"@aws-sdk/client-s3": "^3.1045.0",
|
|
26
|
+
"@aws-sdk/s3-request-presigner": "^3.1045.0",
|
|
27
|
+
"@better-auth/core": "^1.6.10",
|
|
25
28
|
"@dnd-kit/core": "^6.3.1",
|
|
26
29
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
27
30
|
"@dnd-kit/sortable": "^10.0.0",
|
|
28
31
|
"@dnd-kit/utilities": "^3.2.2",
|
|
29
32
|
"@hookform/resolvers": "^5.2.2",
|
|
30
|
-
"@orpc/client": "^1.
|
|
31
|
-
"@orpc/contract": "^1.
|
|
32
|
-
"@orpc/server": "^1.
|
|
33
|
-
"@orpc/tanstack-query": "^1.
|
|
34
|
-
"@react-
|
|
35
|
-
"@tanstack/react-query": "^5.
|
|
36
|
-
"@tanstack/react-query-devtools": "^5.91.3",
|
|
33
|
+
"@orpc/client": "^1.14.2",
|
|
34
|
+
"@orpc/contract": "^1.14.2",
|
|
35
|
+
"@orpc/server": "^1.14.2",
|
|
36
|
+
"@orpc/tanstack-query": "^1.14.2",
|
|
37
|
+
"@tanstack/react-query": "^5.100.9",
|
|
38
|
+
"@tanstack/react-query-devtools": "^5.100.9",
|
|
37
39
|
"@tanstack/react-table": "^8.21.3",
|
|
38
|
-
"@tanstack/react-virtual": "^3.13.
|
|
39
|
-
"@tiptap/core": "^3.
|
|
40
|
-
"@tiptap/extension-blockquote": "^3.
|
|
41
|
-
"@tiptap/extension-bold": "^3.
|
|
42
|
-
"@tiptap/extension-color": "^3.
|
|
43
|
-
"@tiptap/extension-document": "^3.
|
|
44
|
-
"@tiptap/extension-file-handler": "^3.
|
|
45
|
-
"@tiptap/extension-hard-break": "^3.
|
|
46
|
-
"@tiptap/extension-heading": "^3.
|
|
47
|
-
"@tiptap/extension-highlight": "^3.
|
|
48
|
-
"@tiptap/extension-horizontal-rule": "^3.
|
|
49
|
-
"@tiptap/extension-image": "^3.
|
|
50
|
-
"@tiptap/extension-italic": "^3.
|
|
51
|
-
"@tiptap/extension-link": "^3.
|
|
52
|
-
"@tiptap/extension-list": "^3.
|
|
53
|
-
"@tiptap/extension-paragraph": "^3.
|
|
54
|
-
"@tiptap/extension-strike": "^3.
|
|
55
|
-
"@tiptap/extension-text": "^3.
|
|
56
|
-
"@tiptap/extension-text-style": "^3.
|
|
57
|
-
"@tiptap/extension-underline": "^3.
|
|
58
|
-
"@tiptap/extensions": "^3.
|
|
59
|
-
"@tiptap/html": "^3.
|
|
60
|
-
"@tiptap/pm": "^3.
|
|
61
|
-
"@tiptap/react": "^3.
|
|
62
|
-
"@tiptap/static-renderer": "^3.
|
|
40
|
+
"@tanstack/react-virtual": "^3.13.24",
|
|
41
|
+
"@tiptap/core": "^3.23.1",
|
|
42
|
+
"@tiptap/extension-blockquote": "^3.23.1",
|
|
43
|
+
"@tiptap/extension-bold": "^3.23.1",
|
|
44
|
+
"@tiptap/extension-color": "^3.23.1",
|
|
45
|
+
"@tiptap/extension-document": "^3.23.1",
|
|
46
|
+
"@tiptap/extension-file-handler": "^3.23.1",
|
|
47
|
+
"@tiptap/extension-hard-break": "^3.23.1",
|
|
48
|
+
"@tiptap/extension-heading": "^3.23.1",
|
|
49
|
+
"@tiptap/extension-highlight": "^3.23.1",
|
|
50
|
+
"@tiptap/extension-horizontal-rule": "^3.23.1",
|
|
51
|
+
"@tiptap/extension-image": "^3.23.1",
|
|
52
|
+
"@tiptap/extension-italic": "^3.23.1",
|
|
53
|
+
"@tiptap/extension-link": "^3.23.1",
|
|
54
|
+
"@tiptap/extension-list": "^3.23.1",
|
|
55
|
+
"@tiptap/extension-paragraph": "^3.23.1",
|
|
56
|
+
"@tiptap/extension-strike": "^3.23.1",
|
|
57
|
+
"@tiptap/extension-text": "^3.23.1",
|
|
58
|
+
"@tiptap/extension-text-style": "^3.23.1",
|
|
59
|
+
"@tiptap/extension-underline": "^3.23.1",
|
|
60
|
+
"@tiptap/extensions": "^3.23.1",
|
|
61
|
+
"@tiptap/html": "^3.23.1",
|
|
62
|
+
"@tiptap/pm": "^3.23.1",
|
|
63
|
+
"@tiptap/react": "^3.23.1",
|
|
64
|
+
"@tiptap/static-renderer": "^3.23.1",
|
|
65
|
+
"better-call": "1.3.2",
|
|
63
66
|
"class-variance-authority": "^0.7.1",
|
|
64
67
|
"client-only": "^0.0.1",
|
|
65
68
|
"clsx": "^2.1.1",
|
|
66
69
|
"cmdk": "1.1.1",
|
|
67
70
|
"date-fns": "^4.1.0",
|
|
68
71
|
"deepmerge": "^4.3.1",
|
|
69
|
-
"drizzle-orm": "^0.45.
|
|
72
|
+
"drizzle-orm": "^0.45.2",
|
|
70
73
|
"drizzle-zod": "^0.8.3",
|
|
71
74
|
"embla-carousel-react": "^8.6.0",
|
|
72
|
-
"lucide-react": "^
|
|
75
|
+
"lucide-react": "^1.14.0",
|
|
73
76
|
"markdown-it": "^14.1.1",
|
|
74
|
-
"motion": "^12.
|
|
77
|
+
"motion": "^12.38.0",
|
|
75
78
|
"next-themes": "^0.4.6",
|
|
76
79
|
"radix-ui": "^1.4.3",
|
|
77
|
-
"react-colorful": "^5.
|
|
80
|
+
"react-colorful": "^5.7.0",
|
|
78
81
|
"react-day-picker": "9.13.2",
|
|
79
82
|
"react-dropzone": "^15.0.0",
|
|
80
|
-
"react-email": "^
|
|
81
|
-
"react-hook-form": "^7.
|
|
82
|
-
"react-hotkeys-hook": "^5.2
|
|
83
|
-
"react-resizable-panels": "^4.
|
|
84
|
-
"resend": "^6.
|
|
83
|
+
"react-email": "^6.1.1",
|
|
84
|
+
"react-hook-form": "^7.75.0",
|
|
85
|
+
"react-hotkeys-hook": "^5.3.2",
|
|
86
|
+
"react-resizable-panels": "^4.11.0",
|
|
87
|
+
"resend": "^6.12.3",
|
|
85
88
|
"server-cli-only": "^0.3.2",
|
|
86
89
|
"server-only": "^0.0.1",
|
|
87
90
|
"sonner": "^2.0.7",
|
|
88
|
-
"tailwind-merge": "^3.
|
|
89
|
-
"use-debounce": "^10.1.
|
|
90
|
-
"uuid": "^
|
|
91
|
+
"tailwind-merge": "^3.6.0",
|
|
92
|
+
"use-debounce": "^10.1.1",
|
|
93
|
+
"uuid": "^14.0.0",
|
|
91
94
|
"vaul": "^1.1.2",
|
|
92
|
-
"zod": "^4.3
|
|
95
|
+
"zod": "^4.4.3"
|
|
93
96
|
},
|
|
94
97
|
"peerDependencies": {
|
|
95
|
-
"@better-auth/passkey": "^1.
|
|
98
|
+
"@better-auth/passkey": "^1.6.10",
|
|
96
99
|
"@tailwindcss/typography": "^0.5.19",
|
|
97
|
-
"better-auth": "^1.
|
|
98
|
-
"next": "16.
|
|
99
|
-
"nuqs": "2.8.
|
|
100
|
-
"pg": "8.
|
|
101
|
-
"react": "19.2.
|
|
102
|
-
"react-dom": "19.2.
|
|
100
|
+
"better-auth": "^1.6.10",
|
|
101
|
+
"next": "16.2.6",
|
|
102
|
+
"nuqs": "2.8.9",
|
|
103
|
+
"pg": "8.20.0",
|
|
104
|
+
"react": "19.2.6",
|
|
105
|
+
"react-dom": "19.2.6",
|
|
103
106
|
"recharts": "2.15.4",
|
|
104
107
|
"sharp": "^0.34.5"
|
|
105
108
|
},
|
|
@@ -150,14 +153,15 @@
|
|
|
150
153
|
"./package.json": "./package.json",
|
|
151
154
|
"./styles.css": "./src/styles.css"
|
|
152
155
|
},
|
|
153
|
-
"types": "./dist/components.d.ts",
|
|
154
156
|
"scripts": {
|
|
155
|
-
"dev": "tsdown --config
|
|
156
|
-
"build": "tsdown --config
|
|
157
|
+
"dev": "tsdown --config tsdown.config.ts --config-loader unrun --watch",
|
|
158
|
+
"build": "tsdown --config tsdown.config.ts --config-loader unrun",
|
|
159
|
+
"release:build": "pnpm run build",
|
|
157
160
|
"lint": "biome check",
|
|
158
161
|
"format": "biome format --write",
|
|
159
|
-
"
|
|
162
|
+
"typecheck": "tsc --noEmit",
|
|
160
163
|
"test": "vitest",
|
|
164
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
161
165
|
"ui:add": "pnpm dlx shadcn@latest add",
|
|
162
166
|
"email": "email dev --port 9090 --dir src/components/emails"
|
|
163
167
|
}
|
|
@@ -2,8 +2,8 @@ import "server-cli-only";
|
|
|
2
2
|
|
|
3
3
|
import { eq } from "drizzle-orm";
|
|
4
4
|
import { headers } from "next/headers";
|
|
5
|
-
import type { TDatabaseSchema } from "@/modules/config/db/types";
|
|
6
5
|
import type { TulipContext } from "@/modules/config/entry";
|
|
6
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
7
7
|
import { ServerError } from "@/modules/router/lib/error.server";
|
|
8
8
|
import { users } from "../entry";
|
|
9
9
|
import type { CreateUserSchema, UpdateUserSchema } from "./validators";
|
|
@@ -3,7 +3,7 @@ import "server-cli-only";
|
|
|
3
3
|
import { and, type DBQueryConfig, getTableName, isTable, type SQL } from "drizzle-orm";
|
|
4
4
|
import type { PgTable } from "drizzle-orm/pg-core";
|
|
5
5
|
import type { RelationalQueryBuilder } from "drizzle-orm/pg-core/query-builders/query";
|
|
6
|
-
import type { TDatabaseSchema } from "@/modules/
|
|
6
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
7
7
|
import type { TulipContext } from "@/modules/config/entry";
|
|
8
8
|
import { convertCursorToQueryParams } from "../lib/converters/cursor";
|
|
9
9
|
import {
|
|
@@ -2,8 +2,8 @@ import "server-cli-only";
|
|
|
2
2
|
|
|
3
3
|
import { headers as headersList } from "next/headers";
|
|
4
4
|
import { cache } from "react";
|
|
5
|
-
import type { TDatabaseSchema } from "@/modules/config/db/types";
|
|
6
5
|
import type { TulipContext } from "@/modules/config/entry";
|
|
6
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Create the router context
|
|
@@ -2,7 +2,7 @@ import "server-cli-only";
|
|
|
2
2
|
|
|
3
3
|
import { os } from "@orpc/server";
|
|
4
4
|
import type { Permission } from "@/modules/auth/lib/permissions";
|
|
5
|
-
import type { TDatabaseSchema } from "@/modules/
|
|
5
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
6
6
|
import { ServerError } from "../lib/error.server";
|
|
7
7
|
import type { ProtectedRPCContext, RPCContext } from "./context.server";
|
|
8
8
|
|
|
@@ -39,6 +39,7 @@ export function initRPC<TSchema extends TDatabaseSchema>() {
|
|
|
39
39
|
*/
|
|
40
40
|
return os.$context<ProtectedRPCContext<TSchema>>().middleware(async (opts) => {
|
|
41
41
|
const { success, error } = await opts.context.auth.api.userHasPermission({
|
|
42
|
+
headers: opts.context.headers,
|
|
42
43
|
body: {
|
|
43
44
|
userId: opts.context.session.user.id,
|
|
44
45
|
permissions,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { onError } from "@orpc/client";
|
|
2
2
|
import type { AnyRouter } from "@orpc/server";
|
|
3
3
|
import { RPCHandler } from "@orpc/server/fetch";
|
|
4
|
-
import type { TDatabaseSchema } from "@/modules/config/db/types";
|
|
5
4
|
import type { TulipContext } from "@/modules/config/lib/context";
|
|
5
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
6
6
|
import { createRPCContext } from "./context.server";
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InferRouterInputs, InferRouterOutputs } from "@orpc/server";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import type { TDatabaseSchema } from "@/modules/
|
|
3
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
4
4
|
import { initRPC } from "@/modules/router/handler/init.server";
|
|
5
5
|
import {
|
|
6
6
|
confirmUploadInputSchema,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { connection, type NextRequest } from "next/server";
|
|
2
2
|
import z from "zod";
|
|
3
3
|
import { getSession } from "@/modules/auth/lib/helpers.server";
|
|
4
|
-
import type { TDatabaseSchema } from "@/modules/config/db/types";
|
|
5
4
|
import type { TulipContext } from "@/modules/config/lib/context";
|
|
5
|
+
import type { TDatabaseSchema } from "@/modules/database/lib/types";
|
|
6
6
|
import { ServerError } from "@/modules/router/lib/error.server";
|
|
7
7
|
import { getAssetURLSchema } from "../entry";
|
|
8
8
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.mts","names":[],"sources":["../../../src/components/common/icons.tsx"],"mappings":";;;;;KAsDY,IAAA,GAAO,UAAA;AAAA,cAEN,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAkDG,WAAA,KAAW,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.mjs","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":["import {\n AlertTriangle,\n ArchiveIcon,\n ArchiveRestore,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n BuildingIcon,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n ClipboardCheck,\n Copy,\n CreditCard,\n Download,\n ExternalLink,\n EyeIcon,\n File,\n FileText,\n HelpCircle,\n HomeIcon,\n Image,\n Laptop,\n LayoutDashboardIcon,\n Loader2,\n LockKeyhole,\n LockKeyholeOpen,\n type LucideIcon,\n type LucideProps,\n Mail,\n Moon,\n MoreVertical,\n MoveLeft,\n MoveRight,\n PencilRuler,\n PenSquare,\n Pizza,\n Plus,\n RefreshCcw,\n RotateCw,\n SaveIcon,\n ScrollTextIcon,\n Search,\n Settings,\n SunMedium,\n Trash,\n User,\n UsersIcon,\n X,\n} from \"lucide-react\";\n\nexport type Icon = LucideIcon;\n\nexport const Icons = {\n close: X,\n save: SaveIcon,\n spinner: Loader2,\n chevronLeft: ChevronLeft,\n chevronRight: ChevronRight,\n chevronDown: ChevronDown,\n chevronUp: ChevronUp,\n trash: Trash,\n post: FileText,\n page: File,\n media: Image,\n download: Download,\n settings: Settings,\n billing: CreditCard,\n ellipsis: MoreVertical,\n add: Plus,\n edit: PenSquare,\n warning: AlertTriangle,\n user: User,\n users: UsersIcon,\n arrowUp: ArrowUp,\n arrowDown: ArrowDown,\n arrowRight: ArrowRight,\n arrowLeft: ArrowLeft,\n moveLeft: MoveLeft,\n moveRight: MoveRight,\n help: HelpCircle,\n pizza: Pizza,\n check: Check,\n copy: Copy,\n copyDone: ClipboardCheck,\n refresh: RotateCw,\n preview: EyeIcon,\n externalLink: ExternalLink,\n sun: SunMedium,\n lock: LockKeyhole,\n unLock: LockKeyholeOpen,\n moon: Moon,\n search: Search,\n laptop: Laptop,\n active: RefreshCcw,\n draft: PencilRuler,\n archive: ArchiveIcon,\n restore: ArchiveRestore,\n dashboard: LayoutDashboardIcon,\n regulations: ScrollTextIcon,\n home: HomeIcon,\n mail: Mail,\n building: BuildingIcon,\n logo: (props: LucideProps) => (\n <svg viewBox=\"0 0 120.09 141.73\" {...props}>\n <title>Tulip Logo Icon</title>\n <defs>\n <linearGradient\n id=\"tulip-logo-icon-gradient\"\n x1=\"60.5\"\n y1=\"0\"\n x2=\"60.5\"\n y2=\"141.73\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#ffc754\" />\n <stop offset=\"1\" stopColor=\"#ff1800\" />\n </linearGradient>\n <linearGradient\n id=\"tulip-logo-icon-gradient-2\"\n x1=\"72.4\"\n y1=\"5.81\"\n x2=\"72.4\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n <linearGradient\n id=\"tulip-logo-icon-gradient-3\"\n x1=\"47.69\"\n y1=\"5.81\"\n x2=\"47.69\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n </defs>\n\n <g>\n <g>\n <path\n d=\"M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-2)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-3)\",\n opacity: 0.75,\n }}\n />\n </g>\n </g>\n </svg>\n ),\n};\n"],"mappings":";;;;AAwDA,MAAa,QAAQ;CACnB,OAAO;CACP,MAAM;CACN,SAAS;CACT,aAAa;CACb,cAAc;CACd,aAAa;CACb,WAAW;CACX,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,UAAU;CACV,UAAU;CACV,SAAS;CACT,UAAU;CACV,KAAK;CACL,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,SAAS;CACT,WAAW;CACX,YAAY;CACZ,WAAW;CACX,UAAU;CACV,WAAW;CACX,MAAM;CACN,OAAO;CACP,OAAO;CACP,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;CACT,cAAc;CACd,KAAK;CACL,MAAM;CACN,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,SAAS;CACT,SAAS;CACT,WAAW;CACX,aAAa;CACb,MAAM;CACN,MAAM;CACN,UAAU;CACV,OAAO,UACL,qBAAC;EAAI,SAAQ;EAAoB,GAAI;;GACnC,oBAAC,qBAAM,oBAAuB;GAC9B,qBAAC;IACC,qBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,eAAc;gBAEd,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY,EACvC,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY;MACxB;IACjB,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;IACF,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;OACG;GAEP,oBAAC,iBACC,qBAAC;IACC,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;OACA,GACF;;GACA;CAET"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.mts","names":[],"sources":["../../../src/components/common/status.tsx"],"mappings":";;;;;;;cAOa,kBAAA,2BAA8C,MAAA,EAAQ,cAAA,CAAe,OAAA,QAAU,cAAA,CAAA,OAAA;;;;;;;iBAS5E,UAAA;EAA6B,KAAA;AAAA,EAAA,CAC3C,MAAA,EAAQ,OAAA,IACR,MAAA,WACC,OAAA;;;;;;iBASa,oBAAA,wBAAA,CACd,MAAA;EAAU,KAAA,EAAO,OAAA;EAAS,SAAA;AAAA,MACzB,MAAA,CAAO,OAAA;;;;KAaE,0BAAA;EACV,MAAA,EAAQ,OAAA;AAAA;;;;KAML,oBAAA;EACH,MAAA,EAAQ,cAAA,CAAe,OAAA;EACvB,QAAA,GAAW,KAAA;IAAS,MAAA,EAAQ,OAAA;EAAA;EAC5B,MAAA,EAAQ,OAAA;AAAA;;;;iBAMM,WAAA,wBAAA,CAAoC,KAAA,EAAO,oBAAA,CAAqB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;iBAexE,WAAA,wBAAA,CAAoC,KAAA,EAAO,oBAAA,CAAqB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|