sitero-server 0.2.0 → 0.4.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 +4 -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/constraints/assert-file-exists.js +1 -1
- package/dist/src/application/resources/file/errors/codes.js +1 -0
- 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/cache.js +7 -3
- package/dist/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.js +14 -34
- package/dist/src/application/resources/file/operations/commands/restore-many/file-restore-many-command.js +21 -4
- 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 +20 -2
- 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/errors/codes.d.ts +1 -0
- package/dist/types/src/application/resources/file/errors/codes.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/cache.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/purge-many/file-purge-many-command.d.ts +3 -3
- 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/restore-many/file-restore-many-command.d.ts.map +1 -1
- package/dist/types/src/application/resources/file/operations/commands/restore-many/types.d.ts +1 -1
- package/dist/types/src/application/resources/file/operations/commands/restore-many/types.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 +38 -8
- 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 +9 -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/contracts/storage/port.d.ts +1 -1
- package/dist/types/src/contracts/storage/port.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +6 -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,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;
|
|
@@ -63,6 +64,13 @@ export interface FileReplaceContentPort {
|
|
|
63
64
|
/** Replaces one active, deletable File only when its key still equals expectedKey. */
|
|
64
65
|
replaceContent(input: FileReplaceContentWriteInput): Promise<DomainFile>;
|
|
65
66
|
}
|
|
67
|
+
/** Atomic restore outcome; expected state conflicts are not persistence failures. */
|
|
68
|
+
export type FileRestoreWriteResult = {
|
|
69
|
+
status: "restored";
|
|
70
|
+
file: DomainFile;
|
|
71
|
+
} | {
|
|
72
|
+
status: "not-found" | "not-deleted" | "purge-started";
|
|
73
|
+
};
|
|
66
74
|
export interface FileCommandPort {
|
|
67
75
|
/** Creates one File record for an object that already exists in storage. */
|
|
68
76
|
create(input: FileCreateWriteInput): Promise<DomainFile>;
|
|
@@ -70,14 +78,10 @@ export interface FileCommandPort {
|
|
|
70
78
|
softDelete(input: {
|
|
71
79
|
id: string;
|
|
72
80
|
}): Promise<DomainFile>;
|
|
73
|
-
/** Restores
|
|
81
|
+
/** Restores a soft-deleted File only before purge intent; enforced atomically. */
|
|
74
82
|
restore(input: {
|
|
75
83
|
id: string;
|
|
76
|
-
}): Promise<
|
|
77
|
-
/** Permanently deletes one soft-deleted, deletable File row. */
|
|
78
|
-
purge(input: {
|
|
79
|
-
id: string;
|
|
80
|
-
}): Promise<DomainFile>;
|
|
84
|
+
}): Promise<FileRestoreWriteResult>;
|
|
81
85
|
/** Updates one active File's presentation metadata; adapters enforce this atomically. */
|
|
82
86
|
update(input: FileUpdateWriteInput): Promise<DomainFile>;
|
|
83
87
|
}
|
|
@@ -90,4 +94,30 @@ export interface FileQueryPort extends FileLookupPort {
|
|
|
90
94
|
total: number;
|
|
91
95
|
}>;
|
|
92
96
|
}
|
|
97
|
+
/** Reverse-reference lookup used only by File relation views. */
|
|
98
|
+
export interface FileRelationsQueryPort {
|
|
99
|
+
findRelations(input: {
|
|
100
|
+
id: string;
|
|
101
|
+
}): Promise<FileRelations | null>;
|
|
102
|
+
}
|
|
103
|
+
/** Durable purge intent and serialized completion, separate from ordinary writes. */
|
|
104
|
+
export interface FilePurgePort {
|
|
105
|
+
/** Requires soft-deleted, unlocked, unused state and commits irreversible intent
|
|
106
|
+
* atomically before storage I/O.
|
|
107
|
+
* Repeating preparation preserves the original intent and immutable object key.
|
|
108
|
+
*/
|
|
109
|
+
prepare(input: {
|
|
110
|
+
id: string;
|
|
111
|
+
}): Promise<DomainFile>;
|
|
112
|
+
/** Exclusively checks the prepared record, invokes removeObject with its key,
|
|
113
|
+
* then removes the record. A failed callback/commit must retain durable intent.
|
|
114
|
+
* Concurrent completion attempts must not wait and silently start another attempt.
|
|
115
|
+
* The callback must be idempotent: storage cannot be rolled back with persistence.
|
|
116
|
+
*/
|
|
117
|
+
complete(input: {
|
|
118
|
+
id: string;
|
|
119
|
+
}, removeObject: (input: {
|
|
120
|
+
key: string;
|
|
121
|
+
}) => Promise<void>): Promise<DomainFile>;
|
|
122
|
+
}
|
|
93
123
|
//# 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,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,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAEhE,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;AAED,qFAAqF;AACrF,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,OAAO,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACpD;;;;OAIG;IACH,QAAQ,CACN,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EACrB,YAAY,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,GACtD,OAAO,CAAC,UAAU,CAAC,CAAC;CACxB"}
|
|
@@ -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"}
|
|
@@ -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, createPostFindListCardsQuery, type PostFindListCardsInput, type PostFindListCardsQuery, type PostFindListCardsResult, createPostFindManyQuery, type PostFindManyInput, type PostFindManyQuery, type PostFindManyResult, } from "./queries";
|
|
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,EACzB,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
|
+
{"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 +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"}
|
|
@@ -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,4 +1,5 @@
|
|
|
1
1
|
export { createPostFindDetailQuery, type PostFindDetailInput, type PostFindDetailQuery, type PostFindDetailResult, } from "./find-detail";
|
|
2
|
+
export { type PostFindRelationsInput, type PostFindRelationsQuery, type PostFindRelationsResult, createPostFindRelationsQuery, } from "./find-relations";
|
|
2
3
|
export { createPostFindManyQuery, type PostFindManyInput, type PostFindManyQuery, type PostFindManyResult, } from "./find-many";
|
|
3
4
|
export { createPostFindListCardsQuery, type PostFindListCardsInput, type PostFindListCardsQuery, type PostFindListCardsResult, } from "./find-list-cards";
|
|
4
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,CA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C5B,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,CAgXzE"}
|
|
@@ -30,6 +30,7 @@ export interface SiteroServerPolicies {
|
|
|
30
30
|
deleteMany?: OperationAuthorization | undefined;
|
|
31
31
|
purgeMany?: OperationAuthorization | undefined;
|
|
32
32
|
findDetail?: OperationAuthorization | undefined;
|
|
33
|
+
findRelations?: OperationAuthorization | undefined;
|
|
33
34
|
findListCards?: OperationAuthorization | undefined;
|
|
34
35
|
restoreMany?: OperationAuthorization | undefined;
|
|
35
36
|
update?: OperationAuthorization | undefined;
|
|
@@ -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,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