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.
Files changed (401) hide show
  1. package/dist/export/cms/client/components/editor/index.js +3 -0
  2. package/dist/export/cms/client/components/index.js +24 -21
  3. package/dist/export/cms/client/i18n/index.js +1 -0
  4. package/dist/export/cms/client/index.js +10 -0
  5. package/dist/export/cms/client/pages/index.js +10 -8
  6. package/dist/export/core/server/index.js +8 -1
  7. package/dist/export/index.js +2 -1
  8. package/dist/export/web/server/index.js +1 -0
  9. package/dist/src/cms/client/applications/create-applications.js +3 -1
  10. package/dist/src/cms/client/applications/ui/use-nav-items.js +202 -0
  11. package/dist/src/cms/client/infrastructure/i18n/intor-config.js +8 -5
  12. package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/admin.js +1 -1
  13. package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.js +1 -0
  14. package/dist/src/cms/client/infrastructure/i18n/messages/index.js +9 -0
  15. package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/admin.js +1 -1
  16. package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.js +1 -0
  17. package/dist/src/cms/client/interfaces/components/create-components.js +25 -24
  18. package/dist/src/cms/client/interfaces/components/create-post-contents.js +85 -0
  19. package/dist/src/cms/client/interfaces/components/resources/admin/admin-card.js +6 -2
  20. package/dist/src/cms/client/interfaces/components/resources/admin/admin-refresh-tokens/admin-refresh-token-card.js +3 -0
  21. package/dist/src/cms/client/interfaces/components/resources/admin/admin-relations-section.js +2 -3
  22. package/dist/src/cms/client/interfaces/components/resources/admin/admin-table.js +3 -2
  23. package/dist/src/cms/client/interfaces/components/resources/config/config-edit-content.js +19 -2
  24. package/dist/src/cms/client/interfaces/components/resources/file/file-card.js +3 -0
  25. package/dist/src/cms/client/interfaces/components/resources/file/file-relations-section.js +2 -3
  26. package/dist/src/cms/client/interfaces/components/resources/file/file-state-icons.js +1 -2
  27. package/dist/src/cms/client/interfaces/components/resources/file/file-table.js +0 -1
  28. package/dist/src/cms/client/interfaces/components/resources/file/search/is-locked-buttons.js +6 -0
  29. package/dist/src/cms/client/interfaces/components/resources/file/search/type-buttons.js +6 -0
  30. package/dist/src/cms/client/interfaces/components/resources/folder/file-manager/file-manager-header.js +1 -2
  31. package/dist/src/cms/client/interfaces/components/resources/folder/file-manager/file-manager-list.js +0 -1
  32. package/dist/src/cms/client/interfaces/components/resources/folder/folder-card.js +3 -0
  33. package/dist/src/cms/client/interfaces/components/resources/folder/folder-list.js +0 -1
  34. package/dist/src/cms/client/interfaces/components/resources/folder/folder-relations-section.js +0 -1
  35. package/dist/src/cms/client/interfaces/components/resources/folder/folder-state-icons.js +1 -2
  36. package/dist/src/cms/client/interfaces/components/resources/folder/folder-table.js +0 -1
  37. package/dist/src/cms/client/interfaces/components/resources/inquiry/inquiry-card.js +3 -0
  38. package/dist/src/cms/client/interfaces/components/resources/{category → post/category}/category-card.js +25 -19
  39. package/dist/src/cms/client/interfaces/components/resources/{category → post/category}/category-relations-section.js +25 -18
  40. package/dist/src/cms/client/interfaces/components/resources/{category → post/category}/category-table.js +27 -21
  41. package/dist/src/cms/client/interfaces/components/resources/post/content/post-create-content.js +462 -0
  42. package/dist/src/cms/client/interfaces/components/resources/post/content/post-edit-content.js +460 -0
  43. package/dist/src/cms/client/interfaces/components/resources/post/content/post-show-content.js +217 -0
  44. package/dist/src/cms/client/interfaces/components/resources/post/content/types.js +12 -0
  45. package/dist/src/cms/client/interfaces/components/resources/post/post-card.js +16 -71
  46. package/dist/src/cms/client/interfaces/components/resources/post/post-list.js +3 -6
  47. package/dist/src/cms/client/interfaces/components/resources/post/post-relations-section.js +0 -1
  48. package/dist/src/cms/client/interfaces/components/resources/post/post-table.js +0 -1
  49. package/dist/src/cms/client/interfaces/components/resources/post/search/control-fields-buttons.js +9 -50
  50. package/dist/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-card.js +18 -17
  51. package/dist/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-relations-section.js +13 -14
  52. package/dist/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-table.js +19 -17
  53. package/dist/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-card.js +28 -22
  54. package/dist/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-table.js +31 -24
  55. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/basic-tags.js +1 -2
  56. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/json-ld-tags.js +1 -2
  57. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/open-graph-tags.js +1 -2
  58. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/fields/twitter-tags.js +1 -2
  59. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.js +5 -0
  60. package/dist/src/cms/client/interfaces/components/ui/blocks/list-container/list-container.js +5 -0
  61. package/dist/src/cms/client/interfaces/components/ui/blocks/list-container/page-size-selector.js +5 -0
  62. package/dist/src/cms/client/interfaces/components/ui/blocks/page-header/page-header.js +6 -1
  63. package/dist/src/cms/client/interfaces/components/ui/blocks/page-header/presets/index.js +11 -0
  64. package/dist/src/cms/client/interfaces/components/ui/buttons/return-button.js +6 -0
  65. package/dist/src/cms/client/interfaces/components/ui/features/external-link.js +6 -0
  66. package/dist/src/cms/client/interfaces/components/ui/features/file/file-info/file-info.js +4 -1
  67. package/dist/src/cms/client/interfaces/components/ui/features/file/file-preview/file-preview-list.js +6 -0
  68. package/dist/src/cms/client/interfaces/components/ui/features/file/uploader.js +0 -1
  69. package/dist/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal-body.js +7 -4
  70. package/dist/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal-trigger.js +5 -0
  71. package/dist/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal.js +5 -0
  72. package/dist/src/cms/client/interfaces/components/ui/form/index-field.js +1 -0
  73. package/dist/src/cms/client/interfaces/components/ui/i18n/display/i18n-array-display.js +4 -1
  74. package/dist/src/cms/client/interfaces/components/ui/i18n/display/i18n-display.js +4 -1
  75. package/dist/src/cms/client/interfaces/components/ui/i18n/display/i18n-object-array-display.js +4 -1
  76. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-array-input.js +5 -0
  77. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-date-input.js +5 -0
  78. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-input.js +5 -0
  79. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-json-input.js +6 -1
  80. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-number-input.js +5 -0
  81. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-object-array-input.js +5 -0
  82. package/dist/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-textarea.js +5 -0
  83. package/dist/src/cms/client/interfaces/components/ui/inputs/array-input.js +5 -0
  84. package/dist/src/cms/client/interfaces/components/ui/inputs/editor/base/built-in-plugins.js +1 -2
  85. package/dist/src/cms/client/interfaces/components/ui/inputs/editor/editor.js +0 -1
  86. package/dist/src/cms/client/interfaces/components/ui/inputs/editor/plugins/file-repository/upload-adapter.js +1 -2
  87. package/dist/src/cms/client/interfaces/components/ui/layouts/navbar/i18n-selector.js +4 -0
  88. package/dist/src/cms/client/interfaces/components/ui/layouts/navbar/theme-selector.js +5 -0
  89. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/edit/page.js +19 -4
  90. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/page.js +42 -4
  91. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/create/page.js +20 -5
  92. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/page.js +97 -40
  93. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/edit/page.js +33 -5
  94. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/page.js +34 -4
  95. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/create/page.js +33 -5
  96. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/edit/page.js +114 -0
  97. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/page.js +169 -0
  98. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/create/page.js +116 -0
  99. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/page.js +7 -1
  100. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/_id_/edit/page.js +99 -0
  101. package/dist/src/cms/client/interfaces/pages/dashboard/content/{tag → content-management/tag}/_id_/page.js +39 -22
  102. package/dist/src/cms/client/interfaces/pages/dashboard/content/{tag/_id_/edit → content-management/tag/create}/page.js +23 -26
  103. package/dist/src/cms/client/interfaces/pages/dashboard/content/{tag/create → content-management/tag}/page.js +42 -27
  104. package/dist/src/cms/client/interfaces/pages/dashboard/content/{topic → content-management/topic}/_id_/edit/page.js +31 -15
  105. package/dist/src/cms/client/interfaces/pages/dashboard/content/{topic → content-management/topic}/_id_/page.js +35 -36
  106. package/dist/src/cms/client/interfaces/pages/dashboard/content/{topic/create → content-management/topic}/page.js +40 -15
  107. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/admin-refresh-token/page.js +0 -1
  108. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/edit/page.js +3 -2
  109. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/page.js +3 -2
  110. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/create/page.js +3 -2
  111. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/page.js +2 -2
  112. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/_id_/edit/page.js +0 -1
  113. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/_id_/page.js +0 -1
  114. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/create/page.js +0 -1
  115. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/create-many/page.js +0 -1
  116. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/delete-many/page.js +0 -1
  117. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/folder/_id_/edit/page.js +0 -1
  118. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/folder/_id_/page.js +0 -1
  119. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/folder/create/page.js +0 -1
  120. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/page.js +2 -2
  121. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/trash/page.js +1 -2
  122. package/dist/src/cms/client/interfaces/pages/dashboard/website/website-page/_slug_/page.js +0 -1
  123. package/dist/src/constants/paths/cms-paths.js +7 -4
  124. package/dist/src/core/domain/static/topics.js +29 -0
  125. package/dist/src/core/server/create-core-server.js +0 -1
  126. package/dist/src/core/server/infrastructure/database/file/query/file-query-repository.js +1 -1
  127. package/dist/src/core/server/infrastructure/database/folder/query/folder-query-repository.js +1 -1
  128. package/dist/src/core/server/infrastructure/database/post/command/post-command-repository.js +6 -151
  129. package/dist/src/core/server/infrastructure/database/post/command/post-create-data.js +81 -0
  130. package/dist/src/core/server/infrastructure/database/post/command/post-update-data.js +86 -0
  131. package/dist/src/core/server/infrastructure/i18n/messages/index.js +9 -0
  132. package/dist/src/core/server/interfaces/actions/resources/file/commands/purge-many/file-purge-many-action.js +1 -1
  133. package/dist/src/core/server/interfaces/actions/resources/file/commands/soft-delete/file-soft-delete-action.js +1 -1
  134. package/dist/src/core/server/interfaces/actions/resources/file/commands/soft-delete-many/file-soft-delete-many-action.js +1 -1
  135. package/dist/src/core/server/interfaces/actions/resources/folder/commands/delete/folder-delete-action.js +1 -1
  136. package/dist/src/core/server/interfaces/actions/resources/folder/queries/folder-find-full-action.js +1 -1
  137. package/dist/src/core/server/seeders/folder/seeder.js +1 -1
  138. package/dist/src/web/server/applications/sitemap/get-post-items.js +46 -6
  139. package/dist/src/web/server/applications/sitemap/get-subcategory-items.js +34 -0
  140. package/dist/src/web/server/create-web-server.js +0 -1
  141. package/dist/src/web/server/interfaces/actions/resources/config/queries/config-find-action.js +0 -1
  142. package/dist/src/web/server/interfaces/actions/resources/post/queries/post-find-full-action.js +0 -1
  143. package/dist/src/web/server/interfaces/create-web-interfaces.js +4 -0
  144. package/dist/src/web/server/interfaces/loaders/load-categories.js +6 -4
  145. package/dist/src/web/server/interfaces/loaders/load-category.js +8 -2
  146. package/dist/src/web/server/interfaces/loaders/load-post.js +8 -2
  147. package/dist/src/web/server/interfaces/loaders/load-posts.js +7 -3
  148. package/dist/src/web/server/interfaces/loaders/load-subcategories.js +60 -0
  149. package/dist/src/web/server/interfaces/loaders/load-subcategory.js +27 -0
  150. package/dist/types/export/cms/client/components/index.d.ts +4 -1
  151. package/dist/types/export/cms/client/components/index.d.ts.map +1 -1
  152. package/dist/types/export/cms/client/i18n/index.d.ts +1 -1
  153. package/dist/types/export/cms/client/i18n/index.d.ts.map +1 -1
  154. package/dist/types/export/cms/client/index.d.ts +1 -1
  155. package/dist/types/export/cms/client/index.d.ts.map +1 -1
  156. package/dist/types/export/cms/client/pages/index.d.ts +1 -1
  157. package/dist/types/export/cms/client/pages/index.d.ts.map +1 -1
  158. package/dist/types/export/core/server/index.d.ts +6 -1
  159. package/dist/types/export/core/server/index.d.ts.map +1 -1
  160. package/dist/types/export/index.d.ts +2 -2
  161. package/dist/types/export/index.d.ts.map +1 -1
  162. package/dist/types/export/web/server/index.d.ts +1 -1
  163. package/dist/types/export/web/server/index.d.ts.map +1 -1
  164. package/dist/types/src/cms/client/applications/create-applications.d.ts.map +1 -1
  165. package/dist/types/src/cms/client/applications/resources/post/use-create-form-data.d.ts +1 -1
  166. package/dist/types/src/cms/client/applications/resources/post/use-create-form-data.d.ts.map +1 -1
  167. package/dist/types/src/cms/client/applications/types.d.ts +2 -1
  168. package/dist/types/src/cms/client/applications/types.d.ts.map +1 -1
  169. package/dist/types/src/cms/client/applications/ui/index.d.ts +1 -0
  170. package/dist/types/src/cms/client/applications/ui/index.d.ts.map +1 -1
  171. package/dist/types/src/cms/client/applications/ui/use-nav-items.d.ts +20 -0
  172. package/dist/types/src/cms/client/applications/ui/use-nav-items.d.ts.map +1 -0
  173. package/dist/types/src/cms/client/infrastructure/i18n/index.d.ts +1 -0
  174. package/dist/types/src/cms/client/infrastructure/i18n/index.d.ts.map +1 -1
  175. package/dist/types/src/cms/client/infrastructure/i18n/intor-config.d.ts.map +1 -1
  176. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/index.d.ts +4 -1
  177. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/index.d.ts.map +1 -1
  178. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/admin.d.ts +1 -1
  179. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.d.ts +4 -1
  180. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.d.ts.map +1 -1
  181. package/dist/types/src/cms/client/infrastructure/i18n/messages/index.d.ts +1347 -0
  182. package/dist/types/src/cms/client/infrastructure/i18n/messages/index.d.ts.map +1 -0
  183. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/index.d.ts +4 -1
  184. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/index.d.ts.map +1 -1
  185. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/admin.d.ts +1 -1
  186. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.d.ts +4 -1
  187. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.d.ts.map +1 -1
  188. package/dist/types/src/cms/client/interfaces/components/create-components.d.ts +10 -5
  189. package/dist/types/src/cms/client/interfaces/components/create-components.d.ts.map +1 -1
  190. package/dist/types/src/cms/client/interfaces/components/create-post-contents.d.ts +38 -0
  191. package/dist/types/src/cms/client/interfaces/components/create-post-contents.d.ts.map +1 -0
  192. package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-card.d.ts.map +1 -1
  193. package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-relations-section.d.ts +1 -2
  194. package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-relations-section.d.ts.map +1 -1
  195. package/dist/types/src/cms/client/interfaces/components/resources/admin/admin-table.d.ts.map +1 -1
  196. package/dist/types/src/cms/client/interfaces/components/resources/config/config-edit-content.d.ts +1 -1
  197. package/dist/types/src/cms/client/interfaces/components/resources/config/config-edit-content.d.ts.map +1 -1
  198. package/dist/types/src/cms/client/interfaces/components/resources/file/file-relations-section.d.ts +1 -2
  199. package/dist/types/src/cms/client/interfaces/components/resources/file/file-relations-section.d.ts.map +1 -1
  200. package/dist/types/src/cms/client/interfaces/components/resources/index.d.ts +5 -4
  201. package/dist/types/src/cms/client/interfaces/components/resources/index.d.ts.map +1 -1
  202. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-card.d.ts +8 -0
  203. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-card.d.ts.map +1 -0
  204. package/dist/types/src/cms/client/interfaces/components/resources/{category → post/category}/category-relations-section.d.ts +4 -4
  205. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-relations-section.d.ts.map +1 -0
  206. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-table.d.ts +8 -0
  207. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-table.d.ts.map +1 -0
  208. package/dist/types/src/cms/client/interfaces/components/resources/post/category/index.d.ts.map +1 -0
  209. package/dist/types/src/cms/client/interfaces/components/resources/post/content/index.d.ts +6 -0
  210. package/dist/types/src/cms/client/interfaces/components/resources/post/content/index.d.ts.map +1 -0
  211. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-create-content.d.ts +46 -0
  212. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-create-content.d.ts.map +1 -0
  213. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-edit-content.d.ts +45 -0
  214. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-edit-content.d.ts.map +1 -0
  215. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-show-content.d.ts +26 -0
  216. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-show-content.d.ts.map +1 -0
  217. package/dist/types/src/cms/client/interfaces/components/resources/post/content/types.d.ts +19 -0
  218. package/dist/types/src/cms/client/interfaces/components/resources/post/content/types.d.ts.map +1 -0
  219. package/dist/types/src/cms/client/interfaces/components/resources/post/index.d.ts +2 -0
  220. package/dist/types/src/cms/client/interfaces/components/resources/post/index.d.ts.map +1 -1
  221. package/dist/types/src/cms/client/interfaces/components/resources/post/post-card.d.ts +1 -8
  222. package/dist/types/src/cms/client/interfaces/components/resources/post/post-card.d.ts.map +1 -1
  223. package/dist/types/src/cms/client/interfaces/components/resources/post/post-list.d.ts +4 -3
  224. package/dist/types/src/cms/client/interfaces/components/resources/post/post-list.d.ts.map +1 -1
  225. package/dist/types/src/cms/client/interfaces/components/resources/post/post-relations-section.d.ts +1 -1
  226. package/dist/types/src/cms/client/interfaces/components/resources/post/post-relations-section.d.ts.map +1 -1
  227. package/dist/types/src/cms/client/interfaces/components/resources/post/search/control-fields-buttons.d.ts +0 -2
  228. package/dist/types/src/cms/client/interfaces/components/resources/post/search/control-fields-buttons.d.ts.map +1 -1
  229. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/index.d.ts.map +1 -0
  230. package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-card.d.ts +1 -1
  231. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-card.d.ts.map +1 -0
  232. package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-relations-section.d.ts +4 -4
  233. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-relations-section.d.ts.map +1 -0
  234. package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/tag-table.d.ts +1 -1
  235. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-table.d.ts.map +1 -0
  236. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/index.d.ts.map +1 -0
  237. package/dist/types/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-card.d.ts +2 -2
  238. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-card.d.ts.map +1 -0
  239. package/dist/types/src/cms/client/interfaces/components/resources/{topic → post/topic}/topic-table.d.ts +2 -2
  240. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-table.d.ts.map +1 -0
  241. package/dist/types/src/cms/client/interfaces/components/ui/blocks/page-header/presets/index.d.ts.map +1 -1
  242. package/dist/types/src/cms/client/interfaces/components/ui/blocks/page-header/types.d.ts +1 -0
  243. package/dist/types/src/cms/client/interfaces/components/ui/blocks/page-header/types.d.ts.map +1 -1
  244. package/dist/types/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal.d.ts +2 -1
  245. package/dist/types/src/cms/client/interfaces/components/ui/features/pick-modal/pick-modal.d.ts.map +1 -1
  246. package/dist/types/src/cms/client/interfaces/components/ui/form/index-field.d.ts.map +1 -1
  247. package/dist/types/src/cms/client/interfaces/components/ui/i18n/display/i18n-array-display.d.ts.map +1 -1
  248. package/dist/types/src/cms/client/interfaces/components/ui/i18n/display/i18n-display.d.ts.map +1 -1
  249. package/dist/types/src/cms/client/interfaces/components/ui/i18n/display/i18n-object-array-display.d.ts.map +1 -1
  250. package/dist/types/src/cms/client/interfaces/components/ui/i18n/inputs/i18n-json-input.d.ts.map +1 -1
  251. package/dist/types/src/cms/client/interfaces/components/ui/inputs/editor/base/built-in-plugins.d.ts.map +1 -1
  252. package/dist/types/src/cms/client/interfaces/components/ui/layouts/content-container.d.ts +1 -1
  253. package/dist/types/src/cms/client/interfaces/components/ui/layouts/content-container.d.ts.map +1 -1
  254. package/dist/types/src/cms/client/interfaces/components/ui/layouts/sidebar/nav-main.d.ts +1 -1
  255. package/dist/types/src/cms/client/interfaces/components/ui/layouts/sidebar/nav-main.d.ts.map +1 -1
  256. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/edit/page.d.ts +6 -2
  257. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/edit/page.d.ts.map +1 -1
  258. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/page.d.ts +6 -3
  259. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/page.d.ts.map +1 -1
  260. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/create/page.d.ts +6 -2
  261. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/create/page.d.ts.map +1 -1
  262. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/page.d.ts +3 -3
  263. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/page.d.ts.map +1 -1
  264. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/edit/page.d.ts +6 -2
  265. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/edit/page.d.ts.map +1 -1
  266. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/page.d.ts +7 -3
  267. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/page.d.ts.map +1 -1
  268. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/create/page.d.ts +6 -2
  269. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/create/page.d.ts.map +1 -1
  270. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/edit/page.d.ts +24 -0
  271. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/edit/page.d.ts.map +1 -0
  272. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.d.ts +27 -0
  273. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.d.ts.map +1 -0
  274. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.d.ts +24 -0
  275. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.d.ts.map +1 -0
  276. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/index.d.ts +4 -0
  277. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/index.d.ts.map +1 -0
  278. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts +3 -1
  279. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts.map +1 -1
  280. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/edit/page.d.ts +20 -0
  281. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/edit/page.d.ts.map +1 -0
  282. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/page.d.ts +23 -0
  283. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/page.d.ts.map +1 -0
  284. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/create/page.d.ts +16 -0
  285. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/create/page.d.ts.map +1 -0
  286. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/index.d.ts.map +1 -0
  287. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/page.d.ts +14 -0
  288. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/page.d.ts.map +1 -0
  289. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.d.ts +20 -0
  290. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.d.ts.map +1 -0
  291. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.d.ts +20 -0
  292. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.d.ts.map +1 -0
  293. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/{topic → content-management/topic}/index.d.ts +0 -1
  294. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/index.d.ts.map +1 -0
  295. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.d.ts +14 -0
  296. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.d.ts.map +1 -0
  297. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/edit/page.d.ts.map +1 -1
  298. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/page.d.ts.map +1 -1
  299. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/create/page.d.ts.map +1 -1
  300. package/dist/types/src/cms/client/interfaces/pages/index.d.ts +3 -2
  301. package/dist/types/src/cms/client/interfaces/pages/index.d.ts.map +1 -1
  302. package/dist/types/src/constants/paths/cms-paths.d.ts +9 -6
  303. package/dist/types/src/constants/paths/cms-paths.d.ts.map +1 -1
  304. package/dist/types/src/core/domain/index.d.ts +2 -2
  305. package/dist/types/src/core/domain/index.d.ts.map +1 -1
  306. package/dist/types/src/core/domain/resources/admin/index.d.ts +0 -1
  307. package/dist/types/src/core/domain/resources/admin/index.d.ts.map +1 -1
  308. package/dist/types/src/core/domain/resources/index.d.ts +1 -1
  309. package/dist/types/src/core/domain/resources/index.d.ts.map +1 -1
  310. package/dist/types/src/core/domain/static/index.d.ts +1 -1
  311. package/dist/types/src/core/domain/static/index.d.ts.map +1 -1
  312. package/dist/types/src/core/domain/static/post.d.ts +1 -1
  313. package/dist/types/src/core/domain/static/post.d.ts.map +1 -1
  314. package/dist/types/src/core/domain/static/topics.d.ts +36 -3
  315. package/dist/types/src/core/domain/static/topics.d.ts.map +1 -1
  316. package/dist/types/src/core/server/infrastructure/database/index.d.ts +1 -1
  317. package/dist/types/src/core/server/infrastructure/database/index.d.ts.map +1 -1
  318. package/dist/types/src/core/server/infrastructure/database/post/command/index.d.ts +2 -0
  319. package/dist/types/src/core/server/infrastructure/database/post/command/index.d.ts.map +1 -1
  320. package/dist/types/src/core/server/infrastructure/database/post/command/post-command-repository.d.ts +2 -2
  321. package/dist/types/src/core/server/infrastructure/database/post/command/post-command-repository.d.ts.map +1 -1
  322. package/dist/types/src/core/server/infrastructure/database/post/command/post-create-data.d.ts +160 -0
  323. package/dist/types/src/core/server/infrastructure/database/post/command/post-create-data.d.ts.map +1 -0
  324. package/dist/types/src/core/server/infrastructure/database/post/command/post-update-data.d.ts +207 -0
  325. package/dist/types/src/core/server/infrastructure/database/post/command/post-update-data.d.ts.map +1 -0
  326. package/dist/types/src/core/server/infrastructure/database/post/index.d.ts +1 -1
  327. package/dist/types/src/core/server/infrastructure/database/post/index.d.ts.map +1 -1
  328. package/dist/types/src/core/server/infrastructure/i18n/index.d.ts +1 -0
  329. package/dist/types/src/core/server/infrastructure/i18n/index.d.ts.map +1 -1
  330. package/dist/types/src/core/server/infrastructure/i18n/messages/index.d.ts +105 -0
  331. package/dist/types/src/core/server/infrastructure/i18n/messages/index.d.ts.map +1 -0
  332. package/dist/types/src/core/server/infrastructure/index.d.ts +1 -1
  333. package/dist/types/src/core/server/infrastructure/index.d.ts.map +1 -1
  334. package/dist/types/src/shared/form/types.d.ts +2 -2
  335. package/dist/types/src/shared/form/types.d.ts.map +1 -1
  336. package/dist/types/src/web/server/applications/index.d.ts +1 -1
  337. package/dist/types/src/web/server/applications/index.d.ts.map +1 -1
  338. package/dist/types/src/web/server/applications/sitemap/get-post-items.d.ts +3 -1
  339. package/dist/types/src/web/server/applications/sitemap/get-post-items.d.ts.map +1 -1
  340. package/dist/types/src/web/server/applications/sitemap/get-subcategory-items.d.ts +18 -0
  341. package/dist/types/src/web/server/applications/sitemap/get-subcategory-items.d.ts.map +1 -0
  342. package/dist/types/src/web/server/applications/sitemap/index.d.ts +1 -0
  343. package/dist/types/src/web/server/applications/sitemap/index.d.ts.map +1 -1
  344. package/dist/types/src/web/server/index.d.ts +1 -0
  345. package/dist/types/src/web/server/index.d.ts.map +1 -1
  346. package/dist/types/src/web/server/interfaces/create-web-interfaces.d.ts.map +1 -1
  347. package/dist/types/src/web/server/interfaces/loaders/index.d.ts +2 -0
  348. package/dist/types/src/web/server/interfaces/loaders/index.d.ts.map +1 -1
  349. package/dist/types/src/web/server/interfaces/loaders/load-categories.d.ts.map +1 -1
  350. package/dist/types/src/web/server/interfaces/loaders/load-category.d.ts.map +1 -1
  351. package/dist/types/src/web/server/interfaces/loaders/load-post.d.ts.map +1 -1
  352. package/dist/types/src/web/server/interfaces/loaders/load-posts.d.ts.map +1 -1
  353. package/dist/types/src/web/server/interfaces/loaders/load-subcategories.d.ts +10 -0
  354. package/dist/types/src/web/server/interfaces/loaders/load-subcategories.d.ts.map +1 -0
  355. package/dist/types/src/web/server/interfaces/loaders/load-subcategory.d.ts +8 -0
  356. package/dist/types/src/web/server/interfaces/loaders/load-subcategory.d.ts.map +1 -0
  357. package/dist/types/src/web/server/interfaces/types.d.ts +3 -1
  358. package/dist/types/src/web/server/interfaces/types.d.ts.map +1 -1
  359. package/package.json +3 -3
  360. package/dist/src/cms/client/interfaces/pages/dashboard/content/tag/page.js +0 -81
  361. package/dist/src/cms/client/interfaces/pages/dashboard/content/topic/page.js +0 -79
  362. package/dist/src/core/domain/resources/admin/constants.js +0 -9
  363. package/dist/types/src/cms/client/interfaces/components/resources/category/category-card.d.ts +0 -3
  364. package/dist/types/src/cms/client/interfaces/components/resources/category/category-card.d.ts.map +0 -1
  365. package/dist/types/src/cms/client/interfaces/components/resources/category/category-relations-section.d.ts.map +0 -1
  366. package/dist/types/src/cms/client/interfaces/components/resources/category/category-table.d.ts +0 -3
  367. package/dist/types/src/cms/client/interfaces/components/resources/category/category-table.d.ts.map +0 -1
  368. package/dist/types/src/cms/client/interfaces/components/resources/category/index.d.ts.map +0 -1
  369. package/dist/types/src/cms/client/interfaces/components/resources/tag/index.d.ts.map +0 -1
  370. package/dist/types/src/cms/client/interfaces/components/resources/tag/tag-card.d.ts.map +0 -1
  371. package/dist/types/src/cms/client/interfaces/components/resources/tag/tag-relations-section.d.ts.map +0 -1
  372. package/dist/types/src/cms/client/interfaces/components/resources/tag/tag-table.d.ts.map +0 -1
  373. package/dist/types/src/cms/client/interfaces/components/resources/topic/index.d.ts.map +0 -1
  374. package/dist/types/src/cms/client/interfaces/components/resources/topic/topic-card.d.ts.map +0 -1
  375. package/dist/types/src/cms/client/interfaces/components/resources/topic/topic-table.d.ts.map +0 -1
  376. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/edit/page.d.ts +0 -15
  377. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/edit/page.d.ts.map +0 -1
  378. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/page.d.ts +0 -17
  379. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/[id]/page.d.ts.map +0 -1
  380. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/create/page.d.ts +0 -11
  381. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/create/page.d.ts.map +0 -1
  382. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/index.d.ts.map +0 -1
  383. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/page.d.ts +0 -8
  384. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/tag/page.d.ts.map +0 -1
  385. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/edit/page.d.ts +0 -15
  386. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/edit/page.d.ts.map +0 -1
  387. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/page.d.ts +0 -17
  388. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/[id]/page.d.ts.map +0 -1
  389. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/create/page.d.ts +0 -11
  390. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/create/page.d.ts.map +0 -1
  391. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/index.d.ts.map +0 -1
  392. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/page.d.ts +0 -12
  393. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/topic/page.d.ts.map +0 -1
  394. package/dist/types/src/core/domain/resources/admin/constants.d.ts +0 -4
  395. package/dist/types/src/core/domain/resources/admin/constants.d.ts.map +0 -1
  396. package/dist/types/src/core/domain/translation.d.ts +0 -7
  397. package/dist/types/src/core/domain/translation.d.ts.map +0 -1
  398. /package/dist/types/src/cms/client/interfaces/components/resources/{category → post/category}/index.d.ts +0 -0
  399. /package/dist/types/src/cms/client/interfaces/components/resources/{tag → post/tag}/index.d.ts +0 -0
  400. /package/dist/types/src/cms/client/interfaces/components/resources/{topic → post/topic}/index.d.ts +0 -0
  401. /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,4 @@
