sitero-server 0.0.1 → 0.3.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 (250) hide show
  1. package/README.md +15 -0
  2. package/dist/export/index.js +3 -2
  3. package/dist/src/application/features/authentication/admin/operations/sign-in/admin-sign-in.js +1 -1
  4. package/dist/src/application/features/inquiry/operations/submit/inquiry-submit.js +13 -15
  5. package/dist/src/application/features/uploads/constraints/create-storage-file-schema.js +1 -1
  6. package/dist/src/application/features/uploads/operations/upload-files/upload-files.js +33 -15
  7. package/dist/src/application/resources/admin/errors/operation-errors.js +1 -0
  8. package/dist/src/application/resources/admin/operations/commands/delete/validation/validate-input.js +6 -3
  9. package/dist/src/application/resources/admin-refresh-token/operations/commands/delete/admin-refresh-token-delete-command.js +3 -0
  10. package/dist/src/application/resources/config/operations/commands/update/cache.js +0 -1
  11. package/dist/src/application/resources/config/operations/commands/update/validation/schema.js +1 -1
  12. package/dist/src/application/resources/config/operations/queries/find-detail/cache.js +0 -1
  13. package/dist/src/application/resources/config/operations/queries/find-detail/config-find-detail-query.js +2 -5
  14. package/dist/src/application/resources/config/operations/queries/find-many/cache.js +0 -1
  15. package/dist/src/application/resources/file/operations/commands/create/file-create-command.js +1 -1
  16. package/dist/src/application/resources/file/operations/commands/create/validation/schema.js +3 -9
  17. package/dist/src/application/resources/file/operations/commands/create-many/file-create-many-command.js +10 -1
  18. package/dist/src/application/resources/file/operations/commands/create-many/validation/schema.js +1 -1
  19. package/dist/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.js +2 -2
  20. package/dist/src/application/resources/file/operations/commands/restore-many/file-restore-many-command.js +2 -2
  21. package/dist/src/application/resources/file/operations/commands/update/validation/schema.js +3 -9
  22. package/dist/src/application/resources/file/operations/queries/find-list-cards/cache.js +1 -1
  23. package/dist/src/application/resources/file/operations/queries/find-list-cards/validation/schema.js +1 -1
  24. package/dist/src/application/resources/file/operations/queries/find-relations/cache.js +7 -0
  25. package/dist/src/application/resources/file/operations/queries/find-relations/file-find-relations-query.js +36 -0
  26. package/dist/src/application/resources/file/operations/queries/validate-create/file-validate-create-query.js +17 -0
  27. package/dist/src/application/resources/file/operations/queries/validate-create/validation/schema.js +6 -0
  28. package/dist/src/application/resources/file/operations/queries/validate-create/validation/validate-input.js +7 -0
  29. package/dist/src/application/resources/file/operations/queries/validate-update/file-validate-update-query.js +17 -0
  30. package/dist/src/application/resources/file/validation/file-translations-schema.js +13 -0
  31. package/dist/src/application/resources/inquiry/operations/queries/find/inquiry-find-query.js +1 -3
  32. package/dist/src/application/resources/post/operations/commands/create/validation/schema.js +16 -3
  33. package/dist/src/application/resources/post/operations/commands/update/validation/validate-input.js +1 -2
  34. package/dist/src/application/resources/post/operations/queries/find-detail/post-find-detail-query.js +1 -2
  35. package/dist/src/application/resources/post/operations/queries/find-list-cards/cache.js +1 -0
  36. package/dist/src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.js +1 -2
  37. package/dist/src/application/resources/post/operations/queries/find-list-cards/validation/schema.js +1 -0
  38. package/dist/src/application/resources/post/operations/queries/find-relations/cache.js +12 -0
  39. package/dist/src/application/resources/post/operations/queries/find-relations/post-find-relations-query.js +32 -0
  40. package/dist/src/application/resources/seo-metadata/operations/commands/upsert/validation/schema.js +3 -3
  41. package/dist/src/application/sessions/admin/authenticate/admin-session-authenticate.js +43 -19
  42. package/dist/src/composition/create-sitero-server.js +19 -17
  43. package/dist/src/kernel/executor/executor.js +1 -1
  44. package/dist/src/kernel/operation/error/normalize-operation-error.js +25 -0
  45. package/dist/src/kernel/operation/error/zod.js +56 -0
  46. package/dist/src/kernel/operation/result.js +1 -1
  47. package/dist/types/src/application/conventions/cache/constants.d.ts +1 -1
  48. package/dist/types/src/application/conventions/cache/constants.d.ts.map +1 -1
  49. package/dist/types/src/application/features/authentication/admin/operations/change-password/types.d.ts +1 -1
  50. package/dist/types/src/application/features/authentication/admin/operations/change-password/types.d.ts.map +1 -1
  51. package/dist/types/src/application/features/authentication/admin/operations/me/types.d.ts +1 -1
  52. package/dist/types/src/application/features/authentication/admin/operations/me/types.d.ts.map +1 -1
  53. package/dist/types/src/application/features/authentication/admin/operations/reset-password/types.d.ts +1 -1
  54. package/dist/types/src/application/features/authentication/admin/operations/reset-password/types.d.ts.map +1 -1
  55. package/dist/types/src/application/features/authentication/admin/operations/verify-email/types.d.ts +1 -1
  56. package/dist/types/src/application/features/authentication/admin/operations/verify-email/types.d.ts.map +1 -1
  57. package/dist/types/src/application/features/email-preview/operations/render-template/types.d.ts +1 -1
  58. package/dist/types/src/application/features/email-preview/operations/render-template/types.d.ts.map +1 -1
  59. package/dist/types/src/application/features/inquiry/operations/submit/inquiry-submit.d.ts.map +1 -1
  60. package/dist/types/src/application/features/uploads/constraints/create-storage-file-schema.d.ts.map +1 -1
  61. package/dist/types/src/application/features/uploads/operations/upload-file/upload-file.d.ts +1 -1
  62. package/dist/types/src/application/features/uploads/operations/upload-file/upload-file.d.ts.map +1 -1
  63. package/dist/types/src/application/features/uploads/operations/upload-files/types.d.ts +7 -1
  64. package/dist/types/src/application/features/uploads/operations/upload-files/types.d.ts.map +1 -1
  65. package/dist/types/src/application/features/uploads/operations/upload-files/upload-files.d.ts +1 -1
  66. package/dist/types/src/application/features/uploads/operations/upload-files/upload-files.d.ts.map +1 -1
  67. package/dist/types/src/application/resources/admin/errors/operation-errors.d.ts.map +1 -1
  68. package/dist/types/src/application/resources/admin/operations/commands/delete/validation/validate-input.d.ts.map +1 -1
  69. package/dist/types/src/application/resources/admin-refresh-token/operations/commands/delete/admin-refresh-token-delete-command.d.ts.map +1 -1
  70. package/dist/types/src/application/resources/admin-refresh-token/ports.d.ts +17 -0
  71. package/dist/types/src/application/resources/admin-refresh-token/ports.d.ts.map +1 -1
  72. package/dist/types/src/application/resources/config/index.d.ts +2 -2
  73. package/dist/types/src/application/resources/config/index.d.ts.map +1 -1
  74. package/dist/types/src/application/resources/config/operations/commands/update/cache.d.ts.map +1 -1
  75. package/dist/types/src/application/resources/config/operations/commands/update/validation/schema.d.ts +20 -20
  76. package/dist/types/src/application/resources/config/operations/index.d.ts +1 -1
  77. package/dist/types/src/application/resources/config/operations/index.d.ts.map +1 -1
  78. package/dist/types/src/application/resources/config/operations/queries/find-detail/cache.d.ts.map +1 -1
  79. package/dist/types/src/application/resources/config/operations/queries/find-detail/config-find-detail-query.d.ts +0 -2
  80. package/dist/types/src/application/resources/config/operations/queries/find-detail/config-find-detail-query.d.ts.map +1 -1
  81. package/dist/types/src/application/resources/config/operations/queries/find-detail/types.d.ts +1 -0
  82. package/dist/types/src/application/resources/config/operations/queries/find-detail/types.d.ts.map +1 -1
  83. package/dist/types/src/application/resources/config/operations/queries/find-many/cache.d.ts.map +1 -1
  84. package/dist/types/src/application/resources/config/operations/queries/find-many/types.d.ts.map +1 -1
  85. package/dist/types/src/application/resources/config/operations/queries/index.d.ts +0 -1
  86. package/dist/types/src/application/resources/config/operations/queries/index.d.ts.map +1 -1
  87. package/dist/types/src/application/resources/config/projections/index.d.ts +0 -1
  88. package/dist/types/src/application/resources/config/projections/index.d.ts.map +1 -1
  89. package/dist/types/src/application/resources/file/index.d.ts +3 -3
  90. package/dist/types/src/application/resources/file/index.d.ts.map +1 -1
  91. package/dist/types/src/application/resources/file/operations/commands/create/file-create-command.d.ts +1 -1
  92. package/dist/types/src/application/resources/file/operations/commands/create/file-create-command.d.ts.map +1 -1
  93. package/dist/types/src/application/resources/file/operations/commands/create/validation/schema.d.ts.map +1 -1
  94. package/dist/types/src/application/resources/file/operations/commands/create-many/file-create-many-command.d.ts +1 -1
  95. package/dist/types/src/application/resources/file/operations/commands/create-many/file-create-many-command.d.ts.map +1 -1
  96. package/dist/types/src/application/resources/file/operations/commands/create-many/types.d.ts +2 -0
  97. package/dist/types/src/application/resources/file/operations/commands/create-many/types.d.ts.map +1 -1
  98. package/dist/types/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.d.ts +1 -1
  99. package/dist/types/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.d.ts.map +1 -1
  100. package/dist/types/src/application/resources/file/operations/commands/replace-content/file-replace-content-command.d.ts +1 -1
  101. package/dist/types/src/application/resources/file/operations/commands/replace-content/file-replace-content-command.d.ts.map +1 -1
  102. package/dist/types/src/application/resources/file/operations/commands/replace-content/validation/validate-input.d.ts +1 -1
  103. package/dist/types/src/application/resources/file/operations/commands/replace-content/validation/validate-input.d.ts.map +1 -1
  104. package/dist/types/src/application/resources/file/operations/commands/update/validation/schema.d.ts.map +1 -1
  105. package/dist/types/src/application/resources/file/operations/index.d.ts +1 -1
  106. package/dist/types/src/application/resources/file/operations/index.d.ts.map +1 -1
  107. package/dist/types/src/application/resources/file/operations/queries/find-list-cards/types.d.ts +2 -1
  108. package/dist/types/src/application/resources/file/operations/queries/find-list-cards/types.d.ts.map +1 -1
  109. package/dist/types/src/application/resources/file/operations/queries/find-list-cards/validation/schema.d.ts +1 -1
  110. package/dist/types/src/application/resources/file/operations/queries/find-relations/cache.d.ts +4 -0
  111. package/dist/types/src/application/resources/file/operations/queries/find-relations/cache.d.ts.map +1 -0
  112. package/dist/types/src/application/resources/file/operations/queries/find-relations/file-find-relations-query.d.ts +8 -0
  113. package/dist/types/src/application/resources/file/operations/queries/find-relations/file-find-relations-query.d.ts.map +1 -0
  114. package/dist/types/src/application/resources/file/operations/queries/find-relations/index.d.ts +3 -0
  115. package/dist/types/src/application/resources/file/operations/queries/find-relations/index.d.ts.map +1 -0
  116. package/dist/types/src/application/resources/file/operations/queries/find-relations/types.d.ts +11 -0
  117. package/dist/types/src/application/resources/file/operations/queries/find-relations/types.d.ts.map +1 -0
  118. package/dist/types/src/application/resources/file/operations/queries/index.d.ts +3 -0
  119. package/dist/types/src/application/resources/file/operations/queries/index.d.ts.map +1 -1
  120. package/dist/types/src/application/resources/file/operations/queries/validate-create/file-validate-create-query.d.ts +12 -0
  121. package/dist/types/src/application/resources/file/operations/queries/validate-create/file-validate-create-query.d.ts.map +1 -0
  122. package/dist/types/src/application/resources/file/operations/queries/validate-create/index.d.ts +3 -0
  123. package/dist/types/src/application/resources/file/operations/queries/validate-create/index.d.ts.map +1 -0
  124. package/dist/types/src/application/resources/file/operations/queries/validate-create/types.d.ts +16 -0
  125. package/dist/types/src/application/resources/file/operations/queries/validate-create/types.d.ts.map +1 -0
  126. package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/schema.d.ts +9 -0
  127. package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/schema.d.ts.map +1 -0
  128. package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/validate-input.d.ts +3 -0
  129. package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/validate-input.d.ts.map +1 -0
  130. package/dist/types/src/application/resources/file/operations/queries/validate-update/file-validate-update-query.d.ts +14 -0
  131. package/dist/types/src/application/resources/file/operations/queries/validate-update/file-validate-update-query.d.ts.map +1 -0
  132. package/dist/types/src/application/resources/file/operations/queries/validate-update/index.d.ts +3 -0
  133. package/dist/types/src/application/resources/file/operations/queries/validate-update/index.d.ts.map +1 -0
  134. package/dist/types/src/application/resources/file/operations/queries/validate-update/types.d.ts +9 -0
  135. package/dist/types/src/application/resources/file/operations/queries/validate-update/types.d.ts.map +1 -0
  136. package/dist/types/src/application/resources/file/ports.d.ts +9 -2
  137. package/dist/types/src/application/resources/file/ports.d.ts.map +1 -1
  138. package/dist/types/src/application/resources/file/projections/detail.d.ts +1 -1
  139. package/dist/types/src/application/resources/file/projections/detail.d.ts.map +1 -1
  140. package/dist/types/src/application/resources/file/projections/index.d.ts +1 -0
  141. package/dist/types/src/application/resources/file/projections/index.d.ts.map +1 -1
  142. package/dist/types/src/application/resources/file/projections/relations.d.ts +12 -0
  143. package/dist/types/src/application/resources/file/projections/relations.d.ts.map +1 -0
  144. package/dist/types/src/application/resources/file/validation/file-translations-schema.d.ts +8 -0
  145. package/dist/types/src/application/resources/file/validation/file-translations-schema.d.ts.map +1 -0
  146. package/dist/types/src/application/resources/inquiry/operations/queries/find/inquiry-find-query.d.ts.map +1 -1
  147. package/dist/types/src/application/resources/inquiry/operations/queries/find-list-cards/types.d.ts +2 -2
  148. package/dist/types/src/application/resources/inquiry/operations/queries/find-list-cards/types.d.ts.map +1 -1
  149. package/dist/types/src/application/resources/post/index.d.ts +3 -3
  150. package/dist/types/src/application/resources/post/index.d.ts.map +1 -1
  151. package/dist/types/src/application/resources/post/operations/commands/create/validation/schema.d.ts +8 -2
  152. package/dist/types/src/application/resources/post/operations/commands/create/validation/schema.d.ts.map +1 -1
  153. package/dist/types/src/application/resources/post/operations/commands/delete/cache.d.ts +1 -1
  154. package/dist/types/src/application/resources/post/operations/commands/delete/cache.d.ts.map +1 -1
  155. package/dist/types/src/application/resources/post/operations/commands/delete/types.d.ts +1 -1
  156. package/dist/types/src/application/resources/post/operations/commands/delete/types.d.ts.map +1 -1
  157. package/dist/types/src/application/resources/post/operations/commands/update/post-update-command.d.ts +1 -1
  158. package/dist/types/src/application/resources/post/operations/commands/update/post-update-command.d.ts.map +1 -1
  159. package/dist/types/src/application/resources/post/operations/commands/update/validation/schema.d.ts +8 -2
  160. package/dist/types/src/application/resources/post/operations/commands/update/validation/schema.d.ts.map +1 -1
  161. package/dist/types/src/application/resources/post/operations/commands/update/validation/validate-input.d.ts.map +1 -1
  162. package/dist/types/src/application/resources/post/operations/index.d.ts +1 -1
  163. package/dist/types/src/application/resources/post/operations/index.d.ts.map +1 -1
  164. package/dist/types/src/application/resources/post/operations/queries/find-detail/post-find-detail-query.d.ts +0 -2
  165. package/dist/types/src/application/resources/post/operations/queries/find-detail/post-find-detail-query.d.ts.map +1 -1
  166. package/dist/types/src/application/resources/post/operations/queries/find-detail/validation/validate-input.d.ts.map +1 -1
  167. package/dist/types/src/application/resources/post/operations/queries/find-list-cards/cache.d.ts.map +1 -1
  168. package/dist/types/src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.d.ts +0 -2
  169. package/dist/types/src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.d.ts.map +1 -1
  170. package/dist/types/src/application/resources/post/operations/queries/find-list-cards/validation/schema.d.ts +1 -0
  171. package/dist/types/src/application/resources/post/operations/queries/find-list-cards/validation/schema.d.ts.map +1 -1
  172. package/dist/types/src/application/resources/post/operations/queries/find-relations/cache.d.ts +4 -0
  173. package/dist/types/src/application/resources/post/operations/queries/find-relations/cache.d.ts.map +1 -0
  174. package/dist/types/src/application/resources/post/operations/queries/find-relations/index.d.ts +3 -0
  175. package/dist/types/src/application/resources/post/operations/queries/find-relations/index.d.ts.map +1 -0
  176. package/dist/types/src/application/resources/post/operations/queries/find-relations/post-find-relations-query.d.ts +6 -0
  177. package/dist/types/src/application/resources/post/operations/queries/find-relations/post-find-relations-query.d.ts.map +1 -0
  178. package/dist/types/src/application/resources/post/operations/queries/find-relations/types.d.ts +11 -0
  179. package/dist/types/src/application/resources/post/operations/queries/find-relations/types.d.ts.map +1 -0
  180. package/dist/types/src/application/resources/post/operations/queries/index.d.ts +1 -2
  181. package/dist/types/src/application/resources/post/operations/queries/index.d.ts.map +1 -1
  182. package/dist/types/src/application/resources/post/ports.d.ts +8 -1
  183. package/dist/types/src/application/resources/post/ports.d.ts.map +1 -1
  184. package/dist/types/src/application/resources/post/projections/index.d.ts +1 -0
  185. package/dist/types/src/application/resources/post/projections/index.d.ts.map +1 -1
  186. package/dist/types/src/application/resources/post/projections/relations.d.ts +10 -0
  187. package/dist/types/src/application/resources/post/projections/relations.d.ts.map +1 -0
  188. package/dist/types/src/application/resources/seo-metadata/operations/commands/upsert/validation/schema.d.ts.map +1 -1
  189. package/dist/types/src/application/sessions/admin/authenticate/admin-session-authenticate.d.ts.map +1 -1
  190. package/dist/types/src/composition/create-sitero-server.d.ts.map +1 -1
  191. package/dist/types/src/composition/policies.d.ts +1 -3
  192. package/dist/types/src/composition/policies.d.ts.map +1 -1
  193. package/dist/types/src/composition/types.d.ts +9 -13
  194. package/dist/types/src/composition/types.d.ts.map +1 -1
  195. package/dist/types/src/contracts/email/template.d.ts +2 -0
  196. package/dist/types/src/contracts/email/template.d.ts.map +1 -1
  197. package/dist/types/src/contracts/operation/index.d.ts +1 -1
  198. package/dist/types/src/contracts/operation/index.d.ts.map +1 -1
  199. package/dist/types/src/contracts/operation/result.d.ts +11 -1
  200. package/dist/types/src/contracts/operation/result.d.ts.map +1 -1
  201. package/dist/types/src/index.d.ts +6 -5
  202. package/dist/types/src/index.d.ts.map +1 -1
  203. package/dist/types/src/kernel/index.d.ts +1 -1
  204. package/dist/types/src/kernel/index.d.ts.map +1 -1
  205. package/dist/types/src/kernel/operation/error/index.d.ts +2 -0
  206. package/dist/types/src/kernel/operation/error/index.d.ts.map +1 -0
  207. package/dist/types/src/kernel/operation/{error.d.ts → error/normalize-operation-error.d.ts} +2 -2
  208. package/dist/types/src/kernel/operation/error/normalize-operation-error.d.ts.map +1 -0
  209. package/dist/types/src/kernel/operation/error/zod.d.ts +17 -0
  210. package/dist/types/src/kernel/operation/error/zod.d.ts.map +1 -0
  211. package/dist/types/src/kernel/operation/index.d.ts +1 -1
  212. package/dist/types/src/kernel/operation/index.d.ts.map +1 -1
  213. package/package.json +2 -2
  214. package/dist/src/application/resources/config/operations/queries/find-public/cache.js +0 -18
  215. package/dist/src/application/resources/config/operations/queries/find-public/config-find-public-query.js +0 -43
  216. package/dist/src/application/resources/config/operations/queries/find-public/validation/schema.js +0 -8
  217. package/dist/src/application/resources/post/operations/queries/find-public/cache.js +0 -12
  218. package/dist/src/application/resources/post/operations/queries/find-public/post-find-public-query.js +0 -36
  219. package/dist/src/application/resources/post/operations/queries/find-public-list-cards/cache.js +0 -33
  220. package/dist/src/application/resources/post/operations/queries/find-public-list-cards/post-find-public-list-cards-query.js +0 -34
  221. package/dist/src/kernel/operation/error.js +0 -30
  222. package/dist/types/src/application/resources/config/operations/queries/find-public/cache.d.ts +0 -5
  223. package/dist/types/src/application/resources/config/operations/queries/find-public/cache.d.ts.map +0 -1
  224. package/dist/types/src/application/resources/config/operations/queries/find-public/config-find-public-query.d.ts +0 -12
  225. package/dist/types/src/application/resources/config/operations/queries/find-public/config-find-public-query.d.ts.map +0 -1
  226. package/dist/types/src/application/resources/config/operations/queries/find-public/index.d.ts +0 -3
  227. package/dist/types/src/application/resources/config/operations/queries/find-public/index.d.ts.map +0 -1
  228. package/dist/types/src/application/resources/config/operations/queries/find-public/types.d.ts +0 -12
  229. package/dist/types/src/application/resources/config/operations/queries/find-public/types.d.ts.map +0 -1
  230. package/dist/types/src/application/resources/config/operations/queries/find-public/validation/schema.d.ts +0 -5
  231. package/dist/types/src/application/resources/config/operations/queries/find-public/validation/schema.d.ts.map +0 -1
  232. package/dist/types/src/application/resources/config/projections/public.d.ts +0 -10
  233. package/dist/types/src/application/resources/config/projections/public.d.ts.map +0 -1
  234. package/dist/types/src/application/resources/post/operations/queries/find-public/cache.d.ts +0 -5
  235. package/dist/types/src/application/resources/post/operations/queries/find-public/cache.d.ts.map +0 -1
  236. package/dist/types/src/application/resources/post/operations/queries/find-public/index.d.ts +0 -3
  237. package/dist/types/src/application/resources/post/operations/queries/find-public/index.d.ts.map +0 -1
  238. package/dist/types/src/application/resources/post/operations/queries/find-public/post-find-public-query.d.ts +0 -7
  239. package/dist/types/src/application/resources/post/operations/queries/find-public/post-find-public-query.d.ts.map +0 -1
  240. package/dist/types/src/application/resources/post/operations/queries/find-public/types.d.ts +0 -13
  241. package/dist/types/src/application/resources/post/operations/queries/find-public/types.d.ts.map +0 -1
  242. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/cache.d.ts +0 -4
  243. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/cache.d.ts.map +0 -1
  244. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/index.d.ts +0 -3
  245. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/index.d.ts.map +0 -1
  246. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/post-find-public-list-cards-query.d.ts +0 -7
  247. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/post-find-public-list-cards-query.d.ts.map +0 -1
  248. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/types.d.ts +0 -11
  249. package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/types.d.ts.map +0 -1
  250. package/dist/types/src/kernel/operation/error.d.ts.map +0 -1
