@wildo-ai/saas-specifications 1.1.3 → 1.1.5
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/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- 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 +19 -1
- 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 +121 -1
- 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 +215 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -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 +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- 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 +699 -22
- 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 +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.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 +30 -1
- 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.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- 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 +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- 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 +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -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-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- 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 +182 -11
- 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 +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- 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 +10 -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 +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.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 +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- 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 +0 -23
- 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 +110 -28
- 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 +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- 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 +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.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 +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- 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 +24 -13
- 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 +0 -40
- 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 +14 -27
- 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 +8 -2
- 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 +16 -3
- 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 +5 -2
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +123 -19
- package/dist/esm/engine/errors/error-messages.specification.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 +2 -1
- 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 +1 -0
- 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 +4 -1
- 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 +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- 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 +1 -1
- 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/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.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 +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- 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 +3 -2
- 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 +77 -3
- 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 +11 -3
- 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 +26 -1
- 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 +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- 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/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.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-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -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 +27 -5
- 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 +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 +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- 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 +2 -2
- 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 +2 -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 +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- 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 +8 -3
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
- 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 +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -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 +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/market/market.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,mGAAmG,CAAC;AAEpK,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAA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AAE,qBAAqB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;gBACnE,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,cAAc,CAAC,EAAE;gBACvD,EAAE,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;aACnE;SACF;QACD;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,kBAAkB;YAChC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,MAAM;YACrB,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { MarketCategoryConfigSchema } from './market-category.schemas';\nimport { MarketICPConfigSchema } from './market-icp.schemas';\nimport { MarketPersonaConfigSchema } from './market-persona.schemas';\nimport { MarketJobConfigSchema } from './market-job.schemas';\nimport { MarketPainConfigSchema } from './market-pain.schemas';\nimport { MarketGainConfigSchema } from './market-gain.schemas';\nimport { ToneOfVoiceConfigSchema } from './market-tone-of-voice.schemas';\nimport { FeatureBenefitConfigSchema } from './feature-benefit.schemas';\nimport { MarketPositioningConfigSchema } from './market-positioning.schemas';\nimport { MarketChannelConfigSchema } from './market-channel.schemas';\nimport { MarketAlternativeConfigSchema } from './market-alternative.schemas';\nimport { MarketTriggerConfigSchema } from './market-trigger.schemas';\nimport { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas';\nimport { MarketProofConfigSchema } from './market-proof.schemas';\nimport { MarketObjectionConfigSchema } from './market-objection.schemas';\nimport { MarketMessageTemplateConfigSchema } from './market-message-template.schemas';\n\n/**\n * The market family's aspects — the largest declaration, and the graph's hub: most cross-family\n * edges land HERE (requirements serve ICPs and jobs, plans target ICPs, positionings speak to\n * ICPs in a tone). Edge fields below are TRANSCRIBED from the entry schemas, not remembered —\n * the drift pin in `__tests__/family-aspects.registry.test.ts` holds them to that.\n */\nexport const MARKET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.MARKET_SNAPSHOT,\n aspects: [\n {\n key: 'market.category',\n snapshotPath: 'category',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: MarketCategoryConfigSchema,\n headlineField: 'name',\n edges: [],\n nonEdgeRefFields: { ref: 'the category names itself; nothing references it by key yet' },\n },\n {\n key: 'market.icp',\n snapshotPath: 'icps',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketICPConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'buyingGroup', throughField: 'personaRef', targetAspects: ['market.persona'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'triggerRefs', targetAspects: ['market.trigger'] },\n { field: 'alternativeRefs', targetAspects: ['market.alternative'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'objectionRefs', targetAspects: ['market.objection'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n recommendedProductRefs:\n 'ProductSpecification refs — the runtime product catalog, not a family aspect; becomes an edge when products join the registry',\n upsellPathProductRefs:\n 'ProductSpecification refs, same catalog and same future as recommendedProductRefs',\n },\n },\n {\n key: 'market.persona',\n snapshotPath: 'personas',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPersonaConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'belongsToIcpRefs', targetAspects: ['market.icp'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n {\n key: 'market.job',\n snapshotPath: 'jobs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketJobConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [],\n nonEdgeRefFields: {\n successCriteria: 'prose criteria of the job itself, not vision success-criterion keys',\n },\n },\n {\n key: 'market.pain',\n snapshotPath: 'pains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [],\n },\n {\n key: 'market.gain',\n snapshotPath: 'gains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketGainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [],\n },\n {\n key: 'market.tone-of-voice',\n snapshotPath: 'tonesOfVoice',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ToneOfVoiceConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.benefit',\n snapshotPath: 'benefits',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureBenefitConfigSchema,\n businessKey: 'ref',\n headlineField: 'claim',\n edges: [\n { field: 'deliveredByFeatureRefs', targetAspects: ['feature-drafts.draft'] },\n { field: 'relieves', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'creates', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'advances', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'importanceByICP', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'addressesObjectionRefs', targetAspects: ['market.objection'] },\n ],\n },\n {\n key: 'market.positioning',\n snapshotPath: 'positionings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPositioningConfigSchema,\n businessKey: 'ref',\n headlineField: 'oneSentence',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n { field: 'valuePillars', throughField: 'backedByBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'alternativesContrasted', throughField: 'alternativeRef', targetAspects: ['market.alternative'] },\n ],\n },\n {\n key: 'market.channel',\n snapshotPath: 'channels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketChannelConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.alternative',\n snapshotPath: 'alternatives',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketAlternativeConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.trigger',\n snapshotPath: 'triggers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketTriggerConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'affectedIcpRefs', targetAspects: ['market.icp'] },\n { field: 'recommendedChannelRefs', targetAspects: ['market.channel'] },\n ],\n },\n {\n key: 'market.buying-journey',\n snapshotPath: 'buyingJourneys',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketBuyingJourneyConfigSchema,\n businessKey: 'ref',\n headlineField: 'ref',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.proof',\n snapshotPath: 'proofs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketProofConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [\n { field: 'supportsBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'supportsIcpRefs', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.objection',\n snapshotPath: 'objections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketObjectionConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n edges: [\n { field: 'raisedByIcpRefs', targetAspects: ['market.icp'] },\n { field: 'raisedByPersonaRefs', targetAspects: ['market.persona'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'relatedBenefitRefs', targetAspects: ['market.benefit'] },\n ],\n },\n {\n key: 'market.message-template',\n snapshotPath: 'messageTemplates',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketMessageTemplateConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n ],\n};\n"]}
|
|
1
|
+
{"version":3,"file":"market.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/market/market.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,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,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,cAAc,CAAC,EAAE;gBACvD,EAAE,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,gBAAgB,CAAC,EAAE;aACnE;SACF;QACD;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,kBAAkB;YAChC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,MAAM;YACrB,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\nimport { MarketCategoryConfigSchema } from './market-category.schemas';\nimport { MarketICPConfigSchema } from './market-icp.schemas';\nimport { MarketPersonaConfigSchema } from './market-persona.schemas';\nimport { MarketJobConfigSchema } from './market-job.schemas';\nimport { MarketPainConfigSchema } from './market-pain.schemas';\nimport { MarketGainConfigSchema } from './market-gain.schemas';\nimport { ToneOfVoiceConfigSchema } from './market-tone-of-voice.schemas';\nimport { FeatureBenefitConfigSchema } from './feature-benefit.schemas';\nimport { MarketPositioningConfigSchema } from './market-positioning.schemas';\nimport { MarketChannelConfigSchema } from './market-channel.schemas';\nimport { MarketAlternativeConfigSchema } from './market-alternative.schemas';\nimport { MarketTriggerConfigSchema } from './market-trigger.schemas';\nimport { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas';\nimport { MarketProofConfigSchema } from './market-proof.schemas';\nimport { MarketObjectionConfigSchema } from './market-objection.schemas';\nimport { MarketMessageTemplateConfigSchema } from './market-message-template.schemas';\n\n/**\n * The market family's aspects — the largest declaration, and the graph's hub: most cross-family\n * edges land HERE (requirements serve ICPs and jobs, plans target ICPs, positionings speak to\n * ICPs in a tone). Edge fields below are TRANSCRIBED from the entry schemas, not remembered —\n * the drift pin in `__tests__/family-aspects.registry.test.ts` holds them to that.\n */\nexport const MARKET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.MARKET_SNAPSHOT,\n aspects: [\n {\n key: 'market.category',\n snapshotPath: 'category',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: MarketCategoryConfigSchema,\n headlineField: 'name',\n // Category and ICPs ride in every intent on purpose: an audience without its category is unreadable,\n // and a benefit or a tone with no segment to attach to is an assertion about nobody.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n nonEdgeRefFields: { ref: 'the category names itself; nothing references it by key yet' },\n },\n {\n key: 'market.icp',\n snapshotPath: 'icps',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketICPConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n /*\n * An ICP's influences name OTHER ICPs — a self-edge, and one that was carried in the data and\n * invisible to the registry until #1427 walked one level down. It is what makes a buying\n * group legible: the economic buyer an end user influences is the reason both are on record.\n */\n { field: 'influences', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'buyingGroup', throughField: 'personaRef', targetAspects: ['market.persona'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'triggerRefs', targetAspects: ['market.trigger'] },\n { field: 'alternativeRefs', targetAspects: ['market.alternative'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'objectionRefs', targetAspects: ['market.objection'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n recommendedProductRefs:\n 'ProductSpecification refs — the runtime product catalog, not a family aspect; becomes an edge when products join the registry',\n upsellPathProductRefs:\n 'ProductSpecification refs, same catalog and same future as recommendedProductRefs',\n },\n },\n {\n key: 'market.persona',\n snapshotPath: 'personas',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPersonaConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE],\n edges: [\n { field: 'belongsToIcpRefs', targetAspects: ['market.icp'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n {\n key: 'market.job',\n snapshotPath: 'jobs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketJobConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n // VALUE as well as AUDIENCE (#1429): `requirements-definition` reads VALUE and must emit `jobRefs` on\n // every requirement. Without the jobs the model saw only bare ref strings; a job is what a benefit advances.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n nonEdgeRefFields: {\n successCriteria: 'prose criteria of the job itself, not vision success-criterion keys',\n },\n },\n {\n key: 'market.pain',\n snapshotPath: 'pains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.gain',\n snapshotPath: 'gains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketGainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.tone-of-voice',\n snapshotPath: 'tonesOfVoice',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ToneOfVoiceConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n },\n {\n key: 'market.benefit',\n snapshotPath: 'benefits',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureBenefitConfigSchema,\n businessKey: 'ref',\n headlineField: 'claim',\n // `bottom_up.domain-plan` reads VALUE because its method calls the market's BENEFITS load-bearing (#1428).\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'deliveredByFeatureRefs', targetAspects: ['feature-drafts.draft'] },\n { field: 'relieves', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'creates', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'advances', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'importanceByICP', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'addressesObjectionRefs', targetAspects: ['market.objection'] },\n ],\n },\n {\n key: 'market.positioning',\n snapshotPath: 'positionings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPositioningConfigSchema,\n businessKey: 'ref',\n headlineField: 'oneSentence',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n { field: 'valuePillars', throughField: 'backedByBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'alternativesContrasted', throughField: 'alternativeRef', targetAspects: ['market.alternative'] },\n ],\n },\n {\n key: 'market.channel',\n snapshotPath: 'channels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketChannelConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.alternative',\n snapshotPath: 'alternatives',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketAlternativeConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.trigger',\n snapshotPath: 'triggers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketTriggerConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'affectedIcpRefs', targetAspects: ['market.icp'] },\n { field: 'recommendedChannelRefs', targetAspects: ['market.channel'] },\n ],\n },\n {\n key: 'market.buying-journey',\n snapshotPath: 'buyingJourneys',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketBuyingJourneyConfigSchema,\n businessKey: 'ref',\n headlineField: 'ref',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.proof',\n snapshotPath: 'proofs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketProofConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'supportsBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'supportsIcpRefs', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.objection',\n snapshotPath: 'objections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketObjectionConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'raisedByIcpRefs', targetAspects: ['market.icp'] },\n { field: 'raisedByPersonaRefs', targetAspects: ['market.persona'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'relatedBenefitRefs', targetAspects: ['market.benefit'] },\n ],\n },\n {\n key: 'market.message-template',\n snapshotPath: 'messageTemplates',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketMessageTemplateConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n ],\n};\n"]}
|
|
@@ -34,6 +34,22 @@ export interface OnboardingViewElementSpecification {
|
|
|
34
34
|
purpose: string;
|
|
35
35
|
/** Meaning of the per-element translatable slots (label, description, …). */
|
|
36
36
|
textSlots?: TranslationSlotSpecificationMap;
|
|
37
|
+
/**
|
|
38
|
+
* What each SURVEY question asks, keyed by the question's runtime `id`.
|
|
39
|
+
*
|
|
40
|
+
* A survey's questions are generated copy like every other slot — the labelling planner emits
|
|
41
|
+
* `guidance.<flow>.elements.<element>.survey_questions.<id>.question` — but they live OUTSIDE
|
|
42
|
+
* `GUIDANCE_ELEMENT_FIELDS`, which lists a survey's own `title` and `description` and knows
|
|
43
|
+
* nothing of its questions. So until this slot existed the wording of the question itself was the
|
|
44
|
+
* one piece of guidance copy no author could ground, and the generator filled the gap from the
|
|
45
|
+
* element ref alone. Measured on Wonder Todos: a question bound to a person's profile
|
|
46
|
+
* `displayName` was generated as "What should this task be called?", because the flow lives in a
|
|
47
|
+
* module named tasks-manager.
|
|
48
|
+
*
|
|
49
|
+
* Authored only on a SURVEY element; the validator refuses it elsewhere rather than letting it sit
|
|
50
|
+
* unread, which is the defect this whole vocabulary exists to avoid.
|
|
51
|
+
*/
|
|
52
|
+
surveyQuestions?: TranslationSlotSpecificationMap;
|
|
37
53
|
/** Extra caveats for coding/transposition consumers. */
|
|
38
54
|
notes?: string[];
|
|
39
55
|
}
|
|
@@ -82,15 +98,13 @@ export interface OnboardingViewSpecificationCodeHandling {
|
|
|
82
98
|
* (`chart-view-specification.schemas.ts:94-107`). This keeps a
|
|
83
99
|
* single source of truth for scope (the runtime).
|
|
84
100
|
*
|
|
85
|
-
* Onboarding's audience
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* block (Pattern A discipline). Guidance flows DO have a unified
|
|
93
|
-
* audience block at runtime — see
|
|
101
|
+
* Onboarding's audience axis is flow-level `requiredFeatures`, and
|
|
102
|
+
* that is now the whole of it. The per-trigger `trigger.conditions`
|
|
103
|
+
* block (roles, newUsersOnly, triggerOnce) that used to sit beside
|
|
104
|
+
* it was REMOVED in #1369: it was validated here, carried by the
|
|
105
|
+
* runtime schema, and read by nothing — one producer emitting a
|
|
106
|
+
* constant, zero consumers. Guidance flows have a unified `audience`
|
|
107
|
+
* block that IS enforced — see
|
|
94
108
|
* `guidance-flow-specification.schemas.ts`.
|
|
95
109
|
*/
|
|
96
110
|
export interface OnboardingViewSpecificationConfig {
|
|
@@ -146,14 +160,10 @@ export interface OnboardingViewSpecificationConfig {
|
|
|
146
160
|
* for trigger-less onboarding views must therefore document the absence
|
|
147
161
|
* explicitly rather than implying a default trigger type.
|
|
148
162
|
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* `featureRefs`, `excludeIfCompletedFlowRefs`).
|
|
154
|
-
* - All other fields (`type`, `routePattern`, `eventName`,
|
|
155
|
-
* `delayMs`, `conditions.newUsersOnly`, `conditions.triggerOnce`)
|
|
156
|
-
* carry through verbatim.
|
|
163
|
+
* Every field (`type`, `routePattern`, `eventName`, `delayMs`)
|
|
164
|
+
* carries through verbatim — there are no spec-side renames left
|
|
165
|
+
* on this trigger. The one it had (`conditions.roleRefs` ← runtime
|
|
166
|
+
* `requiredRoles`) went with the `conditions` block in #1369.
|
|
157
167
|
*
|
|
158
168
|
* Per-type field semantics (validator enforces these):
|
|
159
169
|
* - `type=ROUTE_MATCH` requires `routePattern`.
|
|
@@ -167,11 +177,6 @@ export interface OnboardingViewSpecificationConfig {
|
|
|
167
177
|
routePattern?: string;
|
|
168
178
|
eventName?: string;
|
|
169
179
|
delayMs?: number;
|
|
170
|
-
conditions?: {
|
|
171
|
-
roleRefs?: string[];
|
|
172
|
-
newUsersOnly?: boolean;
|
|
173
|
-
triggerOnce?: boolean;
|
|
174
|
-
};
|
|
175
180
|
};
|
|
176
181
|
/** Additional domain constraints that matter beyond raw runtime structure. */
|
|
177
182
|
businessConstraints?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/onboarding-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAIhF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,KAAK,EAEV,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kCAAkC;IACjD,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;IACZ,qEAAqE;IACrE,WAAW,EAAE,qBAAqB,CAAC;IACnC,sDAAsD;IACtD,OAAO,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,uCAAuC;IACtD;;;;;;;;;OASG;IACH,eAAe,EAAE,qBAAqB,CAAC;IACvC,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED
|
|
1
|
+
{"version":3,"file":"onboarding-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/onboarding-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAIhF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,KAAK,EAEV,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kCAAkC;IACjD,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;IACZ,qEAAqE;IACrE,WAAW,EAAE,qBAAqB,CAAC;IACnC,sDAAsD;IACtD,OAAO,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C;;;;;;;;;;;;;;OAcG;IACH,eAAe,CAAC,EAAE,+BAA+B,CAAC;IAClD,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,uCAAuC;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,WAAW,yCACf,SAAQ,iCAAiC;IACzC,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAC9C,MAAM,EACN,iCAAiC,GAAG,yCAAyC,CAC9E,CAAC;AAEF,qDAAqD;AACrD,MAAM,MAAM,gCAAgC,GAAG,IAAI,CACjD,iCAAiC,EACjC,KAAK,CACN,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,8CAA8C,CAC5D,GAAG,EAAE,MAAM,GACV,MAAM,CAER;AAED;;;;GAIG;AACH,wBAAgB,2CAA2C,CACzD,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,MAAM,GACV,MAAM,CAER;AAED;;;;GAIG;AACH,wBAAgB,oDAAoD,CAClE,cAAc,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAC/B,YAAY,EAAE,MAAM,gCAAgC,GACnD,iCAAiC,CAYnC;AAED;;;GAGG;AACH,wBAAgB,iDAAiD,CAC/D,cAAc,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,EACrD,YAAY,EAAE,MAAM,gCAAgC,GACnD,yCAAyC,CAgB3C;AAED;;;;;GAKG;AACH,wBAAgB,mCAAmC,CACjD,GAAG,cAAc,EAAE,KAAK,CACtB,iCAAiC,GAAG,yCAAyC,CAC9E,GACA,2BAA2B,CAoB7B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { GUIDANCE_ELEMENT_FIELDS, OnboardingTriggerType, } from '@wildo-ai/saas-models';
|
|
2
|
-
import { assertRoleRefsResolveToRegistry } from './cross-registry-assertions.js';
|
|
1
|
+
import { GUIDANCE_ELEMENT_FIELDS, OnboardingElementType, OnboardingTriggerType, } from '@wildo-ai/saas-models';
|
|
3
2
|
import { SpecificationOwnerKind } from './definition-specification.schemas.js';
|
|
4
3
|
import { assertOptionalRequiredFeaturesSpecification, } from './required-features-specification.schemas.js';
|
|
5
4
|
/**
|
|
@@ -167,6 +166,12 @@ function assertOnboardingElementSpecification(errorPrefix, element) {
|
|
|
167
166
|
}
|
|
168
167
|
assertEveryAuthoredTextSlotHasPurpose(errorPrefix, element.textSlots);
|
|
169
168
|
}
|
|
169
|
+
if (element.surveyQuestions) {
|
|
170
|
+
if (element.elementType !== OnboardingElementType.SURVEY) {
|
|
171
|
+
throw new Error(`${errorPrefix} ("${element.ref}", elementType=${element.elementType}) declares surveyQuestions, which only a ${OnboardingElementType.SURVEY} element asks. Nothing would ever read them.`);
|
|
172
|
+
}
|
|
173
|
+
assertEveryAuthoredTextSlotHasPurpose(`${errorPrefix} surveyQuestions`, element.surveyQuestions);
|
|
174
|
+
}
|
|
170
175
|
assertOptionalNonEmptyStringList(errorPrefix, 'notes', element.notes);
|
|
171
176
|
}
|
|
172
177
|
// ---------------------------------------------------------------------------
|
|
@@ -279,16 +284,6 @@ function assertOptionalTriggerSpecification(errorPrefix, trigger) {
|
|
|
279
284
|
if (trigger.type === OnboardingTriggerType.DELAYED && trigger.delayMs === undefined) {
|
|
280
285
|
throw new Error(`${errorPrefix} type="${OnboardingTriggerType.DELAYED}" requires delayMs (matches runtime intent).`);
|
|
281
286
|
}
|
|
282
|
-
if (trigger.conditions !== undefined) {
|
|
283
|
-
const conditionsPrefix = `${errorPrefix}.conditions`;
|
|
284
|
-
if (typeof trigger.conditions !== 'object' || Array.isArray(trigger.conditions)) {
|
|
285
|
-
throw new Error(`${conditionsPrefix} must be an object when authored.`);
|
|
286
|
-
}
|
|
287
|
-
assertOptionalNonEmptyStringList(conditionsPrefix, 'roleRefs', trigger.conditions.roleRefs);
|
|
288
|
-
assertRoleRefsResolveToRegistry(conditionsPrefix, 'roleRefs', trigger.conditions.roleRefs);
|
|
289
|
-
assertOptionalBoolean(conditionsPrefix, 'newUsersOnly', trigger.conditions.newUsersOnly);
|
|
290
|
-
assertOptionalBoolean(conditionsPrefix, 'triggerOnce', trigger.conditions.triggerOnce);
|
|
291
|
-
}
|
|
292
287
|
}
|
|
293
288
|
function assertOptionalCodeHandling(errorPrefix, codeHandling) {
|
|
294
289
|
if (!codeHandling) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/onboarding-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EAEvB,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EACL,2CAA2C,GAC5C,MAAM,2CAA2C,CAAC;AA0NnD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,8CAA8C,CAC5D,GAAW;IAEX,OAAO,OAAO,GAAG,EAAE,CAAC;AACtB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,2CAA2C,CACzD,YAAoB,EACpB,GAAW;IAEX,OAAO,aAAa,YAAY,IAAI,GAAG,EAAE,CAAC;AAC5C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oDAAoD,CAClE,cAA+B,EAC/B,YAAoD;IAEpD,MAAM,aAAa,GAAsC;QACvD,GAAG,YAAY,EAAE;QACjB,GAAG,EAAE,cAAc,CAAC,GAAG;KACxB,CAAC;IAEF,mCAAmC,CACjC,8CAA8C,CAAC,aAAa,CAAC,GAAG,CAAC,EACjE,aAAa,CACd,CAAC;IAEF,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,iDAAiD,CAC/D,cAAqD,EACrD,YAAoD;IAEpD,MAAM,aAAa,GAA8C;QAC/D,GAAG,YAAY,EAAE;QACjB,GAAG,EAAE,cAAc,CAAC,GAAG;QACvB,YAAY,EAAE,cAAc,CAAC,YAAY;KAC1C,CAAC;IAEF,mCAAmC,CACjC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AAQ,+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 OnboardingElementType,\n OnboardingTriggerType,\n} from '@wildo-ai/saas-models';\n\nimport { assertRoleRefsResolveToRegistry } from './cross-registry-assertions';\nimport { SpecificationOwnerKind } from './definition-specification.schemas';\nimport type { SpecificationOwnerRef } from './definition-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 * Per-element semantic overlay for one onboarding element (modal, banner, …).\n *\n * `elementType` mirrors the runtime `OnboardingElement.type` so\n * companion renderers can label / group elements by kind without\n * re-deriving the union from the runtime payload.\n */\nexport interface OnboardingViewElementSpecification {\n /** Stable runtime element ref local to the owning onboarding view. */\n ref: string;\n /** Runtime element kind — used for renderer grouping / labelling. */\n elementType: OnboardingElementType;\n /** Why this element exists in the onboarding flow. */\n purpose: string;\n /** Meaning of the per-element translatable slots (label, description, …). */\n textSlots?: TranslationSlotSpecificationMap;\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\n/**\n * Import-oriented coding/transposition metadata for an onboarding view.\n *\n * `triggerTypeSymbol` / `elementTypeSymbol` use the `Symbol` suffix\n * (not `Enum`) because the underlying runtime declarations\n * (`OnboardingTriggerType`, `OnboardingElementType` in\n * `engine/saas-models/src/config/frontend/onboarding.shared.schemas.ts`)\n * are `const` objects rather than TS `enum`s — the field name\n * documents that distinction faithfully.\n */\nexport interface OnboardingViewSpecificationCodeHandling {\n /**\n * Module/application owner that authored the onboarding view.\n *\n * Required because the engine + Wonder Todos parity audit\n * (Step 7 deferred follow-up #3) confirmed every authored\n * `OnboardingViewSpecification` populates this slot — onboarding\n * views are always wired through a separate definition collection\n * (no inline-at-resource declarations exist), so the owner is never\n * meaningfully absent.\n */\n definitionOwner: SpecificationOwnerRef;\n /** Public declarations where the onboarding view is wired into runtime registries. */\n declarationSymbols?: 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 onboarding view.\n *\n * Bi-scoped at the runtime layer (an onboarding view is either\n * application-scope or resource-scope, see `OnboardingViewDefinition`)\n * so the spec layer ships two factories\n * (`applicationOnboardingViewSpecificationFromDefinition`,\n * `resourceOnboardingViewSpecificationFromDefinition`) that both\n * produce this same config shape — `scope` and `resourceType` are\n * NOT authored here; they're propagated by the factory from the\n * runtime `viewDefinition` arg, mirroring the chart spec precedent\n * (`chart-view-specification.schemas.ts:94-107`). This keeps a\n * single source of truth for scope (the runtime).\n *\n * Onboarding's audience axes are intentionally split between\n * flow-level `requiredFeatures` and per-trigger\n * `trigger.conditions` (roles, newUsersOnly, triggerOnce): the\n * runtime models them under different parents\n * (`OnboardingViewDefinition.requiredFeatures` vs\n * `OnboardingTrigger.conditions`), and the spec mirrors that\n * asymmetry rather than collapsing them into a unified `audience`\n * block (Pattern A discipline). Guidance flows DO have a unified\n * audience block at runtime — see\n * `guidance-flow-specification.schemas.ts`.\n */\nexport interface OnboardingViewSpecificationConfig {\n /** Stable runtime view ref (matches `OnboardingViewDefinition.ref`). */\n ref: string;\n /** Why this onboarding view exists from a product/workflow perspective. */\n purpose: string;\n /** What \"successful\" completion of this onboarding looks like. */\n successCriteria: string;\n /** Interaction role this onboarding plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this onboarding view is the right destination. */\n useWhen?: string;\n /** Situations where another surface (e.g. guidance flow) is preferred. */\n avoidWhen?: string;\n /**\n * Meaning of the view-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 /** Per-element semantic overlay (one entry per runtime element). */\n elements: OnboardingViewElementSpecification[];\n /** Mirrors runtime `OnboardingViewDefinition.requiredFeatures` (flow-level gating). */\n requiredFeatures?: RequiredFeaturesSpecification;\n /**\n * Mirrors the full runtime `OnboardingTrigger`\n * (`OnboardingTriggerSchema` in\n * `engine/saas-models/src/config/frontend/onboarding.shared.schemas.ts`)\n * including the per-trigger-type scaffolding fields. Authored at\n * the spec layer because the trigger TYPE (`FIRST_VISIT` vs\n * `EVENT` vs `ROUTE_MATCH` vs `DELAYED` vs `MANUAL`) is the\n * dominant audience axis — losing it strands companion prompts\n * with no answer to \"WHEN does this onboarding fire?\".\n *\n * Optional at the spec layer (mirrors runtime `.optional()`):\n * `OnboardingViewDefinitionSchema.trigger` is `OnboardingTriggerSchema.optional()`,\n * so when an onboarding view omits the `trigger` block entirely the runtime\n * leaves `trigger` as `undefined` — there is NO `FIRST_VISIT` default applied\n * at this layer. The `OnboardingTriggerType.FIRST_VISIT` default declared on\n * `OnboardingTriggerSchema.type` only kicks in when an author writes a\n * `trigger: { ... }` object that omits the inner `type` field; once the outer\n * `trigger` object itself is missing, no parse occurs and no default is\n * synthesised. Companion prompts that need a \"WHEN does this fire?\" answer\n * for trigger-less onboarding views must therefore document the absence\n * explicitly rather than implying a default trigger type.\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 (mirrors\n * `featureRefs`, `excludeIfCompletedFlowRefs`).\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 * - `routePattern` / `eventName` / `delayMs` are otherwise optional\n * (the runtime ignores them for non-matching trigger types).\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 /** 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?: OnboardingViewSpecificationCodeHandling;\n}\n\n/**\n * Resource-scope variant — same shape as\n * `OnboardingViewSpecificationConfig` plus the owning resource type.\n */\nexport interface ResourceOnboardingViewSpecificationConfig\n extends OnboardingViewSpecificationConfig {\n /** Stable resource type that owns this onboarding view. */\n resourceType: string;\n}\n\n/**\n * Keyed by either `buildApplicationOnboardingViewSpecificationKey(ref)`\n * (`app.<ref>`) or\n * `buildResourceOnboardingViewSpecificationKey(resourceType, ref)`\n * (`resources.<resourceType>.<ref>`). The same map carries both\n * scopes — keys are globally unique because the namespaces are\n * disjoint (`app.*` vs `resources.*`).\n */\nexport type OnboardingViewSpecification = Record<\n string,\n OnboardingViewSpecificationConfig | ResourceOnboardingViewSpecificationConfig\n>;\n\n/** Author-supplied draft (factory injects `ref`). */\nexport type OnboardingViewSpecificationDraft = Omit<\n OnboardingViewSpecificationConfig,\n 'ref'\n>;\n\n/**\n * Application-scope key builder. Delegates to the shared\n * `buildApplicationViewTranslationRef` to keep `app.<ref>` as one\n * source of truth across all view families (see Phase 3 of the\n * step-4-onboarding plan and the H4 plan-review finding).\n *\n * Implementation note: we re-implement the 1-line template literal\n * here rather than depending on `@wildo-ai/saas-frontend-lib` so the\n * spec layer doesn't pull in the React-bearing frontend package.\n * The shared builder lives in `views-frontend.schemas.ts`; this is\n * an intentional duplication of the template (`app.${ref}`) only —\n * if the namespace ever changes, both sites flip together. Future\n * refactor: extract the template to a shared `@wildo-ai/saas-models`\n * constant once the namespace shape is genuinely shared by spec +\n * runtime + companion.\n */\nexport function buildApplicationOnboardingViewSpecificationKey(\n ref: string,\n): string {\n return `app.${ref}`;\n}\n\n/**\n * Resource-scope key builder. Per the step-4 plan, no shared\n * resource-scope builder is extracted: each spec family ships its\n * own family-named version so error messages name the family.\n */\nexport function buildResourceOnboardingViewSpecificationKey(\n resourceType: string,\n ref: string,\n): string {\n return `resources.${resourceType}.${ref}`;\n}\n\n/**\n * Factory for application-scope onboarding views. Mirrors the\n * chart spec precedent: scope is propagated from the\n * `viewDefinition` argument, not authored in the draft.\n */\nexport function applicationOnboardingViewSpecificationFromDefinition(\n viewDefinition: { ref: string },\n draftFactory: () => OnboardingViewSpecificationDraft,\n): OnboardingViewSpecificationConfig {\n const specification: OnboardingViewSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n };\n\n validateOnboardingViewSpecification(\n buildApplicationOnboardingViewSpecificationKey(specification.ref),\n specification,\n );\n\n return specification;\n}\n\n/**\n * Factory for resource-scope onboarding views. Carries\n * `resourceType` through to the produced config.\n */\nexport function resourceOnboardingViewSpecificationFromDefinition(\n viewDefinition: { ref: string; resourceType: string },\n draftFactory: () => OnboardingViewSpecificationDraft,\n): ResourceOnboardingViewSpecificationConfig {\n const specification: ResourceOnboardingViewSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n resourceType: viewDefinition.resourceType,\n };\n\n validateOnboardingViewSpecification(\n buildResourceOnboardingViewSpecificationKey(\n viewDefinition.resourceType,\n viewDefinition.ref,\n ),\n specification,\n );\n\n return specification;\n}\n\n/**\n * Build the keyed `OnboardingViewSpecification` map from a list of\n * specs (any mix of application + resource scope). Fails closed on\n * duplicate keys — same convention as every other view-family\n * `build*SpecificationMap` helper in `_core`.\n */\nexport function buildOnboardingViewSpecificationMap(\n ...specifications: Array<\n OnboardingViewSpecificationConfig | ResourceOnboardingViewSpecificationConfig\n >\n): OnboardingViewSpecification {\n const result: OnboardingViewSpecification = {};\n\n for (const specification of specifications) {\n const key = isResourceOnboardingViewSpecification(specification)\n ? buildResourceOnboardingViewSpecificationKey(\n specification.resourceType,\n specification.ref,\n )\n : buildApplicationOnboardingViewSpecificationKey(specification.ref);\n\n if (result[key]) {\n throw new Error(\n `buildOnboardingViewSpecificationMap(): duplicate onboarding specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\nfunction isResourceOnboardingViewSpecification(\n specification:\n | OnboardingViewSpecificationConfig\n | ResourceOnboardingViewSpecificationConfig,\n): specification is ResourceOnboardingViewSpecificationConfig {\n return 'resourceType' in specification\n && typeof (specification as ResourceOnboardingViewSpecificationConfig).resourceType === 'string';\n}\n\nconst ONBOARDING_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'] as const;\n\n/**\n * Phase 4 fail-closed validator. Mirrors the chart / system-email /\n * resource-spec precedents (`_core/system-email-template-specification.schemas.ts`\n * `validateSystemEmailTemplateSpecification` is the closest sibling)\n * with onboarding-specific cross-links:\n *\n * - **Per-element textSlot key cross-link**: every authored\n * `elements[i].textSlots[key]` must be a member of\n * `GUIDANCE_ELEMENT_FIELDS[elementType]` so spec ↔ runtime\n * labelling stays in lockstep. Mismatches are the most common\n * class of authoring bug for ref-based label generation\n * (the dev-companion guidance-keys collector at\n * `i18n-labelling/utils/guidance-keys.utils.ts` walks the runtime\n * side; the spec-side fail-closed catches drift at module load).\n *\n * - **Structural `requiredFeatures` axes**: validates `featureRefs`\n * shape, `mode` literal membership, and `limitChecks` element\n * shape. Pattern A discipline — silently skipping these checks\n * would leak a runtime failure that the spec layer should catch.\n *\n * Helpers below are intentionally local to this file (not exported,\n * not shared with `guidance-flow-specification.schemas.ts`) to\n * mirror the existing `_core/` precedent: every view-family\n * validator owns its own copy of the small assertion helpers\n * (`assertOptionalNonEmptyStringList`, `assertOptionalNonEmptyProseSlot`,\n * etc.) so each file stays grep-able as a self-contained unit. A\n * future workstream can lift them to a shared\n * `_core/internal-validators.ts` once a third spec family wants\n * the same primitives.\n */\nfunction validateOnboardingViewSpecification(\n specificationKey: string,\n specification: OnboardingViewSpecificationConfig,\n): void {\n const errorPrefix = `onboardingViewSpecificationFromDefinition(): onboarding \"${specificationKey}\"`;\n\n for (const textSlotKey of ONBOARDING_VIEW_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 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 assertOptionalTriggerSpecification(\n `${errorPrefix} trigger`,\n specification.trigger,\n );\n\n assertOptionalRequiredFeaturesSpecification(\n `${errorPrefix} requiredFeatures`,\n specification.requiredFeatures,\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\n// ---------------------------------------------------------------------------\n\n/**\n * Element-level validator covering ref + purpose + textSlot\n * cross-link to runtime `GUIDANCE_ELEMENT_FIELDS`. Used for both\n * onboarding views and (via duplication) guidance flows because\n * the underlying runtime element shape is shared\n * (`OnboardingElementSchema`).\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; see top-of-\n// validator JSDoc for rationale).\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. The runtime is\n * tolerant of duplicate refs (set-like membership semantics), but\n * the spec lives by \"fail closed at module load\" so a duplicate\n * almost always signals a copy-paste authoring bug. Tracked: F-10\n * 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 * Per-trigger-type structural validator. Mirrors\n * `OnboardingTriggerSchema` field semantics:\n * - `ROUTE_MATCH` requires `routePattern`\n * - `EVENT` requires `eventName`\n * - `DELAYED` requires positive `delayMs`\n *\n * Optional at the spec layer (matches runtime `.optional()`) — when\n * authored, every nested field is fail-close validated.\n */\nfunction assertOptionalTriggerSpecification(\n errorPrefix: string,\n trigger: OnboardingViewSpecificationConfig['trigger'] | undefined,\n): void {\n if (!trigger) {\n return;\n }\n if (typeof trigger !== 'object' || Array.isArray(trigger)) {\n throw new Error(\n `${errorPrefix} must be an object when authored.`,\n );\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 assertOptionalCodeHandling(\n errorPrefix: string,\n codeHandling: OnboardingViewSpecificationCodeHandling | 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 OnboardingViewSpecification 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.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`. Without this guard\n * an author can pass `definitionOwner: 'string'` or\n * `{ ownerId: '' }` and the validator silently passes, which the\n * companion's `formatOwnerRef` later turns into a confusing\n * \"Owner: \\`undefined\\`\" line. 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\n"]}
|
|
1
|
+
{"version":3,"file":"onboarding-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/onboarding-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EACL,2CAA2C,GAC5C,MAAM,2CAA2C,CAAC;AA+NnD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,8CAA8C,CAC5D,GAAW;IAEX,OAAO,OAAO,GAAG,EAAE,CAAC;AACtB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,2CAA2C,CACzD,YAAoB,EACpB,GAAW;IAEX,OAAO,aAAa,YAAY,IAAI,GAAG,EAAE,CAAC;AAC5C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oDAAoD,CAClE,cAA+B,EAC/B,YAAoD;IAEpD,MAAM,aAAa,GAAsC;QACvD,GAAG,YAAY,EAAE;QACjB,GAAG,E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AAE,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 OnboardingElementType,\n OnboardingTriggerType,\n} from '@wildo-ai/saas-models';\n\nimport { assertRoleRefsResolveToRegistry } from './cross-registry-assertions';\nimport { SpecificationOwnerKind } from './definition-specification.schemas';\nimport type { SpecificationOwnerRef } from './definition-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 * Per-element semantic overlay for one onboarding element (modal, banner, …).\n *\n * `elementType` mirrors the runtime `OnboardingElement.type` so\n * companion renderers can label / group elements by kind without\n * re-deriving the union from the runtime payload.\n */\nexport interface OnboardingViewElementSpecification {\n /** Stable runtime element ref local to the owning onboarding view. */\n ref: string;\n /** Runtime element kind — used for renderer grouping / labelling. */\n elementType: OnboardingElementType;\n /** Why this element exists in the onboarding flow. */\n purpose: string;\n /** Meaning of the per-element translatable slots (label, description, …). */\n textSlots?: TranslationSlotSpecificationMap;\n /**\n * What each SURVEY question asks, keyed by the question's runtime `id`.\n *\n * A survey's questions are generated copy like every other slot — the labelling planner emits\n * `guidance.<flow>.elements.<element>.survey_questions.<id>.question` — but they live OUTSIDE\n * `GUIDANCE_ELEMENT_FIELDS`, which lists a survey's own `title` and `description` and knows\n * nothing of its questions. So until this slot existed the wording of the question itself was the\n * one piece of guidance copy no author could ground, and the generator filled the gap from the\n * element ref alone. Measured on Wonder Todos: a question bound to a person's profile\n * `displayName` was generated as \"What should this task be called?\", because the flow lives in a\n * module named tasks-manager.\n *\n * Authored only on a SURVEY element; the validator refuses it elsewhere rather than letting it sit\n * unread, which is the defect this whole vocabulary exists to avoid.\n */\n surveyQuestions?: TranslationSlotSpecificationMap;\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\n/**\n * Import-oriented coding/transposition metadata for an onboarding view.\n *\n * `triggerTypeSymbol` / `elementTypeSymbol` use the `Symbol` suffix\n * (not `Enum`) because the underlying runtime declarations\n * (`OnboardingTriggerType`, `OnboardingElementType` in\n * `engine/saas-models/src/config/frontend/onboarding.shared.schemas.ts`)\n * are `const` objects rather than TS `enum`s — the field name\n * documents that distinction faithfully.\n */\nexport interface OnboardingViewSpecificationCodeHandling {\n /**\n * Module/application owner that authored the onboarding view.\n *\n * Required because the engine + Wonder Todos parity audit\n * (Step 7 deferred follow-up #3) confirmed every authored\n * `OnboardingViewSpecification` populates this slot — onboarding\n * views are always wired through a separate definition collection\n * (no inline-at-resource declarations exist), so the owner is never\n * meaningfully absent.\n */\n definitionOwner: SpecificationOwnerRef;\n /** Public declarations where the onboarding view is wired into runtime registries. */\n declarationSymbols?: 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 onboarding view.\n *\n * Bi-scoped at the runtime layer (an onboarding view is either\n * application-scope or resource-scope, see `OnboardingViewDefinition`)\n * so the spec layer ships two factories\n * (`applicationOnboardingViewSpecificationFromDefinition`,\n * `resourceOnboardingViewSpecificationFromDefinition`) that both\n * produce this same config shape — `scope` and `resourceType` are\n * NOT authored here; they're propagated by the factory from the\n * runtime `viewDefinition` arg, mirroring the chart spec precedent\n * (`chart-view-specification.schemas.ts:94-107`). This keeps a\n * single source of truth for scope (the runtime).\n *\n * Onboarding's audience axis is flow-level `requiredFeatures`, and\n * that is now the whole of it. The per-trigger `trigger.conditions`\n * block (roles, newUsersOnly, triggerOnce) that used to sit beside\n * it was REMOVED in #1369: it was validated here, carried by the\n * runtime schema, and read by nothing — one producer emitting a\n * constant, zero consumers. Guidance flows have a unified `audience`\n * block that IS enforced — see\n * `guidance-flow-specification.schemas.ts`.\n */\nexport interface OnboardingViewSpecificationConfig {\n /** Stable runtime view ref (matches `OnboardingViewDefinition.ref`). */\n ref: string;\n /** Why this onboarding view exists from a product/workflow perspective. */\n purpose: string;\n /** What \"successful\" completion of this onboarding looks like. */\n successCriteria: string;\n /** Interaction role this onboarding plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this onboarding view is the right destination. */\n useWhen?: string;\n /** Situations where another surface (e.g. guidance flow) is preferred. */\n avoidWhen?: string;\n /**\n * Meaning of the view-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 /** Per-element semantic overlay (one entry per runtime element). */\n elements: OnboardingViewElementSpecification[];\n /** Mirrors runtime `OnboardingViewDefinition.requiredFeatures` (flow-level gating). */\n requiredFeatures?: RequiredFeaturesSpecification;\n /**\n * Mirrors the full runtime `OnboardingTrigger`\n * (`OnboardingTriggerSchema` in\n * `engine/saas-models/src/config/frontend/onboarding.shared.schemas.ts`)\n * including the per-trigger-type scaffolding fields. Authored at\n * the spec layer because the trigger TYPE (`FIRST_VISIT` vs\n * `EVENT` vs `ROUTE_MATCH` vs `DELAYED` vs `MANUAL`) is the\n * dominant audience axis — losing it strands companion prompts\n * with no answer to \"WHEN does this onboarding fire?\".\n *\n * Optional at the spec layer (mirrors runtime `.optional()`):\n * `OnboardingViewDefinitionSchema.trigger` is `OnboardingTriggerSchema.optional()`,\n * so when an onboarding view omits the `trigger` block entirely the runtime\n * leaves `trigger` as `undefined` — there is NO `FIRST_VISIT` default applied\n * at this layer. The `OnboardingTriggerType.FIRST_VISIT` default declared on\n * `OnboardingTriggerSchema.type` only kicks in when an author writes a\n * `trigger: { ... }` object that omits the inner `type` field; once the outer\n * `trigger` object itself is missing, no parse occurs and no default is\n * synthesised. Companion prompts that need a \"WHEN does this fire?\" answer\n * for trigger-less onboarding views must therefore document the absence\n * explicitly rather than implying a default trigger type.\n *\n * Every field (`type`, `routePattern`, `eventName`, `delayMs`)\n * carries through verbatim — there are no spec-side renames left\n * on this trigger. The one it had (`conditions.roleRefs` ← runtime\n * `requiredRoles`) went with the `conditions` block in #1369.\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 * - `routePattern` / `eventName` / `delayMs` are otherwise optional\n * (the runtime ignores them for non-matching trigger types).\n */\n trigger?: {\n type: OnboardingTriggerType;\n routePattern?: string;\n eventName?: string;\n delayMs?: number;\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?: OnboardingViewSpecificationCodeHandling;\n}\n\n/**\n * Resource-scope variant — same shape as\n * `OnboardingViewSpecificationConfig` plus the owning resource type.\n */\nexport interface ResourceOnboardingViewSpecificationConfig\n extends OnboardingViewSpecificationConfig {\n /** Stable resource type that owns this onboarding view. */\n resourceType: string;\n}\n\n/**\n * Keyed by either `buildApplicationOnboardingViewSpecificationKey(ref)`\n * (`app.<ref>`) or\n * `buildResourceOnboardingViewSpecificationKey(resourceType, ref)`\n * (`resources.<resourceType>.<ref>`). The same map carries both\n * scopes — keys are globally unique because the namespaces are\n * disjoint (`app.*` vs `resources.*`).\n */\nexport type OnboardingViewSpecification = Record<\n string,\n OnboardingViewSpecificationConfig | ResourceOnboardingViewSpecificationConfig\n>;\n\n/** Author-supplied draft (factory injects `ref`). */\nexport type OnboardingViewSpecificationDraft = Omit<\n OnboardingViewSpecificationConfig,\n 'ref'\n>;\n\n/**\n * Application-scope key builder. Delegates to the shared\n * `buildApplicationViewTranslationRef` to keep `app.<ref>` as one\n * source of truth across all view families (see Phase 3 of the\n * step-4-onboarding plan and the H4 plan-review finding).\n *\n * Implementation note: we re-implement the 1-line template literal\n * here rather than depending on `@wildo-ai/saas-frontend-lib` so the\n * spec layer doesn't pull in the React-bearing frontend package.\n * The shared builder lives in `views-frontend.schemas.ts`; this is\n * an intentional duplication of the template (`app.${ref}`) only —\n * if the namespace ever changes, both sites flip together. Future\n * refactor: extract the template to a shared `@wildo-ai/saas-models`\n * constant once the namespace shape is genuinely shared by spec +\n * runtime + companion.\n */\nexport function buildApplicationOnboardingViewSpecificationKey(\n ref: string,\n): string {\n return `app.${ref}`;\n}\n\n/**\n * Resource-scope key builder. Per the step-4 plan, no shared\n * resource-scope builder is extracted: each spec family ships its\n * own family-named version so error messages name the family.\n */\nexport function buildResourceOnboardingViewSpecificationKey(\n resourceType: string,\n ref: string,\n): string {\n return `resources.${resourceType}.${ref}`;\n}\n\n/**\n * Factory for application-scope onboarding views. Mirrors the\n * chart spec precedent: scope is propagated from the\n * `viewDefinition` argument, not authored in the draft.\n */\nexport function applicationOnboardingViewSpecificationFromDefinition(\n viewDefinition: { ref: string },\n draftFactory: () => OnboardingViewSpecificationDraft,\n): OnboardingViewSpecificationConfig {\n const specification: OnboardingViewSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n };\n\n validateOnboardingViewSpecification(\n buildApplicationOnboardingViewSpecificationKey(specification.ref),\n specification,\n );\n\n return specification;\n}\n\n/**\n * Factory for resource-scope onboarding views. Carries\n * `resourceType` through to the produced config.\n */\nexport function resourceOnboardingViewSpecificationFromDefinition(\n viewDefinition: { ref: string; resourceType: string },\n draftFactory: () => OnboardingViewSpecificationDraft,\n): ResourceOnboardingViewSpecificationConfig {\n const specification: ResourceOnboardingViewSpecificationConfig = {\n ...draftFactory(),\n ref: viewDefinition.ref,\n resourceType: viewDefinition.resourceType,\n };\n\n validateOnboardingViewSpecification(\n buildResourceOnboardingViewSpecificationKey(\n viewDefinition.resourceType,\n viewDefinition.ref,\n ),\n specification,\n );\n\n return specification;\n}\n\n/**\n * Build the keyed `OnboardingViewSpecification` map from a list of\n * specs (any mix of application + resource scope). Fails closed on\n * duplicate keys — same convention as every other view-family\n * `build*SpecificationMap` helper in `_core`.\n */\nexport function buildOnboardingViewSpecificationMap(\n ...specifications: Array<\n OnboardingViewSpecificationConfig | ResourceOnboardingViewSpecificationConfig\n >\n): OnboardingViewSpecification {\n const result: OnboardingViewSpecification = {};\n\n for (const specification of specifications) {\n const key = isResourceOnboardingViewSpecification(specification)\n ? buildResourceOnboardingViewSpecificationKey(\n specification.resourceType,\n specification.ref,\n )\n : buildApplicationOnboardingViewSpecificationKey(specification.ref);\n\n if (result[key]) {\n throw new Error(\n `buildOnboardingViewSpecificationMap(): duplicate onboarding specification key \"${key}\".`,\n );\n }\n result[key] = specification;\n }\n\n return result;\n}\n\nfunction isResourceOnboardingViewSpecification(\n specification:\n | OnboardingViewSpecificationConfig\n | ResourceOnboardingViewSpecificationConfig,\n): specification is ResourceOnboardingViewSpecificationConfig {\n return 'resourceType' in specification\n && typeof (specification as ResourceOnboardingViewSpecificationConfig).resourceType === 'string';\n}\n\nconst ONBOARDING_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'] as const;\n\n/**\n * Phase 4 fail-closed validator. Mirrors the chart / system-email /\n * resource-spec precedents (`_core/system-email-template-specification.schemas.ts`\n * `validateSystemEmailTemplateSpecification` is the closest sibling)\n * with onboarding-specific cross-links:\n *\n * - **Per-element textSlot key cross-link**: every authored\n * `elements[i].textSlots[key]` must be a member of\n * `GUIDANCE_ELEMENT_FIELDS[elementType]` so spec ↔ runtime\n * labelling stays in lockstep. Mismatches are the most common\n * class of authoring bug for ref-based label generation\n * (the dev-companion guidance-keys collector at\n * `i18n-labelling/utils/guidance-keys.utils.ts` walks the runtime\n * side; the spec-side fail-closed catches drift at module load).\n *\n * - **Structural `requiredFeatures` axes**: validates `featureRefs`\n * shape, `mode` literal membership, and `limitChecks` element\n * shape. Pattern A discipline — silently skipping these checks\n * would leak a runtime failure that the spec layer should catch.\n *\n * Helpers below are intentionally local to this file (not exported,\n * not shared with `guidance-flow-specification.schemas.ts`) to\n * mirror the existing `_core/` precedent: every view-family\n * validator owns its own copy of the small assertion helpers\n * (`assertOptionalNonEmptyStringList`, `assertOptionalNonEmptyProseSlot`,\n * etc.) so each file stays grep-able as a self-contained unit. A\n * future workstream can lift them to a shared\n * `_core/internal-validators.ts` once a third spec family wants\n * the same primitives.\n */\nfunction validateOnboardingViewSpecification(\n specificationKey: string,\n specification: OnboardingViewSpecificationConfig,\n): void {\n const errorPrefix = `onboardingViewSpecificationFromDefinition(): onboarding \"${specificationKey}\"`;\n\n for (const textSlotKey of ONBOARDING_VIEW_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 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 assertOptionalTriggerSpecification(\n `${errorPrefix} trigger`,\n specification.trigger,\n );\n\n assertOptionalRequiredFeaturesSpecification(\n `${errorPrefix} requiredFeatures`,\n specification.requiredFeatures,\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\n// ---------------------------------------------------------------------------\n\n/**\n * Element-level validator covering ref + purpose + textSlot\n * cross-link to runtime `GUIDANCE_ELEMENT_FIELDS`. Used for both\n * onboarding views and (via duplication) guidance flows because\n * the underlying runtime element shape is shared\n * (`OnboardingElementSchema`).\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 if (element.surveyQuestions) {\n if (element.elementType !== OnboardingElementType.SURVEY) {\n throw new Error(\n `${errorPrefix} (\"${element.ref}\", elementType=${element.elementType}) declares surveyQuestions, which only a ${OnboardingElementType.SURVEY} element asks. Nothing would ever read them.`,\n );\n }\n assertEveryAuthoredTextSlotHasPurpose(`${errorPrefix} surveyQuestions`, element.surveyQuestions);\n }\n\n assertOptionalNonEmptyStringList(errorPrefix, 'notes', element.notes);\n}\n\n// ---------------------------------------------------------------------------\n// Local assertion helpers (duplicated per `_core/` convention; see top-of-\n// validator JSDoc for rationale).\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. The runtime is\n * tolerant of duplicate refs (set-like membership semantics), but\n * the spec lives by \"fail closed at module load\" so a duplicate\n * almost always signals a copy-paste authoring bug. Tracked: F-10\n * 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 * Per-trigger-type structural validator. Mirrors\n * `OnboardingTriggerSchema` field semantics:\n * - `ROUTE_MATCH` requires `routePattern`\n * - `EVENT` requires `eventName`\n * - `DELAYED` requires positive `delayMs`\n *\n * Optional at the spec layer (matches runtime `.optional()`) — when\n * authored, every nested field is fail-close validated.\n */\nfunction assertOptionalTriggerSpecification(\n errorPrefix: string,\n trigger: OnboardingViewSpecificationConfig['trigger'] | undefined,\n): void {\n if (!trigger) {\n return;\n }\n if (typeof trigger !== 'object' || Array.isArray(trigger)) {\n throw new Error(\n `${errorPrefix} must be an object when authored.`,\n );\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}\n\nfunction assertOptionalCodeHandling(\n errorPrefix: string,\n codeHandling: OnboardingViewSpecificationCodeHandling | 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 OnboardingViewSpecification 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.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`. Without this guard\n * an author can pass `definitionOwner: 'string'` or\n * `{ ownerId: '' }` and the validator silently passes, which the\n * companion's `formatOwnerRef` later turns into a confusing\n * \"Owner: \\`undefined\\`\" line. 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\n"]}
|
|
@@ -20,30 +20,30 @@ export declare const PlacementDecisionGenerationSchema: z.ZodDiscriminatedUnion<
|
|
|
20
20
|
slug: z.ZodString;
|
|
21
21
|
disposition: z.ZodLiteral<PlacementDisposition.PLACED>;
|
|
22
22
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION
|
|
23
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION>>;
|
|
24
24
|
destinationRef: z.ZodString;
|
|
25
25
|
}, z.core.$strict>, z.ZodObject<{
|
|
26
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION
|
|
26
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION>>;
|
|
27
27
|
moduleRef: z.ZodString;
|
|
28
28
|
resourceRef: z.ZodString;
|
|
29
29
|
operation: z.ZodString;
|
|
30
30
|
}, z.core.$strict>, z.ZodObject<{
|
|
31
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW
|
|
31
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW>>;
|
|
32
32
|
viewRef: z.ZodString;
|
|
33
33
|
}, z.core.$strict>], "kind">;
|
|
34
34
|
address: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SETTINGS_HUB
|
|
35
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SETTINGS_HUB>>;
|
|
36
36
|
groupRef: z.ZodString;
|
|
37
37
|
order: z.ZodNumber;
|
|
38
38
|
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SIDEBAR
|
|
39
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SIDEBAR>>;
|
|
40
40
|
groupRef: z.ZodString;
|
|
41
41
|
order: z.ZodNumber;
|
|
42
42
|
}, z.core.$strict>, z.ZodObject<{
|
|
43
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.USER_MENU
|
|
43
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.USER_MENU>>;
|
|
44
44
|
order: z.ZodNumber;
|
|
45
45
|
}, z.core.$strict>, z.ZodObject<{
|
|
46
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.COMMAND_MENU
|
|
46
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.COMMAND_MENU>>;
|
|
47
47
|
order: z.ZodNumber;
|
|
48
48
|
}, z.core.$strict>], "surface">;
|
|
49
49
|
rationale: z.ZodString;
|
|
@@ -51,15 +51,15 @@ export declare const PlacementDecisionGenerationSchema: z.ZodDiscriminatedUnion<
|
|
|
51
51
|
slug: z.ZodString;
|
|
52
52
|
disposition: z.ZodLiteral<PlacementDisposition.DECLINED>;
|
|
53
53
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
54
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION
|
|
54
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION>>;
|
|
55
55
|
destinationRef: z.ZodString;
|
|
56
56
|
}, z.core.$strict>, z.ZodObject<{
|
|
57
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION
|
|
57
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION>>;
|
|
58
58
|
moduleRef: z.ZodString;
|
|
59
59
|
resourceRef: z.ZodString;
|
|
60
60
|
operation: z.ZodString;
|
|
61
61
|
}, z.core.$strict>, z.ZodObject<{
|
|
62
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW
|
|
62
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW>>;
|
|
63
63
|
viewRef: z.ZodString;
|
|
64
64
|
}, z.core.$strict>], "kind">;
|
|
65
65
|
rationale: z.ZodString;
|
|
@@ -69,7 +69,7 @@ export type PlacementDecisionGeneration = z.infer<typeof PlacementDecisionGenera
|
|
|
69
69
|
export declare const PlacementPlanGenerationSchema: z.ZodObject<{
|
|
70
70
|
groups: z.ZodArray<z.ZodObject<{
|
|
71
71
|
groupRef: z.ZodString;
|
|
72
|
-
surface: z.ZodEnum<typeof import("./placement-plan.schemas").PlacementSurface
|
|
72
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./placement-plan.schemas").PlacementSurface>>;
|
|
73
73
|
purpose: z.ZodString;
|
|
74
74
|
order: z.ZodNumber;
|
|
75
75
|
}, z.core.$strict>>;
|
|
@@ -77,30 +77,30 @@ export declare const PlacementPlanGenerationSchema: z.ZodObject<{
|
|
|
77
77
|
slug: z.ZodString;
|
|
78
78
|
disposition: z.ZodLiteral<PlacementDisposition.PLACED>;
|
|
79
79
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
80
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION
|
|
80
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION>>;
|
|
81
81
|
destinationRef: z.ZodString;
|
|
82
82
|
}, z.core.$strict>, z.ZodObject<{
|
|
83
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION
|
|
83
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION>>;
|
|
84
84
|
moduleRef: z.ZodString;
|
|
85
85
|
resourceRef: z.ZodString;
|
|
86
86
|
operation: z.ZodString;
|
|
87
87
|
}, z.core.$strict>, z.ZodObject<{
|
|
88
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW
|
|
88
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW>>;
|
|
89
89
|
viewRef: z.ZodString;
|
|
90
90
|
}, z.core.$strict>], "kind">;
|
|
91
91
|
address: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SETTINGS_HUB
|
|
92
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SETTINGS_HUB>>;
|
|
93
93
|
groupRef: z.ZodString;
|
|
94
94
|
order: z.ZodNumber;
|
|
95
95
|
}, z.core.$strict>, z.ZodObject<{
|
|
96
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SIDEBAR
|
|
96
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SIDEBAR>>;
|
|
97
97
|
groupRef: z.ZodString;
|
|
98
98
|
order: z.ZodNumber;
|
|
99
99
|
}, z.core.$strict>, z.ZodObject<{
|
|
100
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.USER_MENU
|
|
100
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.USER_MENU>>;
|
|
101
101
|
order: z.ZodNumber;
|
|
102
102
|
}, z.core.$strict>, z.ZodObject<{
|
|
103
|
-
surface: z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.COMMAND_MENU
|
|
103
|
+
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.COMMAND_MENU>>;
|
|
104
104
|
order: z.ZodNumber;
|
|
105
105
|
}, z.core.$strict>], "surface">;
|
|
106
106
|
rationale: z.ZodString;
|
|
@@ -108,15 +108,15 @@ export declare const PlacementPlanGenerationSchema: z.ZodObject<{
|
|
|
108
108
|
slug: z.ZodString;
|
|
109
109
|
disposition: z.ZodLiteral<PlacementDisposition.DECLINED>;
|
|
110
110
|
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
111
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION
|
|
111
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION>>;
|
|
112
112
|
destinationRef: z.ZodString;
|
|
113
113
|
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION
|
|
114
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.RESOURCE_OPERATION>>;
|
|
115
115
|
moduleRef: z.ZodString;
|
|
116
116
|
resourceRef: z.ZodString;
|
|
117
117
|
operation: z.ZodString;
|
|
118
118
|
}, z.core.$strict>, z.ZodObject<{
|
|
119
|
-
kind: z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW
|
|
119
|
+
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSubjectKind.APP_VIEW>>;
|
|
120
120
|
viewRef: z.ZodString;
|
|
121
121
|
}, z.core.$strict>], "kind">;
|
|
122
122
|
rationale: z.ZodString;
|