@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
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —
|
|
3
|
+
// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
|
|
4
|
+
import '@wildo-ai/zod-decorators';
|
|
5
|
+
/**
|
|
6
|
+
* @wildo_source:part:start website-plan.config facet:layer:specification facet:family:website-plan
|
|
7
|
+
*
|
|
8
|
+
* WHAT the application's marketing website says, page by page and section by section — the plan the
|
|
9
|
+
* build lane turns into website tasks (#1492).
|
|
10
|
+
*
|
|
11
|
+
* ## Why this family exists
|
|
12
|
+
*
|
|
13
|
+
* The framework ships 23 `website-*` skills, an `add-website` scenario and a whole engine
|
|
14
|
+
* (`@wildo-ai/saas-website`). Measured 2026-09-22: **no playbook named the word "website"**, so the
|
|
15
|
+
* largest finished asset in the catalog had no door — an application could be given a website only
|
|
16
|
+
* by a human running `wildo compose` and then authoring every page by hand.
|
|
17
|
+
*
|
|
18
|
+
* ## Why a PLAN rather than tasks
|
|
19
|
+
*
|
|
20
|
+
* The build plan has ONE producer (`bottom_up.build-decompose`), and that is what makes landing
|
|
21
|
+
* decidable: a second producer of one family destroys the first's output, which is the defect #895
|
|
22
|
+
* recorded for governed documents. So this family carries the DECISIONS — which pages, which
|
|
23
|
+
* sections, in which order, drawing on which market entries — and build-decompose turns them into
|
|
24
|
+
* `WEBSITE_PAGE` and `WEBSITE_SECTION` tasks.
|
|
25
|
+
*
|
|
26
|
+
* ## Why it is a MODEL's output and not a derivation
|
|
27
|
+
*
|
|
28
|
+
* Which pages a site needs is largely derivable (a pricing page follows from declared pricing
|
|
29
|
+
* plans), and which SECTIONS tell the story — which proofs answer which objections, in which order,
|
|
30
|
+
* in which tone — is composition judgement over authored market content. That is what a harnessed
|
|
31
|
+
* model with the market snapshot in front of it is for (`application-creation-directive.md`), and
|
|
32
|
+
* the skills that carry each section's HOW are shipped beside it.
|
|
33
|
+
*/
|
|
34
|
+
export var WebsitePlanVersion;
|
|
35
|
+
(function (WebsitePlanVersion) {
|
|
36
|
+
WebsitePlanVersion["V1"] = "v1";
|
|
37
|
+
})(WebsitePlanVersion || (WebsitePlanVersion = {}));
|
|
38
|
+
/** Stable prefix every planned page ref carries; the trusted runtime stamps it, a provider supplies only the slug. */
|
|
39
|
+
export const WEBSITE_PAGE_REF_PREFIX = 'page-';
|
|
40
|
+
/**
|
|
41
|
+
* WHETHER this application has a marketing website at all.
|
|
42
|
+
*
|
|
43
|
+
* Representable rather than refused, which is `application-creation-directive.md`'s own test: the
|
|
44
|
+
* capability composition decides whether the application gets a website, and an application that
|
|
45
|
+
* declines one must still be able to RECORD that — a plan that could only be produced for a site
|
|
46
|
+
* that exists would make "no website" an absence nobody can read, and would make the build lane's
|
|
47
|
+
* consumption of this family conditional on a file's existence rather than on what it says.
|
|
48
|
+
*/
|
|
49
|
+
export var WebsitePlanDisposition;
|
|
50
|
+
(function (WebsitePlanDisposition) {
|
|
51
|
+
/** The application has a website and these are its pages. */
|
|
52
|
+
WebsitePlanDisposition["PLANNED"] = "PLANNED";
|
|
53
|
+
/** The application has no marketing website; `pages` is empty and `rationale` says why. */
|
|
54
|
+
WebsitePlanDisposition["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
55
|
+
})(WebsitePlanDisposition || (WebsitePlanDisposition = {}));
|
|
56
|
+
/**
|
|
57
|
+
* WHAT a section does on its page — a closed vocabulary, because each member names the SKILL that
|
|
58
|
+
* carries its authoring, and a section a skill cannot build is a section no task can land.
|
|
59
|
+
*
|
|
60
|
+
* One member per `website-section-*` skill the framework ships, which is what makes
|
|
61
|
+
* {@link WEBSITE_SECTION_SKILL_REF} total rather than a hand-kept list: adding a section kind
|
|
62
|
+
* without the skill that builds it does not compile.
|
|
63
|
+
*/
|
|
64
|
+
export var WebsiteSectionKind;
|
|
65
|
+
(function (WebsiteSectionKind) {
|
|
66
|
+
/** The page's opening promise — headline, sub-headline, primary call to action. */
|
|
67
|
+
WebsiteSectionKind["HERO"] = "HERO";
|
|
68
|
+
/** The benefits, summarised — one line each, for a reader who will not read the detail. */
|
|
69
|
+
WebsiteSectionKind["FEATURE_BENEFIT_SUMMARY"] = "FEATURE_BENEFIT_SUMMARY";
|
|
70
|
+
/** One benefit, argued — the job it advances, the pain it relieves, what the product does about it. */
|
|
71
|
+
WebsiteSectionKind["FEATURE_DETAIL"] = "FEATURE_DETAIL";
|
|
72
|
+
/** The pricing plans as the business model declares them. */
|
|
73
|
+
WebsiteSectionKind["PRICING"] = "PRICING";
|
|
74
|
+
/** Proof — logos, numbers, quotations the market snapshot authored. */
|
|
75
|
+
WebsiteSectionKind["SOCIAL_PROOF"] = "SOCIAL_PROOF";
|
|
76
|
+
/** The objections, answered. */
|
|
77
|
+
WebsiteSectionKind["FAQ"] = "FAQ";
|
|
78
|
+
/** A call to action inside the page's flow. */
|
|
79
|
+
WebsiteSectionKind["CTA"] = "CTA";
|
|
80
|
+
/** The closing call to action, at the foot of the page. */
|
|
81
|
+
WebsiteSectionKind["FOOTER_CTA"] = "FOOTER_CTA";
|
|
82
|
+
/** A way to reach a human — the inbound contact form. */
|
|
83
|
+
WebsiteSectionKind["CONTACT"] = "CONTACT";
|
|
84
|
+
})(WebsiteSectionKind || (WebsiteSectionKind = {}));
|
|
85
|
+
/**
|
|
86
|
+
* The app-knowledge skill that authors each section kind — TOTAL over the vocabulary, so a kind
|
|
87
|
+
* added tomorrow must name the skill that builds it or fail to compile.
|
|
88
|
+
*
|
|
89
|
+
* This is what makes the nine `website-section-*` skills REACHABLE: build-decompose stamps the
|
|
90
|
+
* skill from the section's kind rather than asking a model to remember nine folder names, which is
|
|
91
|
+
* the failure `capability-catalog-integration.md` describes as a capability the journey cannot
|
|
92
|
+
* build. Held to the authored catalog by a test in the framework-knowledge package — this layer
|
|
93
|
+
* cannot import the skills, and a ref naming no folder is a task nothing can route.
|
|
94
|
+
*/
|
|
95
|
+
export const WEBSITE_SECTION_SKILL_REF = {
|
|
96
|
+
[WebsiteSectionKind.HERO]: 'website-section-hero',
|
|
97
|
+
[WebsiteSectionKind.FEATURE_BENEFIT_SUMMARY]: 'website-section-feature-benefit-summary',
|
|
98
|
+
[WebsiteSectionKind.FEATURE_DETAIL]: 'website-section-feature-detail',
|
|
99
|
+
[WebsiteSectionKind.PRICING]: 'website-section-pricing',
|
|
100
|
+
[WebsiteSectionKind.SOCIAL_PROOF]: 'website-section-social-proof',
|
|
101
|
+
[WebsiteSectionKind.FAQ]: 'website-section-faq',
|
|
102
|
+
[WebsiteSectionKind.CTA]: 'website-section-cta',
|
|
103
|
+
[WebsiteSectionKind.FOOTER_CTA]: 'website-section-footer-cta',
|
|
104
|
+
[WebsiteSectionKind.CONTACT]: 'website-section-contact',
|
|
105
|
+
};
|
|
106
|
+
const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
|
107
|
+
const NonEmptyStringSchema = z.string().trim().min(1);
|
|
108
|
+
/** One section of one page. */
|
|
109
|
+
export const WebsiteSectionPlanSchema = z.strictObject({
|
|
110
|
+
/** Unique within its page; the section's id in `website/src/sections/<pageRef>.sections.tsx`. */
|
|
111
|
+
sectionRef: SlugSchema,
|
|
112
|
+
kind: z.enum(WebsiteSectionKind).systemEnum('WebsiteSectionKind'),
|
|
113
|
+
/** What this section has to do for the reader, in one sentence. */
|
|
114
|
+
purpose: NonEmptyStringSchema,
|
|
115
|
+
/**
|
|
116
|
+
* The market-snapshot entries this section draws on — benefit, proof, objection, job, pain, ICP
|
|
117
|
+
* or tone refs, as the snapshot authored them.
|
|
118
|
+
*
|
|
119
|
+
* Traceability, never scope authority, exactly as a build task's `servesRefs`: a section that
|
|
120
|
+
* names no market entry is a section somebody invented, and a reader can check every one of these
|
|
121
|
+
* against the snapshot. Not refused when empty — a hero's headline may legitimately be the
|
|
122
|
+
* vision's own one-liner — but the judge reads it.
|
|
123
|
+
*/
|
|
124
|
+
drawsOnRefs: z.array(NonEmptyStringSchema).default([]),
|
|
125
|
+
});
|
|
126
|
+
/** One page of the marketing site. */
|
|
127
|
+
export const WebsitePagePlanSchema = z.strictObject({
|
|
128
|
+
/** `page-<slug>`, stamped by the trusted runtime; the route and the sections file are named from it. */
|
|
129
|
+
pageRef: z.string().regex(new RegExp(`^${WEBSITE_PAGE_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),
|
|
130
|
+
/** What this page is for — the question a visitor arrives with. */
|
|
131
|
+
purpose: NonEmptyStringSchema,
|
|
132
|
+
/**
|
|
133
|
+
* The ICPs this page is written for, by their market-snapshot refs. A page written for everybody
|
|
134
|
+
* is written for nobody, and the positioning the market pass produced is per ICP.
|
|
135
|
+
*/
|
|
136
|
+
audienceIcpRefs: z.array(NonEmptyStringSchema).default([]),
|
|
137
|
+
/** The tone of voice this page speaks in, by its market-snapshot ref. */
|
|
138
|
+
toneOfVoiceRef: NonEmptyStringSchema.optional(),
|
|
139
|
+
/**
|
|
140
|
+
* Its sections, IN READING ORDER. At least one, because a page with no section renders nothing —
|
|
141
|
+
* the same vacuity rule the build plan's `tasks` and the requirements' `functional` carry.
|
|
142
|
+
*/
|
|
143
|
+
sections: z.array(WebsiteSectionPlanSchema).min(1),
|
|
144
|
+
});
|
|
145
|
+
/**
|
|
146
|
+
* THE website-plan payload.
|
|
147
|
+
*
|
|
148
|
+
* **Artifact-family id: `website-plan`.** Produced by `bottom_up.website-plan`, consumed by
|
|
149
|
+
* `bottom_up.build-decompose`, which emits one `WEBSITE_PAGE` task per page and one
|
|
150
|
+
* `WEBSITE_SECTION` task per section, each bound to the skill its kind names.
|
|
151
|
+
*/
|
|
152
|
+
export const WebsitePlanSchema = z.object({
|
|
153
|
+
version: z.enum(WebsitePlanVersion).default(WebsitePlanVersion.V1),
|
|
154
|
+
disposition: z.enum(WebsitePlanDisposition).systemEnum('WebsitePlanDisposition'),
|
|
155
|
+
/** Why this application has a website and what it is for — or why it has none. */
|
|
156
|
+
rationale: NonEmptyStringSchema,
|
|
157
|
+
/** The pages, in navigation order. Empty exactly when the disposition is NOT_APPLICABLE. */
|
|
158
|
+
pages: z.array(WebsitePagePlanSchema).default([]),
|
|
159
|
+
}).superRefine((plan, context) => {
|
|
160
|
+
/*
|
|
161
|
+
* The two halves of the disposition must agree with the content, in BOTH directions. A
|
|
162
|
+
* NOT_APPLICABLE plan carrying pages would be applied by build-decompose against a `website/`
|
|
163
|
+
* workspace the composition never composed; a PLANNED plan with no page is the vacuity an empty
|
|
164
|
+
* artifact always is — it overwrites a real plan with nothing and reads as "done".
|
|
165
|
+
*/
|
|
166
|
+
if (plan.disposition === WebsitePlanDisposition.NOT_APPLICABLE && plan.pages.length > 0) {
|
|
167
|
+
context.addIssue({ code: 'custom', message: 'a NOT_APPLICABLE website plan cannot carry pages; the application has no website to put them on', path: ['pages'] });
|
|
168
|
+
}
|
|
169
|
+
if (plan.disposition === WebsitePlanDisposition.PLANNED && plan.pages.length === 0) {
|
|
170
|
+
context.addIssue({ code: 'custom', message: 'a PLANNED website plan must carry at least one page; planning no page is a refusal, not a plan', path: ['pages'] });
|
|
171
|
+
}
|
|
172
|
+
const pageRefs = new Set();
|
|
173
|
+
plan.pages.forEach((page, pageIndex) => {
|
|
174
|
+
if (pageRefs.has(page.pageRef)) {
|
|
175
|
+
context.addIssue({ code: 'custom', message: `duplicate page ref "${page.pageRef}"`, path: ['pages', pageIndex, 'pageRef'] });
|
|
176
|
+
}
|
|
177
|
+
pageRefs.add(page.pageRef);
|
|
178
|
+
/*
|
|
179
|
+
* Section refs are unique WITHIN a page, not across the site: a `hero` on the landing page and a
|
|
180
|
+
* `hero` on the pricing page are two sections in two files, and forcing them apart would make
|
|
181
|
+
* every ref carry its page twice.
|
|
182
|
+
*/
|
|
183
|
+
const sectionRefs = new Set();
|
|
184
|
+
page.sections.forEach((section, sectionIndex) => {
|
|
185
|
+
if (sectionRefs.has(section.sectionRef)) {
|
|
186
|
+
context.addIssue({ code: 'custom', message: `page "${page.pageRef}" declares the section "${section.sectionRef}" twice`, path: ['pages', pageIndex, 'sections', sectionIndex, 'sectionRef'] });
|
|
187
|
+
}
|
|
188
|
+
sectionRefs.add(section.sectionRef);
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
/** @wildo_source:part:end website-plan.config */
|
|
193
|
+
//# sourceMappingURL=website-plan.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"website-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/website-plan/website-plan.schemas.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\n/**\n * @wildo_source:part:start website-plan.config facet:layer:specification facet:family:website-plan\n *\n * WHAT the application's marketing website says, page by page and section by section — the plan the\n * build lane turns into website tasks (#1492).\n *\n * ## Why this family exists\n *\n * The framework ships 23 `website-*` skills, an `add-website` scenario and a whole engine\n * (`@wildo-ai/saas-website`). Measured 2026-09-22: **no playbook named the word \"website\"**, so the\n * largest finished asset in the catalog had no door — an application could be given a website only\n * by a human running `wildo compose` and then authoring every page by hand.\n *\n * ## Why a PLAN rather than tasks\n *\n * The build plan has ONE producer (`bottom_up.build-decompose`), and that is what makes landing\n * decidable: a second producer of one family destroys the first's output, which is the defect #895\n * recorded for governed documents. So this family carries the DECISIONS — which pages, which\n * sections, in which order, drawing on which market entries — and build-decompose turns them into\n * `WEBSITE_PAGE` and `WEBSITE_SECTION` tasks.\n *\n * ## Why it is a MODEL's output and not a derivation\n *\n * Which pages a site needs is largely derivable (a pricing page follows from declared pricing\n * plans), and which SECTIONS tell the story — which proofs answer which objections, in which order,\n * in which tone — is composition judgement over authored market content. That is what a harnessed\n * model with the market snapshot in front of it is for (`application-creation-directive.md`), and\n * the skills that carry each section's HOW are shipped beside it.\n */\nexport enum WebsitePlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every planned page ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const WEBSITE_PAGE_REF_PREFIX = 'page-';\n\n/**\n * WHETHER this application has a marketing website at all.\n *\n * Representable rather than refused, which is `application-creation-directive.md`'s own test: the\n * capability composition decides whether the application gets a website, and an application that\n * declines one must still be able to RECORD that — a plan that could only be produced for a site\n * that exists would make \"no website\" an absence nobody can read, and would make the build lane's\n * consumption of this family conditional on a file's existence rather than on what it says.\n */\nexport enum WebsitePlanDisposition {\n /** The application has a website and these are its pages. */\n PLANNED = 'PLANNED',\n /** The application has no marketing website; `pages` is empty and `rationale` says why. */\n NOT_APPLICABLE = 'NOT_APPLICABLE',\n}\n\n/**\n * WHAT a section does on its page — a closed vocabulary, because each member names the SKILL that\n * carries its authoring, and a section a skill cannot build is a section no task can land.\n *\n * One member per `website-section-*` skill the framework ships, which is what makes\n * {@link WEBSITE_SECTION_SKILL_REF} total rather than a hand-kept list: adding a section kind\n * without the skill that builds it does not compile.\n */\nexport enum WebsiteSectionKind {\n /** The page's opening promise — headline, sub-headline, primary call to action. */\n HERO = 'HERO',\n /** The benefits, summarised — one line each, for a reader who will not read the detail. */\n FEATURE_BENEFIT_SUMMARY = 'FEATURE_BENEFIT_SUMMARY',\n /** One benefit, argued — the job it advances, the pain it relieves, what the product does about it. */\n FEATURE_DETAIL = 'FEATURE_DETAIL',\n /** The pricing plans as the business model declares them. */\n PRICING = 'PRICING',\n /** Proof — logos, numbers, quotations the market snapshot authored. */\n SOCIAL_PROOF = 'SOCIAL_PROOF',\n /** The objections, answered. */\n FAQ = 'FAQ',\n /** A call to action inside the page's flow. */\n CTA = 'CTA',\n /** The closing call to action, at the foot of the page. */\n FOOTER_CTA = 'FOOTER_CTA',\n /** A way to reach a human — the inbound contact form. */\n CONTACT = 'CONTACT',\n}\n\n/**\n * The app-knowledge skill that authors each section kind — TOTAL over the vocabulary, so a kind\n * added tomorrow must name the skill that builds it or fail to compile.\n *\n * This is what makes the nine `website-section-*` skills REACHABLE: build-decompose stamps the\n * skill from the section's kind rather than asking a model to remember nine folder names, which is\n * the failure `capability-catalog-integration.md` describes as a capability the journey cannot\n * build. Held to the authored catalog by a test in the framework-knowledge package — this layer\n * cannot import the skills, and a ref naming no folder is a task nothing can route.\n */\nexport const WEBSITE_SECTION_SKILL_REF: Readonly<Record<WebsiteSectionKind, string>> = {\n [WebsiteSectionKind.HERO]: 'website-section-hero',\n [WebsiteSectionKind.FEATURE_BENEFIT_SUMMARY]: 'website-section-feature-benefit-summary',\n [WebsiteSectionKind.FEATURE_DETAIL]: 'website-section-feature-detail',\n [WebsiteSectionKind.PRICING]: 'website-section-pricing',\n [WebsiteSectionKind.SOCIAL_PROOF]: 'website-section-social-proof',\n [WebsiteSectionKind.FAQ]: 'website-section-faq',\n [WebsiteSectionKind.CTA]: 'website-section-cta',\n [WebsiteSectionKind.FOOTER_CTA]: 'website-section-footer-cta',\n [WebsiteSectionKind.CONTACT]: 'website-section-contact',\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One section of one page. */\nexport const WebsiteSectionPlanSchema = z.strictObject({\n /** Unique within its page; the section's id in `website/src/sections/<pageRef>.sections.tsx`. */\n sectionRef: SlugSchema,\n kind: z.enum(WebsiteSectionKind).systemEnum('WebsiteSectionKind'),\n /** What this section has to do for the reader, in one sentence. */\n purpose: NonEmptyStringSchema,\n /**\n * The market-snapshot entries this section draws on — benefit, proof, objection, job, pain, ICP\n * or tone refs, as the snapshot authored them.\n *\n * Traceability, never scope authority, exactly as a build task's `servesRefs`: a section that\n * names no market entry is a section somebody invented, and a reader can check every one of these\n * against the snapshot. Not refused when empty — a hero's headline may legitimately be the\n * vision's own one-liner — but the judge reads it.\n */\n drawsOnRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type WebsiteSectionPlan = z.infer<typeof WebsiteSectionPlanSchema>;\n\n/** One page of the marketing site. */\nexport const WebsitePagePlanSchema = z.strictObject({\n /** `page-<slug>`, stamped by the trusted runtime; the route and the sections file are named from it. */\n pageRef: z.string().regex(new RegExp(`^${WEBSITE_PAGE_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n /** What this page is for — the question a visitor arrives with. */\n purpose: NonEmptyStringSchema,\n /**\n * The ICPs this page is written for, by their market-snapshot refs. A page written for everybody\n * is written for nobody, and the positioning the market pass produced is per ICP.\n */\n audienceIcpRefs: z.array(NonEmptyStringSchema).default([]),\n /** The tone of voice this page speaks in, by its market-snapshot ref. */\n toneOfVoiceRef: NonEmptyStringSchema.optional(),\n /**\n * Its sections, IN READING ORDER. At least one, because a page with no section renders nothing —\n * the same vacuity rule the build plan's `tasks` and the requirements' `functional` carry.\n */\n sections: z.array(WebsiteSectionPlanSchema).min(1),\n});\nexport type WebsitePagePlan = z.infer<typeof WebsitePagePlanSchema>;\n\n/**\n * THE website-plan payload.\n *\n * **Artifact-family id: `website-plan`.** Produced by `bottom_up.website-plan`, consumed by\n * `bottom_up.build-decompose`, which emits one `WEBSITE_PAGE` task per page and one\n * `WEBSITE_SECTION` task per section, each bound to the skill its kind names.\n */\nexport const WebsitePlanSchema = z.object({\n version: z.enum(WebsitePlanVersion).default(WebsitePlanVersion.V1),\n disposition: z.enum(WebsitePlanDisposition).systemEnum('WebsitePlanDisposition'),\n /** Why this application has a website and what it is for — or why it has none. */\n rationale: NonEmptyStringSchema,\n /** The pages, in navigation order. Empty exactly when the disposition is NOT_APPLICABLE. */\n pages: z.array(WebsitePagePlanSchema).default([]),\n}).superRefine((plan, context) => {\n /*\n * The two halves of the disposition must agree with the content, in BOTH directions. A\n * NOT_APPLICABLE plan carrying pages would be applied by build-decompose against a `website/`\n * workspace the composition never composed; a PLANNED plan with no page is the vacuity an empty\n * artifact always is — it overwrites a real plan with nothing and reads as \"done\".\n */\n if (plan.disposition === WebsitePlanDisposition.NOT_APPLICABLE && plan.pages.length > 0) {\n context.addIssue({ code: 'custom', message: 'a NOT_APPLICABLE website plan cannot carry pages; the application has no website to put them on', path: ['pages'] });\n }\n if (plan.disposition === WebsitePlanDisposition.PLANNED && plan.pages.length === 0) {\n context.addIssue({ code: 'custom', message: 'a PLANNED website plan must carry at least one page; planning no page is a refusal, not a plan', path: ['pages'] });\n }\n const pageRefs = new Set<string>();\n plan.pages.forEach((page, pageIndex) => {\n if (pageRefs.has(page.pageRef)) {\n context.addIssue({ code: 'custom', message: `duplicate page ref \"${page.pageRef}\"`, path: ['pages', pageIndex, 'pageRef'] });\n }\n pageRefs.add(page.pageRef);\n /*\n * Section refs are unique WITHIN a page, not across the site: a `hero` on the landing page and a\n * `hero` on the pricing page are two sections in two files, and forcing them apart would make\n * every ref carry its page twice.\n */\n const sectionRefs = new Set<string>();\n page.sections.forEach((section, sectionIndex) => {\n if (sectionRefs.has(section.sectionRef)) {\n context.addIssue({ code: 'custom', message: `page \"${page.pageRef}\" declares the section \"${section.sectionRef}\" twice`, path: ['pages', pageIndex, 'sections', sectionIndex, 'sectionRef'] });\n }\n sectionRefs.add(section.sectionRef);\n });\n });\n});\nexport type WebsitePlan = z.infer<typeof WebsitePlanSchema>;\n/** @wildo_source:part:end website-plan.config */\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { $strip } from 'zod/v4/core';
|
|
2
|
+
/**
|
|
3
|
+
* This module exists so that this package's DECLARATION EMIT works. It has no runtime, and nothing
|
|
4
|
+
* is expected to import it.
|
|
5
|
+
*
|
|
6
|
+
* ## What breaks without it
|
|
7
|
+
*
|
|
8
|
+
* `@wildo-ai/saas-models` publishes twelve `*.shared.resources-config.schemas.d.ts` whose emitted
|
|
9
|
+
* types contain `import("zod/v4/core").$strip` — zod writes its own object-config marker into any
|
|
10
|
+
* `ZodObject` type it hands out, and that marker is declared inside zod's internals rather than at
|
|
11
|
+
* `zod`'s root.
|
|
12
|
+
*
|
|
13
|
+
* Every `*.resource.specification.ts` here derives its exported type from one of those schemas, so
|
|
14
|
+
* declaration emit has to WRITE `$strip` down. TypeScript will only write a type through a module
|
|
15
|
+
* specifier the consuming program has ALREADY RESOLVED; with nothing in this program resolving
|
|
16
|
+
* `zod/v4/core`, it fell back to the path it did find the symbol on —
|
|
17
|
+
* `@wildo-ai/saas-models/node_modules/zod/v4/core`, which is not a specifier this package can use —
|
|
18
|
+
* and refused:
|
|
19
|
+
*
|
|
20
|
+
* TS2742: The inferred type of 'applicationApiKeysResourceSpecification' cannot be named
|
|
21
|
+
* without a reference to '@wildo-ai/saas-models/node_modules/zod/v4/core'.
|
|
22
|
+
*
|
|
23
|
+
* Measured 2026-09-19: **86 errors, every one TS2742 on a resource specification**, and adding this
|
|
24
|
+
* single import takes the package's `tsconfig.build.json` compile from 86 to 0. Because the failure
|
|
25
|
+
* is declaration-emit only, `tsc --noEmit` against `tsconfig.json` stayed green throughout — the
|
|
26
|
+
* package looked healthy while it had been unable to publish a `dist` for hours, and every
|
|
27
|
+
* application compiling against it through a project reference was reading a stale one.
|
|
28
|
+
*
|
|
29
|
+
* ## Why a deliberate module rather than leaving it to chance
|
|
30
|
+
*
|
|
31
|
+
* It WAS left to chance, and that is the whole lesson. Nothing in this package has ever imported
|
|
32
|
+
* `zod/v4/core` in source; the specifier was being resolved incidentally, by some unrelated
|
|
33
|
+
* declaration that happened to sit in the program, and it stopped the moment a sweep removed the
|
|
34
|
+
* module that carried it. `.claude/rules/package-public-entrypoints.md` names exactly this hazard —
|
|
35
|
+
* "a crossing can be safe ONLY BECAUSE some unrelated file happens to pull the publishing barrel
|
|
36
|
+
* into the program; that is incidental, not designed" — and warns against tidying such an import
|
|
37
|
+
* away. Here the incidental resolution is replaced by a stated one, so a future sweep deletes a file
|
|
38
|
+
* whose comment says what it is for instead of one that looks unused.
|
|
39
|
+
*
|
|
40
|
+
* ## What would retire it
|
|
41
|
+
*
|
|
42
|
+
* `saas-models` emitting those twelve surfaces through NAMED type aliases, so no consumer has to
|
|
43
|
+
* write zod's internal marker down at all. That is the better fix and it is a `saas-models` change;
|
|
44
|
+
* until then this keeps the whole package's declaration emit working for one import.
|
|
45
|
+
*/
|
|
46
|
+
export type ZodObjectStripConfig = $strip;
|
|
47
|
+
//# sourceMappingURL=zod-core-nameability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zod-core-nameability.d.ts","sourceRoot":"","sources":["../../../../src/_core/zod-core-nameability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=zod-core-nameability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zod-core-nameability.js","sourceRoot":"","sources":["../../../../src/_core/zod-core-nameability.ts"],"names":[],"mappings":"","sourcesContent":["import type { $strip } from 'zod/v4/core';\n\n/**\n * This module exists so that this package's DECLARATION EMIT works. It has no runtime, and nothing\n * is expected to import it.\n *\n * ## What breaks without it\n *\n * `@wildo-ai/saas-models` publishes twelve `*.shared.resources-config.schemas.d.ts` whose emitted\n * types contain `import(\"zod/v4/core\").$strip` — zod writes its own object-config marker into any\n * `ZodObject` type it hands out, and that marker is declared inside zod's internals rather than at\n * `zod`'s root.\n *\n * Every `*.resource.specification.ts` here derives its exported type from one of those schemas, so\n * declaration emit has to WRITE `$strip` down. TypeScript will only write a type through a module\n * specifier the consuming program has ALREADY RESOLVED; with nothing in this program resolving\n * `zod/v4/core`, it fell back to the path it did find the symbol on —\n * `@wildo-ai/saas-models/node_modules/zod/v4/core`, which is not a specifier this package can use —\n * and refused:\n *\n * TS2742: The inferred type of 'applicationApiKeysResourceSpecification' cannot be named\n * without a reference to '@wildo-ai/saas-models/node_modules/zod/v4/core'.\n *\n * Measured 2026-09-19: **86 errors, every one TS2742 on a resource specification**, and adding this\n * single import takes the package's `tsconfig.build.json` compile from 86 to 0. Because the failure\n * is declaration-emit only, `tsc --noEmit` against `tsconfig.json` stayed green throughout — the\n * package looked healthy while it had been unable to publish a `dist` for hours, and every\n * application compiling against it through a project reference was reading a stale one.\n *\n * ## Why a deliberate module rather than leaving it to chance\n *\n * It WAS left to chance, and that is the whole lesson. Nothing in this package has ever imported\n * `zod/v4/core` in source; the specifier was being resolved incidentally, by some unrelated\n * declaration that happened to sit in the program, and it stopped the moment a sweep removed the\n * module that carried it. `.claude/rules/package-public-entrypoints.md` names exactly this hazard —\n * \"a crossing can be safe ONLY BECAUSE some unrelated file happens to pull the publishing barrel\n * into the program; that is incidental, not designed\" — and warns against tidying such an import\n * away. Here the incidental resolution is replaced by a stated one, so a future sweep deletes a file\n * whose comment says what it is for instead of one that looks unused.\n *\n * ## What would retire it\n *\n * `saas-models` emitting those twelve surfaces through NAMED type aliases, so no consumer has to\n * write zod's internal marker down at all. That is the better fix and it is a `saas-models` change;\n * until then this keeps the whole package's declaration emit working for one import.\n */\nexport type ZodObjectStripConfig = $strip;\n"]}
|
package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* THE DOSSIER's committed half: what the creator answered, question by question (#1454, Step 5).
|
|
4
|
+
*
|
|
5
|
+
* ## What one entry is
|
|
6
|
+
*
|
|
7
|
+
* One answer to one question a playbook DECLARES in its `method.elicitation`. The keys are the
|
|
8
|
+
* playbook's own `ref` and the question's own `ref`, so nothing here invents a vocabulary: a
|
|
9
|
+
* question that no playbook asks cannot be answered, and a playbook run that needs an answer finds
|
|
10
|
+
* it under the ref it declared. The value is kept exactly as the interview's validation admitted
|
|
11
|
+
* it — a CONFIRM answer canonically (`yes` / `no`), a CHOICE answer as one of its declared options,
|
|
12
|
+
* free text trimmed.
|
|
13
|
+
*
|
|
14
|
+
* ## Why ONE file for every playbook, rather than one file per playbook
|
|
15
|
+
*
|
|
16
|
+
* The design note proposed a file per source. The family machinery lands one file per family and
|
|
17
|
+
* reads it through one companion-exports slot, so a per-playbook split would need a second layout
|
|
18
|
+
* and a second reader for no gain in truth: `answeredAt` on every entry already carries the
|
|
19
|
+
* instant a per-file git history would have carried, and it carries it per ANSWER, which is finer
|
|
20
|
+
* than per file. Freshness of a playbook's outputs against its answers is derived from that instant
|
|
21
|
+
* (Step 8), not from a file's commit.
|
|
22
|
+
*
|
|
23
|
+
* ## What it deliberately is not
|
|
24
|
+
*
|
|
25
|
+
* Not a form. A creator answers through the conversation or the dossier, one question at a time,
|
|
26
|
+
* and each answer lands here as a working edit that a commit accepts
|
|
27
|
+
* (`.claude/rules/one-source-of-truth.md`, rules 2 and 3). Not a product declaration either: a
|
|
28
|
+
* question whose answer is a typed config key (the operating entity, the jurisdictions) is answered
|
|
29
|
+
* here and WRITTEN into `wildo.saas.config.ts` by the run that reads it — the dossier is the
|
|
30
|
+
* interview's memory, the config stays the declaration.
|
|
31
|
+
*/
|
|
32
|
+
export declare const ApplicationCreatorInputAnswerSchema: z.ZodObject<{
|
|
33
|
+
/** The playbook that asks this question — its compiled `ref` (`top_down.vision-elicitation`). */
|
|
34
|
+
playbookRef: z.ZodString;
|
|
35
|
+
/** The question's own `ref` inside that playbook's `method.elicitation.questions`. */
|
|
36
|
+
questionRef: z.ZodString;
|
|
37
|
+
/** The answer, as the interview's validation admitted it. Never empty: an unanswered question has no entry. */
|
|
38
|
+
value: z.ZodString;
|
|
39
|
+
/** When this answer was given, ISO 8601. The instant a playbook's outputs are measured against. */
|
|
40
|
+
answeredAt: z.ZodISODateTime;
|
|
41
|
+
/** Who answered — a user ref of the workbench session that recorded it. Provenance, never authority. */
|
|
42
|
+
answeredByRef: z.ZodString;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export type ApplicationCreatorInputAnswer = z.infer<typeof ApplicationCreatorInputAnswerSchema>;
|
|
45
|
+
export declare const ApplicationCreatorInputsSchema: z.ZodObject<{
|
|
46
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
47
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
48
|
+
/** The playbook that asks this question — its compiled `ref` (`top_down.vision-elicitation`). */
|
|
49
|
+
playbookRef: z.ZodString;
|
|
50
|
+
/** The question's own `ref` inside that playbook's `method.elicitation.questions`. */
|
|
51
|
+
questionRef: z.ZodString;
|
|
52
|
+
/** The answer, as the interview's validation admitted it. Never empty: an unanswered question has no entry. */
|
|
53
|
+
value: z.ZodString;
|
|
54
|
+
/** When this answer was given, ISO 8601. The instant a playbook's outputs are measured against. */
|
|
55
|
+
answeredAt: z.ZodISODateTime;
|
|
56
|
+
/** Who answered — a user ref of the workbench session that recorded it. Provenance, never authority. */
|
|
57
|
+
answeredByRef: z.ZodString;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
export type ApplicationCreatorInputs = z.infer<typeof ApplicationCreatorInputsSchema>;
|
|
61
|
+
/** The one key an answer is addressed by. `playbookRef` and `questionRef` are refs, never free text, so `#` cannot occur in either. */
|
|
62
|
+
export declare function creatorInputAnswerKey(playbookRef: string, questionRef: string): string;
|
|
63
|
+
/**
|
|
64
|
+
* The family validator — FINDINGS, each an error: a dossier holding two answers to one question
|
|
65
|
+
* cannot be read, because a run would have to pick one and nothing says which.
|
|
66
|
+
*
|
|
67
|
+
* Whether an answer names a question its playbook actually asks is NOT checked here: the family
|
|
68
|
+
* schema does not know the catalog, and an answer to a question a later catalog renamed is a
|
|
69
|
+
* stale answer to report, never a corrupt file. The dossier projection reports those as orphaned.
|
|
70
|
+
*/
|
|
71
|
+
export declare function validateApplicationCreatorInputs(inputs: ApplicationCreatorInputs): readonly string[];
|
|
72
|
+
/**
|
|
73
|
+
* The answers one playbook's interview reads, in the `{ questionRef, answer }` shape the run route
|
|
74
|
+
* already accepts. A dossier with nothing for this playbook yields `[]`, which the run treats as
|
|
75
|
+
* "not interviewed yet", never as a refusal.
|
|
76
|
+
*/
|
|
77
|
+
export declare function readCreatorInputAnswersForPlaybook(inputs: ApplicationCreatorInputs | undefined, playbookRef: string): readonly {
|
|
78
|
+
readonly questionRef: string;
|
|
79
|
+
readonly answer: string;
|
|
80
|
+
}[];
|
|
81
|
+
/**
|
|
82
|
+
* The dossier after one more answer, or after one answer changed — REPLACE by key, keep the rest,
|
|
83
|
+
* keep the file's order for the entries that were already there so a diff shows only the change.
|
|
84
|
+
*/
|
|
85
|
+
export declare function withCreatorInputAnswer(inputs: ApplicationCreatorInputs | undefined, answer: ApplicationCreatorInputAnswer): ApplicationCreatorInputs;
|
|
86
|
+
//# sourceMappingURL=application-creator-inputs.application-creation.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-creator-inputs.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-creator-inputs.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,mCAAmC;IAC9C,iGAAiG;;IAEjG,sFAAsF;;IAEtF,+GAA+G;;IAE/G,mGAAmG;;IAEnG,wGAAwG;;kBAExG,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,8BAA8B;;;QAbzC,iGAAiG;;QAEjG,sFAAsF;;QAEtF,+GAA+G;;QAE/G,mGAAmG;;QAEnG,wGAAwG;;;kBAQxG,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,uIAAuI;AACvI,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAEtF;AAED;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,MAAM,EAAE,CASpG;AAED;;;;GAIG;AACH,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,wBAAwB,GAAG,SAAS,EAC5C,WAAW,EAAE,MAAM,GAClB,SAAS;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAAE,CAItE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,wBAAwB,GAAG,SAAS,EAC5C,MAAM,EAAE,6BAA6B,GACpC,wBAAwB,CAU1B"}
|
package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* THE DOSSIER's committed half: what the creator answered, question by question (#1454, Step 5).
|
|
4
|
+
*
|
|
5
|
+
* ## What one entry is
|
|
6
|
+
*
|
|
7
|
+
* One answer to one question a playbook DECLARES in its `method.elicitation`. The keys are the
|
|
8
|
+
* playbook's own `ref` and the question's own `ref`, so nothing here invents a vocabulary: a
|
|
9
|
+
* question that no playbook asks cannot be answered, and a playbook run that needs an answer finds
|
|
10
|
+
* it under the ref it declared. The value is kept exactly as the interview's validation admitted
|
|
11
|
+
* it — a CONFIRM answer canonically (`yes` / `no`), a CHOICE answer as one of its declared options,
|
|
12
|
+
* free text trimmed.
|
|
13
|
+
*
|
|
14
|
+
* ## Why ONE file for every playbook, rather than one file per playbook
|
|
15
|
+
*
|
|
16
|
+
* The design note proposed a file per source. The family machinery lands one file per family and
|
|
17
|
+
* reads it through one companion-exports slot, so a per-playbook split would need a second layout
|
|
18
|
+
* and a second reader for no gain in truth: `answeredAt` on every entry already carries the
|
|
19
|
+
* instant a per-file git history would have carried, and it carries it per ANSWER, which is finer
|
|
20
|
+
* than per file. Freshness of a playbook's outputs against its answers is derived from that instant
|
|
21
|
+
* (Step 8), not from a file's commit.
|
|
22
|
+
*
|
|
23
|
+
* ## What it deliberately is not
|
|
24
|
+
*
|
|
25
|
+
* Not a form. A creator answers through the conversation or the dossier, one question at a time,
|
|
26
|
+
* and each answer lands here as a working edit that a commit accepts
|
|
27
|
+
* (`.claude/rules/one-source-of-truth.md`, rules 2 and 3). Not a product declaration either: a
|
|
28
|
+
* question whose answer is a typed config key (the operating entity, the jurisdictions) is answered
|
|
29
|
+
* here and WRITTEN into `wildo.saas.config.ts` by the run that reads it — the dossier is the
|
|
30
|
+
* interview's memory, the config stays the declaration.
|
|
31
|
+
*/
|
|
32
|
+
export const ApplicationCreatorInputAnswerSchema = z.strictObject({
|
|
33
|
+
/** The playbook that asks this question — its compiled `ref` (`top_down.vision-elicitation`). */
|
|
34
|
+
playbookRef: z.string().trim().min(1),
|
|
35
|
+
/** The question's own `ref` inside that playbook's `method.elicitation.questions`. */
|
|
36
|
+
questionRef: z.string().trim().min(1),
|
|
37
|
+
/** The answer, as the interview's validation admitted it. Never empty: an unanswered question has no entry. */
|
|
38
|
+
value: z.string().trim().min(1),
|
|
39
|
+
/** When this answer was given, ISO 8601. The instant a playbook's outputs are measured against. */
|
|
40
|
+
answeredAt: z.iso.datetime(),
|
|
41
|
+
/** Who answered — a user ref of the workbench session that recorded it. Provenance, never authority. */
|
|
42
|
+
answeredByRef: z.string().trim().min(1),
|
|
43
|
+
});
|
|
44
|
+
export const ApplicationCreatorInputsSchema = z.strictObject({
|
|
45
|
+
schemaVersion: z.literal(1),
|
|
46
|
+
answers: z.array(ApplicationCreatorInputAnswerSchema),
|
|
47
|
+
});
|
|
48
|
+
/** The one key an answer is addressed by. `playbookRef` and `questionRef` are refs, never free text, so `#` cannot occur in either. */
|
|
49
|
+
export function creatorInputAnswerKey(playbookRef, questionRef) {
|
|
50
|
+
return `${playbookRef}#${questionRef}`;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The family validator — FINDINGS, each an error: a dossier holding two answers to one question
|
|
54
|
+
* cannot be read, because a run would have to pick one and nothing says which.
|
|
55
|
+
*
|
|
56
|
+
* Whether an answer names a question its playbook actually asks is NOT checked here: the family
|
|
57
|
+
* schema does not know the catalog, and an answer to a question a later catalog renamed is a
|
|
58
|
+
* stale answer to report, never a corrupt file. The dossier projection reports those as orphaned.
|
|
59
|
+
*/
|
|
60
|
+
export function validateApplicationCreatorInputs(inputs) {
|
|
61
|
+
const findings = [];
|
|
62
|
+
const seen = new Set();
|
|
63
|
+
for (const answer of inputs.answers) {
|
|
64
|
+
const key = creatorInputAnswerKey(answer.playbookRef, answer.questionRef);
|
|
65
|
+
if (seen.has(key))
|
|
66
|
+
findings.push(`question "${answer.questionRef}" of "${answer.playbookRef}" is answered more than once`);
|
|
67
|
+
seen.add(key);
|
|
68
|
+
}
|
|
69
|
+
return findings;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The answers one playbook's interview reads, in the `{ questionRef, answer }` shape the run route
|
|
73
|
+
* already accepts. A dossier with nothing for this playbook yields `[]`, which the run treats as
|
|
74
|
+
* "not interviewed yet", never as a refusal.
|
|
75
|
+
*/
|
|
76
|
+
export function readCreatorInputAnswersForPlaybook(inputs, playbookRef) {
|
|
77
|
+
return (inputs?.answers ?? [])
|
|
78
|
+
.filter((answer) => answer.playbookRef === playbookRef)
|
|
79
|
+
.map((answer) => ({ questionRef: answer.questionRef, answer: answer.value }));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The dossier after one more answer, or after one answer changed — REPLACE by key, keep the rest,
|
|
83
|
+
* keep the file's order for the entries that were already there so a diff shows only the change.
|
|
84
|
+
*/
|
|
85
|
+
export function withCreatorInputAnswer(inputs, answer) {
|
|
86
|
+
const key = creatorInputAnswerKey(answer.playbookRef, answer.questionRef);
|
|
87
|
+
const existing = inputs?.answers ?? [];
|
|
88
|
+
const replaced = existing.some((candidate) => creatorInputAnswerKey(candidate.playbookRef, candidate.questionRef) === key);
|
|
89
|
+
return {
|
|
90
|
+
schemaVersion: 1,
|
|
91
|
+
answers: replaced
|
|
92
|
+
? existing.map((candidate) => (creatorInputAnswerKey(candidate.playbookRef, candidate.questionRef) === key ? answer : candidate))
|
|
93
|
+
: [...existing, answer],
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=application-creator-inputs.application-creation.schemas.js.map
|
package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-creator-inputs.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/application-creator-inputs.application-creation.schemas.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from \"zod\";\n\n/**\n * THE DOSSIER's committed half: what the creator answered, question by question (#1454, Step 5).\n *\n * ## What one entry is\n *\n * One answer to one question a playbook DECLARES in its `method.elicitation`. The keys are the\n * playbook's own `ref` and the question's own `ref`, so nothing here invents a vocabulary: a\n * question that no playbook asks cannot be answered, and a playbook run that needs an answer finds\n * it under the ref it declared. The value is kept exactly as the interview's validation admitted\n * it — a CONFIRM answer canonically (`yes` / `no`), a CHOICE answer as one of its declared options,\n * free text trimmed.\n *\n * ## Why ONE file for every playbook, rather than one file per playbook\n *\n * The design note proposed a file per source. The family machinery lands one file per family and\n * reads it through one companion-exports slot, so a per-playbook split would need a second layout\n * and a second reader for no gain in truth: `answeredAt` on every entry already carries the\n * instant a per-file git history would have carried, and it carries it per ANSWER, which is finer\n * than per file. Freshness of a playbook's outputs against its answers is derived from that instant\n * (Step 8), not from a file's commit.\n *\n * ## What it deliberately is not\n *\n * Not a form. A creator answers through the conversation or the dossier, one question at a time,\n * and each answer lands here as a working edit that a commit accepts\n * (`.claude/rules/one-source-of-truth.md`, rules 2 and 3). Not a product declaration either: a\n * question whose answer is a typed config key (the operating entity, the jurisdictions) is answered\n * here and WRITTEN into `wildo.saas.config.ts` by the run that reads it — the dossier is the\n * interview's memory, the config stays the declaration.\n */\nexport const ApplicationCreatorInputAnswerSchema = z.strictObject({\n /** The playbook that asks this question — its compiled `ref` (`top_down.vision-elicitation`). */\n playbookRef: z.string().trim().min(1),\n /** The question's own `ref` inside that playbook's `method.elicitation.questions`. */\n questionRef: z.string().trim().min(1),\n /** The answer, as the interview's validation admitted it. Never empty: an unanswered question has no entry. */\n value: z.string().trim().min(1),\n /** When this answer was given, ISO 8601. The instant a playbook's outputs are measured against. */\n answeredAt: z.iso.datetime(),\n /** Who answered — a user ref of the workbench session that recorded it. Provenance, never authority. */\n answeredByRef: z.string().trim().min(1),\n});\nexport type ApplicationCreatorInputAnswer = z.infer<typeof ApplicationCreatorInputAnswerSchema>;\n\nexport const ApplicationCreatorInputsSchema = z.strictObject({\n schemaVersion: z.literal(1),\n answers: z.array(ApplicationCreatorInputAnswerSchema),\n});\nexport type ApplicationCreatorInputs = z.infer<typeof ApplicationCreatorInputsSchema>;\n\n/** The one key an answer is addressed by. `playbookRef` and `questionRef` are refs, never free text, so `#` cannot occur in either. */\nexport function creatorInputAnswerKey(playbookRef: string, questionRef: string): string {\n return `${playbookRef}#${questionRef}`;\n}\n\n/**\n * The family validator — FINDINGS, each an error: a dossier holding two answers to one question\n * cannot be read, because a run would have to pick one and nothing says which.\n *\n * Whether an answer names a question its playbook actually asks is NOT checked here: the family\n * schema does not know the catalog, and an answer to a question a later catalog renamed is a\n * stale answer to report, never a corrupt file. The dossier projection reports those as orphaned.\n */\nexport function validateApplicationCreatorInputs(inputs: ApplicationCreatorInputs): readonly string[] {\n const findings: string[] = [];\n const seen = new Set<string>();\n for (const answer of inputs.answers) {\n const key = creatorInputAnswerKey(answer.playbookRef, answer.questionRef);\n if (seen.has(key)) findings.push(`question \"${answer.questionRef}\" of \"${answer.playbookRef}\" is answered more than once`);\n seen.add(key);\n }\n return findings;\n}\n\n/**\n * The answers one playbook's interview reads, in the `{ questionRef, answer }` shape the run route\n * already accepts. A dossier with nothing for this playbook yields `[]`, which the run treats as\n * \"not interviewed yet\", never as a refusal.\n */\nexport function readCreatorInputAnswersForPlaybook(\n inputs: ApplicationCreatorInputs | undefined,\n playbookRef: string,\n): readonly { readonly questionRef: string; readonly answer: string }[] {\n return (inputs?.answers ?? [])\n .filter((answer) => answer.playbookRef === playbookRef)\n .map((answer) => ({ questionRef: answer.questionRef, answer: answer.value }));\n}\n\n/**\n * The dossier after one more answer, or after one answer changed — REPLACE by key, keep the rest,\n * keep the file's order for the entries that were already there so a diff shows only the change.\n */\nexport function withCreatorInputAnswer(\n inputs: ApplicationCreatorInputs | undefined,\n answer: ApplicationCreatorInputAnswer,\n): ApplicationCreatorInputs {\n const key = creatorInputAnswerKey(answer.playbookRef, answer.questionRef);\n const existing = inputs?.answers ?? [];\n const replaced = existing.some((candidate) => creatorInputAnswerKey(candidate.playbookRef, candidate.questionRef) === key);\n return {\n schemaVersion: 1,\n answers: replaced\n ? existing.map((candidate) => (creatorInputAnswerKey(candidate.playbookRef, candidate.questionRef) === key ? answer : candidate))\n : [...existing, answer],\n };\n}\n"]}
|