sitero-server 0.2.0 → 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-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 +1 -3
- 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-list-cards/cache.js +1 -0
- 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 +18 -1
- 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-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 +1 -1
- 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/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.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/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/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/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 -0
- 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 -0
- package/dist/types/src/composition/policies.d.ts.map +1 -1
- package/dist/types/src/composition/types.d.ts +8 -2
- 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 +5 -4
- 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/kernel/operation/error.js +0 -33
- package/dist/types/src/kernel/operation/error.d.ts.map +0 -1
|
@@ -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,
|
|
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,
|
|
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;
|
|
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,
|
|
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"}
|
package/dist/types/src/application/resources/file/operations/commands/create-many/types.d.ts
CHANGED
|
@@ -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[];
|
package/dist/types/src/application/resources/file/operations/commands/create-many/types.d.ts.map
CHANGED
|
@@ -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;
|
|
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,
|
|
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,
|
|
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,
|
|
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;
|
|
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,
|
|
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"}
|
package/dist/types/src/application/resources/file/operations/queries/find-list-cards/types.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ import type z from "zod";
|
|
|
7
7
|
export interface FileFindListCardsInput {
|
|
8
8
|
locale: string;
|
|
9
9
|
searchString?: string | undefined;
|
|
10
|
-
|
|
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;
|
package/dist/types/src/application/resources/file/operations/queries/find-list-cards/types.d.ts.map
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
5
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6
6
|
readonly IMAGE: "IMAGE";
|
|
7
7
|
readonly AUDIO: "AUDIO";
|
|
8
8
|
readonly VIDEO: "VIDEO";
|
package/dist/types/src/application/resources/file/operations/queries/find-relations/cache.d.ts
ADDED
|
@@ -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
|
package/dist/types/src/application/resources/file/operations/queries/find-relations/cache.d.ts.map
ADDED
|
@@ -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"}
|
package/dist/types/src/application/resources/file/operations/queries/find-relations/index.d.ts.map
ADDED
|
@@ -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"}
|
package/dist/types/src/application/resources/file/operations/queries/find-relations/types.d.ts
ADDED
|
@@ -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
|
package/dist/types/src/application/resources/file/operations/queries/find-relations/types.d.ts.map
ADDED
|
@@ -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;
|
|
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"}
|
package/dist/types/src/application/resources/file/operations/queries/validate-create/index.d.ts.map
ADDED
|
@@ -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"}
|
package/dist/types/src/application/resources/file/operations/queries/validate-create/types.d.ts
ADDED
|
@@ -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
|
package/dist/types/src/application/resources/file/operations/queries/validate-create/types.d.ts.map
ADDED
|
@@ -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 @@
|
|
|
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"}
|
package/dist/types/src/application/resources/file/operations/queries/validate-update/index.d.ts.map
ADDED
|
@@ -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"}
|
package/dist/types/src/application/resources/file/operations/queries/validate-update/types.d.ts
ADDED
|
@@ -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
|
package/dist/types/src/application/resources/file/operations/queries/validate-update/types.d.ts.map
ADDED
|
@@ -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
|
-
|
|
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":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
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"}
|
|
@@ -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, createPostFindListCardsQuery, type PostFindListCardsInput, type PostFindListCardsQuery, type PostFindListCardsResult, createPostFindManyQuery, type PostFindManyInput, type PostFindManyQuery, type PostFindManyResult, } from "./operations";
|
|
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"}
|