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.
- package/README.md +15 -0
- package/dist/export/index.js +3 -2
- package/dist/src/application/features/authentication/admin/operations/sign-in/admin-sign-in.js +1 -1
- package/dist/src/application/features/inquiry/operations/submit/inquiry-submit.js +13 -15
- package/dist/src/application/features/uploads/constraints/create-storage-file-schema.js +1 -1
- package/dist/src/application/features/uploads/operations/upload-files/upload-files.js +33 -15
- package/dist/src/application/resources/admin/errors/operation-errors.js +1 -0
- package/dist/src/application/resources/admin/operations/commands/delete/validation/validate-input.js +6 -3
- package/dist/src/application/resources/admin-refresh-token/operations/commands/delete/admin-refresh-token-delete-command.js +3 -0
- package/dist/src/application/resources/config/operations/commands/update/cache.js +0 -1
- package/dist/src/application/resources/config/operations/commands/update/validation/schema.js +1 -1
- package/dist/src/application/resources/config/operations/queries/find-detail/cache.js +0 -1
- package/dist/src/application/resources/config/operations/queries/find-detail/config-find-detail-query.js +2 -5
- package/dist/src/application/resources/config/operations/queries/find-many/cache.js +0 -1
- package/dist/src/application/resources/file/operations/commands/create/file-create-command.js +1 -1
- package/dist/src/application/resources/file/operations/commands/create/validation/schema.js +3 -9
- package/dist/src/application/resources/file/operations/commands/create-many/file-create-many-command.js +10 -1
- package/dist/src/application/resources/file/operations/commands/create-many/validation/schema.js +1 -1
- package/dist/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.js +2 -2
- package/dist/src/application/resources/file/operations/commands/restore-many/file-restore-many-command.js +2 -2
- package/dist/src/application/resources/file/operations/commands/update/validation/schema.js +3 -9
- package/dist/src/application/resources/file/operations/queries/find-list-cards/cache.js +1 -1
- package/dist/src/application/resources/file/operations/queries/find-list-cards/validation/schema.js +1 -1
- package/dist/src/application/resources/file/operations/queries/find-relations/cache.js +7 -0
- package/dist/src/application/resources/file/operations/queries/find-relations/file-find-relations-query.js +36 -0
- package/dist/src/application/resources/file/operations/queries/validate-create/file-validate-create-query.js +17 -0
- package/dist/src/application/resources/file/operations/queries/validate-create/validation/schema.js +6 -0
- package/dist/src/application/resources/file/operations/queries/validate-create/validation/validate-input.js +7 -0
- package/dist/src/application/resources/file/operations/queries/validate-update/file-validate-update-query.js +17 -0
- package/dist/src/application/resources/file/validation/file-translations-schema.js +13 -0
- package/dist/src/application/resources/inquiry/operations/queries/find/inquiry-find-query.js +1 -3
- package/dist/src/application/resources/post/operations/commands/create/validation/schema.js +16 -3
- package/dist/src/application/resources/post/operations/commands/update/validation/validate-input.js +1 -2
- package/dist/src/application/resources/post/operations/queries/find-detail/post-find-detail-query.js +1 -2
- package/dist/src/application/resources/post/operations/queries/find-list-cards/cache.js +1 -0
- package/dist/src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.js +1 -2
- package/dist/src/application/resources/post/operations/queries/find-list-cards/validation/schema.js +1 -0
- package/dist/src/application/resources/post/operations/queries/find-relations/cache.js +12 -0
- package/dist/src/application/resources/post/operations/queries/find-relations/post-find-relations-query.js +32 -0
- package/dist/src/application/resources/seo-metadata/operations/commands/upsert/validation/schema.js +3 -3
- package/dist/src/application/sessions/admin/authenticate/admin-session-authenticate.js +43 -19
- package/dist/src/composition/create-sitero-server.js +19 -17
- package/dist/src/kernel/executor/executor.js +1 -1
- package/dist/src/kernel/operation/error/normalize-operation-error.js +25 -0
- package/dist/src/kernel/operation/error/zod.js +56 -0
- package/dist/src/kernel/operation/result.js +1 -1
- package/dist/types/src/application/conventions/cache/constants.d.ts +1 -1
- package/dist/types/src/application/conventions/cache/constants.d.ts.map +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/change-password/types.d.ts +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/change-password/types.d.ts.map +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/me/types.d.ts +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/me/types.d.ts.map +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/reset-password/types.d.ts +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/reset-password/types.d.ts.map +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/verify-email/types.d.ts +1 -1
- package/dist/types/src/application/features/authentication/admin/operations/verify-email/types.d.ts.map +1 -1
- package/dist/types/src/application/features/email-preview/operations/render-template/types.d.ts +1 -1
- package/dist/types/src/application/features/email-preview/operations/render-template/types.d.ts.map +1 -1
- package/dist/types/src/application/features/inquiry/operations/submit/inquiry-submit.d.ts.map +1 -1
- package/dist/types/src/application/features/uploads/constraints/create-storage-file-schema.d.ts.map +1 -1
- package/dist/types/src/application/features/uploads/operations/upload-file/upload-file.d.ts +1 -1
- package/dist/types/src/application/features/uploads/operations/upload-file/upload-file.d.ts.map +1 -1
- package/dist/types/src/application/features/uploads/operations/upload-files/types.d.ts +7 -1
- package/dist/types/src/application/features/uploads/operations/upload-files/types.d.ts.map +1 -1
- package/dist/types/src/application/features/uploads/operations/upload-files/upload-files.d.ts +1 -1
- package/dist/types/src/application/features/uploads/operations/upload-files/upload-files.d.ts.map +1 -1
- package/dist/types/src/application/resources/admin/errors/operation-errors.d.ts.map +1 -1
- package/dist/types/src/application/resources/admin/operations/commands/delete/validation/validate-input.d.ts.map +1 -1
- package/dist/types/src/application/resources/admin-refresh-token/operations/commands/delete/admin-refresh-token-delete-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/admin-refresh-token/ports.d.ts +17 -0
- package/dist/types/src/application/resources/admin-refresh-token/ports.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/index.d.ts +2 -2
- package/dist/types/src/application/resources/config/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/commands/update/cache.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/commands/update/validation/schema.d.ts +20 -20
- package/dist/types/src/application/resources/config/operations/index.d.ts +1 -1
- package/dist/types/src/application/resources/config/operations/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/queries/find-detail/cache.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/queries/find-detail/config-find-detail-query.d.ts +0 -2
- package/dist/types/src/application/resources/config/operations/queries/find-detail/config-find-detail-query.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/queries/find-detail/types.d.ts +1 -0
- package/dist/types/src/application/resources/config/operations/queries/find-detail/types.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/queries/find-many/cache.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/queries/find-many/types.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/operations/queries/index.d.ts +0 -1
- package/dist/types/src/application/resources/config/operations/queries/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/config/projections/index.d.ts +0 -1
- package/dist/types/src/application/resources/config/projections/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/index.d.ts +3 -3
- package/dist/types/src/application/resources/file/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/create/file-create-command.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/commands/create/file-create-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/create/validation/schema.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/create-many/file-create-many-command.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/commands/create-many/file-create-many-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/create-many/types.d.ts +2 -0
- package/dist/types/src/application/resources/file/operations/commands/create-many/types.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/replace-content/file-replace-content-command.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/commands/replace-content/file-replace-content-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/replace-content/validation/validate-input.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/commands/replace-content/validation/validate-input.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/update/validation/schema.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/index.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/queries/find-list-cards/types.d.ts +2 -1
- package/dist/types/src/application/resources/file/operations/queries/find-list-cards/types.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/queries/find-list-cards/validation/schema.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/queries/find-relations/cache.d.ts +4 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/cache.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/file-find-relations-query.d.ts +8 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/file-find-relations-query.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/index.d.ts +3 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/index.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/types.d.ts +11 -0
- package/dist/types/src/application/resources/file/operations/queries/find-relations/types.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/index.d.ts +3 -0
- package/dist/types/src/application/resources/file/operations/queries/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/queries/validate-create/file-validate-create-query.d.ts +12 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/file-validate-create-query.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/index.d.ts +3 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/index.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/types.d.ts +16 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/types.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/schema.d.ts +9 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/schema.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/validate-input.d.ts +3 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-create/validation/validate-input.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-update/file-validate-update-query.d.ts +14 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-update/file-validate-update-query.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-update/index.d.ts +3 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-update/index.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-update/types.d.ts +9 -0
- package/dist/types/src/application/resources/file/operations/queries/validate-update/types.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/ports.d.ts +9 -2
- package/dist/types/src/application/resources/file/ports.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/projections/detail.d.ts +1 -1
- package/dist/types/src/application/resources/file/projections/detail.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/projections/index.d.ts +1 -0
- package/dist/types/src/application/resources/file/projections/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/projections/relations.d.ts +12 -0
- package/dist/types/src/application/resources/file/projections/relations.d.ts.map +1 -0
- package/dist/types/src/application/resources/file/validation/file-translations-schema.d.ts +8 -0
- package/dist/types/src/application/resources/file/validation/file-translations-schema.d.ts.map +1 -0
- package/dist/types/src/application/resources/inquiry/operations/queries/find/inquiry-find-query.d.ts.map +1 -1
- package/dist/types/src/application/resources/inquiry/operations/queries/find-list-cards/types.d.ts +2 -2
- package/dist/types/src/application/resources/inquiry/operations/queries/find-list-cards/types.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/index.d.ts +3 -3
- package/dist/types/src/application/resources/post/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/commands/create/validation/schema.d.ts +8 -2
- package/dist/types/src/application/resources/post/operations/commands/create/validation/schema.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/commands/delete/cache.d.ts +1 -1
- package/dist/types/src/application/resources/post/operations/commands/delete/cache.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/commands/delete/types.d.ts +1 -1
- package/dist/types/src/application/resources/post/operations/commands/delete/types.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/commands/update/post-update-command.d.ts +1 -1
- package/dist/types/src/application/resources/post/operations/commands/update/post-update-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/commands/update/validation/schema.d.ts +8 -2
- package/dist/types/src/application/resources/post/operations/commands/update/validation/schema.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/commands/update/validation/validate-input.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/index.d.ts +1 -1
- package/dist/types/src/application/resources/post/operations/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/queries/find-detail/post-find-detail-query.d.ts +0 -2
- package/dist/types/src/application/resources/post/operations/queries/find-detail/post-find-detail-query.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/queries/find-detail/validation/validate-input.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/queries/find-list-cards/cache.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.d.ts +0 -2
- package/dist/types/src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/queries/find-list-cards/validation/schema.d.ts +1 -0
- package/dist/types/src/application/resources/post/operations/queries/find-list-cards/validation/schema.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/operations/queries/find-relations/cache.d.ts +4 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/cache.d.ts.map +1 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/index.d.ts +3 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/index.d.ts.map +1 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/post-find-relations-query.d.ts +6 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/post-find-relations-query.d.ts.map +1 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/types.d.ts +11 -0
- package/dist/types/src/application/resources/post/operations/queries/find-relations/types.d.ts.map +1 -0
- package/dist/types/src/application/resources/post/operations/queries/index.d.ts +1 -2
- package/dist/types/src/application/resources/post/operations/queries/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/ports.d.ts +8 -1
- package/dist/types/src/application/resources/post/ports.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/projections/index.d.ts +1 -0
- package/dist/types/src/application/resources/post/projections/index.d.ts.map +1 -1
- package/dist/types/src/application/resources/post/projections/relations.d.ts +10 -0
- package/dist/types/src/application/resources/post/projections/relations.d.ts.map +1 -0
- package/dist/types/src/application/resources/seo-metadata/operations/commands/upsert/validation/schema.d.ts.map +1 -1
- package/dist/types/src/application/sessions/admin/authenticate/admin-session-authenticate.d.ts.map +1 -1
- package/dist/types/src/composition/create-sitero-server.d.ts.map +1 -1
- package/dist/types/src/composition/policies.d.ts +1 -3
- package/dist/types/src/composition/policies.d.ts.map +1 -1
- package/dist/types/src/composition/types.d.ts +9 -13
- package/dist/types/src/composition/types.d.ts.map +1 -1
- package/dist/types/src/contracts/email/template.d.ts +2 -0
- package/dist/types/src/contracts/email/template.d.ts.map +1 -1
- package/dist/types/src/contracts/operation/index.d.ts +1 -1
- package/dist/types/src/contracts/operation/index.d.ts.map +1 -1
- package/dist/types/src/contracts/operation/result.d.ts +11 -1
- package/dist/types/src/contracts/operation/result.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +6 -5
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/kernel/index.d.ts +1 -1
- package/dist/types/src/kernel/index.d.ts.map +1 -1
- package/dist/types/src/kernel/operation/error/index.d.ts +2 -0
- package/dist/types/src/kernel/operation/error/index.d.ts.map +1 -0
- package/dist/types/src/kernel/operation/{error.d.ts → error/normalize-operation-error.d.ts} +2 -2
- package/dist/types/src/kernel/operation/error/normalize-operation-error.d.ts.map +1 -0
- package/dist/types/src/kernel/operation/error/zod.d.ts +17 -0
- package/dist/types/src/kernel/operation/error/zod.d.ts.map +1 -0
- package/dist/types/src/kernel/operation/index.d.ts +1 -1
- package/dist/types/src/kernel/operation/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/src/application/resources/config/operations/queries/find-public/cache.js +0 -18
- package/dist/src/application/resources/config/operations/queries/find-public/config-find-public-query.js +0 -43
- package/dist/src/application/resources/config/operations/queries/find-public/validation/schema.js +0 -8
- package/dist/src/application/resources/post/operations/queries/find-public/cache.js +0 -12
- package/dist/src/application/resources/post/operations/queries/find-public/post-find-public-query.js +0 -36
- package/dist/src/application/resources/post/operations/queries/find-public-list-cards/cache.js +0 -33
- package/dist/src/application/resources/post/operations/queries/find-public-list-cards/post-find-public-list-cards-query.js +0 -34
- package/dist/src/kernel/operation/error.js +0 -30
- package/dist/types/src/application/resources/config/operations/queries/find-public/cache.d.ts +0 -5
- package/dist/types/src/application/resources/config/operations/queries/find-public/cache.d.ts.map +0 -1
- package/dist/types/src/application/resources/config/operations/queries/find-public/config-find-public-query.d.ts +0 -12
- package/dist/types/src/application/resources/config/operations/queries/find-public/config-find-public-query.d.ts.map +0 -1
- package/dist/types/src/application/resources/config/operations/queries/find-public/index.d.ts +0 -3
- package/dist/types/src/application/resources/config/operations/queries/find-public/index.d.ts.map +0 -1
- package/dist/types/src/application/resources/config/operations/queries/find-public/types.d.ts +0 -12
- package/dist/types/src/application/resources/config/operations/queries/find-public/types.d.ts.map +0 -1
- package/dist/types/src/application/resources/config/operations/queries/find-public/validation/schema.d.ts +0 -5
- package/dist/types/src/application/resources/config/operations/queries/find-public/validation/schema.d.ts.map +0 -1
- package/dist/types/src/application/resources/config/projections/public.d.ts +0 -10
- package/dist/types/src/application/resources/config/projections/public.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public/cache.d.ts +0 -5
- package/dist/types/src/application/resources/post/operations/queries/find-public/cache.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public/index.d.ts +0 -3
- package/dist/types/src/application/resources/post/operations/queries/find-public/index.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public/post-find-public-query.d.ts +0 -7
- package/dist/types/src/application/resources/post/operations/queries/find-public/post-find-public-query.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public/types.d.ts +0 -13
- package/dist/types/src/application/resources/post/operations/queries/find-public/types.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/cache.d.ts +0 -4
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/cache.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/index.d.ts +0 -3
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/index.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/post-find-public-list-cards-query.d.ts +0 -7
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/post-find-public-list-cards-query.d.ts.map +0 -1
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/types.d.ts +0 -11
- package/dist/types/src/application/resources/post/operations/queries/find-public-list-cards/types.d.ts.map +0 -1
- package/dist/types/src/kernel/operation/error.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AdminSafe, Config, Post } from "sitero-domain";
|
|
2
1
|
import type { FileCard } from "./card";
|
|
2
|
+
import type { AdminSafe, Config, Post } from "sitero-domain";
|
|
3
3
|
/**
|
|
4
4
|
* File detail projection for CMS storage views and future lifecycle commands.
|
|
5
5
|
* Reference collections explain the derived `isInUse` state for CMS views.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/projections/detail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/projections/detail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG;IAClC,6EAA6E;IAC7E,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,SAAS,EAAE,CAAC;IAChC,iBAAiB,EAAE,IAAI,EAAE,CAAC;IAC1B,mBAAmB,EAAE,IAAI,EAAE,CAAC;IAC5B,aAAa,EAAE,IAAI,EAAE,CAAC;IACtB,aAAa,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/projections/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACvC,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/projections/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACvC,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deduplicated resource identifiers that reference one File.
|
|
3
|
+
*
|
|
4
|
+
* This intentionally describes related resources, not the individual fields
|
|
5
|
+
* through which they reference the File.
|
|
6
|
+
*/
|
|
7
|
+
export interface FileRelations {
|
|
8
|
+
adminIds: string[];
|
|
9
|
+
postIds: string[];
|
|
10
|
+
configSlugs: string[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=relations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relations.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/projections/relations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Shared validation contract for File's localized presentation metadata. */
|
|
3
|
+
export declare const fileTranslationsSchema: () => 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
|
+
//# sourceMappingURL=file-translations-schema.d.ts.map
|
package/dist/types/src/application/resources/file/validation/file-translations-schema.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-translations-schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/file/validation/file-translations-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB;;;;kBAUO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inquiry-find-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/inquiry/operations/queries/find/inquiry-find-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAMvD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,aAAa,EAAE,sBAAsB,CAAC;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"inquiry-find-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/inquiry/operations/queries/find/inquiry-find-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAMvD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,aAAa,EAAE,sBAAsB,CAAC;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,GAAG,gBAAgB,CA2BnB"}
|
package/dist/types/src/application/resources/inquiry/operations/queries/find-list-cards/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { inquiryFindListCardsInputSchema } from "./validation/schema";
|
|
1
2
|
import type { Operation, OperationSuccess } from "../../../../../../kernel";
|
|
2
|
-
import type { Inquiry } from "sitero-domain";
|
|
3
3
|
import type { InquiryFindListCardsCriteria } from "../../../ports";
|
|
4
|
-
import type {
|
|
4
|
+
import type { Inquiry } from "sitero-domain";
|
|
5
5
|
import type z from "zod";
|
|
6
6
|
export interface InquiryFindListCardsInput {
|
|
7
7
|
searchString?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/inquiry/operations/queries/find-list-cards/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/inquiry/operations/queries/find-list-cards/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,WAAW,yBAAyB;IACxC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,UAAU,CAAC,OAAO,+BAA+B,CAAC,CACnD,GACC,4BAA4B,CAAC;AAE/B,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;IACxD,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,SAAS,CAC/C,yBAAyB,EACzB,kCAAkC,EAClC,0BAA0B,CAC3B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { PostCommandPort, PostCreateWriteData, PostCreateWriteInput, PostFindDetailCriteria, PostFindDetailPortResult, PostFindListCardsCriteria, PostListCardStateFilters, PostFindManyCriteria, PostLookupInput, PostQueryPort, PostUpdateWriteData, PostUpdateWriteInput, PostWriteRelations, } from "./ports";
|
|
1
|
+
export type { PostCommandPort, PostCreateWriteData, PostCreateWriteInput, PostFindDetailCriteria, PostFindDetailPortResult, PostFindListCardsCriteria, PostListCardStateFilters, PostFindManyCriteria, PostLookupInput, PostQueryPort, PostRelationsQueryPort, PostUpdateWriteData, PostUpdateWriteInput, PostWriteRelations, } from "./ports";
|
|
2
2
|
export { POST_ERROR_CODES, PostDeleteLockedError, PostNotFoundError, } from "./errors";
|
|
3
3
|
export { assertPostWriteRelationsExist } from "./assert-post-write-relations-exist";
|
|
4
|
-
export type { PostDetail, PostListCard, PostReference } from "./projections";
|
|
5
|
-
export { createPostDeleteCommand, type PostDeleteCommand, type PostDeleteInput, type PostDeleteResult, createPostUpdateCommand, type PostUpdateCommand, type PostUpdateInput, type PostUpdateResult, createPostCreateCommand, type PostCreateCommand, type PostCreateInput, type PostCreateResult, createPostFindDetailQuery, type PostFindDetailInput, type PostFindDetailQuery, type PostFindDetailResult, type
|
|
4
|
+
export type { PostDetail, PostListCard, PostRelations, PostReference, } from "./projections";
|
|
5
|
+
export { createPostDeleteCommand, type PostDeleteCommand, type PostDeleteInput, type PostDeleteResult, createPostUpdateCommand, type PostUpdateCommand, type PostUpdateInput, type PostUpdateResult, createPostCreateCommand, type PostCreateCommand, type PostCreateInput, type PostCreateResult, createPostFindDetailQuery, type PostFindDetailInput, type PostFindDetailQuery, type PostFindDetailResult, type PostFindRelationsInput, type PostFindRelationsQuery, type PostFindRelationsResult, createPostFindRelationsQuery, createPostFindListCardsQuery, type PostFindListCardsInput, type PostFindListCardsQuery, type PostFindListCardsResult, createPostFindManyQuery, type PostFindManyInput, type PostFindManyQuery, type PostFindManyResult, } from "./operations";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/post/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAKpF,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/post/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAKpF,YAAY,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,cAAc,CAAC"}
|
package/dist/types/src/application/resources/post/operations/commands/create/validation/schema.d.ts
CHANGED
|
@@ -95,8 +95,14 @@ export declare const postCreateInputSchema: () => z.ZodObject<{
|
|
|
95
95
|
summary: z.ZodNullable<z.ZodString>;
|
|
96
96
|
description: z.ZodNullable<z.ZodString>;
|
|
97
97
|
content: z.ZodNullable<z.ZodString>;
|
|
98
|
-
externalLinks: z.ZodArray<z.
|
|
99
|
-
|
|
98
|
+
externalLinks: z.ZodArray<z.ZodObject<{
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
href: z.ZodString;
|
|
101
|
+
}, z.core.$strict>>;
|
|
102
|
+
faq: z.ZodArray<z.ZodObject<{
|
|
103
|
+
question: z.ZodString;
|
|
104
|
+
answer: z.ZodString;
|
|
105
|
+
}, z.core.$strict>>;
|
|
100
106
|
toc: z.ZodArray<z.ZodAny>;
|
|
101
107
|
readTime: z.ZodNullable<z.ZodNumber>;
|
|
102
108
|
wordCount: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/commands/create/validation/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/commands/create/validation/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsCxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyFrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OperationSuccess } from "../../../../../../kernel";
|
|
2
1
|
import type { PostDeleteResult, ValidatedPostDeleteInput } from "./types";
|
|
2
|
+
import type { OperationSuccess } from "../../../../../../kernel";
|
|
3
3
|
export declare const createPostDeleteInvalidationTags: (input: ValidatedPostDeleteInput, result: Extract<PostDeleteResult, OperationSuccess<unknown>>) => string[];
|
|
4
4
|
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/commands/delete/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/commands/delete/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQjE,eAAO,MAAM,gCAAgC,GAC3C,OAAO,wBAAwB,EAC/B,QAAQ,OAAO,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,aA6B7D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Operation, OperationSuccess } from "../../../../../../kernel";
|
|
2
|
-
import type { Post } from "sitero-domain";
|
|
3
2
|
import type { PostDetail } from "../../../projections";
|
|
3
|
+
import type { Post } from "sitero-domain";
|
|
4
4
|
export interface PostDeleteInput {
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/commands/delete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/commands/delete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,wBAAyB,SAAQ,eAAe;IAC/D,QAAQ,EAAE,UAAU,CAAC;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,CAAC;AAEhE,MAAM,MAAM,iBAAiB,GAAG,SAAS,CACvC,eAAe,EACf,wBAAwB,EACxB,gBAAgB,CACjB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PostUpdateCommand } from "./types";
|
|
2
|
+
import type { OperationAuthorization } from "../../../../../../kernel";
|
|
2
3
|
import type { AdminQueryPort } from "../../../../admin";
|
|
3
4
|
import type { FileLookupPort } from "../../../../file";
|
|
4
|
-
import type { OperationAuthorization } from "../../../../../../kernel";
|
|
5
5
|
import type { PostCommandPort, PostQueryPort } from "../../../ports";
|
|
6
6
|
export declare function createPostUpdateCommand(input: {
|
|
7
7
|
authorization: OperationAuthorization;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-update-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/commands/update/post-update-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"post-update-command.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/commands/update/post-update-command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKrE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,cAAc,CAAC;CAC/B,GAAG,iBAAiB,CA8BpB"}
|
package/dist/types/src/application/resources/post/operations/commands/update/validation/schema.d.ts
CHANGED
|
@@ -10,8 +10,14 @@ export declare const postUpdateInputSchema: () => import("zod").ZodObject<{
|
|
|
10
10
|
summary: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11
11
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12
12
|
content: import("zod").ZodNullable<import("zod").ZodString>;
|
|
13
|
-
externalLinks: import("zod").ZodArray<import("zod").
|
|
14
|
-
|
|
13
|
+
externalLinks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
14
|
+
name: import("zod").ZodString;
|
|
15
|
+
href: import("zod").ZodString;
|
|
16
|
+
}, import("zod/v4/core").$strict>>;
|
|
17
|
+
faq: import("zod").ZodArray<import("zod").ZodObject<{
|
|
18
|
+
question: import("zod").ZodString;
|
|
19
|
+
answer: import("zod").ZodString;
|
|
20
|
+
}, import("zod/v4/core").$strict>>;
|
|
15
21
|
toc: import("zod").ZodArray<import("zod").ZodAny>;
|
|
16
22
|
readTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
17
23
|
wordCount: import("zod").ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/commands/update/validation/schema.ts"],"names":[],"mappings":"AAGA,qFAAqF;AACrF,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/commands/update/validation/schema.ts"],"names":[],"mappings":"AAGA,qFAAqF;AACrF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/commands/update/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAM1E,wBAAsB,aAAa,CAAC,KAAK,EAAE;IACzC,KAAK,EAAE,eAAe,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,cAAc,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,OAAO,CAAC,wBAAwB,CAAC,
|
|
1
|
+
{"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/commands/update/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAM1E,wBAAsB,aAAa,CAAC,KAAK,EAAE;IACzC,KAAK,EAAE,eAAe,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,cAAc,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAsCpC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createPostFindDetailQuery, type PostFindDetailInput, type PostFindDetailQuery, type PostFindDetailResult, type
|
|
1
|
+
export { createPostFindDetailQuery, type PostFindDetailInput, type PostFindDetailQuery, type PostFindDetailResult, type PostFindRelationsInput, type PostFindRelationsQuery, type PostFindRelationsResult, createPostFindRelationsQuery, createPostFindListCardsQuery, type PostFindListCardsInput, type PostFindListCardsQuery, type PostFindListCardsResult, createPostFindManyQuery, type PostFindManyInput, type PostFindManyQuery, type PostFindManyResult, } from "./queries";
|
|
2
2
|
export { createPostCreateCommand, type PostCreateCommand, type PostCreateInput, type PostCreateResult, createPostDeleteCommand, type PostDeleteCommand, type PostDeleteInput, type PostDeleteResult, createPostUpdateCommand, type PostUpdateCommand, type PostUpdateInput, type PostUpdateResult, } from "./commands";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/post/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/post/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC;AAKnB,OAAO,EACL,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,GACtB,MAAM,YAAY,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { PostFindDetailQuery } from "./types";
|
|
2
|
-
import type { OperationAuthorization } from "../../../../../../kernel";
|
|
3
2
|
import type { PostQueryPort } from "../../../ports";
|
|
4
3
|
export declare function createPostFindDetailQuery(input: {
|
|
5
|
-
authorization: OperationAuthorization;
|
|
6
4
|
postQueryPort: PostQueryPort;
|
|
7
5
|
}): PostFindDetailQuery;
|
|
8
6
|
//# sourceMappingURL=post-find-detail-query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-find-detail-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-detail/post-find-detail-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"post-find-detail-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-detail/post-find-detail-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AASpD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,mBAAmB,CA0BtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/queries/find-detail/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD,4EAA4E;AAC5E,wBAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"validate-input.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/queries/find-detail/validation/validate-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpD,4EAA4E;AAC5E,wBAAgB,aAAa,CAC3B,KAAK,EAAE,mBAAmB,GACzB,sBAAsB,CAiBxB"}
|
package/dist/types/src/application/resources/post/operations/queries/find-list-cards/cache.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-list-cards/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQjE,eAAO,MAAM,+BAA+B,GAC1C,OAAO,sBAAsB,
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-list-cards/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQjE,eAAO,MAAM,+BAA+B,GAC1C,OAAO,sBAAsB,WA8B3B,CAAC;AAEL,eAAO,MAAM,gCAAgC,GAC3C,OAAO,sBAAsB,EAC7B,QAAQ,OAAO,CAAC,uBAAuB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,aA8BpE,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { PostFindListCardsQuery } from "./types";
|
|
2
|
-
import type { OperationAuthorization } from "../../../../../../kernel";
|
|
3
2
|
import type { PostQueryPort } from "../../../ports";
|
|
4
3
|
export declare function createPostFindListCardsQuery(input: {
|
|
5
|
-
authorization: OperationAuthorization;
|
|
6
4
|
postQueryPort: PostQueryPort;
|
|
7
5
|
}): PostFindListCardsQuery;
|
|
8
6
|
//# sourceMappingURL=post-find-list-cards-query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-find-list-cards-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"post-find-list-cards-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-list-cards/post-find-list-cards-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAQpD,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,sBAAsB,CA0BzB"}
|
|
@@ -31,6 +31,7 @@ export declare const postFindListCardsInputSchema: () => z.ZodObject<{
|
|
|
31
31
|
topicSlug: z.ZodOptional<z.ZodString>;
|
|
32
32
|
parentId: z.ZodOptional<z.ZodString>;
|
|
33
33
|
parentSlug: z.ZodOptional<z.ZodString>;
|
|
34
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
34
35
|
postIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
36
|
excludeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
37
|
page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/queries/find-list-cards/validation/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/post/operations/queries/find-list-cards/validation/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrC,CAAC"}
|
package/dist/types/src/application/resources/post/operations/queries/find-relations/cache.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PostFindRelationsInput } from "./types";
|
|
2
|
+
export declare const createPostFindRelationsCacheKey: (input: PostFindRelationsInput) => string;
|
|
3
|
+
export declare const createPostFindRelationsCacheTags: (input: PostFindRelationsInput) => string[];
|
|
4
|
+
//# sourceMappingURL=cache.d.ts.map
|
package/dist/types/src/application/resources/post/operations/queries/find-relations/cache.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-relations/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAOtD,eAAO,MAAM,+BAA+B,GAC1C,OAAO,sBAAsB,WACgC,CAAC;AAEhE,eAAO,MAAM,gCAAgC,GAC3C,OAAO,sBAAsB,aAOrB,CAAC"}
|
package/dist/types/src/application/resources/post/operations/queries/find-relations/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/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,6 @@
|
|
|
1
|
+
import type { PostFindRelationsQuery } from "./types";
|
|
2
|
+
import type { PostRelationsQueryPort } from "../../../ports";
|
|
3
|
+
export declare function createPostFindRelationsQuery(input: {
|
|
4
|
+
postRelationsQueryPort: PostRelationsQueryPort;
|
|
5
|
+
}): PostFindRelationsQuery;
|
|
6
|
+
//# sourceMappingURL=post-find-relations-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-find-relations-query.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/operations/queries/find-relations/post-find-relations-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAU7D,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,sBAAsB,EAAE,sBAAsB,CAAC;CAChD,GAAG,sBAAsB,CAwBzB"}
|
package/dist/types/src/application/resources/post/operations/queries/find-relations/types.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Operation, OperationResult } from "../../../../../../kernel";
|
|
2
|
+
import type { PostNotFoundError } from "../../../errors";
|
|
3
|
+
import type { PostRelations } from "../../../projections";
|
|
4
|
+
export interface PostFindRelationsInput {
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
export type PostFindRelationsResult = OperationResult<{
|
|
8
|
+
relations: PostRelations;
|
|
9
|
+
}, PostNotFoundError>;
|
|
10
|
+
export type PostFindRelationsQuery = Operation<PostFindRelationsInput, PostFindRelationsInput, PostFindRelationsResult>;
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/types/src/application/resources/post/operations/queries/find-relations/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/application/resources/post/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,6 +1,5 @@
|
|
|
1
1
|
export { createPostFindDetailQuery, type PostFindDetailInput, type PostFindDetailQuery, type PostFindDetailResult, } from "./find-detail";
|
|
2
|
-
export { type
|
|
3
|
-
export { createPostFindPublicListCardsQuery, type PostFindPublicListCardsInput, type PostFindPublicListCardsQuery, type PostFindPublicListCardsResult, } from "./find-public-list-cards";
|
|
2
|
+
export { type PostFindRelationsInput, type PostFindRelationsQuery, type PostFindRelationsResult, createPostFindRelationsQuery, } from "./find-relations";
|
|
4
3
|
export { createPostFindManyQuery, type PostFindManyInput, type PostFindManyQuery, type PostFindManyResult, } from "./find-many";
|
|
5
4
|
export { createPostFindListCardsQuery, type PostFindListCardsInput, type PostFindListCardsQuery, type PostFindListCardsResult, } from "./find-list-cards";
|
|
6
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/application/resources/post/operations/queries/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/application/resources/post/operations/queries/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EACL,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AAKrB,OAAO,EACL,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC7B,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PostDetail, PostListCard, PostReference } from "./projections";
|
|
1
|
+
import type { PostDetail, PostListCard, PostReference, PostRelations } from "./projections";
|
|
2
2
|
import type { MultiItems, Post, PostData, PostTranslationData, PostType, SingleItem } from "sitero-domain";
|
|
3
3
|
/**
|
|
4
4
|
* Adapter query criteria for lightweight Post references.
|
|
@@ -84,6 +84,7 @@ export interface PostFindListCardsCriteria extends PostListCardStateFilters {
|
|
|
84
84
|
topicSlug?: string | undefined;
|
|
85
85
|
parentId?: string | undefined;
|
|
86
86
|
parentSlug?: string | undefined;
|
|
87
|
+
authorId?: string | undefined;
|
|
87
88
|
postIds?: string[] | undefined;
|
|
88
89
|
excludeIds?: string[] | undefined;
|
|
89
90
|
page?: number | undefined;
|
|
@@ -100,6 +101,12 @@ export interface PostQueryPort {
|
|
|
100
101
|
total: number;
|
|
101
102
|
}>;
|
|
102
103
|
}
|
|
104
|
+
/** Direct reverse-reference lookup used only by Post relation pages. */
|
|
105
|
+
export interface PostRelationsQueryPort {
|
|
106
|
+
findRelations(input: {
|
|
107
|
+
id: string;
|
|
108
|
+
}): Promise<PostRelations | null>;
|
|
109
|
+
}
|
|
103
110
|
export interface PostCommandPort {
|
|
104
111
|
create(input: PostCreateWriteInput): Promise<Post>;
|
|
105
112
|
update(input: PostUpdateWriteInput): Promise<Post>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/post/ports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../../src/application/resources/post/ports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACV,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CAChC;AAED,8EAA8E;AAC9E,MAAM,MAAM,eAAe,GACvB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,GAC1C;IAAE,EAAE,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,6DAA6D;AAC7D,MAAM,MAAM,sBAAsB,GAAG,eAAe,GAAG;IACrD,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,yEAAyE;AACzE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,YAAY,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;CAC3B;AAED,KAAK,2BAA2B,GAC5B,UAAU,GACV,SAAS,GACT,cAAc,GACd,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd,iEAAiE;AACjE,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,UAAU,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,UAAU,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,KAAK,mBAAmB,GAAG,IAAI,CAC7B,QAAQ,EACR,UAAU,GAAG,MAAM,GAAG,2BAA2B,CAClD,GAAG;IACF,iFAAiF;IACjF,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,iEAAiE;AACjE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GACnD,kBAAkB,GAAG;IACnB,gEAAgE;IAChE,YAAY,EAAE,KAAK,CAAC,mBAAmB,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/D,CAAC;AAEJ,qFAAqF;AACrF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,GACjE,kBAAkB,GAAG;IACnB,4EAA4E;IAC5E,YAAY,EAAE,KAAK,CAAC,mBAAmB,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/D,CAAC;AAEJ,oDAAoD;AACpD,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;AAEvD,oDAAoD;AACpD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,wEAAwE;AACxE,MAAM,MAAM,wBAAwB,GAAG;KACpC,GAAG,IACA,UAAU,GACV,eAAe,GACf,cAAc,GACd,YAAY,GACZ,eAAe,GACf,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,SAAS;CAC3C,CAAC;AAEF,qEAAqE;AACrE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;IACzE,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,aAAa;IAC5B,gFAAgF;IAChF,QAAQ,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC;IAEjE,iFAAiF;IACjF,UAAU,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAE7E,kDAAkD;IAClD,aAAa,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC;QACvD,KAAK,EAAE,YAAY,EAAE,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ;AAED,wEAAwE;AACxE,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;CACrE;AAKD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnD,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnD,4EAA4E;IAC5E,MAAM,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/post/projections/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/post/projections/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Direct reverse Post references supported by CMS relation pages. */
|
|
2
|
+
export interface PostRelations {
|
|
3
|
+
childSubcategoryIds: string[];
|
|
4
|
+
childPostIds: string[];
|
|
5
|
+
taggedCategoryIds: string[];
|
|
6
|
+
taggedSubcategoryIds: string[];
|
|
7
|
+
taggedPostIds: string[];
|
|
8
|
+
referencingPostIds: string[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=relations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relations.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/resources/post/projections/relations.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,WAAW,aAAa;IAC5B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,kBAAkB,EAAE,MAAM,EAAE,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/seo-metadata/operations/commands/upsert/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/application/resources/seo-metadata/operations/commands/upsert/validation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2CxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0C5B,CAAC"}
|
package/dist/types/src/application/sessions/admin/authenticate/admin-session-authenticate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-session-authenticate.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/sessions/admin/authenticate/admin-session-authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EACV,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,wCAAwC,CAAC;AAGhD,wBAAgB,8BAA8B,CAAC,MAAM,EAAE;IACrD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,cAAc,EAAE,cAAc,CAAC;IAC/B,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,GAAG,wBAAwB,
|
|
1
|
+
{"version":3,"file":"admin-session-authenticate.d.ts","sourceRoot":"","sources":["../../../../../../../src/application/sessions/admin/authenticate/admin-session-authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EACV,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,wCAAwC,CAAC;AAGhD,wBAAgB,8BAA8B,CAAC,MAAM,EAAE;IACrD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,cAAc,EAAE,cAAc,CAAC;IAC/B,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D,GAAG,wBAAwB,CA0J3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sitero-server.d.ts","sourceRoot":"","sources":["../../../../src/composition/create-sitero-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"create-sitero-server.d.ts","sourceRoot":"","sources":["../../../../src/composition/create-sitero-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAwE/D;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,GAAG,YAAY,CA+WzE"}
|
|
@@ -19,7 +19,6 @@ export interface SiteroServerPolicies {
|
|
|
19
19
|
findListCards?: OperationAuthorization | undefined;
|
|
20
20
|
};
|
|
21
21
|
config?: {
|
|
22
|
-
findDetail?: OperationAuthorization | undefined;
|
|
23
22
|
findMany?: OperationAuthorization | undefined;
|
|
24
23
|
update?: OperationAuthorization | undefined;
|
|
25
24
|
};
|
|
@@ -31,6 +30,7 @@ export interface SiteroServerPolicies {
|
|
|
31
30
|
deleteMany?: OperationAuthorization | undefined;
|
|
32
31
|
purgeMany?: OperationAuthorization | undefined;
|
|
33
32
|
findDetail?: OperationAuthorization | undefined;
|
|
33
|
+
findRelations?: OperationAuthorization | undefined;
|
|
34
34
|
findListCards?: OperationAuthorization | undefined;
|
|
35
35
|
restoreMany?: OperationAuthorization | undefined;
|
|
36
36
|
update?: OperationAuthorization | undefined;
|
|
@@ -44,8 +44,6 @@ export interface SiteroServerPolicies {
|
|
|
44
44
|
create?: OperationAuthorization | undefined;
|
|
45
45
|
update?: OperationAuthorization | undefined;
|
|
46
46
|
delete?: OperationAuthorization | undefined;
|
|
47
|
-
findDetail?: OperationAuthorization | undefined;
|
|
48
|
-
findListCards?: OperationAuthorization | undefined;
|
|
49
47
|
findMany?: OperationAuthorization | undefined;
|
|
50
48
|
};
|
|
51
49
|
seoMetadata?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies.d.ts","sourceRoot":"","sources":["../../../../src/composition/policies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE;QACT,YAAY,CAAC,EAAE;YACb,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YACnD,cAAc,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SACrD,CAAC;QACF,OAAO,CAAC,EAAE;YACR,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,WAAW,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAClD,CAAC;KACH,CAAC;IACF,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE;YACN,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SACpD,CAAC;QACF,MAAM,CAAC,EAAE;YACP,
|
|
1
|
+
{"version":3,"file":"policies.d.ts","sourceRoot":"","sources":["../../../../src/composition/policies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE;QACT,YAAY,CAAC,EAAE;YACb,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YACnD,cAAc,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SACrD,CAAC;QACF,OAAO,CAAC,EAAE;YACR,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,WAAW,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAClD,CAAC;KACH,CAAC;IACF,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE;YACN,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SACpD,CAAC;QACF,MAAM,CAAC,EAAE;YACP,QAAQ,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC9C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAC7C,CAAC;QACF,IAAI,CAAC,EAAE;YACL,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,cAAc,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YACpD,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,SAAS,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC/C,UAAU,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAChD,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YACnD,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YACnD,WAAW,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YACjD,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAC7C,CAAC;QACF,OAAO,CAAC,EAAE;YACR,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,IAAI,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC1C,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SACpD,CAAC;QACF,IAAI,CAAC,EAAE;YACL,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,QAAQ,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAC/C,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAC7C,CAAC;QACF,iBAAiB,CAAC,EAAE;YAClB,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;YAC5C,QAAQ,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;SAC/C,CAAC;KACH,CAAC;CACH;AAMD;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,CAAC,EAAE,sBAAsB,GAC9B,sBAAsB,CAExB"}
|
|
@@ -6,10 +6,10 @@ import type { InquirySubmitInput, InquirySubmitOperation } from "../application/
|
|
|
6
6
|
import type { UploadFileInput, UploadFileOperation, UploadFilesInput, UploadFilesOperation, UploadPolicy } from "../application/features/uploads";
|
|
7
7
|
import type { AdminCommandPort, AdminCreateCommand, AdminDeleteCommand, AdminFindDetailQuery, AdminFindListCardsQuery, AdminInquiryNotificationRecipientQueryPort, AdminQueryPort, AdminUpdateCommand } from "../application/resources/admin";
|
|
8
8
|
import type { AdminRefreshTokenCommandPort, AdminRefreshTokenDeleteCommand, AdminRefreshTokenFindManyQuery, AdminRefreshTokenQueryPort } from "../application/resources/admin-refresh-token";
|
|
9
|
-
import type { ConfigCommandPort, ConfigFindDetailQuery, ConfigFindManyQuery,
|
|
10
|
-
import type { FileCommandPort, FileCreateCommand, FileCreateManyCommand, FileDeleteCommand, FileDeleteManyCommand, FileFindDetailQuery, FileFindListCardsQuery, FilePurgeManyCommand, FileQueryPort, FileReplaceContentCommand, FileReplaceContentPort, FileRestoreManyCommand, FileUpdateCommand } from "../application/resources/file";
|
|
9
|
+
import type { ConfigCommandPort, ConfigFindDetailQuery, ConfigFindManyQuery, ConfigQueryPort, ConfigUpdateCommand } from "../application/resources/config";
|
|
10
|
+
import type { FileCommandPort, FileCreateCommand, FileCreateManyCommand, FileDeleteCommand, FileDeleteManyCommand, FileFindDetailQuery, FileFindRelationsQuery, FileFindListCardsQuery, FileValidateCreateQuery, FileValidateUpdateQuery, FilePurgeManyCommand, FileQueryPort, FileRelationsQueryPort, FileReplaceContentCommand, FileReplaceContentPort, FileRestoreManyCommand, FileUpdateCommand } from "../application/resources/file";
|
|
11
11
|
import type { InquiryCommandPort, InquiryDeleteCommand, InquiryFindListCardsQuery, InquiryFindQuery, InquiryQueryPort } from "../application/resources/inquiry";
|
|
12
|
-
import type { PostCommandPort, PostCreateCommand, PostDeleteCommand, PostFindDetailQuery,
|
|
12
|
+
import type { PostCommandPort, PostCreateCommand, PostDeleteCommand, PostFindDetailQuery, PostFindRelationsQuery, PostFindListCardsQuery, PostFindManyQuery, PostQueryPort, PostRelationsQueryPort, PostUpdateCommand } from "../application/resources/post";
|
|
13
13
|
import type { SeoMetadataCommandPort, SeoMetadataUpsertCommand } from "../application/resources/seo-metadata";
|
|
14
14
|
import type { AdminSessionAuthenticate } from "../application/sessions";
|
|
15
15
|
import type { AuthenticationPasswordPort, AuthenticationTokenPort } from "../contracts/authentication";
|
|
@@ -46,13 +46,6 @@ export interface SiteroServerRateLimits {
|
|
|
46
46
|
export interface SiteroServerInput {
|
|
47
47
|
/** Product-level constraints enforced by framework-neutral upload operations. */
|
|
48
48
|
uploads?: UploadPolicy | undefined;
|
|
49
|
-
/** Explicit, consumer-owned declarations for unauthenticated resource reads. */
|
|
50
|
-
publicResources?: {
|
|
51
|
-
config?: {
|
|
52
|
-
/** Seeded Config slugs that the website may read without an actor. */
|
|
53
|
-
slugs?: readonly string[] | undefined;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
49
|
authentication?: {
|
|
57
50
|
admin?: {
|
|
58
51
|
refreshTokenTtlSeconds?: number | undefined;
|
|
@@ -109,6 +102,7 @@ export interface SiteroServerInput {
|
|
|
109
102
|
file: {
|
|
110
103
|
fileCommandPort: FileCommandPort;
|
|
111
104
|
fileQueryPort: FileQueryPort;
|
|
105
|
+
fileRelationsQueryPort: FileRelationsQueryPort;
|
|
112
106
|
fileReplaceContentPort: FileReplaceContentPort;
|
|
113
107
|
storageRemovePort: StorageRemovePort;
|
|
114
108
|
};
|
|
@@ -119,6 +113,7 @@ export interface SiteroServerInput {
|
|
|
119
113
|
post: {
|
|
120
114
|
postCommandPort: PostCommandPort;
|
|
121
115
|
postQueryPort: PostQueryPort;
|
|
116
|
+
postRelationsQueryPort: PostRelationsQueryPort;
|
|
122
117
|
};
|
|
123
118
|
seoMetadata: {
|
|
124
119
|
seoMetadataCommandPort: SeoMetadataCommandPort;
|
|
@@ -181,10 +176,11 @@ export interface SiteroServer {
|
|
|
181
176
|
config: {
|
|
182
177
|
update: ConfigUpdateCommand;
|
|
183
178
|
findDetail: ConfigFindDetailQuery;
|
|
184
|
-
findPublic: ConfigFindPublicQuery;
|
|
185
179
|
findMany: ConfigFindManyQuery;
|
|
186
180
|
};
|
|
187
181
|
file: {
|
|
182
|
+
validateCreate: FileValidateCreateQuery;
|
|
183
|
+
validateUpdate: FileValidateUpdateQuery;
|
|
188
184
|
create: FileCreateCommand;
|
|
189
185
|
createMany: FileCreateManyCommand;
|
|
190
186
|
replaceContent: FileReplaceContentCommand;
|
|
@@ -192,6 +188,7 @@ export interface SiteroServer {
|
|
|
192
188
|
deleteMany: FileDeleteManyCommand;
|
|
193
189
|
purgeMany: FilePurgeManyCommand;
|
|
194
190
|
findDetail: FileFindDetailQuery;
|
|
191
|
+
findRelations: FileFindRelationsQuery;
|
|
195
192
|
findListCards: FileFindListCardsQuery;
|
|
196
193
|
restoreMany: FileRestoreManyCommand;
|
|
197
194
|
update: FileUpdateCommand;
|
|
@@ -206,8 +203,7 @@ export interface SiteroServer {
|
|
|
206
203
|
update: PostUpdateCommand;
|
|
207
204
|
delete: PostDeleteCommand;
|
|
208
205
|
findDetail: PostFindDetailQuery;
|
|
209
|
-
|
|
210
|
-
findPublicListCards: PostFindPublicListCardsQuery;
|
|
206
|
+
findRelations: PostFindRelationsQuery;
|
|
211
207
|
findListCards: PostFindListCardsQuery;
|
|
212
208
|
findMany: PostFindManyQuery;
|
|
213
209
|
};
|