@@ -12,16 +12,16 @@ export declare const configUpdateInputSchema: () => z.ZodObject<{
12
12
  text8: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  text9: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  text10: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- data1: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
16
- data2: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
17
- data3: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
18
- data4: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
19
- data5: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
20
- data6: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
21
- data7: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
22
- data8: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
23
- data9: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
24
- data10: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
15
+ data1: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
+ data2: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ data3: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ data4: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ data5: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
+ data6: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ data7: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ data8: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ data9: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
+ data10: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
25
  dec1: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  dec2: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  dec3: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -72,16 +72,16 @@ export declare const configUpdateInputSchema: () => z.ZodObject<{
72
72
  i18nText8: z.ZodNullable<z.ZodString>;
73
73
  i18nText9: z.ZodNullable<z.ZodString>;
74
74
  i18nText10: z.ZodNullable<z.ZodString>;
75
- i18nData1: z.ZodArray<z.ZodUnknown>;
76
- i18nData2: z.ZodArray<z.ZodUnknown>;
77
- i18nData3: z.ZodArray<z.ZodUnknown>;
78
- i18nData4: z.ZodArray<z.ZodUnknown>;
79
- i18nData5: z.ZodArray<z.ZodUnknown>;
80
- i18nData6: z.ZodArray<z.ZodUnknown>;
81
- i18nData7: z.ZodArray<z.ZodUnknown>;
82
- i18nData8: z.ZodArray<z.ZodUnknown>;
83
- i18nData9: z.ZodArray<z.ZodUnknown>;
84
- i18nData10: z.ZodArray<z.ZodUnknown>;
75
+ i18nData1: z.ZodArray<z.ZodString>;
76
+ i18nData2: z.ZodArray<z.ZodString>;
77
+ i18nData3: z.ZodArray<z.ZodString>;
78
+ i18nData4: z.ZodArray<z.ZodString>;
79
+ i18nData5: z.ZodArray<z.ZodString>;
80
+ i18nData6: z.ZodArray<z.ZodString>;
81
+ i18nData7: z.ZodArray<z.ZodString>;
82
+ i18nData8: z.ZodArray<z.ZodString>;
83
+ i18nData9: z.ZodArray<z.ZodString>;
84
+ i18nData10: z.ZodArray<z.ZodString>;
85
85
  }, z.core.$strip>>;
86
86
  }, z.core.$strip>;