1
+ export { createSubcategoryCreatePage } from "./create/page";
2
+ export { createSubcategoryShowPage } from "./[id]/page";
3
+ export { createSubcategoryEditPage } from "./[id]/edit/page";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1,5 +1,7 @@
1
1
  import type { createPostFindManyAction } from "../../../../../../../core/server/interfaces";
2
- export declare function createContentManagementPage({ postFindManyAction, }: {
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;AAgB5F,wBAAgB,2BAA2B,CAAC,EAC1C,kBAAkB,GACnB,EAAE;IACD,kBAAkB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;CACjE,iDAuDA"}
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"}
@@ -1,5 +1,4 @@
1
1
  export { createTopicIndexPage } from "./page";
2
- export { createTopicCreatePage } from "./create/page";
3
2
  export { createTopicShowPage } from "./[id]/page";
4
3
  export { createTopicEditPage } from "./[id]/edit/page";
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAajD,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,iDAiUA"}
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"}
@@ -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;AA4B9C,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,iDAiPA"}
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;AA6B9C,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,iDAiUA"}
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 { createTopicIndexPage, createTopicCreatePage, createTopicShowPage, createTopicEditPage, } from "./dashboard/content/topic";
22
- export { createTagIndexPage, createTagCreatePage, createTagShowPage, createTagEditPage, } from "./dashboard/content/tag";
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,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,yBAAyB,CAAC"}
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
- readonly topic: {
70
- readonly pathname: "/cms/dashboard/content/topic";
71
- };
72
- readonly tag: {
73
- readonly pathname: "/cms/dashboard/content/tag";
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 { BaseTranslation, Translation } from "./translation";
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,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKlE,OAAO,EAEL,KAAK,SAAS,EACd,mBAAmB,EAEnB,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"}
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,3 +1,2 @@
1
1
  export type { AdminFull } from "./full";
2
- export { ADMIN_ROLE_I18N_MAP } from "./constants";
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAExC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,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, ADMIN_ROLE_I18N_MAP, } from "./admin";
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,EAEd,mBAAmB,GACpB,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
+ {"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 { StaticTopics } from "./topics";
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,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,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
+ {"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" | "product-separator" | "price" | "text-content-separator" | "title" | "subtitle" | "summary" | "description" | "content" | "better-seo-separator" | "externalLinks" | "faq" | "readTime" | "related-posts-separator" | "relatedPosts" | "isActive" | "isIndexActive" | "isSlugActive" | "isFeatured" | "isShownOnHome";
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,mBAAmB,GACnB,OAAO,GAGP,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
+ {"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
- export interface StaticTopics<Locale extends string = string, PostType = string> {
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
- postType: PostType;
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;AAE/C,MAAM,WAAW,YAAY,CAC3B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,QAAQ,GAAG,MAAM;IAEjB,CAAC,IAAI,EAAE,MAAM,GAAG;QACd,IAAI,EAAE,UAAU,CAAC;QACjB,QAAQ,EAAE,QAAQ,CAAC;QACnB,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;KAC9B,CAAC;CACH"}
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,2 +1,4 @@
1
1
  export { createPostCommandRepository } from "./post-command-repository";
2
+ export { createPostCreateData } from "./post-create-data";
3
+ export { createPostUpdateData } from "./post-update-data";
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -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: ({ slug, type, author, topicId, parents, tags, relatedPosts, coverImage, contentImageIds, files1, files2, file1, file2, file3, file4, translations, ...params }: CreateParams) => Promise<Post>;
6
- update: ({ id, slug, type, author, topicId, parents, tags, relatedPosts, coverImage, contentImageIds, files1, files2, file1, file2, file3, file4, translations, ...params }: UpdateParams) => Promise<Post>;
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,EAEV,YAAY,EACb,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AAUpD,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,YAAY;6KA4C3D,YAAY,KAAG,OAAO,CAAC,IAAI,CAAC;iLAkG5B,YAAY,KAAG,OAAO,CAAC,IAAI,CAAC;qBA2DA;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,KAAG,OAAO,CAAC,IAAI,CAAC;EAe9D"}
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"}