@wildo-ai/saas-specifications 1.1.1 → 1.1.3
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/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -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-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- 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 +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -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 +10 -4
- 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 +15 -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.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- 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 +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- 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 +11 -5
- 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 +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- 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 +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -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 +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -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 +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
- 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 +157 -57
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- 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 +2 -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 +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +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 +15 -1
- 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 +4 -2
- 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 +2 -0
- 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 +17 -3
- 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.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- 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.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- 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 +3 -1
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
- 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 +2 -0
- 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 +17 -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 +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
- 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 +6 -4
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
- 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 +11 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- 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 +106 -10
- 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 +0 -6
- 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 +2 -0
- 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 +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
- 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 +6 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -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 +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
- 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 +13 -9
- 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 +30 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- 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 +10 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
- 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 +5 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -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 +12 -10
- 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 +3 -3
- 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 +22 -10
- 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.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
- 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 +4 -2
- 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 -3
- 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 +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.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 +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- 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 +19 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.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 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- 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 -15
- 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 +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- 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 +31 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- 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 +11 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- 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 +4 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +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 +3 -1
- 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.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- 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.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +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 +9 -7
- 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 +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
- 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 +10 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- 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 +6 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
- 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 +5 -5
- 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 +15 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- 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 +11 -9
- 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.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
- 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 +5 -0
- 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 +451 -25
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-flow-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/guidance-flow-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAG5E,OAAO,EACL,2CAA2C,GAC5C,MAAM,2CAA2C,CAAC;AAmMnD;;;;;GAKG;AACH,MAAM,UAAU,4CAA4C,CAC1D,GAAW;IAEX,OAAO,OAAO,GAAG,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IAAI,QAAQ,kDAAkD,CAC7E,CAAC;IACJ,CAAC;IACD,IAAI,OAAO,SAAS,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC;QAC7E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,iDAAiD,CAC5E,CAAC;IACJ,CAAC;IACD,IAAI,SAAS,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;QACvC,IAAI,OAAO,SAAS,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC;YAC7E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,+DAA+D,CAC1F,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import {\n GUIDANCE_ELEMENT_FIELDS,\n GuidanceFlowScope,\n GuidanceRenderMode,\n OnboardingTriggerType,\n} from '@wildo-ai/saas-models';\n\nimport {\n assertRoleRefsResolveToRegistry,\n normaliseRefToBiScopedKey,\n} from './cross-registry-assertions';\nimport { SpecificationOwnerKind } from './definition-specification.schemas';\nimport type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type { OnboardingViewElementSpecification } from './onboarding-view-specification.schemas';\nimport {\n assertOptionalRequiredFeaturesSpecification,\n} from './required-features-specification.schemas';\nimport type { RequiredFeaturesSpecification } from './required-features-specification.schemas';\nimport type {\n TranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n importPath?: string;\n}\n\n/**\n * Import-oriented coding/transposition metadata for a guidance flow.\n *\n * Mirrors the onboarding equivalent: the underlying runtime\n * declarations (`GuidanceFlowScope`, `GuidanceRenderMode`,\n * `OnboardingTriggerType`) are TS enums or `const` objects depending\n * on the family — `Symbol` suffix here is faithful to the public\n * symbol-export convention used across companion `codeHandling`\n * surfaces.\n */\nexport interface GuidanceFlowSpecificationCodeHandling {\n /**\n * Module/application owner that authored the guidance flow.\n *\n * Required because the engine + Wonder Todos parity audit\n * (Step 7 deferred follow-up #3) confirmed every authored\n * `GuidanceFlowSpecification` populates this slot — guidance flows\n * are always wired through a separate definition collection (no\n * inline-at-resource declarations exist), so the owner is never\n * meaningfully absent.\n */\n definitionOwner: SpecificationOwnerRef;\n /** Public declarations where the guidance flow is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Public symbol exposing the runtime `GuidanceFlowScope` enum. */\n guidanceScopeSymbol?: PublicCodeSymbolRef;\n /** Public symbol exposing the runtime `GuidanceRenderMode` enum. */\n renderModeSymbol?: PublicCodeSymbolRef;\n /** Public symbol exposing the runtime trigger type vocabulary. */\n triggerTypeSymbol?: PublicCodeSymbolRef;\n /** Public symbol exposing the runtime element type vocabulary. */\n elementTypeSymbol?: PublicCodeSymbolRef;\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\n/**\n * Authored semantic contract for one guidance flow.\n *\n * Bi-scoped at the runtime layer (see `GuidanceFlowDefinition` —\n * application-scope vs resource-scope) so the spec layer ships two\n * factories. `scope` / `resourceType` are propagated by the factory\n * from the runtime `viewDefinition` (same precedent as chart /\n * onboarding specs) — single source of truth = runtime.\n *\n * Unlike onboarding, guidance flows DO have a unified `audience`\n * block at runtime (`GuidanceAudienceSchema` — roles +\n * requiredFeatures + excludeIfCompleted + createdAfter live under\n * the same parent), so the spec mirrors that flat structure rather\n * than splitting across `requiredFeatures` (flow-level) and\n * `trigger.conditions` (per-trigger) the way onboarding does.\n *\n * Spec-side renames (vs runtime field names):\n * - `audience.roleRefs` ← runtime `roles`. The `Refs` suffix is the\n * spec convention for \"string identifiers that point to typed\n * references in another spec file\"; future Step 5 may introduce a\n * `RoleSpecification` family these refs resolve against.\n * - `audience.excludeIfCompletedFlowRefs` ← runtime\n * `excludeIfCompleted`. The runtime name is ambiguous (the spec\n * also surfaces element refs in the same scope); the explicit\n * `FlowRefs` suffix removes that ambiguity.\n * - `audience.createdAfterIso` ← runtime `createdAfter`\n * (`z.coerce.date()`). Specs ship as plain JSON; ISO-8601 strings\n * are the natural author-side encoding.\n */\nexport interface GuidanceFlowSpecificationConfig {\n /** Stable runtime guidance flow ref (matches `GuidanceFlowDefinition.ref`). */\n ref: string;\n /** Mirrors runtime `GuidanceFlowDefinition.scope` (USER vs ORGANIZATION etc.). */\n guidanceScope: GuidanceFlowScope;\n /** Mirrors runtime `GuidanceFlowDefinition.renderMode` (INLINE vs OVERLAY etc.). */\n renderMode: GuidanceRenderMode;\n /** Mirrors runtime `GuidanceFlowDefinition.priority` for ordering. */\n priority?: number;\n /** Why this guidance flow exists from a product/workflow perspective. */\n purpose: string;\n /** What \"successful\" completion of this flow looks like. */\n successCriteria: string;\n /** Interaction role this flow plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this guidance flow is the right destination. */\n useWhen?: string;\n /** Situations where another surface (e.g. onboarding view) is preferred. */\n avoidWhen?: string;\n /**\n * Meaning of the flow-level translatable slots.\n *\n * **Open vocabulary**: unlike the per-element `textSlots` (which\n * fail-close against `GUIDANCE_ELEMENT_FIELDS[elementType]`), the\n * flow-level slots accept any author-chosen key. Rationale: there\n * is no runtime label generator for flow-level slots to drift\n * against — they exist purely to ground companion prompts. The\n * validator only requires `'title'` and `'description'` to be\n * declared so generated overlay labels stay semantically grounded.\n * Tracked: F-9 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\n textSlots?: TranslationSlotSpecificationMap;\n /**\n * Per-element semantic overlay. Reuses the onboarding element\n * spec because the underlying runtime element schema is shared\n * (`OnboardingElementSchema` is consumed by both onboarding views\n * and guidance flows — see `engine/saas-models/src/guidance/`).\n */\n elements: OnboardingViewElementSpecification[];\n /**\n * Mirrors the full runtime `OnboardingTrigger`\n * (`OnboardingTriggerSchema`) — REQUIRED at the spec layer\n * because `GuidanceFlowDefinitionSchema.trigger` is required at\n * runtime (no `.optional()`). Every guidance flow has trigger\n * semantics that the spec must surface so companion prompts can\n * answer \"WHEN does this flow fire?\".\n * spec-cite: N/A — \"the spec\" is this Wildo specification layer, and the\n * quoted text is an authoring prompt shown to spec authors. No external\n * standard is invoked.\n *\n * Spec-side renames vs the runtime:\n * - `conditions.roleRefs` ← runtime `requiredRoles`. The `Refs`\n * suffix is the spec convention for string identifiers that\n * point to typed references in another spec family.\n * - All other fields (`type`, `routePattern`, `eventName`,\n * `delayMs`, `conditions.newUsersOnly`, `conditions.triggerOnce`)\n * carry through verbatim.\n *\n * Per-type field semantics (validator enforces these):\n * - `type=ROUTE_MATCH` requires `routePattern`.\n * - `type=EVENT` requires `eventName`.\n * - `type=DELAYED` requires `delayMs > 0`.\n */\n trigger: {\n type: OnboardingTriggerType;\n routePattern?: string;\n eventName?: string;\n delayMs?: number;\n conditions?: {\n roleRefs?: string[];\n newUsersOnly?: boolean;\n triggerOnce?: boolean;\n };\n };\n /** Mirrors runtime `GuidanceAudienceSchema`. */\n audience?: {\n roleRefs?: string[];\n requiredFeatures?: RequiredFeaturesSpecification;\n excludeIfCompletedFlowRefs?: string[];\n createdAfterIso?: string;\n };\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Author-facing notes that don't fit a structured field. */\n notes?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: GuidanceFlowSpecificationCodeHandling;\n}\n\n/**\n * Resource-scope variant — same shape as\n * `GuidanceFlowSpecificationConfig` plus the owning resource type.\n */\nexport interface ResourceGuidanceFlowSpecificationConfig\n extends GuidanceFlowSpecificationConfig {\n /** Stable resource type that owns this guidance flow. */\n resourceType: string;\n}\n\n/**\n * Keyed by either `buildApplicationGuidanceFlowSpecificationKey(ref)`\n * (`app.<ref>`) or\n * `buildResourceGuidanceFlowSpecificationKey(resourceType, ref)`\n * (`resources.<resourceType>.<ref>`).\n */\nexport type GuidanceFlowSpecification = Record<\n string,\n GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig\n>;\n\n/** Author-supplied draft (factory injects `ref`). */\nexport type GuidanceFlowSpecificationDraft = Omit<\n GuidanceFlowSpecificationConfig,\n 'ref'\n>;\n\n/**\n * Application-scope key builder — uses the same `app.<ref>`\n * namespace as every other application-scope view-family key\n * builder. See onboarding equivalent for the rationale on the\n * intentional template-literal duplication across spec files.\n */\nexport function buildApplicationGuidanceFlowSpecificationKey(\n ref: string,\n): string {\n return `app.${ref}`;\n}\n\n/** Resource-scope key builder — `resources.<resourceType>.<ref>`. */\nexport function buildResourceGuidanceFlowSpecificationKey(\n resourceType: string,\n ref: string,\n): string {\n return `resources.${resourceType}.${ref}`;\n}\n\n/** Factory for application-scope guidance flows. */\nexport function applicationGuidanceFlowSpecificationFromDefinition(\n viewDefinition: { ref: string },\n draftFactory: () => GuidanceFlowSpecificationDraft,\n): GuidanceFlowSpecificationConfig {\n const specification: GuidanceFlowSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n };\n\n validateGuidanceFlowSpecification(\n buildApplicationGuidanceFlowSpecificationKey(specification.ref),\n specification,\n );\n\n return specification;\n}\n\n/** Factory for resource-scope guidance flows. */\nexport function resourceGuidanceFlowSpecificationFromDefinition(\n viewDefinition: { ref: string; resourceType: string },\n draftFactory: () => GuidanceFlowSpecificationDraft,\n): ResourceGuidanceFlowSpecificationConfig {\n const specification: ResourceGuidanceFlowSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n resourceType: viewDefinition.resourceType,\n };\n\n validateGuidanceFlowSpecification(\n buildResourceGuidanceFlowSpecificationKey(\n viewDefinition.resourceType,\n viewDefinition.ref,\n ),\n specification,\n );\n\n return specification;\n}\n\n/**\n * Build the keyed `GuidanceFlowSpecification` map from a list of\n * specs (any mix of application + resource scope). Fails closed on\n * duplicate keys.\n */\nexport function buildGuidanceFlowSpecificationMap(\n ...specifications: Array<\n GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig\n >\n): GuidanceFlowSpecification {\n const result: GuidanceFlowSpecification = {};\n\n for (const specification of specifications) {\n const key = isResourceGuidanceFlowSpecification(specification)\n ? buildResourceGuidanceFlowSpecificationKey(\n specification.resourceType,\n specification.ref,\n )\n : buildApplicationGuidanceFlowSpecificationKey(specification.ref);\n\n if (result[key]) {\n throw new Error(\n `buildGuidanceFlowSpecificationMap(): duplicate guidance flow specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\nfunction isResourceGuidanceFlowSpecification(\n specification:\n | GuidanceFlowSpecificationConfig\n | ResourceGuidanceFlowSpecificationConfig,\n): specification is ResourceGuidanceFlowSpecificationConfig {\n return 'resourceType' in specification\n && typeof (specification as ResourceGuidanceFlowSpecificationConfig).resourceType === 'string';\n}\n\n// ── Cross-registry (Step 5 Phase 8 wiring target) ──────────────────────────\n\nconst registeredGuidanceFlowSpecifications = new Map<\n string,\n GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig\n>();\n\n/**\n * Register a `GuidanceFlowSpecification` map into the module-local\n * cross-registry so other validators (notably the Step 5 Phase 8\n * `assertGuidanceFlowRefsResolveToRegistry` helper) can resolve\n * `audience.excludeIfCompletedFlowRefs[]` against the registered set.\n *\n * # Idempotency contract\n *\n * Re-registering an identical spec for the same bi-scoped key is a\n * no-op. Re-registering a divergent spec under the same key fails\n * closed — the registry is the single source of truth for cross-spec\n * resolution, so silently accepting drift would let the second\n * registration shadow the first depending on import order. Mirrors\n * the feature/role registry contract.\n *\n * # Bi-scoped key contract\n *\n * Map values must already carry bi-scoped keys (`app.<ref>` /\n * `resources.<resourceType>.<ref>`). Authoring via\n * {@link buildGuidanceFlowSpecificationMap} produces compliant keys\n * automatically.\n *\n * # Engine vs app registration\n *\n * Engine ships zero guidance-flow specifications today (the family\n * is app-owned). Apps add their own overlays via a follow-up\n * `registerGuidanceFlowSpecifications(appLevelGuidanceFlowSpecifications)`\n * call. Registration runs after the aggregator is built — the\n * cross-registry check therefore stays fail-soft at module-load time\n * (no registry registered yet) and only bites for re-validation\n * passes (e.g. companion-side renderers, offline introspection\n * tools).\n */\nexport function registerGuidanceFlowSpecifications(map: GuidanceFlowSpecification): void {\n for (const [key, specification] of Object.entries(map)) {\n if (typeof key !== 'string' || !key.trim()) {\n throw new Error(\n 'registerGuidanceFlowSpecifications(): every map key must be a non-empty trimmed string.',\n );\n }\n const existing = registeredGuidanceFlowSpecifications.get(key);\n if (existing && !areGuidanceFlowSpecificationsEqual(existing, specification)) {\n throw new Error(\n `registerGuidanceFlowSpecifications(): guidance flow specification \"${key}\" was registered twice with divergent shapes. Deduplicate the registration call sites or update the spec authoring so both registrations agree.`,\n );\n }\n registeredGuidanceFlowSpecifications.set(key, specification);\n }\n}\n\n/**\n * Read the registered guidance-flow specification for a bi-scoped\n * key, or `undefined` when no spec is registered.\n *\n * Resolves through the same accessor as the fail-soft / fail-closed\n * mode-selection helper {@link hasRegisteredGuidanceFlowSpecifications};\n * see the Step 5 Phase 8 cross-registry validator contract on\n * `cross-registry-assertions.ts` for the full mode-selection logic.\n */\nexport function lookupGuidanceFlowSpecification(\n biScopedKey: string,\n): GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig | undefined {\n return registeredGuidanceFlowSpecifications.get(biScopedKey);\n}\n\n/**\n * Whether the cross-registry currently holds at least one\n * guidance-flow specification. Used by the Step 5 Phase 8\n * `assertGuidanceFlowRefsResolveToRegistry` helper to decide between\n * fail-soft (no specs registered yet) and fail-closed (specs\n * registered but the ref is missing) modes.\n */\nexport function hasRegisteredGuidanceFlowSpecifications(): boolean {\n return registeredGuidanceFlowSpecifications.size > 0;\n}\n\n/**\n * Test-only helper that wipes the module-local guidance-flow\n * specification registry. Authored specifications should never call\n * this at runtime — it exists only so tests can exercise\n * registration / cross-validation in isolation.\n */\nexport function resetGuidanceFlowSpecificationRegistryForTesting(): void {\n registeredGuidanceFlowSpecifications.clear();\n}\n\nfunction areGuidanceFlowSpecificationsEqual(\n a: GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig,\n b: GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig,\n): boolean {\n return JSON.stringify(a) === JSON.stringify(b);\n}\n\n/**\n * Resolve every entry of `excludeIfCompletedFlowRefs` against the\n * registered `GuidanceFlowSpecification` map (Step 5 Phase 8\n * cross-registry retrofit). Fail-soft when no guidance-flow spec\n * has been registered.\n *\n * Co-located with the registry (rather than in\n * `cross-registry-assertions.ts`) to avoid a three-node module\n * cycle: `required-features-specification.schemas` already imports\n * the cross-registry helpers, and this module already imports\n * `required-features-specification.schemas` — pulling this helper\n * into the shared file would close the loop. Mirrors the\n * fail-closed-when-populated, fail-soft-when-empty contract of\n * `assertFeatureRefsResolveToRegistry` /\n * `assertRoleRefsResolveToRegistry`.\n *\n * # Order-sensitivity caveat\n *\n * Engine ships zero guidance-flow specifications, so the registry\n * is only ever populated by an app-level\n * `registerGuidanceFlowSpecifications(appLevelGuidanceFlowSpecifications)`\n * call. That call necessarily runs **after** the spec aggregator is\n * built (the map literally IS the specs being registered), which\n * means at construction-time validation the registry is still empty\n * and this check stays fail-soft. The guard exists so:\n *\n * 1. The companion-side renderer (Step 5 Phase 9) and offline\n * introspection tools that re-validate after registry seeding\n * catch dangling refs.\n * 2. Future workstreams that introduce engine-shipped guidance flows\n * or a \"validate after register\" pass get a populated registry to\n * resolve against without changing this helper.\n *\n * Apps with a single dangling ref at construction time still fail\n * closed via the structural ref-list check — only the\n * cross-registry resolution is order-deferred.\n */\nexport function assertGuidanceFlowRefsResolveToRegistry(\n errorPrefix: string,\n fullPath: string,\n flowRefs: readonly string[] | undefined,\n): void {\n if (!flowRefs || flowRefs.length === 0) {\n return;\n }\n if (!hasRegisteredGuidanceFlowSpecifications()) {\n return;\n }\n\n for (const [index, ref] of flowRefs.entries()) {\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n buildApplicationGuidanceFlowSpecificationKey,\n );\n if (!lookupGuidanceFlowSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] references guidance flow \"${ref}\" but no GuidanceFlowSpecification is registered for \"${biScopedKey}\". Register the missing overlay (apps must wire registerGuidanceFlowSpecifications(appLevelGuidanceFlowSpecifications) before re-validation runs) or remove the dangling ref.`,\n );\n }\n }\n}\n\nconst GUIDANCE_FLOW_REQUIRED_TEXT_SLOTS = ['title', 'description'] as const;\n\n/**\n * Phase 4 fail-closed validator (mirror of the onboarding twin in\n * `onboarding-view-specification.schemas.ts`). The duplicated\n * helpers below intentionally follow the existing `_core/`\n * convention: every view-family validator owns its own copy of\n * the small assertion primitives so each file stays grep-able as\n * a self-contained unit. A future workstream can extract a shared\n * `_core/internal-validators.ts` once a third spec family wants\n * the same primitives.\n *\n * Guidance-specific branches that don't appear in the onboarding\n * validator:\n * - `guidanceScope` / `renderMode`: enum-membership check (defensive\n * guard since TypeScript already rejects non-enum values, but\n * protects against `as` casts and external JSON sources).\n * - `priority`: integer typeof guard (matches runtime\n * `z.number().int()`).\n * - `audience`: roleRefs / excludeIfCompletedFlowRefs as optional\n * non-empty string lists; `createdAfterIso` parseable as ISO-8601\n * datetime.\n */\nfunction validateGuidanceFlowSpecification(\n specificationKey: string,\n specification: GuidanceFlowSpecificationConfig,\n): void {\n const errorPrefix = `guidanceFlowSpecificationFromDefinition(): guidance flow \"${specificationKey}\"`;\n\n for (const textSlotKey of GUIDANCE_FLOW_REQUIRED_TEXT_SLOTS) {\n if (!specification.textSlots || !(textSlotKey in specification.textSlots)) {\n throw new Error(\n `${errorPrefix} must document text slot \"${textSlotKey}\" so generated overlay labels stay semantically grounded.`,\n );\n }\n }\n assertEveryAuthoredTextSlotHasPurpose(errorPrefix, specification.textSlots);\n\n assertNonEmptyTrimmedString(errorPrefix, 'purpose', specification.purpose);\n assertNonEmptyTrimmedString(\n errorPrefix,\n 'successCriteria',\n specification.successCriteria,\n );\n assertNonEmptyTrimmedString(errorPrefix, 'uiRole', specification.uiRole);\n assertOptionalNonEmptyProseSlot(errorPrefix, 'useWhen', specification.useWhen);\n assertOptionalNonEmptyProseSlot(errorPrefix, 'avoidWhen', specification.avoidWhen);\n\n assertGuidanceScopeMembership(errorPrefix, specification.guidanceScope);\n assertGuidanceRenderModeMembership(errorPrefix, specification.renderMode);\n assertOptionalIntegerPriority(errorPrefix, specification.priority);\n\n if (specification.elements.length === 0) {\n throw new Error(\n `${errorPrefix} must declare at least one element so the per-element companion overlay has authored content to render.`,\n );\n }\n\n const seenElementRefs = new Set<string>();\n for (const [index, element] of specification.elements.entries()) {\n const elementErrorPrefix = `${errorPrefix} elements[${index}]`;\n assertOnboardingElementSpecification(elementErrorPrefix, element);\n\n if (seenElementRefs.has(element.ref)) {\n throw new Error(\n `${errorPrefix} declares element \"${element.ref}\" more than once — element refs must be unique within the flow so per-element companion blocks stay addressable.`,\n );\n }\n seenElementRefs.add(element.ref);\n }\n\n assertRequiredTriggerSpecification(\n `${errorPrefix} trigger`,\n specification.trigger,\n );\n\n if (specification.audience) {\n const audiencePrefix = `${errorPrefix} audience`;\n assertOptionalNonEmptyStringList(audiencePrefix, 'roleRefs', specification.audience.roleRefs);\n assertRoleRefsResolveToRegistry(audiencePrefix, 'roleRefs', specification.audience.roleRefs);\n assertOptionalRequiredFeaturesSpecification(\n `${audiencePrefix}.requiredFeatures`,\n specification.audience.requiredFeatures,\n );\n assertOptionalNonEmptyStringList(\n audiencePrefix,\n 'excludeIfCompletedFlowRefs',\n specification.audience.excludeIfCompletedFlowRefs,\n );\n assertGuidanceFlowRefsResolveToRegistry(\n audiencePrefix,\n 'excludeIfCompletedFlowRefs',\n specification.audience.excludeIfCompletedFlowRefs,\n );\n assertOptionalIso8601(\n audiencePrefix,\n 'createdAfterIso',\n specification.audience.createdAfterIso,\n );\n }\n\n assertOptionalNonEmptyStringList(\n errorPrefix,\n 'businessConstraints',\n specification.businessConstraints,\n );\n assertOptionalNonEmptyStringList(errorPrefix, 'notes', specification.notes);\n\n assertOptionalCodeHandling(errorPrefix, specification.codeHandling);\n}\n\n// ---------------------------------------------------------------------------\n// Per-element validator (duplicate of the onboarding twin — see\n// validateOnboardingViewSpecification JSDoc for the duplication rationale)\n// ---------------------------------------------------------------------------\n\nfunction assertOnboardingElementSpecification(\n errorPrefix: string,\n element: OnboardingViewElementSpecification,\n): void {\n if (typeof element.ref !== 'string' || !element.ref.trim()) {\n throw new Error(\n `${errorPrefix}.ref must be a non-empty trimmed string so per-element companion blocks stay addressable.`,\n );\n }\n\n const allowedSlotKeys = GUIDANCE_ELEMENT_FIELDS[element.elementType];\n if (!Array.isArray(allowedSlotKeys)) {\n throw new Error(\n `${errorPrefix}.elementType \"${String(element.elementType)}\" is not a member of OnboardingElementType — authored value must come from the runtime enum so spec ↔ runtime labelling stays in lockstep.`,\n );\n }\n\n assertNonEmptyTrimmedString(errorPrefix, 'purpose', element.purpose);\n\n if (element.textSlots) {\n for (const slotKey of Object.keys(element.textSlots)) {\n if (!allowedSlotKeys.includes(slotKey)) {\n throw new Error(\n `${errorPrefix} (\"${element.ref}\", elementType=${element.elementType}) declares text slot \"${slotKey}\" but GUIDANCE_ELEMENT_FIELDS[${element.elementType}] only lists [${allowedSlotKeys.map((key) => `\"${key}\"`).join(', ')}]. Authoring slots that the runtime label generator does not know about silently strands them at companion time.`,\n );\n }\n }\n assertEveryAuthoredTextSlotHasPurpose(errorPrefix, element.textSlots);\n }\n\n assertOptionalNonEmptyStringList(errorPrefix, 'notes', element.notes);\n}\n\n// ---------------------------------------------------------------------------\n// Local assertion helpers (duplicated per `_core/` convention)\n// ---------------------------------------------------------------------------\n\nfunction assertNonEmptyTrimmedString(\n errorPrefix: string,\n fullPath: string,\n value: string,\n): void {\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a non-empty trimmed string so companion prompts have a grounded value.`,\n );\n }\n}\n\nfunction assertOptionalNonEmptyProseSlot(\n errorPrefix: string,\n fullPath: string,\n value: string | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a non-empty trimmed prose slot when authored (omit the field entirely instead of declaring an empty value).`,\n );\n }\n}\n\nfunction assertOptionalNonEmptyStringList(\n errorPrefix: string,\n fullPath: string,\n values: string[] | undefined,\n): void {\n if (!values) {\n return;\n }\n if (!Array.isArray(values)) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be an array when authored.`,\n );\n }\n for (const [index, value] of values.entries()) {\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] must be a non-empty trimmed string.`,\n );\n }\n }\n assertNoDuplicateStringRefs(errorPrefix, fullPath, values);\n}\n\n/**\n * Spec-side fail-closed deduplication for ref lists. Mirrors the\n * onboarding twin — see its JSDoc for the full rationale. Tracked:\n * F-10 in `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nfunction assertNoDuplicateStringRefs(\n errorPrefix: string,\n fullPath: string,\n values: string[],\n): void {\n const seen = new Set<string>();\n for (const [index, value] of values.entries()) {\n if (seen.has(value)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] is a duplicate of an earlier entry (\"${value}\") — ref lists must be unique so spec authoring stays unambiguous.`,\n );\n }\n seen.add(value);\n }\n}\n\nfunction assertOptionalBoolean(\n errorPrefix: string,\n fullPath: string,\n value: boolean | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'boolean') {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a boolean when authored.`,\n );\n }\n}\n\nfunction assertEveryAuthoredTextSlotHasPurpose(\n errorPrefix: string,\n textSlots: TranslationSlotSpecificationMap | undefined,\n): void {\n if (!textSlots) {\n return;\n }\n for (const [slotKey, slot] of Object.entries(textSlots)) {\n assertTextSlotShape(errorPrefix, slotKey, slot);\n }\n}\n\nfunction assertTextSlotShape(\n errorPrefix: string,\n slotKey: string,\n slot: TranslationSlotSpecification,\n): void {\n if (!slot || typeof slot !== 'object' || Array.isArray(slot)) {\n throw new Error(\n `${errorPrefix} textSlots[\"${slotKey}\"] must be an object with at least a \"purpose\" string.`,\n );\n }\n if (typeof slot.purpose !== 'string' || !slot.purpose.trim()) {\n throw new Error(\n `${errorPrefix} textSlots[\"${slotKey}\"].purpose must be a non-empty trimmed string so translators have a grounded target.`,\n );\n }\n assertOptionalNonEmptyProseSlot(\n errorPrefix,\n `textSlots[\"${slotKey}\"].whenToUse`,\n slot.whenToUse,\n );\n assertOptionalNonEmptyStringList(\n errorPrefix,\n `textSlots[\"${slotKey}\"].notes`,\n slot.notes,\n );\n}\n\nconst ALLOWED_ONBOARDING_TRIGGER_TYPES = Object.values(OnboardingTriggerType) as readonly string[];\n\n/**\n * Required-variant trigger validator (mirror of the onboarding twin\n * `assertOptionalTriggerSpecification`). Trigger is REQUIRED for\n * guidance flows because `GuidanceFlowDefinitionSchema.trigger` has\n * no `.optional()` — a missing trigger at the spec layer would mask\n * a runtime parse failure that the spec layer should catch first.\n *\n * Per-type field semantics (matches `OnboardingTriggerSchema`):\n * - `ROUTE_MATCH` requires `routePattern`\n * - `EVENT` requires `eventName`\n * - `DELAYED` requires positive `delayMs`\n */\nfunction assertRequiredTriggerSpecification(\n errorPrefix: string,\n trigger: GuidanceFlowSpecificationConfig['trigger'] | undefined,\n): void {\n if (!trigger) {\n throw new Error(\n `${errorPrefix} is required (matches runtime GuidanceFlowDefinitionSchema.trigger which has no .optional()).`,\n );\n }\n if (typeof trigger !== 'object' || Array.isArray(trigger)) {\n throw new Error(`${errorPrefix} must be an object.`);\n }\n if (typeof trigger.type !== 'string' || !ALLOWED_ONBOARDING_TRIGGER_TYPES.includes(trigger.type)) {\n throw new Error(\n `${errorPrefix}.type must be one of [${ALLOWED_ONBOARDING_TRIGGER_TYPES.map((value) => `\"${value}\"`).join(', ')}] (got \"${String(trigger.type)}\").`,\n );\n }\n\n assertOptionalNonEmptyProseSlot(errorPrefix, 'routePattern', trigger.routePattern);\n assertOptionalNonEmptyProseSlot(errorPrefix, 'eventName', trigger.eventName);\n\n if (trigger.delayMs !== undefined) {\n if (typeof trigger.delayMs !== 'number' || !Number.isFinite(trigger.delayMs) || trigger.delayMs <= 0) {\n throw new Error(\n `${errorPrefix}.delayMs must be a positive finite number (matches runtime z.number().positive(); got ${String(trigger.delayMs)}).`,\n );\n }\n }\n\n if (trigger.type === OnboardingTriggerType.ROUTE_MATCH && !trigger.routePattern) {\n throw new Error(\n `${errorPrefix} type=\"${OnboardingTriggerType.ROUTE_MATCH}\" requires routePattern (matches runtime intent).`,\n );\n }\n if (trigger.type === OnboardingTriggerType.EVENT && !trigger.eventName) {\n throw new Error(\n `${errorPrefix} type=\"${OnboardingTriggerType.EVENT}\" requires eventName (matches runtime intent).`,\n );\n }\n if (trigger.type === OnboardingTriggerType.DELAYED && trigger.delayMs === undefined) {\n throw new Error(\n `${errorPrefix} type=\"${OnboardingTriggerType.DELAYED}\" requires delayMs (matches runtime intent).`,\n );\n }\n\n if (trigger.conditions !== undefined) {\n const conditionsPrefix = `${errorPrefix}.conditions`;\n if (typeof trigger.conditions !== 'object' || Array.isArray(trigger.conditions)) {\n throw new Error(`${conditionsPrefix} must be an object when authored.`);\n }\n assertOptionalNonEmptyStringList(conditionsPrefix, 'roleRefs', trigger.conditions.roleRefs);\n assertRoleRefsResolveToRegistry(conditionsPrefix, 'roleRefs', trigger.conditions.roleRefs);\n assertOptionalBoolean(conditionsPrefix, 'newUsersOnly', trigger.conditions.newUsersOnly);\n assertOptionalBoolean(conditionsPrefix, 'triggerOnce', trigger.conditions.triggerOnce);\n }\n}\n\nfunction assertGuidanceScopeMembership(\n errorPrefix: string,\n value: GuidanceFlowScope,\n): void {\n const allowed = Object.values(GuidanceFlowScope) as string[];\n if (typeof value !== 'string' || !allowed.includes(value)) {\n throw new Error(\n `${errorPrefix} guidanceScope must be a member of GuidanceFlowScope [${allowed.map((scope) => `\"${scope}\"`).join(', ')}] (got \"${String(value)}\").`,\n );\n }\n}\n\nfunction assertGuidanceRenderModeMembership(\n errorPrefix: string,\n value: GuidanceRenderMode,\n): void {\n const allowed = Object.values(GuidanceRenderMode) as string[];\n if (typeof value !== 'string' || !allowed.includes(value)) {\n throw new Error(\n `${errorPrefix} renderMode must be a member of GuidanceRenderMode [${allowed.map((mode) => `\"${mode}\"`).join(', ')}] (got \"${String(value)}\").`,\n );\n }\n}\n\nfunction assertOptionalIntegerPriority(\n errorPrefix: string,\n value: number | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'number' || !Number.isInteger(value)) {\n throw new Error(\n `${errorPrefix} priority must be an integer when authored (matches runtime z.number().int()).`,\n );\n }\n}\n\n/**\n * Strict ISO-8601 datetime guard. `Date.parse` alone accepts a wide\n * range of non-ISO formats (e.g. `\"2024/01/01\"`, `\"Jan 1 2024\"`),\n * which would silently leak into the runtime as a `z.coerce.date()`\n * call later. The spec layer fails closed on anything that doesn't\n * match the canonical ISO-8601 datetime shape — date-only strings\n * (`YYYY-MM-DD`) are also accepted because the runtime\n * `z.coerce.date()` call accepts both. Tracked: F-6 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nconst STRICT_ISO_8601_REGEX = /^\\d{4}-\\d{2}-\\d{2}(?:[T ]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$/;\n\nfunction assertOptionalIso8601(\n errorPrefix: string,\n fullPath: string,\n value: string | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a non-empty ISO-8601 datetime string when authored.`,\n );\n }\n if (!STRICT_ISO_8601_REGEX.test(value)) {\n throw new Error(\n `${errorPrefix} ${fullPath} must match strict ISO-8601 (\\`YYYY-MM-DD\\` or \\`YYYY-MM-DDTHH:mm[:ss[.fff]][Z|±HH:MM]\\`; got \"${value}\").`,\n );\n }\n if (!Number.isFinite(Date.parse(value))) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a parseable ISO-8601 datetime string (got \"${value}\").`,\n );\n }\n}\n\nfunction assertOptionalCodeHandling(\n errorPrefix: string,\n codeHandling: GuidanceFlowSpecificationCodeHandling | undefined,\n): void {\n if (!codeHandling) {\n return;\n }\n if (!codeHandling.definitionOwner) {\n throw new Error(\n `${errorPrefix} codeHandling.definitionOwner is required — every authored GuidanceFlowSpecification populates it (engine + Wonder Todos parity audit, Step 7 deferred follow-up #3).`,\n );\n }\n assertOptionalSpecificationOwnerRef(errorPrefix, 'codeHandling.definitionOwner', codeHandling.definitionOwner);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.guidanceScopeSymbol', codeHandling.guidanceScopeSymbol);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.renderModeSymbol', codeHandling.renderModeSymbol);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.triggerTypeSymbol', codeHandling.triggerTypeSymbol);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.elementTypeSymbol', codeHandling.elementTypeSymbol);\n if (codeHandling.declarationSymbols !== undefined) {\n if (!Array.isArray(codeHandling.declarationSymbols)) {\n throw new Error(\n `${errorPrefix} codeHandling.declarationSymbols must be an array when authored.`,\n );\n }\n for (const [index, symbolRef] of codeHandling.declarationSymbols.entries()) {\n assertOptionalCodeSymbolRef(\n errorPrefix,\n `codeHandling.declarationSymbols[${index}]`,\n symbolRef,\n );\n }\n }\n assertOptionalNonEmptyStringList(errorPrefix, 'codeHandling.notes', codeHandling.notes);\n}\n\nconst ALLOWED_OWNER_KINDS = Object.values(SpecificationOwnerKind) as readonly string[];\n\n/**\n * Structural validator for `SpecificationOwnerRef` references\n * authored on `codeHandling.definitionOwner`. Mirrors the onboarding\n * twin — see its JSDoc for the rationale. Tracked: F-5 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nfunction assertOptionalSpecificationOwnerRef(\n errorPrefix: string,\n fullPath: string,\n ownerRef: SpecificationOwnerRef | undefined,\n): void {\n if (!ownerRef) {\n return;\n }\n if (typeof ownerRef !== 'object' || Array.isArray(ownerRef)) {\n throw new Error(`${errorPrefix} ${fullPath} must be an object when authored.`);\n }\n if (typeof ownerRef.ownerId !== 'string' || !ownerRef.ownerId.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.ownerId must be a non-empty trimmed string.`,\n );\n }\n if (typeof ownerRef.ownerKind !== 'string' || !ALLOWED_OWNER_KINDS.includes(ownerRef.ownerKind)) {\n throw new Error(\n `${errorPrefix} ${fullPath}.ownerKind must be one of [${ALLOWED_OWNER_KINDS.map((value) => `\"${value}\"`).join(', ')}] (got \"${String(ownerRef.ownerKind)}\").`,\n );\n }\n assertOptionalNonEmptyStringList(errorPrefix, `${fullPath}.notes`, ownerRef.notes);\n}\n\nfunction assertOptionalCodeSymbolRef(\n errorPrefix: string,\n fullPath: string,\n symbolRef: PublicCodeSymbolRef | undefined,\n): void {\n if (!symbolRef) {\n return;\n }\n if (typeof symbolRef !== 'object') {\n throw new Error(`${errorPrefix} ${fullPath} must be an object when authored.`);\n }\n if (typeof symbolRef.packageName !== 'string' || !symbolRef.packageName.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.packageName must be a non-empty trimmed string.`,\n );\n }\n if (typeof symbolRef.exportName !== 'string' || !symbolRef.exportName.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.exportName must be a non-empty trimmed string.`,\n );\n }\n if (symbolRef.importPath !== undefined) {\n if (typeof symbolRef.importPath !== 'string' || !symbolRef.importPath.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.importPath must be a non-empty trimmed string when authored.`,\n );\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"guidance-flow-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/guidance-flow-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL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AC;QAClC,MAAM,IAAI,KAAK,CAAC,GAAG,WAAW,IAAI,QAAQ,mCAAmC,CAAC,CAAC;IACjF,CAAC;IACD,IAAI,OAAO,SAAS,CAAC,WAAW,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC;QAC/E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,kDAAkD,CAC7E,CAAC;IACJ,CAAC;IACD,IAAI,OAAO,SAAS,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC;QAC7E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,iDAAiD,CAC5E,CAAC;IACJ,CAAC;IACD,IAAI,SAAS,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;QACvC,IAAI,OAAO,SAAS,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC;YAC7E,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,+DAA+D,CAC1F,CAAC;QACJ,CAAC;IACH,CAAC;IACD;;;;;;;;OAQG;IACH,IAAI,SAAS,CAAC,YAAY,KAAK,SAAS,EAAE,CAAC;QACzC,IAAI,OAAO,SAAS,CAAC,YAAY,KAAK,QAAQ,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC;YACjF,MAAM,IAAI,KAAK,CACb,GAAG,WAAW,IAAI,QAAQ,iEAAiE,CAC5F,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import {\n GUIDANCE_ELEMENT_FIELDS,\n GuidanceFlowScope,\n GuidanceRenderMode,\n OnboardingTriggerType,\n} from '@wildo-ai/saas-models';\n\nimport {\n assertRoleRefsResolveToRegistry,\n normaliseRefToBiScopedKey,\n} from './cross-registry-assertions';\nimport { SpecificationOwnerKind } from './definition-specification.schemas';\nimport type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type { OnboardingViewElementSpecification } from './onboarding-view-specification.schemas';\nimport {\n assertOptionalRequiredFeaturesSpecification,\n} from './required-features-specification.schemas';\nimport type { RequiredFeaturesSpecification } from './required-features-specification.schemas';\nimport type {\n TranslationSlotSpecification,\n TranslationSlotSpecificationMap,\n} from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\n/**\n * Import-oriented coding/transposition metadata for a guidance flow.\n *\n * Mirrors the onboarding equivalent: the underlying runtime\n * declarations (`GuidanceFlowScope`, `GuidanceRenderMode`,\n * `OnboardingTriggerType`) are TS enums or `const` objects depending\n * on the family — `Symbol` suffix here is faithful to the public\n * symbol-export convention used across companion `codeHandling`\n * surfaces.\n */\nexport interface GuidanceFlowSpecificationCodeHandling {\n /**\n * Module/application owner that authored the guidance flow.\n *\n * Required because the engine + Wonder Todos parity audit\n * (Step 7 deferred follow-up #3) confirmed every authored\n * `GuidanceFlowSpecification` populates this slot — guidance flows\n * are always wired through a separate definition collection (no\n * inline-at-resource declarations exist), so the owner is never\n * meaningfully absent.\n */\n definitionOwner: SpecificationOwnerRef;\n /** Public declarations where the guidance flow is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Public symbol exposing the runtime `GuidanceFlowScope` enum. */\n guidanceScopeSymbol?: PublicCodeSymbolRef;\n /** Public symbol exposing the runtime `GuidanceRenderMode` enum. */\n renderModeSymbol?: PublicCodeSymbolRef;\n /** Public symbol exposing the runtime trigger type vocabulary. */\n triggerTypeSymbol?: PublicCodeSymbolRef;\n /** Public symbol exposing the runtime element type vocabulary. */\n elementTypeSymbol?: PublicCodeSymbolRef;\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\n/**\n * Authored semantic contract for one guidance flow.\n *\n * Bi-scoped at the runtime layer (see `GuidanceFlowDefinition` —\n * application-scope vs resource-scope) so the spec layer ships two\n * factories. `scope` / `resourceType` are propagated by the factory\n * from the runtime `viewDefinition` (same precedent as chart /\n * onboarding specs) — single source of truth = runtime.\n *\n * Unlike onboarding, guidance flows DO have a unified `audience`\n * block at runtime (`GuidanceAudienceSchema` — roles +\n * requiredFeatures + excludeIfCompleted + createdAfter live under\n * the same parent), so the spec mirrors that flat structure rather\n * than splitting across `requiredFeatures` (flow-level) and\n * `trigger.conditions` (per-trigger) the way onboarding does.\n *\n * Spec-side renames (vs runtime field names):\n * - `audience.roleRefs` ← runtime `roles`. The `Refs` suffix is the\n * spec convention for \"string identifiers that point to typed\n * references in another spec file\"; future Step 5 may introduce a\n * `RoleSpecification` family these refs resolve against.\n * - `audience.excludeIfCompletedFlowRefs` ← runtime\n * `excludeIfCompleted`. The runtime name is ambiguous (the spec\n * also surfaces element refs in the same scope); the explicit\n * `FlowRefs` suffix removes that ambiguity.\n * - `audience.createdAfterIso` ← runtime `createdAfter`\n * (`z.coerce.date()`). Specs ship as plain JSON; ISO-8601 strings\n * are the natural author-side encoding.\n */\nexport interface GuidanceFlowSpecificationConfig {\n /** Stable runtime guidance flow ref (matches `GuidanceFlowDefinition.ref`). */\n ref: string;\n /** Mirrors runtime `GuidanceFlowDefinition.scope` (USER vs ORGANIZATION etc.). */\n guidanceScope: GuidanceFlowScope;\n /** Mirrors runtime `GuidanceFlowDefinition.renderMode` (INLINE vs OVERLAY etc.). */\n renderMode: GuidanceRenderMode;\n /** Mirrors runtime `GuidanceFlowDefinition.priority` for ordering. */\n priority?: number;\n /** Why this guidance flow exists from a product/workflow perspective. */\n purpose: string;\n /** What \"successful\" completion of this flow looks like. */\n successCriteria: string;\n /** Interaction role this flow plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this guidance flow is the right destination. */\n useWhen?: string;\n /** Situations where another surface (e.g. onboarding view) is preferred. */\n avoidWhen?: string;\n /**\n * Meaning of the flow-level translatable slots.\n *\n * **Open vocabulary**: unlike the per-element `textSlots` (which\n * fail-close against `GUIDANCE_ELEMENT_FIELDS[elementType]`), the\n * flow-level slots accept any author-chosen key. Rationale: there\n * is no runtime label generator for flow-level slots to drift\n * against — they exist purely to ground companion prompts. The\n * validator only requires `'title'` and `'description'` to be\n * declared so generated overlay labels stay semantically grounded.\n * Tracked: F-9 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\n textSlots?: TranslationSlotSpecificationMap;\n /**\n * Per-element semantic overlay. Reuses the onboarding element\n * spec because the underlying runtime element schema is shared\n * (`OnboardingElementSchema` is consumed by both onboarding views\n * and guidance flows — see `engine/saas-models/src/guidance/`).\n */\n elements: OnboardingViewElementSpecification[];\n /**\n * Mirrors the full runtime `OnboardingTrigger`\n * (`OnboardingTriggerSchema`) — REQUIRED at the spec layer\n * because `GuidanceFlowDefinitionSchema.trigger` is required at\n * runtime (no `.optional()`). Every guidance flow has trigger\n * semantics that the spec must surface so companion prompts can\n * answer \"WHEN does this flow fire?\".\n * spec-cite: N/A — \"the spec\" is this Wildo specification layer, and the\n * quoted text is an authoring prompt shown to spec authors. No external\n * standard is invoked.\n *\n * Spec-side renames vs the runtime:\n * - `conditions.roleRefs` ← runtime `requiredRoles`. The `Refs`\n * suffix is the spec convention for string identifiers that\n * point to typed references in another spec family.\n * - All other fields (`type`, `routePattern`, `eventName`,\n * `delayMs`, `conditions.newUsersOnly`, `conditions.triggerOnce`)\n * carry through verbatim.\n *\n * Per-type field semantics (validator enforces these):\n * - `type=ROUTE_MATCH` requires `routePattern`.\n * - `type=EVENT` requires `eventName`.\n * - `type=DELAYED` requires `delayMs > 0`.\n */\n trigger: {\n type: OnboardingTriggerType;\n routePattern?: string;\n eventName?: string;\n delayMs?: number;\n conditions?: {\n roleRefs?: string[];\n newUsersOnly?: boolean;\n triggerOnce?: boolean;\n };\n };\n /** Mirrors runtime `GuidanceAudienceSchema`. */\n audience?: {\n roleRefs?: string[];\n requiredFeatures?: RequiredFeaturesSpecification;\n excludeIfCompletedFlowRefs?: string[];\n createdAfterIso?: string;\n };\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Author-facing notes that don't fit a structured field. */\n notes?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: GuidanceFlowSpecificationCodeHandling;\n}\n\n/**\n * Resource-scope variant — same shape as\n * `GuidanceFlowSpecificationConfig` plus the owning resource type.\n */\nexport interface ResourceGuidanceFlowSpecificationConfig\n extends GuidanceFlowSpecificationConfig {\n /** Stable resource type that owns this guidance flow. */\n resourceType: string;\n}\n\n/**\n * Keyed by either `buildApplicationGuidanceFlowSpecificationKey(ref)`\n * (`app.<ref>`) or\n * `buildResourceGuidanceFlowSpecificationKey(resourceType, ref)`\n * (`resources.<resourceType>.<ref>`).\n */\nexport type GuidanceFlowSpecification = Record<\n string,\n GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig\n>;\n\n/** Author-supplied draft (factory injects `ref`). */\nexport type GuidanceFlowSpecificationDraft = Omit<\n GuidanceFlowSpecificationConfig,\n 'ref'\n>;\n\n/**\n * Application-scope key builder — uses the same `app.<ref>`\n * namespace as every other application-scope view-family key\n * builder. See onboarding equivalent for the rationale on the\n * intentional template-literal duplication across spec files.\n */\nexport function buildApplicationGuidanceFlowSpecificationKey(\n ref: string,\n): string {\n return `app.${ref}`;\n}\n\n/** Resource-scope key builder — `resources.<resourceType>.<ref>`. */\nexport function buildResourceGuidanceFlowSpecificationKey(\n resourceType: string,\n ref: string,\n): string {\n return `resources.${resourceType}.${ref}`;\n}\n\n/** Factory for application-scope guidance flows. */\nexport function applicationGuidanceFlowSpecificationFromDefinition(\n viewDefinition: { ref: string },\n draftFactory: () => GuidanceFlowSpecificationDraft,\n): GuidanceFlowSpecificationConfig {\n const specification: GuidanceFlowSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n };\n\n validateGuidanceFlowSpecification(\n buildApplicationGuidanceFlowSpecificationKey(specification.ref),\n specification,\n );\n\n return specification;\n}\n\n/** Factory for resource-scope guidance flows. */\nexport function resourceGuidanceFlowSpecificationFromDefinition(\n viewDefinition: { ref: string; resourceType: string },\n draftFactory: () => GuidanceFlowSpecificationDraft,\n): ResourceGuidanceFlowSpecificationConfig {\n const specification: ResourceGuidanceFlowSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n resourceType: viewDefinition.resourceType,\n };\n\n validateGuidanceFlowSpecification(\n buildResourceGuidanceFlowSpecificationKey(\n viewDefinition.resourceType,\n viewDefinition.ref,\n ),\n specification,\n );\n\n return specification;\n}\n\n/**\n * Build the keyed `GuidanceFlowSpecification` map from a list of\n * specs (any mix of application + resource scope). Fails closed on\n * duplicate keys.\n */\nexport function buildGuidanceFlowSpecificationMap(\n ...specifications: Array<\n GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig\n >\n): GuidanceFlowSpecification {\n const result: GuidanceFlowSpecification = {};\n\n for (const specification of specifications) {\n const key = isResourceGuidanceFlowSpecification(specification)\n ? buildResourceGuidanceFlowSpecificationKey(\n specification.resourceType,\n specification.ref,\n )\n : buildApplicationGuidanceFlowSpecificationKey(specification.ref);\n\n if (result[key]) {\n throw new Error(\n `buildGuidanceFlowSpecificationMap(): duplicate guidance flow specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\nfunction isResourceGuidanceFlowSpecification(\n specification:\n | GuidanceFlowSpecificationConfig\n | ResourceGuidanceFlowSpecificationConfig,\n): specification is ResourceGuidanceFlowSpecificationConfig {\n return 'resourceType' in specification\n && typeof (specification as ResourceGuidanceFlowSpecificationConfig).resourceType === 'string';\n}\n\n// ── Cross-registry (Step 5 Phase 8 wiring target) ──────────────────────────\n\nconst registeredGuidanceFlowSpecifications = new Map<\n string,\n GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig\n>();\n\n/**\n * Register a `GuidanceFlowSpecification` map into the module-local\n * cross-registry so other validators (notably the Step 5 Phase 8\n * `assertGuidanceFlowRefsResolveToRegistry` helper) can resolve\n * `audience.excludeIfCompletedFlowRefs[]` against the registered set.\n *\n * # Idempotency contract\n *\n * Re-registering an identical spec for the same bi-scoped key is a\n * no-op. Re-registering a divergent spec under the same key fails\n * closed — the registry is the single source of truth for cross-spec\n * resolution, so silently accepting drift would let the second\n * registration shadow the first depending on import order. Mirrors\n * the feature/role registry contract.\n *\n * # Bi-scoped key contract\n *\n * Map values must already carry bi-scoped keys (`app.<ref>` /\n * `resources.<resourceType>.<ref>`). Authoring via\n * {@link buildGuidanceFlowSpecificationMap} produces compliant keys\n * automatically.\n *\n * # Engine vs app registration\n *\n * Engine ships zero guidance-flow specifications today (the family\n * is app-owned). Apps add their own overlays via a follow-up\n * `registerGuidanceFlowSpecifications(appLevelGuidanceFlowSpecifications)`\n * call. Registration runs after the aggregator is built — the\n * cross-registry check therefore stays fail-soft at module-load time\n * (no registry registered yet) and only bites for re-validation\n * passes (e.g. companion-side renderers, offline introspection\n * tools).\n */\nexport function registerGuidanceFlowSpecifications(map: GuidanceFlowSpecification): void {\n for (const [key, specification] of Object.entries(map)) {\n if (typeof key !== 'string' || !key.trim()) {\n throw new Error(\n 'registerGuidanceFlowSpecifications(): every map key must be a non-empty trimmed string.',\n );\n }\n const existing = registeredGuidanceFlowSpecifications.get(key);\n if (existing && !areGuidanceFlowSpecificationsEqual(existing, specification)) {\n throw new Error(\n `registerGuidanceFlowSpecifications(): guidance flow specification \"${key}\" was registered twice with divergent shapes. Deduplicate the registration call sites or update the spec authoring so both registrations agree.`,\n );\n }\n registeredGuidanceFlowSpecifications.set(key, specification);\n }\n}\n\n/**\n * Read the registered guidance-flow specification for a bi-scoped\n * key, or `undefined` when no spec is registered.\n *\n * Resolves through the same accessor as the fail-soft / fail-closed\n * mode-selection helper {@link hasRegisteredGuidanceFlowSpecifications};\n * see the Step 5 Phase 8 cross-registry validator contract on\n * `cross-registry-assertions.ts` for the full mode-selection logic.\n */\nexport function lookupGuidanceFlowSpecification(\n biScopedKey: string,\n): GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig | undefined {\n return registeredGuidanceFlowSpecifications.get(biScopedKey);\n}\n\n/**\n * Whether the cross-registry currently holds at least one\n * guidance-flow specification. Used by the Step 5 Phase 8\n * `assertGuidanceFlowRefsResolveToRegistry` helper to decide between\n * fail-soft (no specs registered yet) and fail-closed (specs\n * registered but the ref is missing) modes.\n */\nexport function hasRegisteredGuidanceFlowSpecifications(): boolean {\n return registeredGuidanceFlowSpecifications.size > 0;\n}\n\n/**\n * Test-only helper that wipes the module-local guidance-flow\n * specification registry. Authored specifications should never call\n * this at runtime — it exists only so tests can exercise\n * registration / cross-validation in isolation.\n */\nexport function resetGuidanceFlowSpecificationRegistryForTesting(): void {\n registeredGuidanceFlowSpecifications.clear();\n}\n\nfunction areGuidanceFlowSpecificationsEqual(\n a: GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig,\n b: GuidanceFlowSpecificationConfig | ResourceGuidanceFlowSpecificationConfig,\n): boolean {\n return JSON.stringify(a) === JSON.stringify(b);\n}\n\n/**\n * Resolve every entry of `excludeIfCompletedFlowRefs` against the\n * registered `GuidanceFlowSpecification` map (Step 5 Phase 8\n * cross-registry retrofit). Fail-soft when no guidance-flow spec\n * has been registered.\n *\n * Co-located with the registry (rather than in\n * `cross-registry-assertions.ts`) to avoid a three-node module\n * cycle: `required-features-specification.schemas` already imports\n * the cross-registry helpers, and this module already imports\n * `required-features-specification.schemas` — pulling this helper\n * into the shared file would close the loop. Mirrors the\n * fail-closed-when-populated, fail-soft-when-empty contract of\n * `assertFeatureRefsResolveToRegistry` /\n * `assertRoleRefsResolveToRegistry`.\n *\n * # Order-sensitivity caveat\n *\n * Engine ships zero guidance-flow specifications, so the registry\n * is only ever populated by an app-level\n * `registerGuidanceFlowSpecifications(appLevelGuidanceFlowSpecifications)`\n * call. That call necessarily runs **after** the spec aggregator is\n * built (the map literally IS the specs being registered), which\n * means at construction-time validation the registry is still empty\n * and this check stays fail-soft. The guard exists so:\n *\n * 1. The companion-side renderer (Step 5 Phase 9) and offline\n * introspection tools that re-validate after registry seeding\n * catch dangling refs.\n * 2. Future workstreams that introduce engine-shipped guidance flows\n * or a \"validate after register\" pass get a populated registry to\n * resolve against without changing this helper.\n *\n * Apps with a single dangling ref at construction time still fail\n * closed via the structural ref-list check — only the\n * cross-registry resolution is order-deferred.\n */\nexport function assertGuidanceFlowRefsResolveToRegistry(\n errorPrefix: string,\n fullPath: string,\n flowRefs: readonly string[] | undefined,\n): void {\n if (!flowRefs || flowRefs.length === 0) {\n return;\n }\n if (!hasRegisteredGuidanceFlowSpecifications()) {\n return;\n }\n\n for (const [index, ref] of flowRefs.entries()) {\n const biScopedKey = normaliseRefToBiScopedKey(\n ref,\n buildApplicationGuidanceFlowSpecificationKey,\n );\n if (!lookupGuidanceFlowSpecification(biScopedKey)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] references guidance flow \"${ref}\" but no GuidanceFlowSpecification is registered for \"${biScopedKey}\". Register the missing overlay (apps must wire registerGuidanceFlowSpecifications(appLevelGuidanceFlowSpecifications) before re-validation runs) or remove the dangling ref.`,\n );\n }\n }\n}\n\nconst GUIDANCE_FLOW_REQUIRED_TEXT_SLOTS = ['title', 'description'] as const;\n\n/**\n * Phase 4 fail-closed validator (mirror of the onboarding twin in\n * `onboarding-view-specification.schemas.ts`). The duplicated\n * helpers below intentionally follow the existing `_core/`\n * convention: every view-family validator owns its own copy of\n * the small assertion primitives so each file stays grep-able as\n * a self-contained unit. A future workstream can extract a shared\n * `_core/internal-validators.ts` once a third spec family wants\n * the same primitives.\n *\n * Guidance-specific branches that don't appear in the onboarding\n * validator:\n * - `guidanceScope` / `renderMode`: enum-membership check (defensive\n * guard since TypeScript already rejects non-enum values, but\n * protects against `as` casts and external JSON sources).\n * - `priority`: integer typeof guard (matches runtime\n * `z.number().int()`).\n * - `audience`: roleRefs / excludeIfCompletedFlowRefs as optional\n * non-empty string lists; `createdAfterIso` parseable as ISO-8601\n * datetime.\n */\nfunction validateGuidanceFlowSpecification(\n specificationKey: string,\n specification: GuidanceFlowSpecificationConfig,\n): void {\n const errorPrefix = `guidanceFlowSpecificationFromDefinition(): guidance flow \"${specificationKey}\"`;\n\n for (const textSlotKey of GUIDANCE_FLOW_REQUIRED_TEXT_SLOTS) {\n if (!specification.textSlots || !(textSlotKey in specification.textSlots)) {\n throw new Error(\n `${errorPrefix} must document text slot \"${textSlotKey}\" so generated overlay labels stay semantically grounded.`,\n );\n }\n }\n assertEveryAuthoredTextSlotHasPurpose(errorPrefix, specification.textSlots);\n\n assertNonEmptyTrimmedString(errorPrefix, 'purpose', specification.purpose);\n assertNonEmptyTrimmedString(\n errorPrefix,\n 'successCriteria',\n specification.successCriteria,\n );\n assertNonEmptyTrimmedString(errorPrefix, 'uiRole', specification.uiRole);\n assertOptionalNonEmptyProseSlot(errorPrefix, 'useWhen', specification.useWhen);\n assertOptionalNonEmptyProseSlot(errorPrefix, 'avoidWhen', specification.avoidWhen);\n\n assertGuidanceScopeMembership(errorPrefix, specification.guidanceScope);\n assertGuidanceRenderModeMembership(errorPrefix, specification.renderMode);\n assertOptionalIntegerPriority(errorPrefix, specification.priority);\n\n if (specification.elements.length === 0) {\n throw new Error(\n `${errorPrefix} must declare at least one element so the per-element companion overlay has authored content to render.`,\n );\n }\n\n const seenElementRefs = new Set<string>();\n for (const [index, element] of specification.elements.entries()) {\n const elementErrorPrefix = `${errorPrefix} elements[${index}]`;\n assertOnboardingElementSpecification(elementErrorPrefix, element);\n\n if (seenElementRefs.has(element.ref)) {\n throw new Error(\n `${errorPrefix} declares element \"${element.ref}\" more than once — element refs must be unique within the flow so per-element companion blocks stay addressable.`,\n );\n }\n seenElementRefs.add(element.ref);\n }\n\n assertRequiredTriggerSpecification(\n `${errorPrefix} trigger`,\n specification.trigger,\n );\n\n if (specification.audience) {\n const audiencePrefix = `${errorPrefix} audience`;\n assertOptionalNonEmptyStringList(audiencePrefix, 'roleRefs', specification.audience.roleRefs);\n assertRoleRefsResolveToRegistry(audiencePrefix, 'roleRefs', specification.audience.roleRefs);\n assertOptionalRequiredFeaturesSpecification(\n `${audiencePrefix}.requiredFeatures`,\n specification.audience.requiredFeatures,\n );\n assertOptionalNonEmptyStringList(\n audiencePrefix,\n 'excludeIfCompletedFlowRefs',\n specification.audience.excludeIfCompletedFlowRefs,\n );\n assertGuidanceFlowRefsResolveToRegistry(\n audiencePrefix,\n 'excludeIfCompletedFlowRefs',\n specification.audience.excludeIfCompletedFlowRefs,\n );\n assertOptionalIso8601(\n audiencePrefix,\n 'createdAfterIso',\n specification.audience.createdAfterIso,\n );\n }\n\n assertOptionalNonEmptyStringList(\n errorPrefix,\n 'businessConstraints',\n specification.businessConstraints,\n );\n assertOptionalNonEmptyStringList(errorPrefix, 'notes', specification.notes);\n\n assertOptionalCodeHandling(errorPrefix, specification.codeHandling);\n}\n\n// ---------------------------------------------------------------------------\n// Per-element validator (duplicate of the onboarding twin — see\n// validateOnboardingViewSpecification JSDoc for the duplication rationale)\n// ---------------------------------------------------------------------------\n\nfunction assertOnboardingElementSpecification(\n errorPrefix: string,\n element: OnboardingViewElementSpecification,\n): void {\n if (typeof element.ref !== 'string' || !element.ref.trim()) {\n throw new Error(\n `${errorPrefix}.ref must be a non-empty trimmed string so per-element companion blocks stay addressable.`,\n );\n }\n\n const allowedSlotKeys = GUIDANCE_ELEMENT_FIELDS[element.elementType];\n if (!Array.isArray(allowedSlotKeys)) {\n throw new Error(\n `${errorPrefix}.elementType \"${String(element.elementType)}\" is not a member of OnboardingElementType — authored value must come from the runtime enum so spec ↔ runtime labelling stays in lockstep.`,\n );\n }\n\n assertNonEmptyTrimmedString(errorPrefix, 'purpose', element.purpose);\n\n if (element.textSlots) {\n for (const slotKey of Object.keys(element.textSlots)) {\n if (!allowedSlotKeys.includes(slotKey)) {\n throw new Error(\n `${errorPrefix} (\"${element.ref}\", elementType=${element.elementType}) declares text slot \"${slotKey}\" but GUIDANCE_ELEMENT_FIELDS[${element.elementType}] only lists [${allowedSlotKeys.map((key) => `\"${key}\"`).join(', ')}]. Authoring slots that the runtime label generator does not know about silently strands them at companion time.`,\n );\n }\n }\n assertEveryAuthoredTextSlotHasPurpose(errorPrefix, element.textSlots);\n }\n\n assertOptionalNonEmptyStringList(errorPrefix, 'notes', element.notes);\n}\n\n// ---------------------------------------------------------------------------\n// Local assertion helpers (duplicated per `_core/` convention)\n// ---------------------------------------------------------------------------\n\nfunction assertNonEmptyTrimmedString(\n errorPrefix: string,\n fullPath: string,\n value: string,\n): void {\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a non-empty trimmed string so companion prompts have a grounded value.`,\n );\n }\n}\n\nfunction assertOptionalNonEmptyProseSlot(\n errorPrefix: string,\n fullPath: string,\n value: string | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a non-empty trimmed prose slot when authored (omit the field entirely instead of declaring an empty value).`,\n );\n }\n}\n\nfunction assertOptionalNonEmptyStringList(\n errorPrefix: string,\n fullPath: string,\n values: string[] | undefined,\n): void {\n if (!values) {\n return;\n }\n if (!Array.isArray(values)) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be an array when authored.`,\n );\n }\n for (const [index, value] of values.entries()) {\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] must be a non-empty trimmed string.`,\n );\n }\n }\n assertNoDuplicateStringRefs(errorPrefix, fullPath, values);\n}\n\n/**\n * Spec-side fail-closed deduplication for ref lists. Mirrors the\n * onboarding twin — see its JSDoc for the full rationale. Tracked:\n * F-10 in `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nfunction assertNoDuplicateStringRefs(\n errorPrefix: string,\n fullPath: string,\n values: string[],\n): void {\n const seen = new Set<string>();\n for (const [index, value] of values.entries()) {\n if (seen.has(value)) {\n throw new Error(\n `${errorPrefix} ${fullPath}[${index}] is a duplicate of an earlier entry (\"${value}\") — ref lists must be unique so spec authoring stays unambiguous.`,\n );\n }\n seen.add(value);\n }\n}\n\nfunction assertOptionalBoolean(\n errorPrefix: string,\n fullPath: string,\n value: boolean | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'boolean') {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a boolean when authored.`,\n );\n }\n}\n\nfunction assertEveryAuthoredTextSlotHasPurpose(\n errorPrefix: string,\n textSlots: TranslationSlotSpecificationMap | undefined,\n): void {\n if (!textSlots) {\n return;\n }\n for (const [slotKey, slot] of Object.entries(textSlots)) {\n assertTextSlotShape(errorPrefix, slotKey, slot);\n }\n}\n\nfunction assertTextSlotShape(\n errorPrefix: string,\n slotKey: string,\n slot: TranslationSlotSpecification,\n): void {\n if (!slot || typeof slot !== 'object' || Array.isArray(slot)) {\n throw new Error(\n `${errorPrefix} textSlots[\"${slotKey}\"] must be an object with at least a \"purpose\" string.`,\n );\n }\n if (typeof slot.purpose !== 'string' || !slot.purpose.trim()) {\n throw new Error(\n `${errorPrefix} textSlots[\"${slotKey}\"].purpose must be a non-empty trimmed string so translators have a grounded target.`,\n );\n }\n assertOptionalNonEmptyProseSlot(\n errorPrefix,\n `textSlots[\"${slotKey}\"].whenToUse`,\n slot.whenToUse,\n );\n assertOptionalNonEmptyStringList(\n errorPrefix,\n `textSlots[\"${slotKey}\"].notes`,\n slot.notes,\n );\n}\n\nconst ALLOWED_ONBOARDING_TRIGGER_TYPES = Object.values(OnboardingTriggerType) as readonly string[];\n\n/**\n * Required-variant trigger validator (mirror of the onboarding twin\n * `assertOptionalTriggerSpecification`). Trigger is REQUIRED for\n * guidance flows because `GuidanceFlowDefinitionSchema.trigger` has\n * no `.optional()` — a missing trigger at the spec layer would mask\n * a runtime parse failure that the spec layer should catch first.\n *\n * Per-type field semantics (matches `OnboardingTriggerSchema`):\n * - `ROUTE_MATCH` requires `routePattern`\n * - `EVENT` requires `eventName`\n * - `DELAYED` requires positive `delayMs`\n */\nfunction assertRequiredTriggerSpecification(\n errorPrefix: string,\n trigger: GuidanceFlowSpecificationConfig['trigger'] | undefined,\n): void {\n if (!trigger) {\n throw new Error(\n `${errorPrefix} is required (matches runtime GuidanceFlowDefinitionSchema.trigger which has no .optional()).`,\n );\n }\n if (typeof trigger !== 'object' || Array.isArray(trigger)) {\n throw new Error(`${errorPrefix} must be an object.`);\n }\n if (typeof trigger.type !== 'string' || !ALLOWED_ONBOARDING_TRIGGER_TYPES.includes(trigger.type)) {\n throw new Error(\n `${errorPrefix}.type must be one of [${ALLOWED_ONBOARDING_TRIGGER_TYPES.map((value) => `\"${value}\"`).join(', ')}] (got \"${String(trigger.type)}\").`,\n );\n }\n\n assertOptionalNonEmptyProseSlot(errorPrefix, 'routePattern', trigger.routePattern);\n assertOptionalNonEmptyProseSlot(errorPrefix, 'eventName', trigger.eventName);\n\n if (trigger.delayMs !== undefined) {\n if (typeof trigger.delayMs !== 'number' || !Number.isFinite(trigger.delayMs) || trigger.delayMs <= 0) {\n throw new Error(\n `${errorPrefix}.delayMs must be a positive finite number (matches runtime z.number().positive(); got ${String(trigger.delayMs)}).`,\n );\n }\n }\n\n if (trigger.type === OnboardingTriggerType.ROUTE_MATCH && !trigger.routePattern) {\n throw new Error(\n `${errorPrefix} type=\"${OnboardingTriggerType.ROUTE_MATCH}\" requires routePattern (matches runtime intent).`,\n );\n }\n if (trigger.type === OnboardingTriggerType.EVENT && !trigger.eventName) {\n throw new Error(\n `${errorPrefix} type=\"${OnboardingTriggerType.EVENT}\" requires eventName (matches runtime intent).`,\n );\n }\n if (trigger.type === OnboardingTriggerType.DELAYED && trigger.delayMs === undefined) {\n throw new Error(\n `${errorPrefix} type=\"${OnboardingTriggerType.DELAYED}\" requires delayMs (matches runtime intent).`,\n );\n }\n\n if (trigger.conditions !== undefined) {\n const conditionsPrefix = `${errorPrefix}.conditions`;\n if (typeof trigger.conditions !== 'object' || Array.isArray(trigger.conditions)) {\n throw new Error(`${conditionsPrefix} must be an object when authored.`);\n }\n assertOptionalNonEmptyStringList(conditionsPrefix, 'roleRefs', trigger.conditions.roleRefs);\n assertRoleRefsResolveToRegistry(conditionsPrefix, 'roleRefs', trigger.conditions.roleRefs);\n assertOptionalBoolean(conditionsPrefix, 'newUsersOnly', trigger.conditions.newUsersOnly);\n assertOptionalBoolean(conditionsPrefix, 'triggerOnce', trigger.conditions.triggerOnce);\n }\n}\n\nfunction assertGuidanceScopeMembership(\n errorPrefix: string,\n value: GuidanceFlowScope,\n): void {\n const allowed = Object.values(GuidanceFlowScope) as string[];\n if (typeof value !== 'string' || !allowed.includes(value)) {\n throw new Error(\n `${errorPrefix} guidanceScope must be a member of GuidanceFlowScope [${allowed.map((scope) => `\"${scope}\"`).join(', ')}] (got \"${String(value)}\").`,\n );\n }\n}\n\nfunction assertGuidanceRenderModeMembership(\n errorPrefix: string,\n value: GuidanceRenderMode,\n): void {\n const allowed = Object.values(GuidanceRenderMode) as string[];\n if (typeof value !== 'string' || !allowed.includes(value)) {\n throw new Error(\n `${errorPrefix} renderMode must be a member of GuidanceRenderMode [${allowed.map((mode) => `\"${mode}\"`).join(', ')}] (got \"${String(value)}\").`,\n );\n }\n}\n\nfunction assertOptionalIntegerPriority(\n errorPrefix: string,\n value: number | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'number' || !Number.isInteger(value)) {\n throw new Error(\n `${errorPrefix} priority must be an integer when authored (matches runtime z.number().int()).`,\n );\n }\n}\n\n/**\n * Strict ISO-8601 datetime guard. `Date.parse` alone accepts a wide\n * range of non-ISO formats (e.g. `\"2024/01/01\"`, `\"Jan 1 2024\"`),\n * which would silently leak into the runtime as a `z.coerce.date()`\n * call later. The spec layer fails closed on anything that doesn't\n * match the canonical ISO-8601 datetime shape — date-only strings\n * (`YYYY-MM-DD`) are also accepted because the runtime\n * `z.coerce.date()` call accepts both. Tracked: F-6 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nconst STRICT_ISO_8601_REGEX = /^\\d{4}-\\d{2}-\\d{2}(?:[T ]\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:?\\d{2})?)?$/;\n\nfunction assertOptionalIso8601(\n errorPrefix: string,\n fullPath: string,\n value: string | undefined,\n): void {\n if (value === undefined) {\n return;\n }\n if (typeof value !== 'string' || !value.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a non-empty ISO-8601 datetime string when authored.`,\n );\n }\n if (!STRICT_ISO_8601_REGEX.test(value)) {\n throw new Error(\n `${errorPrefix} ${fullPath} must match strict ISO-8601 (\\`YYYY-MM-DD\\` or \\`YYYY-MM-DDTHH:mm[:ss[.fff]][Z|±HH:MM]\\`; got \"${value}\").`,\n );\n }\n if (!Number.isFinite(Date.parse(value))) {\n throw new Error(\n `${errorPrefix} ${fullPath} must be a parseable ISO-8601 datetime string (got \"${value}\").`,\n );\n }\n}\n\nfunction assertOptionalCodeHandling(\n errorPrefix: string,\n codeHandling: GuidanceFlowSpecificationCodeHandling | undefined,\n): void {\n if (!codeHandling) {\n return;\n }\n if (!codeHandling.definitionOwner) {\n throw new Error(\n `${errorPrefix} codeHandling.definitionOwner is required — every authored GuidanceFlowSpecification populates it (engine + Wonder Todos parity audit, Step 7 deferred follow-up #3).`,\n );\n }\n assertOptionalSpecificationOwnerRef(errorPrefix, 'codeHandling.definitionOwner', codeHandling.definitionOwner);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.guidanceScopeSymbol', codeHandling.guidanceScopeSymbol);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.renderModeSymbol', codeHandling.renderModeSymbol);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.triggerTypeSymbol', codeHandling.triggerTypeSymbol);\n assertOptionalCodeSymbolRef(errorPrefix, 'codeHandling.elementTypeSymbol', codeHandling.elementTypeSymbol);\n if (codeHandling.declarationSymbols !== undefined) {\n if (!Array.isArray(codeHandling.declarationSymbols)) {\n throw new Error(\n `${errorPrefix} codeHandling.declarationSymbols must be an array when authored.`,\n );\n }\n for (const [index, symbolRef] of codeHandling.declarationSymbols.entries()) {\n assertOptionalCodeSymbolRef(\n errorPrefix,\n `codeHandling.declarationSymbols[${index}]`,\n symbolRef,\n );\n }\n }\n assertOptionalNonEmptyStringList(errorPrefix, 'codeHandling.notes', codeHandling.notes);\n}\n\nconst ALLOWED_OWNER_KINDS = Object.values(SpecificationOwnerKind) as readonly string[];\n\n/**\n * Structural validator for `SpecificationOwnerRef` references\n * authored on `codeHandling.definitionOwner`. Mirrors the onboarding\n * twin — see its JSDoc for the rationale. Tracked: F-5 in\n * `non-view-specification-coverage-step4-phase4-5-audit.md`.\n */\nfunction assertOptionalSpecificationOwnerRef(\n errorPrefix: string,\n fullPath: string,\n ownerRef: SpecificationOwnerRef | undefined,\n): void {\n if (!ownerRef) {\n return;\n }\n if (typeof ownerRef !== 'object' || Array.isArray(ownerRef)) {\n throw new Error(`${errorPrefix} ${fullPath} must be an object when authored.`);\n }\n if (typeof ownerRef.ownerId !== 'string' || !ownerRef.ownerId.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.ownerId must be a non-empty trimmed string.`,\n );\n }\n if (typeof ownerRef.ownerKind !== 'string' || !ALLOWED_OWNER_KINDS.includes(ownerRef.ownerKind)) {\n throw new Error(\n `${errorPrefix} ${fullPath}.ownerKind must be one of [${ALLOWED_OWNER_KINDS.map((value) => `\"${value}\"`).join(', ')}] (got \"${String(ownerRef.ownerKind)}\").`,\n );\n }\n assertOptionalNonEmptyStringList(errorPrefix, `${fullPath}.notes`, ownerRef.notes);\n}\n\nfunction assertOptionalCodeSymbolRef(\n errorPrefix: string,\n fullPath: string,\n symbolRef: PublicCodeSymbolRef | undefined,\n): void {\n if (!symbolRef) {\n return;\n }\n if (typeof symbolRef !== 'object') {\n throw new Error(`${errorPrefix} ${fullPath} must be an object when authored.`);\n }\n if (typeof symbolRef.packageName !== 'string' || !symbolRef.packageName.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.packageName must be a non-empty trimmed string.`,\n );\n }\n if (typeof symbolRef.exportName !== 'string' || !symbolRef.exportName.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.exportName must be a non-empty trimmed string.`,\n );\n }\n if (symbolRef.importPath !== undefined) {\n if (typeof symbolRef.importPath !== 'string' || !symbolRef.importPath.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.importPath must be a non-empty trimmed string when authored.`,\n );\n }\n }\n /*\n * `filePathHint` is validated to the same shape as `importPath` and NOT merged with it:\n * the two carry different senses (a public import specifier vs a module location) and\n * issue #150 records what happens when they are conflated — a source path authored in\n * `importPath` is rendered to a coding agent as the address to import from, and cannot\n * resolve. Shape-only here, deliberately: whether a subpath is genuinely declared in the\n * owning package's `package.json#exports` is not answerable from inside this validator,\n * so the distinction is carried by the contract and the renderer rather than guessed at.\n */\n if (symbolRef.filePathHint !== undefined) {\n if (typeof symbolRef.filePathHint !== 'string' || !symbolRef.filePathHint.trim()) {\n throw new Error(\n `${errorPrefix} ${fullPath}.filePathHint must be a non-empty trimmed string when authored.`,\n );\n }\n }\n}\n"]}
|
|
@@ -3,6 +3,8 @@ export * from './assertions/assertion-behaviors.schemas';
|
|
|
3
3
|
export * from './assertions/assertion-references.schemas';
|
|
4
4
|
export * from './assertions/assertion-snapshot-validation';
|
|
5
5
|
export * from './assertions/assertion-specification.schemas';
|
|
6
|
+
export * from './family-aspects.schemas';
|
|
7
|
+
export * from './family-aspects.registry';
|
|
6
8
|
export * from './brand/brand-asset.schemas';
|
|
7
9
|
export * from './brand/brand-authored-metadata.schemas';
|
|
8
10
|
export * from './brand/brand-generation.schemas';
|
|
@@ -46,6 +48,7 @@ export * from './feature-drafts/feature-specification-drafts-generation.schemas'
|
|
|
46
48
|
export * from './feature-drafts/feature-specification-drafts-validation';
|
|
47
49
|
export * from './feature-drafts/feature-specification-drafts.schemas';
|
|
48
50
|
export * from './feature-specification.schemas';
|
|
51
|
+
export * from './provider-specification.schemas';
|
|
49
52
|
export * from './frontend-component-specification.schemas';
|
|
50
53
|
export * from './flows-actors-view-specification.schemas';
|
|
51
54
|
export * from './full-custom-view-specification.schemas';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,uEAAuE,CAAC;AACtF,cAAc,yDAAyD,CAAC;AACxE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yEAAyE,CAAC;AACxF,cAAc,sDAAsD,CAAC;AACrE,cAAc,mDAAmD,CAAC;AAClE,cAAc,kEAAkE,CAAC;AACjF,cAAc,uEAAuE,CAAC;AACtF,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AA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AAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC"}
|
package/dist/esm/_core/index.js
CHANGED
|
@@ -3,6 +3,8 @@ export * from './assertions/assertion-behaviors.schemas.js';
|
|
|
3
3
|
export * from './assertions/assertion-references.schemas.js';
|
|
4
4
|
export * from './assertions/assertion-snapshot-validation.js';
|
|
5
5
|
export * from './assertions/assertion-specification.schemas.js';
|
|
6
|
+
export * from './family-aspects.schemas.js';
|
|
7
|
+
export * from './family-aspects.registry.js';
|
|
6
8
|
export * from './brand/brand-asset.schemas.js';
|
|
7
9
|
export * from './brand/brand-authored-metadata.schemas.js';
|
|
8
10
|
export * from './brand/brand-generation.schemas.js';
|
|
@@ -46,6 +48,7 @@ export * from './feature-drafts/feature-specification-drafts-generation.schemas.
|
|
|
46
48
|
export * from './feature-drafts/feature-specification-drafts-validation.js';
|
|
47
49
|
export * from './feature-drafts/feature-specification-drafts.schemas.js';
|
|
48
50
|
export * from './feature-specification.schemas.js';
|
|
51
|
+
export * from './provider-specification.schemas.js';
|
|
49
52
|
export * from './frontend-component-specification.schemas.js';
|
|
50
53
|
export * from './flows-actors-view-specification.schemas.js';
|
|
51
54
|
export * from './full-custom-view-specification.schemas.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,uEAAuE,CAAC;AACtF,cAAc,yDAAyD,CAAC;AACxE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yEAAyE,CAAC;AACxF,cAAc,sDAAsD,CAAC;AACrE,cAAc,mDAAmD,CAAC;AAClE,cAAc,kEAAkE,CAAC;AACjF,cAAc,uEAAuE,CAAC;AACtF,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC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A2C,CAAC","sourcesContent":["export * from './assertions/assertion-authored-metadata.schemas';\nexport * from './assertions/assertion-behaviors.schemas';\nexport * from './assertions/assertion-references.schemas';\nexport * from './assertions/assertion-snapshot-validation';\nexport * from './assertions/assertion-specification.schemas';\nexport * from './brand/brand-asset.schemas';\nexport * from './brand/brand-authored-metadata.schemas';\nexport * from './brand/brand-generation.schemas';\nexport * from './brand/brand-logo-direction.schemas';\nexport * from './brand/brand-name.schemas';\nexport * from './brand/brand-snapshot-validation';\nexport * from './brand/brand-snapshot.schemas';\nexport * from './brand/brand-visual-tone.schemas';\nexport * from './business-model-lite/business-model-authored-metadata.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-validation';\nexport * from './business-model-lite/business-model-lite-snapshot.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-generation.schemas';\nexport * from './business-model-lite/business-model-references.schemas';\nexport * from './business-model-lite/pricing-plan.schemas';\nexport * from './compliance-documents/compliance-document-candidate.schemas';\nexport * from './compliance-documents/compliance-document-candidate-generation.schemas';\nexport * from './compliance-documents/required-document-set.schemas';\nexport * from './compliance-documents/processor-register.schemas';\nexport * from './compliance-documents/compliance-completeness-statement.schemas';\nexport * from './compliance-documents/document-fact-specification-generation.schemas';\nexport * from './business-semantics.specifications.schemas';\nexport * from './chart-view-specification.schemas';\nexport * from './composite-view-specification.schemas';\nexport * from './cross-registry-assertions';\nexport * from './data-seed-specification.schemas';\nexport * from './domain-plan/domain-plan-output-set-generation.schemas';\nexport * from './domain-plan/domain-plan-output-set-validation';\nexport * from './domain-plan/domain-plan-output-set.schemas';\nexport * from './definition-specification-validators';\nexport * from './definition-specification.schemas';\nexport * from './error-message-specification.schemas';\nexport * from './execution-view-specification.schemas';\nexport * from './expert-personas/expert-persona-authored-metadata.schemas';\nexport * from './expert-personas/expert-persona-charter.schemas';\nexport * from './expert-personas/expert-persona-validation';\nexport * from './expert-personas/expert-role-template.schemas';\nexport * from './feature-drafts/capability-map-output-set-generation.schemas';\nexport * from './feature-drafts/capability-map-output-set-validation';\nexport * from './feature-drafts/capability-map-output-set.schemas';\nexport * from './feature-drafts/feature-specification-drafts-generation.schemas';\nexport * from './feature-drafts/feature-specification-drafts-validation';\nexport * from './feature-drafts/feature-specification-drafts.schemas';\nexport * from './feature-specification.schemas';\nexport * from './frontend-component-specification.schemas';\nexport * from './flows-actors-view-specification.schemas';\nexport * from './full-custom-view-specification.schemas';\nexport * from './guidance-flow-specification.schemas';\nexport * from './milestone-specification.schemas';\nexport * from './market/feature-benefit.schemas';\nexport * from './market/inherit-from';\nexport * from './market/is-benefit-available';\nexport * from './market/market-alternative.schemas';\nexport * from './market/market-authored-metadata.schemas';\nexport * from './market/market-buying-journey.schemas';\nexport * from './market/market-category.schemas';\nexport * from './market/market-channel.schemas';\nexport * from './market/market-context-block.schemas';\nexport * from './market/market-gain.schemas';\nexport * from './market/market-icp.schemas';\nexport * from './market/market-job.schemas';\nexport * from './market/market-message-template.schemas';\nexport * from './market/market-generation.schemas';\nexport * from './market/market-objection.schemas';\nexport * from './market/market-pain.schemas';\nexport * from './market/market-persona.schemas';\nexport * from './market/market-positioning.schemas';\nexport * from './market/market-proof.schemas';\nexport * from './market/market-references.schemas';\nexport * from './market/market-scoring';\nexport * from './market/market-snapshot-generation.schemas';\nexport * from './market/market-snapshot-validation';\nexport * from './market/market-snapshot.schemas';\nexport * from './market/market-tone-of-voice.schemas';\nexport * from './market/market-trigger.schemas';\nexport * from './onboarding-view-specification.schemas';\nexport * from './product-specification.schemas';\nexport * from './required-features-specification.schemas';\nexport * from './build-plan/build-plan-task-graph.schemas';\nexport * from './build-plan/build-plan-task-graph-generation.schemas';\nexport * from './build-plan/build-plan-task-graph-validation';\nexport * from './placement-plan/placement-plan.schemas';\nexport * from './placement-plan/placement-plan-generation.schemas';\nexport * from './placement-plan/placement-plan-validation';\nexport * from './requirements/functional-requirement.schemas';\nexport * from './requirements/non-functional-requirement.schemas';\nexport * from './requirements/requirements-authored-metadata.schemas';\nexport * from './requirements/requirements-references.schemas';\nexport * from './requirements/requirements-snapshot-generation.schemas';\nexport * from './requirements/requirements-snapshot-validation';\nexport * from './requirements/requirements-snapshot.schemas';\nexport * from './resource-specification-registry-alignment';\nexport * from './resource-specification.schemas';\nexport * from './resource-type-member-name.types';\nexport * from './roadmap/roadmap-authored-metadata.schemas';\nexport * from './roadmap/roadmap-phase.schemas';\nexport * from './roadmap/roadmap-references.schemas';\nexport * from './roadmap/roadmap-snapshot-generation.schemas';\nexport * from './roadmap/roadmap-snapshot-validation';\nexport * from './roadmap/roadmap-snapshot.schemas';\nexport * from './role-specification.schemas';\nexport * from './sidebar-section-specification.schemas';\nexport * from './system-email-template-specification.schemas';\nexport * from './translation-slot-specification.schemas';\nexport * from './utils/extract-field-specs';\nexport * from './utils/retention-marker-field-specs';\nexport * from './vision/vision-authored-metadata.schemas';\nexport * from './vision/vision-constraint.schemas';\nexport * from './vision/vision-idea.schemas';\nexport * from './vision/vision-mission.schemas';\nexport * from './vision/vision-problem.schemas';\nexport * from './vision/vision-references.schemas';\nexport * from './vision/vision-snapshot-generation.schemas';\nexport * from './vision/vision-snapshot-validation';\nexport * from './vision/vision-snapshot.schemas';\nexport * from './vision/vision-success-criterion.schemas';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAm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Ac,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './assertions/assertion-authored-metadata.schemas';\nexport * from './assertions/assertion-behaviors.schemas';\nexport * from './assertions/assertion-references.schemas';\nexport * from './assertions/assertion-snapshot-validation';\nexport * from './assertions/assertion-specification.schemas';\nexport * from './family-aspects.schemas';\nexport * from './family-aspects.registry';\nexport * from './brand/brand-asset.schemas';\nexport * from './brand/brand-authored-metadata.schemas';\nexport * from './brand/brand-generation.schemas';\nexport * from './brand/brand-logo-direction.schemas';\nexport * from './brand/brand-name.schemas';\nexport * from './brand/brand-snapshot-validation';\nexport * from './brand/brand-snapshot.schemas';\nexport * from './brand/brand-visual-tone.schemas';\nexport * from './business-model-lite/business-model-authored-metadata.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-validation';\nexport * from './business-model-lite/business-model-lite-snapshot.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-generation.schemas';\nexport * from './business-model-lite/business-model-references.schemas';\nexport * from './business-model-lite/pricing-plan.schemas';\nexport * from './compliance-documents/compliance-document-candidate.schemas';\nexport * from './compliance-documents/compliance-document-candidate-generation.schemas';\nexport * from './compliance-documents/required-document-set.schemas';\nexport * from './compliance-documents/processor-register.schemas';\nexport * from './compliance-documents/compliance-completeness-statement.schemas';\nexport * from './compliance-documents/document-fact-specification-generation.schemas';\nexport * from './business-semantics.specifications.schemas';\nexport * from './chart-view-specification.schemas';\nexport * from './composite-view-specification.schemas';\nexport * from './cross-registry-assertions';\nexport * from './data-seed-specification.schemas';\nexport * from './domain-plan/domain-plan-output-set-generation.schemas';\nexport * from './domain-plan/domain-plan-output-set-validation';\nexport * from './domain-plan/domain-plan-output-set.schemas';\nexport * from './definition-specification-validators';\nexport * from './definition-specification.schemas';\nexport * from './error-message-specification.schemas';\nexport * from './execution-view-specification.schemas';\nexport * from './expert-personas/expert-persona-authored-metadata.schemas';\nexport * from './expert-personas/expert-persona-charter.schemas';\nexport * from './expert-personas/expert-persona-validation';\nexport * from './expert-personas/expert-role-template.schemas';\nexport * from './feature-drafts/capability-map-output-set-generation.schemas';\nexport * from './feature-drafts/capability-map-output-set-validation';\nexport * from './feature-drafts/capability-map-output-set.schemas';\nexport * from './feature-drafts/feature-specification-drafts-generation.schemas';\nexport * from './feature-drafts/feature-specification-drafts-validation';\nexport * from './feature-drafts/feature-specification-drafts.schemas';\nexport * from './feature-specification.schemas';\nexport * from './provider-specification.schemas';\nexport * from './frontend-component-specification.schemas';\nexport * from './flows-actors-view-specification.schemas';\nexport * from './full-custom-view-specification.schemas';\nexport * from './guidance-flow-specification.schemas';\nexport * from './milestone-specification.schemas';\nexport * from './market/feature-benefit.schemas';\nexport * from './market/inherit-from';\nexport * from './market/is-benefit-available';\nexport * from './market/market-alternative.schemas';\nexport * from './market/market-authored-metadata.schemas';\nexport * from './market/market-buying-journey.schemas';\nexport * from './market/market-category.schemas';\nexport * from './market/market-channel.schemas';\nexport * from './market/market-context-block.schemas';\nexport * from './market/market-gain.schemas';\nexport * from './market/market-icp.schemas';\nexport * from './market/market-job.schemas';\nexport * from './market/market-message-template.schemas';\nexport * from './market/market-generation.schemas';\nexport * from './market/market-objection.schemas';\nexport * from './market/market-pain.schemas';\nexport * from './market/market-persona.schemas';\nexport * from './market/market-positioning.schemas';\nexport * from './market/market-proof.schemas';\nexport * from './market/market-references.schemas';\nexport * from './market/market-scoring';\nexport * from './market/market-snapshot-generation.schemas';\nexport * from './market/market-snapshot-validation';\nexport * from './market/market-snapshot.schemas';\nexport * from './market/market-tone-of-voice.schemas';\nexport * from './market/market-trigger.schemas';\nexport * from './onboarding-view-specification.schemas';\nexport * from './product-specification.schemas';\nexport * from './required-features-specification.schemas';\nexport * from './build-plan/build-plan-task-graph.schemas';\nexport * from './build-plan/build-plan-task-graph-generation.schemas';\nexport * from './build-plan/build-plan-task-graph-validation';\nexport * from './placement-plan/placement-plan.schemas';\nexport * from './placement-plan/placement-plan-generation.schemas';\nexport * from './placement-plan/placement-plan-validation';\nexport * from './requirements/functional-requirement.schemas';\nexport * from './requirements/non-functional-requirement.schemas';\nexport * from './requirements/requirements-authored-metadata.schemas';\nexport * from './requirements/requirements-references.schemas';\nexport * from './requirements/requirements-snapshot-generation.schemas';\nexport * from './requirements/requirements-snapshot-validation';\nexport * from './requirements/requirements-snapshot.schemas';\nexport * from './resource-specification-registry-alignment';\nexport * from './resource-specification.schemas';\nexport * from './resource-type-member-name.types';\nexport * from './roadmap/roadmap-authored-metadata.schemas';\nexport * from './roadmap/roadmap-phase.schemas';\nexport * from './roadmap/roadmap-references.schemas';\nexport * from './roadmap/roadmap-snapshot-generation.schemas';\nexport * from './roadmap/roadmap-snapshot-validation';\nexport * from './roadmap/roadmap-snapshot.schemas';\nexport * from './role-specification.schemas';\nexport * from './sidebar-section-specification.schemas';\nexport * from './system-email-template-specification.schemas';\nexport * from './translation-slot-specification.schemas';\nexport * from './utils/extract-field-specs';\nexport * from './utils/retention-marker-field-specs';\nexport * from './vision/vision-authored-metadata.schemas';\nexport * from './vision/vision-constraint.schemas';\nexport * from './vision/vision-idea.schemas';\nexport * from './vision/vision-mission.schemas';\nexport * from './vision/vision-problem.schemas';\nexport * from './vision/vision-references.schemas';\nexport * from './vision/vision-snapshot-generation.schemas';\nexport * from './vision/vision-snapshot-validation';\nexport * from './vision/vision-snapshot.schemas';\nexport * from './vision/vision-success-criterion.schemas';\n"]}
|
|
@@ -129,22 +129,22 @@ export declare const MarketJobGenerationSchema: z.ZodObject<{
|
|
|
129
129
|
slug: z.ZodString;
|
|
130
130
|
} & {
|
|
131
131
|
statement: z.ZodString;
|
|
132
|
+
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
132
133
|
jobKind: z.ZodEnum<typeof import("./market-job.schemas").JobKind>;
|
|
133
134
|
context: z.ZodOptional<z.ZodString>;
|
|
134
|
-
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
135
135
|
}, z.core.$strict>;
|
|
136
136
|
export declare const MarketPainGenerationSchema: z.ZodObject<{
|
|
137
137
|
slug: z.ZodString;
|
|
138
138
|
} & {
|
|
139
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
140
139
|
statement: z.ZodString;
|
|
141
140
|
painKind: z.ZodEnum<typeof import("./market-pain.schemas").PainKind>;
|
|
141
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
142
142
|
}, z.core.$strict>;
|
|
143
143
|
export declare const MarketGainGenerationSchema: z.ZodObject<{
|
|
144
144
|
slug: z.ZodString;
|
|
145
145
|
} & {
|
|
146
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
147
146
|
statement: z.ZodString;
|
|
147
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
148
148
|
gainKind: z.ZodEnum<typeof import("./market-gain.schemas").GainKind>;
|
|
149
149
|
}, z.core.$strict>;
|
|
150
150
|
export declare const ToneOfVoiceGenerationSchema: z.ZodObject<{
|
|
@@ -166,8 +166,9 @@ export declare const FeatureBenefitGenerationSchema: z.ZodObject<{
|
|
|
166
166
|
slug: z.ZodString;
|
|
167
167
|
} & {
|
|
168
168
|
role: z.ZodEnum<typeof import("./feature-benefit.schemas").BenefitRole>;
|
|
169
|
-
|
|
169
|
+
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
170
170
|
evidence: z.ZodOptional<z.ZodString>;
|
|
171
|
+
claim: z.ZodString;
|
|
171
172
|
deliveredByFeatureRefs: z.ZodArray<z.ZodString>;
|
|
172
173
|
differentiation: z.ZodOptional<z.ZodString>;
|
|
173
174
|
relieves: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -187,7 +188,6 @@ export declare const FeatureBenefitGenerationSchema: z.ZodObject<{
|
|
|
187
188
|
weight: z.ZodNumber;
|
|
188
189
|
kanoCategory: z.ZodEnum<typeof import("./feature-benefit.schemas").BenefitKanoCategory>;
|
|
189
190
|
}, z.core.$strip>>>;
|
|
190
|
-
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
191
191
|
addressesObjectionRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
192
192
|
}, z.core.$strict>;
|
|
193
193
|
export declare const MarketPositioningGenerationSchema: z.ZodObject<{
|
|
@@ -260,6 +260,11 @@ export declare const MarketProofGenerationSchema: z.ZodObject<{
|
|
|
260
260
|
slug: z.ZodString;
|
|
261
261
|
} & {
|
|
262
262
|
statement: z.ZodString;
|
|
263
|
+
metric: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
value: z.ZodNumber;
|
|
265
|
+
unit: z.ZodString;
|
|
266
|
+
period: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
263
268
|
proofKind: z.ZodEnum<typeof import("./market-proof.schemas").ProofKind>;
|
|
264
269
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
265
270
|
name: z.ZodString;
|
|
@@ -267,11 +272,6 @@ export declare const MarketProofGenerationSchema: z.ZodObject<{
|
|
|
267
272
|
company: z.ZodOptional<z.ZodString>;
|
|
268
273
|
url: z.ZodOptional<z.ZodURL>;
|
|
269
274
|
}, z.core.$strip>>;
|
|
270
|
-
metric: z.ZodOptional<z.ZodObject<{
|
|
271
|
-
value: z.ZodNumber;
|
|
272
|
-
unit: z.ZodString;
|
|
273
|
-
period: z.ZodOptional<z.ZodString>;
|
|
274
|
-
}, z.core.$strip>>;
|
|
275
275
|
evidenceUrl: z.ZodOptional<z.ZodURL>;
|
|
276
276
|
supportsBenefitRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
277
277
|
supportsIcpRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -279,8 +279,8 @@ export declare const MarketProofGenerationSchema: z.ZodObject<{
|
|
|
279
279
|
export declare const MarketObjectionGenerationSchema: z.ZodObject<{
|
|
280
280
|
slug: z.ZodString;
|
|
281
281
|
} & {
|
|
282
|
-
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
283
282
|
statement: z.ZodString;
|
|
283
|
+
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
284
284
|
objectionKind: z.ZodEnum<typeof import("./market-objection.schemas").ObjectionKind>;
|
|
285
285
|
raisedByIcpRefs: z.ZodArray<z.ZodString>;
|
|
286
286
|
raisedByPersonaRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -436,22 +436,22 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
|
|
|
436
436
|
slug: z.ZodString;
|
|
437
437
|
} & {
|
|
438
438
|
statement: z.ZodString;
|
|
439
|
+
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
439
440
|
jobKind: z.ZodEnum<typeof import("./market-job.schemas").JobKind>;
|
|
440
441
|
context: z.ZodOptional<z.ZodString>;
|
|
441
|
-
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
442
442
|
}, z.core.$strict>>;
|
|
443
443
|
pains: z.ZodArray<z.ZodObject<{
|
|
444
444
|
slug: z.ZodString;
|
|
445
445
|
} & {
|
|
446
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
447
446
|
statement: z.ZodString;
|
|
448
447
|
painKind: z.ZodEnum<typeof import("./market-pain.schemas").PainKind>;
|
|
448
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
449
449
|
}, z.core.$strict>>;
|
|
450
450
|
gains: z.ZodArray<z.ZodObject<{
|
|
451
451
|
slug: z.ZodString;
|
|
452
452
|
} & {
|
|
453
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
454
453
|
statement: z.ZodString;
|
|
454
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
455
455
|
gainKind: z.ZodEnum<typeof import("./market-gain.schemas").GainKind>;
|
|
456
456
|
}, z.core.$strict>>;
|
|
457
457
|
tonesOfVoice: z.ZodArray<z.ZodObject<{
|
|
@@ -473,8 +473,9 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
|
|
|
473
473
|
slug: z.ZodString;
|
|
474
474
|
} & {
|
|
475
475
|
role: z.ZodEnum<typeof import("./feature-benefit.schemas").BenefitRole>;
|
|
476
|
-
|
|
476
|
+
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
477
477
|
evidence: z.ZodOptional<z.ZodString>;
|
|
478
|
+
claim: z.ZodString;
|
|
478
479
|
deliveredByFeatureRefs: z.ZodArray<z.ZodString>;
|
|
479
480
|
differentiation: z.ZodOptional<z.ZodString>;
|
|
480
481
|
relieves: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -494,7 +495,6 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
|
|
|
494
495
|
weight: z.ZodNumber;
|
|
495
496
|
kanoCategory: z.ZodEnum<typeof import("./feature-benefit.schemas").BenefitKanoCategory>;
|
|
496
497
|
}, z.core.$strip>>>;
|
|
497
|
-
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
498
498
|
addressesObjectionRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
499
499
|
}, z.core.$strict>>;
|
|
500
500
|
positionings: z.ZodArray<z.ZodObject<{
|
|
@@ -567,6 +567,11 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
|
|
|
567
567
|
slug: z.ZodString;
|
|
568
568
|
} & {
|
|
569
569
|
statement: z.ZodString;
|
|
570
|
+
metric: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
value: z.ZodNumber;
|
|
572
|
+
unit: z.ZodString;
|
|
573
|
+
period: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>>;
|
|
570
575
|
proofKind: z.ZodEnum<typeof import("./market-proof.schemas").ProofKind>;
|
|
571
576
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
572
577
|
name: z.ZodString;
|
|
@@ -574,11 +579,6 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
|
|
|
574
579
|
company: z.ZodOptional<z.ZodString>;
|
|
575
580
|
url: z.ZodOptional<z.ZodURL>;
|
|
576
581
|
}, z.core.$strip>>;
|
|
577
|
-
metric: z.ZodOptional<z.ZodObject<{
|
|
578
|
-
value: z.ZodNumber;
|
|
579
|
-
unit: z.ZodString;
|
|
580
|
-
period: z.ZodOptional<z.ZodString>;
|
|
581
|
-
}, z.core.$strip>>;
|
|
582
582
|
evidenceUrl: z.ZodOptional<z.ZodURL>;
|
|
583
583
|
supportsBenefitRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
584
584
|
supportsIcpRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -586,8 +586,8 @@ export declare const MarketSnapshotGenerationSchema: z.ZodObject<{
|
|
|
586
586
|
objections: z.ZodArray<z.ZodObject<{
|
|
587
587
|
slug: z.ZodString;
|
|
588
588
|
} & {
|
|
589
|
-
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
590
589
|
statement: z.ZodString;
|
|
590
|
+
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
591
591
|
objectionKind: z.ZodEnum<typeof import("./market-objection.schemas").ObjectionKind>;
|
|
592
592
|
raisedByIcpRefs: z.ZodArray<z.ZodString>;
|
|
593
593
|
raisedByPersonaRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/market/market-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"market-snapshot-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/market/market-snapshot-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAWnC,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;kBAE1C,CAAC;AAMF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAErC,CAAC;AACF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEzC,CAAC;AACF,eAAO,MAAM,yBAAyB;;;;;;;kBAErC,CAAC;AACF,eAAO,MAAM,0BAA0B;;;;;;kBAEtC,CAAC;AACF,eAAO,MAAM,0BAA0B;;;;;;kBAEtC,CAAC;AACF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;kBAEvC,CAAC;AACF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAE1C,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;kBAE7C,CAAC;AACF,eAAO,MAAM,6BAA6B;;;;;;;;;;kBAEzC,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;kBAE7C,CAAC;AACF,eAAO,MAAM,6BAA6B;;;;;;;;;;kBAEzC,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;kBAE/C,CAAC;AACF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;kBAEvC,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;kBAE3C,CAAC;AACF,eAAO,MAAM,qCAAqC;;;;;;;;;kBAEjD,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsCzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,mFAAmF;AACnF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CA2B5E;AA6FD,eAAO,MAAM,wCAAwC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAkC,CAAC;AACzH,eAAO,MAAM,0CAA0C,EAAE,WAAW,CAAC,MAAM,CAAoC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { applyFamilyRefPrefix, assertDistinctFamilyRefs } from '../utils/family-ref-stamping.js';
|
|
2
3
|
import { FeatureBenefitConfigSchema } from './feature-benefit.schemas.js';
|
|
3
4
|
import { MarketAlternativeConfigSchema } from './market-alternative.schemas.js';
|
|
4
5
|
import { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas.js';
|
|
@@ -112,49 +113,13 @@ export function parseMarketSnapshotGeneration(input) {
|
|
|
112
113
|
});
|
|
113
114
|
for (const [family, collection] of Object.entries(snapshot)) {
|
|
114
115
|
if (Array.isArray(collection))
|
|
115
|
-
|
|
116
|
+
assertDistinctFamilyRefs(collection, family);
|
|
116
117
|
}
|
|
117
118
|
return snapshot;
|
|
118
119
|
}
|
|
119
120
|
function stampRef(entry, prefix) {
|
|
120
121
|
const { slug, ...semanticContent } = entry;
|
|
121
|
-
return { ...semanticContent, ref:
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Prefix a slug with its family, ONCE.
|
|
125
|
-
*
|
|
126
|
-
* The contract asks for a bare slug, and the model obliges inconsistently: measured across four live
|
|
127
|
-
* generations, one attempt emitted 42 of 47 slugs already carrying their family prefix and another
|
|
128
|
-
* emitted 0 of 43. Blind concatenation turned the first into `icp-icp-small-remote-product-teams-nam`,
|
|
129
|
-
* which then rides into the accepted artifact and everything generated from it.
|
|
130
|
-
*
|
|
131
|
-
* Idempotence matters for more than tidiness: an entity and the references to it are stamped by separate
|
|
132
|
-
* code paths, so a model that prefixes one and not the other would produce two different strings for the
|
|
133
|
-
* same thing and orphan the edge. Normalising both to the same canonical form removes that whole class.
|
|
134
|
-
*
|
|
135
|
-
* The one hazard it introduces is a collision -- `foo` and `icp-foo` both authored -- which
|
|
136
|
-
* `assertDistinctMarketRefs` catches loudly rather than letting two entities silently share a ref.
|
|
137
|
-
*/
|
|
138
|
-
function applyMarketFamilyPrefix(slug, prefix) {
|
|
139
|
-
return slug.startsWith(prefix) ? slug : `${prefix}${slug}`;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Refuse a snapshot whose entities do not have distinct refs.
|
|
143
|
-
*
|
|
144
|
-
* Slug uniqueness is checked on the authored form; this checks the STAMPED form, which idempotent
|
|
145
|
-
* prefixing makes a genuinely different question: `foo` and `icp-foo` are two distinct slugs that both
|
|
146
|
-
* stamp to `icp-foo`. Two entities sharing a ref would make every reference to it ambiguous, so this
|
|
147
|
-
* fails closed at normalization rather than producing a graph whose edges cannot be resolved.
|
|
148
|
-
*/
|
|
149
|
-
function assertDistinctMarketRefs(collection, family) {
|
|
150
|
-
const seen = new Set();
|
|
151
|
-
for (const entry of collection) {
|
|
152
|
-
if (seen.has(entry.ref)) {
|
|
153
|
-
throw new Error(`Market snapshot ${family} contains two entries that normalize to the same ref "${entry.ref}"; `
|
|
154
|
-
+ 'author slugs that stay distinct once their family prefix is applied.');
|
|
155
|
-
}
|
|
156
|
-
seen.add(entry.ref);
|
|
157
|
-
}
|
|
122
|
+
return { ...semanticContent, ref: applyFamilyRefPrefix(slug, prefix) };
|
|
158
123
|
}
|
|
159
124
|
/**
|
|
160
125
|
* Which entity family each CROSS-REFERENCE field points at.
|
|
@@ -229,11 +194,11 @@ function stampInternalReferences(value) {
|
|
|
229
194
|
for (const [key, entry] of Object.entries(value)) {
|
|
230
195
|
const prefix = MARKET_EXTERNAL_REFERENCE_FIELDS.has(key) ? undefined : MARKET_REFERENCE_TARGET_PREFIX[key];
|
|
231
196
|
if (prefix !== undefined && typeof entry === 'string') {
|
|
232
|
-
stamped[key] =
|
|
197
|
+
stamped[key] = applyFamilyRefPrefix(entry, prefix);
|
|
233
198
|
continue;
|
|
234
199
|
}
|
|
235
200
|
if (prefix !== undefined && Array.isArray(entry) && entry.every((item) => typeof item === 'string')) {
|
|
236
|
-
stamped[key] = entry.map((item) =>
|
|
201
|
+
stamped[key] = entry.map((item) => applyFamilyRefPrefix(item, prefix));
|
|
237
202
|
continue;
|
|
238
203
|
}
|
|
239
204
|
stamped[key] = stampInternalReferences(entry);
|