sitero 0.6.0 → 0.8.0

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 (378) hide show
  1. package/dist/export/cms/client/components/index.js +6 -2
  2. package/dist/export/cms/client/index.js +2 -0
  3. package/dist/export/cms/client/pages/index.js +1 -4
  4. package/dist/export/cms/server/index.js +1 -0
  5. package/dist/export/core/server/index.js +2 -0
  6. package/dist/export/index.js +1 -0
  7. package/dist/export/web/server/index.js +1 -0
  8. package/dist/prisma/generated/internal/class.js +4 -4
  9. package/dist/src/cms/client/applications/create-applications.js +5 -0
  10. package/dist/src/cms/client/applications/resources/page/form-data.js +56 -0
  11. package/dist/src/cms/client/applications/resources/page/use-page-update-form-data.js +30 -0
  12. package/dist/src/cms/client/applications/resources/post/use-create-form-data.js +5 -5
  13. package/dist/src/cms/client/applications/resources/post/use-update-form-data.js +1 -1
  14. package/dist/src/cms/client/applications/resources/seo-metadata/build-seo-metadata-translations.js +35 -0
  15. package/dist/src/cms/client/applications/resources/seo-metadata/use-upsert-form-data.js +15 -31
  16. package/dist/src/cms/client/applications/ui/use-nav-items.js +28 -39
  17. package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/file.js +5 -4
  18. package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.js +7 -0
  19. package/dist/src/cms/client/infrastructure/i18n/messages/en-US/resources/post.js +32 -1
  20. package/dist/src/cms/client/infrastructure/i18n/messages/en-US/ui/index.js +8 -1
  21. package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/file.js +6 -5
  22. package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.js +7 -0
  23. package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/post.js +18 -1
  24. package/dist/src/cms/client/infrastructure/i18n/messages/zh-TW/ui/index.js +12 -7
  25. package/dist/src/cms/client/infrastructure/operation-result/presentation/message.js +15 -0
  26. package/dist/src/cms/client/interfaces/components/create-components.js +7 -8
  27. package/dist/src/cms/client/interfaces/components/create-page-contents.js +28 -0
  28. package/dist/src/cms/client/interfaces/components/resources/page/content/field-groups.js +16 -0
  29. package/dist/src/cms/client/interfaces/components/resources/page/content/page-edit-content.js +216 -0
  30. package/dist/src/cms/client/interfaces/components/resources/page/content/page-show-content.js +114 -0
  31. package/dist/src/cms/client/interfaces/components/resources/page/content/types.js +12 -0
  32. package/dist/src/cms/client/interfaces/components/resources/post/category/category-card.js +17 -5
  33. package/dist/src/cms/client/interfaces/components/resources/post/category/category-table.js +16 -5
  34. package/dist/src/cms/client/interfaces/components/resources/post/content/post-create-content.js +13 -8
  35. package/dist/src/cms/client/interfaces/components/resources/post/content/post-edit-content.js +11 -7
  36. package/dist/src/cms/client/interfaces/components/resources/post/content/post-show-content.js +7 -2
  37. package/dist/src/cms/client/interfaces/components/resources/post/post-card.js +17 -5
  38. package/dist/src/cms/client/interfaces/components/resources/post/post-list.js +49 -10
  39. package/dist/src/cms/client/interfaces/components/resources/post/post-state-icons.js +37 -6
  40. package/dist/src/cms/client/interfaces/components/resources/post/post-table.js +18 -5
  41. package/dist/src/cms/client/interfaces/components/resources/post/search/control-fields-filters.js +5 -1
  42. package/dist/src/cms/client/interfaces/components/resources/post/tag/tag-card.js +12 -2
  43. package/dist/src/cms/client/interfaces/components/resources/post/tag/tag-table.js +10 -1
  44. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.js +90 -67
  45. package/dist/src/cms/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.js +11 -1
  46. package/dist/src/cms/client/interfaces/components/ui/blocks/list-container/list-container.js +1 -1
  47. package/dist/src/cms/client/interfaces/components/ui/blocks/list-container/pagination.js +9 -9
  48. package/dist/src/cms/client/interfaces/components/ui/features/accordion/accordion-header.js +15 -3
  49. package/dist/src/cms/client/interfaces/components/ui/features/accordion/accordion.js +5 -7
  50. package/dist/src/cms/client/interfaces/components/ui/form/control-fields/control-fields-display.js +1 -1
  51. package/dist/src/cms/client/interfaces/components/ui/form/control-fields/control-fields-input.js +1 -1
  52. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/edit/page.js +11 -11
  53. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/page.js +12 -16
  54. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/_id_/relations/page.js +6 -2
  55. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/category/create/page.js +15 -16
  56. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/page.js +18 -41
  57. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/edit/page.js +10 -11
  58. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/page.js +11 -16
  59. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/_id_/relations/page.js +1 -0
  60. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/post/create/page.js +14 -16
  61. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/edit/page.js +11 -11
  62. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/page.js +12 -16
  63. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/_id_/relations/page.js +1 -0
  64. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/_topicSlug_/subcategory/create/page.js +15 -16
  65. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/page.js +18 -32
  66. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/_id_/edit/page.js +2 -2
  67. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/_id_/page.js +9 -9
  68. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/_id_/relations/page.js +6 -2
  69. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/create/page.js +2 -2
  70. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/trash/page.js +204 -0
  71. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/admin-refresh-token/page.js +1 -0
  72. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/page.js +1 -0
  73. package/dist/src/cms/client/interfaces/pages/dashboard/system/access/admin/_id_/relations/page.js +8 -3
  74. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/_id_/page.js +3 -2
  75. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/_id_/relations/page.js +41 -30
  76. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/delete-many/page.js +3 -3
  77. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/file/page.js +1 -1
  78. package/dist/src/cms/client/interfaces/pages/dashboard/system/storage/trash/page.js +3 -2
  79. package/dist/src/cms/client/interfaces/pages/dashboard/website/website-page/_slug_/edit/page.js +19 -11
  80. package/dist/src/cms/client/interfaces/pages/dashboard/website/website-page/_slug_/page.js +23 -10
  81. package/dist/src/cms/client/interfaces/pages/dashboard/website/website-page/page.js +7 -7
  82. package/dist/src/cms/server/create-cms-server.js +2 -0
  83. package/dist/src/cms/server/resources/page/actions.js +31 -0
  84. package/dist/src/cms/server/resources/post/actions.js +27 -6
  85. package/dist/src/cms/server/resources/seo-metadata/actions.js +7 -16
  86. package/dist/src/config/content-ui.js +24 -0
  87. package/dist/src/config/topics.js +1 -1
  88. package/dist/src/constants/paths/cms-paths.js +2 -2
  89. package/dist/src/core/infrastructure/prisma/file/include.js +44 -0
  90. package/dist/src/core/infrastructure/prisma/file/mappers.js +51 -3
  91. package/dist/src/core/infrastructure/prisma/helpers/active-file-references.js +2 -1
  92. package/dist/src/core/infrastructure/prisma/page/include.js +20 -0
  93. package/dist/src/core/infrastructure/prisma/page/mappers.js +44 -0
  94. package/dist/src/core/infrastructure/prisma/page/page-prisma-ports.js +91 -0
  95. package/dist/src/core/infrastructure/prisma/post/include.js +2 -5
  96. package/dist/src/core/infrastructure/prisma/post/lifecycle.js +108 -0
  97. package/dist/src/core/infrastructure/prisma/post/mappers.js +0 -2
  98. package/dist/src/core/infrastructure/prisma/post/post-prisma-ports.js +76 -24
  99. package/dist/src/core/infrastructure/prisma/post/read-scope.js +45 -0
  100. package/dist/src/core/infrastructure/prisma/seo-metadata/mappers.js +6 -1
  101. package/dist/src/core/infrastructure/prisma/seo-metadata/seo-metadata-prisma-ports.js +32 -11
  102. package/dist/src/core/seeders/page/seeder.js +9 -29
  103. package/dist/src/core/seeders/seed.js +0 -3
  104. package/dist/src/core/sitero-server/create-sitero-server.js +10 -0
  105. package/dist/src/web/server/create-web-server.js +5 -1
  106. package/dist/src/web/server/resources/page/actions.js +20 -0
  107. package/dist/src/web/server/resources/post/actions.js +3 -13
  108. package/dist/src/web/server/seo/sitemap/get-page-items.js +7 -6
  109. package/dist/src/web/server/seo/sitemap/get-post-items.js +2 -2
  110. package/dist/src/web/server/seo/sitemap/get-subcategory-items.js +1 -1
  111. package/dist/types/export/cms/client/components/index.d.ts +3 -0
  112. package/dist/types/export/cms/client/components/index.d.ts.map +1 -1
  113. package/dist/types/export/cms/client/index.d.ts +2 -0
  114. package/dist/types/export/cms/client/index.d.ts.map +1 -1
  115. package/dist/types/export/cms/client/pages/index.d.ts +3 -2
  116. package/dist/types/export/cms/client/pages/index.d.ts.map +1 -1
  117. package/dist/types/export/cms/server/index.d.ts +2 -1
  118. package/dist/types/export/cms/server/index.d.ts.map +1 -1
  119. package/dist/types/export/index.d.ts +1 -1
  120. package/dist/types/export/index.d.ts.map +1 -1
  121. package/dist/types/export/web/server/index.d.ts +2 -1
  122. package/dist/types/export/web/server/index.d.ts.map +1 -1
  123. package/dist/types/src/cms/client/applications/create-applications.d.ts.map +1 -1
  124. package/dist/types/src/cms/client/applications/index.d.ts +1 -0
  125. package/dist/types/src/cms/client/applications/index.d.ts.map +1 -1
  126. package/dist/types/src/cms/client/applications/resources/index.d.ts +1 -0
  127. package/dist/types/src/cms/client/applications/resources/index.d.ts.map +1 -1
  128. package/dist/types/src/cms/client/applications/resources/page/form-data.d.ts +21 -0
  129. package/dist/types/src/cms/client/applications/resources/page/form-data.d.ts.map +1 -0
  130. package/dist/types/src/cms/client/applications/resources/page/index.d.ts +3 -0
  131. package/dist/types/src/cms/client/applications/resources/page/index.d.ts.map +1 -0
  132. package/dist/types/src/cms/client/applications/resources/page/use-page-update-form-data.d.ts +12 -0
  133. package/dist/types/src/cms/client/applications/resources/page/use-page-update-form-data.d.ts.map +1 -0
  134. package/dist/types/src/cms/client/applications/resources/post/use-create-form-data.d.ts +3 -5
  135. package/dist/types/src/cms/client/applications/resources/post/use-create-form-data.d.ts.map +1 -1
  136. package/dist/types/src/cms/client/applications/resources/post/use-update-form-data.d.ts.map +1 -1
  137. package/dist/types/src/cms/client/applications/resources/seo-metadata/build-seo-metadata-translations.d.ts +6 -0
  138. package/dist/types/src/cms/client/applications/resources/seo-metadata/build-seo-metadata-translations.d.ts.map +1 -0
  139. package/dist/types/src/cms/client/applications/resources/seo-metadata/use-upsert-form-data.d.ts +5 -4
  140. package/dist/types/src/cms/client/applications/resources/seo-metadata/use-upsert-form-data.d.ts.map +1 -1
  141. package/dist/types/src/cms/client/applications/types.d.ts +2 -1
  142. package/dist/types/src/cms/client/applications/types.d.ts.map +1 -1
  143. package/dist/types/src/cms/client/applications/ui/use-nav-items.d.ts +3 -4
  144. package/dist/types/src/cms/client/applications/ui/use-nav-items.d.ts.map +1 -1
  145. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/index.d.ts +86 -0
  146. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/index.d.ts.map +1 -1
  147. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/file.d.ts +3 -0
  148. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/file.d.ts.map +1 -1
  149. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.d.ts +71 -0
  150. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/index.d.ts.map +1 -1
  151. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/post.d.ts +51 -0
  152. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/resources/post.d.ts.map +1 -1
  153. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/ui/index.d.ts +15 -0
  154. package/dist/types/src/cms/client/infrastructure/i18n/messages/en-US/ui/index.d.ts.map +1 -1
  155. package/dist/types/src/cms/client/infrastructure/i18n/messages/index.d.ts +172 -0
  156. package/dist/types/src/cms/client/infrastructure/i18n/messages/index.d.ts.map +1 -1
  157. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/index.d.ts +86 -0
  158. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/index.d.ts.map +1 -1
  159. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/file.d.ts +3 -0
  160. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/file.d.ts.map +1 -1
  161. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.d.ts +71 -0
  162. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/index.d.ts.map +1 -1
  163. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/post.d.ts +51 -0
  164. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/resources/post.d.ts.map +1 -1
  165. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/ui/index.d.ts +15 -0
  166. package/dist/types/src/cms/client/infrastructure/i18n/messages/zh-TW/ui/index.d.ts.map +1 -1
  167. package/dist/types/src/cms/client/infrastructure/operation-result/presentation/message.d.ts.map +1 -1
  168. package/dist/types/src/cms/client/interfaces/components/create-components.d.ts +6 -3
  169. package/dist/types/src/cms/client/interfaces/components/create-components.d.ts.map +1 -1
  170. package/dist/types/src/cms/client/interfaces/components/create-page-contents.d.ts +30 -0
  171. package/dist/types/src/cms/client/interfaces/components/create-page-contents.d.ts.map +1 -0
  172. package/dist/types/src/cms/client/interfaces/components/resources/index.d.ts +1 -1
  173. package/dist/types/src/cms/client/interfaces/components/resources/index.d.ts.map +1 -1
  174. package/dist/types/src/cms/client/interfaces/components/resources/page/content/field-groups.d.ts +3 -0
  175. package/dist/types/src/cms/client/interfaces/components/resources/page/content/field-groups.d.ts.map +1 -0
  176. package/dist/types/src/cms/client/interfaces/components/resources/page/content/page-edit-content.d.ts +14 -0
  177. package/dist/types/src/cms/client/interfaces/components/resources/page/content/page-edit-content.d.ts.map +1 -0
  178. package/dist/types/src/cms/client/interfaces/components/resources/page/content/page-show-content.d.ts +7 -0
  179. package/dist/types/src/cms/client/interfaces/components/resources/page/content/page-show-content.d.ts.map +1 -0
  180. package/dist/types/src/cms/client/interfaces/components/resources/page/content/types.d.ts +27 -0
  181. package/dist/types/src/cms/client/interfaces/components/resources/page/content/types.d.ts.map +1 -0
  182. package/dist/types/src/cms/client/interfaces/components/resources/page/index.d.ts +4 -0
  183. package/dist/types/src/cms/client/interfaces/components/resources/page/index.d.ts.map +1 -0
  184. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-card.d.ts +5 -2
  185. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-card.d.ts.map +1 -1
  186. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-table.d.ts +1 -1
  187. package/dist/types/src/cms/client/interfaces/components/resources/post/category/category-table.d.ts.map +1 -1
  188. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-create-content.d.ts +3 -5
  189. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-create-content.d.ts.map +1 -1
  190. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-edit-content.d.ts.map +1 -1
  191. package/dist/types/src/cms/client/interfaces/components/resources/post/content/post-show-content.d.ts.map +1 -1
  192. package/dist/types/src/cms/client/interfaces/components/resources/post/post-card.d.ts +6 -3
  193. package/dist/types/src/cms/client/interfaces/components/resources/post/post-card.d.ts.map +1 -1
  194. package/dist/types/src/cms/client/interfaces/components/resources/post/post-list.d.ts +6 -3
  195. package/dist/types/src/cms/client/interfaces/components/resources/post/post-list.d.ts.map +1 -1
  196. package/dist/types/src/cms/client/interfaces/components/resources/post/post-state-icons.d.ts +7 -2
  197. package/dist/types/src/cms/client/interfaces/components/resources/post/post-state-icons.d.ts.map +1 -1
  198. package/dist/types/src/cms/client/interfaces/components/resources/post/post-table.d.ts +5 -2
  199. package/dist/types/src/cms/client/interfaces/components/resources/post/post-table.d.ts.map +1 -1
  200. package/dist/types/src/cms/client/interfaces/components/resources/post/search/control-fields-filters.d.ts.map +1 -1
  201. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-card.d.ts +3 -2
  202. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-card.d.ts.map +1 -1
  203. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-table.d.ts +1 -1
  204. package/dist/types/src/cms/client/interfaces/components/resources/post/tag/tag-table.d.ts.map +1 -1
  205. package/dist/types/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.d.ts +5 -2
  206. package/dist/types/src/cms/client/interfaces/components/resources/seo-metadata/seo-form/seo-form.d.ts.map +1 -1
  207. package/dist/types/src/cms/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.d.ts +2 -1
  208. package/dist/types/src/cms/client/interfaces/components/resources/seo-metadata/seo-metadata-dialog.d.ts.map +1 -1
  209. package/dist/types/src/cms/client/interfaces/components/ui/blocks/list-container/list-container.d.ts.map +1 -1
  210. package/dist/types/src/cms/client/interfaces/components/ui/features/accordion/accordion-header.d.ts +3 -1
  211. package/dist/types/src/cms/client/interfaces/components/ui/features/accordion/accordion-header.d.ts.map +1 -1
  212. package/dist/types/src/cms/client/interfaces/components/ui/features/accordion/accordion.d.ts +2 -1
  213. package/dist/types/src/cms/client/interfaces/components/ui/features/accordion/accordion.d.ts.map +1 -1
  214. package/dist/types/src/cms/client/interfaces/components/ui/form/control-fields/control-fields-display.d.ts.map +1 -1
  215. package/dist/types/src/cms/client/interfaces/components/ui/form/control-fields/control-fields-input.d.ts.map +1 -1
  216. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/edit/page.d.ts +1 -1
  217. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/edit/page.d.ts.map +1 -1
  218. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/page.d.ts +3 -1
  219. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/page.d.ts.map +1 -1
  220. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/relations/page.d.ts +3 -1
  221. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/[id]/relations/page.d.ts.map +1 -1
  222. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/create/page.d.ts +4 -7
  223. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/category/create/page.d.ts.map +1 -1
  224. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/page.d.ts +1 -4
  225. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/page.d.ts.map +1 -1
  226. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/edit/page.d.ts.map +1 -1
  227. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/page.d.ts.map +1 -1
  228. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/[id]/relations/page.d.ts.map +1 -1
  229. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/create/page.d.ts +4 -7
  230. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/post/create/page.d.ts.map +1 -1
  231. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/edit/page.d.ts +1 -1
  232. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/edit/page.d.ts.map +1 -1
  233. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.d.ts +3 -1
  234. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/page.d.ts.map +1 -1
  235. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/[id]/relations/page.d.ts.map +1 -1
  236. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.d.ts +4 -7
  237. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/[topicSlug]/subcategory/create/page.d.ts.map +1 -1
  238. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts +1 -3
  239. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/page.d.ts.map +1 -1
  240. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/page.d.ts.map +1 -1
  241. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/relations/page.d.ts +3 -1
  242. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/tag/[id]/relations/page.d.ts.map +1 -1
  243. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/trash/index.d.ts +2 -0
  244. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/trash/index.d.ts.map +1 -0
  245. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/trash/page.d.ts +18 -0
  246. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/trash/page.d.ts.map +1 -0
  247. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/relations/page.d.ts +3 -1
  248. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/access/admin/[id]/relations/page.d.ts.map +1 -1
  249. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/storage/file/[id]/relations/page.d.ts +5 -6
  250. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/storage/file/[id]/relations/page.d.ts.map +1 -1
  251. package/dist/types/src/cms/client/interfaces/pages/dashboard/system/storage/trash/page.d.ts.map +1 -1
  252. package/dist/types/src/cms/client/interfaces/pages/dashboard/website/website-page/[slug]/edit/page.d.ts +7 -9
  253. package/dist/types/src/cms/client/interfaces/pages/dashboard/website/website-page/[slug]/edit/page.d.ts.map +1 -1
  254. package/dist/types/src/cms/client/interfaces/pages/dashboard/website/website-page/[slug]/page.d.ts +7 -9
  255. package/dist/types/src/cms/client/interfaces/pages/dashboard/website/website-page/[slug]/page.d.ts.map +1 -1
  256. package/dist/types/src/cms/client/interfaces/pages/dashboard/website/website-page/page.d.ts +3 -3
  257. package/dist/types/src/cms/client/interfaces/pages/dashboard/website/website-page/page.d.ts.map +1 -1
  258. package/dist/types/src/cms/client/interfaces/pages/index.d.ts +1 -2
  259. package/dist/types/src/cms/client/interfaces/pages/index.d.ts.map +1 -1
  260. package/dist/types/src/cms/contracts/resources/page/actions.d.ts +7 -0
  261. package/dist/types/src/cms/contracts/resources/page/actions.d.ts.map +1 -0
  262. package/dist/types/src/cms/contracts/resources/post/actions.d.ts +2 -0
  263. package/dist/types/src/cms/contracts/resources/post/actions.d.ts.map +1 -1
  264. package/dist/types/src/cms/contracts/resources/post/form-data.d.ts +1 -1
  265. package/dist/types/src/cms/contracts/resources/post/form-data.d.ts.map +1 -1
  266. package/dist/types/src/cms/contracts/resources/seo-metadata/form-data.d.ts +2 -2
  267. package/dist/types/src/cms/contracts/resources/seo-metadata/form-data.d.ts.map +1 -1
  268. package/dist/types/src/cms/server/create-cms-server.d.ts +7 -0
  269. package/dist/types/src/cms/server/create-cms-server.d.ts.map +1 -1
  270. package/dist/types/src/cms/server/index.d.ts +1 -1
  271. package/dist/types/src/cms/server/index.d.ts.map +1 -1
  272. package/dist/types/src/cms/server/resources/index.d.ts +1 -0
  273. package/dist/types/src/cms/server/resources/index.d.ts.map +1 -1
  274. package/dist/types/src/cms/server/resources/page/actions.d.ts +8 -0
  275. package/dist/types/src/cms/server/resources/page/actions.d.ts.map +1 -0
  276. package/dist/types/src/cms/server/resources/post/actions.d.ts +2 -0
  277. package/dist/types/src/cms/server/resources/post/actions.d.ts.map +1 -1
  278. package/dist/types/src/cms/server/resources/seo-metadata/actions.d.ts.map +1 -1
  279. package/dist/types/src/config/content-ui.d.ts +14 -0
  280. package/dist/types/src/config/content-ui.d.ts.map +1 -0
  281. package/dist/types/src/config/index.d.ts +2 -0
  282. package/dist/types/src/config/index.d.ts.map +1 -1
  283. package/dist/types/src/config/page.d.ts +4 -0
  284. package/dist/types/src/config/page.d.ts.map +1 -0
  285. package/dist/types/src/config/topics.d.ts +2 -2
  286. package/dist/types/src/config/topics.d.ts.map +1 -1
  287. package/dist/types/src/constants/paths/cms-paths.d.ts +3 -3
  288. package/dist/types/src/core/infrastructure/index.d.ts +1 -0
  289. package/dist/types/src/core/infrastructure/index.d.ts.map +1 -1
  290. package/dist/types/src/core/infrastructure/prisma/file/include.d.ts +121 -0
  291. package/dist/types/src/core/infrastructure/prisma/file/include.d.ts.map +1 -1
  292. package/dist/types/src/core/infrastructure/prisma/file/mappers.d.ts.map +1 -1
  293. package/dist/types/src/core/infrastructure/prisma/helpers/active-file-references.d.ts +1 -1
  294. package/dist/types/src/core/infrastructure/prisma/helpers/active-file-references.d.ts.map +1 -1
  295. package/dist/types/src/core/infrastructure/prisma/index.d.ts +1 -0
  296. package/dist/types/src/core/infrastructure/prisma/index.d.ts.map +1 -1
  297. package/dist/types/src/core/infrastructure/prisma/page/include.d.ts +63 -0
  298. package/dist/types/src/core/infrastructure/prisma/page/include.d.ts.map +1 -0
  299. package/dist/types/src/core/infrastructure/prisma/page/index.d.ts +4 -0
  300. package/dist/types/src/core/infrastructure/prisma/page/index.d.ts.map +1 -0
  301. package/dist/types/src/core/infrastructure/prisma/page/mappers.d.ts +9 -0
  302. package/dist/types/src/core/infrastructure/prisma/page/mappers.d.ts.map +1 -0
  303. package/dist/types/src/core/infrastructure/prisma/page/page-prisma-ports.d.ts +7 -0
  304. package/dist/types/src/core/infrastructure/prisma/page/page-prisma-ports.d.ts.map +1 -0
  305. package/dist/types/src/core/infrastructure/prisma/page/types.d.ts +10 -0
  306. package/dist/types/src/core/infrastructure/prisma/page/types.d.ts.map +1 -0
  307. package/dist/types/src/core/infrastructure/prisma/post/include.d.ts +0 -29
  308. package/dist/types/src/core/infrastructure/prisma/post/include.d.ts.map +1 -1
  309. package/dist/types/src/core/infrastructure/prisma/post/lifecycle.d.ts +66 -0
  310. package/dist/types/src/core/infrastructure/prisma/post/lifecycle.d.ts.map +1 -0
  311. package/dist/types/src/core/infrastructure/prisma/post/mappers.d.ts.map +1 -1
  312. package/dist/types/src/core/infrastructure/prisma/post/post-prisma-ports.d.ts.map +1 -1
  313. package/dist/types/src/core/infrastructure/prisma/post/read-scope.d.ts +271 -0
  314. package/dist/types/src/core/infrastructure/prisma/post/read-scope.d.ts.map +1 -0
  315. package/dist/types/src/core/infrastructure/prisma/seo-metadata/mappers.d.ts +1 -1
  316. package/dist/types/src/core/infrastructure/prisma/seo-metadata/mappers.d.ts.map +1 -1
  317. package/dist/types/src/core/infrastructure/prisma/seo-metadata/seo-metadata-prisma-ports.d.ts +2 -2
  318. package/dist/types/src/core/infrastructure/prisma/seo-metadata/seo-metadata-prisma-ports.d.ts.map +1 -1
  319. package/dist/types/src/core/seeders/page/seeder.d.ts +3 -3
  320. package/dist/types/src/core/seeders/page/seeder.d.ts.map +1 -1
  321. package/dist/types/src/core/seeders/seed.d.ts +2 -3
  322. package/dist/types/src/core/seeders/seed.d.ts.map +1 -1
  323. package/dist/types/src/core/sitero-server/create-sitero-server.d.ts.map +1 -1
  324. package/dist/types/src/core/sitero-server/types.d.ts +2 -0
  325. package/dist/types/src/core/sitero-server/types.d.ts.map +1 -1
  326. package/dist/types/src/shared/list-item.d.ts +1 -0
  327. package/dist/types/src/shared/list-item.d.ts.map +1 -1
  328. package/dist/types/src/web/contracts/index.d.ts +1 -0
  329. package/dist/types/src/web/contracts/index.d.ts.map +1 -1
  330. package/dist/types/src/web/contracts/resources/page/actions.d.ts +5 -0
  331. package/dist/types/src/web/contracts/resources/page/actions.d.ts.map +1 -0
  332. package/dist/types/src/web/contracts/resources/post/actions.d.ts +1 -1
  333. package/dist/types/src/web/contracts/resources/post/actions.d.ts.map +1 -1
  334. package/dist/types/src/web/server/create-web-server.d.ts.map +1 -1
  335. package/dist/types/src/web/server/index.d.ts +1 -1
  336. package/dist/types/src/web/server/index.d.ts.map +1 -1
  337. package/dist/types/src/web/server/resources/index.d.ts +1 -0
  338. package/dist/types/src/web/server/resources/index.d.ts.map +1 -1
  339. package/dist/types/src/web/server/resources/page/actions.d.ts +17 -0
  340. package/dist/types/src/web/server/resources/page/actions.d.ts.map +1 -0
  341. package/dist/types/src/web/server/resources/post/actions.d.ts +1 -6
  342. package/dist/types/src/web/server/resources/post/actions.d.ts.map +1 -1
  343. package/dist/types/src/web/server/seo/metadata/build-metadata.d.ts +5 -2
  344. package/dist/types/src/web/server/seo/metadata/build-metadata.d.ts.map +1 -1
  345. package/dist/types/src/web/server/seo/sitemap/build-entries.d.ts +2 -2
  346. package/dist/types/src/web/server/seo/sitemap/build-entries.d.ts.map +1 -1
  347. package/dist/types/src/web/server/seo/sitemap/get-page-items.d.ts +6 -2
  348. package/dist/types/src/web/server/seo/sitemap/get-page-items.d.ts.map +1 -1
  349. package/dist/types/src/web/server/seo/sitemap/get-post-items.d.ts.map +1 -1
  350. package/dist/types/src/web/server/seo/sitemap/get-subcategory-items.d.ts.map +1 -1
  351. package/dist/types/src/web/server/types.d.ts +6 -2
  352. package/dist/types/src/web/server/types.d.ts.map +1 -1
  353. package/package.json +3 -3
  354. package/dist/src/cms/client/interfaces/components/resources/post/topic/topic-card.js +0 -81
  355. package/dist/src/cms/client/interfaces/components/resources/post/topic/topic-table.js +0 -120
  356. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/_id_/edit/page.js +0 -110
  357. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/_id_/page.js +0 -161
  358. package/dist/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.js +0 -103
  359. package/dist/src/cms/client/interfaces/pages/page.js +0 -17
  360. package/dist/src/core/seeders/topic/seeder.js +0 -47
  361. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/index.d.ts +0 -3
  362. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/index.d.ts.map +0 -1
  363. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-card.d.ts +0 -5
  364. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-card.d.ts.map +0 -1
  365. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-table.d.ts +0 -3
  366. package/dist/types/src/cms/client/interfaces/components/resources/post/topic/topic-table.d.ts.map +0 -1
  367. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.d.ts +0 -20
  368. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/edit/page.d.ts.map +0 -1
  369. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.d.ts +0 -20
  370. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/[id]/page.d.ts.map +0 -1
  371. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/index.d.ts +0 -4
  372. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/index.d.ts.map +0 -1
  373. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.d.ts +0 -14
  374. package/dist/types/src/cms/client/interfaces/pages/dashboard/content/content-management/topic/page.d.ts.map +0 -1
  375. package/dist/types/src/cms/client/interfaces/pages/page.d.ts +0 -2
  376. package/dist/types/src/cms/client/interfaces/pages/page.d.ts.map +0 -1
  377. package/dist/types/src/core/seeders/topic/seeder.d.ts +0 -10
  378. package/dist/types/src/core/seeders/topic/seeder.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/contracts/resources/post/form-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,GAAG,EACH,IAAI,EACJ,eAAe,EACf,QAAQ,EACR,OAAO,EACR,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE5E,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,GAAG,EAAE,GAAG,EAAE,CAAC;IACX,GAAG,EAAE,OAAO,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KA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;CAAE,CAAC,GAC5C,IAAI,GACJ,SAAS,CAAC"}