87
87
  }, z.core.$strip>;
@@ -1,3 +1,3 @@
1
- export { type ConfigFindDetailQuery, createConfigFindDetailQuery, type ConfigFindDetailInput, type ConfigFindDetailResult, type ConfigFindPublicQuery, createConfigFindPublicQuery, type ConfigFindPublicInput, type ConfigFindPublicResult, type ConfigFindManyQuery, createConfigFindManyQuery, type ConfigFindManyInput, type ConfigFindManyResult, } from "./queries";
1
+ export { type ConfigFindDetailQuery, createConfigFindDetailQuery, type ConfigFindDetailInput, type ConfigFindDetailResult, type ConfigFindManyQuery, createConfigFindManyQuery, type ConfigFindManyInput, type ConfigFindManyResult, } from "./queries";
2
2
  export { type ConfigUpdateInput, type ConfigUpdateResult, type ConfigUpdateCommand, createConfigUpdateCommand, } from "./commands";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/config/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAG3B,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAG3B,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,WAAW,CAAC;AAKnB,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/config/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAG3B,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,WAAW,CAAC;AAKnB,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-detail/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQjE,eAAO,MAAM,8BAA8B,GAAI,OAAO,qBAAqB,WAE1E,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC1C,GAAG,qBAAqB,EACxB,QAAQ,OAAO,CAAC,sBAAsB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,aAcnE,CAAC"}
