ddd-ts-kit 0.113.2 → 0.115.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 +375 -1
- package/README.fr.md +45 -34
- package/README.md +43 -32
- package/dist/build/specifier-literals.d.ts.map +1 -1
- package/dist/build/specifier-literals.js +6 -6
- package/dist/build/specifier-literals.js.map +1 -1
- package/dist/check/catalogue/default-severity.d.ts +3 -0
- package/dist/check/catalogue/default-severity.d.ts.map +1 -0
- package/dist/check/catalogue/default-severity.js +8 -0
- package/dist/check/catalogue/default-severity.js.map +1 -0
- package/dist/check/catalogue/delegated-rules.d.ts +2 -0
- package/dist/check/catalogue/delegated-rules.d.ts.map +1 -1
- package/dist/check/catalogue/delegated-rules.js.map +1 -1
- package/dist/check/catalogue/eslint-judged-rules.d.ts +7 -0
- package/dist/check/catalogue/eslint-judged-rules.d.ts.map +1 -0
- package/dist/check/catalogue/eslint-judged-rules.js +64 -0
- package/dist/check/catalogue/eslint-judged-rules.js.map +1 -0
- package/dist/check/catalogue/eslint-only-rules.d.ts +8 -4
- package/dist/check/catalogue/eslint-only-rules.d.ts.map +1 -1
- package/dist/check/catalogue/eslint-only-rules.js +23 -1
- package/dist/check/catalogue/eslint-only-rules.js.map +1 -1
- package/dist/check/catalogue/formatter-rule.d.ts +1 -0
- package/dist/check/catalogue/formatter-rule.d.ts.map +1 -1
- package/dist/check/catalogue/formatter-rule.js +1 -0
- package/dist/check/catalogue/formatter-rule.js.map +1 -1
- package/dist/check/catalogue/rule-ids.d.ts.map +1 -1
- package/dist/check/catalogue/rule-ids.js +2 -2
- package/dist/check/catalogue/rule-ids.js.map +1 -1
- package/dist/check/catalogue/rules.d.ts +1 -0
- package/dist/check/catalogue/rules.d.ts.map +1 -1
- package/dist/check/catalogue/rules.js +9 -1
- package/dist/check/catalogue/rules.js.map +1 -1
- package/dist/check/catalogue/severity-of.d.ts +7 -0
- package/dist/check/catalogue/severity-of.d.ts.map +1 -0
- package/dist/check/catalogue/severity-of.js +7 -0
- package/dist/check/catalogue/severity-of.js.map +1 -0
- package/dist/check/catalogue/standalone-rule-ids.d.ts +3 -0
- package/dist/check/catalogue/standalone-rule-ids.d.ts.map +1 -0
- package/dist/check/catalogue/standalone-rule-ids.js +4 -0
- package/dist/check/catalogue/standalone-rule-ids.js.map +1 -0
- package/dist/check/commands/baseline-command.d.ts +6 -0
- package/dist/check/commands/baseline-command.d.ts.map +1 -0
- package/dist/check/commands/baseline-command.js +43 -0
- package/dist/check/commands/baseline-command.js.map +1 -0
- package/dist/check/commands/changed-since.d.ts +6 -0
- package/dist/check/commands/changed-since.d.ts.map +1 -0
- package/dist/check/commands/changed-since.js +14 -0
- package/dist/check/commands/changed-since.js.map +1 -0
- package/dist/check/commands/check-command.d.ts +2 -2
- package/dist/check/commands/check-command.d.ts.map +1 -1
- package/dist/check/commands/check-command.js +24 -91
- package/dist/check/commands/check-command.js.map +1 -1
- package/dist/check/commands/check-file-command.d.ts +1 -2
- package/dist/check/commands/check-file-command.d.ts.map +1 -1
- package/dist/check/commands/check-file-command.js +29 -26
- package/dist/check/commands/check-file-command.js.map +1 -1
- package/dist/check/commands/check-formats.d.ts +4 -0
- package/dist/check/commands/check-formats.d.ts.map +1 -0
- package/dist/check/commands/check-formats.js +3 -0
- package/dist/check/commands/check-formats.js.map +1 -0
- package/dist/check/commands/clean-only-command.d.ts +6 -0
- package/dist/check/commands/clean-only-command.d.ts.map +1 -0
- package/dist/check/commands/clean-only-command.js +51 -0
- package/dist/check/commands/clean-only-command.js.map +1 -0
- package/dist/check/commands/explain-command.d.ts +1 -2
- package/dist/check/commands/explain-command.d.ts.map +1 -1
- package/dist/check/commands/explain-command.js +26 -18
- package/dist/check/commands/explain-command.js.map +1 -1
- package/dist/check/commands/print-check.d.ts +12 -0
- package/dist/check/commands/print-check.d.ts.map +1 -0
- package/dist/check/commands/print-check.js +8 -0
- package/dist/check/commands/print-check.js.map +1 -0
- package/dist/check/commands/refuse-missing-paths.d.ts +4 -0
- package/dist/check/commands/refuse-missing-paths.d.ts.map +1 -0
- package/dist/check/commands/refuse-missing-paths.js +11 -0
- package/dist/check/commands/refuse-missing-paths.js.map +1 -0
- package/dist/check/commands/rules-command.d.ts +1 -2
- package/dist/check/commands/rules-command.d.ts.map +1 -1
- package/dist/check/commands/rules-command.js +17 -20
- package/dist/check/commands/rules-command.js.map +1 -1
- package/dist/check/commands/self-check.d.ts +1 -3
- package/dist/check/commands/self-check.d.ts.map +1 -1
- package/dist/check/commands/self-check.js +25 -19
- package/dist/check/commands/self-check.js.map +1 -1
- package/dist/check/domain-events/event-handlers-of.d.ts +2 -2
- package/dist/check/domain-events/event-handlers-of.d.ts.map +1 -1
- package/dist/check/domain-events/event-handlers-of.js +1 -2
- package/dist/check/domain-events/event-handlers-of.js.map +1 -1
- package/dist/check/engine/run-check.d.ts.map +1 -1
- package/dist/check/engine/run-check.js +17 -11
- package/dist/check/engine/run-check.js.map +1 -1
- package/dist/check/errors/builds-through-factories.d.ts +2 -2
- package/dist/check/errors/builds-through-factories.d.ts.map +1 -1
- package/dist/check/errors/builds-through-factories.js.map +1 -1
- package/dist/check/errors/kit-error-codes.d.ts.map +1 -1
- package/dist/check/errors/kit-error-codes.js +2 -0
- package/dist/check/errors/kit-error-codes.js.map +1 -1
- package/dist/check/explain/documented-rule.d.ts +1 -1
- package/dist/check/explain/documented-rule.d.ts.map +1 -1
- package/dist/check/explain/documented-rule.js +4 -7
- package/dist/check/explain/documented-rule.js.map +1 -1
- package/dist/check/fixtures/alias-declarations.js +2 -2
- package/dist/check/fixtures/alias-declarations.js.map +1 -1
- package/dist/check/fixtures/alias-declared-fixtures.js +1 -1
- package/dist/check/fixtures/alias-declared-fixtures.js.map +1 -1
- package/dist/check/fixtures/config-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/config-fixtures.js +29 -0
- package/dist/check/fixtures/config-fixtures.js.map +1 -1
- package/dist/check/fixtures/declarations-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/declarations-fixtures.js +4 -0
- package/dist/check/fixtures/declarations-fixtures.js.map +1 -1
- package/dist/check/fixtures/domain-events-fixtures.js +5 -5
- package/dist/check/fixtures/domain-events-fixtures.js.map +1 -1
- package/dist/check/fixtures/purity-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/purity-fixtures.js +25 -0
- package/dist/check/fixtures/purity-fixtures.js.map +1 -1
- package/dist/check/fixtures/tenancy-prisma-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/tenancy-prisma-fixtures.js +5 -0
- package/dist/check/fixtures/tenancy-prisma-fixtures.js.map +1 -1
- package/dist/check/fixtures/tenancy-typeorm-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/tenancy-typeorm-fixtures.js +1 -0
- package/dist/check/fixtures/tenancy-typeorm-fixtures.js.map +1 -1
- package/dist/check/governance/records-of.d.ts +4 -0
- package/dist/check/governance/records-of.d.ts.map +1 -0
- package/dist/check/governance/records-of.js +5 -0
- package/dist/check/governance/records-of.js.map +1 -0
- package/dist/check/language/glossaries-of.d.ts +4 -0
- package/dist/check/language/glossaries-of.d.ts.map +1 -0
- package/dist/check/language/glossaries-of.js +5 -0
- package/dist/check/language/glossaries-of.js.map +1 -0
- package/dist/check/language/glossaries.d.ts +0 -3
- package/dist/check/language/glossaries.d.ts.map +1 -1
- package/dist/check/language/glossaries.js +0 -9
- package/dist/check/language/glossaries.js.map +1 -1
- package/dist/check/migrations/drizzle-migration-folder.d.ts +4 -0
- package/dist/check/migrations/drizzle-migration-folder.d.ts.map +1 -0
- package/dist/check/migrations/drizzle-migration-folder.js +7 -0
- package/dist/check/migrations/drizzle-migration-folder.js.map +1 -0
- package/dist/check/migrations/migrations-in.d.ts +6 -0
- package/dist/check/migrations/migrations-in.d.ts.map +1 -0
- package/dist/check/migrations/migrations-in.js +28 -0
- package/dist/check/migrations/migrations-in.js.map +1 -0
- package/dist/check/migrations/read-migration-folder.d.ts.map +1 -1
- package/dist/check/migrations/read-migration-folder.js +2 -34
- package/dist/check/migrations/read-migration-folder.js.map +1 -1
- package/dist/check/model/finding.d.ts +7 -0
- package/dist/check/model/finding.d.ts.map +1 -1
- package/dist/check/model/project.d.ts +17 -6
- package/dist/check/model/project.d.ts.map +1 -1
- package/dist/check/model/resolved-import.d.ts +3 -7
- package/dist/check/model/resolved-import.d.ts.map +1 -1
- package/dist/check/model/rule.d.ts +36 -7
- package/dist/check/model/rule.d.ts.map +1 -1
- package/dist/check/ports/class-declaring.d.ts +2 -2
- package/dist/check/ports/class-declaring.d.ts.map +1 -1
- package/dist/check/ports/class-declaring.js +1 -2
- package/dist/check/ports/class-declaring.js.map +1 -1
- package/dist/check/privacy/judged-only-when-on.d.ts +3 -0
- package/dist/check/privacy/judged-only-when-on.d.ts.map +1 -0
- package/dist/check/privacy/judged-only-when-on.js +3 -0
- package/dist/check/privacy/judged-only-when-on.js.map +1 -0
- package/dist/check/project/assemble-project.d.ts +7 -2
- package/dist/check/project/assemble-project.d.ts.map +1 -1
- package/dist/check/project/assemble-project.js +10 -8
- package/dist/check/project/assemble-project.js.map +1 -1
- package/dist/check/project/load-source-file.d.ts.map +1 -1
- package/dist/check/project/load-source-file.js +1 -7
- package/dist/check/project/load-source-file.js.map +1 -1
- package/dist/check/project/source-reader.d.ts +7 -0
- package/dist/check/project/source-reader.d.ts.map +1 -0
- package/dist/check/project/source-reader.js +29 -0
- package/dist/check/project/source-reader.js.map +1 -0
- package/dist/check/purity/ambient-mentions.d.ts +8 -0
- package/dist/check/purity/ambient-mentions.d.ts.map +1 -0
- package/dist/check/purity/ambient-mentions.js +81 -0
- package/dist/check/purity/ambient-mentions.js.map +1 -0
- package/dist/check/purity/define-purity-rule.d.ts +9 -4
- package/dist/check/purity/define-purity-rule.d.ts.map +1 -1
- package/dist/check/purity/define-purity-rule.js +23 -16
- package/dist/check/purity/define-purity-rule.js.map +1 -1
- package/dist/check/purity/forbidden-named-imports.d.ts +6 -0
- package/dist/check/purity/forbidden-named-imports.d.ts.map +1 -0
- package/dist/check/purity/forbidden-named-imports.js +17 -0
- package/dist/check/purity/forbidden-named-imports.js.map +1 -0
- package/dist/check/purity/forbidden-use.d.ts +6 -0
- package/dist/check/purity/forbidden-use.d.ts.map +1 -0
- package/dist/check/purity/forbidden-use.js +2 -0
- package/dist/check/purity/forbidden-use.js.map +1 -0
- package/dist/check/purity/forbidden-uses.d.ts +6 -0
- package/dist/check/purity/forbidden-uses.d.ts.map +1 -0
- package/dist/check/purity/forbidden-uses.js +57 -0
- package/dist/check/purity/forbidden-uses.js.map +1 -0
- package/dist/check/purity/is-member-declaration.d.ts +8 -0
- package/dist/check/purity/is-member-declaration.d.ts.map +1 -0
- package/dist/check/purity/is-member-declaration.js +32 -0
- package/dist/check/purity/is-member-declaration.js.map +1 -0
- package/dist/check/purity/keys-taken-from.d.ts +9 -0
- package/dist/check/purity/keys-taken-from.d.ts.map +1 -0
- package/dist/check/purity/keys-taken-from.js +26 -0
- package/dist/check/purity/keys-taken-from.js.map +1 -0
- package/dist/check/purity/local-scopes.d.ts +9 -0
- package/dist/check/purity/local-scopes.d.ts.map +1 -0
- package/dist/check/purity/local-scopes.js +66 -0
- package/dist/check/purity/local-scopes.js.map +1 -0
- package/dist/check/purity/member-after.d.ts +4 -0
- package/dist/check/purity/member-after.d.ts.map +1 -0
- package/dist/check/purity/member-after.js +14 -0
- package/dist/check/purity/member-after.js.map +1 -0
- package/dist/check/purity/mention.d.ts +7 -0
- package/dist/check/purity/mention.d.ts.map +1 -0
- package/dist/check/purity/mention.js +2 -0
- package/dist/check/purity/mention.js.map +1 -0
- package/dist/check/purity/reference/forbidden-call.d.ts +4 -0
- package/dist/check/purity/reference/forbidden-call.d.ts.map +1 -0
- package/dist/check/purity/reference/forbidden-call.js +5 -0
- package/dist/check/purity/reference/forbidden-call.js.map +1 -0
- package/dist/check/purity/reference/forbidden-construction.d.ts +4 -0
- package/dist/check/purity/reference/forbidden-construction.d.ts.map +1 -0
- package/dist/check/purity/reference/forbidden-construction.js +8 -0
- package/dist/check/purity/reference/forbidden-construction.js.map +1 -0
- package/dist/check/purity/reference/forbidden-member.d.ts +4 -0
- package/dist/check/purity/reference/forbidden-member.d.ts.map +1 -0
- package/dist/check/purity/reference/forbidden-member.js +9 -0
- package/dist/check/purity/reference/forbidden-member.js.map +1 -0
- package/dist/check/purity/reference/forbidden-named-import.d.ts +4 -0
- package/dist/check/purity/reference/forbidden-named-import.d.ts.map +1 -0
- package/dist/check/purity/reference/forbidden-named-import.js +7 -0
- package/dist/check/purity/reference/forbidden-named-import.js.map +1 -0
- package/dist/check/purity/reference/global-objects.d.ts +3 -0
- package/dist/check/purity/reference/global-objects.d.ts.map +1 -0
- package/dist/check/purity/reference/global-objects.js +3 -0
- package/dist/check/purity/reference/global-objects.js.map +1 -0
- package/dist/check/purity/reference/purity-table.d.ts +21 -0
- package/dist/check/purity/reference/purity-table.d.ts.map +1 -0
- package/dist/check/purity/reference/purity-table.js +2 -0
- package/dist/check/purity/reference/purity-table.js.map +1 -0
- package/dist/check/purity/reference/purity-tables.d.ts +48 -0
- package/dist/check/purity/reference/purity-tables.d.ts.map +1 -0
- package/dist/check/purity/reference/purity-tables.js +68 -0
- package/dist/check/purity/reference/purity-tables.js.map +1 -0
- package/dist/check/purity/taken-key.d.ts +6 -0
- package/dist/check/purity/taken-key.d.ts.map +1 -0
- package/dist/check/purity/taken-key.js +2 -0
- package/dist/check/purity/taken-key.js.map +1 -0
- package/dist/check/purity/text/body-after.d.ts +7 -0
- package/dist/check/purity/text/body-after.d.ts.map +1 -0
- package/dist/check/purity/text/body-after.js +49 -0
- package/dist/check/purity/text/body-after.js.map +1 -0
- package/dist/check/purity/text/holder-of.d.ts +4 -0
- package/dist/check/purity/text/holder-of.d.ts.map +1 -0
- package/dist/check/purity/text/holder-of.js +17 -0
- package/dist/check/purity/text/holder-of.js.map +1 -0
- package/dist/check/purity/text/significant-after.d.ts +3 -0
- package/dist/check/purity/text/significant-after.d.ts.map +1 -0
- package/dist/check/purity/text/significant-after.js +9 -0
- package/dist/check/purity/text/significant-after.js.map +1 -0
- package/dist/check/purity/text/significant-before.d.ts +3 -0
- package/dist/check/purity/text/significant-before.d.ts.map +1 -0
- package/dist/check/purity/text/significant-before.js +9 -0
- package/dist/check/purity/text/significant-before.js.map +1 -0
- package/dist/check/purity/text/span.d.ts +6 -0
- package/dist/check/purity/text/span.d.ts.map +1 -0
- package/dist/check/purity/text/span.js +2 -0
- package/dist/check/purity/text/span.js.map +1 -0
- package/dist/check/purity/text/word-before.d.ts +3 -0
- package/dist/check/purity/text/word-before.d.ts.map +1 -0
- package/dist/check/purity/text/word-before.js +6 -0
- package/dist/check/purity/text/word-before.js.map +1 -0
- package/dist/check/read-models/list-findings.d.ts.map +1 -1
- package/dist/check/read-models/list-findings.js +3 -4
- package/dist/check/read-models/list-findings.js.map +1 -1
- package/dist/check/rules/aspects-outside-in.d.ts +2 -2
- package/dist/check/rules/aspects-outside-in.d.ts.map +1 -1
- package/dist/check/rules/aspects-outside-in.js +21 -14
- package/dist/check/rules/aspects-outside-in.js.map +1 -1
- package/dist/check/rules/aspects-timeout-covers-delegate.d.ts +2 -2
- package/dist/check/rules/aspects-timeout-covers-delegate.d.ts.map +1 -1
- package/dist/check/rules/aspects-timeout-covers-delegate.js +18 -1
- package/dist/check/rules/aspects-timeout-covers-delegate.js.map +1 -1
- package/dist/check/rules/authz-actor-explicit.d.ts +2 -2
- package/dist/check/rules/authz-actor-explicit.d.ts.map +1 -1
- package/dist/check/rules/authz-actor-explicit.js +16 -4
- package/dist/check/rules/authz-actor-explicit.js.map +1 -1
- package/dist/check/rules/authz-declared.d.ts +2 -2
- package/dist/check/rules/authz-declared.d.ts.map +1 -1
- package/dist/check/rules/authz-declared.js +17 -3
- package/dist/check/rules/authz-declared.js.map +1 -1
- package/dist/check/rules/authz-fields-by-schema.d.ts +2 -2
- package/dist/check/rules/authz-fields-by-schema.d.ts.map +1 -1
- package/dist/check/rules/authz-fields-by-schema.js +14 -4
- package/dist/check/rules/authz-fields-by-schema.js.map +1 -1
- package/dist/check/rules/authz-granted.d.ts +2 -2
- package/dist/check/rules/authz-granted.d.ts.map +1 -1
- package/dist/check/rules/authz-granted.js +17 -1
- package/dist/check/rules/authz-granted.js.map +1 -1
- package/dist/check/rules/authz-in-application.d.ts +2 -2
- package/dist/check/rules/authz-in-application.d.ts.map +1 -1
- package/dist/check/rules/authz-in-application.js +19 -3
- package/dist/check/rules/authz-in-application.js.map +1 -1
- package/dist/check/rules/authz-policy-asked.d.ts +2 -2
- package/dist/check/rules/authz-policy-asked.d.ts.map +1 -1
- package/dist/check/rules/authz-policy-asked.js +15 -1
- package/dist/check/rules/authz-policy-asked.js.map +1 -1
- package/dist/check/rules/authz-resource-modelled.d.ts +2 -2
- package/dist/check/rules/authz-resource-modelled.d.ts.map +1 -1
- package/dist/check/rules/authz-resource-modelled.js +19 -1
- package/dist/check/rules/authz-resource-modelled.js.map +1 -1
- package/dist/check/rules/authz-scope-narrows.d.ts +2 -2
- package/dist/check/rules/authz-scope-narrows.d.ts.map +1 -1
- package/dist/check/rules/authz-scope-narrows.js +15 -1
- package/dist/check/rules/authz-scope-narrows.js.map +1 -1
- package/dist/check/rules/authz-system-actor-granted.d.ts +2 -2
- package/dist/check/rules/authz-system-actor-granted.d.ts.map +1 -1
- package/dist/check/rules/authz-system-actor-granted.js +13 -1
- package/dist/check/rules/authz-system-actor-granted.js.map +1 -1
- package/dist/check/rules/clean-blank-lines.d.ts +2 -2
- package/dist/check/rules/clean-blank-lines.d.ts.map +1 -1
- package/dist/check/rules/clean-blank-lines.js +18 -6
- package/dist/check/rules/clean-blank-lines.js.map +1 -1
- package/dist/check/rules/clean-braces.d.ts +2 -2
- package/dist/check/rules/clean-braces.d.ts.map +1 -1
- package/dist/check/rules/clean-braces.js +26 -8
- package/dist/check/rules/clean-braces.js.map +1 -1
- package/dist/check/rules/clean-file-size.d.ts +2 -2
- package/dist/check/rules/clean-file-size.d.ts.map +1 -1
- package/dist/check/rules/clean-file-size.js +10 -4
- package/dist/check/rules/clean-file-size.js.map +1 -1
- package/dist/check/rules/clean-function-size.d.ts +2 -2
- package/dist/check/rules/clean-function-size.d.ts.map +1 -1
- package/dist/check/rules/clean-function-size.js +19 -20
- package/dist/check/rules/clean-function-size.js.map +1 -1
- package/dist/check/rules/clean-no-commented-out-code.d.ts +2 -2
- package/dist/check/rules/clean-no-commented-out-code.d.ts.map +1 -1
- package/dist/check/rules/clean-no-commented-out-code.js +18 -14
- package/dist/check/rules/clean-no-commented-out-code.js.map +1 -1
- package/dist/check/rules/clean-no-escape-hatch.d.ts +2 -2
- package/dist/check/rules/clean-no-escape-hatch.d.ts.map +1 -1
- package/dist/check/rules/clean-no-escape-hatch.js +24 -17
- package/dist/check/rules/clean-no-escape-hatch.js.map +1 -1
- package/dist/check/rules/clean-no-flag-argument.d.ts +2 -2
- package/dist/check/rules/clean-no-flag-argument.d.ts.map +1 -1
- package/dist/check/rules/clean-no-flag-argument.js +10 -4
- package/dist/check/rules/clean-no-flag-argument.js.map +1 -1
- package/dist/check/rules/clean-no-hash-private.d.ts +2 -2
- package/dist/check/rules/clean-no-hash-private.d.ts.map +1 -1
- package/dist/check/rules/clean-no-hash-private.js +22 -4
- package/dist/check/rules/clean-no-hash-private.js.map +1 -1
- package/dist/check/rules/clean-no-noise-comment.d.ts +2 -2
- package/dist/check/rules/clean-no-noise-comment.d.ts.map +1 -1
- package/dist/check/rules/clean-no-noise-comment.js +12 -3
- package/dist/check/rules/clean-no-noise-comment.js.map +1 -1
- package/dist/check/rules/clean-one-export-per-file.d.ts +2 -2
- package/dist/check/rules/clean-one-export-per-file.d.ts.map +1 -1
- package/dist/check/rules/clean-one-export-per-file.js +24 -11
- package/dist/check/rules/clean-one-export-per-file.js.map +1 -1
- package/dist/check/rules/clean-stepdown.d.ts +2 -2
- package/dist/check/rules/clean-stepdown.d.ts.map +1 -1
- package/dist/check/rules/clean-stepdown.js +16 -10
- package/dist/check/rules/clean-stepdown.js.map +1 -1
- package/dist/check/rules/composition-only-in-module.d.ts +2 -2
- package/dist/check/rules/composition-only-in-module.d.ts.map +1 -1
- package/dist/check/rules/composition-only-in-module.js +18 -4
- package/dist/check/rules/composition-only-in-module.js.map +1 -1
- package/dist/check/rules/config-rule-off-everywhere.d.ts +2 -2
- package/dist/check/rules/config-rule-off-everywhere.d.ts.map +1 -1
- package/dist/check/rules/config-rule-off-everywhere.js +9 -1
- package/dist/check/rules/config-rule-off-everywhere.js.map +1 -1
- package/dist/check/rules/config-suppression-needs-reason.d.ts +4 -0
- package/dist/check/rules/config-suppression-needs-reason.d.ts.map +1 -0
- package/dist/check/rules/config-suppression-needs-reason.js +26 -0
- package/dist/check/rules/config-suppression-needs-reason.js.map +1 -0
- package/dist/check/rules/config-unused-suppression.d.ts +3 -0
- package/dist/check/rules/config-unused-suppression.d.ts.map +1 -0
- package/dist/check/rules/config-unused-suppression.js +48 -0
- package/dist/check/rules/config-unused-suppression.js.map +1 -0
- package/dist/check/rules/config-valid.d.ts +2 -2
- package/dist/check/rules/config-valid.d.ts.map +1 -1
- package/dist/check/rules/config-valid.js +11 -1
- package/dist/check/rules/config-valid.js.map +1 -1
- package/dist/check/rules/context-declared-relationship.d.ts +2 -2
- package/dist/check/rules/context-declared-relationship.d.ts.map +1 -1
- package/dist/check/rules/context-declared-relationship.js +20 -16
- package/dist/check/rules/context-declared-relationship.js.map +1 -1
- package/dist/check/rules/context-extractable.d.ts +2 -2
- package/dist/check/rules/context-extractable.d.ts.map +1 -1
- package/dist/check/rules/context-extractable.js +23 -12
- package/dist/check/rules/context-extractable.js.map +1 -1
- package/dist/check/rules/context-no-cycle.d.ts +2 -2
- package/dist/check/rules/context-no-cycle.d.ts.map +1 -1
- package/dist/check/rules/context-no-cycle.js +9 -1
- package/dist/check/rules/context-no-cycle.js.map +1 -1
- package/dist/check/rules/context-published-language-is-a-contract.d.ts +2 -2
- package/dist/check/rules/context-published-language-is-a-contract.d.ts.map +1 -1
- package/dist/check/rules/context-published-language-is-a-contract.js +19 -14
- package/dist/check/rules/context-published-language-is-a-contract.js.map +1 -1
- package/dist/check/rules/context-published-language-only.d.ts +2 -2
- package/dist/check/rules/context-published-language-only.d.ts.map +1 -1
- package/dist/check/rules/context-published-language-only.js +23 -18
- package/dist/check/rules/context-published-language-only.js.map +1 -1
- package/dist/check/rules/declarations-barrel-current.d.ts +2 -2
- package/dist/check/rules/declarations-barrel-current.d.ts.map +1 -1
- package/dist/check/rules/declarations-barrel-current.js +29 -3
- package/dist/check/rules/declarations-barrel-current.js.map +1 -1
- package/dist/check/rules/declarations-constructor-injection.d.ts +2 -2
- package/dist/check/rules/declarations-constructor-injection.d.ts.map +1 -1
- package/dist/check/rules/declarations-constructor-injection.js +28 -12
- package/dist/check/rules/declarations-constructor-injection.js.map +1 -1
- package/dist/check/rules/declarations-port-adapter-wired.d.ts +2 -2
- package/dist/check/rules/declarations-port-adapter-wired.d.ts.map +1 -1
- package/dist/check/rules/declarations-port-adapter-wired.js +15 -1
- package/dist/check/rules/declarations-port-adapter-wired.js.map +1 -1
- package/dist/check/rules/declarations-role-declared.d.ts +2 -2
- package/dist/check/rules/declarations-role-declared.d.ts.map +1 -1
- package/dist/check/rules/declarations-role-declared.js +20 -9
- package/dist/check/rules/declarations-role-declared.js.map +1 -1
- package/dist/check/rules/domain-events-dispatched-on-save.d.ts +2 -2
- package/dist/check/rules/domain-events-dispatched-on-save.d.ts.map +1 -1
- package/dist/check/rules/domain-events-dispatched-on-save.js +30 -17
- package/dist/check/rules/domain-events-dispatched-on-save.js.map +1 -1
- package/dist/check/rules/domain-events-transactional-before-commit.d.ts +2 -2
- package/dist/check/rules/domain-events-transactional-before-commit.d.ts.map +1 -1
- package/dist/check/rules/domain-events-transactional-before-commit.js +40 -2
- package/dist/check/rules/domain-events-transactional-before-commit.js.map +1 -1
- package/dist/check/rules/domain-value-object-class.d.ts +2 -2
- package/dist/check/rules/domain-value-object-class.d.ts.map +1 -1
- package/dist/check/rules/domain-value-object-class.js +37 -10
- package/dist/check/rules/domain-value-object-class.js.map +1 -1
- package/dist/check/rules/errors-code-listed.d.ts +2 -2
- package/dist/check/rules/errors-code-listed.d.ts.map +1 -1
- package/dist/check/rules/errors-code-listed.js +30 -1
- package/dist/check/rules/errors-code-listed.js.map +1 -1
- package/dist/check/rules/errors-code-unique.d.ts +2 -2
- package/dist/check/rules/errors-code-unique.d.ts.map +1 -1
- package/dist/check/rules/errors-code-unique.js +15 -1
- package/dist/check/rules/errors-code-unique.js.map +1 -1
- package/dist/check/rules/errors-known-code.d.ts +2 -2
- package/dist/check/rules/errors-known-code.d.ts.map +1 -1
- package/dist/check/rules/errors-known-code.js +11 -1
- package/dist/check/rules/errors-known-code.js.map +1 -1
- package/dist/check/rules/event-sourcing-past-tense.d.ts +2 -2
- package/dist/check/rules/event-sourcing-past-tense.d.ts.map +1 -1
- package/dist/check/rules/event-sourcing-past-tense.js +11 -6
- package/dist/check/rules/event-sourcing-past-tense.js.map +1 -1
- package/dist/check/rules/event-sourcing-projection-never-appends.d.ts +2 -2
- package/dist/check/rules/event-sourcing-projection-never-appends.d.ts.map +1 -1
- package/dist/check/rules/event-sourcing-projection-never-appends.js +16 -3
- package/dist/check/rules/event-sourcing-projection-never-appends.js.map +1 -1
- package/dist/check/rules/event-sourcing-state-in-apply.d.ts +2 -2
- package/dist/check/rules/event-sourcing-state-in-apply.d.ts.map +1 -1
- package/dist/check/rules/event-sourcing-state-in-apply.js +19 -3
- package/dist/check/rules/event-sourcing-state-in-apply.js.map +1 -1
- package/dist/check/rules/event-sourcing-store-behind-repository.d.ts +2 -2
- package/dist/check/rules/event-sourcing-store-behind-repository.d.ts.map +1 -1
- package/dist/check/rules/event-sourcing-store-behind-repository.js +22 -15
- package/dist/check/rules/event-sourcing-store-behind-repository.js.map +1 -1
- package/dist/check/rules/event-sourcing-upcaster-required.d.ts +2 -2
- package/dist/check/rules/event-sourcing-upcaster-required.d.ts.map +1 -1
- package/dist/check/rules/event-sourcing-upcaster-required.js +32 -6
- package/dist/check/rules/event-sourcing-upcaster-required.js.map +1 -1
- package/dist/check/rules/events-consumer-idempotent.d.ts +2 -2
- package/dist/check/rules/events-consumer-idempotent.d.ts.map +1 -1
- package/dist/check/rules/events-consumer-idempotent.js +19 -2
- package/dist/check/rules/events-consumer-idempotent.js.map +1 -1
- package/dist/check/rules/events-defined-in-published-language.d.ts +2 -2
- package/dist/check/rules/events-defined-in-published-language.d.ts.map +1 -1
- package/dist/check/rules/events-defined-in-published-language.js +38 -12
- package/dist/check/rules/events-defined-in-published-language.js.map +1 -1
- package/dist/check/rules/events-name-declared-once.d.ts +2 -2
- package/dist/check/rules/events-name-declared-once.d.ts.map +1 -1
- package/dist/check/rules/events-name-declared-once.js +19 -14
- package/dist/check/rules/events-name-declared-once.js.map +1 -1
- package/dist/check/rules/events-name-format.d.ts +2 -2
- package/dist/check/rules/events-name-format.d.ts.map +1 -1
- package/dist/check/rules/events-name-format.js +18 -15
- package/dist/check/rules/events-name-format.js.map +1 -1
- package/dist/check/rules/events-outbox-required.d.ts +2 -2
- package/dist/check/rules/events-outbox-required.d.ts.map +1 -1
- package/dist/check/rules/events-outbox-required.js +15 -4
- package/dist/check/rules/events-outbox-required.js.map +1 -1
- package/dist/check/rules/files-port-not-connector.d.ts +2 -2
- package/dist/check/rules/files-port-not-connector.d.ts.map +1 -1
- package/dist/check/rules/files-port-not-connector.js +17 -6
- package/dist/check/rules/files-port-not-connector.js.map +1 -1
- package/dist/check/rules/files-upload-content-rule.d.ts +2 -2
- package/dist/check/rules/files-upload-content-rule.d.ts.map +1 -1
- package/dist/check/rules/files-upload-content-rule.js +24 -3
- package/dist/check/rules/files-upload-content-rule.js.map +1 -1
- package/dist/check/rules/governance-recorded-deviation.d.ts +2 -2
- package/dist/check/rules/governance-recorded-deviation.d.ts.map +1 -1
- package/dist/check/rules/governance-recorded-deviation.js +22 -14
- package/dist/check/rules/governance-recorded-deviation.js.map +1 -1
- package/dist/check/rules/imports-alias-declared.d.ts +2 -2
- package/dist/check/rules/imports-alias-declared.d.ts.map +1 -1
- package/dist/check/rules/imports-alias-declared.js +21 -1
- package/dist/check/rules/imports-alias-declared.js.map +1 -1
- package/dist/check/rules/imports-alias-only.d.ts +2 -2
- package/dist/check/rules/imports-alias-only.d.ts.map +1 -1
- package/dist/check/rules/imports-alias-only.js +16 -4
- package/dist/check/rules/imports-alias-only.js.map +1 -1
- package/dist/check/rules/imports-extension.d.ts +2 -2
- package/dist/check/rules/imports-extension.d.ts.map +1 -1
- package/dist/check/rules/imports-extension.js +16 -3
- package/dist/check/rules/imports-extension.js.map +1 -1
- package/dist/check/rules/language-declared-vocabulary.d.ts +2 -2
- package/dist/check/rules/language-declared-vocabulary.d.ts.map +1 -1
- package/dist/check/rules/language-declared-vocabulary.js +12 -1
- package/dist/check/rules/language-declared-vocabulary.js.map +1 -1
- package/dist/check/rules/language-glossary-term.d.ts +2 -2
- package/dist/check/rules/language-glossary-term.d.ts.map +1 -1
- package/dist/check/rules/language-glossary-term.js +28 -26
- package/dist/check/rules/language-glossary-term.js.map +1 -1
- package/dist/check/rules/language-no-technical-name.d.ts +2 -2
- package/dist/check/rules/language-no-technical-name.d.ts.map +1 -1
- package/dist/check/rules/language-no-technical-name.js +25 -22
- package/dist/check/rules/language-no-technical-name.js.map +1 -1
- package/dist/check/rules/layer-application-inward.d.ts +2 -2
- package/dist/check/rules/layer-application-inward.d.ts.map +1 -1
- package/dist/check/rules/layer-application-inward.js +25 -15
- package/dist/check/rules/layer-application-inward.js.map +1 -1
- package/dist/check/rules/layer-domain-purity.d.ts +2 -2
- package/dist/check/rules/layer-domain-purity.d.ts.map +1 -1
- package/dist/check/rules/layer-domain-purity.js +19 -9
- package/dist/check/rules/layer-domain-purity.js.map +1 -1
- package/dist/check/rules/layer-infrastructure-no-presentation.d.ts +2 -2
- package/dist/check/rules/layer-infrastructure-no-presentation.d.ts.map +1 -1
- package/dist/check/rules/layer-infrastructure-no-presentation.js +19 -14
- package/dist/check/rules/layer-infrastructure-no-presentation.js.map +1 -1
- package/dist/check/rules/layer-presentation-no-infrastructure.d.ts +2 -2
- package/dist/check/rules/layer-presentation-no-infrastructure.d.ts.map +1 -1
- package/dist/check/rules/layer-presentation-no-infrastructure.js +20 -15
- package/dist/check/rules/layer-presentation-no-infrastructure.js.map +1 -1
- package/dist/check/rules/lifecycle-status-through-machine.d.ts +2 -2
- package/dist/check/rules/lifecycle-status-through-machine.d.ts.map +1 -1
- package/dist/check/rules/lifecycle-status-through-machine.js +18 -2
- package/dist/check/rules/lifecycle-status-through-machine.js.map +1 -1
- package/dist/check/rules/module-complete.d.ts +2 -2
- package/dist/check/rules/module-complete.d.ts.map +1 -1
- package/dist/check/rules/module-complete.js +17 -1
- package/dist/check/rules/module-complete.js.map +1 -1
- package/dist/check/rules/module-declared.d.ts +2 -2
- package/dist/check/rules/module-declared.d.ts.map +1 -1
- package/dist/check/rules/module-declared.js +14 -1
- package/dist/check/rules/module-declared.js.map +1 -1
- package/dist/check/rules/module-no-cycle.d.ts +2 -2
- package/dist/check/rules/module-no-cycle.d.ts.map +1 -1
- package/dist/check/rules/module-no-cycle.js +12 -1
- package/dist/check/rules/module-no-cycle.js.map +1 -1
- package/dist/check/rules/naming-business-name.d.ts +2 -2
- package/dist/check/rules/naming-business-name.d.ts.map +1 -1
- package/dist/check/rules/naming-business-name.js +19 -10
- package/dist/check/rules/naming-business-name.js.map +1 -1
- package/dist/check/rules/naming-one-concept-per-file.d.ts +2 -2
- package/dist/check/rules/naming-one-concept-per-file.d.ts.map +1 -1
- package/dist/check/rules/naming-one-concept-per-file.js +22 -9
- package/dist/check/rules/naming-one-concept-per-file.js.map +1 -1
- package/dist/check/rules/naming-search-not-list.d.ts +2 -2
- package/dist/check/rules/naming-search-not-list.d.ts.map +1 -1
- package/dist/check/rules/naming-search-not-list.js +20 -8
- package/dist/check/rules/naming-search-not-list.js.map +1 -1
- package/dist/check/rules/naming-suffix.d.ts +2 -2
- package/dist/check/rules/naming-suffix.d.ts.map +1 -1
- package/dist/check/rules/naming-suffix.js +21 -14
- package/dist/check/rules/naming-suffix.js.map +1 -1
- package/dist/check/rules/nest-controllers-current.d.ts +2 -2
- package/dist/check/rules/nest-controllers-current.d.ts.map +1 -1
- package/dist/check/rules/nest-controllers-current.js +12 -1
- package/dist/check/rules/nest-controllers-current.js.map +1 -1
- package/dist/check/rules/nest-no-parallel-pipeline.d.ts +2 -2
- package/dist/check/rules/nest-no-parallel-pipeline.d.ts.map +1 -1
- package/dist/check/rules/nest-no-parallel-pipeline.js +27 -11
- package/dist/check/rules/nest-no-parallel-pipeline.js.map +1 -1
- package/dist/check/rules/persistence-migration-history.d.ts +2 -2
- package/dist/check/rules/persistence-migration-history.d.ts.map +1 -1
- package/dist/check/rules/persistence-migration-history.js +13 -1
- package/dist/check/rules/persistence-migration-history.js.map +1 -1
- package/dist/check/rules/persistence-no-file-content.d.ts +2 -2
- package/dist/check/rules/persistence-no-file-content.d.ts.map +1 -1
- package/dist/check/rules/persistence-no-file-content.js +15 -1
- package/dist/check/rules/persistence-no-file-content.js.map +1 -1
- package/dist/check/rules/persistence-primary-key-order.d.ts +2 -2
- package/dist/check/rules/persistence-primary-key-order.d.ts.map +1 -1
- package/dist/check/rules/persistence-primary-key-order.js +9 -1
- package/dist/check/rules/persistence-primary-key-order.js.map +1 -1
- package/dist/check/rules/persistence-read-model-listed.d.ts +2 -2
- package/dist/check/rules/persistence-read-model-listed.d.ts.map +1 -1
- package/dist/check/rules/persistence-read-model-listed.js +20 -3
- package/dist/check/rules/persistence-read-model-listed.js.map +1 -1
- package/dist/check/rules/ports-abstract-class.d.ts +2 -2
- package/dist/check/rules/ports-abstract-class.d.ts.map +1 -1
- package/dist/check/rules/ports-abstract-class.js +33 -20
- package/dist/check/rules/ports-abstract-class.js.map +1 -1
- package/dist/check/rules/ports-implements-never-extends.d.ts +2 -2
- package/dist/check/rules/ports-implements-never-extends.d.ts.map +1 -1
- package/dist/check/rules/ports-implements-never-extends.js +25 -14
- package/dist/check/rules/ports-implements-never-extends.js.map +1 -1
- package/dist/check/rules/ports-no-concrete-dependency.d.ts +2 -2
- package/dist/check/rules/ports-no-concrete-dependency.d.ts.map +1 -1
- package/dist/check/rules/ports-no-concrete-dependency.js +23 -5
- package/dist/check/rules/ports-no-concrete-dependency.js.map +1 -1
- package/dist/check/rules/ports-no-token-constant.d.ts +2 -2
- package/dist/check/rules/ports-no-token-constant.d.ts.map +1 -1
- package/dist/check/rules/ports-no-token-constant.js +20 -3
- package/dist/check/rules/ports-no-token-constant.js.map +1 -1
- package/dist/check/rules/ports-value-import.d.ts +2 -2
- package/dist/check/rules/ports-value-import.d.ts.map +1 -1
- package/dist/check/rules/ports-value-import.js +23 -12
- package/dist/check/rules/ports-value-import.js.map +1 -1
- package/dist/check/rules/privacy-declared-field.d.ts +2 -2
- package/dist/check/rules/privacy-declared-field.d.ts.map +1 -1
- package/dist/check/rules/privacy-declared-field.js +18 -1
- package/dist/check/rules/privacy-declared-field.js.map +1 -1
- package/dist/check/rules/privacy-erasure-reaches-copies.d.ts +2 -2
- package/dist/check/rules/privacy-erasure-reaches-copies.d.ts.map +1 -1
- package/dist/check/rules/privacy-erasure-reaches-copies.js +12 -1
- package/dist/check/rules/privacy-erasure-reaches-copies.js.map +1 -1
- package/dist/check/rules/privacy-event-payload-declared.d.ts +2 -2
- package/dist/check/rules/privacy-event-payload-declared.d.ts.map +1 -1
- package/dist/check/rules/privacy-event-payload-declared.js +17 -1
- package/dist/check/rules/privacy-event-payload-declared.js.map +1 -1
- package/dist/check/rules/privacy-no-personal-data-in-logs.d.ts +2 -2
- package/dist/check/rules/privacy-no-personal-data-in-logs.d.ts.map +1 -1
- package/dist/check/rules/privacy-no-personal-data-in-logs.js +8 -1
- package/dist/check/rules/privacy-no-personal-data-in-logs.js.map +1 -1
- package/dist/check/rules/privacy-snapshot-sealed.d.ts +2 -2
- package/dist/check/rules/privacy-snapshot-sealed.d.ts.map +1 -1
- package/dist/check/rules/privacy-snapshot-sealed.js +16 -1
- package/dist/check/rules/privacy-snapshot-sealed.js.map +1 -1
- package/dist/check/rules/privacy-subject-is-opaque.d.ts +2 -2
- package/dist/check/rules/privacy-subject-is-opaque.d.ts.map +1 -1
- package/dist/check/rules/privacy-subject-is-opaque.js +8 -1
- package/dist/check/rules/privacy-subject-is-opaque.js.map +1 -1
- package/dist/check/rules/process-sends-commands-only.d.ts +2 -2
- package/dist/check/rules/process-sends-commands-only.d.ts.map +1 -1
- package/dist/check/rules/process-sends-commands-only.js +18 -3
- package/dist/check/rules/process-sends-commands-only.js.map +1 -1
- package/dist/check/rules/purity-no-ambient-randomness.d.ts +1 -1
- package/dist/check/rules/purity-no-ambient-randomness.d.ts.map +1 -1
- package/dist/check/rules/purity-no-ambient-randomness.js +5 -29
- package/dist/check/rules/purity-no-ambient-randomness.js.map +1 -1
- package/dist/check/rules/purity-no-environment.d.ts +1 -1
- package/dist/check/rules/purity-no-environment.d.ts.map +1 -1
- package/dist/check/rules/purity-no-environment.js +5 -37
- package/dist/check/rules/purity-no-environment.js.map +1 -1
- package/dist/check/rules/purity-no-system-clock.d.ts +1 -1
- package/dist/check/rules/purity-no-system-clock.d.ts.map +1 -1
- package/dist/check/rules/purity-no-system-clock.js +5 -14
- package/dist/check/rules/purity-no-system-clock.js.map +1 -1
- package/dist/check/rules/scheduling-job-name.d.ts +2 -2
- package/dist/check/rules/scheduling-job-name.d.ts.map +1 -1
- package/dist/check/rules/scheduling-job-name.js +18 -8
- package/dist/check/rules/scheduling-job-name.js.map +1 -1
- package/dist/check/rules/scheduling-job-registered.d.ts +2 -2
- package/dist/check/rules/scheduling-job-registered.d.ts.map +1 -1
- package/dist/check/rules/scheduling-job-registered.js +24 -1
- package/dist/check/rules/scheduling-job-registered.js.map +1 -1
- package/dist/check/rules/scheduling-job-triggers-use-case.d.ts +2 -2
- package/dist/check/rules/scheduling-job-triggers-use-case.d.ts.map +1 -1
- package/dist/check/rules/scheduling-job-triggers-use-case.js +36 -10
- package/dist/check/rules/scheduling-job-triggers-use-case.js.map +1 -1
- package/dist/check/rules/scheduling-tenancy-declared.d.ts +2 -2
- package/dist/check/rules/scheduling-tenancy-declared.d.ts.map +1 -1
- package/dist/check/rules/scheduling-tenancy-declared.js +10 -6
- package/dist/check/rules/scheduling-tenancy-declared.js.map +1 -1
- package/dist/check/rules/schema-no-duplicate-shape.d.ts +2 -2
- package/dist/check/rules/schema-no-duplicate-shape.d.ts.map +1 -1
- package/dist/check/rules/schema-no-duplicate-shape.js +14 -1
- package/dist/check/rules/schema-no-duplicate-shape.js.map +1 -1
- package/dist/check/rules/schema-presentation-only.d.ts +2 -2
- package/dist/check/rules/schema-presentation-only.d.ts.map +1 -1
- package/dist/check/rules/schema-presentation-only.js +17 -4
- package/dist/check/rules/schema-presentation-only.js.map +1 -1
- package/dist/check/rules/search-store-from-platform.d.ts +2 -2
- package/dist/check/rules/search-store-from-platform.d.ts.map +1 -1
- package/dist/check/rules/search-store-from-platform.js +23 -3
- package/dist/check/rules/search-store-from-platform.js.map +1 -1
- package/dist/check/rules/standard-no-parallel-interface.d.ts +2 -2
- package/dist/check/rules/standard-no-parallel-interface.d.ts.map +1 -1
- package/dist/check/rules/standard-no-parallel-interface.js +19 -4
- package/dist/check/rules/standard-no-parallel-interface.js.map +1 -1
- package/dist/check/rules/tenancy-scoped-statement.d.ts +2 -2
- package/dist/check/rules/tenancy-scoped-statement.d.ts.map +1 -1
- package/dist/check/rules/tenancy-scoped-statement.js +45 -6
- package/dist/check/rules/tenancy-scoped-statement.js.map +1 -1
- package/dist/check/rules/test-acceptance-black-box.d.ts +2 -2
- package/dist/check/rules/test-acceptance-black-box.d.ts.map +1 -1
- package/dist/check/rules/test-acceptance-black-box.js +11 -1
- package/dist/check/rules/test-acceptance-black-box.js.map +1 -1
- package/dist/check/rules/test-builder-required.d.ts +2 -2
- package/dist/check/rules/test-builder-required.d.ts.map +1 -1
- package/dist/check/rules/test-builder-required.js +8 -1
- package/dist/check/rules/test-builder-required.js.map +1 -1
- package/dist/check/rules/test-coverage-governed.d.ts +2 -2
- package/dist/check/rules/test-coverage-governed.d.ts.map +1 -1
- package/dist/check/rules/test-coverage-governed.js +20 -5
- package/dist/check/rules/test-coverage-governed.js.map +1 -1
- package/dist/check/rules/test-helper-placed.d.ts +2 -2
- package/dist/check/rules/test-helper-placed.d.ts.map +1 -1
- package/dist/check/rules/test-helper-placed.js +20 -16
- package/dist/check/rules/test-helper-placed.js.map +1 -1
- package/dist/check/rules/test-mutation-governed.d.ts +2 -2
- package/dist/check/rules/test-mutation-governed.d.ts.map +1 -1
- package/dist/check/rules/test-mutation-governed.js +13 -1
- package/dist/check/rules/test-mutation-governed.js.map +1 -1
- package/dist/check/rules/test-no-mocks.d.ts +2 -2
- package/dist/check/rules/test-no-mocks.d.ts.map +1 -1
- package/dist/check/rules/test-no-mocks.js +23 -18
- package/dist/check/rules/test-no-mocks.js.map +1 -1
- package/dist/check/rules/test-spec-required.d.ts +2 -2
- package/dist/check/rules/test-spec-required.d.ts.map +1 -1
- package/dist/check/rules/test-spec-required.js +7 -1
- package/dist/check/rules/test-spec-required.js.map +1 -1
- package/dist/check/rules/tracing-platform-only.d.ts +2 -2
- package/dist/check/rules/tracing-platform-only.d.ts.map +1 -1
- package/dist/check/rules/tracing-platform-only.js +20 -14
- package/dist/check/rules/tracing-platform-only.js.map +1 -1
- package/dist/check/rules/tree-closed.d.ts +2 -2
- package/dist/check/rules/tree-closed.d.ts.map +1 -1
- package/dist/check/rules/tree-closed.js +12 -1
- package/dist/check/rules/tree-closed.js.map +1 -1
- package/dist/check/rules/tree-context-doc.d.ts +2 -2
- package/dist/check/rules/tree-context-doc.d.ts.map +1 -1
- package/dist/check/rules/tree-context-doc.js +7 -1
- package/dist/check/rules/tree-context-doc.js.map +1 -1
- package/dist/check/rules/tree-documented-paths.d.ts +2 -2
- package/dist/check/rules/tree-documented-paths.d.ts.map +1 -1
- package/dist/check/rules/tree-documented-paths.js +7 -1
- package/dist/check/rules/tree-documented-paths.js.map +1 -1
- package/dist/check/scan/find-imports.js +6 -5
- package/dist/check/scan/find-imports.js.map +1 -1
- package/dist/check/scan/found-statement.d.ts +4 -1
- package/dist/check/scan/found-statement.d.ts.map +1 -1
- package/dist/check/scan/lexer.d.ts +1 -0
- package/dist/check/scan/lexer.d.ts.map +1 -1
- package/dist/check/scan/lexer.js +20 -5
- package/dist/check/scan/lexer.js.map +1 -1
- package/dist/check/scan/statements-of.d.ts +9 -0
- package/dist/check/scan/statements-of.d.ts.map +1 -0
- package/dist/check/scan/statements-of.js +61 -0
- package/dist/check/scan/statements-of.js.map +1 -0
- package/dist/check/schemas/holds-schemas.d.ts +2 -2
- package/dist/check/schemas/holds-schemas.d.ts.map +1 -1
- package/dist/check/schemas/holds-schemas.js.map +1 -1
- package/dist/check/schemas/shares-schemas.d.ts +2 -2
- package/dist/check/schemas/shares-schemas.d.ts.map +1 -1
- package/dist/check/schemas/shares-schemas.js.map +1 -1
- package/dist/check/support/binding-place.d.ts +2 -2
- package/dist/check/support/binding-place.d.ts.map +1 -1
- package/dist/check/support/binding-place.js.map +1 -1
- package/dist/check/support/is-declared-style.d.ts +2 -2
- package/dist/check/support/is-declared-style.d.ts.map +1 -1
- package/dist/check/support/is-declared-style.js.map +1 -1
- package/dist/check/support/once-per-project.d.ts +8 -0
- package/dist/check/support/once-per-project.d.ts.map +1 -0
- package/dist/check/support/once-per-project.js +18 -0
- package/dist/check/support/once-per-project.js.map +1 -0
- package/dist/check/support/path-in-context.d.ts +2 -2
- package/dist/check/support/path-in-context.d.ts.map +1 -1
- package/dist/check/support/path-in-context.js.map +1 -1
- package/dist/check/support/per-file.d.ts +4 -1
- package/dist/check/support/per-file.d.ts.map +1 -1
- package/dist/check/support/per-file.js +21 -2
- package/dist/check/support/per-file.js.map +1 -1
- package/dist/check/support/reporter.d.ts +2 -2
- package/dist/check/support/reporter.d.ts.map +1 -1
- package/dist/check/support/reporter.js.map +1 -1
- package/dist/check/support/source-declaring.d.ts +2 -2
- package/dist/check/support/source-declaring.d.ts.map +1 -1
- package/dist/check/support/source-declaring.js +1 -2
- package/dist/check/support/source-declaring.js.map +1 -1
- package/dist/check/support/to-violations.d.ts +1 -0
- package/dist/check/support/to-violations.d.ts.map +1 -1
- package/dist/check/support/to-violations.js +5 -1
- package/dist/check/support/to-violations.js.map +1 -1
- package/dist/check/suppressions/find-suppressions.d.ts +9 -2
- package/dist/check/suppressions/find-suppressions.d.ts.map +1 -1
- package/dist/check/suppressions/find-suppressions.js +30 -7
- package/dist/check/suppressions/find-suppressions.js.map +1 -1
- package/dist/check/suppressions/idle-suppression.d.ts +7 -0
- package/dist/check/suppressions/idle-suppression.d.ts.map +1 -0
- package/dist/check/suppressions/idle-suppression.js +2 -0
- package/dist/check/suppressions/idle-suppression.js.map +1 -0
- package/dist/check/suppressions/silencing.d.ts +19 -0
- package/dist/check/suppressions/silencing.d.ts.map +1 -0
- package/dist/check/suppressions/silencing.js +32 -0
- package/dist/check/suppressions/silencing.js.map +1 -0
- package/dist/check/tenancy/prisma-unscoped.d.ts.map +1 -1
- package/dist/check/tenancy/prisma-unscoped.js +3 -1
- package/dist/check/tenancy/prisma-unscoped.js.map +1 -1
- package/dist/check/tenancy/saves-without-tenant.d.ts +4 -0
- package/dist/check/tenancy/saves-without-tenant.d.ts.map +1 -0
- package/dist/check/tenancy/saves-without-tenant.js +6 -0
- package/dist/check/tenancy/saves-without-tenant.js.map +1 -0
- package/dist/commands/acceptance.d.ts +1 -2
- package/dist/commands/acceptance.d.ts.map +1 -1
- package/dist/commands/acceptance.js +25 -30
- package/dist/commands/acceptance.js.map +1 -1
- package/dist/commands/affected.d.ts +1 -2
- package/dist/commands/affected.d.ts.map +1 -1
- package/dist/commands/affected.js +23 -19
- package/dist/commands/affected.js.map +1 -1
- package/dist/commands/arguments-error.d.ts +11 -1
- package/dist/commands/arguments-error.d.ts.map +1 -1
- package/dist/commands/arguments-error.js +15 -1
- package/dist/commands/arguments-error.js.map +1 -1
- package/dist/commands/arguments.d.ts +87 -10
- package/dist/commands/arguments.d.ts.map +1 -1
- package/dist/commands/arguments.js +95 -18
- package/dist/commands/arguments.js.map +1 -1
- package/dist/commands/build-aliases.d.ts +1 -2
- package/dist/commands/build-aliases.d.ts.map +1 -1
- package/dist/commands/build-aliases.js +16 -14
- package/dist/commands/build-aliases.js.map +1 -1
- package/dist/commands/checks.d.ts +7 -3
- package/dist/commands/checks.d.ts.map +1 -1
- package/dist/commands/checks.js +16 -2
- package/dist/commands/checks.js.map +1 -1
- package/dist/commands/cited.d.ts +1 -2
- package/dist/commands/cited.d.ts.map +1 -1
- package/dist/commands/cited.js +32 -28
- package/dist/commands/cited.js.map +1 -1
- package/dist/commands/command.d.ts +81 -1
- package/dist/commands/command.d.ts.map +1 -1
- package/dist/commands/command.js +31 -1
- package/dist/commands/command.js.map +1 -1
- package/dist/commands/commit-size.d.ts +1 -2
- package/dist/commands/commit-size.d.ts.map +1 -1
- package/dist/commands/commit-size.js +16 -12
- package/dist/commands/commit-size.js.map +1 -1
- package/dist/commands/context-layout.d.ts +1 -2
- package/dist/commands/context-layout.d.ts.map +1 -1
- package/dist/commands/context-layout.js +30 -25
- package/dist/commands/context-layout.js.map +1 -1
- package/dist/commands/controllers.d.ts +1 -2
- package/dist/commands/controllers.d.ts.map +1 -1
- package/dist/commands/controllers.js +34 -29
- package/dist/commands/controllers.js.map +1 -1
- package/dist/commands/define-tool-command.d.ts +18 -0
- package/dist/commands/define-tool-command.d.ts.map +1 -0
- package/dist/commands/define-tool-command.js +19 -0
- package/dist/commands/define-tool-command.js.map +1 -0
- package/dist/commands/depcruise-config.d.ts +1 -2
- package/dist/commands/depcruise-config.d.ts.map +1 -1
- package/dist/commands/depcruise-config.js +34 -30
- package/dist/commands/depcruise-config.js.map +1 -1
- package/dist/commands/describe.d.ts +1 -2
- package/dist/commands/describe.d.ts.map +1 -1
- package/dist/commands/describe.js +14 -10
- package/dist/commands/describe.js.map +1 -1
- package/dist/commands/digest.d.ts +1 -2
- package/dist/commands/digest.d.ts.map +1 -1
- package/dist/commands/digest.js +17 -13
- package/dist/commands/digest.js.map +1 -1
- package/dist/commands/docs.d.ts +1 -2
- package/dist/commands/docs.d.ts.map +1 -1
- package/dist/commands/docs.js +29 -25
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/doctor.d.ts +1 -2
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +18 -13
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/drizzle-generate.d.ts +1 -2
- package/dist/commands/drizzle-generate.d.ts.map +1 -1
- package/dist/commands/drizzle-generate.js +19 -10
- package/dist/commands/drizzle-generate.js.map +1 -1
- package/dist/commands/error-factories.d.ts +1 -2
- package/dist/commands/error-factories.d.ts.map +1 -1
- package/dist/commands/error-factories.js +28 -30
- package/dist/commands/error-factories.js.map +1 -1
- package/dist/commands/generate.d.ts +2 -2
- package/dist/commands/generate.d.ts.map +1 -1
- package/dist/commands/generate.js +27 -15
- package/dist/commands/generate.js.map +1 -1
- package/dist/commands/holding-the-lock.d.ts +23 -0
- package/dist/commands/holding-the-lock.d.ts.map +1 -0
- package/dist/commands/holding-the-lock.js +28 -0
- package/dist/commands/holding-the-lock.js.map +1 -0
- package/dist/commands/init.d.ts +1 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +42 -25
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/knex-generate.d.ts +1 -2
- package/dist/commands/knex-generate.d.ts.map +1 -1
- package/dist/commands/knex-generate.js +20 -12
- package/dist/commands/knex-generate.js.map +1 -1
- package/dist/commands/lint.d.ts +1 -2
- package/dist/commands/lint.d.ts.map +1 -1
- package/dist/commands/lint.js +61 -39
- package/dist/commands/lint.js.map +1 -1
- package/dist/commands/list.d.ts +1 -2
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +10 -7
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/measures.d.ts +1 -2
- package/dist/commands/measures.d.ts.map +1 -1
- package/dist/commands/measures.js +20 -20
- package/dist/commands/measures.js.map +1 -1
- package/dist/commands/merge-trunk.d.ts +1 -2
- package/dist/commands/merge-trunk.d.ts.map +1 -1
- package/dist/commands/merge-trunk.js +33 -26
- package/dist/commands/merge-trunk.js.map +1 -1
- package/dist/commands/move-to-module.d.ts +1 -2
- package/dist/commands/move-to-module.d.ts.map +1 -1
- package/dist/commands/move-to-module.js +50 -46
- package/dist/commands/move-to-module.js.map +1 -1
- package/dist/commands/mutation.d.ts +1 -2
- package/dist/commands/mutation.d.ts.map +1 -1
- package/dist/commands/mutation.js +20 -16
- package/dist/commands/mutation.js.map +1 -1
- package/dist/commands/option-usage.d.ts +12 -0
- package/dist/commands/option-usage.d.ts.map +1 -0
- package/dist/commands/option-usage.js +13 -0
- package/dist/commands/option-usage.js.map +1 -0
- package/dist/commands/plan-waves.d.ts +1 -2
- package/dist/commands/plan-waves.d.ts.map +1 -1
- package/dist/commands/plan-waves.js +18 -14
- package/dist/commands/plan-waves.js.map +1 -1
- package/dist/commands/platform-folders.d.ts +1 -2
- package/dist/commands/platform-folders.d.ts.map +1 -1
- package/dist/commands/platform-folders.js +25 -21
- package/dist/commands/platform-folders.js.map +1 -1
- package/dist/commands/prisma-client.d.ts +1 -2
- package/dist/commands/prisma-client.d.ts.map +1 -1
- package/dist/commands/prisma-client.js +17 -14
- package/dist/commands/prisma-client.js.map +1 -1
- package/dist/commands/prisma-generate.d.ts +1 -2
- package/dist/commands/prisma-generate.d.ts.map +1 -1
- package/dist/commands/prisma-generate.js +28 -20
- package/dist/commands/prisma-generate.js.map +1 -1
- package/dist/commands/refuse-second-name.d.ts +7 -0
- package/dist/commands/refuse-second-name.d.ts.map +1 -0
- package/dist/commands/refuse-second-name.js +12 -0
- package/dist/commands/refuse-second-name.js.map +1 -0
- package/dist/commands/sdk.d.ts +1 -2
- package/dist/commands/sdk.d.ts.map +1 -1
- package/dist/commands/sdk.js +18 -14
- package/dist/commands/sdk.js.map +1 -1
- package/dist/commands/status.d.ts +1 -2
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +26 -22
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/stories.d.ts +1 -2
- package/dist/commands/stories.d.ts.map +1 -1
- package/dist/commands/stories.js +10 -7
- package/dist/commands/stories.js.map +1 -1
- package/dist/commands/story-check.d.ts +1 -2
- package/dist/commands/story-check.d.ts.map +1 -1
- package/dist/commands/story-check.js +15 -11
- package/dist/commands/story-check.js.map +1 -1
- package/dist/commands/story-scope.d.ts +1 -2
- package/dist/commands/story-scope.d.ts.map +1 -1
- package/dist/commands/story-scope.js +28 -35
- package/dist/commands/story-scope.js.map +1 -1
- package/dist/commands/story.d.ts +1 -2
- package/dist/commands/story.d.ts.map +1 -1
- package/dist/commands/story.js +17 -23
- package/dist/commands/story.js.map +1 -1
- package/dist/commands/todo.d.ts +1 -2
- package/dist/commands/todo.d.ts.map +1 -1
- package/dist/commands/todo.js +22 -18
- package/dist/commands/todo.js.map +1 -1
- package/dist/commands/tsc.d.ts +8 -0
- package/dist/commands/tsc.d.ts.map +1 -0
- package/dist/commands/tsc.js +49 -0
- package/dist/commands/tsc.js.map +1 -0
- package/dist/commands/typeorm-generate.d.ts +1 -2
- package/dist/commands/typeorm-generate.d.ts.map +1 -1
- package/dist/commands/typeorm-generate.js +34 -29
- package/dist/commands/typeorm-generate.js.map +1 -1
- package/dist/commands/usage-line.d.ts +18 -0
- package/dist/commands/usage-line.d.ts.map +1 -0
- package/dist/commands/usage-line.js +16 -0
- package/dist/commands/usage-line.js.map +1 -0
- package/dist/commands/value-objects.d.ts +1 -2
- package/dist/commands/value-objects.d.ts.map +1 -1
- package/dist/commands/value-objects.js +23 -19
- package/dist/commands/value-objects.js.map +1 -1
- package/dist/commands/verify-merge.d.ts +1 -2
- package/dist/commands/verify-merge.d.ts.map +1 -1
- package/dist/commands/verify-merge.js +27 -23
- package/dist/commands/verify-merge.js.map +1 -1
- package/dist/commands/verify-slice.d.ts +1 -2
- package/dist/commands/verify-slice.d.ts.map +1 -1
- package/dist/commands/verify-slice.js +19 -15
- package/dist/commands/verify-slice.js.map +1 -1
- package/dist/commands/with-modes.d.ts +10 -0
- package/dist/commands/with-modes.d.ts.map +1 -0
- package/dist/commands/with-modes.js +56 -0
- package/dist/commands/with-modes.js.map +1 -0
- package/dist/commands/worker-scope.d.ts +1 -2
- package/dist/commands/worker-scope.d.ts.map +1 -1
- package/dist/commands/worker-scope.js +35 -27
- package/dist/commands/worker-scope.js.map +1 -1
- package/dist/commands/worktree.d.ts +1 -2
- package/dist/commands/worktree.d.ts.map +1 -1
- package/dist/commands/worktree.js +23 -19
- package/dist/commands/worktree.js.map +1 -1
- package/dist/commands.d.ts +8 -0
- package/dist/commands.d.ts.map +1 -0
- package/dist/commands.js +94 -0
- package/dist/commands.js.map +1 -0
- package/dist/commit/changed-files.d.ts +8 -0
- package/dist/commit/changed-files.d.ts.map +1 -0
- package/dist/commit/changed-files.js +26 -0
- package/dist/commit/changed-files.js.map +1 -0
- package/dist/config/add-upstreams-to-config-text.d.ts +4 -0
- package/dist/config/add-upstreams-to-config-text.d.ts.map +1 -0
- package/dist/config/add-upstreams-to-config-text.js +17 -0
- package/dist/config/add-upstreams-to-config-text.js.map +1 -0
- package/dist/docs/write-behaviour.js +2 -1
- package/dist/docs/write-behaviour.js.map +1 -1
- package/dist/docs/write-code-owners.js +1 -1
- 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 +6 -2
- package/dist/docs/write-docs.js.map +1 -1
- package/dist/docs/write-personal-events.js +1 -1
- package/dist/docs/write-personal-events.js.map +1 -1
- package/dist/docs/write-privacy-register.js +1 -1
- package/dist/docs/write-privacy-register.js.map +1 -1
- package/dist/doctor/install-script-findings.d.ts.map +1 -1
- package/dist/doctor/install-script-findings.js +2 -1
- package/dist/doctor/install-script-findings.js.map +1 -1
- package/dist/doctor/override-findings.d.ts.map +1 -1
- package/dist/doctor/override-findings.js +3 -1
- package/dist/doctor/override-findings.js.map +1 -1
- package/dist/generate/apply-wiring.js +1 -1
- package/dist/generate/apply-wiring.js.map +1 -1
- package/dist/generate/concept-kind.d.ts +23 -0
- package/dist/generate/concept-kind.d.ts.map +1 -0
- package/dist/generate/concept-kind.js +26 -0
- package/dist/generate/concept-kind.js.map +1 -0
- package/dist/generate/define-kind.d.ts +18 -0
- package/dist/generate/define-kind.d.ts.map +1 -0
- package/dist/generate/define-kind.js +24 -0
- package/dist/generate/define-kind.js.map +1 -0
- package/dist/generate/errors/add-factory.js +2 -2
- package/dist/generate/errors/add-factory.js.map +1 -1
- package/dist/generate/errors/refusal-class-name.d.ts.map +1 -1
- package/dist/generate/errors/refusal-class-name.js +10 -2
- package/dist/generate/errors/refusal-class-name.js.map +1 -1
- package/dist/generate/errors/static-methods.d.ts +1 -1
- package/dist/generate/errors/static-methods.d.ts.map +1 -1
- package/dist/generate/errors/static-methods.js +3 -2
- package/dist/generate/errors/static-methods.js.map +1 -1
- package/dist/generate/generate-arguments.d.ts.map +1 -1
- package/dist/generate/generate-arguments.js +2 -7
- package/dist/generate/generate-arguments.js.map +1 -1
- package/dist/generate/generate-options-on.d.ts +8 -0
- package/dist/generate/generate-options-on.d.ts.map +1 -0
- package/dist/generate/generate-options-on.js +13 -0
- package/dist/generate/generate-options-on.js.map +1 -0
- package/dist/generate/generate-options.d.ts +8 -179
- package/dist/generate/generate-options.d.ts.map +1 -1
- package/dist/generate/generate-options.js +24 -54
- package/dist/generate/generate-options.js.map +1 -1
- package/dist/generate/grant-permission.d.ts.map +1 -1
- package/dist/generate/grant-permission.js +27 -48
- package/dist/generate/grant-permission.js.map +1 -1
- package/dist/generate/held-to-glossary.d.ts +4 -4
- package/dist/generate/held-to-glossary.d.ts.map +1 -1
- package/dist/generate/held-to-glossary.js +5 -6
- package/dist/generate/held-to-glossary.js.map +1 -1
- package/dist/generate/kind-help.d.ts.map +1 -1
- package/dist/generate/kind-help.js +2 -4
- package/dist/generate/kind-help.js.map +1 -1
- package/dist/generate/kind-in.d.ts.map +1 -1
- package/dist/generate/kind-in.js +3 -3
- package/dist/generate/kind-in.js.map +1 -1
- package/dist/generate/kind-options.d.ts +10 -0
- package/dist/generate/kind-options.d.ts.map +1 -0
- package/dist/generate/kind-options.js +6 -0
- package/dist/generate/kind-options.js.map +1 -0
- package/dist/generate/kind.d.ts +31 -6
- package/dist/generate/kind.d.ts.map +1 -1
- package/dist/generate/kinds/acceptance-kind.d.ts.map +1 -1
- package/dist/generate/kinds/acceptance-kind.js +6 -2
- package/dist/generate/kinds/acceptance-kind.js.map +1 -1
- package/dist/generate/kinds/acl-kind.d.ts +1 -2
- package/dist/generate/kinds/acl-kind.d.ts.map +1 -1
- package/dist/generate/kinds/acl-kind.js +11 -10
- package/dist/generate/kinds/acl-kind.js.map +1 -1
- package/dist/generate/kinds/adapter-kind.d.ts +1 -2
- package/dist/generate/kinds/adapter-kind.d.ts.map +1 -1
- package/dist/generate/kinds/adapter-kind.js +12 -9
- package/dist/generate/kinds/adapter-kind.js.map +1 -1
- package/dist/generate/kinds/adr-kind.d.ts.map +1 -1
- package/dist/generate/kinds/adr-kind.js +11 -2
- package/dist/generate/kinds/adr-kind.js.map +1 -1
- package/dist/generate/kinds/aggregate-kind.d.ts +1 -2
- package/dist/generate/kinds/aggregate-kind.d.ts.map +1 -1
- package/dist/generate/kinds/aggregate-kind.js +8 -11
- package/dist/generate/kinds/aggregate-kind.js.map +1 -1
- package/dist/generate/kinds/ask-policy-in-generated-use-case.d.ts +2 -0
- package/dist/generate/kinds/ask-policy-in-generated-use-case.d.ts.map +1 -1
- package/dist/generate/kinds/ask-policy-in-generated-use-case.js +20 -4
- package/dist/generate/kinds/ask-policy-in-generated-use-case.js.map +1 -1
- package/dist/generate/kinds/background-job-kind.d.ts +1 -2
- package/dist/generate/kinds/background-job-kind.d.ts.map +1 -1
- package/dist/generate/kinds/background-job-kind.js +9 -12
- package/dist/generate/kinds/background-job-kind.js.map +1 -1
- package/dist/generate/kinds/builder-kind.d.ts +1 -2
- package/dist/generate/kinds/builder-kind.d.ts.map +1 -1
- package/dist/generate/kinds/builder-kind.js +7 -9
- 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 +10 -4
- package/dist/generate/kinds/command-context.js.map +1 -1
- package/dist/generate/kinds/command-kind.d.ts +1 -2
- package/dist/generate/kinds/command-kind.d.ts.map +1 -1
- package/dist/generate/kinds/command-kind.js +23 -12
- 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 +22 -2
- package/dist/generate/kinds/context-kind.js.map +1 -1
- package/dist/generate/kinds/declare-table.d.ts +1 -11
- package/dist/generate/kinds/declare-table.d.ts.map +1 -1
- package/dist/generate/kinds/declare-table.js +2 -132
- package/dist/generate/kinds/declare-table.js.map +1 -1
- package/dist/generate/kinds/domain-error-kind.d.ts +1 -2
- package/dist/generate/kinds/domain-error-kind.d.ts.map +1 -1
- package/dist/generate/kinds/domain-error-kind.js +14 -11
- package/dist/generate/kinds/domain-error-kind.js.map +1 -1
- package/dist/generate/kinds/domain-event-kind.d.ts +1 -2
- package/dist/generate/kinds/domain-event-kind.d.ts.map +1 -1
- package/dist/generate/kinds/domain-event-kind.js +8 -11
- package/dist/generate/kinds/domain-event-kind.js.map +1 -1
- package/dist/generate/kinds/domain-service-kind.d.ts +1 -2
- package/dist/generate/kinds/domain-service-kind.d.ts.map +1 -1
- package/dist/generate/kinds/domain-service-kind.js +8 -22
- package/dist/generate/kinds/domain-service-kind.js.map +1 -1
- package/dist/generate/kinds/e2e/held-scenarios.d.ts +8 -0
- package/dist/generate/kinds/e2e/held-scenarios.d.ts.map +1 -0
- package/dist/generate/kinds/e2e/held-scenarios.js +18 -0
- package/dist/generate/kinds/e2e/held-scenarios.js.map +1 -0
- package/dist/generate/kinds/e2e/reaction-of.d.ts +2 -0
- package/dist/generate/kinds/e2e/reaction-of.d.ts.map +1 -1
- package/dist/generate/kinds/e2e/reaction-of.js +29 -15
- package/dist/generate/kinds/e2e/reaction-of.js.map +1 -1
- package/dist/generate/kinds/e2e/still-refusing.d.ts +10 -0
- package/dist/generate/kinds/e2e/still-refusing.d.ts.map +1 -0
- package/dist/generate/kinds/e2e/still-refusing.js +22 -0
- package/dist/generate/kinds/e2e/still-refusing.js.map +1 -0
- package/dist/generate/kinds/e2e-kind.d.ts +1 -2
- package/dist/generate/kinds/e2e-kind.d.ts.map +1 -1
- package/dist/generate/kinds/e2e-kind.js +30 -11
- package/dist/generate/kinds/e2e-kind.js.map +1 -1
- package/dist/generate/kinds/entity-kind.d.ts +1 -2
- package/dist/generate/kinds/entity-kind.d.ts.map +1 -1
- package/dist/generate/kinds/entity-kind.js +8 -22
- package/dist/generate/kinds/entity-kind.js.map +1 -1
- package/dist/generate/kinds/erasure-handler-kind.d.ts +1 -2
- package/dist/generate/kinds/erasure-handler-kind.d.ts.map +1 -1
- package/dist/generate/kinds/erasure-handler-kind.js +7 -9
- package/dist/generate/kinds/erasure-handler-kind.js.map +1 -1
- package/dist/generate/kinds/error-kind.d.ts +1 -2
- package/dist/generate/kinds/error-kind.d.ts.map +1 -1
- package/dist/generate/kinds/error-kind.js +18 -10
- package/dist/generate/kinds/error-kind.js.map +1 -1
- package/dist/generate/kinds/event-handler-kind.d.ts +1 -2
- package/dist/generate/kinds/event-handler-kind.d.ts.map +1 -1
- package/dist/generate/kinds/event-handler-kind.js +12 -11
- package/dist/generate/kinds/event-handler-kind.js.map +1 -1
- package/dist/generate/kinds/file-upload-kind.d.ts +1 -2
- package/dist/generate/kinds/file-upload-kind.d.ts.map +1 -1
- package/dist/generate/kinds/file-upload-kind.js +20 -11
- package/dist/generate/kinds/file-upload-kind.js.map +1 -1
- package/dist/generate/kinds/form-kind.d.ts +1 -2
- package/dist/generate/kinds/form-kind.d.ts.map +1 -1
- package/dist/generate/kinds/form-kind.js +7 -9
- package/dist/generate/kinds/form-kind.js.map +1 -1
- package/dist/generate/kinds/gateway-kind.d.ts +1 -2
- package/dist/generate/kinds/gateway-kind.d.ts.map +1 -1
- package/dist/generate/kinds/gateway-kind.js +25 -19
- 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 +75 -9
- package/dist/generate/kinds/generate-context.js.map +1 -1
- package/dist/generate/kinds/generate-repository.d.ts.map +1 -1
- package/dist/generate/kinds/generate-repository.js +9 -1
- package/dist/generate/kinds/generate-repository.js.map +1 -1
- package/dist/generate/kinds/guard-kind.d.ts +1 -2
- package/dist/generate/kinds/guard-kind.d.ts.map +1 -1
- package/dist/generate/kinds/guard-kind.js +7 -9
- package/dist/generate/kinds/guard-kind.js.map +1 -1
- package/dist/generate/kinds/integration-event-kind.d.ts +1 -2
- package/dist/generate/kinds/integration-event-kind.d.ts.map +1 -1
- package/dist/generate/kinds/integration-event-kind.js +13 -11
- package/dist/generate/kinds/integration-event-kind.js.map +1 -1
- package/dist/generate/kinds/integration-handler-kind.d.ts +1 -2
- package/dist/generate/kinds/integration-handler-kind.d.ts.map +1 -1
- package/dist/generate/kinds/integration-handler-kind.js +9 -10
- package/dist/generate/kinds/integration-handler-kind.js.map +1 -1
- package/dist/generate/kinds/job-kind.d.ts +1 -2
- package/dist/generate/kinds/job-kind.d.ts.map +1 -1
- package/dist/generate/kinds/job-kind.js +20 -12
- package/dist/generate/kinds/job-kind.js.map +1 -1
- package/dist/generate/kinds/module-kind.d.ts +1 -2
- package/dist/generate/kinds/module-kind.d.ts.map +1 -1
- package/dist/generate/kinds/module-kind.js +14 -11
- package/dist/generate/kinds/module-kind.js.map +1 -1
- package/dist/generate/kinds/personal-data/table-of-schema.js +2 -2
- package/dist/generate/kinds/personal-data/table-of-schema.js.map +1 -1
- package/dist/generate/kinds/personal-fields-kind.d.ts +1 -2
- package/dist/generate/kinds/personal-fields-kind.d.ts.map +1 -1
- package/dist/generate/kinds/personal-fields-kind.js +21 -9
- package/dist/generate/kinds/personal-fields-kind.js.map +1 -1
- package/dist/generate/kinds/policy-kind.d.ts +1 -2
- package/dist/generate/kinds/policy-kind.d.ts.map +1 -1
- package/dist/generate/kinds/policy-kind.js +13 -11
- package/dist/generate/kinds/policy-kind.js.map +1 -1
- package/dist/generate/kinds/port-kind.d.ts +1 -2
- package/dist/generate/kinds/port-kind.d.ts.map +1 -1
- package/dist/generate/kinds/port-kind.js +7 -9
- package/dist/generate/kinds/port-kind.js.map +1 -1
- package/dist/generate/kinds/process-kind.d.ts +1 -2
- package/dist/generate/kinds/process-kind.d.ts.map +1 -1
- package/dist/generate/kinds/process-kind.js +8 -10
- package/dist/generate/kinds/process-kind.js.map +1 -1
- package/dist/generate/kinds/projection-kind.d.ts +1 -2
- package/dist/generate/kinds/projection-kind.d.ts.map +1 -1
- package/dist/generate/kinds/projection-kind.js +26 -11
- package/dist/generate/kinds/projection-kind.js.map +1 -1
- package/dist/generate/kinds/property-kind.d.ts +1 -2
- package/dist/generate/kinds/property-kind.d.ts.map +1 -1
- package/dist/generate/kinds/property-kind.js +14 -10
- package/dist/generate/kinds/property-kind.js.map +1 -1
- package/dist/generate/kinds/query-context.d.ts +1 -1
- package/dist/generate/kinds/query-context.d.ts.map +1 -1
- package/dist/generate/kinds/query-context.js +3 -2
- package/dist/generate/kinds/query-context.js.map +1 -1
- package/dist/generate/kinds/query-kind.d.ts +1 -2
- package/dist/generate/kinds/query-kind.d.ts.map +1 -1
- package/dist/generate/kinds/query-kind.js +17 -11
- package/dist/generate/kinds/query-kind.js.map +1 -1
- package/dist/generate/kinds/query-outputs.js +1 -1
- package/dist/generate/kinds/query-outputs.js.map +1 -1
- package/dist/generate/kinds/read-model-kind.d.ts +1 -2
- package/dist/generate/kinds/read-model-kind.d.ts.map +1 -1
- package/dist/generate/kinds/read-model-kind.js +16 -11
- package/dist/generate/kinds/read-model-kind.js.map +1 -1
- package/dist/generate/kinds/repository-kind.d.ts +1 -2
- package/dist/generate/kinds/repository-kind.d.ts.map +1 -1
- package/dist/generate/kinds/repository-kind.js +16 -9
- package/dist/generate/kinds/repository-kind.js.map +1 -1
- package/dist/generate/kinds/representation-kind.d.ts +1 -2
- package/dist/generate/kinds/representation-kind.d.ts.map +1 -1
- package/dist/generate/kinds/representation-kind.js +8 -9
- package/dist/generate/kinds/representation-kind.js.map +1 -1
- package/dist/generate/kinds/route-group-kind.d.ts +1 -2
- package/dist/generate/kinds/route-group-kind.d.ts.map +1 -1
- package/dist/generate/kinds/route-group-kind.js +18 -8
- package/dist/generate/kinds/route-group-kind.js.map +1 -1
- package/dist/generate/kinds/route-kind.d.ts.map +1 -1
- package/dist/generate/kinds/route-kind.js +17 -11
- package/dist/generate/kinds/route-kind.js.map +1 -1
- package/dist/generate/kinds/same-name/index-picture.d.ts +1 -19
- package/dist/generate/kinds/same-name/index-picture.d.ts.map +1 -1
- package/dist/generate/kinds/same-name/index-picture.js +4 -52
- package/dist/generate/kinds/same-name/index-picture.js.map +1 -1
- package/dist/generate/kinds/same-name/keep-the-picture.d.ts.map +1 -1
- package/dist/generate/kinds/same-name/keep-the-picture.js +18 -36
- package/dist/generate/kinds/same-name/keep-the-picture.js.map +1 -1
- package/dist/generate/kinds/schema-kind.d.ts +1 -2
- package/dist/generate/kinds/schema-kind.d.ts.map +1 -1
- package/dist/generate/kinds/schema-kind.js +12 -9
- package/dist/generate/kinds/schema-kind.js.map +1 -1
- package/dist/generate/kinds/service-kind.d.ts +1 -2
- package/dist/generate/kinds/service-kind.d.ts.map +1 -1
- package/dist/generate/kinds/service-kind.js +17 -9
- package/dist/generate/kinds/service-kind.js.map +1 -1
- package/dist/generate/kinds/state-machine-kind.d.ts +1 -2
- package/dist/generate/kinds/state-machine-kind.d.ts.map +1 -1
- package/dist/generate/kinds/state-machine-kind.js +12 -11
- package/dist/generate/kinds/state-machine-kind.js.map +1 -1
- package/dist/generate/kinds/test-world-kind.d.ts +1 -2
- package/dist/generate/kinds/test-world-kind.d.ts.map +1 -1
- package/dist/generate/kinds/test-world-kind.js +7 -9
- package/dist/generate/kinds/test-world-kind.js.map +1 -1
- package/dist/generate/kinds/value-object-kind.d.ts +1 -2
- package/dist/generate/kinds/value-object-kind.d.ts.map +1 -1
- package/dist/generate/kinds/value-object-kind.js +14 -20
- package/dist/generate/kinds/value-object-kind.js.map +1 -1
- package/dist/generate/kinds/vocabulary-kind.d.ts +1 -2
- package/dist/generate/kinds/vocabulary-kind.d.ts.map +1 -1
- package/dist/generate/kinds/vocabulary-kind.js +10 -9
- package/dist/generate/kinds/vocabulary-kind.js.map +1 -1
- package/dist/generate/kinds/worker-kind.d.ts.map +1 -1
- package/dist/generate/kinds/worker-kind.js +12 -2
- package/dist/generate/kinds/worker-kind.js.map +1 -1
- package/dist/generate/options-of.d.ts +5 -0
- package/dist/generate/options-of.d.ts.map +1 -0
- package/dist/generate/options-of.js +7 -0
- package/dist/generate/options-of.js.map +1 -0
- package/dist/generate/refuse-shared-writes.d.ts +9 -1
- package/dist/generate/refuse-shared-writes.d.ts.map +1 -1
- package/dist/generate/refuse-shared-writes.js +10 -9
- package/dist/generate/refuse-shared-writes.js.map +1 -1
- package/dist/generate/refuse-undeclared-flags.d.ts +4 -4
- package/dist/generate/refuse-undeclared-flags.js +6 -6
- package/dist/generate/refuse-undeclared-flags.js.map +1 -1
- package/dist/generate/searched-elements.d.ts +1 -1
- package/dist/generate/searched-elements.d.ts.map +1 -1
- package/dist/generate/searched-elements.js +5 -1
- package/dist/generate/searched-elements.js.map +1 -1
- package/dist/generate/shared-write.d.ts +27 -0
- package/dist/generate/shared-write.d.ts.map +1 -0
- package/dist/generate/shared-write.js +19 -0
- package/dist/generate/shared-write.js.map +1 -0
- package/dist/generate/stop-ignoring-validation.d.ts.map +1 -1
- package/dist/generate/stop-ignoring-validation.js +1 -3
- package/dist/generate/stop-ignoring-validation.js.map +1 -1
- package/dist/generate/usage-of.d.ts +4 -1
- package/dist/generate/usage-of.d.ts.map +1 -1
- package/dist/generate/usage-of.js +24 -2
- package/dist/generate/usage-of.js.map +1 -1
- package/dist/generate/with-import.d.ts +2 -2
- package/dist/generate/with-import.d.ts.map +1 -1
- package/dist/generate/with-import.js +4 -10
- package/dist/generate/with-import.js.map +1 -1
- package/dist/generate/writes-in-a-context.d.ts +4 -0
- package/dist/generate/writes-in-a-context.d.ts.map +1 -0
- package/dist/generate/writes-in-a-context.js +5 -0
- package/dist/generate/writes-in-a-context.js.map +1 -0
- package/dist/generator-lock/held-lock-refusal.js +1 -1
- package/dist/generator-lock/held-lock-refusal.js.map +1 -1
- package/dist/generator-lock/remove-stale.d.ts +6 -3
- package/dist/generator-lock/remove-stale.d.ts.map +1 -1
- package/dist/generator-lock/remove-stale.js +19 -8
- package/dist/generator-lock/remove-stale.js.map +1 -1
- package/dist/help/help-for.d.ts +2 -2
- package/dist/help/help-for.d.ts.map +1 -1
- package/dist/help/help-for.js +2 -3
- package/dist/help/help-for.js.map +1 -1
- package/dist/help/tool-notes.d.ts.map +1 -1
- package/dist/help/tool-notes.js +8 -0
- package/dist/help/tool-notes.js.map +1 -1
- package/dist/help/usage-for.d.ts +3 -2
- package/dist/help/usage-for.d.ts.map +1 -1
- package/dist/help/usage-for.js +9 -8
- package/dist/help/usage-for.js.map +1 -1
- package/dist/help/usage-lines-of.d.ts +1 -1
- package/dist/help/usage-lines-of.d.ts.map +1 -1
- package/dist/help/usage-lines-of.js +3 -16
- package/dist/help/usage-lines-of.js.map +1 -1
- package/dist/help/usage.d.ts +4 -1
- package/dist/help/usage.d.ts.map +1 -1
- package/dist/help/usage.js +8 -72
- package/dist/help/usage.js.map +1 -1
- package/dist/init/knip-vars.d.ts.map +1 -1
- package/dist/init/knip-vars.js +7 -6
- package/dist/init/knip-vars.js.map +1 -1
- package/dist/init/managed-settings-note.js +1 -1
- package/dist/init/managed-settings-note.js.map +1 -1
- package/dist/init/manifest/left-to-workspace-root.d.ts +4 -0
- package/dist/init/manifest/left-to-workspace-root.d.ts.map +1 -0
- package/dist/init/manifest/left-to-workspace-root.js +6 -0
- package/dist/init/manifest/left-to-workspace-root.js.map +1 -0
- package/dist/init/manifest/versions.js +25 -25
- package/dist/init/manifest/write-install-settings.d.ts +10 -0
- package/dist/init/manifest/write-install-settings.d.ts.map +1 -0
- package/dist/init/manifest/write-install-settings.js +57 -0
- package/dist/init/manifest/write-install-settings.js.map +1 -0
- package/dist/init/rewire-tables.d.ts.map +1 -1
- package/dist/init/rewire-tables.js +2 -52
- package/dist/init/rewire-tables.js.map +1 -1
- package/dist/init/run-init.d.ts.map +1 -1
- package/dist/init/run-init.js +12 -8
- package/dist/init/run-init.js.map +1 -1
- package/dist/init/settle-index-names.d.ts.map +1 -1
- package/dist/init/settle-index-names.js +4 -43
- package/dist/init/settle-index-names.js.map +1 -1
- package/dist/init/stack/resolve-stack.d.ts.map +1 -1
- package/dist/init/stack/resolve-stack.js +10 -1
- package/dist/init/stack/resolve-stack.js.map +1 -1
- package/dist/init/subfolder-sentence.js +1 -1
- package/dist/init/subfolder-sentence.js.map +1 -1
- package/dist/init/template-vars.d.ts.map +1 -1
- package/dist/init/template-vars.js +0 -2
- package/dist/init/template-vars.js.map +1 -1
- package/dist/init/workspace-image-note.d.ts +9 -0
- package/dist/init/workspace-image-note.d.ts.map +1 -0
- package/dist/init/workspace-image-note.js +37 -0
- package/dist/init/workspace-image-note.js.map +1 -0
- package/dist/init/workspace-manager-note.d.ts +5 -0
- package/dist/init/workspace-manager-note.d.ts.map +1 -0
- package/dist/init/workspace-manager-note.js +12 -0
- package/dist/init/workspace-manager-note.js.map +1 -0
- package/dist/init/write-agent-settings.js +1 -1
- package/dist/init/write-agent-settings.js.map +1 -1
- package/dist/init/write-contracts.js +1 -1
- package/dist/init/write-contracts.js.map +1 -1
- package/dist/init/write-copilot-settings.js +1 -1
- package/dist/init/write-copilot-settings.js.map +1 -1
- package/dist/init/write-local-environment.js +1 -1
- package/dist/init/write-local-environment.js.map +1 -1
- package/dist/init/write-profile-hooks.js +1 -1
- package/dist/init/write-profile-hooks.js.map +1 -1
- package/dist/issues-url.d.ts +1 -1
- package/dist/issues-url.d.ts.map +1 -1
- package/dist/issues-url.js +1 -1
- package/dist/issues-url.js.map +1 -1
- package/dist/lint/eslint-in-project.d.ts +6 -2
- package/dist/lint/eslint-in-project.d.ts.map +1 -1
- package/dist/lint/eslint-in-project.js +9 -3
- package/dist/lint/eslint-in-project.js.map +1 -1
- package/dist/markers/insert-in-region.js +23 -6
- package/dist/markers/insert-in-region.js.map +1 -1
- package/dist/markers/merge-imports.d.ts +3 -1
- package/dist/markers/merge-imports.d.ts.map +1 -1
- package/dist/markers/merge-imports.js +66 -23
- package/dist/markers/merge-imports.js.map +1 -1
- package/dist/markers/replace-in-region.js +1 -1
- package/dist/markers/replace-in-region.js.map +1 -1
- package/dist/merge/land-drizzle.d.ts +1 -1
- package/dist/merge/land-drizzle.d.ts.map +1 -1
- package/dist/merge/land-drizzle.js +2 -2
- package/dist/merge/land-drizzle.js.map +1 -1
- package/dist/merge/land-up-to-date.d.ts.map +1 -1
- package/dist/merge/land-up-to-date.js +11 -47
- package/dist/merge/land-up-to-date.js.map +1 -1
- package/dist/merge/merge-steps.d.ts.map +1 -1
- package/dist/merge/merge-steps.js +4 -9
- package/dist/merge/merge-steps.js.map +1 -1
- package/dist/merge/order/applied-under-old-name.d.ts +4 -9
- package/dist/merge/order/applied-under-old-name.d.ts.map +1 -1
- package/dist/merge/order/applied-under-old-name.js +5 -9
- package/dist/merge/order/applied-under-old-name.js.map +1 -1
- package/dist/merge/order/drizzle-order.js +3 -3
- package/dist/merge/order/drizzle-order.js.map +1 -1
- package/dist/merge/order/migration-order.d.ts.map +1 -1
- package/dist/merge/order/migration-order.js +2 -6
- package/dist/merge/order/migration-order.js.map +1 -1
- package/dist/merge/order/named-order.d.ts +3 -3
- package/dist/merge/order/named-order.d.ts.map +1 -1
- package/dist/merge/order/named-order.js +10 -14
- package/dist/merge/order/named-order.js.map +1 -1
- package/dist/merge/renamed-after-trunk.d.ts +10 -0
- package/dist/merge/renamed-after-trunk.d.ts.map +1 -0
- package/dist/merge/renamed-after-trunk.js +21 -0
- package/dist/merge/renamed-after-trunk.js.map +1 -0
- package/dist/merge/renumber-migrations.d.ts +4 -8
- package/dist/merge/renumber-migrations.d.ts.map +1 -1
- package/dist/merge/renumber-migrations.js +28 -53
- package/dist/merge/renumber-migrations.js.map +1 -1
- package/dist/merge/replayed-after-trunk.d.ts +7 -0
- package/dist/merge/replayed-after-trunk.d.ts.map +1 -0
- package/dist/merge/replayed-after-trunk.js +35 -0
- package/dist/merge/replayed-after-trunk.js.map +1 -0
- package/dist/migration/refuse-taken-migration-name.d.ts +2 -1
- package/dist/migration/refuse-taken-migration-name.d.ts.map +1 -1
- package/dist/migration/refuse-taken-migration-name.js +3 -5
- package/dist/migration/refuse-taken-migration-name.js.map +1 -1
- package/dist/naming/inflection.d.ts +15 -0
- package/dist/naming/inflection.d.ts.map +1 -0
- package/dist/naming/inflection.js +24 -0
- package/dist/naming/inflection.js.map +1 -0
- package/dist/naming/parse-concept-name.d.ts +3 -2
- package/dist/naming/parse-concept-name.d.ts.map +1 -1
- package/dist/naming/parse-concept-name.js +5 -2
- package/dist/naming/parse-concept-name.js.map +1 -1
- package/dist/naming/plural.d.ts +1 -1
- package/dist/naming/plural.d.ts.map +1 -1
- package/dist/naming/plural.js +7 -4
- package/dist/naming/plural.js.map +1 -1
- package/dist/naming/refuse-unwritable.d.ts +8 -0
- package/dist/naming/refuse-unwritable.d.ts.map +1 -0
- package/dist/naming/refuse-unwritable.js +32 -0
- package/dist/naming/refuse-unwritable.js.map +1 -0
- package/dist/naming/singular.d.ts +5 -1
- package/dist/naming/singular.d.ts.map +1 -1
- package/dist/naming/singular.js +15 -2
- package/dist/naming/singular.js.map +1 -1
- package/dist/naming/to-name.d.ts +5 -0
- package/dist/naming/to-name.d.ts.map +1 -1
- package/dist/naming/to-name.js +7 -2
- package/dist/naming/to-name.js.map +1 -1
- package/dist/orm/database-access.d.ts +13 -0
- package/dist/orm/database-access.d.ts.map +1 -0
- package/dist/orm/database-access.js +2 -0
- package/dist/orm/database-access.js.map +1 -0
- package/dist/orm/members/drizzle.d.ts +3 -0
- package/dist/orm/members/drizzle.d.ts.map +1 -0
- package/dist/orm/members/drizzle.js +16 -0
- package/dist/orm/members/drizzle.js.map +1 -0
- package/dist/orm/members/knex.d.ts +3 -0
- package/dist/orm/members/knex.d.ts.map +1 -0
- package/dist/orm/members/knex.js +20 -0
- package/dist/orm/members/knex.js.map +1 -0
- package/dist/orm/members/prisma.d.ts +3 -0
- package/dist/orm/members/prisma.d.ts.map +1 -0
- package/dist/orm/members/prisma.js +9 -0
- package/dist/orm/members/prisma.js.map +1 -0
- package/dist/orm/members/typeorm.d.ts +3 -0
- package/dist/orm/members/typeorm.d.ts.map +1 -0
- package/dist/orm/members/typeorm.js +18 -0
- package/dist/orm/members/typeorm.js.map +1 -0
- package/dist/orm/migrations/files-of-commit.d.ts +3 -0
- package/dist/orm/migrations/files-of-commit.d.ts.map +1 -0
- package/dist/orm/migrations/files-of-commit.js +8 -0
- package/dist/orm/migrations/files-of-commit.js.map +1 -0
- package/dist/orm/migrations/in-order.d.ts +5 -0
- package/dist/orm/migrations/in-order.d.ts.map +1 -0
- package/dist/orm/migrations/in-order.js +5 -0
- package/dist/orm/migrations/in-order.js.map +1 -0
- package/dist/orm/migrations/migration-history.d.ts +44 -0
- package/dist/orm/migrations/migration-history.d.ts.map +1 -0
- package/dist/orm/migrations/migration-history.js +2 -0
- package/dist/orm/migrations/migration-history.js.map +1 -0
- package/dist/orm/migrations/migration-tool.d.ts +32 -0
- package/dist/orm/migrations/migration-tool.d.ts.map +1 -0
- package/dist/orm/migrations/migration-tool.js +2 -0
- package/dist/orm/migrations/migration-tool.js.map +1 -0
- package/dist/orm/migrations/migrations-landed.d.ts +6 -0
- package/dist/orm/migrations/migrations-landed.d.ts.map +1 -0
- package/dist/orm/migrations/migrations-landed.js +2 -0
- package/dist/orm/migrations/migrations-landed.js.map +1 -0
- package/dist/orm/migrations/named-folders.d.ts +7 -0
- package/dist/orm/migrations/named-folders.d.ts.map +1 -0
- package/dist/orm/migrations/named-folders.js +40 -0
- package/dist/orm/migrations/named-folders.js.map +1 -0
- package/dist/orm/migrations/named-scripts.d.ts +7 -0
- package/dist/orm/migrations/named-scripts.d.ts.map +1 -0
- package/dist/orm/migrations/named-scripts.js +36 -0
- package/dist/orm/migrations/named-scripts.js.map +1 -0
- package/dist/orm/migrations/numbered-name.d.ts +6 -0
- package/dist/orm/migrations/numbered-name.d.ts.map +1 -0
- package/dist/orm/migrations/numbered-name.js +7 -0
- package/dist/orm/migrations/numbered-name.js.map +1 -0
- package/dist/{merge/order → orm/migrations}/ordered-migration.d.ts +0 -2
- package/dist/orm/migrations/ordered-migration.d.ts.map +1 -0
- package/dist/orm/migrations/ordered-migration.js.map +1 -0
- package/dist/orm/migrations/renumbered-name.d.ts +3 -0
- package/dist/orm/migrations/renumbered-name.d.ts.map +1 -0
- package/dist/orm/migrations/renumbered-name.js +7 -0
- package/dist/orm/migrations/renumbered-name.js.map +1 -0
- package/dist/orm/migrations/restamp-class.d.ts.map +1 -0
- package/dist/{merge → orm/migrations}/restamp-class.js +2 -2
- package/dist/orm/migrations/restamp-class.js.map +1 -0
- package/dist/orm/migrations/script-named.d.ts +3 -0
- package/dist/orm/migrations/script-named.d.ts.map +1 -0
- package/dist/orm/migrations/script-named.js +6 -0
- package/dist/orm/migrations/script-named.js.map +1 -0
- package/dist/orm/migrations/scripts.d.ts +7 -0
- package/dist/orm/migrations/scripts.d.ts.map +1 -0
- package/dist/orm/migrations/scripts.js +7 -0
- package/dist/orm/migrations/scripts.js.map +1 -0
- package/dist/orm/migrations/stamped-classes.d.ts +8 -0
- package/dist/orm/migrations/stamped-classes.d.ts.map +1 -0
- package/dist/orm/migrations/stamped-classes.js +53 -0
- package/dist/orm/migrations/stamped-classes.js.map +1 -0
- package/dist/orm/orm-member.d.ts +16 -0
- package/dist/orm/orm-member.d.ts.map +1 -0
- package/dist/orm/orm-member.js +2 -0
- package/dist/orm/orm-member.js.map +1 -0
- package/dist/orm/orm-members.d.ts +5 -0
- package/dist/orm/orm-members.d.ts.map +1 -0
- package/dist/orm/orm-members.js +11 -0
- package/dist/orm/orm-members.js.map +1 -0
- package/dist/orm/tables/declare-once.d.ts +14 -0
- package/dist/orm/tables/declare-once.d.ts.map +1 -0
- package/dist/orm/tables/declare-once.js +22 -0
- package/dist/orm/tables/declare-once.js.map +1 -0
- package/dist/orm/tables/declared-in-tables-file.d.ts +35 -0
- package/dist/orm/tables/declared-in-tables-file.d.ts.map +1 -0
- package/dist/orm/tables/declared-in-tables-file.js +98 -0
- package/dist/orm/tables/declared-in-tables-file.js.map +1 -0
- package/dist/orm/tables/declared-table.d.ts +12 -0
- package/dist/orm/tables/declared-table.d.ts.map +1 -0
- package/dist/orm/tables/declared-table.js +2 -0
- package/dist/orm/tables/declared-table.js.map +1 -0
- package/dist/orm/tables/empty-picture.d.ts +4 -0
- package/dist/orm/tables/empty-picture.d.ts.map +1 -0
- package/dist/orm/tables/empty-picture.js +5 -0
- package/dist/orm/tables/empty-picture.js.map +1 -0
- package/dist/orm/tables/exported-names.d.ts +8 -0
- package/dist/orm/tables/exported-names.d.ts.map +1 -0
- package/dist/orm/tables/exported-names.js +68 -0
- package/dist/orm/tables/exported-names.js.map +1 -0
- package/dist/orm/tables/file-of-table.d.ts +3 -0
- package/dist/orm/tables/file-of-table.d.ts.map +1 -0
- package/dist/orm/tables/file-of-table.js +5 -0
- package/dist/orm/tables/file-of-table.js.map +1 -0
- package/dist/orm/tables/index-names.d.ts +55 -0
- package/dist/orm/tables/index-names.d.ts.map +1 -0
- package/dist/orm/tables/index-names.js +2 -0
- package/dist/orm/tables/index-names.js.map +1 -0
- package/dist/orm/tables/index-picture.d.ts +20 -0
- package/dist/orm/tables/index-picture.d.ts.map +1 -0
- package/dist/orm/tables/index-picture.js +2 -0
- package/dist/orm/tables/index-picture.js.map +1 -0
- package/dist/orm/tables/listed-entities.d.ts +9 -0
- package/dist/orm/tables/listed-entities.d.ts.map +1 -0
- package/dist/orm/tables/listed-entities.js +65 -0
- package/dist/orm/tables/listed-entities.js.map +1 -0
- package/dist/orm/tables/prisma-models.d.ts +7 -0
- package/dist/orm/tables/prisma-models.d.ts.map +1 -0
- package/dist/orm/tables/prisma-models.js +33 -0
- package/dist/orm/tables/prisma-models.js.map +1 -0
- package/dist/orm/tables/tables-declaration.d.ts +30 -0
- package/dist/orm/tables/tables-declaration.d.ts.map +1 -0
- package/dist/orm/tables/tables-declaration.js +2 -0
- package/dist/orm/tables/tables-declaration.js.map +1 -0
- package/dist/orm/tables/template-of-table.d.ts +4 -0
- package/dist/orm/tables/template-of-table.d.ts.map +1 -0
- package/dist/orm/tables/template-of-table.js +7 -0
- package/dist/orm/tables/template-of-table.js.map +1 -0
- package/dist/package-manager/listed-by.d.ts +3 -0
- package/dist/package-manager/listed-by.d.ts.map +1 -0
- package/dist/package-manager/listed-by.js +17 -0
- package/dist/package-manager/listed-by.js.map +1 -0
- package/dist/package-manager/npm-workspace-of.d.ts +15 -0
- package/dist/package-manager/npm-workspace-of.d.ts.map +1 -0
- package/dist/package-manager/npm-workspace-of.js +35 -0
- package/dist/package-manager/npm-workspace-of.js.map +1 -0
- package/dist/package-manager/package-manager-vars.d.ts +1 -1
- package/dist/package-manager/package-manager-vars.d.ts.map +1 -1
- package/dist/package-manager/package-manager-vars.js +2 -1
- package/dist/package-manager/package-manager-vars.js.map +1 -1
- package/dist/package-manager/pnpm-settings-file.d.ts +6 -0
- package/dist/package-manager/pnpm-settings-file.d.ts.map +1 -0
- package/dist/package-manager/pnpm-settings-file.js +12 -0
- package/dist/package-manager/pnpm-settings-file.js.map +1 -0
- package/dist/package-manager/pnpm-workspace-of.d.ts +18 -0
- package/dist/package-manager/pnpm-workspace-of.d.ts.map +1 -0
- package/dist/package-manager/pnpm-workspace-of.js +49 -0
- package/dist/package-manager/pnpm-workspace-of.js.map +1 -0
- package/dist/package-manager/workspace-package-manager.d.ts +14 -0
- package/dist/package-manager/workspace-package-manager.d.ts.map +1 -0
- package/dist/package-manager/workspace-package-manager.js +56 -0
- package/dist/package-manager/workspace-package-manager.js.map +1 -0
- package/dist/plan/planned-words.js +1 -1
- package/dist/plan/planned-words.js.map +1 -1
- package/dist/prisma-schema/datasource-list.d.ts +4 -0
- package/dist/prisma-schema/datasource-list.d.ts.map +1 -0
- package/dist/prisma-schema/datasource-list.js +6 -0
- package/dist/prisma-schema/datasource-list.js.map +1 -0
- package/dist/prisma-schema/datasource-schemas.d.ts.map +1 -1
- package/dist/prisma-schema/datasource-schemas.js +2 -1
- package/dist/prisma-schema/datasource-schemas.js.map +1 -1
- package/dist/prisma-schema/preview-features-of.d.ts.map +1 -1
- package/dist/prisma-schema/preview-features-of.js +2 -3
- package/dist/prisma-schema/preview-features-of.js.map +1 -1
- package/dist/prisma-schema/schema-block.d.ts +20 -0
- package/dist/prisma-schema/schema-block.d.ts.map +1 -0
- package/dist/prisma-schema/schema-block.js +45 -0
- package/dist/prisma-schema/schema-block.js.map +1 -0
- package/dist/prisma-schema/schema-code.d.ts +7 -0
- package/dist/prisma-schema/schema-code.d.ts.map +1 -0
- package/dist/prisma-schema/schema-code.js +10 -0
- package/dist/prisma-schema/schema-code.js.map +1 -0
- package/dist/prisma-schema/schema-list.d.ts +14 -0
- package/dist/prisma-schema/schema-list.d.ts.map +1 -0
- package/dist/prisma-schema/schema-list.js +33 -0
- package/dist/prisma-schema/schema-list.js.map +1 -0
- package/dist/prisma-schema/with-datasource-schema.d.ts +5 -1
- package/dist/prisma-schema/with-datasource-schema.d.ts.map +1 -1
- package/dist/prisma-schema/with-datasource-schema.js +12 -5
- package/dist/prisma-schema/with-datasource-schema.js.map +1 -1
- package/dist/prisma-schema/with-preview-feature.d.ts.map +1 -1
- package/dist/prisma-schema/with-preview-feature.js +6 -14
- package/dist/prisma-schema/with-preview-feature.js.map +1 -1
- package/dist/refusals/cut-factories.js +2 -2
- package/dist/refusals/cut-factories.js.map +1 -1
- package/dist/refusals/read-concept-error.d.ts.map +1 -1
- package/dist/refusals/read-concept-error.js +2 -2
- package/dist/refusals/read-concept-error.js.map +1 -1
- package/dist/run.d.ts +0 -2
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +35 -114
- package/dist/run.js.map +1 -1
- package/dist/sdk/put-file.d.ts +5 -2
- package/dist/sdk/put-file.d.ts.map +1 -1
- package/dist/sdk/put-file.js +6 -2
- package/dist/sdk/put-file.js.map +1 -1
- package/dist/sdk/sdk-scripts.d.ts +4 -3
- package/dist/sdk/sdk-scripts.d.ts.map +1 -1
- package/dist/sdk/sdk-scripts.js +6 -5
- package/dist/sdk/sdk-scripts.js.map +1 -1
- package/dist/sdk/wire-sdk.d.ts.map +1 -1
- package/dist/sdk/wire-sdk.js +10 -1
- package/dist/sdk/wire-sdk.js.map +1 -1
- package/dist/slice/verify-slice.js +2 -2
- package/dist/source-text/block-after.d.ts +8 -0
- package/dist/source-text/block-after.d.ts.map +1 -0
- package/dist/source-text/block-after.js +35 -0
- package/dist/source-text/block-after.js.map +1 -0
- package/dist/source-text/bound-by.d.ts +4 -0
- package/dist/source-text/bound-by.d.ts.map +1 -0
- package/dist/source-text/bound-by.js +5 -0
- package/dist/source-text/bound-by.js.map +1 -0
- package/dist/source-text/class-body.d.ts +8 -0
- package/dist/source-text/class-body.d.ts.map +1 -0
- package/dist/source-text/class-body.js +11 -0
- package/dist/source-text/class-body.js.map +1 -0
- package/dist/source-text/import-statement.d.ts +17 -0
- package/dist/source-text/import-statement.d.ts.map +1 -0
- package/dist/source-text/import-statement.js +2 -0
- package/dist/source-text/import-statement.js.map +1 -0
- package/dist/source-text/import-statements.d.ts +20 -0
- package/dist/source-text/import-statements.d.ts.map +1 -0
- package/dist/source-text/import-statements.js +53 -0
- package/dist/source-text/import-statements.js.map +1 -0
- package/dist/source-text/index.d.ts +7 -0
- package/dist/source-text/index.d.ts.map +1 -0
- package/dist/source-text/index.js +6 -0
- package/dist/source-text/index.js.map +1 -0
- package/dist/source-text/line-of.d.ts +8 -0
- package/dist/source-text/line-of.d.ts.map +1 -0
- package/dist/source-text/line-of.js +7 -0
- package/dist/source-text/line-of.js.map +1 -0
- package/dist/source-text/list-literal.d.ts +24 -0
- package/dist/source-text/list-literal.d.ts.map +1 -0
- package/dist/source-text/list-literal.js +68 -0
- package/dist/source-text/list-literal.js.map +1 -0
- package/dist/source-text/object-entry.d.ts +14 -0
- package/dist/source-text/object-entry.d.ts.map +1 -0
- package/dist/source-text/object-entry.js +26 -0
- package/dist/source-text/object-entry.js.map +1 -0
- package/dist/source-text/object-literal.d.ts +27 -0
- package/dist/source-text/object-literal.d.ts.map +1 -0
- package/dist/source-text/object-literal.js +66 -0
- package/dist/source-text/object-literal.js.map +1 -0
- package/dist/source-text/parts-between.d.ts +8 -0
- package/dist/source-text/parts-between.d.ts.map +1 -0
- package/dist/source-text/parts-between.js +33 -0
- package/dist/source-text/parts-between.js.map +1 -0
- package/dist/source-text/read-imports.d.ts +9 -0
- package/dist/source-text/read-imports.d.ts.map +1 -0
- package/dist/source-text/read-imports.js +46 -0
- package/dist/source-text/read-imports.js.map +1 -0
- package/dist/source-text/read-source.d.ts +10 -0
- package/dist/source-text/read-source.d.ts.map +1 -0
- package/dist/source-text/read-source.js +2 -0
- package/dist/source-text/read-source.js.map +1 -0
- package/dist/source-text/source-text.d.ts +21 -0
- package/dist/source-text/source-text.d.ts.map +1 -0
- package/dist/source-text/source-text.js +38 -0
- package/dist/source-text/source-text.js.map +1 -0
- package/dist/source-text/span.d.ts +6 -0
- package/dist/source-text/span.d.ts.map +1 -0
- package/dist/source-text/span.js +2 -0
- package/dist/source-text/span.js.map +1 -0
- package/dist/stack/audit-vars.d.ts.map +1 -1
- package/dist/stack/audit-vars.js +4 -3
- package/dist/stack/audit-vars.js.map +1 -1
- package/dist/stack/authentication-vars.d.ts +1 -1
- package/dist/stack/authentication-vars.d.ts.map +1 -1
- package/dist/stack/authentication-vars.js +3 -1
- package/dist/stack/authentication-vars.js.map +1 -1
- package/dist/stack/broker-vars.d.ts +1 -1
- package/dist/stack/broker-vars.d.ts.map +1 -1
- package/dist/stack/broker-vars.js +2 -1
- package/dist/stack/broker-vars.js.map +1 -1
- package/dist/stack/files-vars.d.ts +1 -1
- package/dist/stack/files-vars.d.ts.map +1 -1
- package/dist/stack/files-vars.js +2 -1
- package/dist/stack/files-vars.js.map +1 -1
- package/dist/stack/one.d.ts +6 -2
- package/dist/stack/one.d.ts.map +1 -1
- package/dist/stack/one.js +5 -1
- package/dist/stack/one.js.map +1 -1
- package/dist/stack/persistence-vars.d.ts.map +1 -1
- package/dist/stack/persistence-vars.js +9 -14
- package/dist/stack/persistence-vars.js.map +1 -1
- package/dist/stack/stack-vars.d.ts.map +1 -1
- package/dist/stack/stack-vars.js +28 -26
- package/dist/stack/stack-vars.js.map +1 -1
- package/dist/stack/with-database.d.ts.map +1 -1
- package/dist/stack/with-database.js +3 -1
- package/dist/stack/with-database.js.map +1 -1
- package/dist/stories/read-stories.js +2 -2
- package/dist/stories/read-stories.js.map +1 -1
- package/dist/templating/render-template.d.ts +4 -1
- package/dist/templating/render-template.d.ts.map +1 -1
- package/dist/templating/render-template.js +9 -3
- package/dist/templating/render-template.js.map +1 -1
- package/dist/templating/rendering.d.ts +5 -0
- package/dist/templating/rendering.d.ts.map +1 -1
- package/dist/templating/rendering.js +14 -6
- package/dist/templating/rendering.js.map +1 -1
- package/dist/templating/spoken-for.d.ts +15 -0
- package/dist/templating/spoken-for.d.ts.map +1 -0
- package/dist/templating/spoken-for.js +21 -0
- package/dist/templating/spoken-for.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker/read-workers.js +2 -2
- package/dist/worker/read-workers.js.map +1 -1
- package/dist/worker/worker-generators.js +4 -4
- package/dist/worker/worker-generators.js.map +1 -1
- package/dist/worker/{changed-files.d.ts → worktree-files.d.ts} +2 -2
- package/dist/worker/worktree-files.d.ts.map +1 -0
- package/dist/worker/worktree-files.js +10 -0
- package/dist/worker/worktree-files.js.map +1 -0
- package/dist/workspace/stage-if-allowed.d.ts +22 -0
- package/dist/workspace/stage-if-allowed.d.ts.map +1 -0
- package/dist/workspace/stage-if-allowed.js +97 -0
- package/dist/workspace/stage-if-allowed.js.map +1 -0
- package/dist/workspace/updated-and-skipped.d.ts +20 -0
- package/dist/workspace/updated-and-skipped.d.ts.map +1 -0
- package/dist/workspace/updated-and-skipped.js +11 -0
- package/dist/workspace/updated-and-skipped.js.map +1 -0
- package/dist/workspace/workspace.d.ts +9 -8
- package/dist/workspace/workspace.d.ts.map +1 -1
- package/dist/workspace/workspace.js +13 -12
- package/dist/workspace/workspace.js.map +1 -1
- package/dist/workspace/write-if-allowed.d.ts +5 -13
- package/dist/workspace/write-if-allowed.d.ts.map +1 -1
- package/dist/workspace/write-if-allowed.js +9 -69
- package/dist/workspace/write-if-allowed.js.map +1 -1
- package/dist/workspace/written-of.d.ts +8 -2
- package/dist/workspace/written-of.d.ts.map +1 -1
- package/dist/workspace/written-of.js +39 -11
- package/dist/workspace/written-of.js.map +1 -1
- package/package.json +9 -9
- package/templates/acl/translator.spec.ts.tpl +6 -3
- package/templates/acl/translator.ts.tpl +4 -2
- package/templates/aggregate/aggregate.spec.ts.tpl +3 -2
- package/templates/aggregate/event-sourced.aggregate.spec.ts.tpl +3 -3
- package/templates/command/handler.declared.ts.tpl +13 -21
- package/templates/command/handler.spec.buses.ts.tpl +5 -4
- package/templates/command/handler.spec.container.ts.tpl +18 -4
- package/templates/command/handler.ts.tpl +13 -23
- package/templates/domain-event/domain-event.ts.tpl +1 -7
- package/templates/e2e/e2e-reaction.spec.ts.tpl +6 -0
- package/templates/e2e/e2e.spec.ts.tpl +4 -1
- package/templates/event-handler/event-handler.declared.ts.tpl +7 -3
- package/templates/event-handler/event-handler.spec.ts.tpl +8 -9
- package/templates/event-handler/event-handler.ts.tpl +7 -3
- package/templates/gateway/adapter.declared.ts.tpl +1 -1
- package/templates/gateway/adapter.ts.tpl +1 -1
- package/templates/gateway/contract.platform-test.declared.tpl +8 -0
- package/templates/gateway/contract.platform.declared.tpl +8 -0
- package/templates/gateway/contract.wiring.container.tpl +8 -0
- package/templates/gateway/wiring.container.tpl +0 -1
- package/templates/init/AGENTS.md.tpl +1 -1
- package/templates/init/README.md.tpl +3 -3
- package/templates/init/e2e/jest.e2e.config.js.tpl +2 -0
- package/templates/init/e2e/vitest.e2e.config.ts.tpl +2 -0
- package/templates/init/jest.config.js.tpl +2 -0
- package/templates/init/platform/auth/authorization/authorization.container.ts.tpl +19 -2
- package/templates/init/platform/auth/authorization/use-case-protection.ts.tpl +5 -2
- package/templates/init/platform/auth/relationships/relationship-schema.ts.tpl +3 -2
- package/templates/init/platform/composition/create-platform.manual.ts.tpl +14 -2
- package/templates/init/platform/database/schema.prisma.tpl +2 -0
- package/templates/init/platform/events/custom-event-bus.ts.tpl +1 -1
- package/templates/init/platform/events/in-process-events.ts.tpl +1 -1
- package/templates/init/platform/http/start-http-server.express.ts.tpl +4 -2
- package/templates/init/platform/http/start-http-server.fastify.ts.tpl +1 -1
- package/templates/init/platform/http/start-http-server.hono.ts.tpl +1 -1
- package/templates/init/platform/http/start-http-server.nest.ts.tpl +9 -1
- package/templates/init/platform/observability/create-logger.winston.ts.tpl +1 -2
- package/templates/init/rules/application.md.tpl +1 -1
- package/templates/init/rules/infrastructure.md.tpl +2 -2
- package/templates/integration-handler/integration-handler.declared.ts.tpl +3 -2
- package/templates/integration-handler/integration-handler.spec.ts.tpl +5 -6
- package/templates/integration-handler/integration-handler.ts.tpl +6 -4
- package/templates/pipeline/biome.json.tpl +1 -1
- package/templates/pipeline/github/workflows/intent-to-spec.yml +1 -1
- package/templates/pipeline/jest.mutation.config.js.tpl +2 -0
- package/templates/pipeline/knip.json.tpl +0 -2
- package/templates/pipeline/package-scripts.json +4 -4
- package/templates/pipeline/vitest.config.ts.tpl +2 -0
- package/templates/pipeline/vitest.mutation.config.ts.tpl +2 -0
- package/templates/policy/policy.declared.ts.tpl +4 -4
- package/templates/policy/policy.spec.declared.ts.tpl +3 -14
- package/templates/policy/policy.spec.ts.tpl +3 -9
- package/templates/policy/policy.ts.tpl +2 -3
- package/templates/presets/identity/context/domain/events/account-deactivated.event.ts.tpl +1 -8
- package/templates/presets/identity/context/domain/events/account-provisioned.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/delegation-granted.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/delegation-revoked.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/invitation-accepted.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/invitation-declined.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/invitation-issued.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/invitation-revoked.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/member-joined.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/member-removed.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/member-role-changed.event.ts.tpl +3 -3
- package/templates/presets/identity/context/domain/events/organisation-opened.event.ts.tpl +3 -3
- package/templates/presets/identity/context/infrastructure/persistence/account.mapper.drizzle.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/account.mapper.knex.ts.tpl +4 -7
- package/templates/presets/identity/context/infrastructure/persistence/account.mapper.prisma.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/delegation.mapper.drizzle.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/delegation.mapper.knex.ts.tpl +4 -7
- package/templates/presets/identity/context/infrastructure/persistence/delegation.mapper.prisma.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/drizzle-account.repository.drizzle.ts.tpl +9 -27
- package/templates/presets/identity/context/infrastructure/persistence/drizzle-delegation.repository.drizzle.ts.tpl +8 -26
- package/templates/presets/identity/context/infrastructure/persistence/drizzle-invitation.repository.drizzle.ts.tpl +9 -27
- package/templates/presets/identity/context/infrastructure/persistence/drizzle-member.repository.drizzle.ts.tpl +8 -26
- package/templates/presets/identity/context/infrastructure/persistence/drizzle-organisation.repository.drizzle.ts.tpl +9 -27
- package/templates/presets/identity/context/infrastructure/persistence/invitation.mapper.drizzle.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/invitation.mapper.knex.ts.tpl +4 -7
- package/templates/presets/identity/context/infrastructure/persistence/invitation.mapper.prisma.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/knex-account.repository.knex.ts.tpl +9 -25
- package/templates/presets/identity/context/infrastructure/persistence/knex-delegation.repository.knex.ts.tpl +9 -25
- package/templates/presets/identity/context/infrastructure/persistence/knex-invitation.repository.knex.ts.tpl +9 -25
- package/templates/presets/identity/context/infrastructure/persistence/knex-member.repository.knex.ts.tpl +9 -25
- package/templates/presets/identity/context/infrastructure/persistence/knex-organisation.repository.knex.ts.tpl +9 -25
- package/templates/presets/identity/context/infrastructure/persistence/member.mapper.drizzle.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/member.mapper.knex.ts.tpl +4 -7
- package/templates/presets/identity/context/infrastructure/persistence/member.mapper.prisma.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/organisation.mapper.drizzle.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/organisation.mapper.knex.ts.tpl +4 -7
- package/templates/presets/identity/context/infrastructure/persistence/organisation.mapper.prisma.ts.tpl +4 -8
- package/templates/presets/identity/context/infrastructure/persistence/prisma-account.repository.prisma.ts.tpl +8 -26
- package/templates/presets/identity/context/infrastructure/persistence/prisma-delegation.repository.prisma.ts.tpl +8 -26
- package/templates/presets/identity/context/infrastructure/persistence/prisma-invitation.repository.prisma.ts.tpl +8 -26
- package/templates/presets/identity/context/infrastructure/persistence/prisma-member.repository.prisma.ts.tpl +8 -26
- package/templates/presets/identity/context/infrastructure/persistence/prisma-organisation.repository.prisma.ts.tpl +8 -26
- package/templates/presets/identity/context/test/unit/account.aggregate.spec.ts.tpl +3 -3
- package/templates/presets/identity/context/test/unit/delegation.aggregate.spec.ts.tpl +3 -3
- package/templates/presets/identity/context/test/unit/invitation.aggregate.spec.ts.tpl +3 -3
- package/templates/presets/identity/context/test/unit/member.aggregate.spec.ts.tpl +3 -3
- package/templates/presets/identity/context/test/unit/organisation.aggregate.spec.ts.tpl +3 -2
- package/templates/presets/identity/context/test/worlds/__context__.world.declared.ts.tpl +0 -1
- package/templates/presets/identity/context/test/worlds/__context__.world.explicit.ts.tpl +1 -1
- package/templates/process/process.spec.ts.tpl +5 -5
- package/templates/process/timeout-job.declared.ts.tpl +2 -2
- package/templates/process/timeout-job.spec.buses.ts.tpl +2 -2
- package/templates/process/timeout-job.spec.container.ts.tpl +2 -2
- package/templates/process/timeout-job.ts.tpl +2 -2
- package/templates/projection/projection.manual.ts.tpl +8 -1
- package/templates/projection/projection.spec.ts.tpl +18 -4
- package/templates/projection/projection.ts.tpl +28 -1
- package/templates/query/handler.declared.ts.tpl +8 -4
- package/templates/query/handler.spec.container.ts.tpl +13 -0
- package/templates/query/handler.ts.tpl +8 -4
- package/templates/query/reader.fake.ts.tpl +6 -4
- package/templates/query/reader.in-memory.ts.tpl +3 -4
- package/templates/query/reader.spec.ts.tpl +19 -0
- package/templates/repository/contract.spec.ts.tpl +21 -12
- package/templates/repository/drizzle/mapper.ts.tpl +5 -9
- package/templates/repository/drizzle/repository.ts.tpl +11 -35
- package/templates/repository/fake.ts.tpl +19 -0
- package/templates/repository/knex/mapper.ts.tpl +4 -7
- package/templates/repository/knex/repository.ts.tpl +12 -73
- package/templates/repository/none/repository.ts.tpl +9 -12
- package/templates/repository/prisma/mapper.ts.tpl +5 -9
- package/templates/repository/prisma/repository.ts.tpl +10 -70
- package/templates/repository/typeorm/mapper.ts.tpl +4 -7
- package/templates/repository/typeorm/repository.ts.tpl +10 -63
- package/templates/test-world/world.buses.ts.tpl +1 -1
- package/templates/test-world/world.container.ts.tpl +0 -1
- package/dist/check/catalogue/clean-rule-ids.d.ts +0 -3
- package/dist/check/catalogue/clean-rule-ids.d.ts.map +0 -1
- package/dist/check/catalogue/clean-rule-ids.js +0 -14
- package/dist/check/catalogue/clean-rule-ids.js.map +0 -1
- package/dist/check/catalogue/default-severities.d.ts +0 -4
- package/dist/check/catalogue/default-severities.d.ts.map +0 -1
- package/dist/check/catalogue/default-severities.js +0 -27
- package/dist/check/catalogue/default-severities.js.map +0 -1
- package/dist/check/catalogue/suppression-rule.d.ts +0 -9
- package/dist/check/catalogue/suppression-rule.d.ts.map +0 -1
- package/dist/check/catalogue/suppression-rule.js +0 -10
- package/dist/check/catalogue/suppression-rule.js.map +0 -1
- package/dist/check/commands/changed-files.d.ts +0 -8
- package/dist/check/commands/changed-files.d.ts.map +0 -1
- package/dist/check/commands/changed-files.js +0 -27
- package/dist/check/commands/changed-files.js.map +0 -1
- package/dist/check/explain/authz-docs.d.ts +0 -3
- package/dist/check/explain/authz-docs.d.ts.map +0 -1
- package/dist/check/explain/authz-docs.js +0 -127
- package/dist/check/explain/authz-docs.js.map +0 -1
- package/dist/check/explain/clean-docs.d.ts +0 -3
- package/dist/check/explain/clean-docs.d.ts.map +0 -1
- package/dist/check/explain/clean-docs.js +0 -39
- package/dist/check/explain/clean-docs.js.map +0 -1
- package/dist/check/explain/context-docs.d.ts +0 -3
- package/dist/check/explain/context-docs.d.ts.map +0 -1
- package/dist/check/explain/context-docs.js +0 -44
- package/dist/check/explain/context-docs.js.map +0 -1
- package/dist/check/explain/domain-docs.d.ts +0 -3
- package/dist/check/explain/domain-docs.d.ts.map +0 -1
- package/dist/check/explain/domain-docs.js +0 -30
- package/dist/check/explain/domain-docs.js.map +0 -1
- package/dist/check/explain/errors-docs.d.ts +0 -3
- package/dist/check/explain/errors-docs.d.ts.map +0 -1
- package/dist/check/explain/errors-docs.js +0 -53
- package/dist/check/explain/errors-docs.js.map +0 -1
- package/dist/check/explain/event-sourcing-docs.d.ts +0 -3
- package/dist/check/explain/event-sourcing-docs.d.ts.map +0 -1
- package/dist/check/explain/event-sourcing-docs.js +0 -62
- package/dist/check/explain/event-sourcing-docs.js.map +0 -1
- package/dist/check/explain/events-docs.d.ts +0 -3
- package/dist/check/explain/events-docs.d.ts.map +0 -1
- package/dist/check/explain/events-docs.js +0 -103
- package/dist/check/explain/events-docs.js.map +0 -1
- package/dist/check/explain/imports-docs.d.ts +0 -3
- package/dist/check/explain/imports-docs.d.ts.map +0 -1
- package/dist/check/explain/imports-docs.js +0 -48
- package/dist/check/explain/imports-docs.js.map +0 -1
- package/dist/check/explain/language-docs.d.ts +0 -3
- package/dist/check/explain/language-docs.d.ts.map +0 -1
- package/dist/check/explain/language-docs.js +0 -40
- package/dist/check/explain/language-docs.js.map +0 -1
- package/dist/check/explain/layer-docs.d.ts +0 -3
- package/dist/check/explain/layer-docs.d.ts.map +0 -1
- package/dist/check/explain/layer-docs.js +0 -41
- package/dist/check/explain/layer-docs.js.map +0 -1
- package/dist/check/explain/layout-docs.d.ts +0 -3
- package/dist/check/explain/layout-docs.d.ts.map +0 -1
- package/dist/check/explain/layout-docs.js +0 -73
- package/dist/check/explain/layout-docs.js.map +0 -1
- package/dist/check/explain/lifecycle-docs.d.ts +0 -3
- package/dist/check/explain/lifecycle-docs.d.ts.map +0 -1
- package/dist/check/explain/lifecycle-docs.js +0 -33
- package/dist/check/explain/lifecycle-docs.js.map +0 -1
- package/dist/check/explain/module-docs.d.ts +0 -3
- package/dist/check/explain/module-docs.d.ts.map +0 -1
- package/dist/check/explain/module-docs.js +0 -40
- package/dist/check/explain/module-docs.js.map +0 -1
- package/dist/check/explain/nest-docs.d.ts +0 -3
- package/dist/check/explain/nest-docs.d.ts.map +0 -1
- package/dist/check/explain/nest-docs.js +0 -31
- package/dist/check/explain/nest-docs.js.map +0 -1
- package/dist/check/explain/persistence-docs.d.ts +0 -3
- package/dist/check/explain/persistence-docs.d.ts.map +0 -1
- package/dist/check/explain/persistence-docs.js +0 -103
- package/dist/check/explain/persistence-docs.js.map +0 -1
- package/dist/check/explain/ports-docs.d.ts +0 -3
- package/dist/check/explain/ports-docs.d.ts.map +0 -1
- package/dist/check/explain/ports-docs.js +0 -78
- package/dist/check/explain/ports-docs.js.map +0 -1
- package/dist/check/explain/privacy-docs.d.ts +0 -3
- package/dist/check/explain/privacy-docs.d.ts.map +0 -1
- package/dist/check/explain/privacy-docs.js +0 -65
- package/dist/check/explain/privacy-docs.js.map +0 -1
- package/dist/check/explain/rule-docs.d.ts +0 -4
- package/dist/check/explain/rule-docs.d.ts.map +0 -1
- package/dist/check/explain/rule-docs.js +0 -50
- package/dist/check/explain/rule-docs.js.map +0 -1
- package/dist/check/explain/scheduling-docs.d.ts +0 -3
- package/dist/check/explain/scheduling-docs.d.ts.map +0 -1
- package/dist/check/explain/scheduling-docs.js +0 -71
- package/dist/check/explain/scheduling-docs.js.map +0 -1
- package/dist/check/explain/schema-docs.d.ts +0 -3
- package/dist/check/explain/schema-docs.d.ts.map +0 -1
- package/dist/check/explain/schema-docs.js +0 -28
- package/dist/check/explain/schema-docs.js.map +0 -1
- package/dist/check/explain/standard-docs.d.ts +0 -3
- package/dist/check/explain/standard-docs.d.ts.map +0 -1
- package/dist/check/explain/standard-docs.js +0 -61
- package/dist/check/explain/standard-docs.js.map +0 -1
- package/dist/check/explain/tenancy-docs.d.ts +0 -3
- package/dist/check/explain/tenancy-docs.d.ts.map +0 -1
- package/dist/check/explain/tenancy-docs.js +0 -39
- package/dist/check/explain/tenancy-docs.js.map +0 -1
- package/dist/check/explain/tree-docs.d.ts +0 -3
- package/dist/check/explain/tree-docs.d.ts.map +0 -1
- package/dist/check/explain/tree-docs.js +0 -132
- package/dist/check/explain/tree-docs.js.map +0 -1
- package/dist/check/explain/wiring-docs.d.ts +0 -3
- package/dist/check/explain/wiring-docs.d.ts.map +0 -1
- package/dist/check/explain/wiring-docs.js +0 -114
- package/dist/check/explain/wiring-docs.js.map +0 -1
- package/dist/check/project/source-at.d.ts +0 -8
- package/dist/check/project/source-at.d.ts.map +0 -1
- package/dist/check/project/source-at.js +0 -29
- package/dist/check/project/source-at.js.map +0 -1
- package/dist/check/purity/purity-rule.d.ts +0 -13
- package/dist/check/purity/purity-rule.d.ts.map +0 -1
- package/dist/check/purity/purity-rule.js +0 -2
- package/dist/check/purity/purity-rule.js.map +0 -1
- package/dist/check/scan/statement-of.d.ts +0 -5
- package/dist/check/scan/statement-of.d.ts.map +0 -1
- package/dist/check/scan/statement-of.js +0 -70
- package/dist/check/scan/statement-of.js.map +0 -1
- package/dist/check/suppressions/is-suppressed.d.ts +0 -8
- package/dist/check/suppressions/is-suppressed.d.ts.map +0 -1
- package/dist/check/suppressions/is-suppressed.js +0 -11
- package/dist/check/suppressions/is-suppressed.js.map +0 -1
- package/dist/check/suppressions/suppression-rule-id.d.ts +0 -2
- package/dist/check/suppressions/suppression-rule-id.d.ts.map +0 -1
- package/dist/check/suppressions/suppression-rule-id.js +0 -2
- package/dist/check/suppressions/suppression-rule-id.js.map +0 -1
- package/dist/check/suppressions/suppression-violations.d.ts +0 -6
- package/dist/check/suppressions/suppression-violations.d.ts.map +0 -1
- package/dist/check/suppressions/suppression-violations.js +0 -25
- package/dist/check/suppressions/suppression-violations.js.map +0 -1
- package/dist/commands/parse-migration-arguments.d.ts +0 -11
- package/dist/commands/parse-migration-arguments.d.ts.map +0 -1
- package/dist/commands/parse-migration-arguments.js +0 -17
- package/dist/commands/parse-migration-arguments.js.map +0 -1
- package/dist/generate/errors/class-body.d.ts +0 -8
- package/dist/generate/errors/class-body.d.ts.map +0 -1
- package/dist/generate/errors/class-body.js +0 -11
- package/dist/generate/errors/class-body.js.map +0 -1
- package/dist/generate/flags-of.d.ts +0 -4
- package/dist/generate/flags-of.d.ts.map +0 -1
- package/dist/generate/flags-of.js +0 -6
- package/dist/generate/flags-of.js.map +0 -1
- package/dist/generate/kinds/tables-files.d.ts +0 -3
- package/dist/generate/kinds/tables-files.d.ts.map +0 -1
- package/dist/generate/kinds/tables-files.js +0 -7
- package/dist/generate/kinds/tables-files.js.map +0 -1
- package/dist/generate/shared-writes.d.ts +0 -12
- package/dist/generate/shared-writes.d.ts.map +0 -1
- package/dist/generate/shared-writes.js +0 -127
- package/dist/generate/shared-writes.js.map +0 -1
- package/dist/merge/order/comes-after.d.ts +0 -8
- package/dist/merge/order/comes-after.d.ts.map +0 -1
- package/dist/merge/order/comes-after.js +0 -9
- package/dist/merge/order/comes-after.js.map +0 -1
- package/dist/merge/order/in-order.d.ts +0 -4
- package/dist/merge/order/in-order.d.ts.map +0 -1
- package/dist/merge/order/in-order.js +0 -6
- package/dist/merge/order/in-order.js.map +0 -1
- package/dist/merge/order/migrations-of-commit.d.ts +0 -7
- package/dist/merge/order/migrations-of-commit.d.ts.map +0 -1
- package/dist/merge/order/migrations-of-commit.js +0 -43
- package/dist/merge/order/migrations-of-commit.js.map +0 -1
- package/dist/merge/order/migrations-of-tree.d.ts +0 -9
- package/dist/merge/order/migrations-of-tree.d.ts.map +0 -1
- package/dist/merge/order/migrations-of-tree.js +0 -25
- package/dist/merge/order/migrations-of-tree.js.map +0 -1
- package/dist/merge/order/ordered-migration.d.ts.map +0 -1
- package/dist/merge/order/ordered-migration.js.map +0 -1
- package/dist/merge/restamp-class.d.ts.map +0 -1
- package/dist/merge/restamp-class.js.map +0 -1
- package/dist/mutation/changed-files.d.ts +0 -7
- package/dist/mutation/changed-files.d.ts.map +0 -1
- package/dist/mutation/changed-files.js +0 -15
- package/dist/mutation/changed-files.js.map +0 -1
- package/dist/worker/changed-files.d.ts.map +0 -1
- package/dist/worker/changed-files.js +0 -20
- package/dist/worker/changed-files.js.map +0 -1
- package/templates/gateway/platform-test.declared.tpl +0 -4
- package/templates/gateway/platform.declared.tpl +0 -4
- /package/dist/{merge/order → orm/migrations}/ordered-migration.js +0 -0
- /package/dist/{merge → orm/migrations}/restamp-class.d.ts +0 -0
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ second reads the project back without changing it: `check` judges it, `list` and
|
|
|
20
20
|
what it holds, `status` and `todo` say what is left to do, `affected` says what a pull request has
|
|
21
21
|
to run.
|
|
22
22
|
|
|
23
|
-
, in the middle the project (ddd-ts-kit.config.json, the bounded contexts and the platform under src/, the generated documents), on the right the ones that read it back (check and check-file, list and describe, status and todo, affected)](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-commands-and-project.svg)
|
|
24
24
|
|
|
25
25
|
No runtime dependency. Node 22.12 or later. Windows through WSL 2 only: outside it, `affected --run`,
|
|
26
26
|
`verify-slice`, `worker-scope`, `story-scope`, `worktree` (unless `--no-install` or `--dry-run`) and
|
|
@@ -55,7 +55,7 @@ not write some of them where it ran (a path the sandbox of an agent protects): t
|
|
|
55
55
|
under `unwritable`, every other file is written and none is deleted; `4` an internal error of the
|
|
56
56
|
kit, said in one line with its version (`internal error of ddd-ts-kit <version>: ...`, its stack
|
|
57
57
|
trace after it when `DDD_TS_KIT_DEBUG` is set; under `--json` an `error` with its `stack` and
|
|
58
|
-
`"internal": true`): report it at https://github.com/
|
|
58
|
+
`"internal": true`): report it at https://github.com/ddd-ts-kit/ddd-ts-kit/issues with the command
|
|
59
59
|
and the stack trace.
|
|
60
60
|
|
|
61
61
|
## init
|
|
@@ -111,13 +111,19 @@ anything is written; a link that stays inside the project is written through. `i
|
|
|
111
111
|
`.claude/settings.json` would be the settings of every session: run it in the directory of the
|
|
112
112
|
project.
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
place
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
What a command writes lands whole or not at all: each file is written to `<name>.<random>.tmp`
|
|
115
|
+
beside its place, and the files are renamed into place only once every one of them is written. A
|
|
116
|
+
write that fails (a full disk) leaves the project as it stood, and the same command run again
|
|
117
|
+
writes it; a process killed half way may leave `.tmp` files, which can be removed, and, when it was
|
|
118
|
+
killed while renaming, the files already in place, which the same command completes.
|
|
119
|
+
Every command that reads the shared files of the project and writes them back holds the lock of
|
|
120
|
+
the project while it runs, `.ddd-ts-kit/lock`, which git ignores: `init` on a project already
|
|
121
|
+
initialised, `generate`, `docs`, `sdk`, `drizzle-generate`, `move-to-module`, `context-layout`,
|
|
122
|
+
`platform-folders`, `controllers`, `value-objects`, `error-factories`, `acceptance --lock` and
|
|
123
|
+
`depcruise-config --write`. None takes it to say what it would write (`--dry-run`, `--check`). A
|
|
124
|
+
second one waits up to five seconds, then exits 2 naming the command that holds it and the fix,
|
|
125
|
+
run them one after the other:
|
|
126
|
+
``Another command holds the lock of this project: `ddd-ts-kit generate context billing` (pid 1234, started 12 seconds ago).``
|
|
121
127
|
A lock taken on this machine is kept while its command runs and taken over once it has ended; one
|
|
122
128
|
taken on another machine, or whose holder cannot be read, is taken over a minute after it was taken.
|
|
123
129
|
|
|
@@ -380,7 +386,7 @@ is absent with standard decorators and under `tsx`. `init` writes
|
|
|
380
386
|
what each class is given. Every generated file exports one class, interface or function and is named
|
|
381
387
|
after it.
|
|
382
388
|
|
|
383
|
-

|
|
384
390
|
|
|
385
391
|
An excerpt of the declarations of the `notification` context of the example application, as
|
|
386
392
|
the CLI writes them (never by hand): one file per layer, above the role folders whose classes it
|
|
@@ -518,7 +524,7 @@ the laws of an existing value object as a spec on generated values, in either fo
|
|
|
518
524
|
`fast-check` to the development dependencies when it is missing.
|
|
519
525
|
|
|
520
526
|
**Domain events leave with the save.** A generated command handler builds or loads its aggregate,
|
|
521
|
-
calls one intention method, `await repository.save(aggregate)` and returns: no `
|
|
527
|
+
calls one intention method, `await repository.save(aggregate)` and returns: no `takeRecordedEvents()`, and
|
|
522
528
|
no `DomainEventDispatcher` in a handler or in a repository adapter, which only persists. The events
|
|
523
529
|
the aggregate recorded are dispatched once the save resolves, inside the unit of work of the
|
|
524
530
|
command: by the kernel module on tsyringe, by `dispatchingOnSave` around each repository in
|
|
@@ -532,7 +538,7 @@ async execute(command: IssueInvoiceCommand): Promise<void> {
|
|
|
532
538
|
|
|
533
539
|
invoice.issue(this.clock.now());
|
|
534
540
|
await this.invoiceRepository.save(invoice);
|
|
535
|
-
await this.dispatcher.dispatch(invoice
|
|
541
|
+
await this.dispatcher.dispatch(takeRecordedEvents(invoice)); // domain-events/dispatched-on-save
|
|
536
542
|
}
|
|
537
543
|
```
|
|
538
544
|
|
|
@@ -607,7 +613,7 @@ config, `docsUi`, `ci` and `logger` included.
|
|
|
607
613
|
| `--audit on` | `src/platform/audit/`: `create-audit.ts` (the trail, the `onDecision` of the authorization, the refusals of the guards at the edge given to the HTTP boundary as `onGuardRefusal`, the middleware before the unit of work, the integration events subscribed under the consumer name `audit`), `audited-events.ts` (the registry `generate integration-event` adds to), `audit.module.ts`, and with an HTTP stack the read side: `audit.permissions.ts` (`audit:trail.read`), then in `search-audit-entries/`: `search-audit-entries.query.ts`, its handler, `search-audit-entries.route.ts` or `.controller.ts` (`GET /audit/entries`: cursor pages, filters `actorId`, `action`, `outcome`, `correlationId`), which starts with the endpoint and takes what it receives and answers from `audit-entries-parameters.ts`, `audit-entries-filter-of.ts`, `audit-entry-view.ts`, `audit-entry-view-of.ts` and `audit-outcomes.ts`. It is a capability of the platform, not a bounded context: no model, one protected query over the `AuditReader` port, bounded by the tenant of the actor (with `--tenancy shared-table`, by the tenant of the work through `TenantAuditReader`: platform staff read across tenants only inside `acrossTenants`). The refusals of a caller without a credential are not recorded. A scheduled job is audited like a request: origin `schedule`, actor `system:<context>.<job>`. With knex the two tables and their append-only triggers are created by the first migration; with drizzle the tables are in `schema.ts` and `npm run db:generate` adds the trigger statements to the migration that creates the tables (`npm run db:audit-guard` prints them for a migration by hand); with prisma and typeorm the tables are models of `prisma/schema/schema.prisma` or entities of `schema.ts` (`auditPrismaModels`, `auditEntities` of `@ddd-ts-kit/audit`), written by `PrismaAuditTrail` and `TypeOrmAuditTrail`, and `npm run db:generate` (through `ddd-ts-kit prisma-generate` or `typeorm-generate`) adds the trigger statements to the migration that creates the tables, `npm run db:audit-guard` printing them for a migration by hand; the test databases install that guard; with `custom` or no ORM the trail is an `InMemoryAuditTrail` behind a `TODO(platform)`. The test databases leave the audit schema out of `reset()`. With the trail in a database and `--storage local` or `s3`, `audit.module.ts` (or the hand-wired composition) registers `audit.archive` on the first day of every month at 04:00 UTC: the entries older than twelve whole months move to the storage under `audit-archives/`, verified, read back and anchored (`ArchiveAuditEntries`); with `s3` it runs unless `JOB_AUDIT_ARCHIVE_ENABLED=false`, with `local` only with `JOB_AUDIT_ARCHIVE_ENABLED=true`, since the archive removes the entries from the database and the disk of the server may not last |
|
|
608
614
|
| `--event-sourcing on` | recorded as `stack.eventSourcing`, `off` unless asked: `Persistence` gains `eventSourcing` (`create<Orm>EventSourcing` in the `event_store` schema, whose five tables the schema file declares; the in-memory stores with `--orm none`), and `src/platform/event-sourcing/`: `create-event-sourcing.ts` (`EventSourcing`: the stores, the `SubjectKeyStore` wrapped by `auditedSubjectKeys` with `--audit on`, and the `PersonalDataCipher` over it) and, on tsyringe, `event-sourcing.module.ts` (binds `EventStore`, `SnapshotStore`, `CheckpointStore`, `SubjectKeyStore` and `PersonalDataCipher`, so an event-sourced repository adapter names them in its constructor; the hand-wired `Platform` carries them as `platform.eventSourcing`); `platform-test.module.ts` binds the in-memory stores, so a handler spec of an event-sourced aggregate needs no fake. `generate aggregate --event-sourced` is refused without it, with the `init --force --event-sourcing on` to run. Refused with `--orm custom`: the event store of the kit runs on PostgreSQL through the four ORM packages |
|
|
609
615
|
| `--privacy on` | recorded as `stack.privacy`, `on` when there is an ORM: `src/platform/privacy/`, with `data-subject-copies.ts` and `data-subject-exports.ts` (the ports, or the adapters by hand, of the contexts that extend `PersonalDataErasure` and `PersonalDataExport`, between markers; `generate repository --personal` lists the erasure and the export of a context there), `personal-events.ts` (the events that carry personal data, written by `docs` from their `personal` option), `run-erasure.ts` (`runErasure(subject, { operator, correlationId, rerun?, tenants? })`: an execution context of origin `cli` with the operator as actor, the key of the subject when the project has an event store, then `eraseDataSubject` of the kernel over the copies, each wrapped by `auditedPersonalDataErasure` with `--audit on`, `inEachTenant` with `--tenancy shared-table`, then once the records of the outbox and the jobs of the person, then `privacy.data-subject.erased` published through the outbox, once per tenant, unless nothing was reached) and `run-export.ts` (`runExport(subject, { operator, correlationId, tenants? })`: `exportDataSubject` of the kernel over the exports, each wrapped by `auditedPersonalDataExport` with `--audit on`, `recordsInEachTenant` with `--tenancy shared-table`, one dated `PersonalDataExportDocument`), and the two scripts below. `docs/privacy/register.md`, the register of personal data `ddd-ts-kit docs` keeps (see `docs` below). A project without personal data takes `--privacy off` and pays nothing. No HTTP command erases yet: the two scripts are the entry points |
|
|
610
|
-
| `--tenancy shared-table` | recorded as `stack.tenancy`; the four ORMs. Every `generate repository` is tenant-scoped (as `--tenant-scoped`), through `tenantTable` and `ownTenantTable` (Knex), `tenantCondition` and `ownTenantCondition` (Drizzle), `tenantWhere` and `ownTenantWhere` (Prisma, TypeORM)
|
|
616
|
+
| `--tenancy shared-table` | recorded as `stack.tenancy`; the four ORMs. Every `generate repository` is tenant-scoped (as `--tenant-scoped`), through `tenantTable` and `ownTenantTable` (Knex), `tenantCondition` and `ownTenantCondition` (Drizzle), `tenantWhere` and `ownTenantWhere` (Prisma, TypeORM), and saves with `saveTenantAggregate`; the outbox keeps the tenant of each event (`createOutboxTables(knex, { tenant: true })` and `KnexOutboxStore`'s `tenant: true`, `tenantOutboxTable`, the `tenantId` field of the Prisma model and `PrismaOutboxStore`'s `tenant: true`, `outboxEntity({ tenant: true })`), so consumers run in it; `tenancy/scoped-statement` judges the adapters; the authorizer is held to the tenants of the actor, whatever `--authz` (`new TenantBoundAuthorizer({ model: createAuthorizer(), rowsConfinedBy: 'stores' })` in `auth/authorization/authorization.ts`, in `composition/create-platform.ts` under `--di manual`). Row-level security, schema per tenant and database per tenant are refused, with what to wire by hand ([Multitenancy](../../docs/concepts/multitenancy.md)) |
|
|
611
617
|
| `--queue database\|redis\|memory` | recorded as `stack.queue`. `database` (the default on Knex, Drizzle, Prisma and TypeORM, whatever the container): the tables of the ORM package (`createJobTable` and `createProcessTable`, `jobsTable` and `processesTable`, the `BackgroundJob` and `ProcessInstance` models, `jobEntity` and `processEntity`) in the `messaging` schema, `Persistence` gains `jobs` and `processes`, and the platform binds `JobStore` and `ProcessStore` to them (the platform module on tsyringe, `jobs/create-background-work.ts` where the platform is wired by hand or under Nest), so a job enqueued by a command is written in its transaction; `redis` (with `--cache redis`): `RedisJobStore` on the connection of the cache, the processes in the database; `memory` (the default with a custom persistence or none): nothing is written, both stay in the process. Refused: `database` with another ORM, `redis` without the cache |
|
|
612
618
|
| `--cache redis` | `src/platform/redis/open-redis.ts` (`RedisServices`: the cache bound to the kernel `Cache`, the limiter to `RateLimiter`, the lock to `Lock`, which keeps a scheduled job to one instance, the relay signal as the `wakeOn` of the outbox relay with `relayWakeUpMiddleware` on the command bus), `http/too-many-requests-for.ts` (one sliding window per caller address, 429 `application/problem+json` with `retry-after`; `RATE_LIMIT_MAX`, `RATE_LIMIT_WINDOW_MS`; the address is the socket's unless `TRUST_PROXY` names the proxies in front, by hops or by address, by hops only on Hono), `GET /health/ready` on the HTTP server, `REDIS_URL` validated, a compose service `cache` running Dragonfly with a healthcheck. Without a server (tools, tests without `REDIS_URL`) the same ports stay in the memory of the process |
|
|
613
619
|
| `--http-cache varnish` | a compose service `varnish` (Varnish 9.1.0, reaching the API on `host.docker.internal`) with its VCL in `docker/varnish/default.vcl` (only answers whose `Cache-Control` allows them by `max-age` or `s-maxage` are kept, filed under their `xkey` tags, purged by `PURGE` from the machine of Varnish or with `VARNISH_PURGE_KEY`, `x-cache: HIT\|MISS`), `VARNISH_URL` and `VARNISH_PURGE_KEY` validated, `cacheTags: { header: CacheTagHeader.xkey }` in the HTTP boundary, and the outbox relay of `main.ts` and of every `generate service` entry point publishing through `PurgingPublisher` with `VarnishCachePurger` (the end-to-end application records the purges in `purges`); on `--di manual` and `nest` the platform gains `cacheInvalidation`; with `--tenancy`, the tags of the answers and the purges are filed under the tenant (`perTenant`) and the tenant of a request is read from `x-tenant-id`. Needs an HTTP framework and `--events outbox`: a purge is a row of the outbox |
|
|
@@ -708,8 +714,8 @@ removing `generated/` writes them again). Two runs in one project take turns on
|
|
|
708
714
|
`.ddd-ts-kit/prisma-client`: two test runs started together never write the client at once.
|
|
709
715
|
|
|
710
716
|
`package.json` carries two compilers: `typescript ~6.0.3`, which the tools load as a library,
|
|
711
|
-
and `@typescript/native` (`npm:typescript@~7.0.2`), which `build` and `typecheck`
|
|
712
|
-
|
|
717
|
+
and `@typescript/native` (`npm:typescript@~7.0.2`), which `build` and `typecheck` run through
|
|
718
|
+
`ddd-ts-kit tsc`, wherever the package manager installed it. `npx tsc` would run the older one.
|
|
713
719
|
|
|
714
720
|
`init` and `generate context` start with the language: the first entry of `todos` is the glossary
|
|
715
721
|
of the context to fill in. Both refuse a context named `schema`, on every ORM: on Prisma the models
|
|
@@ -761,7 +767,7 @@ One run of `generate` does five things, in this order, and writes nothing when t
|
|
|
761
767
|
refuses (each file written whole, a kind that writes shared files under the lock of the
|
|
762
768
|
project: [init](#init)):
|
|
763
769
|
|
|
764
|
-
, the files are written from the templates, the new pieces are registered between marker comments, the derived documents are refreshed, and the places that need a business decision are printed as file:line](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-generate-one-run.svg)
|
|
765
771
|
|
|
766
772
|
In the example application, a use case named with a word its glossary does not define is refused,
|
|
767
773
|
and the message says how to go on:
|
|
@@ -786,7 +792,7 @@ would update src/contexts/notification/application/application.declarations.ts
|
|
|
786
792
|
|
|
787
793
|
Next, in this order: the language of the context first, then the business decisions only you can make
|
|
788
794
|
src/contexts/notification/application/commands/archive-notification/archive-notification.command.ts:9 declare the input of "archive notification" as a constructor with the actor...
|
|
789
|
-
src/contexts/notification/application/commands/archive-notification/archive-notification.handler.ts:16 "archive notification" changes Notifications that exist and
|
|
795
|
+
src/contexts/notification/application/commands/archive-notification/archive-notification.handler.ts:16 "archive notification" changes Notifications that exist and refuses until you decide how
|
|
790
796
|
src/contexts/notification/test/unit/archive-notification.handler.spec.ts:38 replace each entry below by a test named after the business behaviour...
|
|
791
797
|
```
|
|
792
798
|
|
|
@@ -799,16 +805,16 @@ Next, in this order: the language of the context first, then the business decisi
|
|
|
799
805
|
| `test-world` | `<context> [Name]` | `test/worlds/<name>.world.ts` (the name defaults to the context): `a<Name>World({ now, idPrefix, given })`, the arrangement several specs of the context share. It reads the fakes of `test/fakes/` and the port each one implements, builds them, hands them to `given` so that the spec stores what it starts from, then to the test application (with `modules`, the authorization of the spec) or, wired by hand, wraps the repositories of the buses of `createTestBuses` with `dispatching`; it returns every fake under the name of its port. A fake that needs constructor arguments, or, under a container, stands for a port nothing binds or depends on yet, is left out with a note. Under a container it also takes `fakes`, the fake of a port it cannot build (a reader that answers what the spec gives it), and, under tenancy, `tenants`. The world named after the context is the one the specs of `command`, `query` and `job` generated after it arrange through |
|
|
800
806
|
| `entity` | `<context> <Name> [--module <module>]` | entity, spec |
|
|
801
807
|
| `value-object` (`vo`) | `<context> <Name> [--module <module>]` | value object, spec |
|
|
802
|
-
| `property` | `<context> <ValueObject> [--module <module>]` | `test/unit/<name>.vo.properties.spec.ts`: the laws of an existing value object checked on generated values (fast-check, added to the development dependencies when missing) |
|
|
803
|
-
| `vocabulary` | `<context> <Name> --value <value> [--value <value>]... [--module <module>]` | `domain/vocabularies/<name>.vocabulary.ts`: an object `as const` of the values, keyed by each value in PascalCase, and the union type of the same name; run again, adds the values the file does not hold |
|
|
808
|
+
| `property` | `<context> <ValueObject> [--module <module>]` | `test/unit/<name>.vo.properties.spec.ts`: the laws of an existing value object checked on generated values (fast-check, added to the development dependencies when missing, with a note that names the install to run: the typecheck and the specs fail until then) |
|
|
809
|
+
| `vocabulary` | `<context> <Name> --value <value> [--value <value>]... [--module <module>]` | `domain/vocabularies/<name>.vocabulary.ts`: an object `as const` of the values, keyed by each value in PascalCase, and the union type of the same name; run again, adds the values the file does not hold. No spec holds it: a note says that the dead code check names the file until a value object, an aggregate or a schema reads it |
|
|
804
810
|
| `domain-event` | `<context> <Aggregate> <Fact> [--module <module>]` | event named `<context>.<aggregate>.<fact>`, spec |
|
|
805
811
|
| `error` (`refusal`) | `<context> <Refusal> <factory> [--code CODE] [--term ...]... [--module <module>]` | under `"stack.refusals": "named"`: the class `<Refusal>` in `domain/errors/<refusal>.error.ts`, extending `DomainRefusal` and reading its code from the list, its entry in `<context>.codes.ts` (the list `<Context>Codes` and its type `<Context>Code`, created when absent; the entry is added at the end), the static factory `<factory>` and its case in `test/unit/<refusal>.error.spec.ts`. Each is written when absent: run again, the command changes nothing; given another factory, it adds it to the class. `<Refusal>` is in PascalCase (a trailing `Error` is dropped), named with terms of the glossary and the qualifiers of a refusal, `invalid`, `unknown`, `already`, `too`, `no`, `missing` and `required` (`BookingTooLate`): a word the glossary does not define is refused, with the `--term` that adds it; `<factory>` starts with `for`, `with`, `because`, `on` or `at` (`forAccountId`), else the command refuses and proposes `for<Factory>`. The code is the refusal in constant case (`InsufficientFunds` sets `INSUFFICIENT_FUNDS`), `--code` gives another; refused: a code already set in the context. Under `factories` and `classes`, `<context> <Concept> <refusal>`: a static factory `<refusal>` on `domain/errors/<concept>.error.ts`, the class of the errors of that concept (created when absent, extending `ConceptError`), and its case in `test/unit/<concept>.error.spec.ts`. The factory is added after the last one; run again, the command changes nothing. `<Concept>` is a term of the glossary (`--term` adds it). The code is the name of the refusal in constant case, with the concept before it when the name is one word or a code of the kit (`Appointment notFound` sets `APPOINTMENT_NOT_FOUND`); `--code` takes one of the forms `errors/factory-name` accepts. Refused: a name such as `create` or `error1`, and a code already set in the context |
|
|
806
812
|
| `domain-error` | `<context> <Name> [--code CODE] [--module <module>]` | one class per error with a stable code, spec: the form of a project whose config says `"stack.refusals": "classes"` or nothing. Refused under `named` and `factories`, with the `generate error` command to run instead |
|
|
807
813
|
| `domain-service` | `<context> <Name> [--module <module>]` | service, spec |
|
|
808
814
|
| `state-machine` | `<context> <Aggregate> [--value <state>]... [--transition "<intention>:<from>[,<from>]...[><to>]"]... [--module <module>]` | the vocabulary `<Aggregate>Status` (created from `--value`, two states at least, or given the values it misses), `domain/state-machines/<aggregate>.state-machine.ts` (`<aggregate>Lifecycle`: every value a state, the first one initial, the transitions asked, a `TODO(domain)` for the refusal of the concept error) and `test/unit/<aggregate>.state-machine.spec.ts` (each transition where it leads, a refusal from a state it does not leave); the aggregate is left to use it |
|
|
809
815
|
| `repository` | `<context> <Aggregate> [--tenant-scoped] [--personal <column>,... [--subject <column>] [--erasure pseudonymise\|row] [--retention <column>:<n><d\|m\|y>]] [--module <module>]` | the port `domain/repositories/<name>.repository.ts` (`abstract class <Name>Repository extends Repository<<Name>>`), the adapter of the project's ORM (`implements` the port) with its mapper and table (or model), a fake, one `repositoryContract` spec run on both, registration. On an event-sourced aggregate (its class extends `EventSourcedAggregate`) there is no table nor mapper: `event-store-<name>.repository.ts` delegates to `EventSourcedRepository` of the kernel over the `EventStore` and the `PersonalDataCipher` the platform binds, with the codec of `<name>-events.mapper.ts` (the snapshot policy left as a `TODO(domain)`), the fake is that adapter over the in-memory stores, and the contract suite runs on both (its stale-save case pending until a `mutate` that records an event is added); `--personal` is refused there, the personal values being sealed in the events. With `--personal`, the columns of the table that hold personal data: added to the storage and to the row type as nullable text (the mapper writes them empty until the aggregate carries them), declared next to the mapper in `<name>.personal-fields.ts` (`personalFields` of the kernel: the subject column, `id` unless `--subject` names the column that holds the id of the person, the fields, `pseudonymise` unless `--erasure row`), spelled as the erasure of the ORM reads them (SQL names on Knex and Prisma, properties on Drizzle and TypeORM); and, once per context, its erasure: the port `application/ports/<context>-personal-data-erasure.port.ts` (`extends PersonalDataErasure`), the adapter `<orm>-<context>-personal-data-erasure.repository.ts` over `<Orm>PersonalDataErasure` of the ORM package (confined to the tenant of the work with `--tenant-scoped`), its fake, bound where the context binds its adapters and listed in `src/platform/privacy/data-subject-copies.ts`, so that `npm run privacy:erase` reaches it; and its export: the port `<context>-personal-data-export.port.ts` (`extends PersonalDataExport`), the adapter `<orm>-<context>-personal-data-export.repository.ts` over `<Orm>PersonalDataExport`, its fake, bound the same way and listed in `data-subject-exports.ts`, so that `npm run privacy:export` hands it over; one spec, `test/integration/<context>-personal-data.spec.ts`, proves both on the test database. With `--retention <column>:<n><d|m|y>`, the declaration gains `retention`, counted from a column that dates the end of the relation and joins the storage as a nullable timestamp, empty while it lasts (a column the table keeps for itself, `created_at` first, or the `registered_at` of a table generated before 0.100, is refused: counted from the creation, the purge would erase people who are still customers) and the spec proves the purge of what outlived it. A second table of the context joins the declarations of both adapters. Refused without `stack.privacy` on (`init --force --privacy on`), with `--orm none` or `custom`, and before anything is written for a column that is not one, a column the table keeps for itself, a subject listed as personal or a mode that does not exist |
|
|
810
|
-
| `command` | `<context> <UseCaseName> (--permission <aggregate>.<action> [--grant <role>] \| --public) [--aggregate <Name> [--creates]] [--module <module>]` | `<use-case>.command.ts` on `AuthorizedCommand` (plain `Command` when public), `<use-case>.handler.ts` (with `--aggregate` it receives the repository and
|
|
811
|
-
| `query` | `<context> <UseCaseName> (--permission <aggregate>.<action> [--grant <role>] \| --public) [--search] [--module <module>]` | `<use-case>.query.ts` on `AuthorizedQuery` (plain `Query` when public), `<use-case>.result.ts`, `<use-case>.handler.ts`, the read port `application/ports/<use-case>-reader.port.ts` (an abstract class), its
|
|
816
|
+
| `command` | `<context> <UseCaseName> (--permission <aggregate>.<action> [--grant <role>] \| --public) [--aggregate <Name> [--creates]] [--module <module>]` | `<use-case>.command.ts` on `AuthorizedCommand` (plain `Command` when public), `<use-case>.handler.ts` (with `--aggregate` it receives the repository and refuses, `throw undecided(...)` of the kernel, 501 at the edge, until its `TODO(domain)` is answered: a command changes an aggregate that exists; with `--creates` it builds the aggregate, saves it and answers its identifier: the events leave with the save), spec through the bus with the refusal of an actor who lacks the permission and, for a handler that still refuses, one test that says so, registration with `.requires(...)` or `.public()` (and the repository when missing). A generated command answers `void` or the identifier of its aggregate, so no `<use-case>.result.ts` is written |
|
|
817
|
+
| `query` | `<context> <UseCaseName> (--permission <aggregate>.<action> [--grant <role>] \| --public) [--search] [--module <module>]` | `<use-case>.query.ts` on `AuthorizedQuery` (plain `Query` when public), `<use-case>.result.ts`, `<use-case>.handler.ts`, the read port `application/ports/<use-case>-reader.port.ts` (an abstract class), its adapter, which refuses (`undecided`, 501) until the read is written, and the spec of that adapter, a fake of the port that answers what a test gives it, the spec of the handler, registration on the query bus. With `--search` (needs `--permission`): a kernel `PageRequest` in the query, the item, the sort and `Page<Item>` in the result file, a handler that asks `Access.scope` and hands the scope to the read port, an in-memory reader paging by offset or cursor |
|
|
812
818
|
| `port` | `<context> <Name> [--module <module>]` | `application/ports/<name>.port.ts`, one abstract class, and its fake |
|
|
813
819
|
| `route` | `<context> <UseCaseName> --method <GET\|POST\|PUT\|PATCH\|DELETE> --path <p> [--command\|--query] [--group <Name>] [--mapper] [--serializer] [--cache public\|private\|no-store] [--module <module>]` | under `"stack.routes": "controllers"`: a controller class in `presentation/http/<resource>/<use-case>/` (the resource is the first segment of the path), depending on `CommandBus` or `QueryBus`, behind the route group of its resource, written with it when it is new (`<resource>.routes.ts`: prefix, tag, `Authenticated`); a public use case stands in no group and says `guards: [Public]`; with class-validator one class per file (`<use-case>.params.ts`, `.body.ts`, `.answer.ts`, `.accepted.ts`, `.line.ts`); `--mapper` and `--serializer` add a request mapper and a serializer the controller is given; a spec; no registration in a declared project, a controller built by hand in `<context>.routes.ts` (the module file with hand wiring) in an explicit one. Under `"functions"`: a `defineRoute` function, its spec, its registration in `<context>.routes.ts`, and `<use-case>-<role>.dto.ts` classes |
|
|
814
820
|
| `controller` | the same arguments as `route` | the controller class, whatever `stack.routes` says: for a project of function routes that writes its next route as a class. `--cache` writes its cache policy: `private` (a `GET` of a caller, `max-age=0`, `must-revalidate`, strong `ETag`), `public` (a `GET` of a public use case, `max-age` 1m, `s-maxage` 5m, tagged with the resources of its path), `no-store`; refused on a write, and `public` behind a route group |
|
|
@@ -819,20 +825,20 @@ Next, in this order: the language of the context first, then the business decisi
|
|
|
819
825
|
| `form` | `<context> <UseCase> [--module <module>]` | adds `const form = defineForm<Infer<typeof body>>({ ... })` before the `@Controller` of a use case that receives a body, and `form` to its options: the hints of its form at `GET /forms/<operationId>` |
|
|
820
826
|
| `schema` | `<context\|shared-kernel> <Name>` | `presentation/http/shared/<name>.schema.ts` of the context, or `presentation/<name>.schema.ts` of the shared kernel: one shape of the contract declared once (a zod schema with `.meta({ id })`, a class-validator class, or a schema wrapped by `sharedSchema`), to fill; the routes use it whole, nested or in part |
|
|
821
827
|
| `integration-event` | `<context> <Aggregate> <Fact> [--version n] [--module <module>]` | `defineIntegrationEvent` declaration in the published language (its payload in `<event>.v<n>.payload.ts` with class-validator or a schema of your own), index export, the publisher `application/integration/publishers/<event>.publisher.ts`, spec, registration, a line of `platform/audit/audited-events.ts` |
|
|
822
|
-
| `integration-handler` (`consumer`) | `<context> <upstreamContext> <eventType>[@v<n>] [--version <n>] [--name <Name>] [--module <module>]` | `application/integration/handlers/<name>.integration-handler.ts`, a class `<Name>IntegrationHandler` depending on `CommandBus`, its spec, its idempotent subscription under the consumer name `<context>.<name>`; the type is taken as `list` prints it, with or without `@v<n>` (the newest version without, `--version <n>` saying the same as the suffix); refused unless the upstream is declared and publishes that version (a version that is not found is refused, never replaced by another) |
|
|
828
|
+
| `integration-handler` (`consumer`) | `<context> <upstreamContext> <eventType>[@v<n>] [--version <n>] [--name <Name>] [--module <module>]` | `application/integration/handlers/<name>.integration-handler.ts`, a class `<Name>IntegrationHandler` depending on `CommandBus`, which refuses the event (`undecided`) until what the context does with it is written, its spec, its idempotent subscription under the consumer name `<context>.<name>`; the type is taken as `list` prints it, with or without `@v<n>` (the newest version without, `--version <n>` saying the same as the suffix); refused unless the upstream is declared and publishes that version (a version that is not found is refused, never replaced by another) |
|
|
823
829
|
| `personal-fields` | `<context> <table> --personal <column>,... --subject <column> [--erasure pseudonymise\|row] [--retention <column>:<n><d\|m\|y>] [--tenant-scoped] [--module <module>]` | the declaration of the personal columns of a table no aggregate owns (a read model, a table of received messages, a table written by hand), given by its SQL name: `infrastructure/persistence/<table>.personal-fields.ts`, spelled as the erasure of the ORM reads it (on Drizzle and TypeORM with the properties the schema file gives the columns), joined to the erasure and to the export of the context, or written with them as `repository --personal` writes them for a first table, except the spec: `test/integration/<context>-personal-data.spec.ts` proves the fakes and names as `it.todo` each case to prove on the test database, no repository nor builder writing the rows of such a table. `--subject` is required: the row of such a table is rarely the person. The table is read in the schema file of the context and never changed. Refused: a table that file does not declare, a table that has a declaration, a column the definition of the table does not hold (said in the output instead when the definition takes columns from a spread or a helper), a table without `tenant_id` where the erasure is confined to a tenant, and what `--personal` of a repository refuses |
|
|
824
830
|
| `erasure-handler` | `<context> [--module <module>]` | `application/integration/handlers/data-subject-erased.integration-handler.ts`, a class `DataSubjectErasedIntegrationHandler` that erases what the context keeps of a person through its `<Context>PersonalDataErasure` when the platform announces `privacy.data-subject.erased` (`dataSubjectErasedV1` of the kernel), its spec on the fake, its idempotent subscription under the consumer name `<context>.data-subject-erased` (in a transaction behind a broker); for a context that runs as a service of its own or copies personal data from events. Refused until the context has its erasure (`generate repository --personal`), and refused on an event-sourced context, whose personal values are erased by destroying the key of the subject (`eraseDataSubject`) |
|
|
825
|
-
| `event-handler` | `<context> <Aggregate> <Fact> [--phase before-commit\|after-commit] [--name <Name>] [--module <module>]` | reaction to a domain event of the context, spec, subscription; before the commit of the unit of work by default, after it with `--phase after-commit` (an effect no transaction covers, at most once), and the spec runs the reaction in that phase |
|
|
826
|
-
| `projection` (`projector`) | `<context> <Name> <event-type>[@v<n>] [--module <module>]` | a projector in `application/projections/<name>.projection.ts`, declared with `@Projection('<context>.<name>')` and one `@On(definition)` method for the integration event, which the context itself or a declared upstream publishes, and its spec; the type is taken as `list` prints it, `@v<n>` pinning the version (the newest without). In the explicit style on tsyringe the module file of the context includes it with `builder.include(<Name>Projection)`; on a hand-wired platform the class is plain and the module subscribes it under its consumer name. It keeps one read model, which `generate read-model` writes: its port is received in the constructor |
|
|
831
|
+
| `event-handler` | `<context> <Aggregate> <Fact> [--phase before-commit\|after-commit] [--name <Name>] [--module <module>]` | reaction to a domain event of the context, which refuses (`undecided`) until its policy is written, so that a command recording the fact fails until then, spec, subscription; before the commit of the unit of work by default, after it with `--phase after-commit` (an effect no transaction covers, at most once), and the spec runs the reaction in that phase |
|
|
832
|
+
| `projection` (`projector`) | `<context> <Name> <event-type>[@v<n>] [--module <module>]` | a projector in `application/projections/<name>.projection.ts`, declared with `@Projection('<context>.<name>')` and one `@On(definition)` method for the integration event, which the context itself or a declared upstream publishes, and its spec; the type is taken as `list` prints it, `@v<n>` pinning the version (the newest without). In the explicit style on tsyringe the module file of the context includes it with `builder.include(<Name>Projection)`; on a hand-wired platform the class is plain and the module subscribes it under its consumer name. It keeps one read model, which `generate read-model` writes: its port is received in the constructor, written at once in a declared project when the read model of the same name exists. Each `@On` method refuses (`undecided`) until the line it writes is decided |
|
|
827
833
|
| `read-model` | `<context> <Name> [--field <name>:<type>[:nullable]]... [--tenant-scoped] [--module <module>]` | the read model a projection keeps. The port in `application/ports/<name>.port.ts`: the type `<Name>Row` (the key `id`, then one field per `--field`, of type `string`, `number`, `boolean`, `instant` or `decimal`, `:nullable` for one that may hold null), the criteria `<name>Criteria` its readers may ask, and the abstract class `<Name>` over `ReadModelStore<<Name>Row>`. Its table, named after it in snake_case, in the schema of the context, with the column of each field and the columns of the store (`readModelColumns()`; the Prisma model holds them as fields). The column of a field accepts null whatever the row requires, a removed row being a trace that keeps its key and its stamp alone, and a check constraint `<table>_live_rows_whole` keeps every other row whole, `deleted or (<column> is not null and ...)` over the fields the row requires: `check(...)` on Drizzle, `table.check(...)` on Knex, `checks` of the entity schema on TypeORM, and on Prisma, whose schema language has none, a `TODO(domain)` line of the model that holds the `ALTER TABLE` to add to the migration. The tenant column and its index with `--tenant-scoped` or in a multi-tenant project. The store adapter `infrastructure/persistence/<orm>-<name>.repository.ts`, a class `<Orm><Name>` over the read model store of the ORM package (`DrizzleReadModelStore`, `KnexReadModelStore`, `PrismaReadModelStore`, `TypeOrmReadModelStore`; `InMemoryReadModelStore` of the kernel in a project without an ORM), declared with `@Repository(<Name>)`, or bound in the module file in the explicit style (a note says where to build it on a hand-wired platform). The fake `test/fakes/<name>.fake.ts` and `test/integration/<name>.contract.spec.ts`, which runs `readModelContract` on the fake and on the adapter, and with a tenant proves that one tenant does not read the rows of another. A port of that name that is no read model is refused |
|
|
828
834
|
| `job` | `<context> <Name> (--every <duration> \| --cron "<expression>" [--time-zone <zone>]) --command <UseCaseName> [--global] [--module <module>]` | `application/scheduling/<name>.job.ts`, a class `<Name>Job implements ScheduledJob` that sends the command, as `systemActor('<context>.<name>')` when it is protected, with `execution.scheduledAt` when the command takes it; `test/unit/<name>.job.spec.ts`, which runs the job (by name on tsyringe, `application.jobs.runNow`; `job.run(occurrence)` with hand wiring) and asserts the command it sent; its registration; its switch in `platform/jobs/job-settings.ts`; the grant of its system actor (below) |
|
|
829
835
|
| `background-job` | `<context> <Name> --command <UseCaseName> [--module <module>]` | `application/background/<name>.background-job.ts`, a class `<Name>BackgroundJob implements BackgroundJob<<Name>Payload>` named by its static `jobName` `<context>.<name>`, that sends the command as `execution.actor` when it is protected, followed by one field of `<Name>Payload` per other parameter of the constructor of the command (strings, numbers, booleans, literals and lists of them as written, a `Date` as its ISO text; anything else is refused), and its static `payload`, the schema of that payload in the validation library of the stack (a `z.object` under zod, a class of decorated fields without initial value under class-validator, a `Type.Object` under TypeBox, one refusal per field written by hand under Standard Schema and, with `--validation none`, in the `BackgroundJobPayloadSchema` of the kernel; a type it writes no check for is typed `unknown` with a `TODO(domain)`), which the worker reads the stored payload with before each run; `test/unit/<name>.background-job.spec.ts`, which enqueues it with a payload of every field as a user and runs what is due, then enqueues it as an earlier version declared it (`earlierVersionOf` of `@ddd-ts-kit/testing`) and shows the job dead with `INVALID_JOB_PAYLOAD` (through the test application on tsyringe, through a queue and a worker in memory on the test buses otherwise); its registration (`@Background()`, `builder.backgroundJob(..)` in the module file on tsyringe, `platform.backgroundJobs.register(..)` in the module file of a platform wired by hand) |
|
|
830
836
|
| `process` (`process-manager`) | `<context> <Name> [--module <module>]` | `application/processes/<name>.process.ts` (its state, `processName`, `timeoutJob`, `isState`, a first step that arms a deadline, a step that ends it in time, the step of the deadline), `application/background/<name>-timeout.background-job.ts`, which delivers its timeouts through `ProcessRunner`, and the specs of both (`givenProcess`, the queue of the test application on tsyringe, a queue and a runner in memory on the test buses otherwise) |
|
|
831
|
-
| `acl` | `<context> <upstreamOrSystemName> [--module <module>]` | translator in `infrastructure/anti-corruption/`, spec |
|
|
832
|
-
| `e2e` | `<context> <UseCaseName> [--event <eventType> \| --job <JobName>]` | `test/e2e/<use-case>.e2e.spec.ts` driving the route of the use case: 401 without a credential, 403 without the permission, the documented status with it; for a command, one more test asserts the trace of the request, exact on names and structure, with `installTestTracing()` and `expectSpanTree(storyOf(trace), [...])` of `@ddd-ts-kit/tracing/testing` (`POST /invoices`, then `command IssueInvoiceCommand`, then `repository InvoiceRepository.save`, and after it, for a command that gives birth to an aggregate born with `--birth`, `unit-of-work before-commit` and `domain-event <name>` of its birth event, a note naming what already reacts to it). A use case no route reaches, started by an integration event handler of the context, gets a spec that publishes the upstream event, built from its declaration, with `application.publish([event])`, awaits `application.settled()` and leaves `it.todo` for what a client observes (the `GET` routes of the context, or the events it publishes with `collectEvents`); the handler that sends `<UseCase>Command` is found in `application/integration/handlers/`, and `--event billing.invoice.issued` names the event when handlers of several send it, or when the handler does not send it yet. A use case only a job sends the command of gets one test per job: `await application.runJob('<context>.<job>')` for a scheduled job (`application/scheduling/`), and, for a background job (`application/background/`), the request that enqueues it left to write, `const ran = await application.runDueJobs()`, which runs what is due on the queues as the worker would, and the assertion that the job is among `ran`; each then awaits `application.settled()`. `--job VoidInvoice` names one job, by its class or by the name it runs under (`billing.void-invoice`), also for a use case a route reaches, and writes `test/e2e/<use-case>-<job>.e2e.spec.ts`. Needs the route, that handler, or a job that sends the command |
|
|
837
|
+
| `acl` | `<context> <upstreamOrSystemName> [--module <module>]` | translator in `infrastructure/anti-corruption/`, which refuses every record (`undecided`) until its mapping is written, spec |
|
|
838
|
+
| `e2e` | `<context> <UseCaseName> [--event <eventType> \| --job <JobName>]` | `test/e2e/<use-case>.e2e.spec.ts` driving the route of the use case: 401 without a credential, 403 without the permission, the documented status with it (while the use case still refuses, as generated, the scenarios that reach it are held by `pending(...)` of `@ddd-ts-kit/testing/e2e`, which fails them once it is written: remove it then); for a command, one more test asserts the trace of the request, exact on names and structure, with `installTestTracing()` and `expectSpanTree(storyOf(trace), [...])` of `@ddd-ts-kit/tracing/testing` (`POST /invoices`, then `command IssueInvoiceCommand`, then `repository InvoiceRepository.save`, and after it, for a command that gives birth to an aggregate born with `--birth`, `unit-of-work before-commit` and `domain-event <name>` of its birth event, a note naming what already reacts to it). A use case no route reaches, started by an integration event handler of the context, gets a spec that publishes the upstream event, built from its declaration, with `application.publish([event])`, awaits `application.settled()` and leaves `it.todo` for what a client observes (the `GET` routes of the context, or the events it publishes with `collectEvents`); the handler that sends `<UseCase>Command` is found in `application/integration/handlers/`, and `--event billing.invoice.issued` names the event when handlers of several send it, or when the handler does not send it yet. A use case only a job sends the command of gets one test per job: `await application.runJob('<context>.<job>')` for a scheduled job (`application/scheduling/`), and, for a background job (`application/background/`), the request that enqueues it left to write, `const ran = await application.runDueJobs()`, which runs what is due on the queues as the worker would, and the assertion that the job is among `ran`; each then awaits `application.settled()`. `--job VoidInvoice` names one job, by its class or by the name it runs under (`billing.void-invoice`), also for a use case a route reaches, and writes `test/e2e/<use-case>-<job>.e2e.spec.ts`. Needs the route, that handler, or a job that sends the command |
|
|
833
839
|
| `acceptance` | `<story> ["<title>"]` | `test/acceptance/<story>.acceptance.spec.ts`, written before the code: an `it.todo` per acceptance criterion of `docs/architecture/stories/<story>.md`, or per slice row of the story in `docs/architecture/slices.md` when it states none |
|
|
834
|
-
| `policy` | `<context> <Name> --permission <aggregate>.<action> [--module <module>]` | `application/authorization/<name>.policy.ts`, spec; declared: the class carries `@Policy(permission, { name })` and nothing else is written; explicit: registration in `platform/auth/authorization/access-policies.ts` |
|
|
835
|
-
| `gateway` | `<context> <upstreamContext> <Name> [--module <module>]` | the read contract in the upstream's published language (`<name>.contract.ts`, an abstract class and the token of the upstream value), the port `application/ports/<name>-gateway.port.ts`, an in-process adapter in `infrastructure/external/` bound `.as('gateway')`, a fake, one contract suite; refused unless the upstream is declared |
|
|
840
|
+
| `policy` | `<context> <Name> --permission <aggregate>.<action> [--module <module>]` | `application/authorization/<name>.policy.ts`, which refuses everybody until its rule is written, spec; the generated use cases of its permission are written again to ask it, the birth of an aggregate about the aggregate it builds, a query about what it read, a handler that still refuses by a `TODO(domain)` where it will ask; declared: the class carries `@Policy(permission, { name })` and nothing else is written; explicit: registration in `platform/auth/authorization/access-policies.ts` |
|
|
841
|
+
| `gateway` | `<context> <upstreamContext> <Name> [--module <module>]` | the read contract in the upstream's published language (`<name>.contract.ts`, an abstract class and the token of the upstream value), the port `application/ports/<name>-gateway.port.ts`, an in-process adapter in `infrastructure/external/` bound `.as('gateway')`, a fake, one contract suite; the contract is bound to a refusal (`undecided`, under a `TODO(platform)` that `todo` lists) until the implementation of the upstream is bound; refused unless the upstream is declared |
|
|
836
842
|
| `adapter` | `<context> <Port> [--kind external\|gateway\|simulated] [--decorators] [--module <module>]` | `infrastructure/external/remote-<port>.adapter.ts` for an existing port, its spec, and on tsyringe its binding `builder.bind(<Port>).toClass(Remote<Port>).as(<kind>).with(ownPolicy(retry(...), timeout(...)))`; with `--decorators`, on every stack, the class carries `@Retry` and `@Timeout` of `@ddd-ts-kit/aspects/decorators` on its one outbound method and is bound `.with(ownPolicy())`. Explicit: a port that is already bound, or hand wiring, gets a note instead of a binding. Declared: the class carries `@Adapter(<Port>, { kind, aspects })`, or `@Gateway(<Port>, { aspects })` in `remote-<port>.gateway.ts` with `--kind gateway`, and a port that already has a declared adapter is refused. With `--kind simulated`: `infrastructure/external/simulated-<port>.adapter.ts` and its spec, a class of production code that answers in the memory of the process the way the outside system would, for an environment whose provider is simulated; it carries no policy (`--decorators` is refused), is declared `@Adapter(<Port>, { kind: 'external' })` or bound `.toClass(Simulated<Port>).as('external')`, and takes turns with the remote adapter, one per port |
|
|
837
843
|
| `service` | `<context>` | `src/apps/<context>/main.ts` (kernel, platform, that context only, with its jobs: `jobSettings(process.env, '<context>')`), script `start:<context>`, a compose service behind the `services` profile, the knip entry, `deployable: true` in the config. The Dockerfile takes the entry as build argument `ENTRY` |
|
|
838
844
|
| `worker` | none | `src/apps/worker/main.ts`: the modules of `main.ts`, no HTTP server, no outbox relay, the jobs started whatever `RUN_JOBS` says, a graceful stop; script `start:worker`, a compose service `worker` behind the `services` profile, the knip entry, `"worker": true` in the config, and `RUN_JOBS` defaulting to `false` from then on, so the API stops running the jobs the worker runs. With several instances the lock has to be a real one: `--cache redis` binds the Redis lock, without it the generated README says the limit. A context named `worker` is refused |
|
|
@@ -957,7 +963,7 @@ Next, in this order: the language of the context first, then the business decisi
|
|
|
957
963
|
of the business wins. `--allow-name` overrides the three checks; `check`
|
|
958
964
|
will still report what the glossary does not define. A name Windows reserves for a device (`CON`,
|
|
959
965
|
`PRN`, `AUX`, `NUL`, `COM1` to `COM9`, `LPT1` to `LPT9`, whatever the case) is refused for a context and
|
|
960
|
-
for a concept, since its files cannot be checked out there; `--allow-name` lets a concept through. Only the kinds whose usage shows `--term`
|
|
966
|
+
for a concept, since its files cannot be checked out there; `--allow-name` lets a concept through. A concept named after a reserved word of the language (`Return`, `Case`, `Default`, `Package`) or after a global the generated code uses (`Date`, `Error`, `Record`, `Map`) is refused with the reason, whatever the flags, since its code would not compile: name it in two words (`ReturnOrder`, `SupportCase`, `DueDate`). Only the kinds whose usage shows `--term`
|
|
961
967
|
take it (`heldToGlossary` in `generate --help --json`, a line of `generate <kind> --help`); the
|
|
962
968
|
others (`port`, `adapter`, `repository`, `route`, `representation`...) name what an earlier
|
|
963
969
|
command named or what the concept they serve is called, and refuse `--term`, naming the kinds
|
|
@@ -2191,7 +2197,7 @@ it as one of its own options. The selection is never narrower than the declared
|
|
|
2191
2197
|
because `context/declared-relationship` keeps every import between contexts inside them, and that
|
|
2192
2198
|
rule runs on the whole project in every pipeline.
|
|
2193
2199
|
|
|
2194
|
-

|
|
2195
2201
|
|
|
2196
2202
|
In the example application, a branch that changes one aggregate of `scheduling`:
|
|
2197
2203
|
|
|
@@ -2344,7 +2350,11 @@ const due = handler.isDueNow(new Reminder(new Date('2026-03-01T09:00:00Z'))); //
|
|
|
2344
2350
|
default name.
|
|
2345
2351
|
- Suppress one line with `// ddd-ts-kit-disable-next-line <rule-id> -- ADR-0007: <reason>`. Without a
|
|
2346
2352
|
reason the comment is itself a violation, and so is a reason that names no existing decision record. On the first line of a file it also covers
|
|
2347
|
-
file-level violations.
|
|
2353
|
+
file-level violations. A line that breaks two rules takes a list (`<rule-id>, <rule-id> -- ...`) or
|
|
2354
|
+
one directive per rule, one above the other: they all cover the line after the last of them. A
|
|
2355
|
+
directive that names an id no rule has, or a rule with nothing to report on that line, is a
|
|
2356
|
+
violation too (`config/unused-suppression`); the second is judged by `check` when it runs every
|
|
2357
|
+
rule, for a rule ESLint does not hold as well.
|
|
2348
2358
|
- `--clean-only` runs the rules that judge a file on its own (`clean/stepdown`,
|
|
2349
2359
|
`clean/function-size`, `clean/no-commented-out-code`, `clean/no-noise-comment`,
|
|
2350
2360
|
`clean/no-escape-hatch`, `clean/no-hash-private`, `clean/blank-lines`, `clean/braces`,
|
|
@@ -2397,6 +2407,7 @@ const due = handler.isDueNow(new Reminder(new Date('2026-03-01T09:00:00Z'))); //
|
|
|
2397
2407
|
| `imports/alias-declared` | an `importAlias` that is not `@/` or `$<name>/`, or that is `$test/`, `$scripts/`, `$generated/`; a `paths` entry of `tsconfig.json` missing or different from what `importAlias` gives (the fix gives the entry); another `paths` entry under an alias; a `baseUrl`; a `tsconfig.build.json` whose `paths` differ; `paths` of `knip.json` mapping an alias; a script that compiles (`tsc` without `--noEmit`) and does not run `ddd-ts-kit build-aliases` afterwards; a script running `tsx --tsconfig` on another file; a `vitest` config at the root without `tsconfigPaths: true`, a `jest` config without the derived `moduleNameMapper` entries, or `.dependency-cruiser.cjs` without `tsConfig`; `module` and `moduleResolution` of `tsconfig.json` (or of a `tsconfig.build.json` that sets its own) that are not what `importExtension` gives: `ESNext`, `Bundler` and `customConditions` holding `node` under `none`, and under `js` a written value that is not a Node resolution; a jest mapping whose pattern does not end as the imports do; under `js`, a file directly under `test/support/` that imports a neighbour by its `.ts` while `tsconfig.json` sets neither `allowImportingTsExtensions` nor `rewriteRelativeImportExtensions`; whatever the ending, a `tsconfig.build.json`, or a tsconfig a script compiles what ships with, that resolves `noEmit` as `true`, or `allowImportingTsExtensions` as `true` without `rewriteRelativeImportExtensions` or `emitDeclarationOnly`. A project without `package.json` is not judged |
|
|
2398
2408
|
| `config/valid` | unknown upstream, classification, relationship, rule id, `guard` mode or `importExtension`; a directory of the config that leads out of the project; a context missing on disk or in the config; a `commit` limit that is not a positive integer |
|
|
2399
2409
|
| `config/suppression-needs-reason` | a suppression without a rule id or a reason (kept as an alias next to `governance/recorded-deviation`, which judges the reason) |
|
|
2410
|
+
| `config/unused-suppression` | a suppression that names an id no rule has; in a run of every rule, a suppression of a rule this checker alone holds, on for the file, that has nothing to report on the line the directive covers |
|
|
2400
2411
|
| `authz/declared` | in a module file, `builder.command(X)` or `builder.query(X)` without `.requires(` or `.public(` in its chain, unless the message class carries `@Requires` or `@Public` of `@ddd-ts-kit/kernel/declarations`; with manual or nest wiring, a command or query class absent from every `requires(X, ...)` and `publicUseCase(X)` of the module file and of `application/authorization/`; a `defineRoute` without `security` (the route type refuses it already, and an empty list too: this is the text-level net for a definition built loosely); in the declared style, the exported class of a `*.command.ts` or `*.query.ts` file carrying neither `@Requires` nor `@Public` |
|
|
2401
2412
|
| `authz/granted` | with `stack.authz` `rbac`, a permission of a context's `definePermissions` that neither `platform/auth/roles/roles.ts` nor `platform/auth/authorization/signed-in-grants.ts` grants by name (by the entry of its set, its id or `<context>:*`); the super-admin `*` does not count (a warning); with `rebac`, a permission the schema leaves on the context while no source outside the tests writes an `operator` relationship (of a person or a system actor) on that context and no signed-in grant holds it, in a project that already makes a person operator of some context; silent with an authorizer of the project's own (a warning) |
|
|
2402
2413
|
| `authz/system-actor-granted` | with `stack.authz` `rebac`, a `systemActor(<name>)` of a context (a literal, or `<Class>.name`) in a file that sends a command or a query not declared public, while no file of `platform/auth/relationships/` names the subject `system:system:<name>` |
|
|
@@ -2420,7 +2431,7 @@ const due = handler.isDueNow(new Reminder(new Date('2026-03-01T09:00:00Z'))); //
|
|
|
2420
2431
|
| `standard/no-parallel-interface` | a class, interface or type alias declared as `ILogger`, `AppLogger`, `LoggerService`, `LoggerInterface`, `IMetrics`, `MetricsService`, `ICache`, `CacheService`, `UserContext`, `CurrentUser`, `AuthContext`, `RequestContext` (outside `presentation/` and the platform), `UserSession`, `AuthSession`, `SessionData`, `PaginatedResult`, `PageResult`, `PaginatedResponse`, `Paginated`, `PaginationParams`, `PageParams`, `AuditLog`, `AuditLogEntry`, `AuditRecord`, `IJobScheduler`, `JobSchedulerService`, `CronScheduler`, `TaskScheduler`, `IScheduledJob`, `CronJob`, `ScheduledTask`, `BackgroundJob`, `IErrorReporter`, `ErrorReporterService`, `ErrorTracker`, `ExceptionReporter`, `CrashReporter`, `CacheInvalidator`, `CacheInvalidationService`, `CachePurgeService`, `CdnPurger`, `I` followed by a standard name (`IClock`, `IIdGenerator`, `IUnitOfWork`, `ISession`, ...) or a name of `standardInterfaces`; a class that implements or extends the standard interface is an adapter and is not reported |
|
|
2421
2432
|
| `events/outbox-required` | `stack.events` other than `outbox` with an ORM and no `stack.events` deviation; in `domain/` and `application/`, the import of a broker client or of a bus or relay implementation; a publisher depending on more than `IntegrationEventPublisher`; a platform module that hands out a publisher and never names `OutboxPublisher` |
|
|
2422
2433
|
| `events/consumer-idempotent` | an integration event handler class (`application/integration/handlers/*.integration-handler.ts`) that neither carries `@IntegrationEventHandler` nor is registered in its module file under a consumer name; an `@IntegrationEventHandler` whose `consumer` is not a non-empty string literal; a free `on(` or `consume(` without `processed`; a consumer name used twice, in declarations and registrations alike |
|
|
2423
|
-
| `domain-events/dispatched-on-save` | a call of `
|
|
2434
|
+
| `domain-events/dispatched-on-save` | a call of `takeRecordedEvents()` in `application/` or `infrastructure/` of a context; `DomainEventDispatcher` imported, listed as a dependency or received by a constructor in `application/commands/`, `application/queries/` or a repository adapter. The module file, the tests, the platform and `main.ts` are left alone |
|
|
2424
2435
|
| `domain-events/transactional-before-commit` | a domain event handler (a class of `application/event-handlers/*.event-handler.ts` or `application/integration/publishers/*.publisher.ts`, or any class carrying `@DomainEventHandler`) that runs before the commit and depends on `Cache`, `CachePurger`, `Lock`, `RateLimiter`, `JobScheduler` or `EventBus` of the kernel, on a port of `application/ports/` that is not a persistence port (no adapter under `infrastructure/persistence/`, or one anywhere else under `infrastructure/`), on anything imported from `infrastructure/`, another context, the platform or a package other than `@ddd-ts-kit/kernel` and `@ddd-ts-kit/auth`; an after-commit handler (`phase: 'after-commit'` in its decorator, or in the third argument of every `.on(` of the module file that mentions it) depending on `IntegrationEventPublisher`. `check-file` leaves the adapters of a port to the whole check |
|
|
2425
2436
|
| `event-sourcing/state-in-apply` | in a class of `domain/aggregates/` extending `EventSourcedAggregate`, a write to something of `this` (assignment, increment, mutating call) outside the constructor, static methods, `apply<Fact>` methods and `restore`; `this.record(..)` inside an apply method |
|
|
2426
2437
|
| `event-sourcing/past-tense` | in a file of `domain/aggregates/` holding an event-sourced aggregate, a name imported from `domain/events/` whose fact (the words after the name of the aggregate) holds no past participle, or only one spelled like its imperative at its head (`SetPrice`) |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specifier-literals.d.ts","sourceRoot":"","sources":["../../src/build/specifier-literals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"specifier-literals.d.ts","sourceRoot":"","sources":["../../src/build/specifier-literals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAQ5D;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,gBAAgB,EAAE,CAYvG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { statementsOf } from '../check/scan/statements-of.js';
|
|
2
2
|
/** An ambient module declaration, which a declaration file may hold: `declare module '@/x.js'`. */
|
|
3
3
|
const AUGMENTATION = /(?<![\w$.])declare\s+module\s*$/;
|
|
4
4
|
const META_RESOLVE = /(?<![\w$.])import\s*\.\s*meta\s*\.\s*resolve\s*\(\s*$/;
|
|
@@ -11,19 +11,19 @@ const NEAR = 80;
|
|
|
11
11
|
* expressions, so a string that only looks like an import inside one of those is never answered.
|
|
12
12
|
*/
|
|
13
13
|
export function specifierLiterals({ code, strings }) {
|
|
14
|
+
const statements = new Map(statementsOf(code, strings).map(({ literal, record }) => [literal, record.kind]));
|
|
14
15
|
return strings.flatMap((literal) => {
|
|
15
|
-
const kind = positionOf(code, literal);
|
|
16
|
+
const kind = positionOf(code, literal, statements.get(literal));
|
|
16
17
|
if (kind === undefined) {
|
|
17
18
|
return [];
|
|
18
19
|
}
|
|
19
20
|
return [{ literal, whole: kind === 'statement' || CLOSES_THE_ARGUMENT.test(code.slice(literal.end)) }];
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
|
-
function positionOf(code, literal) {
|
|
23
|
+
function positionOf(code, literal, statement) {
|
|
23
24
|
const before = code.slice(Math.max(0, literal.start - NEAR), literal.start);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return found.record.kind === 'dynamic' || found.record.kind === 'require' ? 'argument' : 'statement';
|
|
25
|
+
if (statement !== undefined) {
|
|
26
|
+
return statement === 'dynamic' || statement === 'require' ? 'argument' : 'statement';
|
|
27
27
|
}
|
|
28
28
|
if (META_RESOLVE.test(before)) {
|
|
29
29
|
return 'argument';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specifier-literals.js","sourceRoot":"","sources":["../../src/build/specifier-literals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"specifier-literals.js","sourceRoot":"","sources":["../../src/build/specifier-literals.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAI3D,mGAAmG;AACnG,MAAM,YAAY,GAAG,iCAAiC,CAAC;AACvD,MAAM,YAAY,GAAG,uDAAuD,CAAC;AAC7E,MAAM,mBAAmB,GAAG,UAAU,CAAC;AACvC,MAAM,IAAI,GAAG,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAkC;IACjF,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAE7G,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACjC,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;QAEhE,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,KAAK,WAAW,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;IACzG,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,UAAU,CACjB,IAAY,EACZ,OAAqB,EACrB,SAAiC;IAEjC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAE5E,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,SAAS,KAAK,SAAS,IAAI,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC;IACvF,CAAC;IAED,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9B,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,OAAO,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;AAC7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-severity.d.ts","sourceRoot":"","sources":["../../../src/check/catalogue/default-severity.ts"],"names":[],"mappings":"AAOA,qHAAqH;AACrH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAEhE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DELEGATED_RULES } from './delegated-rules.js';
|
|
2
|
+
import { RULES } from './rules.js';
|
|
3
|
+
const DEFAULTS = new Map([...RULES, ...DELEGATED_RULES].map((rule) => [rule.id, rule.severity]));
|
|
4
|
+
/** The severity a rule states for itself, which holds when the config says nothing; an id no rule carries blocks. */
|
|
5
|
+
export function defaultSeverity(ruleId) {
|
|
6
|
+
return DEFAULTS.get(ruleId) ?? 'error';
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=default-severity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-severity.js","sourceRoot":"","sources":["../../../src/check/catalogue/default-severity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,QAAQ,GAA0C,IAAI,GAAG,CAC7D,CAAC,GAAG,KAAK,EAAE,GAAG,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CACvE,CAAC;AAEF,qHAAqH;AACrH,MAAM,UAAU,eAAe,CAAC,MAAc;IAC5C,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,OAAO,CAAC;AACzC,CAAC"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
export interface DelegatedRule {
|
|
3
3
|
readonly id: string;
|
|
4
4
|
readonly description: string;
|
|
5
|
+
/** The severity `ddd-ts-kit rules` lists when the config says nothing. */
|
|
6
|
+
readonly severity: 'error' | 'warn';
|
|
5
7
|
/** The tool that decides, as `ddd-ts-kit rules --json` names it. */
|
|
6
8
|
readonly checkedBy: string;
|
|
7
9
|
/** Appended to the description in the listing. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegated-rules.d.ts","sourceRoot":"","sources":["../../../src/check/catalogue/delegated-rules.ts"],"names":[],"mappings":"AAKA,yHAAyH;AACzH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,oEAAoE;IACpE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,kDAAkD;IAClD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,iFAAiF;IACjF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,EAgBnD,CAAC"}
|
|
1
|
+
{"version":3,"file":"delegated-rules.d.ts","sourceRoot":"","sources":["../../../src/check/catalogue/delegated-rules.ts"],"names":[],"mappings":"AAKA,yHAAyH;AACzH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,0EAA0E;IAC1E,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;IACpC,oEAAoE;IACpE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,kDAAkD;IAClD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,iFAAiF;IACjF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,EAgBnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegated-rules.js","sourceRoot":"","sources":["../../../src/check/catalogue/delegated-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"delegated-rules.js","sourceRoot":"","sources":["../../../src/check/catalogue/delegated-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAkBlD,MAAM,CAAC,MAAM,eAAe,GAA6B;IACvD,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAClC,GAAG,IAAI;QACP,SAAS,EAAE,2BAA2B;QACtC,SAAS,EAAE,gBAAgB;QAC3B,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,8FAA8F,gBAAgB,oBAAoB,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,kGAAkG,WAAW,GAAG;KACnR,CAAC,CAAC;IACH;QACE,GAAG,cAAc;QACjB,SAAS,EAAE,gBAAgB;QAC3B,SAAS,EAAE,kBAAkB;QAC7B,MAAM,EAAE,sBAAsB;QAC9B,KAAK,EACH,mVAAmV;KACtV;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rules of this checker that `@ddd-ts-kit/eslint-plugin` judges too, from a syntax tree. Both read
|
|
3
|
+
* the same suppression directive, and ESLint may report where a reading of the text does not: this
|
|
4
|
+
* checker never says of such a rule that a directive silences nothing.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ESLINT_JUDGED_RULES: readonly string[];
|
|
7
|
+
//# sourceMappingURL=eslint-judged-rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint-judged-rules.d.ts","sourceRoot":"","sources":["../../../src/check/catalogue/eslint-judged-rules.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAyDhD,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rules of this checker that `@ddd-ts-kit/eslint-plugin` judges too, from a syntax tree. Both read
|
|
3
|
+
* the same suppression directive, and ESLint may report where a reading of the text does not: this
|
|
4
|
+
* checker never says of such a rule that a directive silences nothing.
|
|
5
|
+
*/
|
|
6
|
+
export const ESLINT_JUDGED_RULES = [
|
|
7
|
+
'layer/domain-purity',
|
|
8
|
+
'layer/application-inward',
|
|
9
|
+
'layer/presentation-no-infrastructure',
|
|
10
|
+
'layer/infrastructure-no-presentation',
|
|
11
|
+
'context/published-language-only',
|
|
12
|
+
'context/declared-relationship',
|
|
13
|
+
'context/published-language-is-a-contract',
|
|
14
|
+
'naming/business-name',
|
|
15
|
+
'schema/presentation-only',
|
|
16
|
+
'events/name-format',
|
|
17
|
+
'test/no-mocks',
|
|
18
|
+
'language/declared-vocabulary',
|
|
19
|
+
'purity/no-system-clock',
|
|
20
|
+
'purity/no-ambient-randomness',
|
|
21
|
+
'purity/no-environment',
|
|
22
|
+
'clean/stepdown',
|
|
23
|
+
'clean/function-size',
|
|
24
|
+
'clean/no-commented-out-code',
|
|
25
|
+
'clean/no-noise-comment',
|
|
26
|
+
'clean/no-escape-hatch',
|
|
27
|
+
'clean/no-flag-argument',
|
|
28
|
+
'clean/no-hash-private',
|
|
29
|
+
'clean/one-export-per-file',
|
|
30
|
+
'clean/file-size',
|
|
31
|
+
'domain/value-object-class',
|
|
32
|
+
'events/outbox-required',
|
|
33
|
+
'events/consumer-idempotent',
|
|
34
|
+
'domain-events/dispatched-on-save',
|
|
35
|
+
'domain-events/transactional-before-commit',
|
|
36
|
+
'event-sourcing/state-in-apply',
|
|
37
|
+
'event-sourcing/past-tense',
|
|
38
|
+
'event-sourcing/store-behind-repository',
|
|
39
|
+
'event-sourcing/projection-never-appends',
|
|
40
|
+
'event-sourcing/upcaster-required',
|
|
41
|
+
'context/extractable',
|
|
42
|
+
'authz/declared',
|
|
43
|
+
'authz/in-application',
|
|
44
|
+
'authz/actor-explicit',
|
|
45
|
+
'authz/fields-by-schema',
|
|
46
|
+
'aspects/outside-in',
|
|
47
|
+
'tracing/platform-only',
|
|
48
|
+
'standard/no-parallel-interface',
|
|
49
|
+
'governance/recorded-deviation',
|
|
50
|
+
'declarations/role-declared',
|
|
51
|
+
'declarations/constructor-injection',
|
|
52
|
+
'ports/abstract-class',
|
|
53
|
+
'ports/implements-never-extends',
|
|
54
|
+
'ports/no-token-constant',
|
|
55
|
+
'ports/no-concrete-dependency',
|
|
56
|
+
'ports/value-import',
|
|
57
|
+
'scheduling/job-triggers-use-case',
|
|
58
|
+
'lifecycle/status-through-machine',
|
|
59
|
+
'process/sends-commands-only',
|
|
60
|
+
'scheduling/job-name',
|
|
61
|
+
'imports/alias-only',
|
|
62
|
+
'imports/extension',
|
|
63
|
+
];
|
|
64
|
+
//# sourceMappingURL=eslint-judged-rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eslint-judged-rules.js","sourceRoot":"","sources":["../../../src/check/catalogue/eslint-judged-rules.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,qBAAqB;IACrB,0BAA0B;IAC1B,sCAAsC;IACtC,sCAAsC;IACtC,iCAAiC;IACjC,+BAA+B;IAC/B,0CAA0C;IAC1C,sBAAsB;IACtB,0BAA0B;IAC1B,oBAAoB;IACpB,eAAe;IACf,8BAA8B;IAC9B,wBAAwB;IACxB,8BAA8B;IAC9B,uBAAuB;IACvB,gBAAgB;IAChB,qBAAqB;IACrB,6BAA6B;IAC7B,wBAAwB;IACxB,uBAAuB;IACvB,wBAAwB;IACxB,uBAAuB;IACvB,2BAA2B;IAC3B,iBAAiB;IACjB,2BAA2B;IAC3B,wBAAwB;IACxB,4BAA4B;IAC5B,kCAAkC;IAClC,2CAA2C;IAC3C,+BAA+B;IAC/B,2BAA2B;IAC3B,wCAAwC;IACxC,yCAAyC;IACzC,kCAAkC;IAClC,qBAAqB;IACrB,gBAAgB;IAChB,sBAAsB;IACtB,sBAAsB;IACtB,wBAAwB;IACxB,oBAAoB;IACpB,uBAAuB;IACvB,gCAAgC;IAChC,+BAA+B;IAC/B,4BAA4B;IAC5B,oCAAoC;IACpC,sBAAsB;IACtB,gCAAgC;IAChC,yBAAyB;IACzB,8BAA8B;IAC9B,oBAAoB;IACpB,kCAAkC;IAClC,kCAAkC;IAClC,6BAA6B;IAC7B,qBAAqB;IACrB,oBAAoB;IACpB,mBAAmB;CACpB,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
interface EslintOnlyRule {
|
|
2
|
+
readonly id: string;
|
|
3
|
+
readonly description: string;
|
|
4
|
+
/** The severity of the rule when the config says nothing. */
|
|
5
|
+
readonly severity: 'error' | 'warn';
|
|
6
|
+
}
|
|
1
7
|
/**
|
|
2
8
|
* Rules of the architecture reference that need a syntax tree: `@ddd-ts-kit/eslint-plugin`
|
|
3
9
|
* holds them, this checker only knows their ids so that the config may set their severity.
|
|
4
10
|
*/
|
|
5
|
-
export declare const ESLINT_ONLY_RULES: readonly
|
|
6
|
-
|
|
7
|
-
readonly description: string;
|
|
8
|
-
}[];
|
|
11
|
+
export declare const ESLINT_ONLY_RULES: readonly EslintOnlyRule[];
|
|
12
|
+
export {};
|
|
9
13
|
//# sourceMappingURL=eslint-only-rules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslint-only-rules.d.ts","sourceRoot":"","sources":["../../../src/check/catalogue/eslint-only-rules.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"eslint-only-rules.d.ts","sourceRoot":"","sources":["../../../src/check/catalogue/eslint-only-rules.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,6DAA6D;IAC7D,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;CACrC;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAgHtD,CAAC"}
|