1
+ {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/contracts/resources/post/form-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,GAAG,EACH,IAAI,EACJ,eAAe,EACf,QAAQ,EACR,OAAO,EACR,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE5E,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,GAAG,EAAE,GAAG,EAAE,CAAC;IACX,GAAG,EAAE,OAAO,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,OAAO,EAAE,CAA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type { CmsFormData } from "../../common";
3
+ import type { SeoMetadataOwnerInput } from "sitero-server";
3
4
  export interface SeoMetadataAlternateFormData {
4
5
  hreflang: string;
5
6
  href: string;
@@ -35,8 +36,7 @@ export interface SeoMetadataTranslationFormData {
35
36
  /** Raw JSON maintained by the CMS editor and normalized before persistence. */
36
37
  jsonLd: string;
37
38
  }
38
- export type SeoMetadataUpsertFormData = CmsFormData & {
39
- postId: string;
39
+ export type SeoMetadataUpsertFormData = CmsFormData & SeoMetadataOwnerInput & {
40
40
  translations: SeoMetadataTranslationFormData[];
41
41
  };
42
42
  //# sourceMappingURL=form-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/contracts/resources/seo-metadata/form-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,4BAA4B,EAAE,CAAC;IAC1C,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,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G;IACtB,YAAY,EAAE,8BAA8B,EAAE,CAAC;CAChD,CAAC"}
@@ -36,6 +36,11 @@ export declare function createCmsServer({ accessTokenTtlSeconds, constants, refr
36
36
  delete: import("../contracts/resources/admin-refresh-token/actions").AdminRefreshTokenDeleteAction;
37
37
  findMany: import("../contracts/resources/admin-refresh-token/actions").AdminRefreshTokenFindManyAction;
38
38
  };
39
+ page: {
40
+ findDetail: import("../contracts/resources/page/actions").PageFindDetailAction;
41
+ findMany: import("../contracts/resources/page/actions").PageFindManyAction;
42
+ update: import("../contracts/resources/page/actions").PageUpdateAction;
43
+ };
39
44
  config: {
40
45
  findDetail: import("../contracts/resources/config/actions").ConfigFindDetailAction;
41
46
  findMany: import("../contracts/resources/config/actions").ConfigFindManyAction;
@@ -63,6 +68,8 @@ export declare function createCmsServer({ accessTokenTtlSeconds, constants, refr
63
68
  post: {
64
69
  create: import("../contracts/resources/post/actions").PostCreateAction;
65
70
  delete: import("../contracts/resources/post/actions").PostDeleteAction;
71
+ restore: import("../contracts/resources/post/actions").PostDeleteAction;
72
+ purge: import("../contracts/resources/post/actions").PostDeleteAction;
66
73
  findDetail: import("../contracts/resources/post/actions").PostFindDetailAction;
67
74
  findRelations: import("../contracts/resources/post/actions").PostFindRelationsAction;
68
75
  findListCards: import("../contracts/resources/post/actions").PostFindListCardsAction;
@@ -1 +1 @@
1
- {"version":3,"file":"create-cms-server.d.ts","sourceRoot":"","sources":["../../../../../src/cms/server/create-cms-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAmBlD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE;QACT,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,YAAY,EAAE,YAAY,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,EAC9B,qBAAqB,EACrB,SAAS,EACT,sBAAsB,EACtB,YAAY,GACb,EAAE,cAAc;IAoBb,kEAAkE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrE"}
1
+ {"version":3,"file":"create-cms-server.d.ts","sourceRoot":"","sources":["../../../../../src/cms/server/create-cms-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAoBlD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE;QACT,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,YAAY,EAAE,YAAY,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,EAC9B,qBAAqB,EACrB,SAAS,EACT,sBAAsB,EACtB,YAAY,GACb,EAAE,cAAc;IAoBb,kEAAkE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCrE"}
@@ -1,4 +1,4 @@
1
- export { createAdminRefreshTokenActions, createAdminResourceActions, createConfigActions, createFileActions, createInquiryActions, createPostActions, createSeoMetadataActions, } from "./resources";
1
+ export { createAdminRefreshTokenActions, createAdminResourceActions, createPageActions, createConfigActions, createFileActions, createInquiryActions, createPostActions, createSeoMetadataActions, } from "./resources";
2
2
  export { createAdminAuthActions } from "./features";
3
3
  export type { AdminAuthActionsFactoryInput } from "./features";
4
4
  export { createCmsServer } from "./create-cms-server";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/cms/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACpD,YAAY,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAChF,YAAY,EACV,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/cms/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACpD,YAAY,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAChF,YAAY,EACV,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -5,4 +5,5 @@ export { createFileActions } from "./file/actions";
5
5
  export { createInquiryActions } from "./inquiry/actions";
6
6
  export { createPostActions } from "./post/actions";
7
7
  export { createSeoMetadataActions } from "./seo-metadata/actions";
8
+ export { createPageActions } from "./page/actions";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/cms/server/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/cms/server/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { PageFindDetailAction, PageFindManyAction, PageUpdateAction } from "../../../contracts/resources/page/actions";
2
+ import type { CmsActionFactoryInput } from "../../types";
3
+ export declare function createPageActions({ resolveExecutionContext, siteroServer, }: CmsActionFactoryInput): {
4
+ findDetail: PageFindDetailAction;
5
+ findMany: PageFindManyAction;
6
+ update: PageUpdateAction;
7
+ };
8
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/server/resources/page/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGzD,wBAAgB,iBAAiB,CAAC,EAChC,uBAAuB,EACvB,YAAY,GACb,EAAE,qBAAqB;;;;EAuBvB"}
@@ -3,6 +3,8 @@ import type { CmsActionFactoryInput } from "../../types";
3
3
  export declare function createPostActions({ resolveExecutionContext, siteroServer, }: CmsActionFactoryInput): {
4
4
  create: PostCreateAction;
5
5
  delete: PostDeleteAction;
6
+ restore: PostDeleteAction;
7
+ purge: PostDeleteAction;
6
8
  findDetail: PostFindDetailAction;
7
9
  findRelations: PostFindRelationsAction;
8
10
  findListCards: PostFindListCardsAction;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/server/resources/post/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAkJzD,wBAAgB,iBAAiB,CAAC,EAChC,uBAAuB,EACvB,YAAY,GACb,EAAE,qBAAqB;;;;;;;;EAkGvB"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/server/resources/post/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAkJzD,wBAAgB,iBAAiB,CAAC,EAChC,uBAAuB,EACvB,YAAY,GACb,EAAE,qBAAqB;;;;;;;;;;EAuHvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/server/resources/seo-metadata/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AA2CzD,wBAAgB,wBAAwB,CAAC,EACvC,uBAAuB,EACvB,YAAY,GACb,EAAE,qBAAqB;;EAkEvB"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/cms/server/resources/seo-metadata/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AA2CzD,wBAAgB,wBAAwB,CAAC,EACvC,uBAAuB,EACvB,YAAY,GACb,EAAE,qBAAqB;;EAuDvB"}
@@ -0,0 +1,14 @@
1
+ import type { StaticTopics } from "./topics";
2
+ export interface ContentUiFlags {
3
+ hasCategory: boolean;
4
+ hasSubcategory: boolean;
5
+ hasTag: boolean;
6
+ }
7
+ export interface ContentUiCapabilities extends ContentUiFlags {
8
+ byTopic: Record<string, ContentUiFlags>;
9
+ }
10
+ /** CMS display only; never use these flags to authorize or validate writes. */
11
+ export declare function deriveContentUiCapabilities(topics: StaticTopics, features: {
12
+ tag: boolean;
13
+ }): ContentUiCapabilities;
14
+ //# sourceMappingURL=content-ui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-ui.d.ts","sourceRoot":"","sources":["../../../../src/config/content-ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CACzC;AAED,+EAA+E;AAC/E,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,GACzB,qBAAqB,CAmBvB"}
@@ -9,4 +9,6 @@ export { POST_CUSTOM_STATE_FIELDS, type PostField, type PostCustomStateField, }
9
9
  export type { SiteConfig } from "./site-config";
10
10
  export type { EmailRenderContext, EmailCatalog, EmailDefinition, EmailDefinitionKey, EmailLocaleDefinition, } from "./emails";
11
11
  export { EMAIL_DEFINITION_KEYS } from "./emails";
12
+ export type { PageField } from "./page";
13
+ export { deriveContentUiCapabilities, type ContentUiCapabilities, type ContentUiFlags, } from "./content-ui";
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,KAAK,UAAU,GAChB,MAAM,SAAS,CAAC;AACjB,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;AACl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,eAAe,EACf,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAExC,OAAO,EACL,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { PageMediaField, PageTextField } from "sitero-domain";
2
+ /** CMS field identities use relation names; writes use the corresponding IDs. */
3
+ export type PageField = PageTextField | PageMediaField;
4
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../src/config/page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnE,iFAAiF;AACjF,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,cAAc,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { LocalizedText } from "./shared";
2
2
  import type { LucideIcon } from "lucide-react";
3
- import { type PostType } from "sitero-domain";
4
- export type StaticTopicRole = Extract<PostType, "POST" | "CATEGORY" | "SUBCATEGORY" | "PRODUCT">;
3
+ import { type PostType, type TopicRole } from "sitero-domain";
4
+ export type StaticTopicRole = TopicRole;
5
5
  export interface StaticTopics<Locale extends string = string> {
6
6
  [slug: string]: {
7
7
  icon: LucideIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"topics.d.ts","sourceRoot":"","sources":["../../../../src/config/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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AE,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"}
@@ -62,12 +62,12 @@ export declare const CMS_PATHS: {
62
62
  readonly subcategory: {
63
63
  readonly pathname: (topicSlug?: string) => string;
64
64
  };
65
- readonly topic: {
66
- readonly pathname: "/cms/dashboard/content/content-management/topic";
67
- };
68
65
  readonly tag: {
69
66
  readonly pathname: "/cms/dashboard/content/content-management/tag";
70
67
  };
68
+ readonly trash: {
69
+ readonly pathname: "/cms/dashboard/content/content-management/trash";
70
+ };
71
71
  };
72
72
  };
73
73
  };
@@ -4,4 +4,5 @@ export { createTransporter, createNodemailerEmailDeliveryPort, createReactEmailC
4
4
  export { createAuthenticationPasswordPort, createAuthenticationTokenPort, type AuthenticationSecurityConfig, type AuthenticationTokenConfig, } from "./authentication";
5
5
  export { createRedisCachePort } from "./cache";
6
6
  export { createAdminAuthenticationPrismaPort, createAdminPrismaPorts, createAdminRefreshTokenPrismaPorts, createConfigPrismaPorts, createFilePrismaPorts, createInquiryPrismaPorts, createPostPrismaPorts, createSeoMetadataPrismaPorts, } from "./prisma";
7
+ export { createPagePrismaPorts } from "./prisma/page";
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/infrastructure/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,OAAO,EACL,0BAA0B,EAC1B,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EACL,iBAAiB,EACjB,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,gCAAgC,EAChC,6BAA6B,EAC7B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EACL,mCAAmC,EACnC,sBAAsB,EACtB,kCAAkC,EAClC,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/infrastructure/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,OAAO,EACL,0BAA0B,EAC1B,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EACL,iBAAiB,EACjB,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,gCAAgC,EAChC,6BAA6B,EAC7B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EACL,mCAAmC,EACnC,sBAAsB,EACtB,kCAAkC,EAClC,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,4 +1,15 @@
1
1
  export declare const FILE_USAGE_INCLUDE: {
2
+ readonly pagesAsCoverMedia: true;
3
+ readonly pagesAsSection1CoverMedia: true;
4
+ readonly pagesAsSection2CoverMedia: true;
5
+ readonly pagesAsSection3CoverMedia: true;
6
+ readonly pagesAsSection4CoverMedia: true;
7
+ readonly pagesAsSection5CoverMedia: true;
8
+ readonly pagesAsSection6CoverMedia: true;
9
+ readonly pagesAsSection7CoverMedia: true;
10
+ readonly pagesAsSection8CoverMedia: true;
11
+ readonly pagesAsSection9CoverMedia: true;
12
+ readonly pagesAsSection10CoverMedia: true;
2
13
  readonly adminAsAvatarImage: true;
3
14
  readonly postsAsCoverImage: true;
4
15
  readonly postsAsContentImage: true;
@@ -16,6 +27,17 @@ export declare const FILE_USAGE_INCLUDE: {
16
27
  readonly configsAsFile4: true;
17
28
  };
18
29
  export declare const FILE_USAGE_COUNT_SELECT: {
30
+ readonly pagesAsCoverMedia: true;
31
+ readonly pagesAsSection1CoverMedia: true;
32
+ readonly pagesAsSection2CoverMedia: true;
33
+ readonly pagesAsSection3CoverMedia: true;
34
+ readonly pagesAsSection4CoverMedia: true;
35
+ readonly pagesAsSection5CoverMedia: true;
36
+ readonly pagesAsSection6CoverMedia: true;
37
+ readonly pagesAsSection7CoverMedia: true;
38
+ readonly pagesAsSection8CoverMedia: true;
39
+ readonly pagesAsSection9CoverMedia: true;
40
+ readonly pagesAsSection10CoverMedia: true;
19
41
  readonly adminAsAvatarImage: true;
20
42
  readonly postsAsCoverImage: true;
21
43
  readonly postsAsContentImage: true;
@@ -33,6 +55,39 @@ export declare const FILE_USAGE_COUNT_SELECT: {
33
55
  readonly configsAsFile4: true;
34
56
  };
35
57
  export declare const FILE_NOT_IN_USE_WHERE: {
58
+ readonly pagesAsCoverMedia: {
59
+ readonly none: {};
60
+ };
61
+ readonly pagesAsSection1CoverMedia: {
62
+ readonly none: {};
63
+ };
64
+ readonly pagesAsSection2CoverMedia: {
65
+ readonly none: {};
66
+ };
67
+ readonly pagesAsSection3CoverMedia: {
68
+ readonly none: {};
69
+ };
70
+ readonly pagesAsSection4CoverMedia: {
71
+ readonly none: {};
72
+ };
73
+ readonly pagesAsSection5CoverMedia: {
74
+ readonly none: {};
75
+ };
76
+ readonly pagesAsSection6CoverMedia: {
77
+ readonly none: {};
78
+ };
79
+ readonly pagesAsSection7CoverMedia: {
80
+ readonly none: {};
81
+ };
82
+ readonly pagesAsSection8CoverMedia: {
83
+ readonly none: {};
84
+ };
85
+ readonly pagesAsSection9CoverMedia: {
86
+ readonly none: {};
87
+ };
88
+ readonly pagesAsSection10CoverMedia: {
89
+ readonly none: {};
90
+ };
36
91
  readonly adminAsAvatarImage: {
37
92
  readonly none: {};
38
93
  };
@@ -82,6 +137,17 @@ export declare const FILE_NOT_IN_USE_WHERE: {
82
137
  /** Relations required to materialize Sitero Server's File detail projection. */
83
138
  export declare const FILE_DETAIL_INCLUDE: {
84
139
  readonly translations: true;
140
+ readonly pagesAsCoverMedia: true;
141
+ readonly pagesAsSection1CoverMedia: true;
142
+ readonly pagesAsSection2CoverMedia: true;
143
+ readonly pagesAsSection3CoverMedia: true;
144
+ readonly pagesAsSection4CoverMedia: true;
145
+ readonly pagesAsSection5CoverMedia: true;
146
+ readonly pagesAsSection6CoverMedia: true;
147
+ readonly pagesAsSection7CoverMedia: true;
148
+ readonly pagesAsSection8CoverMedia: true;
149
+ readonly pagesAsSection9CoverMedia: true;
150
+ readonly pagesAsSection10CoverMedia: true;
85
151
  readonly adminAsAvatarImage: true;
86
152
  readonly postsAsCoverImage: true;
87
153
  readonly postsAsContentImage: true;
@@ -100,6 +166,61 @@ export declare const FILE_DETAIL_INCLUDE: {
100
166
  };
101
167
  /** Minimal reverse-reference selection for File relation pages. */
102
168
  export declare const FILE_RELATIONS_INCLUDE: {
169
+ readonly pagesAsCoverMedia: {
170
+ readonly select: {
171
+ readonly key: true;
172
+ };
173
+ };
174
+ readonly pagesAsSection1CoverMedia: {
175
+ readonly select: {
176
+ readonly key: true;
177
+ };
178
+ };
179
+ readonly pagesAsSection2CoverMedia: {
180
+ readonly select: {
181
+ readonly key: true;
182
+ };
183
+ };
184
+ readonly pagesAsSection3CoverMedia: {
185
+ readonly select: {
186
+ readonly key: true;
187
+ };
188
+ };
189
+ readonly pagesAsSection4CoverMedia: {
190
+ readonly select: {
191
+ readonly key: true;
192
+ };
193
+ };
194
+ readonly pagesAsSection5CoverMedia: {
195
+ readonly select: {
196
+ readonly key: true;
197
+ };
198
+ };
199
+ readonly pagesAsSection6CoverMedia: {
200
+ readonly select: {
201
+ readonly key: true;
202
+ };
203
+ };
204
+ readonly pagesAsSection7CoverMedia: {
205
+ readonly select: {
206
+ readonly key: true;
207
+ };
208
+ };
209
+ readonly pagesAsSection8CoverMedia: {
210
+ readonly select: {
211
+ readonly key: true;
212
+ };
213
+ };
214
+ readonly pagesAsSection9CoverMedia: {
215
+ readonly select: {
216
+ readonly key: true;
217
+ };
218
+ };
219
+ readonly pagesAsSection10CoverMedia: {
220
+ readonly select: {
221
+ readonly key: true;
222
+ };
223
+ };
103
224
  readonly adminAsAvatarImage: {
104
225
  readonly select: {
105
226
  readonly id: true;
@@ -1 +1 @@
1
- {"version":3,"file":"include.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/file/include.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;CAgBQ,CAAC;AAExC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;CAgBiB,CAAC;AAEtD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBQ,CAAC;AAE3C,gFAAgF;AAChF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;CAGO,CAAC;AAExC,mEAAmE;AACnE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBI,CAAC"}
1
+ {"version":3,"file":"include.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/file/include.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BQ,CAAC;AAExC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BiB,CAAC;AAEtD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BQ,CAAC;AAE3C,gFAAgF;AAChF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGO,CAAC;AAExC,mEAAmE;AACnE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/file/mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAO/D,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;;;;;;;;;EAaA;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,UAAU,CAoCrE;AAED,2EAA2E;AAC3E,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,mBAAmB,GACxB,aAAa,CAiCf"}
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/file/mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAQ/D,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;;;;;;;;;EAaA;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,UAAU,CAmErE;AAED,2EAA2E;AAC3E,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,mBAAmB,GACxB,aAAa,CAkDf"}
@@ -5,5 +5,5 @@ import type { Prisma, PrismaClient } from "../../../../../prisma/generated/clien
5
5
  */
6
6
  export declare function withActiveFileReferences<T>(prisma: Pick<PrismaClient, "$transaction">, items: ReadonlyArray<{
7
7
  id: string;
8
- } | null | undefined>, write: (transaction: Prisma.TransactionClient) => Promise<T>): Promise<T>;
8
+ } | null | undefined>, write: (transaction: Prisma.TransactionClient) => Promise<T>, beforeLock?: (transaction: Prisma.TransactionClient) => Promise<void>): Promise<T>;
9
9
  //# sourceMappingURL=active-file-references.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"active-file-references.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/helpers/active-file-references.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACb,MAAM,wCAAwC,CAAC;AAGhD;;;GAGG;AACH,wBAAsB,wBAAwB,CAAC,CAAC,EAC9C,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAC1C,KAAK,EAAE,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAC,EACvD,KAAK,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,iBAAiB,KAAK,OAAO,CAAC,CAAC,CAAC,GAC3D,OAAO,CAAC,CAAC,CAAC,CAiBZ"}
1
+ {"version":3,"file":"active-file-references.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/helpers/active-file-references.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACb,MAAM,wCAAwC,CAAC;AAGhD;;;GAGG;AACH,wBAAsB,wBAAwB,CAAC,CAAC,EAC9C,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAC1C,KAAK,EAAE,aAAa,CAAC;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAC,EACvD,KAAK,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,iBAAiB,KAAK,OAAO,CAAC,CAAC,CAAC,EAC5D,UAAU,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,GACpE,OAAO,CAAC,CAAC,CAAC,CAkBZ"}
@@ -14,4 +14,5 @@ export type { PrismaFileDetail, PrismaFileClient } from "./file";
14
14
  export type { PrismaInquiryClient } from "./inquiry";
15
15
  export type { PrismaPostDetail, PrismaPostListCard, PrismaPostClient, PrismaPostReference, } from "./post";
16
16
  export type { PrismaSeoMetadataClient } from "./seo-metadata";
17
+ export { createPagePrismaPorts } from "./page";
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/infrastructure/prisma/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,kCAAkC,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACvE,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAChB,YAAY,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/core/infrastructure/prisma/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,kCAAkC,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACvE,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAChB,YAAY,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,63 @@
1
+ export declare const PAGE_REFERENCE_INCLUDE: {
2
+ readonly translations: true;
3
+ };
4
+ export declare const PAGE_DETAIL_INCLUDE: {
5
+ readonly seoMetadatas: true;
6
+ readonly coverMedia: {
7
+ readonly include: {
8
+ readonly translations: true;
9
+ };
10
+ };
11
+ readonly section1CoverMedia: {
12
+ readonly include: {
13
+ readonly translations: true;
14
+ };
15
+ };
16
+ readonly section2CoverMedia: {
17
+ readonly include: {
18
+ readonly translations: true;
19
+ };
20
+ };
21
+ readonly section3CoverMedia: {
22
+ readonly include: {
23
+ readonly translations: true;
24
+ };
25
+ };
26
+ readonly section4CoverMedia: {
27
+ readonly include: {
28
+ readonly translations: true;
29
+ };
30
+ };
31
+ readonly section5CoverMedia: {
32
+ readonly include: {
33
+ readonly translations: true;
34
+ };
35
+ };
36
+ readonly section6CoverMedia: {
37
+ readonly include: {
38
+ readonly translations: true;
39
+ };
40
+ };
41
+ readonly section7CoverMedia: {
42
+ readonly include: {
43
+ readonly translations: true;
44
+ };
45
+ };
46
+ readonly section8CoverMedia: {
47
+ readonly include: {
48
+ readonly translations: true;
49
+ };
50
+ };
51
+ readonly section9CoverMedia: {
52
+ readonly include: {
53
+ readonly translations: true;
54
+ };
55
+ };
56
+ readonly section10CoverMedia: {
57
+ readonly include: {
58
+ readonly translations: true;
59
+ };
60
+ };
61
+ readonly translations: true;
62
+ };
63
+ //# sourceMappingURL=include.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"include.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/page/include.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;CAEI,CAAC;AACxC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcO,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { createPagePrismaPorts } from "./page-prisma-ports";
2
+ export { PAGE_DETAIL_INCLUDE, PAGE_REFERENCE_INCLUDE } from "./include";
3
+ export type { PrismaPageClient, PrismaPageDetail, PrismaPageReference, } from "./types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/page/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACxE,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { PrismaPageReference, PrismaPageDetail } from "./types";
2
+ import type { Page as PrismaPage } from "../../../../../prisma/generated/client";
3
+ import type { Page } from "sitero-domain";
4
+ import type { PageReference, PageDetail } from "sitero-server";
5
+ /** Explicit scalars keep detail relations out of mutation/base projections. */
6
+ export declare function pageToDomain(page: PrismaPage): Page;
7
+ export declare function pageReferenceToDomain(page: PrismaPageReference): PageReference;
8
+ export declare function pageDetailToDomain(page: PrismaPageDetail): PageDetail;
9
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/page/mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG/D,+EAA+E;AAC/E,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAkBnD;AACD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,mBAAmB,GACxB,aAAa,CAEf;AACD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,UAAU,CAoCrE"}
@@ -0,0 +1,7 @@
1
+ import type { PrismaPageClient } from "./types";
2
+ import { type PageQueryPort, type PageCommandPort } from "sitero-server";
3
+ export declare function createPagePrismaPorts(prisma: PrismaPageClient): {
4
+ pageQueryPort: PageQueryPort;
5
+ pageCommandPort: PageCommandPort;
6
+ };
7
+ //# sourceMappingURL=page-prisma-ports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-prisma-ports.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/page/page-prisma-ports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAGhD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,eAAe,CAAC;AASvB,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,GAAG;IAC/D,aAAa,EAAE,aAAa,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;CAClC,CAqFA"}
@@ -0,0 +1,10 @@
1
+ import type { PAGE_REFERENCE_INCLUDE, PAGE_DETAIL_INCLUDE } from "./include";
2
+ import type { Prisma, PrismaClient } from "../../../../../prisma/generated/client";
3
+ export type PrismaPageClient = Pick<PrismaClient, "page" | "$transaction">;
4
+ export type PrismaPageReference = Prisma.PageGetPayload<{
5
+ include: typeof PAGE_REFERENCE_INCLUDE;
6
+ }>;
7
+ export type PrismaPageDetail = Prisma.PageGetPayload<{
8
+ include: typeof PAGE_DETAIL_INCLUDE;
9
+ }>;
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/prisma/page/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACb,MAAM,wCAAwC,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC;AAC3E,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,cAAc,CAAC;IACtD,OAAO,EAAE,OAAO,sBAAsB,CAAC;CACxC,CAAC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,cAAc,CAAC;IACnD,OAAO,EAAE,OAAO,mBAAmB,CAAC;CACrC,CAAC,CAAC"}