ddd-ts-kit 0.99.0 → 0.101.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/CHANGELOG.md +229 -0
- package/README.fr.md +253 -64
- package/README.md +233 -65
- package/dist/acceptance/lock-acceptance.d.ts +2 -0
- package/dist/acceptance/lock-acceptance.d.ts.map +1 -1
- package/dist/acceptance/lock-acceptance.js +28 -8
- package/dist/acceptance/lock-acceptance.js.map +1 -1
- package/dist/acceptance/lock-in.d.ts +4 -0
- package/dist/acceptance/lock-in.d.ts.map +1 -0
- package/dist/acceptance/lock-in.js +45 -0
- package/dist/acceptance/lock-in.js.map +1 -0
- package/dist/acceptance/previous-lock-of.d.ts +32 -0
- package/dist/acceptance/previous-lock-of.d.ts.map +1 -0
- package/dist/acceptance/previous-lock-of.js +29 -0
- package/dist/acceptance/previous-lock-of.js.map +1 -0
- package/dist/acceptance/read-acceptance.js +13 -3
- package/dist/acceptance/read-acceptance.js.map +1 -1
- package/dist/acceptance/read-committed-lock.d.ts +28 -0
- package/dist/acceptance/read-committed-lock.d.ts.map +1 -0
- package/dist/acceptance/read-committed-lock.js +27 -0
- package/dist/acceptance/read-committed-lock.js.map +1 -0
- package/dist/acceptance/read-lock.d.ts.map +1 -1
- package/dist/acceptance/read-lock.js +2 -41
- package/dist/acceptance/read-lock.js.map +1 -1
- package/dist/affected/changed-paths.d.ts +2 -1
- package/dist/affected/changed-paths.d.ts.map +1 -1
- package/dist/affected/changed-paths.js +10 -6
- package/dist/affected/changed-paths.js.map +1 -1
- package/dist/affected/format-selection.d.ts.map +1 -1
- package/dist/affected/format-selection.js +2 -1
- package/dist/affected/format-selection.js.map +1 -1
- package/dist/affected/reach-of.d.ts.map +1 -1
- package/dist/affected/reach-of.js +2 -1
- package/dist/affected/reach-of.js.map +1 -1
- package/dist/affected/run-affected.d.ts.map +1 -1
- package/dist/affected/run-affected.js +0 -1
- package/dist/affected/run-affected.js.map +1 -1
- package/dist/check/authz/permission-sets.d.ts +1 -1
- package/dist/check/authz/permission-sets.d.ts.map +1 -1
- package/dist/check/authz/permission-sets.js.map +1 -1
- package/dist/check/canonical/stray-entry.d.ts.map +1 -1
- package/dist/check/canonical/stray-entry.js +2 -1
- package/dist/check/canonical/stray-entry.js.map +1 -1
- package/dist/check/commands/changed-files.d.ts +5 -5
- package/dist/check/commands/changed-files.d.ts.map +1 -1
- package/dist/check/commands/changed-files.js +7 -7
- package/dist/check/commands/changed-files.js.map +1 -1
- package/dist/check/commands/check-command.d.ts.map +1 -1
- package/dist/check/commands/check-command.js +3 -1
- package/dist/check/commands/check-command.js.map +1 -1
- package/dist/check/commands/check-file-command.js +2 -1
- package/dist/check/commands/check-file-command.js.map +1 -1
- package/dist/check/commands/explain-command.d.ts.map +1 -1
- package/dist/check/commands/explain-command.js +3 -2
- package/dist/check/commands/explain-command.js.map +1 -1
- package/dist/check/commands/rules-command.d.ts.map +1 -1
- package/dist/check/commands/rules-command.js +5 -2
- package/dist/check/commands/rules-command.js.map +1 -1
- package/dist/check/commands/self-check.d.ts.map +1 -1
- package/dist/check/commands/self-check.js +2 -1
- package/dist/check/commands/self-check.js.map +1 -1
- package/dist/check/configuration/config-inspection.d.ts +2 -0
- package/dist/check/configuration/config-inspection.d.ts.map +1 -1
- package/dist/check/configuration/config-inspection.js +9 -3
- package/dist/check/configuration/config-inspection.js.map +1 -1
- package/dist/check/configuration/leaving-directories.d.ts +7 -0
- package/dist/check/configuration/leaving-directories.d.ts.map +1 -0
- package/dist/check/configuration/leaving-directories.js +13 -0
- package/dist/check/configuration/leaving-directories.js.map +1 -0
- package/dist/check/configuration/unknown-keys.d.ts +8 -0
- package/dist/check/configuration/unknown-keys.d.ts.map +1 -0
- package/dist/check/configuration/unknown-keys.js +84 -0
- package/dist/check/configuration/unknown-keys.js.map +1 -0
- package/dist/check/engine/format-check.d.ts.map +1 -1
- package/dist/check/engine/format-check.js +3 -2
- package/dist/check/engine/format-check.js.map +1 -1
- package/dist/check/explain/layer-docs.js +1 -1
- package/dist/check/explain/layer-docs.js.map +1 -1
- package/dist/check/explain/privacy-docs.js +1 -1
- package/dist/check/explain/privacy-docs.js.map +1 -1
- package/dist/check/fixtures/layer-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/layer-fixtures.js +47 -1
- package/dist/check/fixtures/layer-fixtures.js.map +1 -1
- package/dist/check/fixtures/privacy-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/privacy-fixtures.js +39 -0
- package/dist/check/fixtures/privacy-fixtures.js.map +1 -1
- package/dist/check/privacy/published-events-of.d.ts.map +1 -1
- package/dist/check/privacy/published-events-of.js +4 -2
- package/dist/check/privacy/published-events-of.js.map +1 -1
- package/dist/check/project/load-project.d.ts.map +1 -1
- package/dist/check/project/load-project.js +2 -1
- package/dist/check/project/load-project.js.map +1 -1
- package/dist/check/rules/config-valid.d.ts.map +1 -1
- package/dist/check/rules/config-valid.js +7 -2
- package/dist/check/rules/config-valid.js.map +1 -1
- package/dist/check/rules/context-declared-relationship.d.ts.map +1 -1
- package/dist/check/rules/context-declared-relationship.js +2 -1
- package/dist/check/rules/context-declared-relationship.js.map +1 -1
- package/dist/check/rules/context-no-cycle.d.ts.map +1 -1
- package/dist/check/rules/context-no-cycle.js +2 -1
- package/dist/check/rules/context-no-cycle.js.map +1 -1
- package/dist/check/rules/declarations-barrel-current.d.ts.map +1 -1
- package/dist/check/rules/declarations-barrel-current.js +2 -1
- package/dist/check/rules/declarations-barrel-current.js.map +1 -1
- package/dist/check/rules/layer-application-inward.d.ts.map +1 -1
- package/dist/check/rules/layer-application-inward.js +11 -2
- package/dist/check/rules/layer-application-inward.js.map +1 -1
- package/dist/check/rules/nest-controllers-current.d.ts.map +1 -1
- package/dist/check/rules/nest-controllers-current.js +2 -1
- package/dist/check/rules/nest-controllers-current.js.map +1 -1
- package/dist/check/rules/privacy-declared-field.d.ts +3 -1
- package/dist/check/rules/privacy-declared-field.d.ts.map +1 -1
- package/dist/check/rules/privacy-declared-field.js +10 -2
- package/dist/check/rules/privacy-declared-field.js.map +1 -1
- package/dist/check/rules/tree-context-doc.d.ts.map +1 -1
- package/dist/check/rules/tree-context-doc.js +2 -1
- package/dist/check/rules/tree-context-doc.js.map +1 -1
- package/dist/check/scheduling/is-background-job-file.d.ts +4 -0
- package/dist/check/scheduling/is-background-job-file.d.ts.map +1 -0
- package/dist/check/scheduling/is-background-job-file.js +8 -0
- package/dist/check/scheduling/is-background-job-file.js.map +1 -0
- package/dist/check/scheduling/job-classes.d.ts.map +1 -1
- package/dist/check/scheduling/job-classes.js +1 -7
- package/dist/check/scheduling/job-classes.js.map +1 -1
- package/dist/check/schemas/class-shapes.d.ts.map +1 -1
- package/dist/check/schemas/class-shapes.js +5 -26
- package/dist/check/schemas/class-shapes.js.map +1 -1
- package/dist/check/structure/class-statements.d.ts +13 -0
- package/dist/check/structure/class-statements.d.ts.map +1 -0
- package/dist/check/structure/class-statements.js +34 -0
- package/dist/check/structure/class-statements.js.map +1 -0
- package/dist/check/structure/property-of.d.ts +13 -0
- package/dist/check/structure/property-of.d.ts.map +1 -0
- package/dist/check/structure/property-of.js +23 -0
- package/dist/check/structure/property-of.js.map +1 -0
- package/dist/citations/ref-notes.js +7 -2
- package/dist/citations/ref-notes.js.map +1 -1
- package/dist/citations/removals-since.d.ts +2 -1
- package/dist/citations/removals-since.d.ts.map +1 -1
- package/dist/citations/removals-since.js +3 -2
- package/dist/citations/removals-since.js.map +1 -1
- package/dist/citations/stale-names-at.d.ts +6 -1
- package/dist/citations/stale-names-at.d.ts.map +1 -1
- package/dist/citations/stale-names-at.js +14 -6
- package/dist/citations/stale-names-at.js.map +1 -1
- package/dist/commands/acceptance.d.ts.map +1 -1
- package/dist/commands/acceptance.js +4 -4
- package/dist/commands/acceptance.js.map +1 -1
- package/dist/commands/affected.d.ts +4 -1
- package/dist/commands/affected.d.ts.map +1 -1
- package/dist/commands/affected.js +14 -2
- package/dist/commands/affected.js.map +1 -1
- package/dist/commands/arguments-error.d.ts +5 -0
- package/dist/commands/arguments-error.d.ts.map +1 -0
- package/dist/commands/arguments-error.js +5 -0
- package/dist/commands/arguments-error.js.map +1 -0
- package/dist/commands/arguments.js +2 -2
- package/dist/commands/arguments.js.map +1 -1
- package/dist/commands/build-aliases.d.ts.map +1 -1
- package/dist/commands/build-aliases.js +2 -1
- package/dist/commands/build-aliases.js.map +1 -1
- package/dist/commands/cited.d.ts.map +1 -1
- package/dist/commands/cited.js +8 -11
- package/dist/commands/cited.js.map +1 -1
- package/dist/commands/commit-size.d.ts.map +1 -1
- package/dist/commands/commit-size.js +2 -1
- package/dist/commands/commit-size.js.map +1 -1
- package/dist/commands/context-layout.d.ts.map +1 -1
- package/dist/commands/context-layout.js +6 -4
- package/dist/commands/context-layout.js.map +1 -1
- package/dist/commands/controllers.d.ts.map +1 -1
- package/dist/commands/controllers.js +4 -2
- package/dist/commands/controllers.js.map +1 -1
- package/dist/commands/depcruise-config.d.ts.map +1 -1
- package/dist/commands/depcruise-config.js +5 -3
- package/dist/commands/depcruise-config.js.map +1 -1
- package/dist/commands/describe.d.ts.map +1 -1
- package/dist/commands/describe.js +2 -1
- package/dist/commands/describe.js.map +1 -1
- package/dist/commands/digest.d.ts +8 -0
- package/dist/commands/digest.d.ts.map +1 -0
- package/dist/commands/digest.js +23 -0
- package/dist/commands/digest.js.map +1 -0
- package/dist/commands/docs.d.ts.map +1 -1
- package/dist/commands/docs.js +4 -2
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +2 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/drizzle-generate.d.ts.map +1 -1
- package/dist/commands/drizzle-generate.js +2 -2
- package/dist/commands/drizzle-generate.js.map +1 -1
- package/dist/commands/error-factories.d.ts.map +1 -1
- package/dist/commands/error-factories.js +2 -1
- package/dist/commands/error-factories.js.map +1 -1
- package/dist/commands/format-context.d.ts +1 -1
- package/dist/commands/format-context.d.ts.map +1 -1
- package/dist/commands/format-context.js +16 -16
- package/dist/commands/format-context.js.map +1 -1
- package/dist/commands/generate.d.ts +6 -3
- package/dist/commands/generate.d.ts.map +1 -1
- package/dist/commands/generate.js +32 -68
- package/dist/commands/generate.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +8 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/known-context.d.ts.map +1 -1
- package/dist/commands/known-context.js +2 -1
- package/dist/commands/known-context.js.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +4 -3
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/measures.d.ts.map +1 -1
- package/dist/commands/measures.js +2 -1
- package/dist/commands/measures.js.map +1 -1
- package/dist/commands/merge-trunk.d.ts.map +1 -1
- package/dist/commands/merge-trunk.js +3 -2
- package/dist/commands/merge-trunk.js.map +1 -1
- package/dist/commands/move-to-module.d.ts.map +1 -1
- package/dist/commands/move-to-module.js +9 -5
- package/dist/commands/move-to-module.js.map +1 -1
- package/dist/commands/mutation.d.ts.map +1 -1
- package/dist/commands/mutation.js +5 -2
- package/dist/commands/mutation.js.map +1 -1
- package/dist/commands/plan-waves.d.ts +3 -2
- package/dist/commands/plan-waves.d.ts.map +1 -1
- package/dist/commands/plan-waves.js +15 -19
- package/dist/commands/plan-waves.js.map +1 -1
- package/dist/commands/platform-folders.d.ts.map +1 -1
- package/dist/commands/platform-folders.js +2 -1
- package/dist/commands/platform-folders.js.map +1 -1
- package/dist/commands/print-report.d.ts +1 -1
- package/dist/commands/print-report.d.ts.map +1 -1
- package/dist/commands/print-report.js +15 -6
- package/dist/commands/print-report.js.map +1 -1
- package/dist/commands/prisma-generate.d.ts +2 -1
- package/dist/commands/prisma-generate.d.ts.map +1 -1
- package/dist/commands/prisma-generate.js +14 -7
- package/dist/commands/prisma-generate.js.map +1 -1
- package/dist/commands/sdk.d.ts.map +1 -1
- package/dist/commands/sdk.js +3 -4
- package/dist/commands/sdk.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +3 -2
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/stories.d.ts.map +1 -1
- package/dist/commands/stories.js +2 -1
- package/dist/commands/stories.js.map +1 -1
- package/dist/commands/story-check.d.ts.map +1 -1
- package/dist/commands/story-check.js +2 -1
- package/dist/commands/story-check.js.map +1 -1
- package/dist/commands/story-scope.d.ts.map +1 -1
- package/dist/commands/story-scope.js +2 -1
- package/dist/commands/story-scope.js.map +1 -1
- package/dist/commands/story.d.ts.map +1 -1
- package/dist/commands/story.js +2 -1
- package/dist/commands/story.js.map +1 -1
- package/dist/commands/todo.d.ts +4 -1
- package/dist/commands/todo.d.ts.map +1 -1
- package/dist/commands/todo.js +12 -6
- package/dist/commands/todo.js.map +1 -1
- package/dist/commands/typeorm-generate.d.ts +3 -1
- package/dist/commands/typeorm-generate.d.ts.map +1 -1
- package/dist/commands/typeorm-generate.js +36 -7
- package/dist/commands/typeorm-generate.js.map +1 -1
- package/dist/commands/value-objects.d.ts.map +1 -1
- package/dist/commands/value-objects.js +2 -1
- package/dist/commands/value-objects.js.map +1 -1
- package/dist/commands/verify-merge.d.ts.map +1 -1
- package/dist/commands/verify-merge.js +2 -1
- package/dist/commands/verify-merge.js.map +1 -1
- package/dist/commands/verify-slice.d.ts.map +1 -1
- package/dist/commands/verify-slice.js +5 -2
- package/dist/commands/verify-slice.js.map +1 -1
- package/dist/commands/worker-scope.d.ts.map +1 -1
- package/dist/commands/worker-scope.js +3 -2
- package/dist/commands/worker-scope.js.map +1 -1
- package/dist/commands/worktree.d.ts.map +1 -1
- package/dist/commands/worktree.js +2 -1
- package/dist/commands/worktree.js.map +1 -1
- package/dist/commit/commit-of.d.ts +6 -0
- package/dist/commit/commit-of.d.ts.map +1 -0
- package/dist/commit/commit-of.js +9 -0
- package/dist/commit/commit-of.js.map +1 -0
- package/dist/commit/known-commit.d.ts +6 -0
- package/dist/commit/known-commit.d.ts.map +1 -0
- package/dist/commit/known-commit.js +14 -0
- package/dist/commit/known-commit.js.map +1 -0
- package/dist/commit/run-git.d.ts +2 -1
- package/dist/commit/run-git.d.ts.map +1 -1
- package/dist/commit/run-git.js +3 -1
- package/dist/commit/run-git.js.map +1 -1
- package/dist/commit/worker-scope-file.d.ts.map +1 -1
- package/dist/commit/worker-scope-file.js +2 -1
- package/dist/commit/worker-scope-file.js.map +1 -1
- package/dist/config/config.d.ts +2 -0
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/default-allowed-packages.d.ts.map +1 -1
- package/dist/config/default-allowed-packages.js +2 -14
- package/dist/config/default-allowed-packages.js.map +1 -1
- package/dist/config/derived-config-keys.d.ts +6 -0
- package/dist/config/derived-config-keys.d.ts.map +1 -0
- package/dist/config/derived-config-keys.js +6 -0
- package/dist/config/derived-config-keys.js.map +1 -0
- package/dist/config/directories-of.d.ts +4 -0
- package/dist/config/directories-of.d.ts.map +1 -0
- package/dist/config/directories-of.js +13 -0
- package/dist/config/directories-of.js.map +1 -0
- package/dist/config/index.d.ts +7 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +7 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/inside-defaults-of.d.ts +4 -0
- package/dist/config/inside-defaults-of.d.ts.map +1 -0
- package/dist/config/inside-defaults-of.js +9 -0
- package/dist/config/inside-defaults-of.js.map +1 -0
- package/dist/config/is-control-plane.d.ts.map +1 -1
- package/dist/config/is-control-plane.js +2 -1
- package/dist/config/is-control-plane.js.map +1 -1
- package/dist/config/known-config-keys.d.ts +7 -0
- package/dist/config/known-config-keys.d.ts.map +1 -0
- package/dist/config/known-config-keys.js +41 -0
- package/dist/config/known-config-keys.js.map +1 -0
- package/dist/config/known-stack-keys.d.ts +3 -0
- package/dist/config/known-stack-keys.d.ts.map +1 -0
- package/dist/config/known-stack-keys.js +39 -0
- package/dist/config/known-stack-keys.js.map +1 -0
- package/dist/config/leaves-project.d.ts +3 -0
- package/dist/config/leaves-project.d.ts.map +1 -0
- package/dist/config/leaves-project.js +11 -0
- package/dist/config/leaves-project.js.map +1 -0
- package/dist/config/leaving-directory-problem.d.ts +7 -0
- package/dist/config/leaving-directory-problem.d.ts.map +1 -0
- package/dist/config/leaving-directory-problem.js +8 -0
- package/dist/config/leaving-directory-problem.js.map +1 -0
- package/dist/config/normalized-directory.d.ts +3 -0
- package/dist/config/normalized-directory.d.ts.map +1 -0
- package/dist/config/normalized-directory.js +7 -0
- package/dist/config/normalized-directory.js.map +1 -0
- package/dist/config/parse-config.d.ts +8 -2
- package/dist/config/parse-config.d.ts.map +1 -1
- package/dist/config/parse-config.js +31 -8
- package/dist/config/parse-config.js.map +1 -1
- package/dist/config/payload-schema-packages-of.d.ts +7 -0
- package/dist/config/payload-schema-packages-of.d.ts.map +1 -0
- package/dist/config/payload-schema-packages-of.js +10 -0
- package/dist/config/payload-schema-packages-of.js.map +1 -0
- package/dist/config/project-directories.d.ts +4 -0
- package/dist/config/project-directories.d.ts.map +1 -0
- package/dist/config/project-directories.js +3 -0
- package/dist/config/project-directories.js.map +1 -0
- package/dist/config/read-config.d.ts +2 -1
- package/dist/config/read-config.d.ts.map +1 -1
- package/dist/config/read-config.js +2 -2
- package/dist/config/read-config.js.map +1 -1
- package/dist/config/schema-libraries-of.d.ts +6 -0
- package/dist/config/schema-libraries-of.d.ts.map +1 -0
- package/dist/config/schema-libraries-of.js +18 -0
- package/dist/config/schema-libraries-of.js.map +1 -0
- package/dist/config/values/nearest-of.d.ts +7 -0
- package/dist/config/values/nearest-of.d.ts.map +1 -0
- package/dist/config/values/nearest-of.js +34 -0
- package/dist/config/values/nearest-of.js.map +1 -0
- package/dist/config/values/own-entry.d.ts +6 -0
- package/dist/config/values/own-entry.d.ts.map +1 -0
- package/dist/config/values/own-entry.js +8 -0
- package/dist/config/values/own-entry.js.map +1 -0
- package/dist/controllers/finish-migration.js +7 -2
- package/dist/controllers/finish-migration.js.map +1 -1
- package/dist/controllers/migrate-context.js +17 -5
- package/dist/controllers/migrate-context.js.map +1 -1
- package/dist/depcruise/context-rules.d.ts.map +1 -1
- package/dist/depcruise/context-rules.js +2 -1
- package/dist/depcruise/context-rules.js.map +1 -1
- package/dist/depcruise/layer-rules.d.ts.map +1 -1
- package/dist/depcruise/layer-rules.js +38 -8
- package/dist/depcruise/layer-rules.js.map +1 -1
- package/dist/derived/behaviour-pages.d.ts +3 -0
- package/dist/derived/behaviour-pages.d.ts.map +1 -0
- package/dist/derived/behaviour-pages.js +3 -0
- package/dist/derived/behaviour-pages.js.map +1 -0
- package/dist/derived/derived-file-kind.d.ts +19 -0
- package/dist/derived/derived-file-kind.d.ts.map +1 -0
- package/dist/derived/derived-file-kind.js +2 -0
- package/dist/derived/derived-file-kind.js.map +1 -0
- package/dist/derived/derived-files.d.ts +9 -0
- package/dist/derived/derived-files.d.ts.map +1 -0
- package/dist/derived/derived-files.js +71 -0
- package/dist/derived/derived-files.js.map +1 -0
- package/dist/derived/derived-tree.d.ts +9 -0
- package/dist/derived/derived-tree.d.ts.map +1 -0
- package/dist/derived/derived-tree.js +2 -0
- package/dist/derived/derived-tree.js.map +1 -0
- package/dist/derived/is-derived.d.ts +7 -11
- package/dist/derived/is-derived.d.ts.map +1 -1
- package/dist/derived/is-derived.js +8 -16
- package/dist/derived/is-derived.js.map +1 -1
- package/dist/describe/read-event-definitions.d.ts +2 -0
- package/dist/describe/read-event-definitions.d.ts.map +1 -1
- package/dist/describe/read-event-definitions.js +1 -0
- package/dist/describe/read-event-definitions.js.map +1 -1
- package/dist/digest/branch-points.d.ts +14 -0
- package/dist/digest/branch-points.d.ts.map +1 -0
- package/dist/digest/branch-points.js +32 -0
- package/dist/digest/branch-points.js.map +1 -0
- package/dist/digest/changed-path.d.ts +7 -0
- package/dist/digest/changed-path.d.ts.map +1 -0
- package/dist/digest/changed-path.js +2 -0
- package/dist/digest/changed-path.js.map +1 -0
- package/dist/digest/changed-paths.d.ts +8 -0
- package/dist/digest/changed-paths.d.ts.map +1 -0
- package/dist/digest/changed-paths.js +35 -0
- package/dist/digest/changed-paths.js.map +1 -0
- package/dist/digest/changes-of.d.ts +8 -0
- package/dist/digest/changes-of.d.ts.map +1 -0
- package/dist/digest/changes-of.js +20 -0
- package/dist/digest/changes-of.js.map +1 -0
- package/dist/digest/context-changes.d.ts +9 -0
- package/dist/digest/context-changes.d.ts.map +1 -0
- package/dist/digest/context-changes.js +60 -0
- package/dist/digest/context-changes.js.map +1 -0
- package/dist/digest/context-entries.d.ts +14 -0
- package/dist/digest/context-entries.d.ts.map +1 -0
- package/dist/digest/context-entries.js +18 -0
- package/dist/digest/context-entries.js.map +1 -0
- package/dist/digest/digest.d.ts +90 -0
- package/dist/digest/digest.d.ts.map +1 -0
- package/dist/digest/digest.js +2 -0
- package/dist/digest/digest.js.map +1 -0
- package/dist/digest/files-to-read.d.ts +16 -0
- package/dist/digest/files-to-read.d.ts.map +1 -0
- package/dist/digest/files-to-read.js +33 -0
- package/dist/digest/files-to-read.js.map +1 -0
- package/dist/digest/format-digest.d.ts +8 -0
- package/dist/digest/format-digest.d.ts.map +1 -0
- package/dist/digest/format-digest.js +105 -0
- package/dist/digest/format-digest.js.map +1 -0
- package/dist/digest/grant-sources.d.ts +22 -0
- package/dist/digest/grant-sources.d.ts.map +1 -0
- package/dist/digest/grant-sources.js +47 -0
- package/dist/digest/grant-sources.js.map +1 -0
- package/dist/digest/grants-of.d.ts +19 -0
- package/dist/digest/grants-of.d.ts.map +1 -0
- package/dist/digest/grants-of.js +35 -0
- package/dist/digest/grants-of.js.map +1 -0
- package/dist/digest/index.d.ts +3 -0
- package/dist/digest/index.d.ts.map +1 -0
- package/dist/digest/index.js +3 -0
- package/dist/digest/index.js.map +1 -0
- package/dist/digest/new-spec-titles.d.ts +11 -0
- package/dist/digest/new-spec-titles.d.ts.map +1 -0
- package/dist/digest/new-spec-titles.js +38 -0
- package/dist/digest/new-spec-titles.js.map +1 -0
- package/dist/digest/project-tree.d.ts +16 -0
- package/dist/digest/project-tree.d.ts.map +1 -0
- package/dist/digest/project-tree.js +2 -0
- package/dist/digest/project-tree.js.map +1 -0
- package/dist/digest/read-digest.d.ts +11 -0
- package/dist/digest/read-digest.d.ts.map +1 -0
- package/dist/digest/read-digest.js +52 -0
- package/dist/digest/read-digest.js.map +1 -0
- package/dist/digest/reading-part.d.ts +10 -0
- package/dist/digest/reading-part.d.ts.map +1 -0
- package/dist/digest/reading-part.js +40 -0
- package/dist/digest/reading-part.js.map +1 -0
- package/dist/digest/tree-at.d.ts +9 -0
- package/dist/digest/tree-at.d.ts.map +1 -0
- package/dist/digest/tree-at.js +77 -0
- package/dist/digest/tree-at.js.map +1 -0
- package/dist/digest/without-generated-sections.d.ts +3 -0
- package/dist/digest/without-generated-sections.d.ts.map +1 -0
- package/dist/digest/without-generated-sections.js +21 -0
- package/dist/digest/without-generated-sections.js.map +1 -0
- package/dist/docs/all-rules.d.ts +4 -0
- package/dist/docs/all-rules.d.ts.map +1 -0
- package/dist/docs/all-rules.js +5 -0
- package/dist/docs/all-rules.js.map +1 -0
- package/dist/docs/behaviour-page.d.ts +6 -2
- package/dist/docs/behaviour-page.d.ts.map +1 -1
- package/dist/docs/behaviour-page.js +65 -57
- package/dist/docs/behaviour-page.js.map +1 -1
- package/dist/docs/cited-rows.d.ts +11 -0
- package/dist/docs/cited-rows.d.ts.map +1 -0
- package/dist/docs/cited-rows.js +13 -0
- package/dist/docs/cited-rows.js.map +1 -0
- package/dist/docs/context-sections.d.ts +18 -0
- package/dist/docs/context-sections.d.ts.map +1 -0
- package/dist/docs/context-sections.js +112 -0
- package/dist/docs/context-sections.js.map +1 -0
- package/dist/docs/counts-of.d.ts +3 -1
- package/dist/docs/counts-of.d.ts.map +1 -1
- package/dist/docs/counts-of.js +8 -8
- package/dist/docs/counts-of.js.map +1 -1
- package/dist/docs/describe-on-disk.d.ts +7 -0
- package/dist/docs/describe-on-disk.d.ts.map +1 -0
- package/dist/docs/describe-on-disk.js +6 -0
- package/dist/docs/describe-on-disk.js.map +1 -0
- package/dist/docs/is-empty-rules.d.ts +4 -0
- package/dist/docs/is-empty-rules.d.ts.map +1 -0
- package/dist/docs/is-empty-rules.js +5 -0
- package/dist/docs/is-empty-rules.js.map +1 -0
- package/dist/docs/is-generated-title.d.ts +7 -0
- package/dist/docs/is-generated-title.d.ts.map +1 -0
- package/dist/docs/is-generated-title.js +96 -0
- package/dist/docs/is-generated-title.js.map +1 -0
- package/dist/docs/joined-specs.d.ts +23 -0
- package/dist/docs/joined-specs.d.ts.map +1 -0
- package/dist/docs/joined-specs.js +95 -0
- package/dist/docs/joined-specs.js.map +1 -0
- package/dist/docs/kebab-of-use-case.d.ts +4 -0
- package/dist/docs/kebab-of-use-case.d.ts.map +1 -0
- package/dist/docs/kebab-of-use-case.js +6 -0
- package/dist/docs/kebab-of-use-case.js.map +1 -0
- package/dist/docs/page-section.d.ts +17 -3
- package/dist/docs/page-section.d.ts.map +1 -1
- package/dist/docs/policy-owners.d.ts +8 -0
- package/dist/docs/policy-owners.d.ts.map +1 -0
- package/dist/docs/policy-owners.js +13 -0
- package/dist/docs/policy-owners.js.map +1 -0
- package/dist/docs/read-context.d.ts.map +1 -1
- package/dist/docs/read-context.js +2 -1
- package/dist/docs/read-context.js.map +1 -1
- package/dist/docs/read-job-files.d.ts +16 -0
- package/dist/docs/read-job-files.d.ts.map +1 -0
- package/dist/docs/read-job-files.js +50 -0
- package/dist/docs/read-job-files.js.map +1 -0
- package/dist/docs/read-jobs.d.ts +2 -6
- package/dist/docs/read-jobs.d.ts.map +1 -1
- package/dist/docs/read-jobs.js +3 -45
- package/dist/docs/read-jobs.js.map +1 -1
- package/dist/docs/readable-title.d.ts +10 -0
- package/dist/docs/readable-title.d.ts.map +1 -0
- package/dist/docs/readable-title.js +38 -0
- package/dist/docs/readable-title.js.map +1 -0
- package/dist/docs/refresh-context-doc.d.ts +4 -2
- package/dist/docs/refresh-context-doc.d.ts.map +1 -1
- package/dist/docs/refresh-context-doc.js +12 -4
- package/dist/docs/refresh-context-doc.js.map +1 -1
- package/dist/docs/rules-where.d.ts +4 -0
- package/dist/docs/rules-where.d.ts.map +1 -0
- package/dist/docs/rules-where.js +12 -0
- package/dist/docs/rules-where.js.map +1 -0
- package/dist/docs/spec-heading.d.ts +3 -0
- package/dist/docs/spec-heading.d.ts.map +1 -0
- package/dist/docs/spec-heading.js +10 -0
- package/dist/docs/spec-heading.js.map +1 -0
- package/dist/docs/spec-of-page.d.ts +5 -0
- package/dist/docs/spec-of-page.d.ts.map +1 -0
- package/dist/docs/spec-of-page.js +14 -0
- package/dist/docs/spec-of-page.js.map +1 -0
- package/dist/docs/spec-roles.d.ts +9 -0
- package/dist/docs/spec-roles.d.ts.map +1 -0
- package/dist/docs/spec-roles.js +50 -0
- package/dist/docs/spec-roles.js.map +1 -0
- package/dist/docs/spec-subject.d.ts +15 -0
- package/dist/docs/spec-subject.d.ts.map +1 -0
- package/dist/docs/spec-subject.js +19 -0
- package/dist/docs/spec-subject.js.map +1 -0
- package/dist/docs/specs-by-directory.d.ts +7 -0
- package/dist/docs/specs-by-directory.d.ts.map +1 -0
- package/dist/docs/specs-by-directory.js +31 -0
- package/dist/docs/specs-by-directory.js.map +1 -0
- package/dist/docs/use-case-of-spec.d.ts +11 -0
- package/dist/docs/use-case-of-spec.d.ts.map +1 -0
- package/dist/docs/use-case-of-spec.js +40 -0
- package/dist/docs/use-case-of-spec.js.map +1 -0
- package/dist/docs/use-cases-of-context.d.ts +8 -0
- package/dist/docs/use-cases-of-context.d.ts.map +1 -0
- package/dist/docs/use-cases-of-context.js +2 -0
- package/dist/docs/use-cases-of-context.js.map +1 -0
- package/dist/docs/write-behaviour.d.ts +6 -5
- package/dist/docs/write-behaviour.d.ts.map +1 -1
- package/dist/docs/write-behaviour.js +37 -47
- package/dist/docs/write-behaviour.js.map +1 -1
- package/dist/docs/write-code-owners.d.ts.map +1 -1
- package/dist/docs/write-code-owners.js +3 -2
- package/dist/docs/write-code-owners.js.map +1 -1
- package/dist/docs/write-docs.d.ts.map +1 -1
- package/dist/docs/write-docs.js +4 -2
- package/dist/docs/write-docs.js.map +1 -1
- package/dist/doctor/format-diagnosis.js +2 -4
- package/dist/doctor/format-diagnosis.js.map +1 -1
- package/dist/generate/context-argument.d.ts +5 -0
- package/dist/generate/context-argument.d.ts.map +1 -0
- package/dist/generate/context-argument.js +9 -0
- package/dist/generate/context-argument.js.map +1 -0
- package/dist/generate/flags-of.d.ts +4 -0
- package/dist/generate/flags-of.d.ts.map +1 -0
- package/dist/generate/flags-of.js +6 -0
- package/dist/generate/flags-of.js.map +1 -0
- package/dist/generate/found-prerequisite.d.ts +7 -0
- package/dist/generate/found-prerequisite.d.ts.map +1 -0
- package/dist/generate/found-prerequisite.js +12 -0
- package/dist/generate/found-prerequisite.js.map +1 -0
- package/dist/generate/generate-arguments.d.ts +4 -0
- package/dist/generate/generate-arguments.d.ts.map +1 -0
- package/dist/generate/generate-arguments.js +12 -0
- package/dist/generate/generate-arguments.js.map +1 -0
- package/dist/generate/generate-options.d.ts +172 -0
- package/dist/generate/generate-options.d.ts.map +1 -0
- package/dist/generate/generate-options.js +57 -0
- package/dist/generate/generate-options.js.map +1 -0
- package/dist/generate/generator-probe.d.ts +19 -0
- package/dist/generate/generator-probe.d.ts.map +1 -0
- package/dist/generate/generator-probe.js +2 -0
- package/dist/generate/generator-probe.js.map +1 -0
- package/dist/generate/held-to-glossary.d.ts +9 -0
- package/dist/generate/held-to-glossary.d.ts.map +1 -0
- package/dist/generate/held-to-glossary.js +11 -0
- package/dist/generate/held-to-glossary.js.map +1 -0
- package/dist/generate/kind-help.d.ts +21 -0
- package/dist/generate/kind-help.d.ts.map +1 -0
- package/dist/generate/kind-help.js +20 -0
- package/dist/generate/kind-help.js.map +1 -0
- package/dist/generate/kind-in.d.ts +8 -0
- package/dist/generate/kind-in.d.ts.map +1 -0
- package/dist/generate/kind-in.js +29 -0
- package/dist/generate/kind-in.js.map +1 -0
- package/dist/generate/kind.d.ts +4 -1
- package/dist/generate/kind.d.ts.map +1 -1
- package/dist/generate/kinds/acl-kind.d.ts.map +1 -1
- package/dist/generate/kinds/acl-kind.js +3 -2
- package/dist/generate/kinds/acl-kind.js.map +1 -1
- package/dist/generate/kinds/adapter-kind.js +1 -1
- package/dist/generate/kinds/adapter-kind.js.map +1 -1
- package/dist/generate/kinds/aggregate-kind.d.ts.map +1 -1
- package/dist/generate/kinds/aggregate-kind.js +24 -13
- package/dist/generate/kinds/aggregate-kind.js.map +1 -1
- package/dist/generate/kinds/ask-policy-in-generated-use-case.js +2 -2
- package/dist/generate/kinds/ask-policy-in-generated-use-case.js.map +1 -1
- package/dist/generate/kinds/background/background-job-vars.d.ts.map +1 -1
- package/dist/generate/kinds/background/background-job-vars.js +33 -0
- package/dist/generate/kinds/background/background-job-vars.js.map +1 -1
- package/dist/generate/kinds/background/class-payload-schema.d.ts +5 -0
- package/dist/generate/kinds/background/class-payload-schema.d.ts.map +1 -0
- package/dist/generate/kinds/background/class-payload-schema.js +88 -0
- package/dist/generate/kinds/background/class-payload-schema.js.map +1 -0
- package/dist/generate/kinds/background/object-payload-schema.d.ts +7 -0
- package/dist/generate/kinds/background/object-payload-schema.d.ts.map +1 -0
- package/dist/generate/kinds/background/object-payload-schema.js +75 -0
- package/dist/generate/kinds/background/object-payload-schema.js.map +1 -0
- package/dist/generate/kinds/background/payload-field.d.ts +5 -0
- package/dist/generate/kinds/background/payload-field.d.ts.map +1 -1
- package/dist/generate/kinds/background/payload-field.js +7 -0
- package/dist/generate/kinds/background/payload-field.js.map +1 -1
- package/dist/generate/kinds/background/payload-of.d.ts +9 -0
- package/dist/generate/kinds/background/payload-of.d.ts.map +1 -0
- package/dist/generate/kinds/background/payload-of.js +2 -0
- package/dist/generate/kinds/background/payload-of.js.map +1 -0
- package/dist/generate/kinds/background/payload-schema-of.d.ts +10 -0
- package/dist/generate/kinds/background/payload-schema-of.d.ts.map +1 -0
- package/dist/generate/kinds/background/payload-schema-of.js +21 -0
- package/dist/generate/kinds/background/payload-schema-of.js.map +1 -0
- package/dist/generate/kinds/background/payload-schema.d.ts +16 -0
- package/dist/generate/kinds/background/payload-schema.d.ts.map +1 -0
- package/dist/generate/kinds/background/payload-schema.js +2 -0
- package/dist/generate/kinds/background/payload-schema.js.map +1 -0
- package/dist/generate/kinds/background/payload-shape.d.ts +19 -0
- package/dist/generate/kinds/background/payload-shape.d.ts.map +1 -0
- package/dist/generate/kinds/background/payload-shape.js +31 -0
- package/dist/generate/kinds/background/payload-shape.js.map +1 -0
- package/dist/generate/kinds/background/payload-texts.d.ts +12 -0
- package/dist/generate/kinds/background/payload-texts.d.ts.map +1 -0
- package/dist/generate/kinds/background/payload-texts.js +10 -0
- package/dist/generate/kinds/background/payload-texts.js.map +1 -0
- package/dist/generate/kinds/background/written-payload-schema.d.ts +11 -0
- package/dist/generate/kinds/background/written-payload-schema.d.ts.map +1 -0
- package/dist/generate/kinds/background/written-payload-schema.js +193 -0
- package/dist/generate/kinds/background/written-payload-schema.js.map +1 -0
- package/dist/generate/kinds/background-job-kind.js +1 -1
- package/dist/generate/kinds/background-job-kind.js.map +1 -1
- package/dist/generate/kinds/birth-names.d.ts +11 -0
- package/dist/generate/kinds/birth-names.d.ts.map +1 -0
- package/dist/generate/kinds/birth-names.js +17 -0
- package/dist/generate/kinds/birth-names.js.map +1 -0
- package/dist/generate/kinds/birth-of.d.ts +16 -0
- package/dist/generate/kinds/birth-of.d.ts.map +1 -0
- package/dist/generate/kinds/birth-of.js +26 -0
- package/dist/generate/kinds/birth-of.js.map +1 -0
- package/dist/generate/kinds/birth-span.d.ts +9 -0
- package/dist/generate/kinds/birth-span.d.ts.map +1 -0
- package/dist/generate/kinds/birth-span.js +39 -0
- package/dist/generate/kinds/birth-span.js.map +1 -0
- package/dist/generate/kinds/birth-vars.d.ts +8 -0
- package/dist/generate/kinds/birth-vars.d.ts.map +1 -0
- package/dist/generate/kinds/birth-vars.js +12 -0
- package/dist/generate/kinds/birth-vars.js.map +1 -0
- package/dist/generate/kinds/birth.d.ts +7 -0
- package/dist/generate/kinds/birth.d.ts.map +1 -0
- package/dist/generate/kinds/birth.js +2 -0
- package/dist/generate/kinds/birth.js.map +1 -0
- package/dist/generate/kinds/builder-kind.d.ts.map +1 -1
- package/dist/generate/kinds/builder-kind.js +43 -4
- package/dist/generate/kinds/builder-kind.js.map +1 -1
- package/dist/generate/kinds/command-context.d.ts +2 -2
- package/dist/generate/kinds/command-context.d.ts.map +1 -1
- package/dist/generate/kinds/command-context.js +12 -3
- package/dist/generate/kinds/command-context.js.map +1 -1
- package/dist/generate/kinds/command-kind.d.ts.map +1 -1
- package/dist/generate/kinds/command-kind.js +18 -11
- package/dist/generate/kinds/command-kind.js.map +1 -1
- package/dist/generate/kinds/context-kind.d.ts.map +1 -1
- package/dist/generate/kinds/context-kind.js +1 -0
- package/dist/generate/kinds/context-kind.js.map +1 -1
- package/dist/generate/kinds/context-request.d.ts +3 -0
- package/dist/generate/kinds/context-request.d.ts.map +1 -1
- package/dist/generate/kinds/declarations-of.d.ts +11 -0
- package/dist/generate/kinds/declarations-of.d.ts.map +1 -0
- package/dist/generate/kinds/declarations-of.js +17 -0
- package/dist/generate/kinds/declarations-of.js.map +1 -0
- package/dist/generate/kinds/e2e/jobs-sending.d.ts +4 -1
- package/dist/generate/kinds/e2e/jobs-sending.d.ts.map +1 -1
- package/dist/generate/kinds/e2e/jobs-sending.js +10 -4
- package/dist/generate/kinds/e2e/jobs-sending.js.map +1 -1
- package/dist/generate/kinds/e2e/reaction-of.d.ts.map +1 -1
- package/dist/generate/kinds/e2e/reaction-of.js +9 -4
- package/dist/generate/kinds/e2e/reaction-of.js.map +1 -1
- package/dist/generate/kinds/e2e-kind.js +7 -2
- package/dist/generate/kinds/e2e-kind.js.map +1 -1
- package/dist/generate/kinds/erasure-handler-kind.d.ts.map +1 -1
- package/dist/generate/kinds/erasure-handler-kind.js +7 -3
- package/dist/generate/kinds/erasure-handler-kind.js.map +1 -1
- package/dist/generate/kinds/event-type-as-published.d.ts +11 -0
- package/dist/generate/kinds/event-type-as-published.d.ts.map +1 -0
- package/dist/generate/kinds/event-type-as-published.js +17 -0
- package/dist/generate/kinds/event-type-as-published.js.map +1 -0
- package/dist/generate/kinds/factory-of.d.ts +3 -0
- package/dist/generate/kinds/factory-of.d.ts.map +1 -0
- package/dist/generate/kinds/factory-of.js +13 -0
- package/dist/generate/kinds/factory-of.js.map +1 -0
- package/dist/generate/kinds/file-upload-kind.d.ts.map +1 -1
- package/dist/generate/kinds/file-upload-kind.js +3 -2
- package/dist/generate/kinds/file-upload-kind.js.map +1 -1
- package/dist/generate/kinds/form-kind.js +1 -1
- package/dist/generate/kinds/form-kind.js.map +1 -1
- package/dist/generate/kinds/gateway-kind.d.ts.map +1 -1
- package/dist/generate/kinds/gateway-kind.js +3 -1
- package/dist/generate/kinds/gateway-kind.js.map +1 -1
- package/dist/generate/kinds/generate-context.d.ts.map +1 -1
- package/dist/generate/kinds/generate-context.js +24 -6
- package/dist/generate/kinds/generate-context.js.map +1 -1
- package/dist/generate/kinds/generate-event-sourced-repository.d.ts.map +1 -1
- package/dist/generate/kinds/generate-event-sourced-repository.js +4 -2
- package/dist/generate/kinds/generate-event-sourced-repository.js.map +1 -1
- package/dist/generate/kinds/instant-of.d.ts +4 -0
- package/dist/generate/kinds/instant-of.d.ts.map +1 -0
- package/dist/generate/kinds/instant-of.js +5 -0
- package/dist/generate/kinds/instant-of.js.map +1 -0
- package/dist/generate/kinds/integration-event-kind.d.ts.map +1 -1
- package/dist/generate/kinds/integration-event-kind.js +2 -9
- package/dist/generate/kinds/integration-event-kind.js.map +1 -1
- package/dist/generate/kinds/integration-handler-kind.d.ts.map +1 -1
- package/dist/generate/kinds/integration-handler-kind.js +33 -16
- package/dist/generate/kinds/integration-handler-kind.js.map +1 -1
- package/dist/generate/kinds/job/read-sent-command.d.ts.map +1 -1
- package/dist/generate/kinds/job/read-sent-command.js +1 -7
- package/dist/generate/kinds/job/read-sent-command.js.map +1 -1
- package/dist/generate/kinds/job/without-comments.d.ts +7 -0
- package/dist/generate/kinds/job/without-comments.d.ts.map +1 -0
- package/dist/generate/kinds/job/without-comments.js +13 -0
- package/dist/generate/kinds/job/without-comments.js.map +1 -0
- package/dist/generate/kinds/job-kind.d.ts.map +1 -1
- package/dist/generate/kinds/job-kind.js +14 -3
- package/dist/generate/kinds/job-kind.js.map +1 -1
- package/dist/generate/kinds/module-kind.js +3 -3
- package/dist/generate/kinds/module-kind.js.map +1 -1
- package/dist/generate/kinds/parameter-count.d.ts +6 -0
- package/dist/generate/kinds/parameter-count.d.ts.map +1 -0
- package/dist/generate/kinds/parameter-count.js +32 -0
- package/dist/generate/kinds/parameter-count.js.map +1 -0
- package/dist/generate/kinds/parse-version.d.ts +3 -0
- package/dist/generate/kinds/parse-version.d.ts.map +1 -0
- package/dist/generate/kinds/parse-version.js +9 -0
- package/dist/generate/kinds/parse-version.js.map +1 -0
- package/dist/generate/kinds/personal-data/personal-request-of.d.ts.map +1 -1
- package/dist/generate/kinds/personal-data/personal-request-of.js +9 -6
- package/dist/generate/kinds/personal-data/personal-request-of.js.map +1 -1
- package/dist/generate/kinds/personal-data/personal-vars.js +1 -1
- package/dist/generate/kinds/personal-data/personal-vars.js.map +1 -1
- package/dist/generate/kinds/pick-declaration.d.ts +9 -0
- package/dist/generate/kinds/pick-declaration.d.ts.map +1 -0
- package/dist/generate/kinds/pick-declaration.js +14 -0
- package/dist/generate/kinds/pick-declaration.js.map +1 -0
- package/dist/generate/kinds/plan-vars.d.ts.map +1 -1
- package/dist/generate/kinds/plan-vars.js +2 -1
- package/dist/generate/kinds/plan-vars.js.map +1 -1
- package/dist/generate/kinds/policy-kind.d.ts.map +1 -1
- package/dist/generate/kinds/policy-kind.js +15 -2
- package/dist/generate/kinds/policy-kind.js.map +1 -1
- package/dist/generate/kinds/presentation/controller-of.d.ts.map +1 -1
- package/dist/generate/kinds/presentation/controller-of.js +17 -5
- package/dist/generate/kinds/presentation/controller-of.js.map +1 -1
- package/dist/generate/kinds/projection-kind.d.ts.map +1 -1
- package/dist/generate/kinds/projection-kind.js +24 -13
- package/dist/generate/kinds/projection-kind.js.map +1 -1
- package/dist/generate/kinds/property-kind.js +1 -1
- package/dist/generate/kinds/property-kind.js.map +1 -1
- package/dist/generate/kinds/query-context.d.ts +7 -3
- package/dist/generate/kinds/query-context.d.ts.map +1 -1
- package/dist/generate/kinds/query-context.js +16 -5
- package/dist/generate/kinds/query-context.js.map +1 -1
- package/dist/generate/kinds/query-kind.d.ts.map +1 -1
- package/dist/generate/kinds/query-kind.js +4 -1
- package/dist/generate/kinds/query-kind.js.map +1 -1
- package/dist/generate/kinds/refuse-unpublished-version.d.ts +7 -0
- package/dist/generate/kinds/refuse-unpublished-version.d.ts.map +1 -0
- package/dist/generate/kinds/refuse-unpublished-version.js +15 -0
- package/dist/generate/kinds/refuse-unpublished-version.js.map +1 -0
- package/dist/generate/kinds/repository-kind.js +1 -1
- package/dist/generate/kinds/repository-kind.js.map +1 -1
- package/dist/generate/kinds/representation-kind.js +1 -1
- package/dist/generate/kinds/representation-kind.js.map +1 -1
- package/dist/generate/kinds/route/carries-body.d.ts +4 -0
- package/dist/generate/kinds/route/carries-body.d.ts.map +1 -0
- package/dist/generate/kinds/route/carries-body.js +6 -0
- package/dist/generate/kinds/route/carries-body.js.map +1 -0
- package/dist/generate/kinds/route/controller-types.d.ts +3 -1
- package/dist/generate/kinds/route/controller-types.d.ts.map +1 -1
- package/dist/generate/kinds/route/controller-types.js +7 -4
- package/dist/generate/kinds/route/controller-types.js.map +1 -1
- package/dist/generate/kinds/route/controller-vars.d.ts.map +1 -1
- package/dist/generate/kinds/route/controller-vars.js +15 -8
- package/dist/generate/kinds/route/controller-vars.js.map +1 -1
- package/dist/generate/kinds/route/described-field.d.ts +4 -0
- package/dist/generate/kinds/route/described-field.d.ts.map +1 -0
- package/dist/generate/kinds/route/described-field.js +5 -0
- package/dist/generate/kinds/route/described-field.js.map +1 -0
- package/dist/generate/kinds/route/dto-classes.d.ts.map +1 -1
- package/dist/generate/kinds/route/dto-classes.js +2 -2
- package/dist/generate/kinds/route/dto-classes.js.map +1 -1
- package/dist/generate/kinds/route/find-use-case.d.ts.map +1 -1
- package/dist/generate/kinds/route/find-use-case.js +4 -1
- package/dist/generate/kinds/route/find-use-case.js.map +1 -1
- package/dist/generate/kinds/route/group-prefix.d.ts.map +1 -1
- package/dist/generate/kinds/route/group-prefix.js +9 -3
- package/dist/generate/kinds/route/group-prefix.js.map +1 -1
- package/dist/generate/kinds/route/message-call.d.ts +15 -0
- package/dist/generate/kinds/route/message-call.d.ts.map +1 -0
- package/dist/generate/kinds/route/message-call.js +19 -0
- package/dist/generate/kinds/route/message-call.js.map +1 -0
- package/dist/generate/kinds/route/message-fields-of.d.ts +15 -0
- package/dist/generate/kinds/route/message-fields-of.d.ts.map +1 -0
- package/dist/generate/kinds/route/message-fields-of.js +13 -0
- package/dist/generate/kinds/route/message-fields-of.js.map +1 -0
- package/dist/generate/kinds/route/message-plan.d.ts +31 -0
- package/dist/generate/kinds/route/message-plan.d.ts.map +1 -0
- package/dist/generate/kinds/route/message-plan.js +46 -0
- package/dist/generate/kinds/route/message-plan.js.map +1 -0
- package/dist/generate/kinds/route/message-vars.d.ts +11 -0
- package/dist/generate/kinds/route/message-vars.d.ts.map +1 -0
- package/dist/generate/kinds/route/message-vars.js +92 -0
- package/dist/generate/kinds/route/message-vars.js.map +1 -0
- package/dist/generate/kinds/route/nest-controller-vars.d.ts.map +1 -1
- package/dist/generate/kinds/route/nest-controller-vars.js +2 -2
- package/dist/generate/kinds/route/nest-controller-vars.js.map +1 -1
- package/dist/generate/kinds/route/plan-of.d.ts +14 -0
- package/dist/generate/kinds/route/plan-of.d.ts.map +1 -0
- package/dist/generate/kinds/route/plan-of.js +6 -0
- package/dist/generate/kinds/route/plan-of.js.map +1 -0
- package/dist/generate/kinds/route/resolve-group.d.ts.map +1 -1
- package/dist/generate/kinds/route/resolve-group.js +4 -2
- package/dist/generate/kinds/route/resolve-group.js.map +1 -1
- package/dist/generate/kinds/route/route-vars.d.ts +6 -2
- package/dist/generate/kinds/route/route-vars.d.ts.map +1 -1
- package/dist/generate/kinds/route/route-vars.js +37 -14
- package/dist/generate/kinds/route/route-vars.js.map +1 -1
- package/dist/generate/kinds/route/sample-params.d.ts +3 -0
- package/dist/generate/kinds/route/sample-params.d.ts.map +1 -0
- package/dist/generate/kinds/route/sample-params.js +7 -0
- package/dist/generate/kinds/route/sample-params.js.map +1 -0
- package/dist/generate/kinds/route/spec-vars.d.ts +22 -0
- package/dist/generate/kinds/route/spec-vars.d.ts.map +1 -0
- package/dist/generate/kinds/route/spec-vars.js +80 -0
- package/dist/generate/kinds/route/spec-vars.js.map +1 -0
- package/dist/generate/kinds/route/standard-schema-of.d.ts +17 -0
- package/dist/generate/kinds/route/standard-schema-of.d.ts.map +1 -0
- package/dist/generate/kinds/route/standard-schema-of.js +74 -0
- package/dist/generate/kinds/route/standard-schema-of.js.map +1 -0
- package/dist/generate/kinds/route/use-case.d.ts +3 -0
- package/dist/generate/kinds/route/use-case.d.ts.map +1 -1
- package/dist/generate/kinds/route/writes-body-of.d.ts +4 -0
- package/dist/generate/kinds/route/writes-body-of.d.ts.map +1 -0
- package/dist/generate/kinds/route/writes-body-of.js +5 -0
- package/dist/generate/kinds/route/writes-body-of.js.map +1 -0
- package/dist/generate/kinds/route/writes-params-of.d.ts +4 -0
- package/dist/generate/kinds/route/writes-params-of.d.ts.map +1 -0
- package/dist/generate/kinds/route/writes-params-of.js +5 -0
- package/dist/generate/kinds/route/writes-params-of.js.map +1 -0
- package/dist/generate/kinds/route-group-kind.js +3 -2
- package/dist/generate/kinds/route-group-kind.js.map +1 -1
- package/dist/generate/kinds/route-kind.js +2 -2
- package/dist/generate/kinds/route-kind.js.map +1 -1
- package/dist/generate/kinds/state-machine-kind.js +1 -1
- package/dist/generate/kinds/state-machine-kind.js.map +1 -1
- package/dist/generate/kinds/traced-command.d.ts +1 -1
- package/dist/generate/kinds/traced-command.d.ts.map +1 -1
- package/dist/generate/kinds/traced-command.js +5 -2
- package/dist/generate/kinds/traced-command.js.map +1 -1
- package/dist/generate/kinds/use-case-context.d.ts +7 -0
- package/dist/generate/kinds/use-case-context.d.ts.map +1 -0
- package/dist/generate/kinds/use-case-context.js +2 -0
- package/dist/generate/kinds/use-case-context.js.map +1 -0
- package/dist/generate/kinds/wanted-event.d.ts +6 -0
- package/dist/generate/kinds/wanted-event.d.ts.map +1 -0
- package/dist/generate/kinds/wanted-event.js +2 -0
- package/dist/generate/kinds/wanted-event.js.map +1 -0
- package/dist/generate/kinds/worker-kind.d.ts.map +1 -1
- package/dist/generate/kinds/worker-kind.js +2 -1
- package/dist/generate/kinds/worker-kind.js.map +1 -1
- package/dist/generate/kinds/world/context-fakes.d.ts +2 -1
- package/dist/generate/kinds/world/context-fakes.d.ts.map +1 -1
- package/dist/generate/kinds/world/context-fakes.js +24 -4
- package/dist/generate/kinds/world/context-fakes.js.map +1 -1
- package/dist/generate/kinds/world/context-world.d.ts +37 -0
- package/dist/generate/kinds/world/context-world.d.ts.map +1 -0
- package/dist/generate/kinds/world/context-world.js +60 -0
- package/dist/generate/kinds/world/context-world.js.map +1 -0
- package/dist/generate/kinds/world/fake-class.d.ts +2 -0
- package/dist/generate/kinds/world/fake-class.d.ts.map +1 -1
- package/dist/generate/kinds/world/fake-class.js +2 -2
- package/dist/generate/kinds/world/fake-class.js.map +1 -1
- package/dist/generate/kinds/world/is-world-comment.d.ts +3 -0
- package/dist/generate/kinds/world/is-world-comment.d.ts.map +1 -0
- package/dist/generate/kinds/world/is-world-comment.js +12 -0
- package/dist/generate/kinds/world/is-world-comment.js.map +1 -0
- package/dist/generate/kinds/world/world-arrangement.d.ts +32 -0
- package/dist/generate/kinds/world/world-arrangement.d.ts.map +1 -0
- package/dist/generate/kinds/world/world-arrangement.js +110 -0
- package/dist/generate/kinds/world/world-arrangement.js.map +1 -0
- package/dist/generate/kinds/world/world-comments.d.ts +11 -0
- package/dist/generate/kinds/world/world-comments.d.ts.map +1 -0
- package/dist/generate/kinds/world/world-comments.js +11 -0
- package/dist/generate/kinds/world/world-comments.js.map +1 -0
- package/dist/generate/kinds/world/world-vars.d.ts.map +1 -1
- package/dist/generate/kinds/world/world-vars.js +6 -2
- package/dist/generate/kinds/world/world-vars.js.map +1 -1
- package/dist/generate/kinds/write-event-sourced-aggregate.d.ts.map +1 -1
- package/dist/generate/kinds/write-event-sourced-aggregate.js +9 -3
- package/dist/generate/kinds/write-event-sourced-aggregate.js.map +1 -1
- package/dist/generate/kinds-help.d.ts +1 -15
- package/dist/generate/kinds-help.d.ts.map +1 -1
- package/dist/generate/kinds-help.js +2 -16
- package/dist/generate/kinds-help.js.map +1 -1
- package/dist/generate/learn-terms.d.ts +4 -1
- package/dist/generate/learn-terms.d.ts.map +1 -1
- package/dist/generate/learn-terms.js +6 -2
- package/dist/generate/learn-terms.js.map +1 -1
- package/dist/generate/missing-prerequisite.d.ts +10 -0
- package/dist/generate/missing-prerequisite.d.ts.map +1 -0
- package/dist/generate/missing-prerequisite.js +10 -0
- package/dist/generate/missing-prerequisite.js.map +1 -0
- package/dist/generate/open-scope.d.ts.map +1 -1
- package/dist/generate/open-scope.js +9 -5
- package/dist/generate/open-scope.js.map +1 -1
- package/dist/generate/place-generated-files.d.ts.map +1 -1
- package/dist/generate/place-generated-files.js +2 -1
- package/dist/generate/place-generated-files.js.map +1 -1
- package/dist/generate/prerequisite-refusal.d.ts +8 -0
- package/dist/generate/prerequisite-refusal.d.ts.map +1 -0
- package/dist/generate/prerequisite-refusal.js +11 -0
- package/dist/generate/prerequisite-refusal.js.map +1 -0
- package/dist/generate/refresh-barrels.d.ts.map +1 -1
- package/dist/generate/refresh-barrels.js +4 -1
- package/dist/generate/refresh-barrels.js.map +1 -1
- package/dist/generate/refuse-undeclared-flags.d.ts +9 -0
- package/dist/generate/refuse-undeclared-flags.d.ts.map +1 -0
- package/dist/generate/refuse-undeclared-flags.js +34 -0
- package/dist/generate/refuse-undeclared-flags.js.map +1 -0
- package/dist/generate/require-file.d.ts.map +1 -1
- package/dist/generate/require-file.js +4 -3
- package/dist/generate/require-file.js.map +1 -1
- package/dist/generate/without-language-todo.d.ts +3 -0
- package/dist/generate/without-language-todo.d.ts.map +1 -0
- package/dist/generate/without-language-todo.js +7 -0
- package/dist/generate/without-language-todo.js.map +1 -0
- package/dist/generator-lock/held-lock-refusal.d.ts +5 -0
- package/dist/generator-lock/held-lock-refusal.d.ts.map +1 -0
- package/dist/generator-lock/held-lock-refusal.js +14 -0
- package/dist/generator-lock/held-lock-refusal.js.map +1 -0
- package/dist/generator-lock/holder-of.d.ts +9 -0
- package/dist/generator-lock/holder-of.d.ts.map +1 -0
- package/dist/generator-lock/holder-of.js +40 -0
- package/dist/generator-lock/holder-of.js.map +1 -0
- package/dist/generator-lock/index.d.ts +2 -0
- package/dist/generator-lock/index.d.ts.map +1 -0
- package/dist/generator-lock/index.js +2 -0
- package/dist/generator-lock/index.js.map +1 -0
- package/dist/generator-lock/is-same-holder.d.ts +4 -0
- package/dist/generator-lock/is-same-holder.d.ts.map +1 -0
- package/dist/generator-lock/is-same-holder.js +5 -0
- package/dist/generator-lock/is-same-holder.js.map +1 -0
- package/dist/generator-lock/is-stale.d.ts +9 -0
- package/dist/generator-lock/is-stale.d.ts.map +1 -0
- package/dist/generator-lock/is-stale.js +24 -0
- package/dist/generator-lock/is-stale.js.map +1 -0
- package/dist/generator-lock/lock-holder.d.ts +10 -0
- package/dist/generator-lock/lock-holder.d.ts.map +1 -0
- package/dist/generator-lock/lock-holder.js +2 -0
- package/dist/generator-lock/lock-holder.js.map +1 -0
- package/dist/generator-lock/lock-timing.d.ts +7 -0
- package/dist/generator-lock/lock-timing.d.ts.map +1 -0
- package/dist/generator-lock/lock-timing.js +2 -0
- package/dist/generator-lock/lock-timing.js.map +1 -0
- package/dist/generator-lock/own-lock.d.ts +18 -0
- package/dist/generator-lock/own-lock.d.ts.map +1 -0
- package/dist/generator-lock/own-lock.js +44 -0
- package/dist/generator-lock/own-lock.js.map +1 -0
- package/dist/generator-lock/remove-made-folder.d.ts +3 -0
- package/dist/generator-lock/remove-made-folder.d.ts.map +1 -0
- package/dist/generator-lock/remove-made-folder.js +14 -0
- package/dist/generator-lock/remove-made-folder.js.map +1 -0
- package/dist/generator-lock/remove-stale.d.ts +7 -0
- package/dist/generator-lock/remove-stale.d.ts.map +1 -0
- package/dist/generator-lock/remove-stale.js +23 -0
- package/dist/generator-lock/remove-stale.js.map +1 -0
- package/dist/generator-lock/with-generator-lock.d.ts +24 -0
- package/dist/generator-lock/with-generator-lock.d.ts.map +1 -0
- package/dist/generator-lock/with-generator-lock.js +69 -0
- package/dist/generator-lock/with-generator-lock.js.map +1 -0
- package/dist/help/command-help-data.d.ts +14 -0
- package/dist/help/command-help-data.d.ts.map +1 -0
- package/dist/help/command-help-data.js +15 -0
- package/dist/help/command-help-data.js.map +1 -0
- package/dist/help/command-help.d.ts +7 -0
- package/dist/help/command-help.d.ts.map +1 -0
- package/dist/help/command-help.js +21 -0
- package/dist/help/command-help.js.map +1 -0
- package/dist/help/flag-notes.d.ts +4 -0
- package/dist/help/flag-notes.d.ts.map +1 -0
- package/dist/help/flag-notes.js +112 -0
- package/dist/help/flag-notes.js.map +1 -0
- package/dist/help/help-for.d.ts +7 -0
- package/dist/help/help-for.d.ts.map +1 -0
- package/dist/help/help-for.js +37 -0
- package/dist/help/help-for.js.map +1 -0
- package/dist/help/kind-asked.d.ts +4 -0
- package/dist/help/kind-asked.d.ts.map +1 -0
- package/dist/help/kind-asked.js +6 -0
- package/dist/help/kind-asked.js.map +1 -0
- package/dist/help/kind-help-text.d.ts +4 -0
- package/dist/help/kind-help-text.d.ts.map +1 -0
- package/dist/help/kind-help-text.js +46 -0
- package/dist/help/kind-help-text.js.map +1 -0
- package/dist/help/kind-line.d.ts +4 -0
- package/dist/help/kind-line.d.ts.map +1 -0
- package/dist/help/kind-line.js +6 -0
- package/dist/help/kind-line.js.map +1 -0
- package/dist/help/note-lines.d.ts +4 -0
- package/dist/help/note-lines.d.ts.map +1 -0
- package/dist/help/note-lines.js +8 -0
- package/dist/help/note-lines.js.map +1 -0
- package/dist/help/note.d.ts +10 -0
- package/dist/help/note.d.ts.map +1 -0
- package/dist/help/note.js +2 -0
- package/dist/help/note.js.map +1 -0
- package/dist/help/notes.d.ts +3 -2
- package/dist/help/notes.d.ts.map +1 -1
- package/dist/help/notes.js +6 -318
- package/dist/help/notes.js.map +1 -1
- package/dist/help/reading-notes.d.ts +4 -0
- package/dist/help/reading-notes.d.ts.map +1 -0
- package/dist/help/reading-notes.js +150 -0
- package/dist/help/reading-notes.js.map +1 -0
- package/dist/help/reference-text.d.ts.map +1 -1
- package/dist/help/reference-text.js +4 -4
- package/dist/help/reference-text.js.map +1 -1
- package/dist/help/tool-notes.d.ts +4 -0
- package/dist/help/tool-notes.d.ts.map +1 -0
- package/dist/help/tool-notes.js +152 -0
- package/dist/help/tool-notes.js.map +1 -0
- package/dist/help/usage-for.d.ts +6 -0
- package/dist/help/usage-for.d.ts.map +1 -0
- package/dist/help/usage-for.js +16 -0
- package/dist/help/usage-for.js.map +1 -0
- package/dist/help/usage-lines-of.d.ts +3 -0
- package/dist/help/usage-lines-of.d.ts.map +1 -0
- package/dist/help/usage-lines-of.js +19 -0
- package/dist/help/usage-lines-of.js.map +1 -0
- package/dist/help/usage.d.ts +3 -1
- package/dist/help/usage.d.ts.map +1 -1
- package/dist/help/usage.js +10 -4
- package/dist/help/usage.js.map +1 -1
- package/dist/help/work-notes.d.ts +4 -0
- package/dist/help/work-notes.d.ts.map +1 -0
- package/dist/help/work-notes.js +197 -0
- package/dist/help/work-notes.js.map +1 -0
- package/dist/init/agent-permissions.d.ts.map +1 -1
- package/dist/init/agent-permissions.js +10 -1
- package/dist/init/agent-permissions.js.map +1 -1
- package/dist/init/forced-note.d.ts +4 -0
- package/dist/init/forced-note.d.ts.map +1 -0
- package/dist/init/forced-note.js +14 -0
- package/dist/init/forced-note.js.map +1 -0
- package/dist/init/ignore-worktrees.d.ts.map +1 -1
- package/dist/init/ignore-worktrees.js +7 -1
- package/dist/init/ignore-worktrees.js.map +1 -1
- package/dist/init/is-pipeline-definition.d.ts +3 -0
- package/dist/init/is-pipeline-definition.d.ts.map +1 -0
- package/dist/init/is-pipeline-definition.js +7 -0
- package/dist/init/is-pipeline-definition.js.map +1 -0
- package/dist/init/is-team-file.d.ts +9 -0
- package/dist/init/is-team-file.d.ts.map +1 -0
- package/dist/init/is-team-file.js +12 -0
- package/dist/init/is-team-file.js.map +1 -0
- package/dist/init/kept-combination-notes.d.ts +5 -0
- package/dist/init/kept-combination-notes.d.ts.map +1 -0
- package/dist/init/kept-combination-notes.js +18 -0
- package/dist/init/kept-combination-notes.js.map +1 -0
- package/dist/init/kept-or-merged.d.ts +11 -0
- package/dist/init/kept-or-merged.d.ts.map +1 -0
- package/dist/init/kept-or-merged.js +23 -0
- package/dist/init/kept-or-merged.js.map +1 -0
- package/dist/init/manifest/versions.js +24 -24
- package/dist/init/manifest/versions.js.map +1 -1
- package/dist/init/manifest/write-manifest.js +8 -0
- package/dist/init/manifest/write-manifest.js.map +1 -1
- package/dist/init/manifest/write-overrides.js +4 -0
- package/dist/init/manifest/write-overrides.js.map +1 -1
- package/dist/init/merged-ignore-files.d.ts +3 -0
- package/dist/init/merged-ignore-files.d.ts.map +1 -0
- package/dist/init/merged-ignore-files.js +3 -0
- package/dist/init/merged-ignore-files.js.map +1 -0
- package/dist/init/merged-ignore-lines.d.ts +9 -0
- package/dist/init/merged-ignore-lines.d.ts.map +1 -0
- package/dist/init/merged-ignore-lines.js +32 -0
- package/dist/init/merged-ignore-lines.js.map +1 -0
- package/dist/init/refuse-unprojected-root.d.ts +7 -0
- package/dist/init/refuse-unprojected-root.d.ts.map +1 -0
- package/dist/init/refuse-unprojected-root.js +31 -0
- package/dist/init/refuse-unprojected-root.js.map +1 -0
- package/dist/init/run-init.d.ts +3 -2
- package/dist/init/run-init.d.ts.map +1 -1
- package/dist/init/run-init.js +29 -9
- package/dist/init/run-init.js.map +1 -1
- package/dist/init/stack/http-cache-misfit.d.ts +4 -0
- package/dist/init/stack/http-cache-misfit.d.ts.map +1 -0
- package/dist/init/stack/http-cache-misfit.js +21 -0
- package/dist/init/stack/http-cache-misfit.js.map +1 -0
- package/dist/init/stack/resolve-stack.d.ts.map +1 -1
- package/dist/init/stack/resolve-stack.js +2 -1
- package/dist/init/stack/resolve-stack.js.map +1 -1
- package/dist/issues-url.d.ts +3 -0
- package/dist/issues-url.d.ts.map +1 -0
- package/dist/issues-url.js +3 -0
- package/dist/issues-url.js.map +1 -0
- package/dist/json/format-json.d.ts +2 -1
- package/dist/json/format-json.d.ts.map +1 -1
- package/dist/json/format-json.js +2 -1
- package/dist/json/format-json.js.map +1 -1
- package/dist/json/stdout-json.d.ts +7 -0
- package/dist/json/stdout-json.d.ts.map +1 -0
- package/dist/json/stdout-json.js +9 -0
- package/dist/json/stdout-json.js.map +1 -0
- package/dist/layout/fit-declaration.d.ts +2 -1
- package/dist/layout/fit-declaration.d.ts.map +1 -1
- package/dist/layout/fit-declaration.js +3 -2
- package/dist/layout/fit-declaration.js.map +1 -1
- package/dist/merge/is-derived-in-merge.d.ts.map +1 -1
- package/dist/merge/is-derived-in-merge.js +1 -2
- package/dist/merge/is-derived-in-merge.js.map +1 -1
- package/dist/merge/landed-point.js +1 -1
- package/dist/merge/landed-point.js.map +1 -1
- package/dist/merge/lost/in-progress-merge.js +1 -1
- package/dist/merge/lost/in-progress-merge.js.map +1 -1
- package/dist/merge/lost/merge-base-of.d.ts.map +1 -1
- package/dist/merge/lost/merge-base-of.js +6 -9
- package/dist/merge/lost/merge-base-of.js.map +1 -1
- package/dist/merge/lost/merge-of-record.d.ts.map +1 -1
- package/dist/merge/lost/merge-of-record.js +4 -9
- package/dist/merge/lost/merge-of-record.js.map +1 -1
- package/dist/merge/lost/merges-since.d.ts +1 -1
- package/dist/merge/lost/merges-since.d.ts.map +1 -1
- package/dist/merge/lost/merges-since.js +1 -1
- package/dist/merge/lost/merges-since.js.map +1 -1
- package/dist/merge/lost/since-of.d.ts +11 -2
- package/dist/merge/lost/since-of.d.ts.map +1 -1
- package/dist/merge/lost/since-of.js +17 -9
- package/dist/merge/lost/since-of.js.map +1 -1
- package/dist/merge/lost/verify-merge.js +1 -1
- package/dist/merge/lost/verify-merge.js.map +1 -1
- package/dist/merge/lost/verify-merges.d.ts +2 -0
- package/dist/merge/lost/verify-merges.d.ts.map +1 -1
- package/dist/merge/lost/verify-merges.js +8 -5
- package/dist/merge/lost/verify-merges.js.map +1 -1
- package/dist/merge/merge-exclusions.d.ts +3 -4
- package/dist/merge/merge-exclusions.d.ts.map +1 -1
- package/dist/merge/merge-exclusions.js +19 -19
- package/dist/merge/merge-exclusions.js.map +1 -1
- package/dist/merge/merge-state.d.ts.map +1 -1
- package/dist/merge/merge-state.js +2 -1
- package/dist/merge/merge-state.js.map +1 -1
- package/dist/merge/merge-steps.d.ts.map +1 -1
- package/dist/merge/merge-steps.js +0 -1
- package/dist/merge/merge-steps.js.map +1 -1
- package/dist/merge/merge-trunk.js +1 -1
- package/dist/merge/merge-trunk.js.map +1 -1
- package/dist/merge/resume-merge.js +1 -1
- package/dist/merge/resume-merge.js.map +1 -1
- package/dist/merge/sharing-branches.js +1 -1
- package/dist/merge/sharing-branches.js.map +1 -1
- package/dist/merge/trunk-of.d.ts.map +1 -1
- package/dist/merge/trunk-of.js +8 -5
- package/dist/merge/trunk-of.js.map +1 -1
- package/dist/migration/audit-guard/orm-tool-entry.d.ts +3 -0
- package/dist/migration/audit-guard/orm-tool-entry.d.ts.map +1 -0
- package/dist/migration/audit-guard/orm-tool-entry.js +12 -0
- package/dist/migration/audit-guard/orm-tool-entry.js.map +1 -0
- package/dist/migration/audit-guard/run-orm-tool.d.ts.map +1 -1
- package/dist/migration/audit-guard/run-orm-tool.js +2 -7
- package/dist/migration/audit-guard/run-orm-tool.js.map +1 -1
- package/dist/migration/has-database-url.d.ts +3 -0
- package/dist/migration/has-database-url.d.ts.map +1 -0
- package/dist/migration/has-database-url.js +5 -0
- package/dist/migration/has-database-url.js.map +1 -0
- package/dist/migration/index.d.ts +4 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +4 -0
- package/dist/migration/index.js.map +1 -1
- package/dist/migration/migration-name.d.ts +8 -0
- package/dist/migration/migration-name.d.ts.map +1 -0
- package/dist/migration/migration-name.js +14 -0
- package/dist/migration/migration-name.js.map +1 -0
- package/dist/migration/offline-prisma-migration.d.ts +18 -0
- package/dist/migration/offline-prisma-migration.d.ts.map +1 -0
- package/dist/migration/offline-prisma-migration.js +91 -0
- package/dist/migration/offline-prisma-migration.js.map +1 -0
- package/dist/migration/plan-replay.d.ts.map +1 -1
- package/dist/migration/plan-replay.js +3 -7
- package/dist/migration/plan-replay.js.map +1 -1
- package/dist/migration/run-on-in-process-database.d.ts +8 -0
- package/dist/migration/run-on-in-process-database.d.ts.map +1 -0
- package/dist/migration/run-on-in-process-database.js +55 -0
- package/dist/migration/run-on-in-process-database.js.map +1 -0
- package/dist/migration/tool-step.d.ts +8 -0
- package/dist/migration/tool-step.d.ts.map +1 -0
- package/dist/migration/tool-step.js +2 -0
- package/dist/migration/tool-step.js.map +1 -0
- package/dist/model-modules/declared-module.d.ts.map +1 -1
- package/dist/model-modules/declared-module.js +2 -2
- package/dist/model-modules/declared-module.js.map +1 -1
- package/dist/model-modules/declared-modules.d.ts.map +1 -1
- package/dist/model-modules/declared-modules.js +2 -1
- package/dist/model-modules/declared-modules.js.map +1 -1
- package/dist/model-modules/module-placement.d.ts.map +1 -1
- package/dist/model-modules/module-placement.js +2 -1
- package/dist/model-modules/module-placement.js.map +1 -1
- package/dist/naming/index.d.ts +1 -0
- package/dist/naming/index.d.ts.map +1 -1
- package/dist/naming/index.js +1 -0
- package/dist/naming/index.js.map +1 -1
- package/dist/naming/name.d.ts +1 -1
- package/dist/naming/name.d.ts.map +1 -1
- package/dist/naming/parse-context-name.d.ts +1 -0
- package/dist/naming/parse-context-name.d.ts.map +1 -1
- package/dist/naming/parse-context-name.js +5 -3
- package/dist/naming/parse-context-name.js.map +1 -1
- package/dist/naming/read-name.d.ts +8 -0
- package/dist/naming/read-name.d.ts.map +1 -0
- package/dist/naming/read-name.js +20 -0
- package/dist/naming/read-name.js.map +1 -0
- package/dist/nest-controllers/refresh-nest-controllers.d.ts.map +1 -1
- package/dist/nest-controllers/refresh-nest-controllers.js +4 -1
- package/dist/nest-controllers/refresh-nest-controllers.js.map +1 -1
- package/dist/plan/copy-of-project.d.ts +3 -0
- package/dist/plan/copy-of-project.d.ts.map +1 -0
- package/dist/plan/copy-of-project.js +43 -0
- package/dist/plan/copy-of-project.js.map +1 -0
- package/dist/plan/format-plan.d.ts +4 -3
- package/dist/plan/format-plan.d.ts.map +1 -1
- package/dist/plan/format-plan.js +48 -17
- package/dist/plan/format-plan.js.map +1 -1
- package/dist/plan/is-started.d.ts +4 -0
- package/dist/plan/is-started.d.ts.map +1 -0
- package/dist/plan/is-started.js +6 -0
- package/dist/plan/is-started.js.map +1 -0
- package/dist/plan/missing-dependencies.d.ts +10 -0
- package/dist/plan/missing-dependencies.d.ts.map +1 -0
- package/dist/plan/missing-dependencies.js +35 -0
- package/dist/plan/missing-dependencies.js.map +1 -0
- package/dist/plan/plan-problems.d.ts +4 -2
- package/dist/plan/plan-problems.d.ts.map +1 -1
- package/dist/plan/plan-problems.js +30 -2
- package/dist/plan/plan-problems.js.map +1 -1
- package/dist/plan/plan-waves.d.ts +2 -0
- package/dist/plan/plan-waves.d.ts.map +1 -1
- package/dist/plan/plan-waves.js +3 -3
- package/dist/plan/plan-waves.js.map +1 -1
- package/dist/plan/planned-words.d.ts +11 -23
- package/dist/plan/planned-words.d.ts.map +1 -1
- package/dist/plan/planned-words.js +50 -105
- package/dist/plan/planned-words.js.map +1 -1
- package/dist/plan/refused-command.d.ts +18 -0
- package/dist/plan/refused-command.d.ts.map +1 -0
- package/dist/plan/refused-command.js +109 -0
- package/dist/plan/refused-command.js.map +1 -0
- package/dist/plan/replay-plan.d.ts +27 -0
- package/dist/plan/replay-plan.d.ts.map +1 -0
- package/dist/plan/replay-plan.js +91 -0
- package/dist/plan/replay-plan.js.map +1 -0
- package/dist/plan/replay.d.ts +39 -0
- package/dist/plan/replay.d.ts.map +1 -0
- package/dist/plan/replay.js +52 -0
- package/dist/plan/replay.js.map +1 -0
- package/dist/plan/replayed-plan.d.ts +13 -0
- package/dist/plan/replayed-plan.d.ts.map +1 -0
- package/dist/plan/replayed-plan.js +17 -0
- package/dist/plan/replayed-plan.js.map +1 -0
- package/dist/plan/rows-to-plan.d.ts +1 -1
- package/dist/plan/rows-to-plan.d.ts.map +1 -1
- package/dist/plan/rows-to-plan.js +2 -1
- package/dist/plan/rows-to-plan.js.map +1 -1
- package/dist/plan/transitive-dependencies.d.ts +8 -0
- package/dist/plan/transitive-dependencies.d.ts.map +1 -0
- package/dist/plan/transitive-dependencies.js +26 -0
- package/dist/plan/transitive-dependencies.js.map +1 -0
- package/dist/plan/wave-plan.d.ts +55 -9
- package/dist/plan/wave-plan.d.ts.map +1 -1
- package/dist/platform-folders/placements.d.ts.map +1 -1
- package/dist/platform-folders/placements.js +17 -1
- package/dist/platform-folders/placements.js.map +1 -1
- package/dist/presets/apply-preset.d.ts.map +1 -1
- package/dist/presets/apply-preset.js +2 -2
- package/dist/presets/apply-preset.js.map +1 -1
- package/dist/presets/outside-the-tenancy.d.ts.map +1 -1
- package/dist/presets/outside-the-tenancy.js +3 -1
- package/dist/presets/outside-the-tenancy.js.map +1 -1
- package/dist/progress/format-progress.d.ts.map +1 -1
- package/dist/progress/format-progress.js +3 -2
- package/dist/progress/format-progress.js.map +1 -1
- package/dist/progress/slice.d.ts +7 -1
- package/dist/progress/slice.d.ts.map +1 -1
- package/dist/progress/slice.js +2 -1
- package/dist/progress/slice.js.map +1 -1
- package/dist/refusals/apply-plan.d.ts.map +1 -1
- package/dist/refusals/apply-plan.js +2 -1
- package/dist/refusals/apply-plan.js.map +1 -1
- package/dist/refuse-windows-shell.d.ts +17 -0
- package/dist/refuse-windows-shell.d.ts.map +1 -0
- package/dist/refuse-windows-shell.js +32 -0
- package/dist/refuse-windows-shell.js.map +1 -0
- package/dist/review/generated-file-kind.d.ts +13 -0
- package/dist/review/generated-file-kind.d.ts.map +1 -0
- package/dist/review/generated-file-kind.js +2 -0
- package/dist/review/generated-file-kind.js.map +1 -0
- package/dist/review/generated-files-named.d.ts +4 -0
- package/dist/review/generated-files-named.d.ts.map +1 -0
- package/dist/review/generated-files-named.js +8 -0
- package/dist/review/generated-files-named.js.map +1 -0
- package/dist/review/generated-files.d.ts +9 -0
- package/dist/review/generated-files.d.ts.map +1 -0
- package/dist/review/generated-files.js +20 -0
- package/dist/review/generated-files.js.map +1 -0
- package/dist/review/index.d.ts +3 -0
- package/dist/review/index.d.ts.map +1 -0
- package/dist/review/index.js +3 -0
- package/dist/review/index.js.map +1 -0
- package/dist/run.d.ts +5 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +62 -25
- package/dist/run.js.map +1 -1
- package/dist/slice/plan-staging.d.ts.map +1 -1
- package/dist/slice/plan-staging.js +2 -1
- package/dist/slice/plan-staging.js.map +1 -1
- package/dist/slice/run-script.d.ts.map +1 -1
- package/dist/slice/run-script.js +0 -1
- package/dist/slice/run-script.js.map +1 -1
- package/dist/slice/slice-to-verify.d.ts +3 -0
- package/dist/slice/slice-to-verify.d.ts.map +1 -1
- package/dist/slice/storage-of-slice.d.ts +1 -1
- package/dist/slice/storage-of-slice.d.ts.map +1 -1
- package/dist/slice/storage-of-slice.js.map +1 -1
- package/dist/slice/verification-file.d.ts.map +1 -1
- package/dist/slice/verification-file.js +2 -1
- package/dist/slice/verification-file.js.map +1 -1
- package/dist/slice/verify-slice.d.ts +1 -1
- package/dist/slice/verify-slice.d.ts.map +1 -1
- package/dist/slice/verify-slice.js +4 -4
- package/dist/slice/verify-slice.js.map +1 -1
- package/dist/stories/open-story-scope.js +4 -5
- package/dist/stories/open-story-scope.js.map +1 -1
- package/dist/stories/read-story-phases.js +1 -1
- package/dist/stories/read-story-phases.js.map +1 -1
- package/dist/stories/story-scope-file.d.ts.map +1 -1
- package/dist/stories/story-scope-file.js +2 -1
- package/dist/stories/story-scope-file.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/worker/add-worktree.d.ts +2 -1
- package/dist/worker/add-worktree.d.ts.map +1 -1
- package/dist/worker/add-worktree.js +2 -1
- package/dist/worker/add-worktree.js.map +1 -1
- package/dist/worker/agent-file.d.ts.map +1 -1
- package/dist/worker/agent-file.js +2 -1
- package/dist/worker/agent-file.js.map +1 -1
- package/dist/worker/base-of.d.ts +6 -1
- package/dist/worker/base-of.d.ts.map +1 -1
- package/dist/worker/base-of.js +4 -8
- package/dist/worker/base-of.js.map +1 -1
- package/dist/worker/branch-standing.js +1 -1
- package/dist/worker/branch-standing.js.map +1 -1
- package/dist/worker/briefing-of.d.ts.map +1 -1
- package/dist/worker/briefing-of.js +2 -1
- package/dist/worker/briefing-of.js.map +1 -1
- package/dist/worker/ensure-contains-base.d.ts +4 -2
- package/dist/worker/ensure-contains-base.d.ts.map +1 -1
- package/dist/worker/ensure-contains-base.js +4 -3
- package/dist/worker/ensure-contains-base.js.map +1 -1
- package/dist/worker/install-dependencies.d.ts.map +1 -1
- package/dist/worker/install-dependencies.js +0 -1
- package/dist/worker/install-dependencies.js.map +1 -1
- package/dist/worker/open-worker-scope.d.ts.map +1 -1
- package/dist/worker/open-worker-scope.js +22 -16
- package/dist/worker/open-worker-scope.js.map +1 -1
- package/dist/worker/report-file.d.ts.map +1 -1
- package/dist/worker/report-file.js +2 -1
- package/dist/worker/report-file.js.map +1 -1
- package/dist/workspace/disk-writes.d.ts +10 -0
- package/dist/workspace/disk-writes.d.ts.map +1 -0
- package/dist/workspace/disk-writes.js +2 -0
- package/dist/workspace/disk-writes.js.map +1 -0
- package/dist/workspace/files-git-does-not-hold.d.ts +7 -0
- package/dist/workspace/files-git-does-not-hold.d.ts.map +1 -0
- package/dist/workspace/files-git-does-not-hold.js +28 -0
- package/dist/workspace/files-git-does-not-hold.js.map +1 -0
- package/dist/workspace/gist-of.d.ts +9 -0
- package/dist/workspace/gist-of.d.ts.map +1 -0
- package/dist/workspace/gist-of.js +55 -0
- package/dist/workspace/gist-of.js.map +1 -0
- package/dist/workspace/index.d.ts +1 -0
- package/dist/workspace/index.d.ts.map +1 -1
- package/dist/workspace/index.js.map +1 -1
- package/dist/workspace/is-language-step.d.ts +4 -0
- package/dist/workspace/is-language-step.d.ts.map +1 -0
- package/dist/workspace/is-language-step.js +5 -0
- package/dist/workspace/is-language-step.js.map +1 -0
- package/dist/workspace/kit-folder.d.ts +5 -0
- package/dist/workspace/kit-folder.d.ts.map +1 -0
- package/dist/workspace/kit-folder.js +5 -0
- package/dist/workspace/kit-folder.js.map +1 -0
- package/dist/workspace/leaving-project.d.ts +14 -0
- package/dist/workspace/leaving-project.d.ts.map +1 -0
- package/dist/workspace/leaving-project.js +17 -0
- package/dist/workspace/leaving-project.js.map +1 -0
- package/dist/workspace/names-on-disk.d.ts +4 -0
- package/dist/workspace/names-on-disk.d.ts.map +1 -0
- package/dist/workspace/names-on-disk.js +15 -0
- package/dist/workspace/names-on-disk.js.map +1 -0
- package/dist/workspace/real-path-of.d.ts +12 -0
- package/dist/workspace/real-path-of.d.ts.map +1 -0
- package/dist/workspace/real-path-of.js +59 -0
- package/dist/workspace/real-path-of.js.map +1 -0
- package/dist/workspace/real-root-of.d.ts +3 -0
- package/dist/workspace/real-root-of.d.ts.map +1 -0
- package/dist/workspace/real-root-of.js +7 -0
- package/dist/workspace/real-root-of.js.map +1 -0
- package/dist/workspace/refuse-leaving.d.ts +8 -0
- package/dist/workspace/refuse-leaving.d.ts.map +1 -0
- package/dist/workspace/refuse-leaving.js +26 -0
- package/dist/workspace/refuse-leaving.js.map +1 -0
- package/dist/workspace/refuse-unheld.d.ts +10 -0
- package/dist/workspace/refuse-unheld.d.ts.map +1 -0
- package/dist/workspace/refuse-unheld.js +56 -0
- package/dist/workspace/refuse-unheld.js.map +1 -0
- package/dist/workspace/todo-place.d.ts +10 -0
- package/dist/workspace/todo-place.d.ts.map +1 -0
- package/dist/workspace/todo-place.js +2 -0
- package/dist/workspace/todo-place.js.map +1 -0
- package/dist/workspace/workspace-report.d.ts +5 -3
- package/dist/workspace/workspace-report.d.ts.map +1 -1
- package/dist/workspace/workspace.d.ts +17 -7
- package/dist/workspace/workspace.d.ts.map +1 -1
- package/dist/workspace/workspace.js +46 -49
- package/dist/workspace/workspace.js.map +1 -1
- package/dist/workspace/write-if-allowed.d.ts +16 -2
- package/dist/workspace/write-if-allowed.d.ts.map +1 -1
- package/dist/workspace/write-if-allowed.js +64 -4
- package/dist/workspace/write-if-allowed.js.map +1 -1
- package/dist/workspace/written-of.d.ts +18 -0
- package/dist/workspace/written-of.d.ts.map +1 -0
- package/dist/workspace/written-of.js +15 -0
- package/dist/workspace/written-of.js.map +1 -0
- package/dist/worktree/open-worktree.js +2 -2
- package/dist/worktree/open-worktree.js.map +1 -1
- package/package.json +5 -4
- package/templates/adapter/simulated.spec.ts.tpl +3 -3
- package/templates/aggregate/aggregate.spec.ts.tpl +17 -5
- package/templates/aggregate/aggregate.ts.tpl +12 -8
- package/templates/aggregate/event-sourced.aggregate.spec.ts.tpl +8 -8
- package/templates/aggregate/event-sourced.aggregate.ts.tpl +5 -5
- package/templates/background-job/background-job.declared.ts.tpl +14 -11
- package/templates/background-job/background-job.spec.buses.ts.tpl +17 -2
- package/templates/background-job/background-job.spec.tsyringe.ts.tpl +16 -0
- package/templates/background-job/background-job.ts.tpl +14 -11
- package/templates/builder/builder.ts.tpl +19 -5
- package/templates/builder/event-sourced.builder.ts.tpl +5 -5
- package/templates/command/handler.declared.ts.tpl +8 -5
- package/templates/command/handler.spec.buses.ts.tpl +35 -22
- package/templates/command/handler.spec.tsyringe.ts.tpl +30 -13
- package/templates/command/handler.ts.tpl +8 -5
- package/templates/controller/controller.class-validator.ts.tpl +11 -0
- package/templates/controller/controller.spec.ts.tpl +29 -34
- package/templates/controller/controller.standard-schema.ts.tpl +16 -0
- package/templates/controller/controller.typebox.ts.tpl +12 -0
- package/templates/controller/controller.zod.ts.tpl +12 -0
- package/templates/domain-event/domain-event.spec.ts.tpl +1 -1
- package/templates/domain-service/domain-service.spec.ts.tpl +3 -3
- package/templates/entity/entity.spec.ts.tpl +1 -1
- package/templates/error/case.spec.ts.tpl +0 -1
- package/templates/error/refusal-case.spec.ts.tpl +0 -1
- package/templates/event-handler/event-handler.declared.ts.tpl +8 -1
- package/templates/event-handler/event-handler.spec.ts.tpl +19 -25
- package/templates/event-handler/event-handler.ts.tpl +8 -1
- package/templates/event-handler/wiring.manual.tpl +1 -1
- package/templates/event-handler/wiring.tsyringe.tpl +2 -2
- package/templates/file-upload/controller.spec.ts.tpl +8 -30
- package/templates/init/AGENTS.md.tpl +5 -5
- package/templates/init/README.md.tpl +23 -1
- package/templates/init/REVIEW.md.tpl +1 -1
- package/templates/init/docker/docker-compose.yml.tpl +10 -8
- package/templates/init/docker/dockerignore.tpl +3 -0
- package/templates/init/docker/env.example.tpl +16 -1
- package/templates/init/e2e/jest.e2e.config.js.tpl +11 -1
- package/templates/init/gitignore.tpl +3 -0
- package/templates/init/platform/auth/authentication/actor-of-token.ts.tpl +2 -2
- package/templates/init/platform/auth/authentication/bearer-strategy.ts.tpl +34 -3
- package/templates/init/platform/config/app-config.ts.tpl +15 -0
- package/templates/init/platform/config/load-config.ts.tpl +66 -0
- package/templates/init/platform/database/data-source.typeorm.ts.tpl +2 -0
- package/templates/init/platform/database/prisma.config.ts.tpl +5 -1
- package/templates/init/platform/http/start-http-server.express.ts.tpl +14 -8
- package/templates/init/platform/http/start-http-server.fastify.ts.tpl +16 -3
- package/templates/init/platform/http/start-http-server.hono.ts.tpl +22 -3
- package/templates/init/platform/http/start-http-server.nest.ts.tpl +20 -8
- package/templates/init/platform/http/too-many-requests-for.ts.tpl +2 -2
- package/templates/init/platform/jobs/background-jobs.ts.tpl +3 -2
- package/templates/init/platform/jobs/create-background-work.ts.tpl +1 -0
- package/templates/init/rules/application.md.tpl +2 -2
- package/templates/integration-event/payload.class-validator.ts.tpl +2 -2
- package/templates/integration-handler/integration-handler.spec.ts.tpl +12 -17
- package/templates/job/job.spec.buses.ts.tpl +15 -2
- package/templates/job/job.spec.tsyringe.ts.tpl +36 -9
- package/templates/nest-controller/controller.spec.ts.tpl +36 -35
- package/templates/nest-controller/controller.ts.tpl +6 -0
- package/templates/nest-controller/upload.spec.ts.tpl +9 -30
- package/templates/pipeline/github/actions/setup/action.yml.tpl +2 -2
- package/templates/pipeline/github/workflows/ci.yml.tpl +20 -20
- package/templates/pipeline/github/workflows/codeql.yml +3 -3
- package/templates/pipeline/github/workflows/copilot-setup-steps.yml +1 -1
- package/templates/pipeline/github/workflows/intent-to-spec.yml +1 -1
- package/templates/pipeline/github/workflows/pr-title.yml +1 -1
- package/templates/pipeline/lefthook.yml +9 -4
- package/templates/pipeline/package-scripts.json +1 -1
- package/templates/pipeline/renovate.json +6 -1
- package/templates/policy/policy.spec.declared.ts.tpl +1 -1
- package/templates/policy/policy.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/accounts/deactivate-account/deactivate-account.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/accounts/provision-account/provision-account.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/accounts/provision-account/provision-account.body.class-validator.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/invitations/accept-invitation/accept-invitation.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/invitations/accept-invitation/accept-invitation.body.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/invitations/decline-invitation/decline-invitation.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/invitations/decline-invitation/decline-invitation.body.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/change-member-role/change-member-role.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/change-member-role/change-member-role.body.class-validator.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/change-member-role/change-member-role.params.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/grant-delegation/grant-delegation.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/grant-delegation/grant-delegation.body.class-validator.ts.tpl +4 -4
- package/templates/presets/identity/context/presentation/http/organisations/grant-delegation/grant-delegation.params.class-validator.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/invite-member/invite-member.accepted.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/invite-member/invite-member.body.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/invite-member/invite-member.params.class-validator.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/open-organisation/open-organisation.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/open-organisation/open-organisation.body.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/remove-member/remove-member.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/remove-member/remove-member.params.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/revoke-delegation/revoke-delegation.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/revoke-delegation/revoke-delegation.params.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/revoke-invitation/revoke-invitation.accepted.class-validator.per-route.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/organisations/revoke-invitation/revoke-invitation.params.class-validator.ts.tpl +2 -2
- package/templates/presets/identity/context/presentation/http/organisations/search-members/search-members.line.class-validator.ts.tpl +6 -6
- package/templates/presets/identity/context/presentation/http/organisations/search-members/search-members.params.class-validator.ts.tpl +1 -1
- package/templates/presets/identity/context/presentation/http/shared/invitation-token.schema.class-validator.shared.ts.tpl +1 -1
- package/templates/presets/identity/context/published-language/account-deactivated.v1.payload.class-validator.ts.tpl +1 -1
- package/templates/presets/identity/context/published-language/delegation-granted.v1.payload.class-validator.ts.tpl +7 -7
- package/templates/presets/identity/context/published-language/delegation-revoked.v1.payload.class-validator.ts.tpl +4 -4
- package/templates/presets/identity/context/published-language/member-joined.v1.payload.class-validator.ts.tpl +4 -4
- package/templates/presets/identity/context/published-language/member-removed.v1.payload.class-validator.ts.tpl +4 -4
- package/templates/presets/identity/context/published-language/member-role-changed.v1.payload.class-validator.ts.tpl +6 -6
- package/templates/presets/identity/context/published-language/organisation-opened.v1.payload.class-validator.ts.tpl +3 -3
- package/templates/presets/identity/context/test/unit/accept-invitation.controller.spec.kit-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/accept-invitation.controller.spec.nest-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/change-member-role.controller.spec.kit-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/change-member-role.controller.spec.nest-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/deactivate-account.controller.spec.kit-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/deactivate-account.controller.spec.nest-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/decline-invitation.controller.spec.kit-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/decline-invitation.controller.spec.nest-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/delegation-period.vo.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/display-name.vo.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/email-address.vo.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/grant-delegation.controller.spec.kit-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/grant-delegation.controller.spec.nest-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/invite-member.controller.spec.kit-routes.ts.tpl +16 -28
- package/templates/presets/identity/context/test/unit/invite-member.controller.spec.nest-routes.ts.tpl +16 -28
- package/templates/presets/identity/context/test/unit/open-organisation.controller.spec.kit-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/open-organisation.controller.spec.nest-routes.ts.tpl +13 -28
- package/templates/presets/identity/context/test/unit/organisation-name.vo.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/organisation-rights.vo.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/organisation-slug.vo.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/provision-account.controller.spec.kit-routes.ts.tpl +19 -42
- package/templates/presets/identity/context/test/unit/provision-account.controller.spec.nest-routes.ts.tpl +19 -42
- package/templates/presets/identity/context/test/unit/remove-member.controller.spec.kit-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/remove-member.controller.spec.nest-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/revoke-delegation.controller.spec.kit-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/revoke-delegation.controller.spec.nest-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/revoke-invitation.controller.spec.kit-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/revoke-invitation.controller.spec.nest-routes.ts.tpl +10 -21
- package/templates/presets/identity/context/test/unit/role-rights.service.spec.ts.tpl +1 -1
- package/templates/presets/identity/context/test/unit/search-members.controller.spec.kit-routes.ts.tpl +7 -18
- package/templates/presets/identity/context/test/unit/search-members.controller.spec.nest-routes.ts.tpl +8 -17
- package/templates/process/timeout-job.declared.ts.tpl +9 -1
- package/templates/process/timeout-job.spec.buses.ts.tpl +5 -1
- package/templates/process/timeout-job.ts.tpl +9 -1
- package/templates/projection/projection.spec.ts.tpl +7 -5
- package/templates/property/value-object.properties.spec.ts.tpl +1 -1
- package/templates/query/handler.spec.buses.ts.tpl +25 -19
- package/templates/query/handler.spec.tsyringe.ts.tpl +30 -10
- package/templates/query/reader.fake.ts.tpl +6 -4
- package/templates/query/reader.in-memory.ts.tpl +1 -1
- package/templates/query/search.handler.spec.buses.ts.tpl +22 -19
- package/templates/query/search.handler.spec.tsyringe.ts.tpl +25 -12
- package/templates/repository/drizzle/mapper.ts.tpl +1 -1
- package/templates/repository/drizzle/schema.ts.tpl +1 -1
- package/templates/repository/drizzle/table.tpl +3 -2
- package/templates/repository/event-sourced/contract.spec.ts.tpl +2 -2
- package/templates/repository/knex/mapper.ts.tpl +2 -3
- package/templates/repository/knex/row.ts.tpl +0 -1
- package/templates/repository/knex/table.tpl +0 -1
- package/templates/repository/prisma/mapper.ts.tpl +1 -1
- package/templates/repository/prisma/model.tpl +0 -1
- package/templates/repository/typeorm/mapper.ts.tpl +1 -1
- package/templates/repository/typeorm/row.ts.tpl +0 -1
- package/templates/repository/typeorm/table.tpl +0 -2
- package/templates/route/dto.accepted.ts.tpl +1 -1
- package/templates/route/dto.answer.ts.tpl +1 -1
- package/templates/route/dto.body.ts.tpl +10 -1
- package/templates/route/dto.line.ts.tpl +2 -2
- package/templates/route/route.class-validator.ts.tpl +17 -3
- package/templates/route/route.spec.ts.tpl +29 -28
- package/templates/route/route.standard-schema.ts.tpl +24 -5
- package/templates/route/route.typebox.ts.tpl +18 -3
- package/templates/route/route.zod.ts.tpl +18 -3
- package/templates/schema/schema.class-validator.ts.tpl +1 -1
- package/templates/test-world/world.buses.ts.tpl +7 -1
- package/templates/test-world/world.tsyringe.ts.tpl +20 -1
- package/templates/value-object/value-object.spec.ts.tpl +2 -2
- package/dist/generate/kinds/find-event-declaration.d.ts +0 -5
- package/dist/generate/kinds/find-event-declaration.d.ts.map +0 -1
- package/dist/generate/kinds/find-event-declaration.js +0 -18
- package/dist/generate/kinds/find-event-declaration.js.map +0 -1
- package/dist/merge/lost/commit-of.d.ts +0 -3
- package/dist/merge/lost/commit-of.d.ts.map +0 -1
- package/dist/merge/lost/commit-of.js +0 -6
- package/dist/merge/lost/commit-of.js.map +0 -1
|
@@ -1,49 +1,44 @@
|
|
|
1
1
|
import { describe, expect, it } from '{{tests.module}}';
|
|
2
|
-
import {
|
|
3
|
-
import { {{route.
|
|
2
|
+
import { routeOf } from '@ddd-ts-kit/http/testing';
|
|
3
|
+
import { {{route.recordingBus}} } from '@ddd-ts-kit/kernel/testing';
|
|
4
4
|
{{route.messageImport}}
|
|
5
5
|
{{route.specImports}}
|
|
6
6
|
|
|
7
|
-
{{#if route.protected}}
|
|
8
|
-
const caller: Actor = { id: 'user-1', type: 'user', roles: [], attributes: {} };
|
|
9
|
-
|
|
10
|
-
{{/if}}
|
|
11
7
|
describe('{{route.method}} {{route.path}}', () => {
|
|
12
|
-
it('answers {{route.status}}
|
|
13
|
-
{{
|
|
14
|
-
const {{route.bus}} = new {{route.busClass}}().register({{route.input}}, {
|
|
15
|
-
execute: async () => ({}),
|
|
16
|
-
});
|
|
17
|
-
{{/if}}
|
|
8
|
+
it('answers {{route.status}} and hands the use case what the client sent', async () => {
|
|
9
|
+
const {{route.bus}} = new {{route.recordingBus}}(){{route.recordingAnswer}};
|
|
18
10
|
{{#if route.isSearch}}
|
|
19
|
-
const {{route.bus}} = new {{route.busClass}}().register({{route.input}}, {
|
|
20
|
-
execute: async () => ({ items: [{ id: '{{name.kebab}}-1' }], total: 1 }),
|
|
21
|
-
});
|
|
22
|
-
{{/if}}
|
|
23
|
-
{{#if route.returnsId}}
|
|
24
|
-
const {{route.bus}} = new {{route.busClass}}().register({{route.input}}, {
|
|
25
|
-
execute: async () => '{{name.kebab}}-1',
|
|
26
|
-
});
|
|
27
|
-
{{/if}}
|
|
28
|
-
{{#if route.returnsNothing}}
|
|
29
|
-
const {{route.bus}} = new {{route.busClass}}().register({{route.input}}, {
|
|
30
|
-
execute: async () => undefined,
|
|
31
|
-
});
|
|
32
|
-
{{/if}}
|
|
33
11
|
|
|
34
|
-
|
|
12
|
+
{{/if}}
|
|
13
|
+
const { {{route.sentParts}} } = routeOf(new {{name.pascal}}Controller({{route.specArguments}}));
|
|
35
14
|
|
|
36
|
-
const response = await
|
|
37
|
-
route,
|
|
38
|
-
{ params: {{route.sampleParams}}, query: {}, headers: {}, body: {}, raw: undefined },
|
|
39
|
-
{ validateResponses: true{{#if route.protected}}, resolvePrincipal: () => caller{{/if}} },
|
|
40
|
-
);
|
|
15
|
+
const response = await send({{route.sentRequest}});
|
|
41
16
|
|
|
42
|
-
|
|
17
|
+
{{route.answerExpectation}}
|
|
18
|
+
{{route.messageExpectation}}
|
|
43
19
|
expect(route.path).toBe('{{route.path}}');
|
|
44
20
|
});
|
|
21
|
+
{{#if route.refusesMissing}}
|
|
22
|
+
|
|
23
|
+
it('refuses a body without `{{route.missingField}}` with 422, naming the field', async () => {
|
|
24
|
+
const {{route.bus}} = new {{route.recordingBus}}();
|
|
25
|
+
const { send } = routeOf(new {{name.pascal}}Controller({{route.specArguments}}));
|
|
26
|
+
|
|
27
|
+
const response = await send({{route.missingRequest}});
|
|
28
|
+
|
|
29
|
+
expect(response).toMatchObject({
|
|
30
|
+
status: 422,
|
|
31
|
+
body: {
|
|
32
|
+
code: 'VALIDATION_FAILED',
|
|
33
|
+
issues: expect.arrayContaining([expect.objectContaining({ path: 'body.{{route.missingField}}' })]),
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
expect({{route.bus}}.executed).toEqual([]);
|
|
38
|
+
});
|
|
39
|
+
{{/if}}
|
|
45
40
|
|
|
46
|
-
// TODO(domain): replace each entry below by a test of the
|
|
41
|
+
// TODO(domain): replace each entry below by a test of the same shape, through the same `routeOf` (`{ caller }` names another one, `anonymousActor()` of the kernel nobody); the guards of the controller stand before it, so a route behind a role is sent by an actor that has it.
|
|
47
42
|
it.todo('refuses an input that does not have the expected shape with 422');
|
|
48
43
|
it.todo('answers the documented status for each error code of the use case');
|
|
49
44
|
});
|
|
@@ -20,11 +20,21 @@ const anyObject: StandardSchemaV1<unknown, Record<string, unknown>> = {
|
|
|
20
20
|
},
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
+
{{/if}}
|
|
24
|
+
{{#if route.writesParams}}
|
|
25
|
+
{{route.paramsDeclaration}}
|
|
26
|
+
|
|
23
27
|
{{/if}}
|
|
24
28
|
{{#if route.hasBody}}
|
|
29
|
+
{{#if route.writesBody}}
|
|
30
|
+
{{route.bodyDeclaration}}
|
|
31
|
+
|
|
32
|
+
{{/if}}
|
|
33
|
+
{{#unless route.writesBody}}
|
|
25
34
|
// TODO(domain): replace `anyObject` by the schema of "{{name.words}}" written with your Standard Schema library (shape constraints only; business rules stay in the domain) and describe it in the JSON Schema next to it.
|
|
26
35
|
const body = standardSchema(anyObject, { type: 'object' });
|
|
27
36
|
|
|
37
|
+
{{/unless}}
|
|
28
38
|
{{/if}}
|
|
29
39
|
{{#if route.ownAccepted}}
|
|
30
40
|
const acceptedShape: StandardSchemaV1<unknown, { readonly id: string }> = {
|
|
@@ -82,8 +92,10 @@ export class {{name.pascal}}Controller {
|
|
|
82
92
|
{{#if route.isQuery}}
|
|
83
93
|
async handle({{route.requestParam}}): Promise<{{route.answerType}}> {
|
|
84
94
|
{{#unless route.mapper}}
|
|
95
|
+
{{#unless route.readsMessage}}
|
|
85
96
|
// TODO(domain): build the query from `request` (params, query string); the actor is already there.
|
|
86
97
|
{{/unless}}
|
|
98
|
+
{{/unless}}
|
|
87
99
|
{{#if route.serializer}}
|
|
88
100
|
return this.serializer.serialize(await this.{{route.bus}}.execute({{route.message}}));
|
|
89
101
|
{{/if}}
|
|
@@ -98,8 +110,10 @@ export class {{name.pascal}}Controller {
|
|
|
98
110
|
{{#if route.returnsId}}
|
|
99
111
|
async handle({{route.requestParam}}): Promise<{{route.acceptedType}}> {
|
|
100
112
|
{{#unless route.mapper}}
|
|
113
|
+
{{#unless route.readsMessage}}
|
|
101
114
|
// TODO(domain): build the command from `request` (body, params); the actor is already there.
|
|
102
115
|
{{/unless}}
|
|
116
|
+
{{/unless}}
|
|
103
117
|
const id = await this.{{route.bus}}.execute({{route.message}});
|
|
104
118
|
|
|
105
119
|
return { id };
|
|
@@ -108,8 +122,10 @@ export class {{name.pascal}}Controller {
|
|
|
108
122
|
{{#if route.returnsNothing}}
|
|
109
123
|
async handle({{route.requestParam}}): Promise<void> {
|
|
110
124
|
{{#unless route.mapper}}
|
|
125
|
+
{{#unless route.readsMessage}}
|
|
111
126
|
// TODO(domain): build the command from `request` (body, params); the actor is already there.
|
|
112
127
|
{{/unless}}
|
|
128
|
+
{{/unless}}
|
|
113
129
|
await this.{{route.bus}}.execute({{route.message}});
|
|
114
130
|
}
|
|
115
131
|
{{/if}}
|
|
@@ -16,12 +16,18 @@ const params = typeboxSchema(Type.Object({ {{route.typeboxParams}} }));
|
|
|
16
16
|
|
|
17
17
|
{{/if}}
|
|
18
18
|
{{#if route.hasBody}}
|
|
19
|
+
{{#if route.writesBody}}
|
|
20
|
+
{{route.bodyDeclaration}}
|
|
21
|
+
|
|
22
|
+
{{/if}}
|
|
23
|
+
{{#unless route.writesBody}}
|
|
19
24
|
const body = typeboxSchema(
|
|
20
25
|
Type.Object({
|
|
21
26
|
// TODO(domain): declare the fields the client sends for "{{name.words}}", with shape constraints only (types, formats, lengths); business rules stay in the domain.
|
|
22
27
|
}),
|
|
23
28
|
);
|
|
24
29
|
|
|
30
|
+
{{/unless}}
|
|
25
31
|
{{/if}}
|
|
26
32
|
{{#if route.ownAccepted}}
|
|
27
33
|
const accepted = typeboxSchema(Type.Object({ id: Type.String() }));
|
|
@@ -64,8 +70,10 @@ export class {{name.pascal}}Controller {
|
|
|
64
70
|
{{#if route.isQuery}}
|
|
65
71
|
async handle({{route.requestParam}}): Promise<{{route.answerType}}> {
|
|
66
72
|
{{#unless route.mapper}}
|
|
73
|
+
{{#unless route.readsMessage}}
|
|
67
74
|
// TODO(domain): build the query from `request` (params, query string); the actor is already there.
|
|
68
75
|
{{/unless}}
|
|
76
|
+
{{/unless}}
|
|
69
77
|
{{#if route.serializer}}
|
|
70
78
|
return this.serializer.serialize(await this.{{route.bus}}.execute({{route.message}}));
|
|
71
79
|
{{/if}}
|
|
@@ -80,8 +88,10 @@ export class {{name.pascal}}Controller {
|
|
|
80
88
|
{{#if route.returnsId}}
|
|
81
89
|
async handle({{route.requestParam}}): Promise<{{route.acceptedType}}> {
|
|
82
90
|
{{#unless route.mapper}}
|
|
91
|
+
{{#unless route.readsMessage}}
|
|
83
92
|
// TODO(domain): build the command from `request` (body, params); the actor is already there.
|
|
84
93
|
{{/unless}}
|
|
94
|
+
{{/unless}}
|
|
85
95
|
const id = await this.{{route.bus}}.execute({{route.message}});
|
|
86
96
|
|
|
87
97
|
return { id };
|
|
@@ -90,8 +100,10 @@ export class {{name.pascal}}Controller {
|
|
|
90
100
|
{{#if route.returnsNothing}}
|
|
91
101
|
async handle({{route.requestParam}}): Promise<void> {
|
|
92
102
|
{{#unless route.mapper}}
|
|
103
|
+
{{#unless route.readsMessage}}
|
|
93
104
|
// TODO(domain): build the command from `request` (body, params); the actor is already there.
|
|
94
105
|
{{/unless}}
|
|
106
|
+
{{/unless}}
|
|
95
107
|
await this.{{route.bus}}.execute({{route.message}});
|
|
96
108
|
}
|
|
97
109
|
{{/if}}
|
|
@@ -16,12 +16,18 @@ const params = zodSchema(z.object({ {{route.zodParams}} }));
|
|
|
16
16
|
|
|
17
17
|
{{/if}}
|
|
18
18
|
{{#if route.hasBody}}
|
|
19
|
+
{{#if route.writesBody}}
|
|
20
|
+
{{route.bodyDeclaration}}
|
|
21
|
+
|
|
22
|
+
{{/if}}
|
|
23
|
+
{{#unless route.writesBody}}
|
|
19
24
|
const body = zodSchema(
|
|
20
25
|
z.object({
|
|
21
26
|
// TODO(domain): declare the fields the client sends for "{{name.words}}", with shape constraints only (types, formats, lengths); business rules stay in the domain.
|
|
22
27
|
}),
|
|
23
28
|
);
|
|
24
29
|
|
|
30
|
+
{{/unless}}
|
|
25
31
|
{{/if}}
|
|
26
32
|
{{#if route.ownAccepted}}
|
|
27
33
|
const accepted = zodSchema(z.object({ id: z.string() }), { io: 'output' });
|
|
@@ -68,8 +74,10 @@ export class {{name.pascal}}Controller {
|
|
|
68
74
|
{{#if route.isQuery}}
|
|
69
75
|
async handle({{route.requestParam}}): Promise<{{route.answerType}}> {
|
|
70
76
|
{{#unless route.mapper}}
|
|
77
|
+
{{#unless route.readsMessage}}
|
|
71
78
|
// TODO(domain): build the query from `request` (params, query string); the actor is already there.
|
|
72
79
|
{{/unless}}
|
|
80
|
+
{{/unless}}
|
|
73
81
|
{{#if route.serializer}}
|
|
74
82
|
return this.serializer.serialize(await this.{{route.bus}}.execute({{route.message}}));
|
|
75
83
|
{{/if}}
|
|
@@ -84,8 +92,10 @@ export class {{name.pascal}}Controller {
|
|
|
84
92
|
{{#if route.returnsId}}
|
|
85
93
|
async handle({{route.requestParam}}): Promise<{{route.acceptedType}}> {
|
|
86
94
|
{{#unless route.mapper}}
|
|
95
|
+
{{#unless route.readsMessage}}
|
|
87
96
|
// TODO(domain): build the command from `request` (body, params); the actor is already there.
|
|
88
97
|
{{/unless}}
|
|
98
|
+
{{/unless}}
|
|
89
99
|
const id = await this.{{route.bus}}.execute({{route.message}});
|
|
90
100
|
|
|
91
101
|
return { id };
|
|
@@ -94,8 +104,10 @@ export class {{name.pascal}}Controller {
|
|
|
94
104
|
{{#if route.returnsNothing}}
|
|
95
105
|
async handle({{route.requestParam}}): Promise<void> {
|
|
96
106
|
{{#unless route.mapper}}
|
|
107
|
+
{{#unless route.readsMessage}}
|
|
97
108
|
// TODO(domain): build the command from `request` (body, params); the actor is already there.
|
|
98
109
|
{{/unless}}
|
|
110
|
+
{{/unless}}
|
|
99
111
|
await this.{{route.bus}}.execute({{route.message}});
|
|
100
112
|
}
|
|
101
113
|
{{/if}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, expect, it } from '{{tests.module}}';
|
|
2
2
|
import { {{event.pascal}} } from '{{alias.context}}/domain/events/{{event.kebab}}.event{{alias.ext}}';
|
|
3
3
|
|
|
4
|
-
describe('{{event.
|
|
4
|
+
describe('{{event.title}}', () => {
|
|
5
5
|
it('is named after the context, the aggregate and the fact', () => {
|
|
6
6
|
const event = new {{event.pascal}}('{{aggregate.kebab}}-1', new Date('2026-01-01T00:00:00.000Z'));
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { describe, expect, it } from '{{tests.module}}';
|
|
2
2
|
import { {{name.pascal}}Service } from '{{alias.context}}/domain/services/{{name.kebab}}.service{{alias.ext}}';
|
|
3
3
|
|
|
4
|
-
describe('{{name.
|
|
5
|
-
it('
|
|
6
|
-
expect(
|
|
4
|
+
describe('{{name.title}}', () => {
|
|
5
|
+
it('is built with nothing: it decides from what it is given, with no port and no store', () => {
|
|
6
|
+
expect(() => new {{name.pascal}}Service()).not.toThrow();
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
// TODO(domain): replace each entry below by a test named after the business decision {{name.pascal}}Service makes, given aggregates built with the builders of test/builders.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, expect, it } from '{{tests.module}}';
|
|
2
2
|
import { {{name.pascal}} } from '{{alias.context}}/domain/entities/{{name.kebab}}.entity{{alias.ext}}';
|
|
3
3
|
|
|
4
|
-
describe('{{name.
|
|
4
|
+
describe('{{name.title}}', () => {
|
|
5
5
|
it('is identified by its id, not by its attributes', () => {
|
|
6
6
|
const first = {{name.pascal}}.create('{{name.kebab}}-1', {});
|
|
7
7
|
const same = {{name.pascal}}.rehydrate('{{name.kebab}}-1', {});
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
{{#unless handler.afterCommit}}
|
|
2
|
+
import type { CommandBus } from '@ddd-ts-kit/kernel';
|
|
3
|
+
{{/unless}}
|
|
1
4
|
import { DomainEventHandler } from '@ddd-ts-kit/kernel/declarations';
|
|
2
5
|
import { {{event.pascal}} } from '{{alias.context}}/domain/events/{{event.kebab}}.event{{alias.ext}}';
|
|
3
6
|
|
|
4
7
|
@DomainEventHandler({{event.pascal}}{{#if handler.afterCommit}}, { phase: 'after-commit' }{{/if}})
|
|
5
8
|
export class {{handler.pascal}}EventHandler implements DomainEventHandler<{{event.pascal}}> {
|
|
9
|
+
{{#unless handler.afterCommit}}
|
|
10
|
+
constructor(private readonly commands: CommandBus) {}
|
|
11
|
+
|
|
12
|
+
{{/unless}}
|
|
6
13
|
async handle(event: {{event.pascal}}): Promise<void> {
|
|
7
14
|
{{#unless handler.afterCommit}}
|
|
8
|
-
// TODO(domain): state the policy "when {{event.words}}, then ..." and carry it out by executing a command of this context
|
|
15
|
+
// TODO(domain): state the policy "when {{event.words}}, then ..." and carry it out by executing a command of this context, `await this.commands.execute(new ...Command(...))`. It runs at the end of the unit of work, before the commit: depend only on what the transaction covers; an effect outside the database belongs in the after-commit phase or, when it must not be lost, behind an integration event, where a reaction in another context goes too.
|
|
9
16
|
{{/unless}}
|
|
10
17
|
{{#if handler.afterCommit}}
|
|
11
18
|
// TODO(domain): state the effect "once {{event.words}} is committed, then ..." and carry it out through its port (receive the port in the constructor). It runs after the commit, at most once: a failure is reported and never fails the command, and a crash loses it, so what must not be lost goes through an integration event instead. It never saves an aggregate: a state change is a command sent through `CommandBus`.
|
|
@@ -1,38 +1,32 @@
|
|
|
1
1
|
import { describe, expect, it } from '{{tests.module}}';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
announceDomainEvents,
|
|
6
|
-
unitOfWorkStage,
|
|
7
|
-
} from '@ddd-ts-kit/kernel';
|
|
2
|
+
{{#unless handler.afterCommit}}
|
|
3
|
+
import { RecordingCommandBus } from '@ddd-ts-kit/kernel/testing';
|
|
4
|
+
{{/unless}}
|
|
8
5
|
import { {{handler.pascal}}EventHandler } from '{{alias.context}}/application/event-handlers/{{handler.kebab}}.event-handler{{alias.ext}}';
|
|
9
6
|
import { {{event.pascal}} } from '{{alias.context}}/domain/events/{{event.kebab}}.event{{alias.ext}}';
|
|
10
7
|
|
|
8
|
+
const fact = new {{event.pascal}}('{{aggregate.kebab}}-1', new Date('2026-01-01T00:00:00.000Z'));
|
|
9
|
+
|
|
11
10
|
describe('When {{event.words}}', () => {
|
|
12
11
|
{{#unless handler.afterCommit}}
|
|
13
|
-
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
it('reacts once the unit of work has committed, without failing', async () => {
|
|
17
|
-
{{/if}}
|
|
18
|
-
const handler = new {{handler.pascal}}EventHandler();
|
|
19
|
-
const event = new {{event.pascal}}('{{aggregate.kebab}}-1', new Date('2026-01-01T00:00:00.000Z'));
|
|
20
|
-
const domainEvents = new InMemoryDomainEventDispatcher();
|
|
21
|
-
const reactedAt: string[] = [];
|
|
12
|
+
// TODO(domain): replace this test by the entries below once the policy is written: each named after the policy, of the same shape, the fact given and the command recorded asserted, `expect(commands.executed).toEqual([new ...Command(...)])`.
|
|
13
|
+
it('handles the fact and sends no command until the policy is written', async () => {
|
|
14
|
+
const commands = new RecordingCommandBus();
|
|
22
15
|
|
|
23
|
-
|
|
24
|
-
await handler.handle(event);
|
|
25
|
-
reactedAt.push(unitOfWorkStage());
|
|
26
|
-
};
|
|
16
|
+
await new {{handler.pascal}}EventHandler(commands).handle(fact);
|
|
27
17
|
|
|
28
|
-
|
|
29
|
-
await new InMemoryUnitOfWork().run(() => announceDomainEvents([event], domainEvents));
|
|
30
|
-
|
|
31
|
-
expect(reactedAt).toEqual(['{{handler.phase}}']);
|
|
32
|
-
expect(domainEvents.afterCommitFailures).toEqual([]);
|
|
18
|
+
expect(commands.executed).toEqual([]);
|
|
33
19
|
});
|
|
34
20
|
|
|
35
|
-
// TODO(domain): replace each entry below by a test named after the policy this reaction implements.
|
|
36
21
|
it.todo('carries out the policy that follows the fact');
|
|
22
|
+
{{/unless}}
|
|
23
|
+
{{#if handler.afterCommit}}
|
|
24
|
+
// TODO(domain): replace this test by the entries below once the effect is written: each named after the effect, the handler given the fake of its port and the fact, what the fake kept asserted.
|
|
25
|
+
it('handles the fact and has no effect until the effect is written', async () => {
|
|
26
|
+
await expect(new {{handler.pascal}}EventHandler().handle(fact)).resolves.toBeUndefined();
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it.todo('carries out the effect that follows the commit of the fact');
|
|
30
|
+
{{/if}}
|
|
37
31
|
it.todo('does nothing when the policy does not apply');
|
|
38
32
|
});
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
{{#unless handler.afterCommit}}
|
|
2
|
+
import type { CommandBus } from '@ddd-ts-kit/kernel';
|
|
3
|
+
{{/unless}}
|
|
1
4
|
import type { {{event.pascal}} } from '{{alias.context}}/domain/events/{{event.kebab}}.event{{alias.ext}}';
|
|
2
5
|
|
|
3
6
|
export class {{handler.pascal}}EventHandler {
|
|
7
|
+
{{#unless handler.afterCommit}}
|
|
8
|
+
constructor(private readonly commands: CommandBus) {}
|
|
9
|
+
|
|
10
|
+
{{/unless}}
|
|
4
11
|
async handle(event: {{event.pascal}}): Promise<void> {
|
|
5
12
|
{{#unless handler.afterCommit}}
|
|
6
|
-
// TODO(domain): state the policy "when {{event.words}}, then ..." and carry it out by executing a command
|
|
13
|
+
// TODO(domain): state the policy "when {{event.words}}, then ..." and carry it out by executing a command of this context, `await this.commands.execute(new ...Command(...))`. It runs at the end of the unit of work, before the commit: depend only on what the transaction covers; an effect outside the database belongs in the after-commit phase or, when it must not be lost, behind an integration event, where a reaction in another context goes too.
|
|
7
14
|
{{/unless}}
|
|
8
15
|
{{#if handler.afterCommit}}
|
|
9
16
|
// TODO(domain): state the effect "once {{event.words}} is committed, then ..." and carry it out through its port (inject it through the constructor). It runs after the commit, at most once: a failure is reported and never fails the command, and a crash loses it, so what must not be lost goes through an integration event instead. It never saves an aggregate: a state change is a command sent through the command bus.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { {{handler.pascal}}EventHandler } from '{{alias.context}}/application/event-handlers/{{handler.kebab}}.event-handler{{alias.ext}}';
|
|
3
3
|
import { {{event.pascal}} } from '{{alias.context}}/domain/events/{{event.kebab}}.event{{alias.ext}}';
|
|
4
4
|
@@reactions
|
|
5
|
-
const {{handler.camel}}EventHandler = platform.adapter(new {{handler.pascal}}EventHandler(), { kind: 'domain-event-handler', context: '{{context.kebab}}' });
|
|
5
|
+
const {{handler.camel}}EventHandler = platform.adapter(new {{handler.pascal}}EventHandler({{#unless handler.afterCommit}}platform.commands{{/unless}}), { kind: 'domain-event-handler', context: '{{context.kebab}}' });
|
|
6
6
|
|
|
7
7
|
{{#if handler.afterCommit}}
|
|
8
8
|
platform.domainEvents.on(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@@imports
|
|
2
|
-
import { DomainEventDispatcher } from '@ddd-ts-kit/kernel';
|
|
2
|
+
import { {{#unless handler.afterCommit}}CommandBus, {{/unless}}DomainEventDispatcher } from '@ddd-ts-kit/kernel';
|
|
3
3
|
import { {{handler.pascal}}EventHandler } from '{{alias.context}}/application/event-handlers/{{handler.kebab}}.event-handler{{alias.ext}}';
|
|
4
4
|
import { {{event.pascal}} } from '{{alias.context}}/domain/events/{{event.kebab}}.event{{alias.ext}}';
|
|
5
5
|
@@registrations
|
|
6
|
-
builder.bind({{handler.pascal}}EventHandler).toClass({{handler.pascal}}EventHandler).as('domain-event-handler');
|
|
6
|
+
builder.bind({{handler.pascal}}EventHandler).toClass({{handler.pascal}}EventHandler{{#unless handler.afterCommit}}, [CommandBus]{{/unless}}).as('domain-event-handler');
|
|
7
7
|
@@start
|
|
8
8
|
{{#if handler.afterCommit}}
|
|
9
9
|
resolve(DomainEventDispatcher).on(
|
|
@@ -1,46 +1,24 @@
|
|
|
1
1
|
import { Readable } from 'node:stream';
|
|
2
2
|
import { describe, expect, it } from '{{tests.module}}';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { routeOf } from '@ddd-ts-kit/http/testing';
|
|
4
|
+
import { RecordingCommandBus } from '@ddd-ts-kit/kernel/testing';
|
|
5
5
|
{{route.messageImport}}
|
|
6
6
|
{{route.specImports}}
|
|
7
7
|
|
|
8
|
-
{{#if route.protected}}
|
|
9
|
-
const caller: Actor = { id: 'user-1', type: 'user', roles: [], attributes: {} };
|
|
10
|
-
|
|
11
|
-
{{/if}}
|
|
12
8
|
describe('{{route.method}} {{route.path}}', () => {
|
|
13
9
|
it('declares the file it receives, and hands it to the command as it streams', async () => {
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const commands = new InMemoryCommandBus().register({{route.input}}, {
|
|
17
|
-
execute: async ({ upload }) => {
|
|
18
|
-
received.push(upload.fileName);
|
|
19
|
-
|
|
20
|
-
return 'file-1';
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
const route = controllerRoute(new {{name.pascal}}Controller(commands));
|
|
10
|
+
const commands = new RecordingCommandBus().answering({{route.input}}, () => 'file-1');
|
|
25
11
|
const file = { fileName: 'scan.pdf', mediaType: 'application/pdf', stream: Readable.from([Buffer.from('%PDF-')]) };
|
|
12
|
+
const uploads = async () => ({ fields: {}, file });
|
|
13
|
+
const { route{{#if route.protected}}, caller{{/if}}, send } = routeOf(new {{name.pascal}}Controller(commands), { uploads });
|
|
26
14
|
|
|
27
|
-
const response = await
|
|
28
|
-
route,
|
|
29
|
-
{ params: {{route.sampleParams}}, query: {}, headers: {}, body: {}, raw: undefined },
|
|
30
|
-
{
|
|
31
|
-
validateResponses: true,
|
|
32
|
-
uploads: async () => ({ fields: {}, file }),
|
|
33
|
-
{{#if route.protected}}
|
|
34
|
-
resolvePrincipal: () => caller,
|
|
35
|
-
{{/if}}
|
|
36
|
-
},
|
|
37
|
-
);
|
|
15
|
+
const response = await send({{route.sentRequest}});
|
|
38
16
|
|
|
39
17
|
expect(response.status).toBe(201);
|
|
40
|
-
expect(
|
|
18
|
+
expect(commands.executed).toMatchObject([{ {{#if route.protected}}actor: caller, {{/if}}upload: { area: '{{name.kebab}}', received: { fileName: 'scan.pdf' } } }]);
|
|
41
19
|
expect(route.upload?.field).toBe('file');
|
|
42
20
|
});
|
|
43
21
|
|
|
44
|
-
// TODO(domain): replace each entry below by a test of the
|
|
22
|
+
// TODO(domain): replace each entry below by a test of the same shape, through the same `routeOf` (`{ caller }` names another one, `anonymousActor()` of the kernel nobody).
|
|
45
23
|
it.todo('answers the documented status for each error code of the use case');
|
|
46
24
|
});
|
|
@@ -6,14 +6,14 @@ A ddd-ts-kit project: one bounded context per directory of `{{config.contextsDir
|
|
|
6
6
|
|
|
7
7
|
- `npm run verify`: types, lint, format, tests with the coverage thresholds of `ddd-ts-kit.config.json` (per context and layer), architecture rules, import graph, dead code, documentation drift. Once, before a commit that closes a slice. A layer under its threshold gets the missing test, never an exclusion.
|
|
8
8
|
- `npx ddd-ts-kit check --changed-since <ref>`: the architecture rules on what changed; `npx ddd-ts-kit explain <rule-id>` gives the reason and an example.
|
|
9
|
-
- `npx ddd-ts-kit list
|
|
9
|
+
- `npx ddd-ts-kit list`: the map of the contexts. `npx ddd-ts-kit describe <context>`: one context as facts (use cases, routes, events, ports, dependencies). Add `--json` for a script only.
|
|
10
10
|
- `npx ddd-ts-kit status`: the next step of the plan, the slices by status, the markers left per context. `npx ddd-ts-kit todo [<context>]`: each remaining `TODO(domain)` and `it.todo` as `file:line`.
|
|
11
11
|
- `npm run regenerate`: every derived file in one step, after a change of route, schema, event or config: `.dependency-cruiser.cjs`, then `npm run docs:generate`, which runs `npx ddd-ts-kit docs` (the context map, the barrels, the generated sections of each `CONTEXT.md`) and writes the OpenAPI contract, the forms and the event catalog.
|
|
12
12
|
|
|
13
13
|
## Read less
|
|
14
14
|
|
|
15
|
-
1. `describe <context
|
|
16
|
-
2. Open only
|
|
15
|
+
1. `npx ddd-ts-kit describe <context>` and the `CONTEXT.md` of the context before the tree: do not browse `{{config.sourceRoot}}/` to learn what exists.
|
|
16
|
+
2. Open only the places a generator lists under `todos` (`file:line`, the sentence is in the file) or a violation names.
|
|
17
17
|
3. `check --changed-since <ref>` and the tests of the context while iterating; `npm run verify` once at the end.
|
|
18
18
|
|
|
19
19
|
## Rules by layer
|
|
@@ -33,8 +33,8 @@ Never edit the contracts under `openapi/` (`openapi/openapi.yaml`, one file per
|
|
|
33
33
|
{{#if sdk.on}}
|
|
34
34
|
{{sdk.instruction}}
|
|
35
35
|
{{/if}}
|
|
36
|
-
Imports:
|
|
37
|
-
Everywhere: one exported class, interface or function per file, named after it in kebab-case; at most 350 lines a file, 30 lines and 3 parameters a function; `private` members, never `#name
|
|
36
|
+
Imports: by alias (`{{alias.source}}/...` for `{{config.sourceRoot}}/`), never by a relative path, {{#if alias.extensionless}}never ending in `.js` or `.ts`, and naming a file, never a directory{{/if}}{{#unless alias.extensionless}}always ending in `.js`{{/unless}}: `npm run lint:fix` rewrites them (`imports/alias-only`, `imports/extension`). Never add an alias mapping nor change `module` or `moduleResolution` in `tsconfig.json` (`imports/alias-declared`), and compile with `npm run build` only.
|
|
37
|
+
Everywhere: one exported class, interface or function per file, named after it in kebab-case; at most 350 lines a file, 30 lines and 3 parameters a function; `private` members, never `#name`. The layout is Biome's, then `lint:fix`: `npm run format`, then `npm run lint:fix` (blank lines, braces); never Prettier nor a bare `npx biome`, and no token spent on line breaks.
|
|
38
38
|
|
|
39
39
|
## Verifying your work
|
|
40
40
|
|
|
@@ -31,6 +31,11 @@ npm run db:migrate
|
|
|
31
31
|
npm run dev
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
+
`docker-compose.yml` publishes every port on `127.0.0.1` only: its accounts and passwords are
|
|
35
|
+
for this machine, and a port published on every interface is open to the network, past the
|
|
36
|
+
firewall of the host. To reach a service from another machine on purpose, write the address to
|
|
37
|
+
listen on in its `ports` entry (`"0.0.0.0:5432:5432"`), with credentials of its own.
|
|
38
|
+
|
|
34
39
|
{{#if persistence.hasDatabase}}
|
|
35
40
|
Every migration is named `<timestamp>_<what-it-does>`: `npm run db:generate` refuses to run
|
|
36
41
|
without a name, so two branches never write the same file, and `npm run check:arch` reports
|
|
@@ -44,6 +49,23 @@ when the file is there, and `--import` loads `{{config.platformDir}}/observabili
|
|
|
44
49
|
everything else so that instrumentation is installed first.
|
|
45
50
|
`{{config.platformDir}}/config/load-config.ts` validates the variables and refuses to start when
|
|
46
51
|
one is wrong.
|
|
52
|
+
{{#if http.any}}
|
|
53
|
+
{{#unless http.hono}}
|
|
54
|
+
|
|
55
|
+
Behind a load balancer or a reverse proxy, set `TRUST_PROXY` (see `.env.example`): a number of
|
|
56
|
+
hops, or the addresses of the proxies, believed when they name the caller in `X-Forwarded-For`.
|
|
57
|
+
Left out, no proxy is trusted: `request.ip` is the address of the socket{{#if cache.rateLimit}}, and behind a proxy
|
|
58
|
+
every caller shares one window of the rate limit{{/if}}.
|
|
59
|
+
{{/unless}}
|
|
60
|
+
{{#if http.hono}}
|
|
61
|
+
{{#if cache.rateLimit}}
|
|
62
|
+
|
|
63
|
+
Behind a load balancer or a reverse proxy, set `TRUST_PROXY` (see `.env.example`) to the number of
|
|
64
|
+
proxies that add the caller to `X-Forwarded-For`: left out, no proxy is trusted and every caller
|
|
65
|
+
behind one shares one window of the rate limit.
|
|
66
|
+
{{/if}}
|
|
67
|
+
{{/if}}
|
|
68
|
+
{{/if}}
|
|
47
69
|
{{#if docs.any}}
|
|
48
70
|
|
|
49
71
|
The API documentation is served at `/docs` and the contract at `/openapi.json`, outside
|
|
@@ -317,7 +339,7 @@ declaration that no longer follows `importAlias` and `importExtension` of
|
|
|
317
339
|
|
|
318
340
|
`npm run verify` chains them with the tests. Git hooks: `npm run hooks:install` once per clone
|
|
319
341
|
(lefthook: lint and architecture on staged files, the pages of what the tests state regenerated when a
|
|
320
|
-
spec is staged, conventional commit messages).
|
|
342
|
+
spec, a source or the config is staged, conventional commit messages).
|
|
321
343
|
{{#if ci.any}}
|
|
322
344
|
The pipeline calls the same `ci:*` scripts; what makes it binding is described in
|
|
323
345
|
{{#if ci.github}}
|
|
@@ -20,4 +20,4 @@ At most five nits per review; the rest as a count. A nit that recurs becomes a l
|
|
|
20
20
|
|
|
21
21
|
## Do not report
|
|
22
22
|
|
|
23
|
-
Generated files (
|
|
23
|
+
Generated files ({{review.generatedFiles}}) and anything `npm run verify` already refuses. `npx ddd-ts-kit digest --base <base>` lists those of a branch apart from the files to review, in reading order.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Local infrastructure. `npm run infra:up` starts it and waits until it is healthy;
|
|
2
2
|
# add `--profile observability` to also get Jaeger{{#if authn.keycloak}}, `--profile identity` to get Keycloak{{/if}}{{#if errors.sentry}}, `--profile errors` to get GlitchTip{{/if}}. Ports come from .env (see .env.example).
|
|
3
|
+
# Every port is published on 127.0.0.1 only: the credentials below are for this machine. To reach a service from another
|
|
4
|
+
# machine on purpose, write the address to listen on in its entry ("0.0.0.0:5432:5432"), never with these credentials.
|
|
3
5
|
name: {{project.name}}
|
|
4
6
|
|
|
5
7
|
services:
|
|
@@ -11,7 +13,7 @@ services:
|
|
|
11
13
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-app}
|
|
12
14
|
POSTGRES_DB: ${POSTGRES_DB:-app}
|
|
13
15
|
ports:
|
|
14
|
-
- "
|
|
16
|
+
- "127.0.0.1:${POSTGRES_PORT:-5432}:5432"
|
|
15
17
|
volumes:
|
|
16
18
|
- postgres-data:/var/lib/postgresql
|
|
17
19
|
healthcheck:
|
|
@@ -30,7 +32,7 @@ services:
|
|
|
30
32
|
MYSQL_DATABASE: ${MYSQL_DATABASE:-app}
|
|
31
33
|
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
|
|
32
34
|
ports:
|
|
33
|
-
- "
|
|
35
|
+
- "127.0.0.1:${MYSQL_PORT:-3306}:3306"
|
|
34
36
|
volumes:
|
|
35
37
|
- mysql-data:/var/lib/mysql
|
|
36
38
|
healthcheck:
|
|
@@ -47,8 +49,8 @@ services:
|
|
|
47
49
|
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER:-app}
|
|
48
50
|
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD:-app}
|
|
49
51
|
ports:
|
|
50
|
-
- "
|
|
51
|
-
- "
|
|
52
|
+
- "127.0.0.1:${RABBITMQ_PORT:-5672}:5672"
|
|
53
|
+
- "127.0.0.1:${RABBITMQ_MANAGEMENT_PORT:-15672}:15672"
|
|
52
54
|
healthcheck:
|
|
53
55
|
test: ["CMD", "rabbitmq-diagnostics", "-q", "check_port_connectivity"]
|
|
54
56
|
interval: 5s
|
|
@@ -74,7 +76,7 @@ services:
|
|
|
74
76
|
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
|
|
75
77
|
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
|
|
76
78
|
ports:
|
|
77
|
-
- "
|
|
79
|
+
- "127.0.0.1:${KAFKA_PORT:-9092}:9092"
|
|
78
80
|
healthcheck:
|
|
79
81
|
test: ["CMD-SHELL", "/opt/kafka/bin/kafka-broker-api-versions.sh --bootstrap-server localhost:9092 > /dev/null 2>&1"]
|
|
80
82
|
interval: 5s
|
|
@@ -88,7 +90,7 @@ services:
|
|
|
88
90
|
image: nats:2.15.0-alpine
|
|
89
91
|
command: ["-js", "-sd", "/data", "-m", "8222"]
|
|
90
92
|
ports:
|
|
91
|
-
- "
|
|
93
|
+
- "127.0.0.1:${NATS_PORT:-4222}:4222"
|
|
92
94
|
volumes:
|
|
93
95
|
- nats-data:/data
|
|
94
96
|
healthcheck:
|
|
@@ -109,7 +111,7 @@ services:
|
|
|
109
111
|
memlock: -1
|
|
110
112
|
command: ["--maxmemory=512mb", "--proactor_threads=2"]
|
|
111
113
|
ports:
|
|
112
|
-
- "
|
|
114
|
+
- "127.0.0.1:${REDIS_PORT:-6379}:6379"
|
|
113
115
|
volumes:
|
|
114
116
|
- {{redis.service}}-data:/data
|
|
115
117
|
healthcheck:
|
|
@@ -173,7 +175,7 @@ services:
|
|
|
173
175
|
KC_BOOTSTRAP_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD:-admin}
|
|
174
176
|
KC_HEALTH_ENABLED: "true"
|
|
175
177
|
ports:
|
|
176
|
-
- "
|
|
178
|
+
- "127.0.0.1:${KEYCLOAK_PORT:-8080}:8080"
|
|
177
179
|
volumes:
|
|
178
180
|
- ./docker/keycloak:/opt/keycloak/data/import:ro
|
|
179
181
|
healthcheck:
|