sitero 0.1.0 → 0.1.2
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/export/cms/client/components/editor/index.js +3 -0
- package/dist/export/cms/client/components/index.js +24 -21
- package/dist/export/cms/client/i18n/index.js +1 -0
- package/dist/export/cms/client/index.js +10 -0
- package/dist/export/cms/client/pages/index.js +10 -8
- package/dist/export/core/server/index.js +8 -1
- package/dist/export/index.js +2 -1
- package/dist/export/web/server/index.js +1 -0
- package/dist/src/cms/client/applications/create-applications.js +3 -1
- package/dist/src/cms/client/applications/ui/use-nav-items.js +202 -0
- package/dist/src/cms/client/infrastructure/i18n/intor-config.js +8 -5
- package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/admin.js +1 -1
- package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.js +1 -0
- package/dist/src/cms/client/infrastructure/i18n/messages/index.js +9 -0
- package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/admin.js +1 -1
- package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.js +1 -0
- package/dist/src/cms/client/interfaces/components/create-components.js +25 -24
- package/dist/src/cms/client/interfaces/components/create-post-contents.js +85 -0
- package/dist/src/cms/client/interfaces/components/resources/admin/admin-card.js +6 -2
- package/dist/src/cms/client/interfaces/components/resources/admin/admin-refresh-tokens/admin-refresh-token-card.js +3 -0
- package/dist/src/cms/client/interfaces/components/resources/admin/admin-relations-section.js +2 -3
- package/dist/src/cms/client/interfaces/components/resources/admin/admin-table.js +3 -2
- package/dist/src/cms/client/interfaces/components/resources/config/config-edit-content.js +19 -2
- package/dist/src/cms/client/interfaces/components/resources/file/file-card.js +3 -0
- package/dist/src/cms/client/interfaces/components/resources/file/file-relations-section.js +2 -3
- package/dist/src/cms/client/interfaces/components/resources/file/file-state-icons.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/file/file-table.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/file/search/is-locked-buttons.js +6 -0
- package/dist/src/cms/client/interfaces/components/resources/file/search/type-buttons.js +6 -0
- package/dist/src/cms/client/interfaces/components/resources/folder/file-manager/file-manager-header.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/folder/file-manager/file-manager-list.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/folder/folder-card.js +3 -0
- package/dist/src/cms/client/interfaces/components/resources/folder/folder-list.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/folder/folder-relations-section.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/folder/folder-state-icons.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/folder/folder-table.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/inquiry/inquiry-card.js +3 -0
- package/dist/src/cms/client/interfaces/components/resources/{category → post/category}/category-card.js +25 -19
- package/dist/src/cms/client/interfaces/components/resources/{category → post/category}/category-relations-section.js +25 -18
- package/dist/src/cms/client/interfaces/components/resources/{category → post/category}/category-table.js +27 -21
- package/dist/src/cms/client/interfaces/components/resources/post/content/post-create-content.js +462 -0
- package/dist/src/cms/client/interfaces/components/resources/post/content/post-edit-content.js +460 -0
- package/dist/src/cms/client/interfaces/components/resources/post/content/post-show-content.js +217 -0
- package/dist/src/cms/client/interfaces/components/resources/post/content/types.js +12 -0
- package/dist/src/cms/client/interfaces/components/resources/post/post-card.js +16 -71
- package/dist/src/cms/client/interfaces/components/resources/post/post-list.js +3 -6
- package/dist/src/cms/client/interfaces/components/resources/post/post-relations-section.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/post/post-table.js +0 -1
- package/dist/src/cms/client/interfaces/components/resources/post/search/control-fields-buttons.js +9 -50
- package/dist/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-card.js +18 -17
- package/dist/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-relations-section.js +13 -14
- package/dist/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-table.js +19 -17
- package/dist/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-card.js +28 -22
- package/dist/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-table.js +31 -24
- package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/basic-tags.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/json-ld-tags.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/open-graph-tags.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/twitter-tags.js +1 -2
- package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/blocks/list-container/list-container.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/blocks/list-container/page-size-selector.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/blocks/page-header/page-header.js +6 -1
- package/dist/src/cms/client/interfaces/components/ui/blocks/page-header/presets/index.js +11 -0
- package/dist/src/cms/client/interfaces/components/ui/buttons/return-button.js +6 -0
- package/dist/src/cms/client/interfaces/components/ui/features/external-link.js +6 -0
- package/dist/src/cms/client/interfaces/components/ui/features/file/file-info/file-info.js +4 -1
- package/dist/src/cms/client/interfaces/components/ui/features/file/file-preview/file-preview-list.js +6 -0
- package/dist/src/cms/client/interfaces/components/ui/features/file/uploader.js +0 -1
- package/dist/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal-body.js +7 -4
- package/dist/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal-trigger.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/form/index-field.js +1 -0
- package/dist/src/cms/client/interfaces/components/ui/i18n/display/i18n-array-display.js +4 -1
- package/dist/src/cms/client/interfaces/components/ui/i18n/display/i18n-display.js +4 -1
- package/dist/src/cms/client/interfaces/components/ui/i18n/display/i18n-object-array-display.js +4 -1
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-array-input.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-date-input.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-input.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-json-input.js +6 -1
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-number-input.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-textarea.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/inputs/array-input.js +5 -0
- package/dist/src/cms/client/interfaces/components/ui/inputs/editor/base/built-in-plugins.js +1 -2
- package/dist/src/cms/client/interfaces/components/ui/inputs/editor/editor.js +0 -1
- package/dist/src/cms/client/interfaces/components/ui/inputs/editor/plugins/file-repository/upload-adapter.js +1 -2
- package/dist/src/cms/client/interfaces/components/ui/layouts/navbar/i18n-selector.js +4 -0
- package/dist/src/cms/client/interfaces/components/ui/layouts/navbar/theme-selector.js +5 -0
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/edit/page.js +19 -4
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/page.js +42 -4
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/create/page.js +20 -5
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/page.js +97 -40
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/edit/page.js +33 -5
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/page.js +34 -4
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/create/page.js +33 -5
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/edit/page.js +114 -0
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/page.js +169 -0
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/create/page.js +116 -0
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/page.js +7 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/_id_/edit/page.js +99 -0
- package/dist/src/cms/client/interfaces/pages/dashboard/content/{tag → content-management/tag}/_id_/page.js +39 -22
- package/dist/src/cms/client/interfaces/pages/dashboard/content/{tag/_id_/edit → content-management/tag/create}/page.js +23 -26
- package/dist/src/cms/client/interfaces/pages/dashboard/content/{tag/create → content-management/tag}/page.js +42 -27
- package/dist/src/cms/client/interfaces/pages/dashboard/content/{topic → content-management/topic}/_id_/edit/page.js +31 -15
- package/dist/src/cms/client/interfaces/pages/dashboard/content/{topic → content-management/topic}/_id_/page.js +35 -36
- package/dist/src/cms/client/interfaces/pages/dashboard/content/{topic/create → content-management/topic}/page.js +40 -15
- package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/admin-refresh-token/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/edit/page.js +3 -2
- package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/page.js +3 -2
- package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/create/page.js +3 -2
- package/dist/src/cms/client/interfaces/pages/dashboard/system/access/page.js +2 -2
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/_id_/edit/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/_id_/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/create/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/create-many/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/delete-many/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/folder/_id_/edit/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/folder/_id_/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/folder/create/page.js +0 -1
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/page.js +2 -2
- package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/trash/page.js +1 -2
- package/dist/src/cms/client/interfaces/pages/dashboard/website/website-page/_slug_/page.js +0 -1
- package/dist/src/constants/paths/cms-paths.js +7 -4
- package/dist/src/core/domain/static/topics.js +29 -0
- package/dist/src/core/server/create-core-server.js +0 -1
- package/dist/src/core/server/infrastructure/database/file/query/file-query-repository.js +1 -1
- package/dist/src/core/server/infrastructure/database/folder/query/folder-query-repository.js +1 -1
- package/dist/src/core/server/infrastructure/database/post/command/post-command-repository.js +6 -151
- package/dist/src/core/server/infrastructure/database/post/command/post-create-data.js +81 -0
- package/dist/src/core/server/infrastructure/database/post/command/post-update-data.js +86 -0
- package/dist/src/core/server/infrastructure/i18n/messages/index.js +9 -0
- package/dist/src/core/server/interfaces/actions/resources/file/commands/purge-many/file-purge-many-action.js +1 -1
- package/dist/src/core/server/interfaces/actions/resources/file/commands/soft-delete/file-soft-delete-action.js +1 -1
- package/dist/src/core/server/interfaces/actions/resources/file/commands/soft-delete-many/file-soft-delete-many-action.js +1 -1
- package/dist/src/core/server/interfaces/actions/resources/folder/commands/delete/folder-delete-action.js +1 -1
- package/dist/src/core/server/interfaces/actions/resources/folder/queries/folder-find-full-action.js +1 -1
- package/dist/src/core/server/seeders/folder/seeder.js +1 -1
- package/dist/src/web/server/applications/sitemap/get-post-items.js +46 -6
- package/dist/src/web/server/applications/sitemap/get-subcategory-items.js +34 -0
- package/dist/src/web/server/create-web-server.js +0 -1
- package/dist/src/web/server/interfaces/actions/resources/config/queries/config-find-action.js +0 -1
- package/dist/src/web/server/interfaces/actions/resources/post/queries/post-find-full-action.js +0 -1
- package/dist/src/web/server/interfaces/create-web-interfaces.js +4 -0
- package/dist/src/web/server/interfaces/loaders/load-categories.js +6 -4
- package/dist/src/web/server/interfaces/loaders/load-category.js +8 -2
- package/dist/src/web/server/interfaces/loaders/load-post.js +8 -2
- package/dist/src/web/server/interfaces/loaders/load-posts.js +7 -3
- package/dist/src/web/server/interfaces/loaders/load-subcategories.js +60 -0
- package/dist/src/web/server/interfaces/loaders/load-subcategory.js +27 -0
- package/dist/types/export/cms/client/components/index.d.ts +4 -1
- package/dist/types/export/cms/client/components/index.d.ts.map +1 -1
- package/dist/types/export/cms/client/i18n/index.d.ts +1 -1
- package/dist/types/export/cms/client/i18n/index.d.ts.map +1 -1
- package/dist/types/export/cms/client/index.d.ts +1 -1
- package/dist/types/export/cms/client/index.d.ts.map +1 -1
- package/dist/types/export/cms/client/pages/index.d.ts +1 -1
- package/dist/types/export/cms/client/pages/index.d.ts.map +1 -1
- package/dist/types/export/core/server/index.d.ts +6 -1
- package/dist/types/export/core/server/index.d.ts.map +1 -1
- package/dist/types/export/index.d.ts +2 -2
- package/dist/types/export/index.d.ts.map +1 -1
- package/dist/types/export/web/server/index.d.ts +1 -1
- package/dist/types/export/web/server/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/applications/create-applications.d.ts.map +1 -1
- package/dist/types/src/cms/client/applications/resources/post/use-create-form-data.d.ts +1 -1
- package/dist/types/src/cms/client/applications/resources/post/use-create-form-data.d.ts.map +1 -1
- package/dist/types/src/cms/client/applications/types.d.ts +2 -1
- package/dist/types/src/cms/client/applications/types.d.ts.map +1 -1
- package/dist/types/src/cms/client/applications/ui/index.d.ts +1 -0
- package/dist/types/src/cms/client/applications/ui/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/applications/ui/use-nav-items.d.ts +20 -0
- package/dist/types/src/cms/client/applications/ui/use-nav-items.d.ts.map +1 -0
- package/dist/types/src/cms/client/infrastructure/i18n/index.d.ts +1 -0
- package/dist/types/src/cms/client/infrastructure/i18n/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/intor-config.d.ts.map +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/index.d.ts +4 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/admin.d.ts +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.d.ts +4 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/index.d.ts +1347 -0
- package/dist/types/src/cms/client/infrastructure/i18n/messages/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/index.d.ts +4 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/admin.d.ts +1 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.d.ts +4 -1
- package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/create-components.d.ts +10 -5
- package/dist/types/src/cms/client/interfaces/components/create-components.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/create-post-contents.d.ts +38 -0
- package/dist/types/src/cms/client/interfaces/components/create-post-contents.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-card.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-relations-section.d.ts +1 -2
- package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-relations-section.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-table.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/config/config-edit-content.d.ts +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/config/config-edit-content.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/file/file-relations-section.d.ts +1 -2
- package/dist/types/src/cms/client/interfaces/components/resources/file/file-relations-section.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/index.d.ts +5 -4
- package/dist/types/src/cms/client/interfaces/components/resources/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-card.d.ts +8 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-card.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/{category → post/category}/category-relations-section.d.ts +4 -4
- package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-relations-section.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-table.d.ts +8 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-table.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/category/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/index.d.ts +6 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-create-content.d.ts +46 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-create-content.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-edit-content.d.ts +45 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-edit-content.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-show-content.d.ts +26 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-show-content.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/types.d.ts +19 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/content/types.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/index.d.ts +2 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/post-card.d.ts +1 -8
- package/dist/types/src/cms/client/interfaces/components/resources/post/post-card.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/post-list.d.ts +4 -3
- package/dist/types/src/cms/client/interfaces/components/resources/post/post-list.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/post-relations-section.d.ts +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/post-relations-section.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/search/control-fields-buttons.d.ts +0 -2
- package/dist/types/src/cms/client/interfaces/components/resources/post/search/control-fields-buttons.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/tag/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-card.d.ts +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-card.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-relations-section.d.ts +4 -4
- package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-relations-section.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-table.d.ts +1 -1
- package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-table.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/post/topic/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-card.d.ts +2 -2
- package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-card.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-table.d.ts +2 -2
- package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-table.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/components/ui/blocks/page-header/presets/index.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/blocks/page-header/types.d.ts +1 -0
- package/dist/types/src/cms/client/interfaces/components/ui/blocks/page-header/types.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal.d.ts +2 -1
- package/dist/types/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/form/index-field.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/i18n/display/i18n-array-display.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/i18n/display/i18n-display.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/i18n/display/i18n-object-array-display.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-json-input.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/inputs/editor/base/built-in-plugins.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/layouts/content-container.d.ts +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/layouts/content-container.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/layouts/sidebar/nav-main.d.ts +1 -1
- package/dist/types/src/cms/client/interfaces/components/ui/layouts/sidebar/nav-main.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/edit/page.d.ts +6 -2
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/edit/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/page.d.ts +6 -3
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/create/page.d.ts +6 -2
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/create/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/page.d.ts +3 -3
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/edit/page.d.ts +6 -2
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/edit/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/page.d.ts +7 -3
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/create/page.d.ts +6 -2
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/create/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/edit/page.d.ts +24 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/edit/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.d.ts +27 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.d.ts +24 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/index.d.ts +4 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts +3 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/edit/page.d.ts +20 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/edit/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/page.d.ts +23 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/create/page.d.ts +16 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/create/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/page.d.ts +14 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.d.ts +20 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.d.ts +20 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/{topic → content-management/topic}/index.d.ts +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/index.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.d.ts +14 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.d.ts.map +1 -0
- package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/edit/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/create/page.d.ts.map +1 -1
- package/dist/types/src/cms/client/interfaces/pages/index.d.ts +3 -2
- package/dist/types/src/cms/client/interfaces/pages/index.d.ts.map +1 -1
- package/dist/types/src/constants/paths/cms-paths.d.ts +9 -6
- package/dist/types/src/constants/paths/cms-paths.d.ts.map +1 -1
- package/dist/types/src/core/domain/index.d.ts +2 -2
- package/dist/types/src/core/domain/index.d.ts.map +1 -1
- package/dist/types/src/core/domain/resources/admin/index.d.ts +0 -1
- package/dist/types/src/core/domain/resources/admin/index.d.ts.map +1 -1
- package/dist/types/src/core/domain/resources/index.d.ts +1 -1
- package/dist/types/src/core/domain/resources/index.d.ts.map +1 -1
- package/dist/types/src/core/domain/static/index.d.ts +1 -1
- package/dist/types/src/core/domain/static/index.d.ts.map +1 -1
- package/dist/types/src/core/domain/static/post.d.ts +1 -1
- package/dist/types/src/core/domain/static/post.d.ts.map +1 -1
- package/dist/types/src/core/domain/static/topics.d.ts +36 -3
- package/dist/types/src/core/domain/static/topics.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/database/index.d.ts +1 -1
- package/dist/types/src/core/server/infrastructure/database/index.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/database/post/command/index.d.ts +2 -0
- package/dist/types/src/core/server/infrastructure/database/post/command/index.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/database/post/command/post-command-repository.d.ts +2 -2
- package/dist/types/src/core/server/infrastructure/database/post/command/post-command-repository.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/database/post/command/post-create-data.d.ts +160 -0
- package/dist/types/src/core/server/infrastructure/database/post/command/post-create-data.d.ts.map +1 -0
- package/dist/types/src/core/server/infrastructure/database/post/command/post-update-data.d.ts +207 -0
- package/dist/types/src/core/server/infrastructure/database/post/command/post-update-data.d.ts.map +1 -0
- package/dist/types/src/core/server/infrastructure/database/post/index.d.ts +1 -1
- package/dist/types/src/core/server/infrastructure/database/post/index.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/i18n/index.d.ts +1 -0
- package/dist/types/src/core/server/infrastructure/i18n/index.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/i18n/messages/index.d.ts +105 -0
- package/dist/types/src/core/server/infrastructure/i18n/messages/index.d.ts.map +1 -0
- package/dist/types/src/core/server/infrastructure/index.d.ts +1 -1
- package/dist/types/src/core/server/infrastructure/index.d.ts.map +1 -1
- package/dist/types/src/shared/form/types.d.ts +2 -2
- package/dist/types/src/shared/form/types.d.ts.map +1 -1
- package/dist/types/src/web/server/applications/index.d.ts +1 -1
- package/dist/types/src/web/server/applications/index.d.ts.map +1 -1
- package/dist/types/src/web/server/applications/sitemap/get-post-items.d.ts +3 -1
- package/dist/types/src/web/server/applications/sitemap/get-post-items.d.ts.map +1 -1
- package/dist/types/src/web/server/applications/sitemap/get-subcategory-items.d.ts +18 -0
- package/dist/types/src/web/server/applications/sitemap/get-subcategory-items.d.ts.map +1 -0
- package/dist/types/src/web/server/applications/sitemap/index.d.ts +1 -0
- package/dist/types/src/web/server/applications/sitemap/index.d.ts.map +1 -1
- package/dist/types/src/web/server/index.d.ts +1 -0
- package/dist/types/src/web/server/index.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/create-web-interfaces.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/loaders/index.d.ts +2 -0
- package/dist/types/src/web/server/interfaces/loaders/index.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/loaders/load-categories.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/loaders/load-category.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/loaders/load-post.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/loaders/load-posts.d.ts.map +1 -1
- package/dist/types/src/web/server/interfaces/loaders/load-subcategories.d.ts +10 -0
- package/dist/types/src/web/server/interfaces/loaders/load-subcategories.d.ts.map +1 -0
- package/dist/types/src/web/server/interfaces/loaders/load-subcategory.d.ts +8 -0
- package/dist/types/src/web/server/interfaces/loaders/load-subcategory.d.ts.map +1 -0
- package/dist/types/src/web/server/interfaces/types.d.ts +3 -1
- package/dist/types/src/web/server/interfaces/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/src/cms/client/interfaces/pages/dashboard/content/tag/page.js +0 -81
- package/dist/src/cms/client/interfaces/pages/dashboard/content/topic/page.js +0 -79
- package/dist/src/core/domain/resources/admin/constants.js +0 -9
- package/dist/types/src/cms/client/interfaces/components/resources/category/category-card.d.ts +0 -3
- package/dist/types/src/cms/client/interfaces/components/resources/category/category-card.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/category/category-relations-section.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/category/category-table.d.ts +0 -3
- package/dist/types/src/cms/client/interfaces/components/resources/category/category-table.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/category/index.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/tag/index.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/tag/tag-card.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/tag/tag-relations-section.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/tag/tag-table.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/topic/index.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/topic/topic-card.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/components/resources/topic/topic-table.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/edit/page.d.ts +0 -15
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/edit/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/page.d.ts +0 -17
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/create/page.d.ts +0 -11
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/create/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/index.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/page.d.ts +0 -8
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/edit/page.d.ts +0 -15
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/edit/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/page.d.ts +0 -17
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/create/page.d.ts +0 -11
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/create/page.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/index.d.ts.map +0 -1
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/page.d.ts +0 -12
- package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/page.d.ts.map +0 -1
- package/dist/types/src/core/domain/resources/admin/constants.d.ts +0 -4
- package/dist/types/src/core/domain/resources/admin/constants.d.ts.map +0 -1
- package/dist/types/src/core/domain/translation.d.ts +0 -7
- package/dist/types/src/core/domain/translation.d.ts.map +0 -1
- /package/dist/types/src/cms/client/interfaces/components/resources/{category → post/category}/index.d.ts +0 -0
- /package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/index.d.ts +0 -0
- /package/dist/types/src/cms/client/interfaces/components/resources/{topic → post/topic}/index.d.ts +0 -0
- /package/dist/types/src/cms/client/interfaces/pages/dashboard/content/{tag → content-management/tag}/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+DAA+D,CAAC;AAC9F,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AACnH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAM1D,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,2CAA2C,CAAC;AAMnD,wBAAgB,yBAAyB,CAAC,EACxC,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,wBAAwB,GACzB,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,KAAK,MAAM,CAAC;IACjD,cAAc,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACxD,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,gBAAgB,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;IAC5D,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC9D,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE;QAC/B,WAAW,EAAE,QAAQ,GAAG,SAAS,CAAC;QAClC,QAAQ,EAAE,QAAQ,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;KACnE,KAAK,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC3D,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,wBAAwB,CAAC,EAAE,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC;CAC9E,iDAyJA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { createPostFindAction, createPostFindManyAction } from "../../../../../../../../../../core/server/interfaces";
|
|
2
|
+
import type { AllowPostField, createPostCreateContent } from "../../../../../../../components/resources";
|
|
3
|
+
import type { ControlMeta } from "../../../../../../../components/ui/form";
|
|
4
|
+
import type { ReactNode } from "react";
|
|
5
|
+
import { type Post, type PostTranslation, type PostType } from "sitero-domain";
|
|
6
|
+
import { type StaticTopics } from "../../../../../../../../../../core/domain";
|
|
7
|
+
export declare function createSubcategoryCreatePage({ postFindAction, postFindManyAction, renderPostCreateContent, PostCreateContent, allowField, }: {
|
|
8
|
+
topics: StaticTopics;
|
|
9
|
+
postFindAction: ReturnType<typeof createPostFindAction>;
|
|
10
|
+
postFindManyAction: ReturnType<typeof createPostFindManyAction>;
|
|
11
|
+
renderPostCreateContent?: (params: {
|
|
12
|
+
topic: (Post & {
|
|
13
|
+
translations: PostTranslation[];
|
|
14
|
+
}) | undefined;
|
|
15
|
+
categoryType: PostType;
|
|
16
|
+
subcategoryType: PostType;
|
|
17
|
+
controlMeta: ControlMeta;
|
|
18
|
+
isFetching: boolean;
|
|
19
|
+
cancelButtonHref?: string;
|
|
20
|
+
}) => ReactNode;
|
|
21
|
+
PostCreateContent?: ReturnType<typeof createPostCreateContent>;
|
|
22
|
+
allowField?: AllowPostField;
|
|
23
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,eAAe,EACpB,KAAK,QAAQ,EACd,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAU9E,wBAAgB,2BAA2B,CAAC,EAC1C,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EACjB,UAAU,GACX,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,cAAc,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACxD,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE;QACjC,KAAK,EAAE,CAAC,IAAI,GAAG;YAAE,YAAY,EAAE,eAAe,EAAE,CAAA;SAAE,CAAC,GAAG,SAAS,CAAC;QAChE,YAAY,EAAE,QAAQ,CAAC;QACvB,eAAe,EAAE,QAAQ,CAAC;QAC1B,WAAW,EAAE,WAAW,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B,KAAK,SAAS,CAAC;IAChB,iBAAiB,CAAC,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC/D,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,iDAwFA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { createPostFindManyAction } from "../../../../../../../core/server/interfaces";
|
|
2
|
-
|
|
2
|
+
import { type StaticTopics } from "../../../../../../../core/domain";
|
|
3
|
+
export declare function createContentManagementPage({ topics: staticTopics, postFindManyAction, }: {
|
|
4
|
+
topics: StaticTopics;
|
|
3
5
|
postFindManyAction: ReturnType<typeof createPostFindManyAction>;
|
|
4
6
|
}): () => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
//# sourceMappingURL=page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAM5F,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,kCAAkC,CAAC;AAW1C,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,EAAE,YAAY,EACpB,kBAAkB,GACnB,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;CACjE,iDA4DA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PostFull } from "../../../../../../../../../../core/domain/resources/post/full";
|
|
2
|
+
import type { createPostFindFullAction, createPostFindManyAction } from "../../../../../../../../../../core/server/interfaces";
|
|
3
|
+
import type { AllowPostField, createPostEditContent } from "../../../../../../../components/resources";
|
|
4
|
+
import type { ControlMeta } from "../../../../../../../components/ui/form";
|
|
5
|
+
import type { ReactNode } from "react";
|
|
6
|
+
import { type PostType } from "sitero-domain";
|
|
7
|
+
export declare function createTagEditPage({ type, postFindFullAction, postFindManyAction, renderPostEditContent, PostEditContent, allowField, }: {
|
|
8
|
+
type?: PostType | undefined;
|
|
9
|
+
postFindFullAction: ReturnType<typeof createPostFindFullAction>;
|
|
10
|
+
postFindManyAction: ReturnType<typeof createPostFindManyAction>;
|
|
11
|
+
renderPostEditContent?: (params: {
|
|
12
|
+
tag: PostFull | undefined;
|
|
13
|
+
controlMeta: ControlMeta;
|
|
14
|
+
isFetching: boolean;
|
|
15
|
+
isNotFound: boolean;
|
|
16
|
+
}) => ReactNode;
|
|
17
|
+
PostEditContent?: ReturnType<typeof createPostEditContent>;
|
|
18
|
+
allowField?: AllowPostField;
|
|
19
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/edit/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+DAA+D,CAAC;AAC9F,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAM1D,wBAAgB,iBAAiB,CAAC,EAChC,IAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,UAAU,GACX,EAAE;IACD,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE;QAC/B,GAAG,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC1B,WAAW,EAAE,WAAW,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;KACrB,KAAK,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC3D,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,iDAmEA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { PostFull } from "../../../../../../../../../core/domain/resources/post/full";
|
|
2
|
+
import type { createPostDeleteAction, createPostFindFullAction } from "../../../../../../../../../core/server/interfaces";
|
|
3
|
+
import type { AllowPostField, createPostShowContent, createSeoMetadataDialog, createTagRelationsSection } from "../../../../../../components/resources";
|
|
4
|
+
import type { ReactNode } from "react";
|
|
5
|
+
import { type PostType } from "sitero-domain";
|
|
6
|
+
export declare function createTagShowPage({ type, returnHref, enableSeoMetadata, externalHref, postFindFullAction, postDeleteAction, SeoMetadataDialog, renderPostShowContent, PostShowContent, allowField, TagRelationsSection, }: {
|
|
7
|
+
type?: PostType | undefined;
|
|
8
|
+
returnHref?: string | undefined;
|
|
9
|
+
enableSeoMetadata?: boolean;
|
|
10
|
+
externalHref?: (tag: PostFull) => string;
|
|
11
|
+
postFindFullAction: ReturnType<typeof createPostFindFullAction>;
|
|
12
|
+
postDeleteAction: ReturnType<typeof createPostDeleteAction>;
|
|
13
|
+
SeoMetadataDialog: ReturnType<typeof createSeoMetadataDialog>;
|
|
14
|
+
renderPostShowContent?: (params: {
|
|
15
|
+
tag: PostFull | undefined;
|
|
16
|
+
isFetching: boolean;
|
|
17
|
+
isNotFound: boolean;
|
|
18
|
+
}) => ReactNode;
|
|
19
|
+
PostShowContent?: ReturnType<typeof createPostShowContent>;
|
|
20
|
+
allowField?: AllowPostField;
|
|
21
|
+
TagRelationsSection?: ReturnType<typeof createTagRelationsSection>;
|
|
22
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAC3F,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAS1D,wBAAgB,iBAAiB,CAAC,EAChC,IAAqB,EACrB,UAAiE,EACjE,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,mBAAmB,GACpB,EAAE;IACD,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,KAAK,MAAM,CAAC;IACzC,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,gBAAgB,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;IAC5D,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC9D,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE;QAC/B,GAAG,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC1B,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;KACrB,KAAK,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC3D,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,mBAAmB,CAAC,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;CACpE,iDAyFA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { createPostFindManyAction } from "../../../../../../../../../core/server/interfaces";
|
|
2
|
+
import type { AllowPostField, createPostCreateContent } from "../../../../../../components/resources";
|
|
3
|
+
import type { ControlMeta } from "../../../../../../components/ui/form";
|
|
4
|
+
import type { ReactNode } from "react";
|
|
5
|
+
import { type PostType } from "sitero-domain";
|
|
6
|
+
export declare function createTagCreatePage({ type, postFindManyAction, renderPostCreateContent, PostCreateContent, allowField, }: {
|
|
7
|
+
type?: PostType | undefined;
|
|
8
|
+
postFindManyAction: ReturnType<typeof createPostFindManyAction>;
|
|
9
|
+
renderPostCreateContent?: (params: {
|
|
10
|
+
controlMeta: ControlMeta;
|
|
11
|
+
isFetching: boolean;
|
|
12
|
+
}) => ReactNode;
|
|
13
|
+
PostCreateContent?: ReturnType<typeof createPostCreateContent>;
|
|
14
|
+
allowField?: AllowPostField;
|
|
15
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/tag/create/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAM1D,wBAAgB,mBAAmB,CAAC,EAClC,IAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EACjB,UAAU,GACX,EAAE;IACD,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE;QACjC,WAAW,EAAE,WAAW,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;KACrB,KAAK,SAAS,CAAC;IAChB,iBAAiB,CAAC,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC/D,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,iDA8CA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AllowPostField, createPostList } from "../../../../../components/resources";
|
|
2
|
+
import type { PostCardProps } from "../../../../../components/resources/post/post-card";
|
|
3
|
+
import type { PostTableProps } from "../../../../../components/resources/post/post-table";
|
|
4
|
+
import type { ReactNode } from "react";
|
|
5
|
+
import { type PostType } from "sitero-domain";
|
|
6
|
+
export declare function createTagIndexPage({ type, PostList, allowField, Card, Table, localKey, }: {
|
|
7
|
+
type?: PostType | undefined;
|
|
8
|
+
PostList: ReturnType<typeof createPostList>;
|
|
9
|
+
allowField: AllowPostField;
|
|
10
|
+
Card?: ((params: PostCardProps) => ReactNode) | undefined;
|
|
11
|
+
Table?: ((params: PostTableProps) => ReactNode) | undefined;
|
|
12
|
+
localKey?: string | undefined;
|
|
13
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/tag/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACf,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAM1D,wBAAgB,kBAAkB,CAAC,EACjC,IAAqB,EACrB,QAAQ,EACR,UAAU,EACV,IAAc,EACd,KAAgB,EAChB,QAAgB,GACjB,EAAE;IACD,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,UAAU,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,aAAa,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC;IAC1D,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,cAAc,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,iDAgDA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StaticTopics } from "../../../../../../../../../../core/domain";
|
|
2
|
+
import type { PostFull } from "../../../../../../../../../../core/domain/resources/post/full";
|
|
3
|
+
import type { createPostFindFullAction, createPostFindManyAction } from "../../../../../../../../../../core/server/interfaces";
|
|
4
|
+
import type { AllowPostField, createPostEditContent } from "../../../../../../../components/resources";
|
|
5
|
+
import type { ControlMeta } from "../../../../../../../components/ui/form";
|
|
6
|
+
import type { ReactNode } from "react";
|
|
7
|
+
export declare function createTopicEditPage({ topics: staticTopics, postFindFullAction, postFindManyAction, renderPostEditContent, PostEditContent, allowField, }: {
|
|
8
|
+
topics: StaticTopics;
|
|
9
|
+
postFindFullAction: ReturnType<typeof createPostFindFullAction>;
|
|
10
|
+
postFindManyAction: ReturnType<typeof createPostFindManyAction>;
|
|
11
|
+
renderPostEditContent?: (params: {
|
|
12
|
+
topic: PostFull | undefined;
|
|
13
|
+
controlMeta: ControlMeta;
|
|
14
|
+
isFetching: boolean;
|
|
15
|
+
isNotFound: boolean;
|
|
16
|
+
}) => ReactNode;
|
|
17
|
+
PostEditContent?: ReturnType<typeof createPostEditContent>;
|
|
18
|
+
allowField?: AllowPostField;
|
|
19
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+DAA+D,CAAC;AAC9F,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWvC,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EAAE,YAAY,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,UAAU,GACX,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE;QAC/B,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC5B,WAAW,EAAE,WAAW,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;KACrB,KAAK,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC3D,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,iDAoEA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StaticTopics } from "../../../../../../../../../core/domain";
|
|
2
|
+
import type { PostFull } from "../../../../../../../../../core/domain/resources/post/full";
|
|
3
|
+
import type { createPostFindFullAction } from "../../../../../../../../../core/server/interfaces";
|
|
4
|
+
import type { AllowPostField, createPostShowContent, createSeoMetadataDialog } from "../../../../../../components/resources";
|
|
5
|
+
import type { ReactNode } from "react";
|
|
6
|
+
export declare function createTopicShowPage({ topics: staticTopics, enableSeoMetadata, externalHref, postFindFullAction, SeoMetadataDialog, renderPostShowContent, PostShowContent, allowField, }: {
|
|
7
|
+
topics: StaticTopics;
|
|
8
|
+
enableSeoMetadata?: boolean;
|
|
9
|
+
externalHref?: (topic: PostFull) => string;
|
|
10
|
+
postFindFullAction: ReturnType<typeof createPostFindFullAction>;
|
|
11
|
+
SeoMetadataDialog: ReturnType<typeof createSeoMetadataDialog>;
|
|
12
|
+
renderPostShowContent?: (params: {
|
|
13
|
+
topic: PostFull | undefined;
|
|
14
|
+
isFetching: boolean;
|
|
15
|
+
isNotFound: boolean;
|
|
16
|
+
}) => ReactNode;
|
|
17
|
+
PostShowContent?: ReturnType<typeof createPostShowContent>;
|
|
18
|
+
allowField?: AllowPostField;
|
|
19
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWvC,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EAAE,YAAY,EACpB,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,UAAU,GACX,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,CAAC;IAC3C,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC9D,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE;QAC/B,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC5B,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;KACrB,KAAK,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC3D,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,iDA6EA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/topic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { StaticTopics } from "../../../../../../../../core/domain";
|
|
2
|
+
import type { createPostFindManyAction } from "../../../../../../../../core/server/interfaces";
|
|
3
|
+
import type { AllowPostField, createTopicCard } from "../../../../../components/resources";
|
|
4
|
+
import type { createTopicTable } from "../../../../../components/resources/post/topic/topic-table";
|
|
5
|
+
import { type createPostList } from "../../../../../components/resources";
|
|
6
|
+
export declare function createTopicIndexPage({ topics: staticTopics, postFindManyAction, TopicCard, TopicTable, PostList, allowField, }: {
|
|
7
|
+
topics: StaticTopics;
|
|
8
|
+
postFindManyAction: ReturnType<typeof createPostFindManyAction>;
|
|
9
|
+
TopicCard: ReturnType<typeof createTopicCard>;
|
|
10
|
+
TopicTable: ReturnType<typeof createTopicTable>;
|
|
11
|
+
PostList: ReturnType<typeof createPostList>;
|
|
12
|
+
allowField: AllowPostField;
|
|
13
|
+
}): () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAQnG,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAI1E,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EAAE,YAAY,EACpB,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,UAAU,GACX,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAChE,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC9C,UAAU,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAChD,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,UAAU,EAAE,cAAc,CAAC;CAC5B,iDAmEA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/edit/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACf,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EACnB,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/edit/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACf,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EACnB,MAAM,yCAAyC,CAAC;AAYjD,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAgBzF,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,cAAc,GACf,EAAE;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,sBAAsB,EAAE,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC;IACxE,mBAAmB,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAClE,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC9D,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC9C,YAAY,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IACpD,cAAc,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACzD,iDAmUA"}
|
package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/page.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EACV,2BAA2B,EAC3B,cAAc,EACf,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EACV,2BAA2B,EAC3B,cAAc,EACf,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,sCAAsC,CAAC;AA2B9C,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,gBAAgB,EAChB,qBAAqB,GACtB,EAAE;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,mBAAmB,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAClE,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC9D,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,WAAW,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAClD,gBAAgB,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;IAC5D,qBAAqB,EAAE,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC;CACvE,iDAmPA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/system/access/admin/create/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACf,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EACnB,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/cms/client/interfaces/pages/dashboard/system/access/admin/create/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACf,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EACnB,MAAM,sCAAsC,CAAC;AAgC9C,wBAAgB,qBAAqB,CAAC,EACpC,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,cAAc,GACf,EAAE;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,sBAAsB,EAAE,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC;IACxE,iBAAiB,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAC9D,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IAC5C,SAAS,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC9C,YAAY,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IACpD,cAAc,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACzD,iDAmUA"}
|
|
@@ -18,6 +18,7 @@ export { createContentManagementPage } from "./dashboard/content/content-managem
|
|
|
18
18
|
export { createTopicScopePage } from "./dashboard/content/content-management/[topicSlug]";
|
|
19
19
|
export { createPostCreatePage, createPostShowPage, createPostEditPage, } from "./dashboard/content/content-management/[topicSlug]/post";
|
|
20
20
|
export { createCategoryCreatePage, createCategoryShowPage, createCategoryEditPage, } from "./dashboard/content/content-management/[topicSlug]/category";
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
21
|
+
export { createSubcategoryCreatePage, createSubcategoryShowPage, createSubcategoryEditPage, } from "./dashboard/content/content-management/[topicSlug]/subcategory";
|
|
22
|
+
export { createTopicIndexPage, createTopicShowPage, createTopicEditPage, } from "./dashboard/content/content-management/topic";
|
|
23
|
+
export { createTagIndexPage, createTagCreatePage, createTagShowPage, createTagEditPage, } from "./dashboard/content/content-management/tag";
|
|
23
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/client/interfaces/pages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAMvC,OAAO,EACL,gBAAgB,EAAE,SAAS;AAC3B,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAMlB,OAAO,EACL,qBAAqB,EAAE,SAAS;AAChC,mBAAmB,GACpB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAO9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAG7D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AAIzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAOnE,OAAO,EACL,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAGrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAG1F,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,yDAAyD,CAAC;AAGjE,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,6DAA6D,CAAC;AAGrE,OAAO,EACL,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/client/interfaces/pages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAMvC,OAAO,EACL,gBAAgB,EAAE,SAAS;AAC3B,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAMlB,OAAO,EACL,qBAAqB,EAAE,SAAS;AAChC,mBAAmB,GACpB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAO9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAG7D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AAIzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAOnE,OAAO,EACL,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAGrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAG1F,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,yDAAyD,CAAC;AAGjE,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,6DAA6D,CAAC;AAGrE,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,gEAAgE,CAAC;AAGxE,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,4CAA4C,CAAC"}
|
|
@@ -65,12 +65,15 @@ export declare const CMS_PATHS: {
|
|
|
65
65
|
readonly category: {
|
|
66
66
|
readonly pathname: (topicSlug?: string) => string;
|
|
67
67
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
readonly subcategory: {
|
|
69
|
+
readonly pathname: (topicSlug?: string) => string;
|
|
70
|
+
};
|
|
71
|
+
readonly topic: {
|
|
72
|
+
readonly pathname: "/cms/dashboard/content/content-management/topic";
|
|
73
|
+
};
|
|
74
|
+
readonly tag: {
|
|
75
|
+
readonly pathname: "/cms/dashboard/content/content-management/tag";
|
|
76
|
+
};
|
|
74
77
|
};
|
|
75
78
|
};
|
|
76
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cms-paths.d.ts","sourceRoot":"","sources":["../../../../../src/constants/paths/cms-paths.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmDQ,MAAM;;;gDAIN,MAAM;;;;;;;;;;CAO1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"cms-paths.d.ts","sourceRoot":"","sources":["../../../../../src/constants/paths/cms-paths.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmDQ,MAAM;;;gDAIN,MAAM;;;gDAIN,MAAM;;;;;;;;;;CAO1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export { type AdminFull, ADMIN_ROLE_I18N_MAP, type FileFull, type FileCard, isFileLocked, type FolderFull, isFolderLocked, normalizeFolderKey, fileManagerDoubleClick, type PostFull, type PostListCard, type ConfigFull, ROOT_FOLDER, ROOT_FOLDER_ID, ROOT_FOLDER_NAME, SIMPLE_UPLOAD_FOLDER_KEY, SIMPLE_UPLOAD_FOLDER_NAME, } from "./resources";
|
|
1
|
+
export { type AdminFull, type FileFull, type FileCard, isFileLocked, type FolderFull, isFolderLocked, normalizeFolderKey, fileManagerDoubleClick, type PostFull, type PostListCard, type ConfigFull, ROOT_FOLDER, ROOT_FOLDER_ID, ROOT_FOLDER_NAME, SIMPLE_UPLOAD_FOLDER_KEY, SIMPLE_UPLOAD_FOLDER_NAME, } from "./resources";
|
|
3
2
|
export type { StaticAdmins, StaticTopics, StaticPages, StaticInquiry, InquiryFields, StaticConfigs, SeoMetadataField, PostField, SiteConfig, StaticEmails, } from "./static";
|
|
3
|
+
export { getTopicCategories, getTopicPosts, getTopicProducts, getTopicSubcategories, hasTopicRole, isContentTopic, isProductTopic, } from "./static";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/domain/index.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/domain/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,SAAS,EAEd,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,YAAY,EAEZ,KAAK,UAAU,EACf,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EAEtB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,UAAU,EAEf,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,aAAa,CAAC;AAKrB,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,YAAY,GACb,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,cAAc,GACf,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/domain/resources/admin/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/domain/resources/admin/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type AdminFull,
|
|
1
|
+
export { type AdminFull, } from "./admin";
|
|
2
2
|
export { type FileFull, type FileCard, isFileLocked, } from "./file";
|
|
3
3
|
export { type FolderFull, isFolderLocked, normalizeFolderKey, fileManagerDoubleClick, } from "./folder";
|
|
4
4
|
export { type PostFull, type PostListCard, } from "./post";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/resources/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/resources/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,SAAS,GACf,MAAM,SAAS,CAAC;AAKjB,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,QAAQ,EAEb,YAAY,GACb,MAAM,QAAQ,CAAC;AAKhB,OAAO,EACL,KAAK,UAAU,EAEf,cAAc,EACd,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,UAAU,CAAC;AAKlB,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,YAAY,GAClB,MAAM,QAAQ,CAAC;AAKhB,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,OAAO,EAEL,WAAW,EACX,cAAc,EACd,gBAAgB,EAEhB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { StaticAdmins } from "./admins";
|
|
2
|
-
export type
|
|
2
|
+
export { getTopicCategories, getTopicPosts, getTopicProducts, getTopicSubcategories, hasTopicRole, isContentTopic, isProductTopic, type StaticTopics, } from "./topics";
|
|
3
3
|
export type { StaticPages } from "./pages";
|
|
4
4
|
export type { StaticInquiry, InquiryFields } from "./inquiry";
|
|
5
5
|
export type { StaticConfigs } from "./configs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/static/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/static/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,KAAK,YAAY,GAClB,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC9D,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type PostField = "author" | "parents" | "tags" | "coverImage" | "
|
|
1
|
+
export type PostField = "author" | "parents" | "tags" | "coverImage" | "text-content-separator" | "title" | "subtitle" | "summary" | "description" | "content" | "better-seo-separator" | "externalLinks" | "faq" | "readTime" | "related-posts-separator" | "relatedPosts" | "isActive" | "isIndexActive" | "isSlugActive" | "isFeatured" | "isShownOnHome";
|
|
2
2
|
//# sourceMappingURL=post.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/static/post.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAEjB,QAAQ,GACR,SAAS,GACT,MAAM,GACN,YAAY,GAGZ,
|
|
1
|
+
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/static/post.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAEjB,QAAQ,GACR,SAAS,GACT,MAAM,GACN,YAAY,GAGZ,wBAAwB,GACxB,OAAO,GACP,UAAU,GACV,SAAS,GACT,aAAa,GACb,SAAS,GAGT,sBAAsB,GACtB,eAAe,GACf,KAAK,GACL,UAAU,GAGV,yBAAyB,GACzB,cAAc,GAGd,UAAU,GACV,eAAe,GACf,cAAc,GACd,YAAY,GACZ,eAAe,CAAC"}
|
|
@@ -1,11 +1,44 @@
|
|
|
1
1
|
import type { LocalizedText } from "./shared";
|
|
2
2
|
import type { LucideIcon } from "lucide-react";
|
|
3
|
-
|
|
3
|
+
import { type PostType } from "sitero-domain";
|
|
4
|
+
export type StaticTopicRole = Extract<PostType, "POST" | "CATEGORY" | "SUBCATEGORY" | "PRODUCT">;
|
|
5
|
+
export interface StaticTopics<Locale extends string = string> {
|
|
4
6
|
[slug: string]: {
|
|
5
7
|
icon: LucideIcon;
|
|
6
|
-
|
|
7
|
-
categoryType: PostType | null;
|
|
8
|
+
roles: StaticTopicRole[];
|
|
8
9
|
title: LocalizedText<Locale>;
|
|
9
10
|
};
|
|
10
11
|
}
|
|
12
|
+
interface TopicItem {
|
|
13
|
+
type: PostType;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Check whether a static Topic supports a content role.
|
|
17
|
+
*/
|
|
18
|
+
export declare function hasTopicRole(topics: StaticTopics, slug: string, role: StaticTopicRole): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Check whether a static Topic belongs to the Content CMS scope.
|
|
21
|
+
*/
|
|
22
|
+
export declare function isContentTopic(topics: StaticTopics, slug: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Check whether a static Topic belongs to the Product CMS scope.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isProductTopic(topics: StaticTopics, slug: string): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Get Categories that belong to a static Topic role.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getTopicCategories<T extends TopicItem>(topics: StaticTopics, slug: string | undefined, items: T[] | null | undefined): T[];
|
|
31
|
+
/**
|
|
32
|
+
* Get Subcategories that belong to a static Topic role.
|
|
33
|
+
*/
|
|
34
|
+
export declare function getTopicSubcategories<T extends TopicItem>(topics: StaticTopics, slug: string | undefined, items: T[] | null | undefined): T[];
|
|
35
|
+
/**
|
|
36
|
+
* Get Posts that belong to a static Topic role.
|
|
37
|
+
*/
|
|
38
|
+
export declare function getTopicPosts<T extends TopicItem>(topics: StaticTopics, slug: string | undefined, items: T[] | null | undefined): T[];
|
|
39
|
+
/**
|
|
40
|
+
* Get Products that belong to a static Topic role.
|
|
41
|
+
*/
|
|
42
|
+
export declare function getTopicProducts<T extends TopicItem>(topics: StaticTopics, slug: string | undefined, items: T[] | null | undefined): T[];
|
|
43
|
+
export {};
|
|
11
44
|
//# sourceMappingURL=topics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topics.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/static/topics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"topics.d.ts","sourceRoot":"","sources":["../../../../../../src/core/domain/static/topics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG,OAAO,CACnC,QAAQ,EACR,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAChD,CAAC;AAEF,MAAM,WAAW,YAAY,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC1D,CAAC,IAAI,EAAE,MAAM,GAAG;QACd,IAAI,EAAE,UAAU,CAAC;QACjB,KAAK,EAAE,eAAe,EAAE,CAAC;QACzB,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KAC9B,CAAC;CACH;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAYD;;GAEG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,eAAe,WAGtB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,WAKhE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,WAEhE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,SAAS,EACpD,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,OAG9B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,SAAS,EACvD,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,OAG9B;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,SAAS,EAC/C,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,OAG9B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,SAAS,EAClD,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,OAG9B"}
|
|
@@ -2,7 +2,7 @@ export { createAdminCommandRepository, createAdminQueryRepository, } from "./adm
|
|
|
2
2
|
export { createAdminRefreshTokenCommandRepository, createAdminRefreshTokenQueryRepository, } from "./admin-refresh-token";
|
|
3
3
|
export { createFileCommandRepository, createFileQueryRepository } from "./file";
|
|
4
4
|
export { createFolderCommandRepository, createFolderQueryRepository, } from "./folder";
|
|
5
|
-
export { createPostCommandRepository, createPostQueryRepository, POST_LIST_CARD_INCLUDE, postListCardToDomain, type PrismaPostListCard, } from "./post";
|
|
5
|
+
export { createPostCommandRepository, createPostCreateData, createPostUpdateData, createPostQueryRepository, POST_LIST_CARD_INCLUDE, postListCardToDomain, type PrismaPostListCard, } from "./post";
|
|
6
6
|
export { createSeoMetadataCommandRepository } from "./seo-metadata";
|
|
7
7
|
export { createConfigCommandRepository, createConfigQueryRepository, } from "./config";
|
|
8
8
|
export { createInquiryCommandRepository, createInquiryQueryRepository, } from "./inquiry";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/server/infrastructure/database/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AAGhF,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,sBAAsB,EACtB,oBAAoB,EACpB,KAAK,kBAAkB,GACxB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,QAAQ,EACR,cAAc,EACd,aAAa,EACb,eAAe,GAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/server/infrastructure/database/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AAGhF,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,sBAAsB,EACtB,oBAAoB,EACpB,KAAK,kBAAkB,GACxB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,QAAQ,EACR,cAAc,EACd,aAAa,EACb,eAAe,GAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/server/infrastructure/database/post/command/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/server/infrastructure/database/post/command/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/types/src/core/server/infrastructure/database/post/command/post-command-repository.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { CreateParams, UpdateParams } from "./types";
|
|
|
2
2
|
import type { PrismaClient } from "../../../../../../../prisma/generated/client";
|
|
3
3
|
import type { Post } from "sitero-domain";
|
|
4
4
|
export declare function createPostCommandRepository(prisma: PrismaClient): {
|
|
5
|
-
create: ({
|
|
6
|
-
update: ({ id,
|
|
5
|
+
create: ({ type, ...params }: CreateParams) => Promise<Post>;
|
|
6
|
+
update: ({ id, type, ...params }: UpdateParams) => Promise<Post>;
|
|
7
7
|
delete: ({ id }: {
|
|
8
8
|
id: string;
|
|
9
9
|
}) => Promise<Post>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-command-repository.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/server/infrastructure/database/post/command/post-command-repository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"post-command-repository.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/server/infrastructure/database/post/command/post-command-repository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AAMpD,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,YAAY;kCAInB,YAAY,KAAG,OAAO,CAAC,IAAI,CAAC;sCAYxB,YAAY,KAAG,OAAO,CAAC,IAAI,CAAC;qBAW5C;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,KAAG,OAAO,CAAC,IAAI,CAAC;EAe9D"}
|