1
+ {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-detail/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQjE,eAAO,MAAM,8BAA8B,GACzC,OAAO,qBAAqB,WAG7B,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC1C,GAAG,qBAAqB,EACxB,QAAQ,OAAO,CAAC,sBAAsB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,aAanE,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import type { ConfigFindDetailQuery } from "./types";
2
- import type { OperationAuthorization } from "../../../../../../kernel";
3
2
  import type { ConfigQueryPort } from "../../../ports";
4
3
  export declare function createConfigFindDetailQuery(input: {
5
- authorization: OperationAuthorization;
6
4
  configQueryPort: ConfigQueryPort;
7
5
  }): ConfigFindDetailQuery;
8
6
  //# sourceMappingURL=config-find-detail-query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-find-detail-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-detail/config-find-detail-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAStD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;CAClC,GAAG,qBAAqB,CAiCxB"}
1
+ {"version":3,"file":"config-find-detail-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-detail/config-find-detail-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAStD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,eAAe,EAAE,eAAe,CAAC;CAClC,GAAG,qBAAqB,CA8BxB"}
@@ -7,5 +7,6 @@ export interface ConfigFindDetailInput {
7
7
  export type ConfigFindDetailResult = OperationResult<{
8
8
  config: ConfigDetail;
9
9
  }, ConfigNotFoundError>;
10
+ /** Public Config lookup; Config records contain only website-facing data. */
10
11
  export type ConfigFindDetailQuery = Operation<ConfigFindDetailInput, ConfigFindDetailInput, ConfigFindDetailResult>;
11
12
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-detail/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAClD;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,EACxB,mBAAmB,CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAC3C,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,CACvB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-detail/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAClD;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,EACxB,mBAAmB,CACpB,CAAC;AAEF,6EAA6E;AAC7E,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAC3C,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,CACvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-many/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AASjE,eAAO,MAAM,4BAA4B,GACvC,OAAO,mBAAmB,GAAG,SAAS,WAKvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,OAAO,mBAAmB,GAAG,SAAS,EACtC,QAAQ,OAAO,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,aA0BjE,CAAC"}
1
+ {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-many/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AASjE,eAAO,MAAM,4BAA4B,GACvC,OAAO,mBAAmB,GAAG,SAAS,WAKvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,OAAO,mBAAmB,GAAG,SAAS,EACtC,QAAQ,OAAO,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,aAyBjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-many/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAC;AAEzD,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;IAAE,OAAO,EAAE,YAAY,EAAE,CAAA;CAAE,CAAC,CAAC;AAEjF,MAAM,MAAM,mBAAmB,GAAG,SAAS,CACzC,mBAAmB,GAAG,SAAS,EAC/B,mBAAmB,GAAG,SAAS,EAC/B,oBAAoB,CACrB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/config/operations/queries/find-many/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAC;AAEzD,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;IAClD,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CACzC,mBAAmB,GAAG,SAAS,EAC/B,mBAAmB,GAAG,SAAS,EAC/B,oBAAoB,CACrB,CAAC"}
@@ -1,4 +1,3 @@
1
1
  export { type ConfigFindDetailQuery, createConfigFindDetailQuery, type ConfigFindDetailInput, type ConfigFindDetailResult, } from "./find-detail";
2
- export { type ConfigFindPublicQuery, createConfigFindPublicQuery, type ConfigFindPublicInput, type ConfigFindPublicResult, } from "./find-public";
3
2
  export { type ConfigFindManyQuery, createConfigFindManyQuery, type ConfigFindManyInput, type ConfigFindManyResult, } from "./find-many";
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/application/resources/config/operations/queries/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/application/resources/config/operations/queries/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC"}
@@ -1,3 +1,2 @@
1
1
  export type { ConfigDetail } from "./detail";
2
- export type { ConfigPublic } from "./public";
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/config/projections/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/config/projections/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
- export type { FileCommandPort, FileCreateWriteInput, FileFindListCardsCriteria, FileLookupInput, FileLookupPort, FileQueryPort, FileReplaceContentPort, FileReplaceContentWriteInput, FileUploadedObjectData, FileUpdateWriteInput, } from "./ports";
1
+ export type { FileCommandPort, FileCreateWriteInput, FileFindListCardsCriteria, FileLookupInput, FileLookupPort, FileQueryPort, FileRelationsQueryPort, FileReplaceContentPort, FileReplaceContentWriteInput, FileUploadedObjectData, FileUpdateWriteInput, } from "./ports";
2
2
  export { FILE_ERROR_CODES, FileDeleteAlreadyDeletedError, FileDeleteInUseError, FileDeleteLockedError, FileNotFoundError, FileReplaceContentDeletedError, FileReplaceContentInUseError, FileReplaceContentLockedError, FileReplaceContentSameKeyError, FileUpdateDeletedError, } from "./errors";
3
- export type { FileCard, FileDetail, FileListCard } from "./projections";
4
- export { type FileFindDetailInput, type FileFindDetailQuery, type FileFindDetailResult, createFileFindDetailQuery, type FileFindListCardsInput, type FileFindListCardsQuery, type FileFindListCardsResult, createFileFindListCardsQuery, type FileDeleteCommand, createFileDeleteCommand, type FileDeleteInput, type FileDeleteResult, createFileDeleteManyCommand, type FileDeleteManyCommand, type FileDeleteManyFailure, type FileDeleteManyInput, type FileDeleteManyResult, type FileDeleteManySkipped, type FilePurgeManyCommand, createFilePurgeManyCommand, type FilePurgeManyFailure, type FilePurgeManyInput, type FilePurgeManyResult, type FilePurgeManySkipped, createFileRestoreManyCommand, type FileRestoreManyCommand, type FileRestoreManyFailure, type FileRestoreManyInput, type FileRestoreManyResult, type FileRestoreManySkipped, type FileUpdateCommand, createFileUpdateCommand, type FileUpdateInput, type FileUpdateResult, type FileCreateCommand, createFileCreateCommand, type FileCreateInput, type FileCreateResult, type FileCreateManyCommand, createFileCreateManyCommand, type FileCreateManyFailure, type FileCreateManyInput, type FileCreateManyResult, type FileReplaceContentCommand, createFileReplaceContentCommand, type FileReplaceContentInput, type FileReplaceContentResult, } from "./operations";
3
+ export type { FileCard, FileDetail, FileListCard, FileRelations, } from "./projections";
4
+ export { type FileFindDetailInput, type FileFindDetailQuery, type FileFindDetailResult, createFileFindDetailQuery, type FileFindRelationsInput, type FileFindRelationsQuery, type FileFindRelationsResult, createFileFindRelationsQuery, type FileFindListCardsInput, type FileFindListCardsQuery, type FileFindListCardsResult, createFileFindListCardsQuery, type FileValidateCreateInput, type FileValidateCreateQuery, type FileValidateCreateResult, createFileValidateCreateQuery, type FileValidateUpdateInput, type FileValidateUpdateQuery, type FileValidateUpdateResult, createFileValidateUpdateQuery, type FileDeleteCommand, createFileDeleteCommand, type FileDeleteInput, type FileDeleteResult, createFileDeleteManyCommand, type FileDeleteManyCommand, type FileDeleteManyFailure, type FileDeleteManyInput, type FileDeleteManyResult, type FileDeleteManySkipped, type FilePurgeManyCommand, createFilePurgeManyCommand, type FilePurgeManyFailure, type FilePurgeManyInput, type FilePurgeManyResult, type FilePurgeManySkipped, createFileRestoreManyCommand, type FileRestoreManyCommand, type FileRestoreManyFailure, type FileRestoreManyInput, type FileRestoreManyResult, type FileRestoreManySkipped, type FileUpdateCommand, createFileUpdateCommand, type FileUpdateInput, type FileUpdateResult, type FileCreateCommand, createFileCreateCommand, type FileCreateInput, type FileCreateResult, type FileCreateManyCommand, createFileCreateManyCommand, type FileCreateManyFailure, type FileCreateManyInput, type FileCreateManyResult, type FileReplaceContentCommand, createFileReplaceContentCommand, type FileReplaceContentInput, type FileReplaceContentResult, } from "./operations";
5
5
  export { assertFileExists } from "./constraints";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/file/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,gBAAgB,EAChB,6BAA6B,EAC7B,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,UAAU,CAAC;AAKlB,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAKxE,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,yBAAyB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,GAC9B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/file/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,gBAAgB,EAChB,6BAA6B,EAC7B,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,UAAU,CAAC;AAKlB,YAAY,EACV,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,aAAa,GACd,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,yBAAyB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,EAC7B,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,GAC9B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FileCreateCommand } from "./types";
2
- import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
3
2
  import type { StorageRemovePort } from "../../../../../../contracts/storage";
3
+ import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
4
4
  import type { FileCommandPort, FileLookupPort } from "../../../ports";
5
5
  export declare function createFileCreateCommand(input: {
6
6
  authorization: OperationAuthorization;
@@ -1 +1 @@
1
- {"version":3,"file":"file-create-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/create/file-create-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMtE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,cAAc,EAAE,cAAc,CAAC;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,iBAAiB,CAiCpB"}
1
+ {"version":3,"file":"file-create-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/create/file-create-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMtE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,cAAc,EAAE,cAAc,CAAC;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,iBAAiB,CAiCpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/commands/create/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;iBAmB9B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/commands/create/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;iBAU9B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FileCreateManyCommand } from "./types";
2
- import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
3
2
  import type { StorageRemovePort } from "../../../../../../contracts/storage";
3
+ import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
4
4
  import type { FileCommandPort, FileLookupPort } from "../../../ports";
5
5
  export declare function createFileCreateManyCommand(input: {
6
6
  authorization: OperationAuthorization;
@@ -1 +1 @@
1
- {"version":3,"file":"file-create-many-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/create-many/file-create-many-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAatE,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,cAAc,EAAE,cAAc,CAAC;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,qBAAqB,CA+DxB"}
1
+ {"version":3,"file":"file-create-many-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/create-many/file-create-many-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAatE,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,cAAc,EAAE,cAAc,CAAC;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,qBAAqB,CA2ExB"}
@@ -10,6 +10,8 @@ export type ValidatedFileCreateManyInput = z.infer<ReturnType<typeof fileCreateM
10
10
  export interface FileCreateManyFailure {
11
11
  key: string;
12
12
  code: "INTERNAL_ERROR";
13
+ /** True only when the uploaded key is confirmed to have no resource record. */
14
+ retryable: boolean;
13
15
  }
14
16
  export type FileCreateManyResult = OperationSuccess<{
15
17
  created: DomainFile[];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/create-many/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B;AAED,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;IAClD,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAC3C,mBAAmB,EACnB,4BAA4B,EAC5B,oBAAoB,CACrB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/create-many/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B;AAED,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,gBAAgB,CAAC;IACvB,+EAA+E;IAC/E,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;IAClD,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAC3C,mBAAmB,EACnB,4BAA4B,EAC5B,oBAAoB,CACrB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FilePurgeManyCommand } from "./types";
2
- import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
3
2
  import type { StorageRemovePort } from "../../../../../../contracts/storage";
3
+ import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
4
4
  import type { FileCommandPort, FileQueryPort } from "../../../ports";
5
5
  export declare function createFilePurgeManyCommand(input: {
6
6
  authorization: OperationAuthorization;
@@ -1 +1 @@
1
- {"version":3,"file":"file-purge-many-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/purge-many/file-purge-many-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAC1E,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAarE,wBAAgB,0BAA0B,CAAC,KAAK,EAAE;IAChD,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,oBAAoB,CAgIvB"}
1
+ {"version":3,"file":"file-purge-many-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/purge-many/file-purge-many-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAarE,wBAAgB,0BAA0B,CAAC,KAAK,EAAE;IAChD,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,oBAAoB,CAgIvB"}
@@ -1,6 +1,6 @@
1
1
  import type { FileReplaceContentCommand } from "./types";
2
- import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
3
2
  import type { StorageRemovePort } from "../../../../../../contracts/storage";
3
+ import type { ObserverPort, OperationAuthorization } from "../../../../../../kernel";
4
4
  import type { FileLookupPort, FileQueryPort, FileReplaceContentPort } from "../../../ports";
5
5
  export declare function createFileReplaceContentCommand(input: {
6
6
  authorization: OperationAuthorization;
@@ -1 +1 @@
1
- {"version":3,"file":"file-replace-content-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/replace-content/file-replace-content-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AAUxB,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,aAAa,EAAE,sBAAsB,CAAC;IACtC,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,yBAAyB,CA+D5B"}
1
+ {"version":3,"file":"file-replace-content-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/commands/replace-content/file-replace-content-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AAUxB,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,aAAa,EAAE,sBAAsB,CAAC;IACtC,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACrC,GAAG,yBAAyB,CA+D5B"}
@@ -1,5 +1,5 @@
1
- import type { FileReplaceContentInput, ValidatedFileReplaceContentInput } from "../types";
2
1
  import type { FileQueryPort } from "../../../../ports";
2
+ import type { FileReplaceContentInput, ValidatedFileReplaceContentInput } from "../types";
3
3
  export declare function validateInput(input: {
4
4
  input: FileReplaceContentInput;
5
5
  fileQueryPort: FileQueryPort;
@@ -1 +1 @@
1
- {"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/commands/replace-content/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAUvD,wBAAsB,aAAa,CAAC,KAAK,EAAE;IACzC,KAAK,EAAE,uBAAuB,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,OAAO,CAAC,gCAAgC,CAAC,CA2B5C"}
1
+ {"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/commands/replace-content/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,UAAU,CAAC;AAUlB,wBAAsB,aAAa,CAAC,KAAK,EAAE;IACzC,KAAK,EAAE,uBAAuB,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,OAAO,CAAC,gCAAgC,CAAC,CA2B5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/commands/update/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,qBAAqB;;;;;;;iBAa9B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/commands/update/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;iBAI9B,CAAC"}
@@ -1,4 +1,4 @@
1
- export { type FileFindDetailInput, type FileFindDetailQuery, type FileFindDetailResult, createFileFindDetailQuery, type FileFindListCardsInput, type FileFindListCardsQuery, type FileFindListCardsResult, createFileFindListCardsQuery, } from "./queries";
1
+ export { type FileFindDetailInput, type FileFindDetailQuery, type FileFindDetailResult, createFileFindDetailQuery, type FileFindRelationsInput, type FileFindRelationsQuery, type FileFindRelationsResult, createFileFindRelationsQuery, type FileFindListCardsInput, type FileFindListCardsQuery, type FileFindListCardsResult, createFileFindListCardsQuery, type FileValidateCreateInput, type FileValidateCreateQuery, type FileValidateCreateResult, createFileValidateCreateQuery, type FileValidateUpdateInput, type FileValidateUpdateQuery, type FileValidateUpdateResult, createFileValidateUpdateQuery, } from "./queries";
2
2
  export { type FileCreateCommand, createFileCreateCommand, type FileCreateInput, type FileCreateResult, } from "./commands/create";
3
3
  export { type FileCreateManyCommand, createFileCreateManyCommand, type FileCreateManyFailure, type FileCreateManyInput, type FileCreateManyResult, } from "./commands/create-many";
4
4
  export { type FileReplaceContentCommand, createFileReplaceContentCommand, type FileReplaceContentInput, type FileReplaceContentResult, } from "./commands/replace-content";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/operations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,yBAAyB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,GAC7B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,GAC9B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/operations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,yBAAyB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,KAAK,yBAAyB,EAC9B,+BAA+B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,GAC9B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,yBAAyB,CAAC"}
@@ -7,7 +7,8 @@ import type z from "zod";
7
7
  export interface FileFindListCardsInput {
8
8
  locale: string;
9
9
  searchString?: string | undefined;
10
- type?: FileType | null | undefined;
10
+ /** Allowed types; omitted means all, an empty array means none. */
11
+ types?: FileType[] | undefined;
11
12
  isDeleted?: boolean | undefined;
12
13
  isLocked?: boolean | null | undefined;
13
14
  isInUse?: boolean | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/find-list-cards/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAChD,GACC,yBAAyB,CAAC;AAE5B,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;IACrD,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAC5C,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,CACxB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/find-list-cards/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,mEAAmE;IACnE,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAChD,GACC,yBAAyB,CAAC;AAE5B,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;IACrD,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAC5C,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,CACxB,CAAC"}
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export declare const fileFindListCardsInputSchema: () => z.ZodObject<{
3
3
  locale: z.ZodString;
4
4
  searchString: z.ZodOptional<z.ZodString>;
5
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5
+ types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6
6
  readonly IMAGE: "IMAGE";
7
7
  readonly AUDIO: "AUDIO";
8
8
  readonly VIDEO: "VIDEO";
@@ -0,0 +1,4 @@
1
+ import type { FileFindRelationsInput } from "./types";
2
+ export declare const createFileFindRelationsCacheKey: (input: FileFindRelationsInput) => string;
3
+ export declare const createFileFindRelationsCacheTags: (input: FileFindRelationsInput) => string[];
4
+ //# sourceMappingURL=cache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/find-relations/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAMtD,eAAO,MAAM,+BAA+B,GAC1C,OAAO,sBAAsB,WACgC,CAAC;AAEhE,eAAO,MAAM,gCAAgC,GAC3C,OAAO,sBAAsB,aAC0B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { FileFindRelationsQuery } from "./types";
2
+ import type { OperationAuthorization } from "../../../../../../kernel";
3
+ import type { FileRelationsQueryPort } from "../../../ports";
4
+ export declare function createFileFindRelationsQuery(input: {
5
+ authorization: OperationAuthorization;
6
+ fileRelationsQueryPort: FileRelationsQueryPort;
7
+ }): FileFindRelationsQuery;
8
+ //# sourceMappingURL=file-find-relations-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-find-relations-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/find-relations/file-find-relations-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAS7D,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,aAAa,EAAE,sBAAsB,CAAC;IACtC,sBAAsB,EAAE,sBAAsB,CAAC;CAChD,GAAG,sBAAsB,CA6BzB"}
@@ -0,0 +1,3 @@
1
+ export { createFileFindRelationsQuery } from "./file-find-relations-query";
2
+ export type { FileFindRelationsInput, FileFindRelationsQuery, FileFindRelationsResult, } from "./types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/find-relations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAC3E,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Operation, OperationResult } from "../../../../../../kernel";
2
+ import type { FileNotFoundError } from "../../../errors";
3
+ import type { FileRelations } from "../../../projections";
4
+ export interface FileFindRelationsInput {
5
+ id: string;
6
+ }
7
+ export type FileFindRelationsResult = OperationResult<{
8
+ relations: FileRelations;
9
+ }, FileNotFoundError>;
10
+ export type FileFindRelationsQuery = Operation<FileFindRelationsInput, FileFindRelationsInput, FileFindRelationsResult>;
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/find-relations/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,uBAAuB,GAAG,eAAe,CACnD;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,EAC5B,iBAAiB,CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAC5C,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,CACxB,CAAC"}
@@ -1,3 +1,6 @@
1
1
  export { type FileFindDetailInput, type FileFindDetailQuery, type FileFindDetailResult, createFileFindDetailQuery, } from "./find-detail";
2
+ export { type FileFindRelationsInput, type FileFindRelationsQuery, type FileFindRelationsResult, createFileFindRelationsQuery, } from "./find-relations";
2
3
  export { type FileFindListCardsInput, type FileFindListCardsQuery, type FileFindListCardsResult, createFileFindListCardsQuery, } from "./find-list-cards";
4
+ export { type FileValidateCreateInput, type FileValidateCreateQuery, type FileValidateCreateResult, createFileValidateCreateQuery, } from "./validate-create";
5
+ export { type FileValidateUpdateInput, type FileValidateUpdateQuery, type FileValidateUpdateResult, createFileValidateUpdateQuery, } from "./validate-update";
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/application/resources/file/operations/queries/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,yBAAyB,GAC1B,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/application/resources/file/operations/queries/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,yBAAyB,GAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { FileValidateCreateQuery } from "./types";
2
+ import type { OperationAuthorization } from "../../../../../../kernel";
3
+ /**
4
+ * Validates File creation metadata before a client starts an upload.
5
+ *
6
+ * The File create command remains the authoritative validation boundary and
7
+ * revalidates the same input before registration.
8
+ */
9
+ export declare function createFileValidateCreateQuery(input: {
10
+ authorization: OperationAuthorization;
11
+ }): FileValidateCreateQuery;
12
+ //# sourceMappingURL=file-validate-create-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-validate-create-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/validate-create/file-validate-create-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIvE;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,aAAa,EAAE,sBAAsB,CAAC;CACvC,GAAG,uBAAuB,CAS1B"}
@@ -0,0 +1,3 @@
1
+ export { createFileValidateCreateQuery } from "./file-validate-create-query";
2
+ export type { FileValidateCreateInput, FileValidateCreateQuery, FileValidateCreateResult, } from "./types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/validate-create/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { fileValidateCreateInputSchema } from "./validation/schema";
2
+ import type { Operation, OperationSuccess } from "../../../../../../kernel";
3
+ import type { FileTranslationData } from "sitero-domain";
4
+ import type z from "zod";
5
+ /** Metadata accepted before a client uploads an object for File creation. */
6
+ export interface FileValidateCreateInput {
7
+ translations: Array<FileTranslationData & {
8
+ locale: string;
9
+ }>;
10
+ }
11
+ export type ValidatedFileValidateCreateInput = z.infer<ReturnType<typeof fileValidateCreateInputSchema>>;
12
+ export type FileValidateCreateResult = OperationSuccess<{
13
+ valid: true;
14
+ }>;
15
+ export type FileValidateCreateQuery = Operation<FileValidateCreateInput, ValidatedFileValidateCreateInput, FileValidateCreateResult>;
16
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/validate-create/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,6EAA6E;AAC7E,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,KAAK,CAAC,mBAAmB,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,UAAU,CAAC,OAAO,6BAA6B,CAAC,CACjD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,CAAC;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,CAAC,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAC7C,uBAAuB,EACvB,gCAAgC,EAChC,wBAAwB,CACzB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+ export declare const fileValidateCreateInputSchema: () => z.ZodObject<{
3
+ translations: z.ZodArray<z.ZodObject<{
4
+ locale: z.ZodString;
5
+ name: z.ZodNullable<z.ZodString>;
6
+ alt: z.ZodNullable<z.ZodString>;
7
+ }, z.core.$strip>>;
8
+ }, z.core.$strip>;
9
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/queries/validate-create/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B;;;;;;iBACY,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FileValidateCreateInput, ValidatedFileValidateCreateInput } from "../types";
2
+ export declare function validateInput(input: FileValidateCreateInput): ValidatedFileValidateCreateInput;
3
+ //# sourceMappingURL=validate-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/file/operations/queries/validate-create/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,UAAU,CAAC;AAGlB,wBAAgB,aAAa,CAC3B,KAAK,EAAE,uBAAuB,GAC7B,gCAAgC,CAElC"}
@@ -0,0 +1,14 @@
1
+ import type { FileValidateUpdateQuery } from "./types";
2
+ import type { OperationAuthorization } from "../../../../../../kernel";
3
+ import type { FileQueryPort } from "../../../ports";
4
+ /**
5
+ * Validates File update metadata before a client uploads replacement content.
6
+ *
7
+ * The File update command remains the authoritative validation boundary and
8
+ * revalidates the same input before persisting translations.
9
+ */
10
+ export declare function createFileValidateUpdateQuery(input: {
11
+ authorization: OperationAuthorization;
12
+ fileQueryPort: FileQueryPort;
13
+ }): FileValidateUpdateQuery;
14
+ //# sourceMappingURL=file-validate-update-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-validate-update-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/validate-update/file-validate-update-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,aAAa,EAAE,sBAAsB,CAAC;IACtC,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,uBAAuB,CAU1B"}
@@ -0,0 +1,3 @@
1
+ export { createFileValidateUpdateQuery } from "./file-validate-update-query";
2
+ export type { FileValidateUpdateInput, FileValidateUpdateQuery, FileValidateUpdateResult, } from "./types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/validate-update/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { Operation, OperationSuccess } from "../../../../../../kernel";
2
+ import type { FileUpdateInput, ValidatedFileUpdateInput } from "../../commands/update/types";
3
+ /** Metadata accepted before a client replaces a File's stored object. */
4
+ export type FileValidateUpdateInput = Pick<FileUpdateInput, "id" | "translations">;
5
+ export type FileValidateUpdateResult = OperationSuccess<{
6
+ valid: true;
7
+ }>;
8
+ export type FileValidateUpdateQuery = Operation<FileValidateUpdateInput, ValidatedFileUpdateInput, FileValidateUpdateResult>;
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/file/operations/queries/validate-update/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AAErC,yEAAyE;AACzE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,eAAe,EACf,IAAI,GAAG,cAAc,CACtB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,CAAC;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,CAAC,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAC7C,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,CACzB,CAAC"}
@@ -1,11 +1,12 @@
1
- import type { FileDetail, FileListCard } from "./projections";
1
+ import type { FileDetail, FileListCard, FileRelations } from "./projections";
2
2
  import type { File as DomainFile } from "sitero-domain";
3
3
  import type { FileTranslationData, FileType } from "sitero-domain";
4
4
  /** Adapter query criteria for File list-card projections. */
5
5
  export interface FileFindListCardsCriteria {
6
6
  locale: string;
7
7
  searchString?: string | undefined;
8
- type?: FileType | null | undefined;
8
+ /** Allowed types; omitted means all, an empty array means none. */
9
+ types?: FileType[] | undefined;
9
10
  isDeleted: boolean;
10
11
  isLocked?: boolean | null | undefined;
11
12
  isInUse?: boolean | null | undefined;
@@ -90,4 +91,10 @@ export interface FileQueryPort extends FileLookupPort {
90
91
  total: number;
91
92
  }>;
92
93
  }
94
+ /** Reverse-reference lookup used only by File relation views. */
95
+ export interface FileRelationsQueryPort {
96
+ findRelations(input: {
97
+ id: string;
98
+ }): Promise<FileRelations | null>;
99
+ }
93
100
  //# sourceMappingURL=ports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/file/ports.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/file/ports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEnE,6DAA6D;AAC7D,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,mEAAmE;IACnE,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,yEAAyE;AACzE,MAAM,MAAM,eAAe,GACvB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,KAAK,CAAA;CAAE,GAC3B;IAAE,EAAE,CAAC,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhC,sFAAsF;AACtF,MAAM,WAAW,cAAc;IAC7B,8DAA8D;IAC9D,IAAI,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;CAC1D;AAED,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,4EAA4E;IAC5E,YAAY,EAAE,KAAK,CAAC,mBAAmB,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED,mFAAmF;AACnF,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,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;AAED,qFAAqF;AACrF,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,gEAAgE;IAChE,YAAY,EAAE,KAAK,CACjB,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,GAAG;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CACrE,CAAC;CACH;AAED,kFAAkF;AAClF,MAAM,WAAW,4BAA6B,SAAQ,sBAAsB;IAC1E,EAAE,EAAE,MAAM,CAAC;IACX,qFAAqF;IACrF,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,2EAA2E;AAC3E,MAAM,WAAW,sBAAsB;IACrC,sFAAsF;IACtF,cAAc,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1E;AAKD,MAAM,WAAW,eAAe;IAC9B,4EAA4E;IAC5E,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEzD,iFAAiF;IACjF,UAAU,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvD,wEAAwE;IACxE,OAAO,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEpD,gEAAgE;IAChE,KAAK,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAElD,yFAAyF;IACzF,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1D;AAKD,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,UAAU,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC9D,aAAa,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC;QACvD,KAAK,EAAE,YAAY,EAAE,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ;AAED,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;CACrE"}