@tulip-systems/core 0.5.2 → 0.5.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 +2 -2
- 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/editor.client.d.mts +2 -2
- package/dist/components/editor/components/editor.client.mjs +2 -2
- package/dist/components/editor/components/editor.client.mjs.map +1 -1
- package/dist/components/editor/components/menu.client.d.mts +3 -3
- package/dist/components/editor/components/menu.client.mjs +3 -0
- package/dist/components/editor/components/menu.client.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/extension.d.mts +21 -0
- package/dist/components/editor/extensions/file-handler/extension.d.mts.map +1 -0
- package/dist/components/editor/extensions/file-handler/extension.mjs +40 -0
- package/dist/components/editor/extensions/file-handler/extension.mjs.map +1 -0
- package/dist/components/editor/extensions/file-handler/strategy.d.mts +29 -0
- package/dist/components/editor/extensions/file-handler/strategy.d.mts.map +1 -0
- package/dist/components/editor/extensions/file-handler/strategy.mjs +111 -0
- package/dist/components/editor/extensions/file-handler/strategy.mjs.map +1 -0
- package/dist/components/editor/extensions/file-handler/utils.mjs +50 -0
- package/dist/components/editor/extensions/file-handler/utils.mjs.map +1 -0
- package/dist/components/editor/extensions/image/extension.d.mts +8 -0
- package/dist/components/editor/extensions/image/extension.d.mts.map +1 -0
- package/dist/components/editor/extensions/image/extension.mjs +52 -0
- package/dist/components/editor/extensions/image/extension.mjs.map +1 -0
- package/dist/components/editor/extensions/skeleton/extension.mjs +41 -0
- package/dist/components/editor/extensions/skeleton/extension.mjs.map +1 -0
- package/dist/components/editor/extensions/skeleton/renderer.mjs +25 -0
- package/dist/components/editor/extensions/skeleton/renderer.mjs.map +1 -0
- package/dist/components/editor/lib/constants.d.mts +29 -26
- package/dist/components/editor/lib/constants.d.mts.map +1 -1
- package/dist/components/editor/lib/constants.mjs +14 -2
- package/dist/components/editor/lib/constants.mjs.map +1 -1
- package/dist/components/editor/lib/extensions.d.mts +5 -1
- package/dist/components/editor/lib/extensions.d.mts.map +1 -1
- package/dist/components/editor/lib/extensions.mjs.map +1 -1
- package/dist/components/editor/lib/variants.mjs +10 -2
- package/dist/components/editor/lib/variants.mjs.map +1 -1
- 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/layouts/admin-content.client.d.mts +2 -2
- 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 +2 -2
- 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/lists/data-stack.d.mts.map +1 -1
- 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/accordion.d.mts.map +1 -1
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert-dialog.d.mts.map +1 -1
- package/dist/components/ui/alert.d.mts +4 -4
- package/dist/components/ui/alert.d.mts.map +1 -1
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/badge.d.mts +2 -2
- package/dist/components/ui/badge.d.mts.map +1 -1
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/breadcrumb.d.mts.map +1 -1
- package/dist/components/ui/button.d.mts +2 -2
- package/dist/components/ui/button.d.mts.map +1 -1
- package/dist/components/ui/calendar.d.mts +3 -3
- package/dist/components/ui/calendar.d.mts.map +1 -1
- package/dist/components/ui/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/context-menu.d.mts.map +1 -1
- 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 +2 -2
- 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 +9 -9
- package/dist/components/ui/pagination.d.mts +8 -8
- package/dist/components/ui/popover.d.mts +5 -5
- package/dist/components/ui/popover.d.mts.map +1 -1
- 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 +24 -24
- 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 +2 -2
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components.d.mts +2 -1
- package/dist/components.mjs +3 -2
- package/dist/data-tables.d.mts +2 -2
- package/dist/data-tables.mjs +2 -2
- package/dist/inline-edit/client.d.mts +2 -3
- package/dist/inline-edit/client.mjs +1 -2
- package/dist/lib/client.d.mts +2 -2
- package/dist/lib/client.mjs +2 -2
- package/dist/lib/hooks/use-action.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts +11 -3
- package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
- package/dist/lib/hooks/use-indicator.mjs +19 -8
- package/dist/lib/hooks/use-indicator.mjs.map +1 -1
- package/dist/modules/auth/components/allowed.client.d.mts +2 -2
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
- package/dist/modules/auth/components/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/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 +73 -73
- package/dist/modules/auth/db/schema.d.mts.map +1 -1
- package/dist/modules/auth/handler/client.client.d.mts +6 -6
- package/dist/modules/auth/hooks/use-permission.d.mts +2 -2
- package/dist/modules/auth/hooks/use-session.d.mts +4 -4
- package/dist/modules/auth/lib/validators.d.mts +2 -2
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/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/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 +8 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.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/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/hooks/use-command-mutation.client.d.mts +2 -2
- 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 +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts.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/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/column-header.d.mts.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
- 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/header.d.mts.map +1 -1
- package/dist/modules/data-tables/components/layout.d.mts +2 -2
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
- package/dist/modules/data-tables/components/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 +2 -2
- package/dist/modules/data-tables/lib/filters/parsers.d.mts +6 -1
- 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/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/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 +6 -4
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +11 -6
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +6 -4
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.mjs +7 -5
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +5 -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 +26 -13
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +6 -4
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.mjs +12 -7
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.d.mts +6 -4
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.mjs +11 -6
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +6 -4
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +11 -6
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +6 -4
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +9 -7
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.mts +13 -10
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.mjs +35 -19
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.mts +10 -9
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.mjs +14 -7
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.mts +5 -3
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.mjs +8 -6
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.mts +6 -4
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.mjs +9 -7
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +35 -3
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +71 -9
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/variants.d.mts +1 -0
- package/dist/modules/inline-edit/lib/variants.d.mts.map +1 -1
- package/dist/modules/inline-edit/lib/variants.mjs +12 -4
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -1
- package/dist/modules/router/handler/init.server.d.mts +6 -6
- package/dist/modules/router/handler/init.server.d.mts.map +1 -1
- package/dist/modules/router/lib/query-client.server.d.mts +2 -2
- package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
- package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
- package/dist/modules/storage/components/dropzone.client.mjs +1 -1
- package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
- package/dist/modules/storage/components/image-grid.client.mjs +3 -3
- package/dist/modules/storage/components/image-grid.client.mjs.map +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +3 -11
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.d.mts +10 -33
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.mjs +19 -93
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -1
- package/dist/modules/storage/config/filters.d.mts +1 -0
- package/dist/modules/storage/config/filters.d.mts.map +1 -1
- package/dist/modules/storage/config/filters.mjs +1 -0
- package/dist/modules/storage/config/filters.mjs.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.d.mts +56 -0
- package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -0
- package/dist/modules/storage/lib/create-upload.client.mjs +98 -0
- package/dist/modules/storage/lib/create-upload.client.mjs.map +1 -0
- package/dist/modules/storage/lib/helpers.d.mts +1 -1
- package/dist/modules/storage/lib/router.server.d.mts +3265 -2345
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.mjs +5 -2
- package/dist/modules/storage/lib/router.server.mjs.map +1 -1
- package/dist/modules/storage/lib/schema.d.mts +124 -90
- package/dist/modules/storage/lib/schema.d.mts.map +1 -1
- package/dist/modules/storage/lib/schema.mjs +2 -1
- package/dist/modules/storage/lib/schema.mjs.map +1 -1
- package/dist/modules/storage/lib/service.server.d.mts +31 -42
- package/dist/modules/storage/lib/service.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/service.server.mjs +5 -5
- package/dist/modules/storage/lib/service.server.mjs.map +1 -1
- package/dist/modules/storage/lib/validators.d.mts +170 -90
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/dist/modules/storage/lib/validators.mjs +2 -1
- package/dist/modules/storage/lib/validators.mjs.map +1 -1
- package/dist/storage/client.d.mts +2 -1
- package/dist/storage/client.mjs +2 -8
- package/dist/storage.d.mts +2 -2
- package/dist/storage.mjs +1 -1
- package/package.json +4 -3
- package/src/components/editor/components/editor.client.tsx +7 -2
- package/src/components/editor/components/menu.client.tsx +26 -0
- package/src/components/editor/extensions/file-handler/extension.ts +69 -0
- package/src/components/editor/extensions/file-handler/strategy.ts +167 -0
- package/src/components/editor/extensions/file-handler/utils.ts +51 -0
- package/src/components/editor/extensions/image/extension.ts +57 -0
- package/src/components/editor/extensions/skeleton/extension.ts +35 -0
- package/src/components/editor/extensions/skeleton/renderer.tsx +14 -0
- package/src/components/editor/lib/constants.ts +16 -2
- package/src/components/editor/lib/extensions.ts +4 -1
- package/src/components/editor/lib/utils.ts +32 -0
- package/src/components/editor/lib/variants.ts +72 -1
- package/src/components/entry.ts +2 -1
- package/src/lib/hooks/use-indicator.tsx +27 -18
- package/src/modules/data-tables/lib/filters/parsers.ts +14 -0
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +21 -12
- package/src/modules/inline-edit/components/combobox.client.tsx +13 -6
- package/src/modules/inline-edit/components/date-input.client.tsx +29 -13
- package/src/modules/inline-edit/components/date-picker.client.tsx +13 -9
- package/src/modules/inline-edit/components/editor.client.tsx +14 -14
- package/src/modules/inline-edit/components/input-recipient.client.tsx +15 -8
- package/src/modules/inline-edit/components/input-toggle.client.tsx +16 -9
- package/src/modules/inline-edit/components/input.client.tsx +38 -24
- package/src/modules/inline-edit/components/select.client.tsx +16 -9
- package/src/modules/inline-edit/components/switch.client.tsx +10 -6
- package/src/modules/inline-edit/components/toggle.client.tsx +13 -9
- package/src/modules/inline-edit/entry.client.ts +0 -1
- package/src/modules/inline-edit/hooks/use-inline.client copy.tsx +97 -0
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +139 -20
- package/src/modules/inline-edit/lib/variants.ts +7 -0
- package/src/modules/storage/components/image-grid.client.tsx +2 -2
- package/src/modules/storage/components/upload-zone-context.client.tsx +3 -4
- package/src/modules/storage/components/upload-zone.client.tsx +17 -116
- package/src/modules/storage/config/filters.ts +1 -0
- package/src/modules/storage/entry.client.ts +2 -1
- package/src/modules/storage/lib/create-upload.client.ts +134 -0
- package/src/modules/storage/lib/router.server.ts +1 -0
- package/src/modules/storage/lib/schema.ts +1 -0
- package/src/modules/storage/lib/service.server.ts +10 -4
- package/src/modules/storage/lib/validators.ts +1 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts +0 -21
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs +0 -37
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs.map +0 -1
- package/dist/storage/client.mjs.map +0 -1
- package/src/modules/inline-edit/components/deprecated-editor.client.tsx +0 -48
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as drizzle_orm_pg_core67 from "drizzle-orm/pg-core";
|
|
2
|
+
import * as drizzle_orm0 from "drizzle-orm";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/storage/lib/schema.d.ts
|
|
5
|
-
declare const nodeTypeEnum:
|
|
6
|
-
declare const nodeModeEnum:
|
|
5
|
+
declare const nodeTypeEnum: drizzle_orm_pg_core67.PgEnum<["file", "folder"]>;
|
|
6
|
+
declare const nodeModeEnum: drizzle_orm_pg_core67.PgEnum<["private", "public"]>;
|
|
7
7
|
/**
|
|
8
8
|
* Node table
|
|
9
9
|
*/
|
|
10
|
-
declare const nodes:
|
|
10
|
+
declare const nodes: drizzle_orm_pg_core67.PgTableWithColumns<{
|
|
11
11
|
name: "nodes";
|
|
12
12
|
schema: undefined;
|
|
13
13
|
columns: {
|
|
14
|
-
name:
|
|
14
|
+
name: drizzle_orm_pg_core67.PgColumn<{
|
|
15
15
|
name: "name";
|
|
16
16
|
tableName: "nodes";
|
|
17
17
|
dataType: "string";
|
|
@@ -28,7 +28,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
28
28
|
identity: undefined;
|
|
29
29
|
generated: undefined;
|
|
30
30
|
}, {}, {}>;
|
|
31
|
-
namespace:
|
|
31
|
+
namespace: drizzle_orm_pg_core67.PgColumn<{
|
|
32
32
|
name: "namespace";
|
|
33
33
|
tableName: "nodes";
|
|
34
34
|
dataType: "string";
|
|
@@ -45,7 +45,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
45
45
|
identity: undefined;
|
|
46
46
|
generated: undefined;
|
|
47
47
|
}, {}, {}>;
|
|
48
|
-
type:
|
|
48
|
+
type: drizzle_orm_pg_core67.PgColumn<{
|
|
49
49
|
name: "type";
|
|
50
50
|
tableName: "nodes";
|
|
51
51
|
dataType: "string";
|
|
@@ -62,7 +62,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
62
62
|
identity: undefined;
|
|
63
63
|
generated: undefined;
|
|
64
64
|
}, {}, {}>;
|
|
65
|
-
mode:
|
|
65
|
+
mode: drizzle_orm_pg_core67.PgColumn<{
|
|
66
66
|
name: "mode";
|
|
67
67
|
tableName: "nodes";
|
|
68
68
|
dataType: "string";
|
|
@@ -79,7 +79,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
79
79
|
identity: undefined;
|
|
80
80
|
generated: undefined;
|
|
81
81
|
}, {}, {}>;
|
|
82
|
-
subtype:
|
|
82
|
+
subtype: drizzle_orm_pg_core67.PgColumn<{
|
|
83
83
|
name: "subtype";
|
|
84
84
|
tableName: "nodes";
|
|
85
85
|
dataType: "string";
|
|
@@ -96,7 +96,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
96
96
|
identity: undefined;
|
|
97
97
|
generated: undefined;
|
|
98
98
|
}, {}, {}>;
|
|
99
|
-
size:
|
|
99
|
+
size: drizzle_orm_pg_core67.PgColumn<{
|
|
100
100
|
name: "size";
|
|
101
101
|
tableName: "nodes";
|
|
102
102
|
dataType: "number";
|
|
@@ -113,7 +113,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
113
113
|
identity: undefined;
|
|
114
114
|
generated: undefined;
|
|
115
115
|
}, {}, {}>;
|
|
116
|
-
contentType:
|
|
116
|
+
contentType: drizzle_orm_pg_core67.PgColumn<{
|
|
117
117
|
name: "contentType";
|
|
118
118
|
tableName: "nodes";
|
|
119
119
|
dataType: "string";
|
|
@@ -132,7 +132,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
132
132
|
}, {}, {
|
|
133
133
|
length: 255;
|
|
134
134
|
}>;
|
|
135
|
-
readonly:
|
|
135
|
+
readonly: drizzle_orm_pg_core67.PgColumn<{
|
|
136
136
|
name: "readonly";
|
|
137
137
|
tableName: "nodes";
|
|
138
138
|
dataType: "boolean";
|
|
@@ -149,7 +149,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
149
149
|
identity: undefined;
|
|
150
150
|
generated: undefined;
|
|
151
151
|
}, {}, {}>;
|
|
152
|
-
hidden:
|
|
152
|
+
hidden: drizzle_orm_pg_core67.PgColumn<{
|
|
153
153
|
name: "hidden";
|
|
154
154
|
tableName: "nodes";
|
|
155
155
|
dataType: "boolean";
|
|
@@ -166,7 +166,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
166
166
|
identity: undefined;
|
|
167
167
|
generated: undefined;
|
|
168
168
|
}, {}, {}>;
|
|
169
|
-
createdBy:
|
|
169
|
+
createdBy: drizzle_orm_pg_core67.PgColumn<{
|
|
170
170
|
name: "createdBy";
|
|
171
171
|
tableName: "nodes";
|
|
172
172
|
dataType: "string";
|
|
@@ -183,7 +183,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
183
183
|
identity: undefined;
|
|
184
184
|
generated: undefined;
|
|
185
185
|
}, {}, {}>;
|
|
186
|
-
isPending:
|
|
186
|
+
isPending: drizzle_orm_pg_core67.PgColumn<{
|
|
187
187
|
name: "isPending";
|
|
188
188
|
tableName: "nodes";
|
|
189
189
|
dataType: "boolean";
|
|
@@ -200,7 +200,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
200
200
|
identity: undefined;
|
|
201
201
|
generated: undefined;
|
|
202
202
|
}, {}, {}>;
|
|
203
|
-
isDeleted:
|
|
203
|
+
isDeleted: drizzle_orm_pg_core67.PgColumn<{
|
|
204
204
|
name: "isDeleted";
|
|
205
205
|
tableName: "nodes";
|
|
206
206
|
dataType: "boolean";
|
|
@@ -217,7 +217,24 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
217
217
|
identity: undefined;
|
|
218
218
|
generated: undefined;
|
|
219
219
|
}, {}, {}>;
|
|
220
|
-
|
|
220
|
+
orphanedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
221
|
+
name: "orphanedAt";
|
|
222
|
+
tableName: "nodes";
|
|
223
|
+
dataType: "date";
|
|
224
|
+
columnType: "PgTimestamp";
|
|
225
|
+
data: Date;
|
|
226
|
+
driverParam: string;
|
|
227
|
+
notNull: false;
|
|
228
|
+
hasDefault: false;
|
|
229
|
+
isPrimaryKey: false;
|
|
230
|
+
isAutoincrement: false;
|
|
231
|
+
hasRuntimeDefault: false;
|
|
232
|
+
enumValues: undefined;
|
|
233
|
+
baseColumn: never;
|
|
234
|
+
identity: undefined;
|
|
235
|
+
generated: undefined;
|
|
236
|
+
}, {}, {}>;
|
|
237
|
+
parentId: drizzle_orm_pg_core67.PgColumn<{
|
|
221
238
|
name: "parentId";
|
|
222
239
|
tableName: "nodes";
|
|
223
240
|
dataType: "string";
|
|
@@ -234,7 +251,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
234
251
|
identity: undefined;
|
|
235
252
|
generated: undefined;
|
|
236
253
|
}, {}, {}>;
|
|
237
|
-
id:
|
|
254
|
+
id: drizzle_orm_pg_core67.PgColumn<{
|
|
238
255
|
name: "id";
|
|
239
256
|
tableName: "nodes";
|
|
240
257
|
dataType: "string";
|
|
@@ -251,7 +268,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
251
268
|
identity: undefined;
|
|
252
269
|
generated: undefined;
|
|
253
270
|
}, {}, {}>;
|
|
254
|
-
createdAt:
|
|
271
|
+
createdAt: drizzle_orm_pg_core67.PgColumn<{
|
|
255
272
|
name: "createdAt";
|
|
256
273
|
tableName: "nodes";
|
|
257
274
|
dataType: "date";
|
|
@@ -268,7 +285,7 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
268
285
|
identity: undefined;
|
|
269
286
|
generated: undefined;
|
|
270
287
|
}, {}, {}>;
|
|
271
|
-
updatedAt:
|
|
288
|
+
updatedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
272
289
|
name: "updatedAt";
|
|
273
290
|
tableName: "nodes";
|
|
274
291
|
dataType: "date";
|
|
@@ -288,20 +305,20 @@ declare const nodes: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
288
305
|
};
|
|
289
306
|
dialect: "pg";
|
|
290
307
|
}>;
|
|
291
|
-
declare const nodesRelations:
|
|
292
|
-
parent:
|
|
293
|
-
children:
|
|
294
|
-
urls:
|
|
295
|
-
variants:
|
|
308
|
+
declare const nodesRelations: drizzle_orm0.Relations<"nodes", {
|
|
309
|
+
parent: drizzle_orm0.One<"nodes", false>;
|
|
310
|
+
children: drizzle_orm0.Many<"nodes">;
|
|
311
|
+
urls: drizzle_orm0.Many<"node_presigned_urls">;
|
|
312
|
+
variants: drizzle_orm0.Many<"node_variants">;
|
|
296
313
|
}>;
|
|
297
314
|
/**
|
|
298
315
|
* Node variants table
|
|
299
316
|
*/
|
|
300
|
-
declare const nodeVariants:
|
|
317
|
+
declare const nodeVariants: drizzle_orm_pg_core67.PgTableWithColumns<{
|
|
301
318
|
name: "node_variants";
|
|
302
319
|
schema: undefined;
|
|
303
320
|
columns: {
|
|
304
|
-
nodeId:
|
|
321
|
+
nodeId: drizzle_orm_pg_core67.PgColumn<{
|
|
305
322
|
name: "nodeId";
|
|
306
323
|
tableName: "node_variants";
|
|
307
324
|
dataType: "string";
|
|
@@ -318,7 +335,7 @@ declare const nodeVariants: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
318
335
|
identity: undefined;
|
|
319
336
|
generated: undefined;
|
|
320
337
|
}, {}, {}>;
|
|
321
|
-
variant:
|
|
338
|
+
variant: drizzle_orm_pg_core67.PgColumn<{
|
|
322
339
|
name: "variant";
|
|
323
340
|
tableName: "node_variants";
|
|
324
341
|
dataType: "string";
|
|
@@ -335,7 +352,7 @@ declare const nodeVariants: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
335
352
|
identity: undefined;
|
|
336
353
|
generated: undefined;
|
|
337
354
|
}, {}, {}>;
|
|
338
|
-
width:
|
|
355
|
+
width: drizzle_orm_pg_core67.PgColumn<{
|
|
339
356
|
name: "width";
|
|
340
357
|
tableName: "node_variants";
|
|
341
358
|
dataType: "number";
|
|
@@ -352,7 +369,7 @@ declare const nodeVariants: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
352
369
|
identity: undefined;
|
|
353
370
|
generated: undefined;
|
|
354
371
|
}, {}, {}>;
|
|
355
|
-
id:
|
|
372
|
+
id: drizzle_orm_pg_core67.PgColumn<{
|
|
356
373
|
name: "id";
|
|
357
374
|
tableName: "node_variants";
|
|
358
375
|
dataType: "string";
|
|
@@ -369,7 +386,7 @@ declare const nodeVariants: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
369
386
|
identity: undefined;
|
|
370
387
|
generated: undefined;
|
|
371
388
|
}, {}, {}>;
|
|
372
|
-
createdAt:
|
|
389
|
+
createdAt: drizzle_orm_pg_core67.PgColumn<{
|
|
373
390
|
name: "createdAt";
|
|
374
391
|
tableName: "node_variants";
|
|
375
392
|
dataType: "date";
|
|
@@ -386,7 +403,7 @@ declare const nodeVariants: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
386
403
|
identity: undefined;
|
|
387
404
|
generated: undefined;
|
|
388
405
|
}, {}, {}>;
|
|
389
|
-
updatedAt:
|
|
406
|
+
updatedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
390
407
|
name: "updatedAt";
|
|
391
408
|
tableName: "node_variants";
|
|
392
409
|
dataType: "date";
|
|
@@ -406,17 +423,17 @@ declare const nodeVariants: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
406
423
|
};
|
|
407
424
|
dialect: "pg";
|
|
408
425
|
}>;
|
|
409
|
-
declare const nodeVariantsRelations:
|
|
410
|
-
node:
|
|
426
|
+
declare const nodeVariantsRelations: drizzle_orm0.Relations<"node_variants", {
|
|
427
|
+
node: drizzle_orm0.One<"nodes", true>;
|
|
411
428
|
}>;
|
|
412
429
|
/**
|
|
413
430
|
* Node presigned urls table
|
|
414
431
|
*/
|
|
415
|
-
declare const nodePresignedUrls:
|
|
432
|
+
declare const nodePresignedUrls: drizzle_orm_pg_core67.PgTableWithColumns<{
|
|
416
433
|
name: "node_presigned_urls";
|
|
417
434
|
schema: undefined;
|
|
418
435
|
columns: {
|
|
419
|
-
url:
|
|
436
|
+
url: drizzle_orm_pg_core67.PgColumn<{
|
|
420
437
|
name: "url";
|
|
421
438
|
tableName: "node_presigned_urls";
|
|
422
439
|
dataType: "string";
|
|
@@ -433,7 +450,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
433
450
|
identity: undefined;
|
|
434
451
|
generated: undefined;
|
|
435
452
|
}, {}, {}>;
|
|
436
|
-
variant:
|
|
453
|
+
variant: drizzle_orm_pg_core67.PgColumn<{
|
|
437
454
|
name: "variant";
|
|
438
455
|
tableName: "node_presigned_urls";
|
|
439
456
|
dataType: "string";
|
|
@@ -450,7 +467,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
450
467
|
identity: undefined;
|
|
451
468
|
generated: undefined;
|
|
452
469
|
}, {}, {}>;
|
|
453
|
-
disposition:
|
|
470
|
+
disposition: drizzle_orm_pg_core67.PgColumn<{
|
|
454
471
|
name: "disposition";
|
|
455
472
|
tableName: "node_presigned_urls";
|
|
456
473
|
dataType: "string";
|
|
@@ -467,7 +484,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
467
484
|
identity: undefined;
|
|
468
485
|
generated: undefined;
|
|
469
486
|
}, {}, {}>;
|
|
470
|
-
expiresAt:
|
|
487
|
+
expiresAt: drizzle_orm_pg_core67.PgColumn<{
|
|
471
488
|
name: "expiresAt";
|
|
472
489
|
tableName: "node_presigned_urls";
|
|
473
490
|
dataType: "date";
|
|
@@ -484,7 +501,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
484
501
|
identity: undefined;
|
|
485
502
|
generated: undefined;
|
|
486
503
|
}, {}, {}>;
|
|
487
|
-
nodeId:
|
|
504
|
+
nodeId: drizzle_orm_pg_core67.PgColumn<{
|
|
488
505
|
name: "nodeId";
|
|
489
506
|
tableName: "node_presigned_urls";
|
|
490
507
|
dataType: "string";
|
|
@@ -501,7 +518,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
501
518
|
identity: undefined;
|
|
502
519
|
generated: undefined;
|
|
503
520
|
}, {}, {}>;
|
|
504
|
-
variantId:
|
|
521
|
+
variantId: drizzle_orm_pg_core67.PgColumn<{
|
|
505
522
|
name: "variantId";
|
|
506
523
|
tableName: "node_presigned_urls";
|
|
507
524
|
dataType: "string";
|
|
@@ -518,7 +535,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
518
535
|
identity: undefined;
|
|
519
536
|
generated: undefined;
|
|
520
537
|
}, {}, {}>;
|
|
521
|
-
id:
|
|
538
|
+
id: drizzle_orm_pg_core67.PgColumn<{
|
|
522
539
|
name: "id";
|
|
523
540
|
tableName: "node_presigned_urls";
|
|
524
541
|
dataType: "string";
|
|
@@ -535,7 +552,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
535
552
|
identity: undefined;
|
|
536
553
|
generated: undefined;
|
|
537
554
|
}, {}, {}>;
|
|
538
|
-
createdAt:
|
|
555
|
+
createdAt: drizzle_orm_pg_core67.PgColumn<{
|
|
539
556
|
name: "createdAt";
|
|
540
557
|
tableName: "node_presigned_urls";
|
|
541
558
|
dataType: "date";
|
|
@@ -552,7 +569,7 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
552
569
|
identity: undefined;
|
|
553
570
|
generated: undefined;
|
|
554
571
|
}, {}, {}>;
|
|
555
|
-
updatedAt:
|
|
572
|
+
updatedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
556
573
|
name: "updatedAt";
|
|
557
574
|
tableName: "node_presigned_urls";
|
|
558
575
|
dataType: "date";
|
|
@@ -572,18 +589,18 @@ declare const nodePresignedUrls: drizzle_orm_pg_core1920.PgTableWithColumns<{
|
|
|
572
589
|
};
|
|
573
590
|
dialect: "pg";
|
|
574
591
|
}>;
|
|
575
|
-
declare const nodePresignedUrlsRelations:
|
|
576
|
-
node:
|
|
592
|
+
declare const nodePresignedUrlsRelations: drizzle_orm0.Relations<"node_presigned_urls", {
|
|
593
|
+
node: drizzle_orm0.One<"nodes", true>;
|
|
577
594
|
}>;
|
|
578
595
|
/**
|
|
579
596
|
* Drive schema
|
|
580
597
|
**/
|
|
581
598
|
declare const driveSchema: {
|
|
582
|
-
nodes:
|
|
599
|
+
nodes: drizzle_orm_pg_core67.PgTableWithColumns<{
|
|
583
600
|
name: "nodes";
|
|
584
601
|
schema: undefined;
|
|
585
602
|
columns: {
|
|
586
|
-
name:
|
|
603
|
+
name: drizzle_orm_pg_core67.PgColumn<{
|
|
587
604
|
name: "name";
|
|
588
605
|
tableName: "nodes";
|
|
589
606
|
dataType: "string";
|
|
@@ -600,7 +617,7 @@ declare const driveSchema: {
|
|
|
600
617
|
identity: undefined;
|
|
601
618
|
generated: undefined;
|
|
602
619
|
}, {}, {}>;
|
|
603
|
-
namespace:
|
|
620
|
+
namespace: drizzle_orm_pg_core67.PgColumn<{
|
|
604
621
|
name: "namespace";
|
|
605
622
|
tableName: "nodes";
|
|
606
623
|
dataType: "string";
|
|
@@ -617,7 +634,7 @@ declare const driveSchema: {
|
|
|
617
634
|
identity: undefined;
|
|
618
635
|
generated: undefined;
|
|
619
636
|
}, {}, {}>;
|
|
620
|
-
type:
|
|
637
|
+
type: drizzle_orm_pg_core67.PgColumn<{
|
|
621
638
|
name: "type";
|
|
622
639
|
tableName: "nodes";
|
|
623
640
|
dataType: "string";
|
|
@@ -634,7 +651,7 @@ declare const driveSchema: {
|
|
|
634
651
|
identity: undefined;
|
|
635
652
|
generated: undefined;
|
|
636
653
|
}, {}, {}>;
|
|
637
|
-
mode:
|
|
654
|
+
mode: drizzle_orm_pg_core67.PgColumn<{
|
|
638
655
|
name: "mode";
|
|
639
656
|
tableName: "nodes";
|
|
640
657
|
dataType: "string";
|
|
@@ -651,7 +668,7 @@ declare const driveSchema: {
|
|
|
651
668
|
identity: undefined;
|
|
652
669
|
generated: undefined;
|
|
653
670
|
}, {}, {}>;
|
|
654
|
-
subtype:
|
|
671
|
+
subtype: drizzle_orm_pg_core67.PgColumn<{
|
|
655
672
|
name: "subtype";
|
|
656
673
|
tableName: "nodes";
|
|
657
674
|
dataType: "string";
|
|
@@ -668,7 +685,7 @@ declare const driveSchema: {
|
|
|
668
685
|
identity: undefined;
|
|
669
686
|
generated: undefined;
|
|
670
687
|
}, {}, {}>;
|
|
671
|
-
size:
|
|
688
|
+
size: drizzle_orm_pg_core67.PgColumn<{
|
|
672
689
|
name: "size";
|
|
673
690
|
tableName: "nodes";
|
|
674
691
|
dataType: "number";
|
|
@@ -685,7 +702,7 @@ declare const driveSchema: {
|
|
|
685
702
|
identity: undefined;
|
|
686
703
|
generated: undefined;
|
|
687
704
|
}, {}, {}>;
|
|
688
|
-
contentType:
|
|
705
|
+
contentType: drizzle_orm_pg_core67.PgColumn<{
|
|
689
706
|
name: "contentType";
|
|
690
707
|
tableName: "nodes";
|
|
691
708
|
dataType: "string";
|
|
@@ -704,7 +721,7 @@ declare const driveSchema: {
|
|
|
704
721
|
}, {}, {
|
|
705
722
|
length: 255;
|
|
706
723
|
}>;
|
|
707
|
-
readonly:
|
|
724
|
+
readonly: drizzle_orm_pg_core67.PgColumn<{
|
|
708
725
|
name: "readonly";
|
|
709
726
|
tableName: "nodes";
|
|
710
727
|
dataType: "boolean";
|
|
@@ -721,7 +738,7 @@ declare const driveSchema: {
|
|
|
721
738
|
identity: undefined;
|
|
722
739
|
generated: undefined;
|
|
723
740
|
}, {}, {}>;
|
|
724
|
-
hidden:
|
|
741
|
+
hidden: drizzle_orm_pg_core67.PgColumn<{
|
|
725
742
|
name: "hidden";
|
|
726
743
|
tableName: "nodes";
|
|
727
744
|
dataType: "boolean";
|
|
@@ -738,7 +755,7 @@ declare const driveSchema: {
|
|
|
738
755
|
identity: undefined;
|
|
739
756
|
generated: undefined;
|
|
740
757
|
}, {}, {}>;
|
|
741
|
-
createdBy:
|
|
758
|
+
createdBy: drizzle_orm_pg_core67.PgColumn<{
|
|
742
759
|
name: "createdBy";
|
|
743
760
|
tableName: "nodes";
|
|
744
761
|
dataType: "string";
|
|
@@ -755,7 +772,7 @@ declare const driveSchema: {
|
|
|
755
772
|
identity: undefined;
|
|
756
773
|
generated: undefined;
|
|
757
774
|
}, {}, {}>;
|
|
758
|
-
isPending:
|
|
775
|
+
isPending: drizzle_orm_pg_core67.PgColumn<{
|
|
759
776
|
name: "isPending";
|
|
760
777
|
tableName: "nodes";
|
|
761
778
|
dataType: "boolean";
|
|
@@ -772,7 +789,7 @@ declare const driveSchema: {
|
|
|
772
789
|
identity: undefined;
|
|
773
790
|
generated: undefined;
|
|
774
791
|
}, {}, {}>;
|
|
775
|
-
isDeleted:
|
|
792
|
+
isDeleted: drizzle_orm_pg_core67.PgColumn<{
|
|
776
793
|
name: "isDeleted";
|
|
777
794
|
tableName: "nodes";
|
|
778
795
|
dataType: "boolean";
|
|
@@ -789,7 +806,24 @@ declare const driveSchema: {
|
|
|
789
806
|
identity: undefined;
|
|
790
807
|
generated: undefined;
|
|
791
808
|
}, {}, {}>;
|
|
792
|
-
|
|
809
|
+
orphanedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
810
|
+
name: "orphanedAt";
|
|
811
|
+
tableName: "nodes";
|
|
812
|
+
dataType: "date";
|
|
813
|
+
columnType: "PgTimestamp";
|
|
814
|
+
data: Date;
|
|
815
|
+
driverParam: string;
|
|
816
|
+
notNull: false;
|
|
817
|
+
hasDefault: false;
|
|
818
|
+
isPrimaryKey: false;
|
|
819
|
+
isAutoincrement: false;
|
|
820
|
+
hasRuntimeDefault: false;
|
|
821
|
+
enumValues: undefined;
|
|
822
|
+
baseColumn: never;
|
|
823
|
+
identity: undefined;
|
|
824
|
+
generated: undefined;
|
|
825
|
+
}, {}, {}>;
|
|
826
|
+
parentId: drizzle_orm_pg_core67.PgColumn<{
|
|
793
827
|
name: "parentId";
|
|
794
828
|
tableName: "nodes";
|
|
795
829
|
dataType: "string";
|
|
@@ -806,7 +840,7 @@ declare const driveSchema: {
|
|
|
806
840
|
identity: undefined;
|
|
807
841
|
generated: undefined;
|
|
808
842
|
}, {}, {}>;
|
|
809
|
-
id:
|
|
843
|
+
id: drizzle_orm_pg_core67.PgColumn<{
|
|
810
844
|
name: "id";
|
|
811
845
|
tableName: "nodes";
|
|
812
846
|
dataType: "string";
|
|
@@ -823,7 +857,7 @@ declare const driveSchema: {
|
|
|
823
857
|
identity: undefined;
|
|
824
858
|
generated: undefined;
|
|
825
859
|
}, {}, {}>;
|
|
826
|
-
createdAt:
|
|
860
|
+
createdAt: drizzle_orm_pg_core67.PgColumn<{
|
|
827
861
|
name: "createdAt";
|
|
828
862
|
tableName: "nodes";
|
|
829
863
|
dataType: "date";
|
|
@@ -840,7 +874,7 @@ declare const driveSchema: {
|
|
|
840
874
|
identity: undefined;
|
|
841
875
|
generated: undefined;
|
|
842
876
|
}, {}, {}>;
|
|
843
|
-
updatedAt:
|
|
877
|
+
updatedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
844
878
|
name: "updatedAt";
|
|
845
879
|
tableName: "nodes";
|
|
846
880
|
dataType: "date";
|
|
@@ -860,17 +894,17 @@ declare const driveSchema: {
|
|
|
860
894
|
};
|
|
861
895
|
dialect: "pg";
|
|
862
896
|
}>;
|
|
863
|
-
nodesRelations:
|
|
864
|
-
parent:
|
|
865
|
-
children:
|
|
866
|
-
urls:
|
|
867
|
-
variants:
|
|
897
|
+
nodesRelations: drizzle_orm0.Relations<"nodes", {
|
|
898
|
+
parent: drizzle_orm0.One<"nodes", false>;
|
|
899
|
+
children: drizzle_orm0.Many<"nodes">;
|
|
900
|
+
urls: drizzle_orm0.Many<"node_presigned_urls">;
|
|
901
|
+
variants: drizzle_orm0.Many<"node_variants">;
|
|
868
902
|
}>;
|
|
869
|
-
nodeVariants:
|
|
903
|
+
nodeVariants: drizzle_orm_pg_core67.PgTableWithColumns<{
|
|
870
904
|
name: "node_variants";
|
|
871
905
|
schema: undefined;
|
|
872
906
|
columns: {
|
|
873
|
-
nodeId:
|
|
907
|
+
nodeId: drizzle_orm_pg_core67.PgColumn<{
|
|
874
908
|
name: "nodeId";
|
|
875
909
|
tableName: "node_variants";
|
|
876
910
|
dataType: "string";
|
|
@@ -887,7 +921,7 @@ declare const driveSchema: {
|
|
|
887
921
|
identity: undefined;
|
|
888
922
|
generated: undefined;
|
|
889
923
|
}, {}, {}>;
|
|
890
|
-
variant:
|
|
924
|
+
variant: drizzle_orm_pg_core67.PgColumn<{
|
|
891
925
|
name: "variant";
|
|
892
926
|
tableName: "node_variants";
|
|
893
927
|
dataType: "string";
|
|
@@ -904,7 +938,7 @@ declare const driveSchema: {
|
|
|
904
938
|
identity: undefined;
|
|
905
939
|
generated: undefined;
|
|
906
940
|
}, {}, {}>;
|
|
907
|
-
width:
|
|
941
|
+
width: drizzle_orm_pg_core67.PgColumn<{
|
|
908
942
|
name: "width";
|
|
909
943
|
tableName: "node_variants";
|
|
910
944
|
dataType: "number";
|
|
@@ -921,7 +955,7 @@ declare const driveSchema: {
|
|
|
921
955
|
identity: undefined;
|
|
922
956
|
generated: undefined;
|
|
923
957
|
}, {}, {}>;
|
|
924
|
-
id:
|
|
958
|
+
id: drizzle_orm_pg_core67.PgColumn<{
|
|
925
959
|
name: "id";
|
|
926
960
|
tableName: "node_variants";
|
|
927
961
|
dataType: "string";
|
|
@@ -938,7 +972,7 @@ declare const driveSchema: {
|
|
|
938
972
|
identity: undefined;
|
|
939
973
|
generated: undefined;
|
|
940
974
|
}, {}, {}>;
|
|
941
|
-
createdAt:
|
|
975
|
+
createdAt: drizzle_orm_pg_core67.PgColumn<{
|
|
942
976
|
name: "createdAt";
|
|
943
977
|
tableName: "node_variants";
|
|
944
978
|
dataType: "date";
|
|
@@ -955,7 +989,7 @@ declare const driveSchema: {
|
|
|
955
989
|
identity: undefined;
|
|
956
990
|
generated: undefined;
|
|
957
991
|
}, {}, {}>;
|
|
958
|
-
updatedAt:
|
|
992
|
+
updatedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
959
993
|
name: "updatedAt";
|
|
960
994
|
tableName: "node_variants";
|
|
961
995
|
dataType: "date";
|
|
@@ -975,14 +1009,14 @@ declare const driveSchema: {
|
|
|
975
1009
|
};
|
|
976
1010
|
dialect: "pg";
|
|
977
1011
|
}>;
|
|
978
|
-
nodeVariantsRelations:
|
|
979
|
-
node:
|
|
1012
|
+
nodeVariantsRelations: drizzle_orm0.Relations<"node_variants", {
|
|
1013
|
+
node: drizzle_orm0.One<"nodes", true>;
|
|
980
1014
|
}>;
|
|
981
|
-
nodePresignedUrls:
|
|
1015
|
+
nodePresignedUrls: drizzle_orm_pg_core67.PgTableWithColumns<{
|
|
982
1016
|
name: "node_presigned_urls";
|
|
983
1017
|
schema: undefined;
|
|
984
1018
|
columns: {
|
|
985
|
-
url:
|
|
1019
|
+
url: drizzle_orm_pg_core67.PgColumn<{
|
|
986
1020
|
name: "url";
|
|
987
1021
|
tableName: "node_presigned_urls";
|
|
988
1022
|
dataType: "string";
|
|
@@ -999,7 +1033,7 @@ declare const driveSchema: {
|
|
|
999
1033
|
identity: undefined;
|
|
1000
1034
|
generated: undefined;
|
|
1001
1035
|
}, {}, {}>;
|
|
1002
|
-
variant:
|
|
1036
|
+
variant: drizzle_orm_pg_core67.PgColumn<{
|
|
1003
1037
|
name: "variant";
|
|
1004
1038
|
tableName: "node_presigned_urls";
|
|
1005
1039
|
dataType: "string";
|
|
@@ -1016,7 +1050,7 @@ declare const driveSchema: {
|
|
|
1016
1050
|
identity: undefined;
|
|
1017
1051
|
generated: undefined;
|
|
1018
1052
|
}, {}, {}>;
|
|
1019
|
-
disposition:
|
|
1053
|
+
disposition: drizzle_orm_pg_core67.PgColumn<{
|
|
1020
1054
|
name: "disposition";
|
|
1021
1055
|
tableName: "node_presigned_urls";
|
|
1022
1056
|
dataType: "string";
|
|
@@ -1033,7 +1067,7 @@ declare const driveSchema: {
|
|
|
1033
1067
|
identity: undefined;
|
|
1034
1068
|
generated: undefined;
|
|
1035
1069
|
}, {}, {}>;
|
|
1036
|
-
expiresAt:
|
|
1070
|
+
expiresAt: drizzle_orm_pg_core67.PgColumn<{
|
|
1037
1071
|
name: "expiresAt";
|
|
1038
1072
|
tableName: "node_presigned_urls";
|
|
1039
1073
|
dataType: "date";
|
|
@@ -1050,7 +1084,7 @@ declare const driveSchema: {
|
|
|
1050
1084
|
identity: undefined;
|
|
1051
1085
|
generated: undefined;
|
|
1052
1086
|
}, {}, {}>;
|
|
1053
|
-
nodeId:
|
|
1087
|
+
nodeId: drizzle_orm_pg_core67.PgColumn<{
|
|
1054
1088
|
name: "nodeId";
|
|
1055
1089
|
tableName: "node_presigned_urls";
|
|
1056
1090
|
dataType: "string";
|
|
@@ -1067,7 +1101,7 @@ declare const driveSchema: {
|
|
|
1067
1101
|
identity: undefined;
|
|
1068
1102
|
generated: undefined;
|
|
1069
1103
|
}, {}, {}>;
|
|
1070
|
-
variantId:
|
|
1104
|
+
variantId: drizzle_orm_pg_core67.PgColumn<{
|
|
1071
1105
|
name: "variantId";
|
|
1072
1106
|
tableName: "node_presigned_urls";
|
|
1073
1107
|
dataType: "string";
|
|
@@ -1084,7 +1118,7 @@ declare const driveSchema: {
|
|
|
1084
1118
|
identity: undefined;
|
|
1085
1119
|
generated: undefined;
|
|
1086
1120
|
}, {}, {}>;
|
|
1087
|
-
id:
|
|
1121
|
+
id: drizzle_orm_pg_core67.PgColumn<{
|
|
1088
1122
|
name: "id";
|
|
1089
1123
|
tableName: "node_presigned_urls";
|
|
1090
1124
|
dataType: "string";
|
|
@@ -1101,7 +1135,7 @@ declare const driveSchema: {
|
|
|
1101
1135
|
identity: undefined;
|
|
1102
1136
|
generated: undefined;
|
|
1103
1137
|
}, {}, {}>;
|
|
1104
|
-
createdAt:
|
|
1138
|
+
createdAt: drizzle_orm_pg_core67.PgColumn<{
|
|
1105
1139
|
name: "createdAt";
|
|
1106
1140
|
tableName: "node_presigned_urls";
|
|
1107
1141
|
dataType: "date";
|
|
@@ -1118,7 +1152,7 @@ declare const driveSchema: {
|
|
|
1118
1152
|
identity: undefined;
|
|
1119
1153
|
generated: undefined;
|
|
1120
1154
|
}, {}, {}>;
|
|
1121
|
-
updatedAt:
|
|
1155
|
+
updatedAt: drizzle_orm_pg_core67.PgColumn<{
|
|
1122
1156
|
name: "updatedAt";
|
|
1123
1157
|
tableName: "node_presigned_urls";
|
|
1124
1158
|
dataType: "date";
|
|
@@ -1138,8 +1172,8 @@ declare const driveSchema: {
|
|
|
1138
1172
|
};
|
|
1139
1173
|
dialect: "pg";
|
|
1140
1174
|
}>;
|
|
1141
|
-
nodePresignedUrlsRelations:
|
|
1142
|
-
node:
|
|
1175
|
+
nodePresignedUrlsRelations: drizzle_orm0.Relations<"node_presigned_urls", {
|
|
1176
|
+
node: drizzle_orm0.One<"nodes", true>;
|
|
1143
1177
|
}>;
|
|
1144
1178
|
};
|
|
1145
1179
|
type DriveSchema = typeof driveSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.mts","names":[],"sources":["../../../../src/modules/storage/lib/schema.ts"],"sourcesContent":[],"mappings":";;;;cAOa,cAAuD,
|
|
1
|
+
{"version":3,"file":"schema.d.mts","names":[],"sources":["../../../../src/modules/storage/lib/schema.ts"],"sourcesContent":[],"mappings":";;;;cAOa,cAAuD,qBAAA,CAA3C;cACZ,cAAyD,qBAAA,CAA7C;;;AADzB;AACa,cAKA,KALyD,wBAKpD,kBALO,CAAA;EAKZ,IAAA,EAAA,OAgBV;EAAA,MAAA,EAAA,SAAA;;UAAA,qBAAA,CAAA;;;;;;;;;;;;;;;;;;uBAhBe;MAAA,SAAA,EAAA,OAAA;MAkBL,QAAA,EAWV,QAAA;MAAA,UAAA,EAAA,QAAA;;;;gBAXwB,EAAA,IAAA;MAAA,YAAA,EAAA,KAAA;MAgBd,eAQV,EAAA,KAAA;MAAA,iBAAA,EAAA,KAAA;;;;;;;;iBARsB,OAAA;MAAA,QAAA,EAAA,QAAA;MAUZ,UAAA,EAAA,cAMV;MAKU,IAAA,EAAA,MAeZ,GAAA,QAAA;MAAA,WAAA,EAAA,MAAA;;;;;;;;;;;;kBAf6B;MAAA,SAAA,EAAA,OAAA;MAiBjB,QAAA,EAAA,QAAA;MAWP,UAOL,EAAA,cAAA;MAAA,IAAA,EAAA,SAAA,GAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MACW,OAAW,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAzEV,6BAAc;UAWxB,YAAA,CAAA;;;;;;;;cAKU,oCAAY;;;;YAQtB,qBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEU,uBAMV,YAAA,CAN+B;QAM/B,YAAA,CAAA;;;;;cAKU,yCAAiB;;;;SAe7B,qBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEY,4BAMV,YAAA,CANoC;QAMpC,YAAA,CAAA;;;;;cAKG;;;;;YAOL,qBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACW,WAAA,UAAqB"}
|