@wildo-ai/saas-specifications 1.1.9 → 1.1.11
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/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements-snapshot-validation.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAI3E,OAAO,EACL,kCAAkC,EAClC,sCAAsC,GACvC,MAAM,mCAAmC,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,CAAN,IAAY,6BAsCX;AAtCD,WAAY,6BAA6B;IACvC;;;;;OAKG;IACH,0EAAyC,CAAA;IACzC;;;;OAIG;IACH,gEAA+B,CAAA;IAC/B;;;;;;;OAOG;IACH,4EAA2C,CAAA;IAC3C,2EAA2E;IAC3E,0FAAyD,CAAA;IACzD,4EAA4E;IAC5E,kEAAiC,CAAA;IACjC;;;;OAIG;IACH,oEAAmC,CAAA;IACnC;;;OAGG;IACH,oEAAmC,CAAA;AACrC,CAAC,EAtCW,6BAA6B,KAA7B,6BAA6B,QAsCxC;AAED,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,oDAAe,CAAA;IACf,kDAAa,CAAA;AACf,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAgDD;;;;GAIG;AACH,MAAM,sBAAsB,GAAkC;IAC5D,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;IACzB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,EAAE;IAC3B,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE;IAC7B,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE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AAO,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;gBAC1C,IAAI,OAAO,CAAC,gBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC;oBAAE,OAAO;gBAClD,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,6BAA6B,CAAC,eAAe;oBACnD,IAAI,EAAE,GAAG,UAAU,IAAI,KAAK,aAAa,QAAQ,GAAG;oBACpD,OAAO,EAAE,YAAY,MAAM,qBAAqB,KAAK,CAAC,GAAG,iDAAiD;oBAC1G,QAAQ,EAAE,iCAAiC,CAAC,KAAK;iBAClD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC;IAEF,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC;IACvF,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC;AAC/F,CAAC;AACD,8DAA8D","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { FunctionalRequirementConfig } from './functional-requirement.schemas';\nimport type { NonFunctionalRequirementConfig } from './non-functional-requirement.schemas';\nimport type { RequirementsAuthoredMetadata } from './requirements-authored-metadata.schemas';\nimport {\n FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n} from './requirements-references.schemas';\nimport type { RequirementsSnapshot } from './requirements-snapshot.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.validation facet:layer:specification facet:family:requirements\n *\n * Authoring-consistency validator for an assembled `RequirementsSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot —\n * no Zod introspection, no registry access, no I/O (the `_core`\n * validator convention shared with `validateMarketSnapshot` /\n * `validateVisionSnapshot` / `validateAssertionSpecificationSnapshot`).\n * Zod already enforces structural validity (ref formats at parse time);\n * this walker adds the cross-entity + completeness checks Zod cannot\n * express, the defence-in-depth ref-format check for type-asserted\n * fixtures that bypass parsing, and the fail-soft cross-family ICP/job\n * ref resolution.\n *\n * Rule table — 7 kinds (scaffold depth, Phase J1 — deeper requirement\n * quality / prioritization / dependency analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |-------------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A functional / non-functional ref fails its shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two functional (or two non-functional) requirements share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |\n * | `NO_FUNCTIONAL_REQUIREMENTS` | WARN | `functional` empty — the requirements brief states no capability the product must provide. |\n * | `STALE_AUTHORED` | WARN | Any entity's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | An `icpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_JOB_REF` | ERROR | A `jobRefs` entry does not resolve in `options.availableJobRefs`. SKIPPED (fail-soft) when no set is passed. |\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum RequirementsSnapshotIssueKind {\n /**\n * A functional / non-functional ref violates its kebab-case prefix\n * contract. The Zod schema rejects this at parse time; the detector\n * remains as defence in depth for callers that bypass parsing (tests\n * building snapshots with type-asserted fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two entities in the same collection share a ref. The collection is\n * addressed by ref downstream, so a duplicate silently drops one\n * entity. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / job ref appears more than once on ONE requirement's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes\n * it (or double-counts it in coverage). WARN, not ERROR: the\n * requirement is still valid, the authoring is just untidy. Runs\n * unconditionally (intra-snapshot, needs no external set) — mirrors\n * the assertions family's `DUPLICATE_PIN_REF`.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `functional` empty — the brief states no required capability (WARN). */\n NO_FUNCTIONAL_REQUIREMENTS = 'no_functional_requirements',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * An `icpRefs` entry does not resolve against the supplied ICP-ref set\n * — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * A `jobRefs` entry does not resolve against the supplied job-ref set.\n * ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_JOB_REF = 'unknown_job_ref',\n}\n\nexport enum RequirementsSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface RequirementsSnapshotIssue {\n kind: RequirementsSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'nonFunctional[2].ref'`). */\n path: string;\n message: string;\n severity: RequirementsSnapshotIssueSeverity;\n}\n\nexport interface RequirementsSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: RequirementsSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateRequirementsSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `icpRefs` entry not\n * in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the requirements family is\n * decoupled from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable market job refs. Same skip-when-omitted semantics as\n * `availableIcpRefs`, reported as `UNKNOWN_JOB_REF`.\n */\n availableJobRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / assertions\n * validators (module-local there too — a shared promotion is part of the\n * deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateRequirementsSnapshot(\n snapshot: RequirementsSnapshot,\n options?: ValidateRequirementsSnapshotOptions,\n): RequirementsSnapshotValidationResult {\n const issues: RequirementsSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== RequirementsSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n snapshot.functional.forEach((entry, index) => {\n if (FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `functional[${index}].ref`,\n message: `Functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"functional-requirement-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n snapshot.nonFunctional.forEach((entry, index) => {\n if (NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `nonFunctional[${index}].ref`,\n message: `Non-functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"nfr-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n reportDuplicates(\n snapshot.functional.map(entry => entry.ref),\n 'functional',\n issues,\n );\n reportDuplicates(\n snapshot.nonFunctional.map(entry => entry.ref),\n 'nonFunctional',\n issues,\n );\n}\n\nfunction reportDuplicates(\n refs: string[],\n collection: string,\n issues: RequirementsSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n refs.forEach((ref, index) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_REF,\n path: `${collection}[${index}].ref`,\n message: `Duplicate ref \"${ref}\" in ${collection} — refs must be unique; the collection is addressed by ref downstream.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entity: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on requirement \"${entity.ref}\" (${path}). Remove the duplicate.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n checkList(entry.icpRefs, entry, `${collection}[${index}].icpRefs`);\n checkList(entry.jobRefs, entry, `${collection}[${index}].jobRefs`);\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n}\n\nfunction detectIncompleteness(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n if (snapshot.functional.length === 0) {\n issues.push({\n kind: RequirementsSnapshotIssueKind.NO_FUNCTIONAL_REQUIREMENTS,\n path: 'functional',\n message: 'Requirements brief states no functional requirements — it describes no capability the product must provide.',\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: RequirementsSnapshot,\n now: Date,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkOne = (authored: RequirementsAuthoredMetadata | undefined, path: string): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Requirements entity at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.functional.forEach((entry, index) =>\n checkOne(entry.authored, `functional[${index}].authored`),\n );\n snapshot.nonFunctional.forEach((entry, index) =>\n checkOne(entry.authored, `nonFunctional[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: RequirementsSnapshot,\n options: ValidateRequirementsSnapshotOptions | undefined,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n if (options?.availableIcpRefs !== undefined) {\n entry.icpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `${collection}[${index}].icpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableJobRefs !== undefined) {\n entry.jobRefs?.forEach((jobRef, refIndex) => {\n if (options.availableJobRefs!.has(jobRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_JOB_REF,\n path: `${collection}[${index}].jobRefs[${refIndex}]`,\n message: `Job ref \"${jobRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied job-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n}\n/** @wildo_source:part:end requirements.snapshot.validation */\n"]}
|
|
1
|
+
{"version":3,"file":"requirements-snapshot-validation.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAI3E,OAAO,EACL,kCAAkC,EAClC,sCAAsC,GACvC,MAAM,mCAAmC,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAN,IAAY,6BA2CX;AA3CD,WAAY,6BAA6B;IACvC;;;;;OAKG;IACH,0EAAyC,CAAA;IACzC;;;;OAIG;IACH,gEAA+B,CAAA;IAC/B;;;;;;;OAOG;IACH,4EAA2C,CAAA;IAC3C,2EAA2E;IAC3E,0FAAyD,CAAA;IACzD,4EAA4E;IAC5E,kEAAiC,CAAA;IACjC;;;;OAIG;IACH,oEAAmC,CAAA;IACnC;;;OAGG;IACH,oEAAmC,CAAA;IACnC;;;OAGG;IACH,sEAAqC,CAAA;AACvC,CAAC,EA3CW,6BAA6B,KAA7B,6BAA6B,QA2CxC;AAED,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,oDAAe,CAAA;IACf,kDAAa,CAAA;AACf,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAqDD;;;;GAIG;AACH,MAAM,sBAAsB,GAAkC;IAC5D,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;IACzB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,EAAE;IAC3B,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE;IAC7B,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,GAAG;IAC3B,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,iBAAiB;CACpD,CAAC;AAEF,MAA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KAAK,CAAC,CAAC,CAAC;IAC7F,IAAI,OAAO,EAAE,iBAAiB,KAAK,SAAS,EAAE,CAAC;QAC7C,CAAC,QAAQ,CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE;YAC/D,IAAI,OAAO,CAAC,iBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAAE,OAAO;YAC7D,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,6BAA6B,CAAC,gBAAgB;gBACpD,IAAI,EAAE,uBAAuB,KAAK,WAAW;gBAC7C,OAAO,EAAE,kBAAkB,QAAQ,CAAC,OAAO,kDAAkD;gBAC7F,QAAQ,EAAE,iCAAiC,CAAC,KAAK;aAClD,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AACD,8DAA8D","sourcesContent":["import { ReviewCadence } from '../market/market-authored-metadata.schemas';\nimport type { FunctionalRequirementConfig } from './functional-requirement.schemas';\nimport type { NonFunctionalRequirementConfig } from './non-functional-requirement.schemas';\nimport type { RequirementsAuthoredMetadata } from './requirements-authored-metadata.schemas';\nimport {\n FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN,\n} from './requirements-references.schemas';\nimport type { RequirementsSnapshot } from './requirements-snapshot.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.validation facet:layer:specification facet:family:requirements\n *\n * Authoring-consistency validator for an assembled `RequirementsSnapshot`.\n *\n * The function is a **pure**, **typed** graph walker over the snapshot —\n * no Zod introspection, no registry access, no I/O (the `_core`\n * validator convention shared with `validateMarketSnapshot` /\n * `validateVisionSnapshot` / `validateAssertionSpecificationSnapshot`).\n * Zod already enforces structural validity (ref formats at parse time);\n * this walker adds the cross-entity + completeness checks Zod cannot\n * express, the defence-in-depth ref-format check for type-asserted\n * fixtures that bypass parsing, and the fail-soft cross-family ICP/job\n * ref resolution.\n *\n * Rule table — 7 kinds (scaffold depth, Phase J1 — deeper requirement\n * quality / prioritization / dependency analysis is Phase J2):\n *\n * | Kind | Severity | Trigger |\n * |-------------------------------|----------|--------------------------------------------------------------------------------|\n * | `INVALID_REF_FORMAT` | ERROR | A functional / non-functional ref fails its shared pattern (single source of truth with the Zod schema). Defence in depth for type-asserted fixtures. |\n * | `DUPLICATE_REF` | ERROR | Two functional (or two non-functional) requirements share a ref — the collection silently loses one entity to last-wins indexing. |\n * | `DUPLICATE_CROSS_REF` | WARN | The same `icpRefs` (or `jobRefs`, or `painRefs`) entry is listed more than once on ONE requirement — the repeat is noise the catalog silently dedupes (or double-counts in coverage). Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — mirrors the assertions family's `DUPLICATE_PIN_REF`. |\n * | `NO_FUNCTIONAL_REQUIREMENTS` | WARN | `functional` empty — the requirements brief states no capability the product must provide. |\n * | `STALE_AUTHORED` | WARN | Any entity's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |\n * | `UNKNOWN_ICP_REF` | ERROR | An `icpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |\n * | `UNKNOWN_JOB_REF` | ERROR | A `jobRefs` entry does not resolve in `options.availableJobRefs`. SKIPPED (fail-soft) when no set is passed. |\n * | `UNKNOWN_PAIN_REF` | ERROR | A `painRefs` entry or an excluded pain does not resolve in `options.availablePainRefs` (#2500). SKIPPED (fail-soft) when no set is passed. |\n *\n * Severity is a TS enum (project rule — enums over literal unions). The\n * validator never mutates the snapshot. Issue ordering is detector-order\n * then walk-order — NOT a stable contract; callers group/sort by `kind` +\n * `severity` themselves.\n */\nexport enum RequirementsSnapshotIssueKind {\n /**\n * A functional / non-functional ref violates its kebab-case prefix\n * contract. The Zod schema rejects this at parse time; the detector\n * remains as defence in depth for callers that bypass parsing (tests\n * building snapshots with type-asserted fixtures). ERROR.\n */\n INVALID_REF_FORMAT = 'invalid_ref_format',\n /**\n * Two entities in the same collection share a ref. The collection is\n * addressed by ref downstream, so a duplicate silently drops one\n * entity. ERROR.\n */\n DUPLICATE_REF = 'duplicate_ref',\n /**\n * The same ICP / job ref appears more than once on ONE requirement's\n * cross-ref list. The repeat carries no meaning — the catalog dedupes\n * it (or double-counts it in coverage). WARN, not ERROR: the\n * requirement is still valid, the authoring is just untidy. Runs\n * unconditionally (intra-snapshot, needs no external set) — mirrors\n * the assertions family's `DUPLICATE_PIN_REF`.\n */\n DUPLICATE_CROSS_REF = 'duplicate_cross_ref',\n /** `functional` empty — the brief states no required capability (WARN). */\n NO_FUNCTIONAL_REQUIREMENTS = 'no_functional_requirements',\n /** `lastAuthoredAt + reviewCadence < now` (WARN — market/vision parity). */\n STALE_AUTHORED = 'stale_authored',\n /**\n * An `icpRefs` entry does not resolve against the supplied ICP-ref set\n * — a dangling cross-family reference. ERROR when a set is supplied;\n * the whole check is SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_ICP_REF = 'unknown_icp_ref',\n /**\n * A `jobRefs` entry does not resolve against the supplied job-ref set.\n * ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_JOB_REF = 'unknown_job_ref',\n /**\n * A `painRefs` entry, or an `excludedMarketPains[].painRef`, does not resolve against the supplied pain-ref set\n * (#2500). ERROR when a set is supplied; SKIPPED (fail-soft) when it is not.\n */\n UNKNOWN_PAIN_REF = 'unknown_pain_ref',\n}\n\nexport enum RequirementsSnapshotIssueSeverity {\n ERROR = 'error',\n WARN = 'warn',\n}\n\nexport interface RequirementsSnapshotIssue {\n kind: RequirementsSnapshotIssueKind;\n /** Dotted path inside the snapshot (e.g. `'nonFunctional[2].ref'`). */\n path: string;\n message: string;\n severity: RequirementsSnapshotIssueSeverity;\n}\n\nexport interface RequirementsSnapshotValidationResult {\n /** `true` iff no issue has severity `ERROR`. */\n ok: boolean;\n issues: RequirementsSnapshotIssue[];\n}\n\n/**\n * Options for this family validator.\n *\n * ## The cross-family sets are OPT-IN, and omitting one SKIPS its check\n *\n * A family validator sees one family. It cannot resolve a reference into another family's\n * vocabulary unless you hand it that family's refs — so each `available*Refs` option is the caller\n * saying \"I have this context, use it\". Omit one and the matching check does not run: no issue is\n * reported, and the absence looks exactly like a snapshot with no such reference.\n *\n * That is deliberate — the families are decoupled on purpose — but it means a validator called with\n * the snapshot alone is checking this family's INTERNAL consistency only. If you want dangling\n * cross-family references caught, supply the sets; if you validate one family in isolation, expect\n * them to be found later by whatever holds every family at once.\n */\nexport interface ValidateRequirementsSnapshotOptions {\n /** Override \"now\" for `STALE_AUTHORED` checks (test affordance). Defaults to `new Date()`. */\n now?: Date;\n /**\n * Resolvable market ICP refs. When supplied, every `icpRefs` entry not\n * in the set is reported as `UNKNOWN_ICP_REF`. When omitted, the check\n * is skipped entirely (fail-soft — the requirements family is\n * decoupled from the market family; the catalog owns resolution).\n */\n availableIcpRefs?: ReadonlySet<string>;\n /**\n * Resolvable market job refs. Same skip-when-omitted semantics as\n * `availableIcpRefs`, reported as `UNKNOWN_JOB_REF`.\n */\n availableJobRefs?: ReadonlySet<string>;\n /**\n * Resolvable market pain refs (#2500). Same skip-when-omitted semantics as `availableIcpRefs`, reported as\n * `UNKNOWN_PAIN_REF`, for a requirement's `painRefs` and for an excluded pain.\n */\n availablePainRefs?: ReadonlySet<string>;\n}\n\n/**\n * Days-per-cadence mapping, mirrored from the market / vision / assertions\n * validators (module-local there too — a shared promotion is part of the\n * deferred authored-metadata generalization).\n */\nconst REVIEW_CADENCE_TO_DAYS: Record<ReviewCadence, number> = {\n [ReviewCadence.WEEKLY]: 7,\n [ReviewCadence.MONTHLY]: 31,\n [ReviewCadence.QUARTERLY]: 92,\n [ReviewCadence.YEARLY]: 366,\n [ReviewCadence.AS_NEEDED]: Number.POSITIVE_INFINITY,\n};\n\nexport function validateRequirementsSnapshot(\n snapshot: RequirementsSnapshot,\n options?: ValidateRequirementsSnapshotOptions,\n): RequirementsSnapshotValidationResult {\n const issues: RequirementsSnapshotIssue[] = [];\n\n detectInvalidRefFormats(snapshot, issues);\n detectDuplicateRefs(snapshot, issues);\n detectDuplicateCrossRefs(snapshot, issues);\n detectIncompleteness(snapshot, issues);\n detectStaleAuthored(snapshot, options?.now ?? new Date(), issues);\n detectUnknownCrossRefs(snapshot, options, issues);\n\n const ok = issues.every(\n issue => issue.severity !== RequirementsSnapshotIssueSeverity.ERROR,\n );\n return { ok, issues };\n}\n\n// ────────────────────────────────────────────────────────────────────\n// Detectors — one per rule, kept small and independently testable.\n// ────────────────────────────────────────────────────────────────────\n\nfunction detectInvalidRefFormats(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n snapshot.functional.forEach((entry, index) => {\n if (FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `functional[${index}].ref`,\n message: `Functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"functional-requirement-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n snapshot.nonFunctional.forEach((entry, index) => {\n if (NON_FUNCTIONAL_REQUIREMENT_REF_PATTERN.test(entry.ref)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.INVALID_REF_FORMAT,\n path: `nonFunctional[${index}].ref`,\n message: `Non-functional-requirement ref \"${entry.ref}\" is not kebab-case with the \"nfr-\" prefix.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n reportDuplicates(\n snapshot.functional.map(entry => entry.ref),\n 'functional',\n issues,\n );\n reportDuplicates(\n snapshot.nonFunctional.map(entry => entry.ref),\n 'nonFunctional',\n issues,\n );\n}\n\nfunction reportDuplicates(\n refs: string[],\n collection: string,\n issues: RequirementsSnapshotIssue[],\n): void {\n const seen = new Set<string>();\n refs.forEach((ref, index) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_REF,\n path: `${collection}[${index}].ref`,\n message: `Duplicate ref \"${ref}\" in ${collection} — refs must be unique; the collection is addressed by ref downstream.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n}\n\nfunction detectDuplicateCrossRefs(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkList = (\n refs: readonly string[] | undefined,\n entity: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n path: string,\n ): void => {\n if (refs === undefined) return;\n const seen = new Set<string>();\n refs.forEach((ref, refIndex) => {\n if (!seen.has(ref)) {\n seen.add(ref);\n return;\n }\n issues.push({\n kind: RequirementsSnapshotIssueKind.DUPLICATE_CROSS_REF,\n path: `${path}[${refIndex}]`,\n message: `Cross-ref \"${ref}\" is listed more than once on requirement \"${entity.ref}\" (${path}). Remove the duplicate.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n });\n };\n\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n checkList(entry.icpRefs, entry, `${collection}[${index}].icpRefs`);\n checkList(entry.jobRefs, entry, `${collection}[${index}].jobRefs`);\n checkList(entry.painRefs, entry, `${collection}[${index}].painRefs`);\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n}\n\nfunction detectIncompleteness(\n snapshot: RequirementsSnapshot,\n issues: RequirementsSnapshotIssue[],\n): void {\n if (snapshot.functional.length === 0) {\n issues.push({\n kind: RequirementsSnapshotIssueKind.NO_FUNCTIONAL_REQUIREMENTS,\n path: 'functional',\n message: 'Requirements brief states no functional requirements — it describes no capability the product must provide.',\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n }\n}\n\nfunction detectStaleAuthored(\n snapshot: RequirementsSnapshot,\n now: Date,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkOne = (authored: RequirementsAuthoredMetadata | undefined, path: string): void => {\n if (authored?.reviewCadence === undefined) return;\n const days = REVIEW_CADENCE_TO_DAYS[authored.reviewCadence];\n if (!Number.isFinite(days)) return;\n const lastAuthored = new Date(authored.lastAuthoredAt).getTime();\n if (Number.isNaN(lastAuthored)) return;\n const ageDays = (now.getTime() - lastAuthored) / (24 * 60 * 60 * 1000);\n if (ageDays <= days) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.STALE_AUTHORED,\n path,\n message: `Requirements entity at \"${path}\" is ${Math.floor(ageDays)} days old (cadence ${authored.reviewCadence} ⇒ ${days}d). Re-author or remove the cadence.`,\n severity: RequirementsSnapshotIssueSeverity.WARN,\n });\n };\n\n snapshot.functional.forEach((entry, index) =>\n checkOne(entry.authored, `functional[${index}].authored`),\n );\n snapshot.nonFunctional.forEach((entry, index) =>\n checkOne(entry.authored, `nonFunctional[${index}].authored`),\n );\n}\n\nfunction detectUnknownCrossRefs(\n snapshot: RequirementsSnapshot,\n options: ValidateRequirementsSnapshotOptions | undefined,\n issues: RequirementsSnapshotIssue[],\n): void {\n const checkEntity = (\n entry: FunctionalRequirementConfig | NonFunctionalRequirementConfig,\n collection: string,\n index: number,\n ): void => {\n if (options?.availableIcpRefs !== undefined) {\n entry.icpRefs?.forEach((icpRef, refIndex) => {\n if (options.availableIcpRefs!.has(icpRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_ICP_REF,\n path: `${collection}[${index}].icpRefs[${refIndex}]`,\n message: `ICP ref \"${icpRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied ICP-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availableJobRefs !== undefined) {\n entry.jobRefs?.forEach((jobRef, refIndex) => {\n if (options.availableJobRefs!.has(jobRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_JOB_REF,\n path: `${collection}[${index}].jobRefs[${refIndex}]`,\n message: `Job ref \"${jobRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied job-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n if (options?.availablePainRefs !== undefined) {\n entry.painRefs?.forEach((painRef, refIndex) => {\n if (options.availablePainRefs!.has(painRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_PAIN_REF,\n path: `${collection}[${index}].painRefs[${refIndex}]`,\n message: `Pain ref \"${painRef}\" on requirement \"${entry.ref}\" does not resolve in the supplied pain-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n };\n\n snapshot.functional.forEach((entry, index) => checkEntity(entry, 'functional', index));\n snapshot.nonFunctional.forEach((entry, index) => checkEntity(entry, 'nonFunctional', index));\n if (options?.availablePainRefs !== undefined) {\n (snapshot.excludedMarketPains ?? []).forEach((excluded, index) => {\n if (options.availablePainRefs!.has(excluded.painRef)) return;\n issues.push({\n kind: RequirementsSnapshotIssueKind.UNKNOWN_PAIN_REF,\n path: `excludedMarketPains[${index}].painRef`,\n message: `Excluded pain \"${excluded.painRef}\" does not resolve in the supplied pain-ref set.`,\n severity: RequirementsSnapshotIssueSeverity.ERROR,\n });\n });\n }\n}\n/** @wildo_source:part:end requirements.snapshot.validation */\n"]}
|
|
@@ -12,6 +12,49 @@ import { z } from 'zod';
|
|
|
12
12
|
export declare enum RequirementsSnapshotVersion {
|
|
13
13
|
V1 = "v1"
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* A fact the product's creator STATED that the requirements deliberately do not turn into a requirement, with the
|
|
17
|
+
* reason.
|
|
18
|
+
*
|
|
19
|
+
* Every stated fact (a data class the product holds, a regulation that applies, a country it serves, a workflow stage,
|
|
20
|
+
* a user group, a scope boundary) is either carried by a requirement or listed here. Without this list, a fact the
|
|
21
|
+
* requirements leave out cannot be told apart from one nobody considered.
|
|
22
|
+
*
|
|
23
|
+
* Not a requirement: it carries no ref and nothing plans against it. Keep `statedFact` close to the creator's words,
|
|
24
|
+
* and make `reason` say why the product does not take it on (out of this horizon, left to another tool, contradicted by
|
|
25
|
+
* a later answer).
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* excludedStatedFacts: [
|
|
29
|
+
* { statedFact: 'Invoices are issued from the product.', reason: 'Invoicing stays in the customer\'s accounting tool.' },
|
|
30
|
+
* ]
|
|
31
|
+
*/
|
|
32
|
+
export declare const RequirementsExcludedStatedFactSchema: z.ZodObject<{
|
|
33
|
+
/** The creator's statement, quoted or closely paraphrased ("Quotes carry the customer's VAT identification number"). */
|
|
34
|
+
statedFact: z.ZodString;
|
|
35
|
+
/** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */
|
|
36
|
+
reason: z.ZodString;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
export type RequirementsExcludedStatedFact = z.infer<typeof RequirementsExcludedStatedFactSchema>;
|
|
39
|
+
/**
|
|
40
|
+
* A market PAIN the requirements deliberately do not relieve, with the reason.
|
|
41
|
+
*
|
|
42
|
+
* Every high-severity pain of the targeted customers (severity 7 or more on a CORE or EXPANSION ICP, or on one of its
|
|
43
|
+
* personas) is either relieved by a requirement (`painRefs`) or listed here. Without the list, a pain the product chose
|
|
44
|
+
* not to take on cannot be told apart from one nobody read.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* excludedMarketPains: [
|
|
48
|
+
* { painRef: 'pain-missed-follow-ups', reason: 'Follow-up reminders are the next horizon; the first ships quoting.' },
|
|
49
|
+
* ]
|
|
50
|
+
*/
|
|
51
|
+
export declare const RequirementsExcludedMarketPainSchema: z.ZodObject<{
|
|
52
|
+
/** The market pain's ref (`pain-…`). */
|
|
53
|
+
painRef: z.ZodString;
|
|
54
|
+
/** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */
|
|
55
|
+
reason: z.ZodString;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
export type RequirementsExcludedMarketPain = z.infer<typeof RequirementsExcludedMarketPainSchema>;
|
|
15
58
|
/**
|
|
16
59
|
* THE requirements-snapshot payload — a **single aggregate per product**
|
|
17
60
|
* (market / vision-snapshot style), NOT a keyed entries map (assertions
|
|
@@ -45,10 +88,17 @@ export declare enum RequirementsSnapshotVersion {
|
|
|
45
88
|
* `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the
|
|
46
89
|
* compliance-posture playbook (U10) reads alongside vision compliance
|
|
47
90
|
* constraints).
|
|
91
|
+
* - **`excludedStatedFacts`** — facts the creator stated that no
|
|
92
|
+
* requirement carries, each with its reason (`default([])`). Not
|
|
93
|
+
* ref-addressable: an exclusion is a recorded decision, not something
|
|
94
|
+
* later steps plan against.
|
|
95
|
+
* - **`excludedMarketPains`** — high-severity market pains no requirement
|
|
96
|
+
* relieves, each with its reason (`default([])`), the pain-side twin of
|
|
97
|
+
* `excludedStatedFacts`.
|
|
48
98
|
*
|
|
49
99
|
* Authored entirely in English (like the vision / market families).
|
|
50
100
|
* Authoring-consistency (duplicate refs, ref format, incompleteness,
|
|
51
|
-
* staleness, dangling ICP/job cross-refs) is checked by
|
|
101
|
+
* staleness, dangling ICP/job/pain cross-refs) is checked by
|
|
52
102
|
* `validateRequirementsSnapshot` (see
|
|
53
103
|
* `requirements-snapshot-validation.ts`); Zod enforces only structural
|
|
54
104
|
* validity here.
|
|
@@ -62,6 +112,7 @@ export declare const RequirementsSnapshotSchema: z.ZodObject<{
|
|
|
62
112
|
acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
63
113
|
icpRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
114
|
jobRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
|
+
painRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
116
|
authored: z.ZodOptional<z.ZodObject<{
|
|
66
117
|
lastAuthoredAt: z.ZodISODateTime;
|
|
67
118
|
confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").AuthoredConfidence>>;
|
|
@@ -79,6 +130,7 @@ export declare const RequirementsSnapshotSchema: z.ZodObject<{
|
|
|
79
130
|
acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
80
131
|
icpRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
132
|
jobRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
133
|
+
painRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
82
134
|
authored: z.ZodOptional<z.ZodObject<{
|
|
83
135
|
lastAuthoredAt: z.ZodISODateTime;
|
|
84
136
|
confidence: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").AuthoredConfidence>>;
|
|
@@ -87,6 +139,18 @@ export declare const RequirementsSnapshotSchema: z.ZodObject<{
|
|
|
87
139
|
notes: z.ZodOptional<z.ZodString>;
|
|
88
140
|
}, z.core.$strip>>;
|
|
89
141
|
}, z.core.$strip>>>;
|
|
142
|
+
excludedStatedFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
143
|
+
/** The creator's statement, quoted or closely paraphrased ("Quotes carry the customer's VAT identification number"). */
|
|
144
|
+
statedFact: z.ZodString;
|
|
145
|
+
/** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */
|
|
146
|
+
reason: z.ZodString;
|
|
147
|
+
}, z.core.$strict>>>;
|
|
148
|
+
excludedMarketPains: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
149
|
+
/** The market pain's ref (`pain-…`). */
|
|
150
|
+
painRef: z.ZodString;
|
|
151
|
+
/** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */
|
|
152
|
+
reason: z.ZodString;
|
|
153
|
+
}, z.core.$strict>>>;
|
|
90
154
|
}, z.core.$strip>;
|
|
91
155
|
export type RequirementsSnapshot = z.infer<typeof RequirementsSnapshotSchema>;
|
|
92
156
|
/** @wildo_source:part:end requirements.snapshot.config */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;GASG;AACH,oBAAY,2BAA2B;IACrC,EAAE,OAAO;CACV;AAED
|
|
1
|
+
{"version":3,"file":"requirements-snapshot.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;;GASG;AACH,oBAAY,2BAA2B;IACrC,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,oCAAoC;IAC/C,wHAAwH;;IAExH,iHAAiH;;kBAEjH,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oCAAoC;IAC/C,wCAAwC;;IAExC,qGAAqG;;kBAErG,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3ErC,wHAAwH;;QAExH,iHAAiH;;;;QAkBjH,wCAAwC;;QAExC,qGAAqG;;;iBA+DrG,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,0DAA0D"}
|
|
@@ -15,6 +15,47 @@ export var RequirementsSnapshotVersion;
|
|
|
15
15
|
(function (RequirementsSnapshotVersion) {
|
|
16
16
|
RequirementsSnapshotVersion["V1"] = "v1";
|
|
17
17
|
})(RequirementsSnapshotVersion || (RequirementsSnapshotVersion = {}));
|
|
18
|
+
/**
|
|
19
|
+
* A fact the product's creator STATED that the requirements deliberately do not turn into a requirement, with the
|
|
20
|
+
* reason.
|
|
21
|
+
*
|
|
22
|
+
* Every stated fact (a data class the product holds, a regulation that applies, a country it serves, a workflow stage,
|
|
23
|
+
* a user group, a scope boundary) is either carried by a requirement or listed here. Without this list, a fact the
|
|
24
|
+
* requirements leave out cannot be told apart from one nobody considered.
|
|
25
|
+
*
|
|
26
|
+
* Not a requirement: it carries no ref and nothing plans against it. Keep `statedFact` close to the creator's words,
|
|
27
|
+
* and make `reason` say why the product does not take it on (out of this horizon, left to another tool, contradicted by
|
|
28
|
+
* a later answer).
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* excludedStatedFacts: [
|
|
32
|
+
* { statedFact: 'Invoices are issued from the product.', reason: 'Invoicing stays in the customer\'s accounting tool.' },
|
|
33
|
+
* ]
|
|
34
|
+
*/
|
|
35
|
+
export const RequirementsExcludedStatedFactSchema = z.strictObject({
|
|
36
|
+
/** The creator's statement, quoted or closely paraphrased ("Quotes carry the customer's VAT identification number"). */
|
|
37
|
+
statedFact: z.string().trim().min(1),
|
|
38
|
+
/** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */
|
|
39
|
+
reason: z.string().trim().min(1),
|
|
40
|
+
});
|
|
41
|
+
/**
|
|
42
|
+
* A market PAIN the requirements deliberately do not relieve, with the reason.
|
|
43
|
+
*
|
|
44
|
+
* Every high-severity pain of the targeted customers (severity 7 or more on a CORE or EXPANSION ICP, or on one of its
|
|
45
|
+
* personas) is either relieved by a requirement (`painRefs`) or listed here. Without the list, a pain the product chose
|
|
46
|
+
* not to take on cannot be told apart from one nobody read.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* excludedMarketPains: [
|
|
50
|
+
* { painRef: 'pain-missed-follow-ups', reason: 'Follow-up reminders are the next horizon; the first ships quoting.' },
|
|
51
|
+
* ]
|
|
52
|
+
*/
|
|
53
|
+
export const RequirementsExcludedMarketPainSchema = z.strictObject({
|
|
54
|
+
/** The market pain's ref (`pain-…`). */
|
|
55
|
+
painRef: z.string().trim().min(1),
|
|
56
|
+
/** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */
|
|
57
|
+
reason: z.string().trim().min(1),
|
|
58
|
+
});
|
|
18
59
|
/**
|
|
19
60
|
* THE requirements-snapshot payload — a **single aggregate per product**
|
|
20
61
|
* (market / vision-snapshot style), NOT a keyed entries map (assertions
|
|
@@ -48,10 +89,17 @@ export var RequirementsSnapshotVersion;
|
|
|
48
89
|
* `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the
|
|
49
90
|
* compliance-posture playbook (U10) reads alongside vision compliance
|
|
50
91
|
* constraints).
|
|
92
|
+
* - **`excludedStatedFacts`** — facts the creator stated that no
|
|
93
|
+
* requirement carries, each with its reason (`default([])`). Not
|
|
94
|
+
* ref-addressable: an exclusion is a recorded decision, not something
|
|
95
|
+
* later steps plan against.
|
|
96
|
+
* - **`excludedMarketPains`** — high-severity market pains no requirement
|
|
97
|
+
* relieves, each with its reason (`default([])`), the pain-side twin of
|
|
98
|
+
* `excludedStatedFacts`.
|
|
51
99
|
*
|
|
52
100
|
* Authored entirely in English (like the vision / market families).
|
|
53
101
|
* Authoring-consistency (duplicate refs, ref format, incompleteness,
|
|
54
|
-
* staleness, dangling ICP/job cross-refs) is checked by
|
|
102
|
+
* staleness, dangling ICP/job/pain cross-refs) is checked by
|
|
55
103
|
* `validateRequirementsSnapshot` (see
|
|
56
104
|
* `requirements-snapshot-validation.ts`); Zod enforces only structural
|
|
57
105
|
* validity here.
|
|
@@ -62,6 +110,10 @@ export const RequirementsSnapshotSchema = z.object({
|
|
|
62
110
|
functional: z.array(FunctionalRequirementConfigSchema).default([]),
|
|
63
111
|
/** Qualities the product must exhibit (incl. compliance). Ref-addressable. */
|
|
64
112
|
nonFunctional: z.array(NonFunctionalRequirementConfigSchema).default([]),
|
|
113
|
+
/** Stated facts no requirement carries, each with why (#2499). */
|
|
114
|
+
excludedStatedFacts: z.array(RequirementsExcludedStatedFactSchema).default([]),
|
|
115
|
+
/** Market pains no requirement relieves, each with why (#2500). */
|
|
116
|
+
excludedMarketPains: z.array(RequirementsExcludedMarketPainSchema).default([]),
|
|
65
117
|
});
|
|
66
118
|
/** @wildo_source:part:end requirements.snapshot.config */
|
|
67
119
|
//# sourceMappingURL=requirements-snapshot.schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements-snapshot.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAE5F;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,2BAEX;AAFD,WAAY,2BAA2B;IACrC,wCAAS,CAAA;AACX,CAAC,EAFW,2BAA2B,KAA3B,2BAA2B,QAEtC;AAED
|
|
1
|
+
{"version":3,"file":"requirements-snapshot.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements-snapshot.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAE5F;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,2BAEX;AAFD,WAAY,2BAA2B;IACrC,wCAAS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,mEAAmE;IACnE,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC/E,CAAC,CAAC;AAEH,0DAA0D","sourcesContent":["import { z } from 'zod';\n\nimport { FunctionalRequirementConfigSchema } from './functional-requirement.schemas';\nimport { NonFunctionalRequirementConfigSchema } from './non-functional-requirement.schemas';\n\n/**\n * @wildo_source:part:start requirements.snapshot.config facet:layer:specification facet:family:requirements\n *\n * Versioning for the requirements-snapshot payload format itself.\n * `V1` — initial shape (functional + non-functional requirement\n * collections). The shape grows additively across versions — older\n * callers keep parsing newer payloads via `default([])` semantics on the\n * additive members; the `version` field is the explicit marker for\n * consumers that need to branch on era.\n */\nexport enum RequirementsSnapshotVersion {\n V1 = 'v1',\n}\n\n/**\n * A fact the product's creator STATED that the requirements deliberately do not turn into a requirement, with the\n * reason.\n *\n * Every stated fact (a data class the product holds, a regulation that applies, a country it serves, a workflow stage,\n * a user group, a scope boundary) is either carried by a requirement or listed here. Without this list, a fact the\n * requirements leave out cannot be told apart from one nobody considered.\n *\n * Not a requirement: it carries no ref and nothing plans against it. Keep `statedFact` close to the creator's words,\n * and make `reason` say why the product does not take it on (out of this horizon, left to another tool, contradicted by\n * a later answer).\n *\n * @example\n * excludedStatedFacts: [\n * { statedFact: 'Invoices are issued from the product.', reason: 'Invoicing stays in the customer\\'s accounting tool.' },\n * ]\n */\nexport const RequirementsExcludedStatedFactSchema = z.strictObject({\n /** The creator's statement, quoted or closely paraphrased (\"Quotes carry the customer's VAT identification number\"). */\n statedFact: z.string().trim().min(1),\n /** Why no requirement carries it (out of this horizon, left to another tool, contradicted by a later answer). */\n reason: z.string().trim().min(1),\n});\nexport type RequirementsExcludedStatedFact = z.infer<typeof RequirementsExcludedStatedFactSchema>;\n\n/**\n * A market PAIN the requirements deliberately do not relieve, with the reason.\n *\n * Every high-severity pain of the targeted customers (severity 7 or more on a CORE or EXPANSION ICP, or on one of its\n * personas) is either relieved by a requirement (`painRefs`) or listed here. Without the list, a pain the product chose\n * not to take on cannot be told apart from one nobody read.\n *\n * @example\n * excludedMarketPains: [\n * { painRef: 'pain-missed-follow-ups', reason: 'Follow-up reminders are the next horizon; the first ships quoting.' },\n * ]\n */\nexport const RequirementsExcludedMarketPainSchema = z.strictObject({\n /** The market pain's ref (`pain-…`). */\n painRef: z.string().trim().min(1),\n /** Why no requirement relieves it (a later horizon, outside the product, served by another tool). */\n reason: z.string().trim().min(1),\n});\nexport type RequirementsExcludedMarketPain = z.infer<typeof RequirementsExcludedMarketPainSchema>;\n\n/**\n * THE requirements-snapshot payload — a **single aggregate per product**\n * (market / vision-snapshot style), NOT a keyed entries map (assertions\n * style): there is exactly one requirements brief per application. It is\n * the requirements-layer artifact the app-creation top-down catalog\n * reads/writes (C-4 definition families), and the primary input the\n * capability-map playbook (U8) consumes to draft spec-first features.\n *\n * **Artifact-family id: `requirements`.** This schema is the shape of the\n * journey artifact selected by\n * `MetaWorkflow_ArtifactSelector.family === 'requirements'` (the id\n * already listed in that selector's JSDoc vocabulary next to\n * `vision-brief` / `market-snapshot`). The `family` vocabulary is an OPEN\n * string by design (owned by the assertion surface, not a frozen enum —\n * see `MetaWorkflow_ArtifactSelectorSchema`), so it is intentionally NOT\n * re-declared as a constant here; this note is the single place that ties\n * the `RequirementsSnapshot` SHAPE to the `requirements` family NAME so\n * the capability-map playbook (U8) and the WT dogfood (D1) select it\n * consistently.\n *\n * Shape decision (framework mindset — each member carries its own\n * semantic weight, no folding into `FeatureSpecification`,\n * `MilestoneSpecification`, or the vision / market families):\n *\n * - **`functional`** — ref-addressable collection of capabilities the\n * product must provide (`default([])`). An empty collection is a\n * first-class \"not yet elicited\" state surfaced as a WARN by\n * `validateRequirementsSnapshot`, never a parse failure.\n * - **`nonFunctional`** — ref-addressable collection of qualities the\n * product must exhibit (`default([])`), classified by\n * `NonFunctionalRequirementKind` (incl. `COMPLIANCE`, the seam the\n * compliance-posture playbook (U10) reads alongside vision compliance\n * constraints).\n * - **`excludedStatedFacts`** — facts the creator stated that no\n * requirement carries, each with its reason (`default([])`). Not\n * ref-addressable: an exclusion is a recorded decision, not something\n * later steps plan against.\n * - **`excludedMarketPains`** — high-severity market pains no requirement\n * relieves, each with its reason (`default([])`), the pain-side twin of\n * `excludedStatedFacts`.\n *\n * Authored entirely in English (like the vision / market families).\n * Authoring-consistency (duplicate refs, ref format, incompleteness,\n * staleness, dangling ICP/job/pain cross-refs) is checked by\n * `validateRequirementsSnapshot` (see\n * `requirements-snapshot-validation.ts`); Zod enforces only structural\n * validity here.\n */\nexport const RequirementsSnapshotSchema = z.object({\n version: z.enum(RequirementsSnapshotVersion).default(RequirementsSnapshotVersion.V1),\n /** Capabilities the product must provide. Ref-addressable. */\n functional: z.array(FunctionalRequirementConfigSchema).default([]),\n /** Qualities the product must exhibit (incl. compliance). Ref-addressable. */\n nonFunctional: z.array(NonFunctionalRequirementConfigSchema).default([]),\n /** Stated facts no requirement carries, each with why (#2499). */\n excludedStatedFacts: z.array(RequirementsExcludedStatedFactSchema).default([]),\n /** Market pains no requirement relieves, each with why (#2500). */\n excludedMarketPains: z.array(RequirementsExcludedMarketPainSchema).default([]),\n});\nexport type RequirementsSnapshot = z.infer<typeof RequirementsSnapshotSchema>;\n/** @wildo_source:part:end requirements.snapshot.config */\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAM1E;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,
|
|
1
|
+
{"version":3,"file":"requirements.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAM1E;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,wBA+BzC,CAAC"}
|
|
@@ -23,6 +23,7 @@ export const REQUIREMENTS_FAMILY_ASPECTS = {
|
|
|
23
23
|
edges: [
|
|
24
24
|
{ field: 'icpRefs', targetAspects: ['market.icp'] },
|
|
25
25
|
{ field: 'jobRefs', targetAspects: ['market.job'] },
|
|
26
|
+
{ field: 'painRefs', targetAspects: ['market.pain'] },
|
|
26
27
|
],
|
|
27
28
|
},
|
|
28
29
|
{
|
|
@@ -35,6 +36,7 @@ export const REQUIREMENTS_FAMILY_ASPECTS = {
|
|
|
35
36
|
edges: [
|
|
36
37
|
{ field: 'icpRefs', targetAspects: ['market.icp'] },
|
|
37
38
|
{ field: 'jobRefs', targetAspects: ['market.job'] },
|
|
39
|
+
{ field: 'painRefs', targetAspects: ['market.pain'] },
|
|
38
40
|
],
|
|
39
41
|
},
|
|
40
42
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAA6B;IACnE,SAAS,EAAE,+CAA+C,CAAC,qBAAqB;IAChF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"requirements.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/requirements/requirements.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAA6B;IACnE,SAAS,EAAE,+CAA+C,CAAC,qBAAqB;IAChF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,aAAa,CAAC,EAAE;aACtD;SACF;QACD;YACE,GAAG,EAAE,6BAA6B;YAClC,YAAY,EAAE,eAAe;YAC7B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,oCAAoC;YAChD,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,WAAW;YAC1B,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,YAAY,CAAC,EAAE;gBACnD,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,aAAa,CAAC,EAAE;aACtD;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { FunctionalRequirementConfigSchema } from './functional-requirement.schemas';\nimport { NonFunctionalRequirementConfigSchema } from './non-functional-requirement.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * The requirements family's aspects. The two collections stay two ASPECT KINDS (they have\n * different anatomies and different key namespaces: `functional-requirement-*` vs `nfr-*`) —\n * consumers that accept either (a roadmap phase's `deliversRequirementRefs`) declare BOTH as\n * edge targets and resolve by key membership.\n */\nexport const REQUIREMENTS_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.REQUIREMENTS_SNAPSHOT,\n aspects: [\n {\n key: 'requirements.functional',\n snapshotPath: 'functional',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FunctionalRequirementConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'icpRefs', targetAspects: ['market.icp'] },\n { field: 'jobRefs', targetAspects: ['market.job'] },\n { field: 'painRefs', targetAspects: ['market.pain'] },\n ],\n },\n {\n key: 'requirements.non-functional',\n snapshotPath: 'nonFunctional',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: NonFunctionalRequirementConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [\n { field: 'icpRefs', targetAspects: ['market.icp'] },\n { field: 'jobRefs', targetAspects: ['market.job'] },\n { field: 'painRefs', targetAspects: ['market.pain'] },\n ],\n },\n ],\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import type { CodeEnumMemberRef, CodeSymbolRef, EnumLikeType, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
3
|
import type { LayoutRefManifest, ObjectShape, ResourceConfigLike, ResourceUIBehaviorConfig, ResourceUIBehavior_EmptyState, ResourceUIBehavior_GuidanceFlow } from '@wildo-ai/saas-frontend-lib/companion';
|
|
4
|
-
import { CoreM2MNotificationChannel, CoreResourceOperation, ErrorCustomMessageReference, ErrorType, CoreUserNotificationChannel, CoreUserNotificationTarget, M2MNotificationLevel, ResourceOperationFrontendSurface, ResourcePrimaryScope, SystemEmailTemplateRef } from '@wildo-ai/saas-models';
|
|
4
|
+
import { CoreM2MNotificationChannel, CoreResourceOperation, ErrorCustomMessageReference, ErrorType, CoreUserNotificationChannel, CoreUserNotificationTarget, M2MNotificationLevel, M2MWebhookEventType, ResourceOperationFrontendSurface, ResourcePrimaryScope, SystemEmailTemplateRef } from '@wildo-ai/saas-models';
|
|
5
5
|
import type { ResourceRelationship, ValidOperationKeys } from '@wildo-ai/saas-models';
|
|
6
6
|
import { ResourceCollectionExportFormat } from '@wildo-ai/saas-models';
|
|
7
7
|
import { type ExternalDataPipelineDescription } from '@wildo-ai/saas-models/external-data';
|
|
@@ -149,7 +149,7 @@ export interface ResourceOperationEmailDeliverySpecification {
|
|
|
149
149
|
* Stable `SystemEmailTemplateRef` THIS delivery resolves to, when the
|
|
150
150
|
* runtime template path corresponds to an entry registered in
|
|
151
151
|
* `SystemEmailTemplateRegistry` (system-level emails such as
|
|
152
|
-
* `WELCOME_EMAIL`, `
|
|
152
|
+
* `WELCOME_EMAIL`, `RELATIONSHIP_INVITATION`, …). Use it to cross-link a
|
|
153
153
|
* resource-initiated trigger to its authored
|
|
154
154
|
* `SystemEmailTemplateSpecification` overlay in companion prompts.
|
|
155
155
|
*
|
|
@@ -428,6 +428,13 @@ export interface ResourceOperationM2MDeliverySpecification {
|
|
|
428
428
|
* use `M2MNotificationLevel` members; mirrors the runtime enum.
|
|
429
429
|
*/
|
|
430
430
|
level?: M2MNotificationLevel | (string & {});
|
|
431
|
+
/**
|
|
432
|
+
* The outcomes this delivery announces — mirrors the runtime declaration's `events` (#2185). Omitted means
|
|
433
|
+
* `[operation.completed]`, as at runtime. `operation.failed` is announced only when a BACKGROUND run of the
|
|
434
|
+
* operation fails; state it here when the operation declares it, so a reader of the specification knows a
|
|
435
|
+
* receiver will hear about failures that no caller was waiting for.
|
|
436
|
+
*/
|
|
437
|
+
events?: M2MWebhookEventType[];
|
|
431
438
|
/**
|
|
432
439
|
* Operation variant this delivery belongs to. `undefined` means the default
|
|
433
440
|
* variant. Maps to `variantKey` on the runtime variant when present.
|
|
@@ -671,12 +678,19 @@ export type ResourceOperationScheduledExecutionSpecification = NativeCronJobSche
|
|
|
671
678
|
* An enum (not a literal union) per the framework rule — a single source of
|
|
672
679
|
* truth for the renderer and the OpenAPI generator. The string VALUE is the
|
|
673
680
|
* OpenAPI `responses` key (`'200'`, `'404'`, …) so it splices in verbatim.
|
|
681
|
+
*
|
|
682
|
+
* **There is no `204`, on purpose.** Every operation a resource specification documents is served by
|
|
683
|
+
* the framework's resource controller, which answers `201` for a create, `202` for an operation that
|
|
684
|
+
* runs in the background, and `200` for everything else (or `404` when the row is not there). It never
|
|
685
|
+
* answers `204 No Content`. A delete answers `200` with a body, `{ id }` for one row and
|
|
686
|
+
* `{ deletedIds, deletedCount }` for a bulk delete, and clients read it: the deleted record's identity
|
|
687
|
+
* comes from that body. So document a delete as `OK_200`, for example
|
|
688
|
+
* `{ code: HttpResponseStatusCode.OK_200, meaning: 'The list was deleted; the body carries its id.' }`.
|
|
674
689
|
*/
|
|
675
690
|
export declare enum HttpResponseStatusCode {
|
|
676
691
|
OK_200 = "200",
|
|
677
692
|
CREATED_201 = "201",
|
|
678
693
|
ACCEPTED_202 = "202",
|
|
679
|
-
NO_CONTENT_204 = "204",
|
|
680
694
|
BAD_REQUEST_400 = "400",
|
|
681
695
|
UNAUTHORIZED_401 = "401",
|
|
682
696
|
FORBIDDEN_403 = "403",
|
|
@@ -959,7 +973,14 @@ export interface ResourceFrontendLayoutAspect {
|
|
|
959
973
|
hasEditTemplate: boolean;
|
|
960
974
|
}
|
|
961
975
|
export interface ResourceFrontendConfigurationAspect<TCustomOp extends EnumLikeType | undefined, TCoreOp extends Partial<CoreResourceOperation> | undefined, TSchema extends z.ZodTypeAny> {
|
|
976
|
+
/** The schema the ui-behavior PRESENTS: its `fields` and `schemaOverride` composed in. */
|
|
962
977
|
schema: TSchema;
|
|
978
|
+
/**
|
|
979
|
+
* The schema the ui-behavior was DECLARED over, before its `fields` (#2918). Two aspects merge when they were
|
|
980
|
+
* declared over the same schema, and each one's presentation is what its `schema` changes relative to this.
|
|
981
|
+
* Absent on an aspect built by hand, which then presents nothing beyond `schema`.
|
|
982
|
+
*/
|
|
983
|
+
declaredSchema?: TSchema;
|
|
963
984
|
label?: ResourceFrontendLabelAspect;
|
|
964
985
|
emptyState?: ResourceUIBehavior_EmptyState;
|
|
965
986
|
layout?: ResourceFrontendLayoutAspect;
|
|
@@ -1326,9 +1347,10 @@ export type ResourceSpecificationCallbackParams<TCustomOp extends EnumLikeType |
|
|
|
1326
1347
|
* Return type of the base `resourceSpecification()` callback.
|
|
1327
1348
|
*
|
|
1328
1349
|
* Resource-level prose lives here alongside the per-field decorator container.
|
|
1329
|
-
* The `fields` property works
|
|
1330
|
-
*
|
|
1331
|
-
*
|
|
1350
|
+
* The `fields` property works like `ResourceUIBehaviorConfig.fields`: calling
|
|
1351
|
+
* `{primitive}Spec()` on a shape field returns a decorated COPY (#1308), so the
|
|
1352
|
+
* declaration exists only in this record — which is what the specification layer
|
|
1353
|
+
* reads — and the resource's schema stays as it was declared.
|
|
1332
1354
|
*
|
|
1333
1355
|
* **Validator-entry contract — read this before constructing this object
|
|
1334
1356
|
* directly (M5-9).** The cross-cutting fail-closed validators that protect
|
|
@@ -1435,6 +1457,19 @@ export type ResourceSpecificationConfig<TCustomOp extends EnumLikeType | undefin
|
|
|
1435
1457
|
* a second copy of the declaration, and the second copy is the one that drifts.
|
|
1436
1458
|
*/
|
|
1437
1459
|
externalDataPipeline?: ExternalDataPipelineDescription;
|
|
1460
|
+
/**
|
|
1461
|
+
* The fields that name a row of this resource: the resource configuration's `recordLabelFields` (#2779). Since #2775
|
|
1462
|
+
* that is a record's one name on every surface (a chat read command shows it too), and a resource declaring it may
|
|
1463
|
+
* not also carry a ui-behavior `getFrontendResourceLabel`, so the ui-behavior alone no longer says how a record is
|
|
1464
|
+
* named. `resourceSpecificationFromFrontendConfiguration` reads this to give the label aspect a `field-paths`
|
|
1465
|
+
* strategy, which is what lets a specification document `frontend.label` for such a resource.
|
|
1466
|
+
*
|
|
1467
|
+
* DERIVED, never authored, exactly like {@link externalDataPipeline}: `resourceSpecification()` refuses a callback
|
|
1468
|
+
* that returns it, and attaches it when it can materialize the resource configuration (the spec supplies
|
|
1469
|
+
* `resourceRelationships`). A spec on the explicit-scope path passes the configuration to
|
|
1470
|
+
* `resourceSpecificationFromFrontendConfiguration` as `options.resourceConfig` instead.
|
|
1471
|
+
*/
|
|
1472
|
+
recordLabelFields?: readonly string[];
|
|
1438
1473
|
/** Public-import-oriented metadata for downstream code-handling prompts. */
|
|
1439
1474
|
codeHandling?: ResourceSpecificationCodeHandling;
|
|
1440
1475
|
/**
|
|
@@ -1443,10 +1478,10 @@ export type ResourceSpecificationConfig<TCustomOp extends EnumLikeType | undefin
|
|
|
1443
1478
|
* Keys are field names of `TMainSchema`; values are decorated Zod schemas
|
|
1444
1479
|
* from the same shape (e.g., `shape.status.enumSpec({ ... })`).
|
|
1445
1480
|
*
|
|
1446
|
-
*
|
|
1447
|
-
*
|
|
1448
|
-
*
|
|
1449
|
-
*
|
|
1481
|
+
* Calling `.enumSpec()` on a shape field returns a decorated COPY of it (#1308);
|
|
1482
|
+
* this record is where that copy lives and where the specification layer reads
|
|
1483
|
+
* it (a nested leaf reaches it inside a copy of its parent, `withObjectFields`).
|
|
1484
|
+
* Keys are typed by `keyof ObjectShape<TMainSchema>`.
|
|
1450
1485
|
*/
|
|
1451
1486
|
fields?: {
|
|
1452
1487
|
[K in keyof ObjectShape<TSchema>]?: ObjectShape<TSchema>[K];
|
|
@@ -1603,11 +1638,12 @@ export type ResourceSpecificationOptions = {
|
|
|
1603
1638
|
* used to resolve `ObjectShape` so that `{primitive}Spec()` decorators
|
|
1604
1639
|
* are type-checked against real fields.
|
|
1605
1640
|
*
|
|
1606
|
-
* The callback runs immediately at module evaluation time.
|
|
1607
|
-
*
|
|
1608
|
-
*
|
|
1609
|
-
*
|
|
1610
|
-
* semantic prose ends up in the
|
|
1641
|
+
* The callback runs immediately at module evaluation time. A `{primitive}Spec()`
|
|
1642
|
+
* decorator returns a decorated COPY of the field and leaves the schema as
|
|
1643
|
+
* declared, so the declarations live in the returned `fields` record, which is
|
|
1644
|
+
* what the companion reads. In the frontend context (where specifications are
|
|
1645
|
+
* never imported), this code never runs, so no semantic prose ends up in the
|
|
1646
|
+
* browser bundle.
|
|
1611
1647
|
*
|
|
1612
1648
|
* **Explicit scope declaration.** The fourth `options` argument carries an
|
|
1613
1649
|
* explicit `resourcePrimaryScope`. TypeScript enforces its presence at compile
|
|
@@ -1686,6 +1722,11 @@ export declare function resourceFrontendConfiguration<TCustomOp extends EnumLike
|
|
|
1686
1722
|
* guidance flows, surfaced operation variants) and last-write-wins where the
|
|
1687
1723
|
* frontend model is override-based (label strategy, empty state field values,
|
|
1688
1724
|
* individual relationship override entries).
|
|
1725
|
+
*
|
|
1726
|
+
* The configurations must be declared over the same schema. Their presentations
|
|
1727
|
+
* merge per field and per decorator, the later one winning (#2918): a main and an
|
|
1728
|
+
* admin ui-behavior that each decorate a field present both decorations, where
|
|
1729
|
+
* they used to be refused for no longer sharing that field's instance.
|
|
1689
1730
|
*/
|
|
1690
1731
|
export declare function mergeResourceFrontendConfigurations<TCustomOp extends EnumLikeType | undefined, TCoreOp extends Partial<CoreResourceOperation> | undefined, TSchema extends z.ZodTypeAny>(...configs: Array<ResourceFrontendConfigurationAspect<TCustomOp, TCoreOp, TSchema>>): ResourceFrontendConfigurationAspect<TCustomOp, TCoreOp, TSchema>;
|
|
1691
1732
|
/**
|