@tulip-systems/core 0.4.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.mts +2 -2
- package/dist/auth/client.mjs +2 -2
- package/dist/commands/client.d.mts +3 -3
- package/dist/commands/client.mjs +3 -3
- package/dist/components/client.d.mts +3 -5
- package/dist/components/client.mjs +3 -5
- package/dist/components/common/icons.d.mts +52 -52
- package/dist/components/common/status.d.mts +3 -3
- package/dist/components/editor/components/content.client.d.mts +2 -2
- package/dist/components/editor/components/content.client.mjs +1 -1
- package/dist/components/editor/components/content.client.mjs.map +1 -1
- package/dist/components/editor/components/editor.client.d.mts +48 -0
- package/dist/components/editor/components/editor.client.d.mts.map +1 -0
- package/dist/components/editor/components/editor.client.mjs +53 -0
- package/dist/components/editor/components/editor.client.mjs.map +1 -0
- package/dist/components/editor/components/{block-dropdown.mjs → menu-nodes.client.mjs} +25 -15
- package/dist/components/editor/components/menu-nodes.client.mjs.map +1 -0
- package/dist/components/editor/components/menu.client.d.mts +10 -0
- package/dist/components/editor/components/menu.client.d.mts.map +1 -0
- package/dist/components/editor/components/menu.client.mjs +166 -0
- package/dist/components/editor/components/menu.client.mjs.map +1 -0
- package/dist/components/editor/lib/constants.d.mts +60 -0
- package/dist/components/editor/lib/constants.d.mts.map +1 -0
- package/dist/components/editor/lib/constants.mjs +90 -0
- package/dist/components/editor/lib/constants.mjs.map +1 -0
- package/dist/components/editor/lib/extensions.d.mts +65 -0
- package/dist/components/editor/lib/extensions.d.mts.map +1 -0
- package/dist/components/editor/lib/extensions.mjs +52 -0
- package/dist/components/editor/lib/extensions.mjs.map +1 -0
- package/dist/components/editor/lib/helpers.mjs +3 -3
- package/dist/components/editor/lib/helpers.mjs.map +1 -1
- package/dist/components/editor/lib/variants.mjs +8 -0
- package/dist/components/editor/lib/variants.mjs.map +1 -0
- package/dist/components/header/back-button.client.d.mts +2 -2
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- package/dist/components/header/header.client.d.mts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
- package/dist/components/header/top-bar.client.d.mts +4 -4
- package/dist/components/header/top-bar.client.mjs +1 -1
- package/dist/components/header/top-bar.client.mjs.map +1 -1
- package/dist/components/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-content.client.mjs +1 -1
- package/dist/components/layouts/admin-content.client.mjs.map +1 -1
- package/dist/components/layouts/admin-layout.d.mts +2 -2
- package/dist/components/layouts/admin-layout.d.mts.map +1 -1
- package/dist/components/layouts/admin-loading.d.mts +2 -2
- package/dist/components/layouts/empty-page.d.mts +4 -4
- package/dist/components/layouts/list-layout.d.mts +2 -2
- package/dist/components/layouts/not-found-page.d.mts +3 -3
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/root-layout.server.d.mts +4 -4
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
- package/dist/components/ui/accordion.d.mts +5 -5
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert.d.mts +6 -6
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/badge.d.mts +4 -4
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/breadcrumb.d.mts.map +1 -1
- package/dist/components/ui/button.d.mts +5 -5
- package/dist/components/ui/button.d.mts.map +1 -1
- package/dist/components/ui/calendar.d.mts +17 -4
- package/dist/components/ui/calendar.d.mts.map +1 -1
- package/dist/components/ui/calendar.mjs +90 -37
- package/dist/components/ui/calendar.mjs.map +1 -1
- package/dist/components/ui/card.d.mts +7 -7
- package/dist/components/ui/card.d.mts.map +1 -1
- package/dist/components/ui/carousel.d.mts +6 -6
- package/dist/components/ui/carousel.d.mts.map +1 -1
- package/dist/components/ui/chart.client.d.mts +5 -5
- package/dist/components/ui/checkbox.d.mts +2 -2
- package/dist/components/ui/checkbox.d.mts.map +1 -1
- package/dist/components/ui/collapsible.client.d.mts +4 -4
- package/dist/components/ui/color-picker.client.d.mts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
- package/dist/components/ui/combobox.client.d.mts +2 -2
- package/dist/components/ui/command.d.mts +10 -10
- package/dist/components/ui/command.d.mts.map +1 -1
- package/dist/components/ui/context-menu.d.mts +16 -16
- package/dist/components/ui/date-picker.client.d.mts +2 -2
- package/dist/components/ui/dialog.client.d.mts +11 -11
- package/dist/components/ui/drawer.client.d.mts +11 -11
- package/dist/components/ui/dropdown-menu.d.mts +16 -16
- package/dist/components/ui/form.client.d.mts +7 -7
- package/dist/components/ui/hover-card.client.d.mts +4 -4
- package/dist/components/ui/input-recipient.d.mts +3 -1
- package/dist/components/ui/input-recipient.d.mts.map +1 -1
- package/dist/components/ui/input-recipient.mjs +2 -2
- package/dist/components/ui/input-recipient.mjs.map +1 -1
- package/dist/components/ui/input.d.mts +2 -2
- package/dist/components/ui/label.d.mts +2 -2
- package/dist/components/ui/navigation-menu.d.mts +11 -11
- package/dist/components/ui/pagination.d.mts +8 -8
- package/dist/components/ui/popover.d.mts +5 -5
- package/dist/components/ui/progress.client.d.mts +2 -2
- package/dist/components/ui/radio-group.d.mts +3 -3
- package/dist/components/ui/resizable.client.d.mts +4 -4
- package/dist/components/ui/scroll-area.d.mts +3 -3
- package/dist/components/ui/select.client.d.mts +11 -11
- package/dist/components/ui/separator.d.mts +2 -2
- package/dist/components/ui/sheet.client.d.mts +9 -9
- package/dist/components/ui/sidebar.client.d.mts +26 -26
- package/dist/components/ui/skeleton.d.mts +2 -2
- package/dist/components/ui/slider.d.mts +2 -2
- package/dist/components/ui/sonner.client.d.mts +2 -2
- package/dist/components/ui/switch.d.mts +2 -2
- package/dist/components/ui/tabs.d.mts +5 -5
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/time-input.client.d.mts +2 -2
- package/dist/components/ui/toggle-group.client.d.mts +3 -3
- package/dist/components/ui/toggle.d.mts +4 -4
- package/dist/components/ui/toggle.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components/ui/tooltip.client.d.mts.map +1 -1
- package/dist/components.d.mts +2 -2
- package/dist/components.mjs +2 -2
- package/dist/config/server.d.mts +1 -2
- package/dist/config/server.mjs +1 -2
- package/dist/data-tables.d.mts +6 -5
- package/dist/data-tables.mjs +4 -3
- package/dist/inline-edit/client.d.mts +4 -4
- package/dist/inline-edit/client.mjs +3 -3
- package/dist/lib/hooks/use-action.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
- package/dist/lib.mjs +1 -1
- package/dist/modules/auth/components/allowed.client.d.mts +2 -2
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.mts +2 -2
- package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.d.mts +2 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.d.mts +247 -230
- package/dist/modules/auth/db/schema.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.mjs +12 -20
- package/dist/modules/auth/db/schema.mjs.map +1 -1
- package/dist/modules/auth/handler/client.client.d.mts +131 -131
- package/dist/modules/auth/handler/client.client.d.mts.map +1 -1
- package/dist/modules/auth/handler/client.client.mjs +10 -6
- package/dist/modules/auth/handler/client.client.mjs.map +1 -1
- package/dist/modules/auth/handler/init.d.mts +134 -131
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/handler/init.mjs +5 -2
- package/dist/modules/auth/handler/init.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.mts +2 -2
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +7 -2
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-session.d.mts +119 -3
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-session.mjs +15 -10
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
- package/dist/modules/auth/lib/helpers.server.d.mts +5 -5
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.d.mts +3 -3
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.mjs +1 -1
- package/dist/modules/auth/lib/validators.mjs.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.mjs +2 -2
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/click-command.client.d.mts +2 -2
- package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/click-command.client.mjs +2 -2
- package/dist/modules/commands/components/click-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.mts +18 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.mjs +12 -8
- package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.mjs +2 -2
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
- package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.mjs +2 -2
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +17 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs +42 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.d.mts +13 -8
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.mjs +10 -1
- package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -1
- package/dist/modules/config/db/helpers.d.mts +5 -5
- package/dist/modules/config/db/helpers.d.mts.map +1 -1
- package/dist/modules/config/lib/config.d.mts +3 -3
- package/dist/modules/config/lib/config.d.mts.map +1 -1
- package/dist/modules/config/lib/config.mjs.map +1 -1
- package/dist/modules/config/lib/context.d.mts +2 -2
- package/dist/modules/config/lib/context.d.mts.map +1 -1
- package/dist/modules/config/lib/context.mjs.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
- package/dist/modules/data-tables/components/column-header.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.mjs +5 -2
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
- package/dist/modules/data-tables/components/header.d.mts +4 -4
- package/dist/modules/data-tables/components/layout.d.mts +2 -2
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
- package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
- package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
- package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -1
- package/dist/modules/data-tables/components/table.d.mts +7 -7
- package/dist/modules/data-tables/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
- package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +13 -10
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts +2 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +1 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts +4 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/helpers.d.mts +11 -0
- package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/helpers.mjs +17 -0
- package/dist/modules/data-tables/lib/filters/helpers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts +7 -2
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs +6 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts +6 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +8 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/types.d.mts +8 -5
- package/dist/modules/data-tables/lib/types.d.mts.map +1 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +3 -3
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +5 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +7 -3
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +3 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.mjs +6 -2
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +6 -3
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.mjs +5 -3
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +7 -3
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.mjs +5 -3
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts +21 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs +37 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts +10 -7
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.mjs +13 -18
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +4 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +7 -3
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +3 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +3 -2
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.mts +18 -4
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.mjs +26 -5
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.mts +8 -6
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.mjs +3 -2
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.mts +1 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.mjs +3 -2
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.mts +1 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.mjs +3 -2
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/variants.d.mts +2 -2
- package/dist/modules/inline-edit/lib/variants.mjs +1 -1
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -1
- package/dist/modules/router/handler/context.server.d.mts +2 -2
- package/dist/modules/router/handler/context.server.d.mts.map +1 -1
- package/dist/modules/router/handler/init.server.d.mts +7 -7
- package/dist/modules/{uploads/components/dropzone/context.d.mts → storage/components/dropzone-context.client.d.mts} +2 -2
- package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -0
- package/dist/modules/{uploads/components/dropzone/context.mjs → storage/components/dropzone-context.client.mjs} +2 -2
- package/dist/modules/storage/components/dropzone-context.client.mjs.map +1 -0
- package/dist/modules/{uploads/components/dropzone/index.d.mts → storage/components/dropzone.client.d.mts} +6 -6
- package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -0
- package/dist/modules/{uploads/components/dropzone/index.mjs → storage/components/dropzone.client.mjs} +6 -6
- package/dist/modules/storage/components/dropzone.client.mjs.map +1 -0
- package/dist/modules/storage/components/image-grid.client.d.mts +26 -0
- package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -0
- package/dist/modules/storage/components/image-grid.client.mjs +169 -0
- package/dist/modules/storage/components/image-grid.client.mjs.map +1 -0
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +34 -0
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -0
- package/dist/modules/storage/components/upload-zone-context.client.mjs +21 -0
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -0
- package/dist/modules/storage/components/upload-zone.client.d.mts +51 -0
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -0
- package/dist/modules/storage/components/upload-zone.client.mjs +196 -0
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -0
- package/dist/modules/{uploads/lib → storage/config}/filters.d.mts +2 -2
- package/dist/modules/storage/config/filters.d.mts.map +1 -0
- package/dist/modules/{uploads/lib → storage/config}/filters.mjs +3 -3
- package/dist/modules/storage/config/filters.mjs.map +1 -0
- package/dist/modules/storage/lib/constants.d.mts +10 -0
- package/dist/modules/storage/lib/constants.d.mts.map +1 -0
- package/dist/modules/{uploads → storage}/lib/constants.mjs +3 -2
- package/dist/modules/storage/lib/constants.mjs.map +1 -0
- package/dist/modules/storage/lib/create-client.server.d.mts +11 -0
- package/dist/modules/storage/lib/create-client.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/create-client.server.mjs +11 -0
- package/dist/modules/storage/lib/create-client.server.mjs.map +1 -0
- package/dist/modules/storage/lib/helpers.d.mts +45 -0
- package/dist/modules/storage/lib/helpers.d.mts.map +1 -0
- package/dist/modules/{uploads → storage}/lib/helpers.mjs +20 -6
- package/dist/modules/storage/lib/helpers.mjs.map +1 -0
- package/dist/modules/storage/lib/proxy.server.d.mts +21 -0
- package/dist/modules/storage/lib/proxy.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/proxy.server.mjs +46 -0
- package/dist/modules/storage/lib/proxy.server.mjs.map +1 -0
- package/dist/modules/storage/lib/router.server.d.mts +29074 -0
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/router.server.mjs +84 -0
- package/dist/modules/storage/lib/router.server.mjs.map +1 -0
- package/dist/modules/{uploads → storage}/lib/schema.d.mts +414 -150
- package/dist/modules/storage/lib/schema.d.mts.map +1 -0
- package/dist/modules/{uploads → storage}/lib/schema.mjs +23 -18
- package/dist/modules/storage/lib/schema.mjs.map +1 -0
- package/dist/modules/storage/lib/service.server.d.mts +188 -0
- package/dist/modules/storage/lib/service.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/service.server.mjs +298 -0
- package/dist/modules/storage/lib/service.server.mjs.map +1 -0
- package/dist/modules/{uploads → storage}/lib/validators.d.mts +358 -53
- package/dist/modules/storage/lib/validators.d.mts.map +1 -0
- package/dist/modules/storage/lib/validators.mjs +106 -0
- package/dist/modules/storage/lib/validators.mjs.map +1 -0
- package/dist/storage/client.d.mts +6 -0
- package/dist/storage/client.mjs +14 -0
- package/dist/storage/client.mjs.map +1 -0
- package/dist/storage/server.d.mts +4 -0
- package/dist/storage/server.mjs +5 -0
- package/dist/storage.d.mts +6 -0
- package/dist/storage.mjs +7 -0
- package/package.json +32 -20
- package/src/components/editor/components/content.client.tsx +1 -1
- package/src/components/editor/components/editor.client.tsx +95 -0
- package/src/components/editor/components/{block-dropdown.tsx → menu-nodes.client.tsx} +17 -4
- package/src/components/editor/components/menu.client.tsx +214 -0
- package/src/components/editor/components/spinner.tsx +2 -2
- package/src/components/editor/lib/constants.ts +109 -0
- package/src/components/editor/lib/extensions.ts +195 -0
- package/src/components/editor/lib/helpers.ts +3 -3
- package/src/components/editor/lib/variants.ts +5 -0
- package/src/components/entry.client.ts +2 -4
- package/src/components/header/top-bar.client.tsx +1 -1
- package/src/components/layouts/admin-content.client.tsx +1 -1
- package/src/components/ui/calendar.tsx +152 -44
- package/src/components/ui/input-recipient.tsx +3 -0
- package/src/entry.ts +4 -4
- package/src/modules/auth/db/schema.ts +13 -21
- package/src/modules/auth/handler/client.client.ts +2 -0
- package/src/modules/auth/handler/init.ts +4 -1
- package/src/modules/auth/hooks/use-permission.ts +3 -2
- package/src/modules/auth/hooks/use-session.ts +16 -10
- package/src/modules/auth/lib/validators.ts +1 -1
- package/src/modules/commands/components/alert-dialog-command.client.tsx +2 -2
- package/src/modules/commands/components/click-command.client.tsx +2 -2
- package/src/modules/commands/components/dialog-command.client.tsx +20 -8
- package/src/modules/commands/components/dropdown-command.client.tsx +2 -2
- package/src/modules/commands/components/form-dialog-command.client.tsx +2 -2
- package/src/modules/commands/entry.client.ts +1 -1
- package/src/modules/commands/hooks/{use-command-action.client.tsx → use-command-mutation.client.tsx} +9 -47
- package/src/modules/commands/utils/delete-command.client.tsx +14 -2
- package/src/modules/config/db/create-client.ts +11 -4
- package/src/modules/config/entry.server.ts +0 -1
- package/src/modules/config/lib/config.ts +3 -3
- package/src/modules/config/lib/context.ts +2 -2
- package/src/modules/data-tables/components/filters/combobox.client.tsx +3 -3
- package/src/modules/data-tables/entry.ts +1 -1
- package/src/modules/data-tables/hooks/use-context.client.tsx +31 -13
- package/src/modules/data-tables/hooks/use-table.client.ts +6 -3
- package/src/modules/data-tables/lib/filters/config.ts +1 -0
- package/src/modules/data-tables/lib/filters/helpers.ts +19 -0
- package/src/modules/data-tables/lib/filters/parsers.ts +14 -1
- package/src/modules/data-tables/lib/filters/resolvers.ts +8 -0
- package/src/modules/data-tables/lib/types.ts +10 -3
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +1 -1
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +9 -2
- package/src/modules/inline-edit/components/combobox.client.tsx +8 -1
- package/src/modules/inline-edit/components/date-input.client.tsx +7 -3
- package/src/modules/inline-edit/components/date-picker.client.tsx +10 -3
- package/src/modules/inline-edit/components/deprecated-editor.client.tsx +48 -0
- package/src/modules/inline-edit/components/editor.client.tsx +32 -29
- package/src/modules/inline-edit/components/input-recipient.client.tsx +6 -2
- package/src/modules/inline-edit/components/input-toggle.client.tsx +2 -0
- package/src/modules/inline-edit/components/input.client.tsx +39 -0
- package/src/modules/inline-edit/components/select.client.tsx +9 -2
- package/src/modules/inline-edit/components/switch.client.tsx +2 -0
- package/src/modules/inline-edit/components/toggle.client.tsx +2 -0
- package/src/modules/inline-edit/entry.client.ts +1 -1
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +2 -2
- package/src/modules/inline-edit/lib/variants.ts +1 -1
- package/src/modules/{uploads/components/dropzone/index.tsx → storage/components/dropzone.client.tsx} +2 -2
- package/src/modules/storage/components/image-grid.client.tsx +225 -0
- package/src/modules/{uploads/components/button.client.tsx → storage/components/upload-button.client.tsx} +1 -1
- package/src/modules/storage/components/upload-zone-context.client.tsx +32 -0
- package/src/modules/storage/components/upload-zone.client.tsx +258 -0
- package/src/modules/{uploads/lib → storage/config}/filters.ts +2 -2
- package/src/modules/storage/entry.client.ts +12 -0
- package/src/modules/storage/entry.server.ts +6 -0
- package/src/modules/{uploads → storage}/entry.ts +1 -1
- package/src/modules/storage/lib/constants.ts +14 -0
- package/src/modules/storage/lib/create-client.server.ts +14 -0
- package/src/modules/{uploads → storage}/lib/helpers.ts +23 -9
- package/src/modules/storage/lib/proxy.server.ts +63 -0
- package/src/modules/storage/lib/router.server.ts +180 -0
- package/src/modules/{uploads → storage}/lib/schema.ts +34 -13
- package/src/modules/storage/lib/service.server.ts +476 -0
- package/src/modules/storage/lib/validators.ts +156 -0
- package/dist/components/editor/components/block-dropdown.mjs.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.d.mts +0 -7
- package/dist/components/editor/components/fixed-menu.client.d.mts.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.mjs +0 -134
- package/dist/components/editor/components/fixed-menu.client.mjs.map +0 -1
- package/dist/components/editor/context.client.d.mts +0 -33
- package/dist/components/editor/context.client.d.mts.map +0 -1
- package/dist/components/editor/context.client.mjs +0 -45
- package/dist/components/editor/context.client.mjs.map +0 -1
- package/dist/components/editor/index.client.d.mts +0 -11
- package/dist/components/editor/index.client.d.mts.map +0 -1
- package/dist/components/editor/index.client.mjs +0 -17
- package/dist/components/editor/index.client.mjs.map +0 -1
- package/dist/components/editor/preview.client.d.mts +0 -12
- package/dist/components/editor/preview.client.d.mts.map +0 -1
- package/dist/components/editor/preview.client.mjs +0 -19
- package/dist/components/editor/preview.client.mjs.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.d.mts +0 -22
- package/dist/modules/commands/hooks/use-command-action.client.d.mts.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.mjs +0 -74
- package/dist/modules/commands/hooks/use-command-action.client.mjs.map +0 -1
- package/dist/modules/config/providers/blob.d.mts +0 -10
- package/dist/modules/config/providers/blob.d.mts.map +0 -1
- package/dist/modules/config/providers/blob.mjs +0 -11
- package/dist/modules/config/providers/blob.mjs.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.d.mts +0 -15
- package/dist/modules/inline-edit/components/richtext.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.mjs +0 -31
- package/dist/modules/inline-edit/components/richtext.client.mjs.map +0 -1
- package/dist/modules/uploads/components/button.client.d.mts +0 -12
- package/dist/modules/uploads/components/button.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/button.client.mjs +0 -34
- package/dist/modules/uploads/components/button.client.mjs.map +0 -1
- package/dist/modules/uploads/components/dropzone/context.d.mts.map +0 -1
- package/dist/modules/uploads/components/dropzone/context.mjs.map +0 -1
- package/dist/modules/uploads/components/dropzone/index.d.mts.map +0 -1
- package/dist/modules/uploads/components/dropzone/index.mjs.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.d.mts +0 -11
- package/dist/modules/uploads/components/images/grid.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.mjs +0 -119
- package/dist/modules/uploads/components/images/grid.client.mjs.map +0 -1
- package/dist/modules/uploads/components/images/input.client.d.mts +0 -16
- package/dist/modules/uploads/components/images/input.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/images/input.client.mjs +0 -28
- package/dist/modules/uploads/components/images/input.client.mjs.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.d.mts +0 -16
- package/dist/modules/uploads/components/preview-dialog.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.mjs +0 -22
- package/dist/modules/uploads/components/preview-dialog.client.mjs.map +0 -1
- package/dist/modules/uploads/components/zone.client.d.mts +0 -21
- package/dist/modules/uploads/components/zone.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/zone.client.mjs +0 -38
- package/dist/modules/uploads/components/zone.client.mjs.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts +0 -34
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs +0 -101
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts +0 -39
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs +0 -20
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs.map +0 -1
- package/dist/modules/uploads/lib/constants.d.mts +0 -9
- package/dist/modules/uploads/lib/constants.d.mts.map +0 -1
- package/dist/modules/uploads/lib/constants.mjs.map +0 -1
- package/dist/modules/uploads/lib/filters.d.mts.map +0 -1
- package/dist/modules/uploads/lib/filters.mjs.map +0 -1
- package/dist/modules/uploads/lib/helpers.d.mts +0 -36
- package/dist/modules/uploads/lib/helpers.d.mts.map +0 -1
- package/dist/modules/uploads/lib/helpers.mjs.map +0 -1
- package/dist/modules/uploads/lib/procedures.server.d.mts +0 -13628
- package/dist/modules/uploads/lib/procedures.server.d.mts.map +0 -1
- package/dist/modules/uploads/lib/procedures.server.mjs +0 -176
- package/dist/modules/uploads/lib/procedures.server.mjs.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.d.mts +0 -54
- package/dist/modules/uploads/lib/proxy.server.d.mts.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.mjs +0 -97
- package/dist/modules/uploads/lib/proxy.server.mjs.map +0 -1
- package/dist/modules/uploads/lib/route.server.d.mts +0 -43
- package/dist/modules/uploads/lib/route.server.d.mts.map +0 -1
- package/dist/modules/uploads/lib/route.server.mjs +0 -70
- package/dist/modules/uploads/lib/route.server.mjs.map +0 -1
- package/dist/modules/uploads/lib/schema.d.mts.map +0 -1
- package/dist/modules/uploads/lib/schema.mjs.map +0 -1
- package/dist/modules/uploads/lib/validators.d.mts.map +0 -1
- package/dist/modules/uploads/lib/validators.mjs +0 -26
- package/dist/modules/uploads/lib/validators.mjs.map +0 -1
- package/dist/uploads/client.d.mts +0 -10
- package/dist/uploads/client.mjs +0 -11
- package/dist/uploads/server.d.mts +0 -4
- package/dist/uploads/server.mjs +0 -5
- package/dist/uploads.d.mts +0 -6
- package/dist/uploads.mjs +0 -7
- package/src/components/editor/components/fixed-menu.client.tsx +0 -143
- package/src/components/editor/context.client.tsx +0 -116
- package/src/components/editor/index.client.tsx +0 -13
- package/src/components/editor/preview.client.tsx +0 -13
- package/src/modules/config/providers/blob.ts +0 -11
- package/src/modules/inline-edit/components/richtext.client.tsx +0 -38
- package/src/modules/uploads/components/images/grid.client.tsx +0 -162
- package/src/modules/uploads/components/images/input.client.tsx +0 -34
- package/src/modules/uploads/components/preview-dialog.client.tsx +0 -21
- package/src/modules/uploads/components/zone.client.tsx +0 -56
- package/src/modules/uploads/entry.client.ts +0 -16
- package/src/modules/uploads/entry.server.ts +0 -6
- package/src/modules/uploads/hooks/use-upload-image.client.tsx +0 -131
- package/src/modules/uploads/hooks/use-upload-zone.client.ts +0 -44
- package/src/modules/uploads/lib/constants.ts +0 -10
- package/src/modules/uploads/lib/procedures.server.ts +0 -332
- package/src/modules/uploads/lib/proxy.server.ts +0 -139
- package/src/modules/uploads/lib/route.server.ts +0 -93
- package/src/modules/uploads/lib/validators.ts +0 -50
- /package/src/modules/{uploads/components/dropzone/context.tsx → storage/components/dropzone-context.client.tsx} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as drizzle_orm_pg_core1799 from "drizzle-orm/pg-core";
|
|
2
|
+
import * as drizzle_orm449 from "drizzle-orm";
|
|
3
3
|
|
|
4
|
-
//#region src/modules/
|
|
5
|
-
declare const nodeTypeEnum:
|
|
6
|
-
declare const nodeModeEnum:
|
|
4
|
+
//#region src/modules/storage/lib/schema.d.ts
|
|
5
|
+
declare const nodeTypeEnum: drizzle_orm_pg_core1799.PgEnum<["file", "folder"]>;
|
|
6
|
+
declare const nodeModeEnum: drizzle_orm_pg_core1799.PgEnum<["private", "public"]>;
|
|
7
7
|
/**
|
|
8
8
|
* Node table
|
|
9
9
|
*/
|
|
10
|
-
declare const nodes:
|
|
10
|
+
declare const nodes: drizzle_orm_pg_core1799.PgTableWithColumns<{
|
|
11
11
|
name: "nodes";
|
|
12
12
|
schema: undefined;
|
|
13
13
|
columns: {
|
|
14
|
-
name:
|
|
14
|
+
name: drizzle_orm_pg_core1799.PgColumn<{
|
|
15
15
|
name: "name";
|
|
16
16
|
tableName: "nodes";
|
|
17
17
|
dataType: "string";
|
|
@@ -28,7 +28,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
28
28
|
identity: undefined;
|
|
29
29
|
generated: undefined;
|
|
30
30
|
}, {}, {}>;
|
|
31
|
-
namespace:
|
|
31
|
+
namespace: drizzle_orm_pg_core1799.PgColumn<{
|
|
32
32
|
name: "namespace";
|
|
33
33
|
tableName: "nodes";
|
|
34
34
|
dataType: "string";
|
|
@@ -45,7 +45,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
45
45
|
identity: undefined;
|
|
46
46
|
generated: undefined;
|
|
47
47
|
}, {}, {}>;
|
|
48
|
-
type:
|
|
48
|
+
type: drizzle_orm_pg_core1799.PgColumn<{
|
|
49
49
|
name: "type";
|
|
50
50
|
tableName: "nodes";
|
|
51
51
|
dataType: "string";
|
|
@@ -62,7 +62,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
62
62
|
identity: undefined;
|
|
63
63
|
generated: undefined;
|
|
64
64
|
}, {}, {}>;
|
|
65
|
-
mode:
|
|
65
|
+
mode: drizzle_orm_pg_core1799.PgColumn<{
|
|
66
66
|
name: "mode";
|
|
67
67
|
tableName: "nodes";
|
|
68
68
|
dataType: "string";
|
|
@@ -79,7 +79,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
79
79
|
identity: undefined;
|
|
80
80
|
generated: undefined;
|
|
81
81
|
}, {}, {}>;
|
|
82
|
-
subtype:
|
|
82
|
+
subtype: drizzle_orm_pg_core1799.PgColumn<{
|
|
83
83
|
name: "subtype";
|
|
84
84
|
tableName: "nodes";
|
|
85
85
|
dataType: "string";
|
|
@@ -96,7 +96,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
96
96
|
identity: undefined;
|
|
97
97
|
generated: undefined;
|
|
98
98
|
}, {}, {}>;
|
|
99
|
-
size:
|
|
99
|
+
size: drizzle_orm_pg_core1799.PgColumn<{
|
|
100
100
|
name: "size";
|
|
101
101
|
tableName: "nodes";
|
|
102
102
|
dataType: "number";
|
|
@@ -113,7 +113,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
113
113
|
identity: undefined;
|
|
114
114
|
generated: undefined;
|
|
115
115
|
}, {}, {}>;
|
|
116
|
-
contentType:
|
|
116
|
+
contentType: drizzle_orm_pg_core1799.PgColumn<{
|
|
117
117
|
name: "contentType";
|
|
118
118
|
tableName: "nodes";
|
|
119
119
|
dataType: "string";
|
|
@@ -132,7 +132,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
132
132
|
}, {}, {
|
|
133
133
|
length: 255;
|
|
134
134
|
}>;
|
|
135
|
-
readonly:
|
|
135
|
+
readonly: drizzle_orm_pg_core1799.PgColumn<{
|
|
136
136
|
name: "readonly";
|
|
137
137
|
tableName: "nodes";
|
|
138
138
|
dataType: "boolean";
|
|
@@ -149,11 +149,11 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
149
149
|
identity: undefined;
|
|
150
150
|
generated: undefined;
|
|
151
151
|
}, {}, {}>;
|
|
152
|
-
createdBy:
|
|
152
|
+
createdBy: drizzle_orm_pg_core1799.PgColumn<{
|
|
153
153
|
name: "createdBy";
|
|
154
154
|
tableName: "nodes";
|
|
155
155
|
dataType: "string";
|
|
156
|
-
columnType: "
|
|
156
|
+
columnType: "PgUUID";
|
|
157
157
|
data: string;
|
|
158
158
|
driverParam: string;
|
|
159
159
|
notNull: false;
|
|
@@ -161,12 +161,12 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
161
161
|
isPrimaryKey: false;
|
|
162
162
|
isAutoincrement: false;
|
|
163
163
|
hasRuntimeDefault: false;
|
|
164
|
-
enumValues:
|
|
164
|
+
enumValues: undefined;
|
|
165
165
|
baseColumn: never;
|
|
166
166
|
identity: undefined;
|
|
167
167
|
generated: undefined;
|
|
168
168
|
}, {}, {}>;
|
|
169
|
-
isPending:
|
|
169
|
+
isPending: drizzle_orm_pg_core1799.PgColumn<{
|
|
170
170
|
name: "isPending";
|
|
171
171
|
tableName: "nodes";
|
|
172
172
|
dataType: "boolean";
|
|
@@ -183,7 +183,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
183
183
|
identity: undefined;
|
|
184
184
|
generated: undefined;
|
|
185
185
|
}, {}, {}>;
|
|
186
|
-
isDeleted:
|
|
186
|
+
isDeleted: drizzle_orm_pg_core1799.PgColumn<{
|
|
187
187
|
name: "isDeleted";
|
|
188
188
|
tableName: "nodes";
|
|
189
189
|
dataType: "boolean";
|
|
@@ -200,7 +200,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
200
200
|
identity: undefined;
|
|
201
201
|
generated: undefined;
|
|
202
202
|
}, {}, {}>;
|
|
203
|
-
parentId:
|
|
203
|
+
parentId: drizzle_orm_pg_core1799.PgColumn<{
|
|
204
204
|
name: "parentId";
|
|
205
205
|
tableName: "nodes";
|
|
206
206
|
dataType: "string";
|
|
@@ -217,7 +217,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
217
217
|
identity: undefined;
|
|
218
218
|
generated: undefined;
|
|
219
219
|
}, {}, {}>;
|
|
220
|
-
id:
|
|
220
|
+
id: drizzle_orm_pg_core1799.PgColumn<{
|
|
221
221
|
name: "id";
|
|
222
222
|
tableName: "nodes";
|
|
223
223
|
dataType: "string";
|
|
@@ -234,7 +234,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
234
234
|
identity: undefined;
|
|
235
235
|
generated: undefined;
|
|
236
236
|
}, {}, {}>;
|
|
237
|
-
createdAt:
|
|
237
|
+
createdAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
238
238
|
name: "createdAt";
|
|
239
239
|
tableName: "nodes";
|
|
240
240
|
dataType: "date";
|
|
@@ -251,7 +251,7 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
251
251
|
identity: undefined;
|
|
252
252
|
generated: undefined;
|
|
253
253
|
}, {}, {}>;
|
|
254
|
-
updatedAt:
|
|
254
|
+
updatedAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
255
255
|
name: "updatedAt";
|
|
256
256
|
tableName: "nodes";
|
|
257
257
|
dataType: "date";
|
|
@@ -271,23 +271,24 @@ declare const nodes: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
271
271
|
};
|
|
272
272
|
dialect: "pg";
|
|
273
273
|
}>;
|
|
274
|
-
declare const nodesRelations:
|
|
275
|
-
parent:
|
|
276
|
-
children:
|
|
277
|
-
urls:
|
|
274
|
+
declare const nodesRelations: drizzle_orm449.Relations<"nodes", {
|
|
275
|
+
parent: drizzle_orm449.One<"nodes", false>;
|
|
276
|
+
children: drizzle_orm449.Many<"nodes">;
|
|
277
|
+
urls: drizzle_orm449.Many<"node_presigned_urls">;
|
|
278
|
+
variants: drizzle_orm449.Many<"node_variants">;
|
|
278
279
|
}>;
|
|
279
280
|
/**
|
|
280
|
-
* Node
|
|
281
|
+
* Node variants table
|
|
281
282
|
*/
|
|
282
|
-
declare const
|
|
283
|
-
name: "
|
|
283
|
+
declare const nodeVariants: drizzle_orm_pg_core1799.PgTableWithColumns<{
|
|
284
|
+
name: "node_variants";
|
|
284
285
|
schema: undefined;
|
|
285
286
|
columns: {
|
|
286
|
-
|
|
287
|
-
name: "
|
|
288
|
-
tableName: "
|
|
287
|
+
nodeId: drizzle_orm_pg_core1799.PgColumn<{
|
|
288
|
+
name: "nodeId";
|
|
289
|
+
tableName: "node_variants";
|
|
289
290
|
dataType: "string";
|
|
290
|
-
columnType: "
|
|
291
|
+
columnType: "PgUUID";
|
|
291
292
|
data: string;
|
|
292
293
|
driverParam: string;
|
|
293
294
|
notNull: true;
|
|
@@ -295,69 +296,35 @@ declare const nodePresignedUrls: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
295
296
|
isPrimaryKey: false;
|
|
296
297
|
isAutoincrement: false;
|
|
297
298
|
hasRuntimeDefault: false;
|
|
298
|
-
enumValues:
|
|
299
|
+
enumValues: undefined;
|
|
299
300
|
baseColumn: never;
|
|
300
301
|
identity: undefined;
|
|
301
302
|
generated: undefined;
|
|
302
303
|
}, {}, {}>;
|
|
303
|
-
variant:
|
|
304
|
+
variant: drizzle_orm_pg_core1799.PgColumn<{
|
|
304
305
|
name: "variant";
|
|
305
|
-
tableName: "
|
|
306
|
-
dataType: "string";
|
|
307
|
-
columnType: "PgText";
|
|
308
|
-
data: "main" | "preview-640" | "preview-750" | "preview-828" | "preview-1080" | "preview-1200" | "preview-1920" | "preview-2048" | "preview-3840";
|
|
309
|
-
driverParam: string;
|
|
310
|
-
notNull: true;
|
|
311
|
-
hasDefault: false;
|
|
312
|
-
isPrimaryKey: false;
|
|
313
|
-
isAutoincrement: false;
|
|
314
|
-
hasRuntimeDefault: false;
|
|
315
|
-
enumValues: ["main", ...("preview-640" | "preview-750" | "preview-828" | "preview-1080" | "preview-1200" | "preview-1920" | "preview-2048" | "preview-3840")[]];
|
|
316
|
-
baseColumn: never;
|
|
317
|
-
identity: undefined;
|
|
318
|
-
generated: undefined;
|
|
319
|
-
}, {}, {}>;
|
|
320
|
-
disposition: drizzle_orm_pg_core847.PgColumn<{
|
|
321
|
-
name: "disposition";
|
|
322
|
-
tableName: "node_presigned_urls";
|
|
306
|
+
tableName: "node_variants";
|
|
323
307
|
dataType: "string";
|
|
324
308
|
columnType: "PgText";
|
|
325
|
-
data: "
|
|
309
|
+
data: "main" | `preview-${number}`;
|
|
326
310
|
driverParam: string;
|
|
327
311
|
notNull: true;
|
|
328
312
|
hasDefault: false;
|
|
329
313
|
isPrimaryKey: false;
|
|
330
314
|
isAutoincrement: false;
|
|
331
315
|
hasRuntimeDefault: false;
|
|
332
|
-
enumValues: ["
|
|
316
|
+
enumValues: ["main", ...`preview-${number}`[]];
|
|
333
317
|
baseColumn: never;
|
|
334
318
|
identity: undefined;
|
|
335
319
|
generated: undefined;
|
|
336
320
|
}, {}, {}>;
|
|
337
|
-
|
|
338
|
-
name: "
|
|
339
|
-
tableName: "
|
|
340
|
-
dataType: "
|
|
341
|
-
columnType: "
|
|
342
|
-
data:
|
|
343
|
-
driverParam: string;
|
|
344
|
-
notNull: true;
|
|
345
|
-
hasDefault: false;
|
|
346
|
-
isPrimaryKey: false;
|
|
347
|
-
isAutoincrement: false;
|
|
348
|
-
hasRuntimeDefault: false;
|
|
349
|
-
enumValues: undefined;
|
|
350
|
-
baseColumn: never;
|
|
351
|
-
identity: undefined;
|
|
352
|
-
generated: undefined;
|
|
353
|
-
}, {}, {}>;
|
|
354
|
-
nodeId: drizzle_orm_pg_core847.PgColumn<{
|
|
355
|
-
name: "nodeId";
|
|
356
|
-
tableName: "node_presigned_urls";
|
|
357
|
-
dataType: "string";
|
|
358
|
-
columnType: "PgUUID";
|
|
359
|
-
data: string;
|
|
360
|
-
driverParam: string;
|
|
321
|
+
width: drizzle_orm_pg_core1799.PgColumn<{
|
|
322
|
+
name: "width";
|
|
323
|
+
tableName: "node_variants";
|
|
324
|
+
dataType: "number";
|
|
325
|
+
columnType: "PgInteger";
|
|
326
|
+
data: number;
|
|
327
|
+
driverParam: string | number;
|
|
361
328
|
notNull: true;
|
|
362
329
|
hasDefault: false;
|
|
363
330
|
isPrimaryKey: false;
|
|
@@ -368,9 +335,9 @@ declare const nodePresignedUrls: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
368
335
|
identity: undefined;
|
|
369
336
|
generated: undefined;
|
|
370
337
|
}, {}, {}>;
|
|
371
|
-
id:
|
|
338
|
+
id: drizzle_orm_pg_core1799.PgColumn<{
|
|
372
339
|
name: "id";
|
|
373
|
-
tableName: "
|
|
340
|
+
tableName: "node_variants";
|
|
374
341
|
dataType: "string";
|
|
375
342
|
columnType: "PgUUID";
|
|
376
343
|
data: string;
|
|
@@ -385,9 +352,9 @@ declare const nodePresignedUrls: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
385
352
|
identity: undefined;
|
|
386
353
|
generated: undefined;
|
|
387
354
|
}, {}, {}>;
|
|
388
|
-
createdAt:
|
|
355
|
+
createdAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
389
356
|
name: "createdAt";
|
|
390
|
-
tableName: "
|
|
357
|
+
tableName: "node_variants";
|
|
391
358
|
dataType: "date";
|
|
392
359
|
columnType: "PgTimestamp";
|
|
393
360
|
data: Date;
|
|
@@ -402,9 +369,9 @@ declare const nodePresignedUrls: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
402
369
|
identity: undefined;
|
|
403
370
|
generated: undefined;
|
|
404
371
|
}, {}, {}>;
|
|
405
|
-
updatedAt:
|
|
372
|
+
updatedAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
406
373
|
name: "updatedAt";
|
|
407
|
-
tableName: "
|
|
374
|
+
tableName: "node_variants";
|
|
408
375
|
dataType: "date";
|
|
409
376
|
columnType: "PgTimestamp";
|
|
410
377
|
data: Date;
|
|
@@ -422,19 +389,19 @@ declare const nodePresignedUrls: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
422
389
|
};
|
|
423
390
|
dialect: "pg";
|
|
424
391
|
}>;
|
|
425
|
-
declare const
|
|
426
|
-
node:
|
|
392
|
+
declare const nodeVariantsRelations: drizzle_orm449.Relations<"node_variants", {
|
|
393
|
+
node: drizzle_orm449.One<"nodes", true>;
|
|
427
394
|
}>;
|
|
428
395
|
/**
|
|
429
|
-
*
|
|
396
|
+
* Node presigned urls table
|
|
430
397
|
*/
|
|
431
|
-
declare const
|
|
432
|
-
name: "
|
|
398
|
+
declare const nodePresignedUrls: drizzle_orm_pg_core1799.PgTableWithColumns<{
|
|
399
|
+
name: "node_presigned_urls";
|
|
433
400
|
schema: undefined;
|
|
434
401
|
columns: {
|
|
435
|
-
|
|
436
|
-
name: "
|
|
437
|
-
tableName: "
|
|
402
|
+
url: drizzle_orm_pg_core1799.PgColumn<{
|
|
403
|
+
name: "url";
|
|
404
|
+
tableName: "node_presigned_urls";
|
|
438
405
|
dataType: "string";
|
|
439
406
|
columnType: "PgText";
|
|
440
407
|
data: string;
|
|
@@ -449,49 +416,49 @@ declare const assets: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
449
416
|
identity: undefined;
|
|
450
417
|
generated: undefined;
|
|
451
418
|
}, {}, {}>;
|
|
452
|
-
|
|
453
|
-
name: "
|
|
454
|
-
tableName: "
|
|
419
|
+
variant: drizzle_orm_pg_core1799.PgColumn<{
|
|
420
|
+
name: "variant";
|
|
421
|
+
tableName: "node_presigned_urls";
|
|
455
422
|
dataType: "string";
|
|
456
423
|
columnType: "PgText";
|
|
457
|
-
data:
|
|
424
|
+
data: "main" | `preview-${number}`;
|
|
458
425
|
driverParam: string;
|
|
459
426
|
notNull: true;
|
|
460
427
|
hasDefault: false;
|
|
461
428
|
isPrimaryKey: false;
|
|
462
429
|
isAutoincrement: false;
|
|
463
430
|
hasRuntimeDefault: false;
|
|
464
|
-
enumValues: [
|
|
431
|
+
enumValues: ["main", ...`preview-${number}`[]];
|
|
465
432
|
baseColumn: never;
|
|
466
433
|
identity: undefined;
|
|
467
434
|
generated: undefined;
|
|
468
435
|
}, {}, {}>;
|
|
469
|
-
|
|
470
|
-
name: "
|
|
471
|
-
tableName: "
|
|
436
|
+
disposition: drizzle_orm_pg_core1799.PgColumn<{
|
|
437
|
+
name: "disposition";
|
|
438
|
+
tableName: "node_presigned_urls";
|
|
472
439
|
dataType: "string";
|
|
473
440
|
columnType: "PgText";
|
|
474
|
-
data:
|
|
441
|
+
data: "inline" | "attachment";
|
|
475
442
|
driverParam: string;
|
|
476
443
|
notNull: true;
|
|
477
444
|
hasDefault: false;
|
|
478
445
|
isPrimaryKey: false;
|
|
479
446
|
isAutoincrement: false;
|
|
480
447
|
hasRuntimeDefault: false;
|
|
481
|
-
enumValues: [
|
|
448
|
+
enumValues: ["inline", "attachment"];
|
|
482
449
|
baseColumn: never;
|
|
483
450
|
identity: undefined;
|
|
484
451
|
generated: undefined;
|
|
485
452
|
}, {}, {}>;
|
|
486
|
-
|
|
487
|
-
name: "
|
|
488
|
-
tableName: "
|
|
489
|
-
dataType: "
|
|
490
|
-
columnType: "
|
|
491
|
-
data:
|
|
492
|
-
driverParam: string
|
|
493
|
-
notNull:
|
|
494
|
-
hasDefault:
|
|
453
|
+
expiresAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
454
|
+
name: "expiresAt";
|
|
455
|
+
tableName: "node_presigned_urls";
|
|
456
|
+
dataType: "date";
|
|
457
|
+
columnType: "PgTimestamp";
|
|
458
|
+
data: Date;
|
|
459
|
+
driverParam: string;
|
|
460
|
+
notNull: true;
|
|
461
|
+
hasDefault: false;
|
|
495
462
|
isPrimaryKey: false;
|
|
496
463
|
isAutoincrement: false;
|
|
497
464
|
hasRuntimeDefault: false;
|
|
@@ -500,11 +467,28 @@ declare const assets: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
500
467
|
identity: undefined;
|
|
501
468
|
generated: undefined;
|
|
502
469
|
}, {}, {}>;
|
|
503
|
-
|
|
504
|
-
name: "
|
|
505
|
-
tableName: "
|
|
470
|
+
nodeId: drizzle_orm_pg_core1799.PgColumn<{
|
|
471
|
+
name: "nodeId";
|
|
472
|
+
tableName: "node_presigned_urls";
|
|
506
473
|
dataType: "string";
|
|
507
|
-
columnType: "
|
|
474
|
+
columnType: "PgUUID";
|
|
475
|
+
data: string;
|
|
476
|
+
driverParam: string;
|
|
477
|
+
notNull: true;
|
|
478
|
+
hasDefault: false;
|
|
479
|
+
isPrimaryKey: false;
|
|
480
|
+
isAutoincrement: false;
|
|
481
|
+
hasRuntimeDefault: false;
|
|
482
|
+
enumValues: undefined;
|
|
483
|
+
baseColumn: never;
|
|
484
|
+
identity: undefined;
|
|
485
|
+
generated: undefined;
|
|
486
|
+
}, {}, {}>;
|
|
487
|
+
variantId: drizzle_orm_pg_core1799.PgColumn<{
|
|
488
|
+
name: "variantId";
|
|
489
|
+
tableName: "node_presigned_urls";
|
|
490
|
+
dataType: "string";
|
|
491
|
+
columnType: "PgUUID";
|
|
508
492
|
data: string;
|
|
509
493
|
driverParam: string;
|
|
510
494
|
notNull: false;
|
|
@@ -512,16 +496,14 @@ declare const assets: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
512
496
|
isPrimaryKey: false;
|
|
513
497
|
isAutoincrement: false;
|
|
514
498
|
hasRuntimeDefault: false;
|
|
515
|
-
enumValues:
|
|
499
|
+
enumValues: undefined;
|
|
516
500
|
baseColumn: never;
|
|
517
501
|
identity: undefined;
|
|
518
502
|
generated: undefined;
|
|
519
|
-
}, {}, {
|
|
520
|
-
|
|
521
|
-
}>;
|
|
522
|
-
id: drizzle_orm_pg_core847.PgColumn<{
|
|
503
|
+
}, {}, {}>;
|
|
504
|
+
id: drizzle_orm_pg_core1799.PgColumn<{
|
|
523
505
|
name: "id";
|
|
524
|
-
tableName: "
|
|
506
|
+
tableName: "node_presigned_urls";
|
|
525
507
|
dataType: "string";
|
|
526
508
|
columnType: "PgUUID";
|
|
527
509
|
data: string;
|
|
@@ -536,9 +518,9 @@ declare const assets: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
536
518
|
identity: undefined;
|
|
537
519
|
generated: undefined;
|
|
538
520
|
}, {}, {}>;
|
|
539
|
-
createdAt:
|
|
521
|
+
createdAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
540
522
|
name: "createdAt";
|
|
541
|
-
tableName: "
|
|
523
|
+
tableName: "node_presigned_urls";
|
|
542
524
|
dataType: "date";
|
|
543
525
|
columnType: "PgTimestamp";
|
|
544
526
|
data: Date;
|
|
@@ -553,9 +535,9 @@ declare const assets: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
553
535
|
identity: undefined;
|
|
554
536
|
generated: undefined;
|
|
555
537
|
}, {}, {}>;
|
|
556
|
-
updatedAt:
|
|
538
|
+
updatedAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
557
539
|
name: "updatedAt";
|
|
558
|
-
tableName: "
|
|
540
|
+
tableName: "node_presigned_urls";
|
|
559
541
|
dataType: "date";
|
|
560
542
|
columnType: "PgTimestamp";
|
|
561
543
|
data: Date;
|
|
@@ -573,12 +555,18 @@ declare const assets: drizzle_orm_pg_core847.PgTableWithColumns<{
|
|
|
573
555
|
};
|
|
574
556
|
dialect: "pg";
|
|
575
557
|
}>;
|
|
558
|
+
declare const nodePresignedUrlsRelations: drizzle_orm449.Relations<"node_presigned_urls", {
|
|
559
|
+
node: drizzle_orm449.One<"nodes", true>;
|
|
560
|
+
}>;
|
|
561
|
+
/**
|
|
562
|
+
* Drive schema
|
|
563
|
+
**/
|
|
576
564
|
declare const driveSchema: {
|
|
577
|
-
nodes:
|
|
565
|
+
nodes: drizzle_orm_pg_core1799.PgTableWithColumns<{
|
|
578
566
|
name: "nodes";
|
|
579
567
|
schema: undefined;
|
|
580
568
|
columns: {
|
|
581
|
-
name:
|
|
569
|
+
name: drizzle_orm_pg_core1799.PgColumn<{
|
|
582
570
|
name: "name";
|
|
583
571
|
tableName: "nodes";
|
|
584
572
|
dataType: "string";
|
|
@@ -595,7 +583,7 @@ declare const driveSchema: {
|
|
|
595
583
|
identity: undefined;
|
|
596
584
|
generated: undefined;
|
|
597
585
|
}, {}, {}>;
|
|
598
|
-
namespace:
|
|
586
|
+
namespace: drizzle_orm_pg_core1799.PgColumn<{
|
|
599
587
|
name: "namespace";
|
|
600
588
|
tableName: "nodes";
|
|
601
589
|
dataType: "string";
|
|
@@ -612,7 +600,7 @@ declare const driveSchema: {
|
|
|
612
600
|
identity: undefined;
|
|
613
601
|
generated: undefined;
|
|
614
602
|
}, {}, {}>;
|
|
615
|
-
type:
|
|
603
|
+
type: drizzle_orm_pg_core1799.PgColumn<{
|
|
616
604
|
name: "type";
|
|
617
605
|
tableName: "nodes";
|
|
618
606
|
dataType: "string";
|
|
@@ -629,7 +617,7 @@ declare const driveSchema: {
|
|
|
629
617
|
identity: undefined;
|
|
630
618
|
generated: undefined;
|
|
631
619
|
}, {}, {}>;
|
|
632
|
-
mode:
|
|
620
|
+
mode: drizzle_orm_pg_core1799.PgColumn<{
|
|
633
621
|
name: "mode";
|
|
634
622
|
tableName: "nodes";
|
|
635
623
|
dataType: "string";
|
|
@@ -646,7 +634,7 @@ declare const driveSchema: {
|
|
|
646
634
|
identity: undefined;
|
|
647
635
|
generated: undefined;
|
|
648
636
|
}, {}, {}>;
|
|
649
|
-
subtype:
|
|
637
|
+
subtype: drizzle_orm_pg_core1799.PgColumn<{
|
|
650
638
|
name: "subtype";
|
|
651
639
|
tableName: "nodes";
|
|
652
640
|
dataType: "string";
|
|
@@ -663,7 +651,7 @@ declare const driveSchema: {
|
|
|
663
651
|
identity: undefined;
|
|
664
652
|
generated: undefined;
|
|
665
653
|
}, {}, {}>;
|
|
666
|
-
size:
|
|
654
|
+
size: drizzle_orm_pg_core1799.PgColumn<{
|
|
667
655
|
name: "size";
|
|
668
656
|
tableName: "nodes";
|
|
669
657
|
dataType: "number";
|
|
@@ -680,7 +668,7 @@ declare const driveSchema: {
|
|
|
680
668
|
identity: undefined;
|
|
681
669
|
generated: undefined;
|
|
682
670
|
}, {}, {}>;
|
|
683
|
-
contentType:
|
|
671
|
+
contentType: drizzle_orm_pg_core1799.PgColumn<{
|
|
684
672
|
name: "contentType";
|
|
685
673
|
tableName: "nodes";
|
|
686
674
|
dataType: "string";
|
|
@@ -699,7 +687,7 @@ declare const driveSchema: {
|
|
|
699
687
|
}, {}, {
|
|
700
688
|
length: 255;
|
|
701
689
|
}>;
|
|
702
|
-
readonly:
|
|
690
|
+
readonly: drizzle_orm_pg_core1799.PgColumn<{
|
|
703
691
|
name: "readonly";
|
|
704
692
|
tableName: "nodes";
|
|
705
693
|
dataType: "boolean";
|
|
@@ -716,11 +704,11 @@ declare const driveSchema: {
|
|
|
716
704
|
identity: undefined;
|
|
717
705
|
generated: undefined;
|
|
718
706
|
}, {}, {}>;
|
|
719
|
-
createdBy:
|
|
707
|
+
createdBy: drizzle_orm_pg_core1799.PgColumn<{
|
|
720
708
|
name: "createdBy";
|
|
721
709
|
tableName: "nodes";
|
|
722
710
|
dataType: "string";
|
|
723
|
-
columnType: "
|
|
711
|
+
columnType: "PgUUID";
|
|
724
712
|
data: string;
|
|
725
713
|
driverParam: string;
|
|
726
714
|
notNull: false;
|
|
@@ -728,12 +716,12 @@ declare const driveSchema: {
|
|
|
728
716
|
isPrimaryKey: false;
|
|
729
717
|
isAutoincrement: false;
|
|
730
718
|
hasRuntimeDefault: false;
|
|
731
|
-
enumValues:
|
|
719
|
+
enumValues: undefined;
|
|
732
720
|
baseColumn: never;
|
|
733
721
|
identity: undefined;
|
|
734
722
|
generated: undefined;
|
|
735
723
|
}, {}, {}>;
|
|
736
|
-
isPending:
|
|
724
|
+
isPending: drizzle_orm_pg_core1799.PgColumn<{
|
|
737
725
|
name: "isPending";
|
|
738
726
|
tableName: "nodes";
|
|
739
727
|
dataType: "boolean";
|
|
@@ -750,7 +738,7 @@ declare const driveSchema: {
|
|
|
750
738
|
identity: undefined;
|
|
751
739
|
generated: undefined;
|
|
752
740
|
}, {}, {}>;
|
|
753
|
-
isDeleted:
|
|
741
|
+
isDeleted: drizzle_orm_pg_core1799.PgColumn<{
|
|
754
742
|
name: "isDeleted";
|
|
755
743
|
tableName: "nodes";
|
|
756
744
|
dataType: "boolean";
|
|
@@ -767,7 +755,7 @@ declare const driveSchema: {
|
|
|
767
755
|
identity: undefined;
|
|
768
756
|
generated: undefined;
|
|
769
757
|
}, {}, {}>;
|
|
770
|
-
parentId:
|
|
758
|
+
parentId: drizzle_orm_pg_core1799.PgColumn<{
|
|
771
759
|
name: "parentId";
|
|
772
760
|
tableName: "nodes";
|
|
773
761
|
dataType: "string";
|
|
@@ -784,7 +772,7 @@ declare const driveSchema: {
|
|
|
784
772
|
identity: undefined;
|
|
785
773
|
generated: undefined;
|
|
786
774
|
}, {}, {}>;
|
|
787
|
-
id:
|
|
775
|
+
id: drizzle_orm_pg_core1799.PgColumn<{
|
|
788
776
|
name: "id";
|
|
789
777
|
tableName: "nodes";
|
|
790
778
|
dataType: "string";
|
|
@@ -801,7 +789,7 @@ declare const driveSchema: {
|
|
|
801
789
|
identity: undefined;
|
|
802
790
|
generated: undefined;
|
|
803
791
|
}, {}, {}>;
|
|
804
|
-
createdAt:
|
|
792
|
+
createdAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
805
793
|
name: "createdAt";
|
|
806
794
|
tableName: "nodes";
|
|
807
795
|
dataType: "date";
|
|
@@ -818,7 +806,7 @@ declare const driveSchema: {
|
|
|
818
806
|
identity: undefined;
|
|
819
807
|
generated: undefined;
|
|
820
808
|
}, {}, {}>;
|
|
821
|
-
updatedAt:
|
|
809
|
+
updatedAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
822
810
|
name: "updatedAt";
|
|
823
811
|
tableName: "nodes";
|
|
824
812
|
dataType: "date";
|
|
@@ -838,13 +826,289 @@ declare const driveSchema: {
|
|
|
838
826
|
};
|
|
839
827
|
dialect: "pg";
|
|
840
828
|
}>;
|
|
841
|
-
nodesRelations:
|
|
842
|
-
parent:
|
|
843
|
-
children:
|
|
844
|
-
urls:
|
|
829
|
+
nodesRelations: drizzle_orm449.Relations<"nodes", {
|
|
830
|
+
parent: drizzle_orm449.One<"nodes", false>;
|
|
831
|
+
children: drizzle_orm449.Many<"nodes">;
|
|
832
|
+
urls: drizzle_orm449.Many<"node_presigned_urls">;
|
|
833
|
+
variants: drizzle_orm449.Many<"node_variants">;
|
|
834
|
+
}>;
|
|
835
|
+
nodeVariants: drizzle_orm_pg_core1799.PgTableWithColumns<{
|
|
836
|
+
name: "node_variants";
|
|
837
|
+
schema: undefined;
|
|
838
|
+
columns: {
|
|
839
|
+
nodeId: drizzle_orm_pg_core1799.PgColumn<{
|
|
840
|
+
name: "nodeId";
|
|
841
|
+
tableName: "node_variants";
|
|
842
|
+
dataType: "string";
|
|
843
|
+
columnType: "PgUUID";
|
|
844
|
+
data: string;
|
|
845
|
+
driverParam: string;
|
|
846
|
+
notNull: true;
|
|
847
|
+
hasDefault: false;
|
|
848
|
+
isPrimaryKey: false;
|
|
849
|
+
isAutoincrement: false;
|
|
850
|
+
hasRuntimeDefault: false;
|
|
851
|
+
enumValues: undefined;
|
|
852
|
+
baseColumn: never;
|
|
853
|
+
identity: undefined;
|
|
854
|
+
generated: undefined;
|
|
855
|
+
}, {}, {}>;
|
|
856
|
+
variant: drizzle_orm_pg_core1799.PgColumn<{
|
|
857
|
+
name: "variant";
|
|
858
|
+
tableName: "node_variants";
|
|
859
|
+
dataType: "string";
|
|
860
|
+
columnType: "PgText";
|
|
861
|
+
data: "main" | `preview-${number}`;
|
|
862
|
+
driverParam: string;
|
|
863
|
+
notNull: true;
|
|
864
|
+
hasDefault: false;
|
|
865
|
+
isPrimaryKey: false;
|
|
866
|
+
isAutoincrement: false;
|
|
867
|
+
hasRuntimeDefault: false;
|
|
868
|
+
enumValues: ["main", ...`preview-${number}`[]];
|
|
869
|
+
baseColumn: never;
|
|
870
|
+
identity: undefined;
|
|
871
|
+
generated: undefined;
|
|
872
|
+
}, {}, {}>;
|
|
873
|
+
width: drizzle_orm_pg_core1799.PgColumn<{
|
|
874
|
+
name: "width";
|
|
875
|
+
tableName: "node_variants";
|
|
876
|
+
dataType: "number";
|
|
877
|
+
columnType: "PgInteger";
|
|
878
|
+
data: number;
|
|
879
|
+
driverParam: string | number;
|
|
880
|
+
notNull: true;
|
|
881
|
+
hasDefault: false;
|
|
882
|
+
isPrimaryKey: false;
|
|
883
|
+
isAutoincrement: false;
|
|
884
|
+
hasRuntimeDefault: false;
|
|
885
|
+
enumValues: undefined;
|
|
886
|
+
baseColumn: never;
|
|
887
|
+
identity: undefined;
|
|
888
|
+
generated: undefined;
|
|
889
|
+
}, {}, {}>;
|
|
890
|
+
id: drizzle_orm_pg_core1799.PgColumn<{
|
|
891
|
+
name: "id";
|
|
892
|
+
tableName: "node_variants";
|
|
893
|
+
dataType: "string";
|
|
894
|
+
columnType: "PgUUID";
|
|
895
|
+
data: string;
|
|
896
|
+
driverParam: string;
|
|
897
|
+
notNull: true;
|
|
898
|
+
hasDefault: true;
|
|
899
|
+
isPrimaryKey: true;
|
|
900
|
+
isAutoincrement: false;
|
|
901
|
+
hasRuntimeDefault: true;
|
|
902
|
+
enumValues: undefined;
|
|
903
|
+
baseColumn: never;
|
|
904
|
+
identity: undefined;
|
|
905
|
+
generated: undefined;
|
|
906
|
+
}, {}, {}>;
|
|
907
|
+
createdAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
908
|
+
name: "createdAt";
|
|
909
|
+
tableName: "node_variants";
|
|
910
|
+
dataType: "date";
|
|
911
|
+
columnType: "PgTimestamp";
|
|
912
|
+
data: Date;
|
|
913
|
+
driverParam: string;
|
|
914
|
+
notNull: true;
|
|
915
|
+
hasDefault: true;
|
|
916
|
+
isPrimaryKey: false;
|
|
917
|
+
isAutoincrement: false;
|
|
918
|
+
hasRuntimeDefault: false;
|
|
919
|
+
enumValues: undefined;
|
|
920
|
+
baseColumn: never;
|
|
921
|
+
identity: undefined;
|
|
922
|
+
generated: undefined;
|
|
923
|
+
}, {}, {}>;
|
|
924
|
+
updatedAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
925
|
+
name: "updatedAt";
|
|
926
|
+
tableName: "node_variants";
|
|
927
|
+
dataType: "date";
|
|
928
|
+
columnType: "PgTimestamp";
|
|
929
|
+
data: Date;
|
|
930
|
+
driverParam: string;
|
|
931
|
+
notNull: true;
|
|
932
|
+
hasDefault: true;
|
|
933
|
+
isPrimaryKey: false;
|
|
934
|
+
isAutoincrement: false;
|
|
935
|
+
hasRuntimeDefault: false;
|
|
936
|
+
enumValues: undefined;
|
|
937
|
+
baseColumn: never;
|
|
938
|
+
identity: undefined;
|
|
939
|
+
generated: undefined;
|
|
940
|
+
}, {}, {}>;
|
|
941
|
+
};
|
|
942
|
+
dialect: "pg";
|
|
943
|
+
}>;
|
|
944
|
+
nodeVariantsRelations: drizzle_orm449.Relations<"node_variants", {
|
|
945
|
+
node: drizzle_orm449.One<"nodes", true>;
|
|
946
|
+
}>;
|
|
947
|
+
nodePresignedUrls: drizzle_orm_pg_core1799.PgTableWithColumns<{
|
|
948
|
+
name: "node_presigned_urls";
|
|
949
|
+
schema: undefined;
|
|
950
|
+
columns: {
|
|
951
|
+
url: drizzle_orm_pg_core1799.PgColumn<{
|
|
952
|
+
name: "url";
|
|
953
|
+
tableName: "node_presigned_urls";
|
|
954
|
+
dataType: "string";
|
|
955
|
+
columnType: "PgText";
|
|
956
|
+
data: string;
|
|
957
|
+
driverParam: string;
|
|
958
|
+
notNull: true;
|
|
959
|
+
hasDefault: false;
|
|
960
|
+
isPrimaryKey: false;
|
|
961
|
+
isAutoincrement: false;
|
|
962
|
+
hasRuntimeDefault: false;
|
|
963
|
+
enumValues: [string, ...string[]];
|
|
964
|
+
baseColumn: never;
|
|
965
|
+
identity: undefined;
|
|
966
|
+
generated: undefined;
|
|
967
|
+
}, {}, {}>;
|
|
968
|
+
variant: drizzle_orm_pg_core1799.PgColumn<{
|
|
969
|
+
name: "variant";
|
|
970
|
+
tableName: "node_presigned_urls";
|
|
971
|
+
dataType: "string";
|
|
972
|
+
columnType: "PgText";
|
|
973
|
+
data: "main" | `preview-${number}`;
|
|
974
|
+
driverParam: string;
|
|
975
|
+
notNull: true;
|
|
976
|
+
hasDefault: false;
|
|
977
|
+
isPrimaryKey: false;
|
|
978
|
+
isAutoincrement: false;
|
|
979
|
+
hasRuntimeDefault: false;
|
|
980
|
+
enumValues: ["main", ...`preview-${number}`[]];
|
|
981
|
+
baseColumn: never;
|
|
982
|
+
identity: undefined;
|
|
983
|
+
generated: undefined;
|
|
984
|
+
}, {}, {}>;
|
|
985
|
+
disposition: drizzle_orm_pg_core1799.PgColumn<{
|
|
986
|
+
name: "disposition";
|
|
987
|
+
tableName: "node_presigned_urls";
|
|
988
|
+
dataType: "string";
|
|
989
|
+
columnType: "PgText";
|
|
990
|
+
data: "inline" | "attachment";
|
|
991
|
+
driverParam: string;
|
|
992
|
+
notNull: true;
|
|
993
|
+
hasDefault: false;
|
|
994
|
+
isPrimaryKey: false;
|
|
995
|
+
isAutoincrement: false;
|
|
996
|
+
hasRuntimeDefault: false;
|
|
997
|
+
enumValues: ["inline", "attachment"];
|
|
998
|
+
baseColumn: never;
|
|
999
|
+
identity: undefined;
|
|
1000
|
+
generated: undefined;
|
|
1001
|
+
}, {}, {}>;
|
|
1002
|
+
expiresAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
1003
|
+
name: "expiresAt";
|
|
1004
|
+
tableName: "node_presigned_urls";
|
|
1005
|
+
dataType: "date";
|
|
1006
|
+
columnType: "PgTimestamp";
|
|
1007
|
+
data: Date;
|
|
1008
|
+
driverParam: string;
|
|
1009
|
+
notNull: true;
|
|
1010
|
+
hasDefault: false;
|
|
1011
|
+
isPrimaryKey: false;
|
|
1012
|
+
isAutoincrement: false;
|
|
1013
|
+
hasRuntimeDefault: false;
|
|
1014
|
+
enumValues: undefined;
|
|
1015
|
+
baseColumn: never;
|
|
1016
|
+
identity: undefined;
|
|
1017
|
+
generated: undefined;
|
|
1018
|
+
}, {}, {}>;
|
|
1019
|
+
nodeId: drizzle_orm_pg_core1799.PgColumn<{
|
|
1020
|
+
name: "nodeId";
|
|
1021
|
+
tableName: "node_presigned_urls";
|
|
1022
|
+
dataType: "string";
|
|
1023
|
+
columnType: "PgUUID";
|
|
1024
|
+
data: string;
|
|
1025
|
+
driverParam: string;
|
|
1026
|
+
notNull: true;
|
|
1027
|
+
hasDefault: false;
|
|
1028
|
+
isPrimaryKey: false;
|
|
1029
|
+
isAutoincrement: false;
|
|
1030
|
+
hasRuntimeDefault: false;
|
|
1031
|
+
enumValues: undefined;
|
|
1032
|
+
baseColumn: never;
|
|
1033
|
+
identity: undefined;
|
|
1034
|
+
generated: undefined;
|
|
1035
|
+
}, {}, {}>;
|
|
1036
|
+
variantId: drizzle_orm_pg_core1799.PgColumn<{
|
|
1037
|
+
name: "variantId";
|
|
1038
|
+
tableName: "node_presigned_urls";
|
|
1039
|
+
dataType: "string";
|
|
1040
|
+
columnType: "PgUUID";
|
|
1041
|
+
data: string;
|
|
1042
|
+
driverParam: string;
|
|
1043
|
+
notNull: false;
|
|
1044
|
+
hasDefault: false;
|
|
1045
|
+
isPrimaryKey: false;
|
|
1046
|
+
isAutoincrement: false;
|
|
1047
|
+
hasRuntimeDefault: false;
|
|
1048
|
+
enumValues: undefined;
|
|
1049
|
+
baseColumn: never;
|
|
1050
|
+
identity: undefined;
|
|
1051
|
+
generated: undefined;
|
|
1052
|
+
}, {}, {}>;
|
|
1053
|
+
id: drizzle_orm_pg_core1799.PgColumn<{
|
|
1054
|
+
name: "id";
|
|
1055
|
+
tableName: "node_presigned_urls";
|
|
1056
|
+
dataType: "string";
|
|
1057
|
+
columnType: "PgUUID";
|
|
1058
|
+
data: string;
|
|
1059
|
+
driverParam: string;
|
|
1060
|
+
notNull: true;
|
|
1061
|
+
hasDefault: true;
|
|
1062
|
+
isPrimaryKey: true;
|
|
1063
|
+
isAutoincrement: false;
|
|
1064
|
+
hasRuntimeDefault: true;
|
|
1065
|
+
enumValues: undefined;
|
|
1066
|
+
baseColumn: never;
|
|
1067
|
+
identity: undefined;
|
|
1068
|
+
generated: undefined;
|
|
1069
|
+
}, {}, {}>;
|
|
1070
|
+
createdAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
1071
|
+
name: "createdAt";
|
|
1072
|
+
tableName: "node_presigned_urls";
|
|
1073
|
+
dataType: "date";
|
|
1074
|
+
columnType: "PgTimestamp";
|
|
1075
|
+
data: Date;
|
|
1076
|
+
driverParam: string;
|
|
1077
|
+
notNull: true;
|
|
1078
|
+
hasDefault: true;
|
|
1079
|
+
isPrimaryKey: false;
|
|
1080
|
+
isAutoincrement: false;
|
|
1081
|
+
hasRuntimeDefault: false;
|
|
1082
|
+
enumValues: undefined;
|
|
1083
|
+
baseColumn: never;
|
|
1084
|
+
identity: undefined;
|
|
1085
|
+
generated: undefined;
|
|
1086
|
+
}, {}, {}>;
|
|
1087
|
+
updatedAt: drizzle_orm_pg_core1799.PgColumn<{
|
|
1088
|
+
name: "updatedAt";
|
|
1089
|
+
tableName: "node_presigned_urls";
|
|
1090
|
+
dataType: "date";
|
|
1091
|
+
columnType: "PgTimestamp";
|
|
1092
|
+
data: Date;
|
|
1093
|
+
driverParam: string;
|
|
1094
|
+
notNull: true;
|
|
1095
|
+
hasDefault: true;
|
|
1096
|
+
isPrimaryKey: false;
|
|
1097
|
+
isAutoincrement: false;
|
|
1098
|
+
hasRuntimeDefault: false;
|
|
1099
|
+
enumValues: undefined;
|
|
1100
|
+
baseColumn: never;
|
|
1101
|
+
identity: undefined;
|
|
1102
|
+
generated: undefined;
|
|
1103
|
+
}, {}, {}>;
|
|
1104
|
+
};
|
|
1105
|
+
dialect: "pg";
|
|
1106
|
+
}>;
|
|
1107
|
+
nodePresignedUrlsRelations: drizzle_orm449.Relations<"node_presigned_urls", {
|
|
1108
|
+
node: drizzle_orm449.One<"nodes", true>;
|
|
845
1109
|
}>;
|
|
846
1110
|
};
|
|
847
1111
|
type DriveSchema = typeof driveSchema;
|
|
848
1112
|
//#endregion
|
|
849
|
-
export { DriveSchema,
|
|
1113
|
+
export { DriveSchema, nodeModeEnum, nodePresignedUrls, nodePresignedUrlsRelations, nodeTypeEnum, nodeVariants, nodeVariantsRelations, nodes, nodesRelations };
|
|
850
1114
|
//# sourceMappingURL=schema.d.mts.map
|