@wildo-ai/saas-specifications 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +14 -27
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +8 -2
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +123 -19
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-publication.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-publication.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,8BAA8B,EAAE,kCAAkC,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEjO,OAAO,EACL,sCAAsC,EACtC,0CAA0C,EAC1C,wCAAwC,EACxC,kDAAkD,EAClD,+CAA+C,EAC/C,oCAAoC,EACpC,8CAA8C,GAC/C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAClG,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC7B,yCAAyC,EACzC,uCAAuC,EACvC,0CAA0C,EAC1C,kCAAkC,GACnC,MAAM,yCAAyC,CAAC;AAEjD,MAAM,CAAN,IAAY,kCAKX;AALD,WAAY,kCAAkC;IAC5C,+DAAyB,CAAA;IACzB,mDAAa,CAAA;IACb,2DAAqB,CAAA;IACrB,yDAAmB,CAAA;AACrB,CAAC,EALW,kCAAkC,KAAlC,kCAAkC,QAK7C;AAED,MAAM,CAAN,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,mDAAe,CAAA;IACf,2DAAuB,CAAA;IACvB,2EAAuC,CAAA;IACvC,yEAAqC,CAAA;IACrC,yEAAqC,CAAA;AACvC,CAAC,EANW,gCAAgC,KAAhC,gCAAgC,QAM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CAAC;QAClF,SAAS,EAAE,sCAAsC,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;KACnG,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sDAAsD,CACpE,KAAuD;IAEvD,OAAO,sDAAsD,CAAC,KAAK,CAAC,uDAAuD,CAAC,KAAK,CAAC,CAAC,CAAC;AACtI,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_IsoDateTimeSchema, MetaWorkflow_LowercaseUuidV4Schema, MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema, MetaWorkflow_Sha256DigestSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport {\n canonicalizeTechnicalDocumentationRows,\n findTechnicalDocumentationSecretShapedPath,\n technicalDocumentationIdentitiesAreEqual,\n TechnicalDocumentationNormalizedRelativePathSchema,\n TechnicalDocumentationVersionedIdentityV1Schema,\n technicalDocumentationPathsAreUnique,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport { TechnicalDocumentationAssetAccessClass } from \"./technical-documentation-assets.schemas\";\nimport {\n TechnicalDocumentationAccessClass,\n TechnicalDocumentationChannel,\n TechnicalDocumentationPublicationDecision,\n TechnicalDocumentationPublicationReason,\n TechnicalDocumentationSourceClassification,\n TechnicalDocumentationUnitV1Schema,\n} from \"./technical-documentation-units.schemas\";\n\nexport enum TechnicalDocumentationRendererKind {\n DOCUSAURUS = \"DOCUSAURUS\",\n HTML = \"HTML\",\n MARKDOWN = \"MARKDOWN\",\n OPENAPI = \"OPENAPI\",\n}\n\nexport enum TechnicalDocumentationOutputKind {\n ASSET = \"ASSET\",\n HTML_PAGE = \"HTML_PAGE\",\n MARKDOWN_DOCUMENT = \"MARKDOWN_DOCUMENT\",\n NAVIGATION_INDEX = \"NAVIGATION_INDEX\",\n OPENAPI_DOCUMENT = \"OPENAPI_DOCUMENT\",\n}\n\n/**\n * Public API release identifier rendered into every OpenAPI document and bound\n * into the aggregate render manifest. `0.0.0` was the legacy absence marker;\n * publishing it would make a syntactically valid document that lies about its\n * supported contract, so the publication boundary rejects it.\n */\nexport const TechnicalDocumentationSupportedApiVersionSchema = z.string().trim().min(1).max(100).refine(\n (version) => version !== \"0.0.0\",\n \"supported API version must be explicit and cannot use the legacy 0.0.0 placeholder\",\n);\nexport type TechnicalDocumentationSupportedApiVersion = z.infer<typeof TechnicalDocumentationSupportedApiVersionSchema>;\n\nexport const TechnicalDocumentationUnitPublicationDecisionV1Schema = z.strictObject({\n unitRef: MetaWorkflow_NamespacedRefSchema,\n decision: z.enum(TechnicalDocumentationPublicationDecision),\n reason: z.enum(TechnicalDocumentationPublicationReason),\n /** The unit version this decision was taken over. `unitRef@sourceUnitVersion` is what it decided about. */\n sourceUnitVersion: MetaWorkflow_PositiveVersionSchema,\n /** The version actually emitted, or null when the unit was suppressed and nothing shipped. */\n publishedUnitVersion: MetaWorkflow_PositiveVersionSchema.nullable(),\n}).superRefine((decision, context) => {\n const isSuppressed = decision.decision === TechnicalDocumentationPublicationDecision.SUPPRESS;\n if (isSuppressed !== (decision.publishedUnitVersion === null)) {\n context.addIssue({ code: \"custom\", message: \"only suppressed units omit publishedUnitVersion\", path: [\"publishedUnitVersion\"] });\n }\n if ((decision.reason === TechnicalDocumentationPublicationReason.INCLUDED_BY_POLICY)\n !== (decision.decision === TechnicalDocumentationPublicationDecision.INCLUDE)) {\n context.addIssue({ code: \"custom\", message: \"INCLUDED_BY_POLICY is reserved for INCLUDE decisions\", path: [\"reason\"] });\n }\n});\nexport type TechnicalDocumentationUnitPublicationDecisionV1 = z.infer<typeof TechnicalDocumentationUnitPublicationDecisionV1Schema>;\n\n/** A content-minimized bundle; it contains only units authorized for its one channel. */\nexport const TechnicalDocumentationAuthorizedBundleManifestV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n /** This bundle's own identity. Every later stage names it by `bundleRef@bundleVersion`. */\n bundleRef: MetaWorkflow_NamespacedRefSchema,\n bundleVersion: MetaWorkflow_PositiveVersionSchema,\n channel: z.enum(TechnicalDocumentationChannel),\n policyRef: MetaWorkflow_NamespacedRefSchema,\n policyVersion: MetaWorkflow_PositiveVersionSchema,\n /** The stage-1 derivation these units came out of, named rather than hashed. */\n derivationIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n units: z.array(TechnicalDocumentationUnitV1Schema),\n decisions: z.array(TechnicalDocumentationUnitPublicationDecisionV1Schema),\n })\n .superRefine((bundle, context) => {\n const unitRefs = bundle.units.map((unit) => unit.unitRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unitRefs)) {\n context.addIssue({ code: \"custom\", message: \"authorized units must be unique and sorted by unitRef\", path: [\"units\"] });\n }\n const decisionRefs = bundle.decisions.map((decision) => decision.unitRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(decisionRefs)) {\n context.addIssue({ code: \"custom\", message: \"publication decisions must be unique and sorted by unitRef\", path: [\"decisions\"] });\n }\n const emittedDecisions = bundle.decisions.filter((decision) => decision.decision !== TechnicalDocumentationPublicationDecision.SUPPRESS);\n if (emittedDecisions.map((decision) => decision.unitRef).join(\"\\0\") !== unitRefs.join(\"\\0\")) {\n context.addIssue({ code: \"custom\", message: \"included and redacted decisions must exactly cover emitted units\", path: [\"decisions\"] });\n }\n for (const [unitIndex, unit] of bundle.units.entries()) {\n if (emittedDecisions[unitIndex]?.publishedUnitVersion !== unit.unitVersion) {\n context.addIssue({ code: \"custom\", message: \"emitted unit version must match its publication decision\", path: [\"units\", unitIndex, \"unitVersion\"] });\n }\n }\n const unitRefSet = new Set(unitRefs);\n for (const [unitIndex, unit] of bundle.units.entries()) {\n for (const [linkIndex, link] of unit.links.entries()) {\n if (link.targetUnitRef !== null && !unitRefSet.has(link.targetUnitRef)) {\n context.addIssue({ code: \"custom\", message: \"authorized bundle contains a dangling unit link\", path: [\"units\", unitIndex, \"links\", linkIndex] });\n }\n }\n }\n if (bundle.channel === TechnicalDocumentationChannel.PUBLIC_PORTAL) {\n for (const [unitIndex, unit] of bundle.units.entries()) {\n if (unit.accessClass !== TechnicalDocumentationAccessClass.PUBLIC) {\n context.addIssue({ code: \"custom\", message: \"public bundles can contain only PUBLIC units\", path: [\"units\", unitIndex, \"accessClass\"] });\n }\n if (unit.provenance.some((source) => source.classification !== TechnicalDocumentationSourceClassification.PUBLIC)) {\n context.addIssue({ code: \"custom\", message: \"public bundles cannot retain authenticated or restricted source metadata\", path: [\"units\", unitIndex, \"provenance\"] });\n }\n if (unit.assetRequests.some((asset) => asset.accessClass !== TechnicalDocumentationAssetAccessClass.PUBLIC)) {\n context.addIssue({ code: \"custom\", message: \"public bundles cannot request authenticated or restricted assets\", path: [\"units\", unitIndex, \"assetRequests\"] });\n }\n }\n const secretPath = findTechnicalDocumentationSecretShapedPath(bundle);\n if (secretPath !== null) {\n context.addIssue({ code: \"custom\", message: \"public bundles cannot contain secret-shaped fields\", path: secretPath });\n }\n }\n });\nexport type TechnicalDocumentationAuthorizedBundleManifestV1 = z.infer<typeof TechnicalDocumentationAuthorizedBundleManifestV1Schema>;\n\nexport const TechnicalDocumentationRenderOutputV1Schema = z.strictObject({\n outputRef: MetaWorkflow_NamespacedRefSchema,\n rendererRef: MetaWorkflow_NamespacedRefSchema,\n outputKind: z.enum(TechnicalDocumentationOutputKind),\n sourceUnitRefs: z.array(MetaWorkflow_NamespacedRefSchema).min(1),\n normalizedRelativePath: TechnicalDocumentationNormalizedRelativePathSchema,\n mediaType: z.string().regex(/^[a-z0-9.+-]+\\/[a-z0-9.+-]+$/),\n byteLength: z.number().int().nonnegative(),\n byteDigest: MetaWorkflow_Sha256DigestSchema,\n});\nexport type TechnicalDocumentationRenderOutputV1 = z.infer<typeof TechnicalDocumentationRenderOutputV1Schema>;\n\n/** One exact renderer implementation/configuration participating in a render. */\nexport const TechnicalDocumentationRendererExecutionV1Schema = z.strictObject({\n rendererKind: z.enum(TechnicalDocumentationRendererKind),\n rendererRef: MetaWorkflow_NamespacedRefSchema,\n rendererVersion: MetaWorkflow_PositiveVersionSchema,\n /**\n * The renderer's configuration, named. It was a sha256 of the configuration object until\n * 2026-08-27, alongside a sha256 of the renderer's own `Function.prototype.toString()` — an\n * implementation pin of exactly the shape retired in the assurance program, sitting beside a\n * `rendererRef` + `rendererVersion` pair that already says the same thing legibly.\n */\n configurationRef: MetaWorkflow_NamespacedRefSchema,\n});\nexport type TechnicalDocumentationRendererExecutionV1 = z.infer<typeof TechnicalDocumentationRendererExecutionV1Schema>;\n\nexport const TechnicalDocumentationRenderOutputManifestV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n /** This render's own identity. The publication pointer selects a render by `renderRef@renderVersion`. */\n renderRef: MetaWorkflow_NamespacedRefSchema,\n renderVersion: MetaWorkflow_PositiveVersionSchema,\n authorizedBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n resolvedAssetBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n supportedApiVersion: TechnicalDocumentationSupportedApiVersionSchema,\n rendererExecutions: z.array(TechnicalDocumentationRendererExecutionV1Schema).min(1),\n outputs: z.array(TechnicalDocumentationRenderOutputV1Schema).min(1),\n })\n .superRefine((manifest, context) => {\n const rendererRefs = manifest.rendererExecutions.map((renderer) => renderer.rendererRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(rendererRefs)) {\n context.addIssue({ code: \"custom\", message: \"renderer executions must be unique and sorted by rendererRef\", path: [\"rendererExecutions\"] });\n }\n const refs = manifest.outputs.map((output) => output.outputRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(refs)) {\n context.addIssue({ code: \"custom\", message: \"render outputs must be unique and sorted by outputRef\", path: [\"outputs\"] });\n }\n const paths = manifest.outputs.map((output) => output.normalizedRelativePath);\n if (!technicalDocumentationPathsAreUnique(paths)) {\n context.addIssue({ code: \"custom\", message: \"render paths must be unique, including case-folded uniqueness\", path: [\"outputs\"] });\n }\n const rendererRefSet = new Set(rendererRefs);\n const usedRendererRefs = new Set<string>();\n for (const [outputIndex, output] of manifest.outputs.entries()) {\n if (!rendererRefSet.has(output.rendererRef)) {\n context.addIssue({ code: \"custom\", message: \"render output must reference a declared renderer execution\", path: [\"outputs\", outputIndex, \"rendererRef\"] });\n }\n usedRendererRefs.add(output.rendererRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(output.sourceUnitRefs)) {\n context.addIssue({ code: \"custom\", message: \"render output sourceUnitRefs must be unique and sorted\", path: [\"outputs\", outputIndex, \"sourceUnitRefs\"] });\n }\n }\n for (const [rendererIndex, renderer] of manifest.rendererExecutions.entries()) {\n if (!usedRendererRefs.has(renderer.rendererRef)) {\n context.addIssue({ code: \"custom\", message: \"every renderer execution must produce at least one output\", path: [\"rendererExecutions\", rendererIndex, \"rendererRef\"] });\n }\n }\n });\nexport type TechnicalDocumentationRenderOutputManifestV1 = z.infer<typeof TechnicalDocumentationRenderOutputManifestV1Schema>;\n\nexport function createTechnicalDocumentationRenderOutputManifestV1(\n input: TechnicalDocumentationRenderOutputManifestV1,\n): TechnicalDocumentationRenderOutputManifestV1 {\n return TechnicalDocumentationRenderOutputManifestV1Schema.parse({\n ...input,\n rendererExecutions: canonicalizeTechnicalDocumentationRows(input.rendererExecutions, (renderer) => renderer.rendererRef),\n outputs: canonicalizeTechnicalDocumentationRows(input.outputs, (output) => output.outputRef).map((output) => ({\n ...output,\n sourceUnitRefs: [...output.sourceUnitRefs].sort(),\n })),\n });\n}\n\n/**\n * Mutable selection state. Each replacement creates a new monotonic revision.\n *\n * The revision WAS a hash chain — every pointer carried its own `pointerDigest` and its\n * predecessor's `previousPointerDigest`. Two branches that each publish produce two chains over one\n * `pointerRef` and nothing can merge them, which is why `.claude/rules/one-source-of-truth.md`\n * Rule 0 puts chains out. A monotonic `revision` says the same thing about order, and the commit\n * that recorded each revision says everything the chain was supposed to prove about history.\n */\nexport const TechnicalDocumentationPublicationPointerV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n pointerRef: MetaWorkflow_NamespacedRefSchema,\n revision: MetaWorkflow_PositiveVersionSchema,\n channel: z.enum(TechnicalDocumentationChannel),\n /**\n * The three identities that together ARE the selected publication content. They replace a\n * `selectedPublicationContentDigest` that was a sha256 over exactly these three values — a\n * derived name for a triple that is perfectly readable as a triple.\n */\n selectedAuthorizedBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n selectedResolvedAssetBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n selectedRenderIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n updatedAt: MetaWorkflow_IsoDateTimeSchema,\n });\nexport type TechnicalDocumentationPublicationPointerV1 = z.infer<typeof TechnicalDocumentationPublicationPointerV1Schema>;\n\nexport function createTechnicalDocumentationPublicationPointerV1(\n input: TechnicalDocumentationPublicationPointerV1,\n): TechnicalDocumentationPublicationPointerV1 {\n return TechnicalDocumentationPublicationPointerV1Schema.parse(input);\n}\n\nexport function createTechnicalDocumentationReplacementPointerV1(\n currentPointer: TechnicalDocumentationPublicationPointerV1,\n selection: Pick<\n TechnicalDocumentationPublicationPointerV1,\n \"selectedAuthorizedBundleIdentity\" | \"selectedRenderIdentity\" | \"selectedResolvedAssetBundleIdentity\"\n >,\n updatedAt: string,\n): TechnicalDocumentationPublicationPointerV1 {\n return createTechnicalDocumentationPublicationPointerV1({\n schemaVersion: 1,\n pointerRef: currentPointer.pointerRef,\n revision: currentPointer.revision + 1,\n channel: currentPointer.channel,\n ...selection,\n updatedAt,\n });\n}\n\n/** A rollback is a later pointer revision selecting a previously accepted immutable publication. */\nexport function createTechnicalDocumentationRollbackPointerV1(\n currentPointer: TechnicalDocumentationPublicationPointerV1,\n selectedFact: TechnicalDocumentationPublicationFactV1,\n updatedAt: string,\n): TechnicalDocumentationPublicationPointerV1 {\n if (selectedFact.pointerRef !== currentPointer.pointerRef || selectedFact.pointerRevision >= currentPointer.revision) {\n throw new Error(\"rollback must select an earlier immutable publication fact for the same pointer\");\n }\n return createTechnicalDocumentationPublicationPointerV1({\n schemaVersion: 1,\n pointerRef: currentPointer.pointerRef,\n revision: currentPointer.revision + 1,\n channel: currentPointer.channel,\n selectedAuthorizedBundleIdentity: selectedFact.authorizedBundleIdentity,\n selectedResolvedAssetBundleIdentity: selectedFact.resolvedAssetBundleIdentity,\n selectedRenderIdentity: selectedFact.renderIdentity,\n updatedAt,\n });\n}\n\n/** Immutable publication evidence, separate from the mutable selected pointer. */\nexport const TechnicalDocumentationPublicationFactV1Schema = z.strictObject({\n schemaVersion: z.literal(1),\n factId: MetaWorkflow_LowercaseUuidV4Schema,\n pointerRef: MetaWorkflow_NamespacedRefSchema,\n pointerRevision: MetaWorkflow_PositiveVersionSchema,\n authorizedBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n resolvedAssetBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n renderIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n publishedAt: MetaWorkflow_IsoDateTimeSchema,\n});\nexport type TechnicalDocumentationPublicationFactV1 = z.infer<typeof TechnicalDocumentationPublicationFactV1Schema>;\n\nexport function createTechnicalDocumentationPublicationFactV1(\n pointer: TechnicalDocumentationPublicationPointerV1,\n input: Pick<\n TechnicalDocumentationPublicationFactV1,\n \"authorizedBundleIdentity\" | \"factId\" | \"publishedAt\" | \"renderIdentity\" | \"resolvedAssetBundleIdentity\"\n >,\n): TechnicalDocumentationPublicationFactV1 {\n /*\n * The fact must record what the pointer SELECTED, not what the caller happened to hand over.\n * This was a digest comparison until 2026-08-27; it is now three identity comparisons, which say\n * the same thing and name the disagreeing stage when they fail.\n */\n const mismatched = [\n [\"authorized bundle\", pointer.selectedAuthorizedBundleIdentity, input.authorizedBundleIdentity] as const,\n [\"resolved asset bundle\", pointer.selectedResolvedAssetBundleIdentity, input.resolvedAssetBundleIdentity] as const,\n [\"render\", pointer.selectedRenderIdentity, input.renderIdentity] as const,\n ].filter(([, selected, supplied]) => !technicalDocumentationIdentitiesAreEqual(selected, supplied));\n if (mismatched.length > 0) {\n throw new Error(\n `publication pointer does not select the supplied immutable publication content: ${mismatched\n .map(([stage, selected, supplied]) => `${stage} expected ${selected.ref}@${selected.version}, received ${supplied.ref}@${supplied.version}`)\n .join(\"; \")}`,\n );\n }\n return TechnicalDocumentationPublicationFactV1Schema.parse({\n schemaVersion: 1 as const,\n factId: input.factId,\n pointerRef: pointer.pointerRef,\n pointerRevision: pointer.revision,\n authorizedBundleIdentity: input.authorizedBundleIdentity,\n resolvedAssetBundleIdentity: input.resolvedAssetBundleIdentity,\n renderIdentity: input.renderIdentity,\n publishedAt: input.publishedAt,\n });\n}\n\nexport function canonicalizeTechnicalDocumentationAuthorizedBundleInput(\n input: TechnicalDocumentationAuthorizedBundleManifestV1,\n): TechnicalDocumentationAuthorizedBundleManifestV1 {\n return {\n ...input,\n units: canonicalizeTechnicalDocumentationRows(input.units, (unit) => unit.unitRef),\n decisions: canonicalizeTechnicalDocumentationRows(input.decisions, (decision) => decision.unitRef),\n };\n}\n\nexport function createTechnicalDocumentationAuthorizedBundleManifestV1(\n input: TechnicalDocumentationAuthorizedBundleManifestV1,\n): TechnicalDocumentationAuthorizedBundleManifestV1 {\n return TechnicalDocumentationAuthorizedBundleManifestV1Schema.parse(canonicalizeTechnicalDocumentationAuthorizedBundleInput(input));\n}\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation-publication.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-publication.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,8BAA8B,EAAE,kCAAkC,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEjO,OAAO,EACL,sCAAsC,EACtC,0CAA0C,EAC1C,wCAAwC,EACxC,kDAAkD,EAClD,+CAA+C,EAC/C,oCAAoC,EACpC,8CAA8C,GAC/C,MAAM,0CAA0C,CAAC;AAClD,OAAO,E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IACJ,CAAC;IACD,OAAO,6CAA6C,CAAC,KAAK,CAAC;QACzD,aAAa,EAAE,CAAU;QACzB,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,eAAe,EAAE,OAAO,CAAC,QAAQ;QACjC,wBAAwB,EAAE,KAAK,CAAC,wBAAwB;QACxD,2BAA2B,EAAE,KAAK,CAAC,2BAA2B;QAC9D,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,WAAW,EAAE,KAAK,CAAC,WAAW;KAC/B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,uDAAuD,CACrE,KAAuD;IAEvD,OAAO;QACL,GAAG,KAAK;QACR,KAAK,EAAE,sCAAsC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAClF,SAAS,EAAE,sCAAsC,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;KACnG,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sDAAsD,CACpE,KAAuD;IAEvD,OAAO,sDAAsD,CAAC,KAAK,CAAC,uDAAuD,CAAC,KAAK,CAAC,CAAC,CAAC;AACtI,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_IsoDateTimeSchema, MetaWorkflow_LowercaseUuidV4Schema, MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema, MetaWorkflow_Sha256DigestSchema } from \"@wildo-ai/saas-models/public-runtime\";\n\nimport {\n canonicalizeTechnicalDocumentationRows,\n findTechnicalDocumentationSecretShapedPath,\n technicalDocumentationIdentitiesAreEqual,\n TechnicalDocumentationNormalizedRelativePathSchema,\n TechnicalDocumentationVersionedIdentityV1Schema,\n technicalDocumentationPathsAreUnique,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport { TechnicalDocumentationAssetAccessClass } from \"./technical-documentation-assets.schemas\";\nimport {\n TechnicalDocumentationAccessClass,\n TechnicalDocumentationChannel,\n TechnicalDocumentationPublicationDecision,\n TechnicalDocumentationPublicationReason,\n TechnicalDocumentationSourceClassification,\n TechnicalDocumentationUnitV1Schema,\n} from \"./technical-documentation-units.schemas\";\n\nexport enum TechnicalDocumentationRendererKind {\n DOCUSAURUS = \"DOCUSAURUS\",\n HTML = \"HTML\",\n MARKDOWN = \"MARKDOWN\",\n OPENAPI = \"OPENAPI\",\n}\n\nexport enum TechnicalDocumentationOutputKind {\n ASSET = \"ASSET\",\n HTML_PAGE = \"HTML_PAGE\",\n MARKDOWN_DOCUMENT = \"MARKDOWN_DOCUMENT\",\n NAVIGATION_INDEX = \"NAVIGATION_INDEX\",\n OPENAPI_DOCUMENT = \"OPENAPI_DOCUMENT\",\n}\n\n/**\n * Public API release identifier rendered into every OpenAPI document and bound\n * into the aggregate render manifest. `0.0.0` was the legacy absence marker;\n * publishing it would make a syntactically valid document that lies about its\n * supported contract, so the publication boundary rejects it.\n */\nexport const TechnicalDocumentationSupportedApiVersionSchema = z.string().trim().min(1).max(100).refine(\n (version) => version !== \"0.0.0\",\n \"supported API version must be explicit and cannot use the legacy 0.0.0 placeholder\",\n);\nexport type TechnicalDocumentationSupportedApiVersion = z.infer<typeof TechnicalDocumentationSupportedApiVersionSchema>;\n\nexport const TechnicalDocumentationUnitPublicationDecisionV1Schema = z.strictObject({\n unitRef: MetaWorkflow_NamespacedRefSchema,\n decision: z.enum(TechnicalDocumentationPublicationDecision),\n reason: z.enum(TechnicalDocumentationPublicationReason),\n /** The unit version this decision was taken over. `unitRef@sourceUnitVersion` is what it decided about. */\n sourceUnitVersion: MetaWorkflow_PositiveVersionSchema,\n /** The version actually emitted, or null when the unit was suppressed and nothing shipped. */\n publishedUnitVersion: MetaWorkflow_PositiveVersionSchema.nullable(),\n}).superRefine((decision, context) => {\n const isSuppressed = decision.decision === TechnicalDocumentationPublicationDecision.SUPPRESS;\n if (isSuppressed !== (decision.publishedUnitVersion === null)) {\n context.addIssue({ code: \"custom\", message: \"only suppressed units omit publishedUnitVersion\", path: [\"publishedUnitVersion\"] });\n }\n if ((decision.reason === TechnicalDocumentationPublicationReason.INCLUDED_BY_POLICY)\n !== (decision.decision === TechnicalDocumentationPublicationDecision.INCLUDE)) {\n context.addIssue({ code: \"custom\", message: \"INCLUDED_BY_POLICY is reserved for INCLUDE decisions\", path: [\"reason\"] });\n }\n});\nexport type TechnicalDocumentationUnitPublicationDecisionV1 = z.infer<typeof TechnicalDocumentationUnitPublicationDecisionV1Schema>;\n\n/** A content-minimized bundle; it contains only units authorized for its one channel. */\nexport const TechnicalDocumentationAuthorizedBundleManifestV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n /** This bundle's own identity. Every later stage names it by `bundleRef@bundleVersion`. */\n bundleRef: MetaWorkflow_NamespacedRefSchema,\n bundleVersion: MetaWorkflow_PositiveVersionSchema,\n channel: z.enum(TechnicalDocumentationChannel),\n policyRef: MetaWorkflow_NamespacedRefSchema,\n policyVersion: MetaWorkflow_PositiveVersionSchema,\n /** The stage-1 derivation these units came out of, named rather than hashed. */\n derivationIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n units: z.array(TechnicalDocumentationUnitV1Schema),\n decisions: z.array(TechnicalDocumentationUnitPublicationDecisionV1Schema),\n })\n .superRefine((bundle, context) => {\n const unitRefs = bundle.units.map((unit) => unit.unitRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unitRefs)) {\n context.addIssue({ code: \"custom\", message: \"authorized units must be unique and sorted by unitRef\", path: [\"units\"] });\n }\n const decisionRefs = bundle.decisions.map((decision) => decision.unitRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(decisionRefs)) {\n context.addIssue({ code: \"custom\", message: \"publication decisions must be unique and sorted by unitRef\", path: [\"decisions\"] });\n }\n const emittedDecisions = bundle.decisions.filter((decision) => decision.decision !== TechnicalDocumentationPublicationDecision.SUPPRESS);\n if (emittedDecisions.map((decision) => decision.unitRef).join(\"\\0\") !== unitRefs.join(\"\\0\")) {\n context.addIssue({ code: \"custom\", message: \"included and redacted decisions must exactly cover emitted units\", path: [\"decisions\"] });\n }\n for (const [unitIndex, unit] of bundle.units.entries()) {\n if (emittedDecisions[unitIndex]?.publishedUnitVersion !== unit.unitVersion) {\n context.addIssue({ code: \"custom\", message: \"emitted unit version must match its publication decision\", path: [\"units\", unitIndex, \"unitVersion\"] });\n }\n }\n const unitRefSet = new Set(unitRefs);\n for (const [unitIndex, unit] of bundle.units.entries()) {\n for (const [linkIndex, link] of unit.links.entries()) {\n if (link.targetUnitRef !== null && !unitRefSet.has(link.targetUnitRef)) {\n context.addIssue({ code: \"custom\", message: \"authorized bundle contains a dangling unit link\", path: [\"units\", unitIndex, \"links\", linkIndex] });\n }\n }\n }\n if (bundle.channel === TechnicalDocumentationChannel.PUBLIC_PORTAL) {\n for (const [unitIndex, unit] of bundle.units.entries()) {\n if (unit.accessClass !== TechnicalDocumentationAccessClass.PUBLIC) {\n context.addIssue({ code: \"custom\", message: \"public bundles can contain only PUBLIC units\", path: [\"units\", unitIndex, \"accessClass\"] });\n }\n if (unit.provenance.some((source) => source.classification !== TechnicalDocumentationSourceClassification.PUBLIC)) {\n context.addIssue({ code: \"custom\", message: \"public bundles cannot retain authenticated or restricted source metadata\", path: [\"units\", unitIndex, \"provenance\"] });\n }\n if (unit.assetRequests.some((asset) => asset.accessClass !== TechnicalDocumentationAssetAccessClass.PUBLIC)) {\n context.addIssue({ code: \"custom\", message: \"public bundles cannot request authenticated or restricted assets\", path: [\"units\", unitIndex, \"assetRequests\"] });\n }\n }\n const secretPath = findTechnicalDocumentationSecretShapedPath(bundle);\n if (secretPath !== null) {\n context.addIssue({ code: \"custom\", message: \"public bundles cannot contain secret-shaped fields\", path: secretPath });\n }\n }\n });\nexport type TechnicalDocumentationAuthorizedBundleManifestV1 = z.infer<typeof TechnicalDocumentationAuthorizedBundleManifestV1Schema>;\n\nexport const TechnicalDocumentationRenderOutputV1Schema = z.strictObject({\n outputRef: MetaWorkflow_NamespacedRefSchema,\n rendererRef: MetaWorkflow_NamespacedRefSchema,\n outputKind: z.enum(TechnicalDocumentationOutputKind),\n sourceUnitRefs: z.array(MetaWorkflow_NamespacedRefSchema).min(1),\n normalizedRelativePath: TechnicalDocumentationNormalizedRelativePathSchema,\n mediaType: z.string().regex(/^[a-z0-9.+-]+\\/[a-z0-9.+-]+$/),\n byteLength: z.number().int().nonnegative(),\n byteDigest: MetaWorkflow_Sha256DigestSchema,\n});\nexport type TechnicalDocumentationRenderOutputV1 = z.infer<typeof TechnicalDocumentationRenderOutputV1Schema>;\n\n/** One exact renderer implementation/configuration participating in a render. */\nexport const TechnicalDocumentationRendererExecutionV1Schema = z.strictObject({\n rendererKind: z.enum(TechnicalDocumentationRendererKind),\n rendererRef: MetaWorkflow_NamespacedRefSchema,\n rendererVersion: MetaWorkflow_PositiveVersionSchema,\n /**\n * The renderer's configuration, named. It was a sha256 of the configuration object until\n * 2026-08-27, alongside a sha256 of the renderer's own `Function.prototype.toString()` — an\n * implementation pin of exactly the shape retired in the assurance program, sitting beside a\n * `rendererRef` + `rendererVersion` pair that already says the same thing legibly.\n */\n configurationRef: MetaWorkflow_NamespacedRefSchema,\n});\nexport type TechnicalDocumentationRendererExecutionV1 = z.infer<typeof TechnicalDocumentationRendererExecutionV1Schema>;\n\nexport const TechnicalDocumentationRenderOutputManifestV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n /** This render's own identity. The publication pointer selects a render by `renderRef@renderVersion`. */\n renderRef: MetaWorkflow_NamespacedRefSchema,\n renderVersion: MetaWorkflow_PositiveVersionSchema,\n authorizedBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n resolvedAssetBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n supportedApiVersion: TechnicalDocumentationSupportedApiVersionSchema,\n rendererExecutions: z.array(TechnicalDocumentationRendererExecutionV1Schema).min(1),\n outputs: z.array(TechnicalDocumentationRenderOutputV1Schema).min(1),\n })\n .superRefine((manifest, context) => {\n const rendererRefs = manifest.rendererExecutions.map((renderer) => renderer.rendererRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(rendererRefs)) {\n context.addIssue({ code: \"custom\", message: \"renderer executions must be unique and sorted by rendererRef\", path: [\"rendererExecutions\"] });\n }\n const refs = manifest.outputs.map((output) => output.outputRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(refs)) {\n context.addIssue({ code: \"custom\", message: \"render outputs must be unique and sorted by outputRef\", path: [\"outputs\"] });\n }\n const paths = manifest.outputs.map((output) => output.normalizedRelativePath);\n if (!technicalDocumentationPathsAreUnique(paths)) {\n context.addIssue({ code: \"custom\", message: \"render paths must be unique, including case-folded uniqueness\", path: [\"outputs\"] });\n }\n const rendererRefSet = new Set(rendererRefs);\n const usedRendererRefs = new Set<string>();\n for (const [outputIndex, output] of manifest.outputs.entries()) {\n if (!rendererRefSet.has(output.rendererRef)) {\n context.addIssue({ code: \"custom\", message: \"render output must reference a declared renderer execution\", path: [\"outputs\", outputIndex, \"rendererRef\"] });\n }\n usedRendererRefs.add(output.rendererRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(output.sourceUnitRefs)) {\n context.addIssue({ code: \"custom\", message: \"render output sourceUnitRefs must be unique and sorted\", path: [\"outputs\", outputIndex, \"sourceUnitRefs\"] });\n }\n }\n for (const [rendererIndex, renderer] of manifest.rendererExecutions.entries()) {\n if (!usedRendererRefs.has(renderer.rendererRef)) {\n context.addIssue({ code: \"custom\", message: \"every renderer execution must produce at least one output\", path: [\"rendererExecutions\", rendererIndex, \"rendererRef\"] });\n }\n }\n });\nexport type TechnicalDocumentationRenderOutputManifestV1 = z.infer<typeof TechnicalDocumentationRenderOutputManifestV1Schema>;\n\nexport function createTechnicalDocumentationRenderOutputManifestV1(\n input: TechnicalDocumentationRenderOutputManifestV1,\n): TechnicalDocumentationRenderOutputManifestV1 {\n return TechnicalDocumentationRenderOutputManifestV1Schema.parse({\n ...input,\n rendererExecutions: canonicalizeTechnicalDocumentationRows(input.rendererExecutions, (renderer) => renderer.rendererRef),\n outputs: canonicalizeTechnicalDocumentationRows(input.outputs, (output) => output.outputRef).map((output) => ({\n ...output,\n sourceUnitRefs: [...output.sourceUnitRefs].sort(),\n })),\n });\n}\n\n/**\n * Mutable selection state. Each replacement creates a new monotonic revision.\n *\n * The revision WAS a hash chain — every pointer carried its own `pointerDigest` and its\n * predecessor's `previousPointerDigest`. Two branches that each publish produce two chains over one\n * `pointerRef` and nothing can merge them, which is why `.claude/rules/one-source-of-truth.md`\n * Rule 0 puts chains out. A monotonic `revision` says the same thing about order, and the commit\n * that recorded each revision says everything the chain was supposed to prove about history.\n */\nexport const TechnicalDocumentationPublicationPointerV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n pointerRef: MetaWorkflow_NamespacedRefSchema,\n revision: MetaWorkflow_PositiveVersionSchema,\n channel: z.enum(TechnicalDocumentationChannel),\n /**\n * The three identities that together ARE the selected publication content. They replace a\n * `selectedPublicationContentDigest` that was a sha256 over exactly these three values — a\n * derived name for a triple that is perfectly readable as a triple.\n */\n selectedAuthorizedBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n selectedResolvedAssetBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n selectedRenderIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n updatedAt: MetaWorkflow_IsoDateTimeSchema,\n });\nexport type TechnicalDocumentationPublicationPointerV1 = z.infer<typeof TechnicalDocumentationPublicationPointerV1Schema>;\n\nexport function createTechnicalDocumentationPublicationPointerV1(\n input: TechnicalDocumentationPublicationPointerV1,\n): TechnicalDocumentationPublicationPointerV1 {\n return TechnicalDocumentationPublicationPointerV1Schema.parse(input);\n}\n\nexport function createTechnicalDocumentationReplacementPointerV1(\n currentPointer: TechnicalDocumentationPublicationPointerV1,\n selection: Pick<\n TechnicalDocumentationPublicationPointerV1,\n \"selectedAuthorizedBundleIdentity\" | \"selectedRenderIdentity\" | \"selectedResolvedAssetBundleIdentity\"\n >,\n updatedAt: string,\n): TechnicalDocumentationPublicationPointerV1 {\n return createTechnicalDocumentationPublicationPointerV1({\n schemaVersion: 1,\n pointerRef: currentPointer.pointerRef,\n revision: currentPointer.revision + 1,\n channel: currentPointer.channel,\n ...selection,\n updatedAt,\n });\n}\n\n/** A rollback is a later pointer revision selecting a previously accepted immutable publication. */\nexport function createTechnicalDocumentationRollbackPointerV1(\n currentPointer: TechnicalDocumentationPublicationPointerV1,\n selectedFact: TechnicalDocumentationPublicationFactV1,\n updatedAt: string,\n): TechnicalDocumentationPublicationPointerV1 {\n if (selectedFact.pointerRef !== currentPointer.pointerRef || selectedFact.pointerRevision >= currentPointer.revision) {\n throw new Error(\"rollback must select an earlier immutable publication fact for the same pointer\");\n }\n return createTechnicalDocumentationPublicationPointerV1({\n schemaVersion: 1,\n pointerRef: currentPointer.pointerRef,\n revision: currentPointer.revision + 1,\n channel: currentPointer.channel,\n selectedAuthorizedBundleIdentity: selectedFact.authorizedBundleIdentity,\n selectedResolvedAssetBundleIdentity: selectedFact.resolvedAssetBundleIdentity,\n selectedRenderIdentity: selectedFact.renderIdentity,\n updatedAt,\n });\n}\n\n/** Immutable publication evidence, separate from the mutable selected pointer. */\nexport const TechnicalDocumentationPublicationFactV1Schema = z.strictObject({\n schemaVersion: z.literal(1),\n factId: MetaWorkflow_LowercaseUuidV4Schema,\n pointerRef: MetaWorkflow_NamespacedRefSchema,\n pointerRevision: MetaWorkflow_PositiveVersionSchema,\n authorizedBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n resolvedAssetBundleIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n renderIdentity: TechnicalDocumentationVersionedIdentityV1Schema,\n publishedAt: MetaWorkflow_IsoDateTimeSchema,\n});\nexport type TechnicalDocumentationPublicationFactV1 = z.infer<typeof TechnicalDocumentationPublicationFactV1Schema>;\n\nexport function createTechnicalDocumentationPublicationFactV1(\n pointer: TechnicalDocumentationPublicationPointerV1,\n input: Pick<\n TechnicalDocumentationPublicationFactV1,\n \"authorizedBundleIdentity\" | \"factId\" | \"publishedAt\" | \"renderIdentity\" | \"resolvedAssetBundleIdentity\"\n >,\n): TechnicalDocumentationPublicationFactV1 {\n /*\n * The fact must record what the pointer SELECTED, not what the caller happened to hand over.\n * This was a digest comparison until 2026-08-27; it is now three identity comparisons, which say\n * the same thing and name the disagreeing stage when they fail.\n */\n const mismatched = [\n [\"authorized bundle\", pointer.selectedAuthorizedBundleIdentity, input.authorizedBundleIdentity] as const,\n [\"resolved asset bundle\", pointer.selectedResolvedAssetBundleIdentity, input.resolvedAssetBundleIdentity] as const,\n [\"render\", pointer.selectedRenderIdentity, input.renderIdentity] as const,\n ].filter(([, selected, supplied]) => !technicalDocumentationIdentitiesAreEqual(selected, supplied));\n if (mismatched.length > 0) {\n throw new Error(\n `publication pointer does not select the supplied immutable publication content: ${mismatched\n .map(([stage, selected, supplied]) => `${stage} expected ${selected.ref}@${selected.version}, received ${supplied.ref}@${supplied.version}`)\n .join(\"; \")}`,\n );\n }\n return TechnicalDocumentationPublicationFactV1Schema.parse({\n schemaVersion: 1 as const,\n factId: input.factId,\n pointerRef: pointer.pointerRef,\n pointerRevision: pointer.revision,\n authorizedBundleIdentity: input.authorizedBundleIdentity,\n resolvedAssetBundleIdentity: input.resolvedAssetBundleIdentity,\n renderIdentity: input.renderIdentity,\n publishedAt: input.publishedAt,\n });\n}\n\nexport function canonicalizeTechnicalDocumentationAuthorizedBundleInput(\n input: TechnicalDocumentationAuthorizedBundleManifestV1,\n): TechnicalDocumentationAuthorizedBundleManifestV1 {\n return {\n ...input,\n units: canonicalizeTechnicalDocumentationRows(input.units, (unit) => unit.unitRef),\n decisions: canonicalizeTechnicalDocumentationRows(input.decisions, (decision) => decision.unitRef),\n };\n}\n\nexport function createTechnicalDocumentationAuthorizedBundleManifestV1(\n input: TechnicalDocumentationAuthorizedBundleManifestV1,\n): TechnicalDocumentationAuthorizedBundleManifestV1 {\n return TechnicalDocumentationAuthorizedBundleManifestV1Schema.parse(canonicalizeTechnicalDocumentationAuthorizedBundleInput(input));\n}\n"]}
|
|
@@ -11,6 +11,13 @@ export declare enum TechnicalDocumentationUnitKind {
|
|
|
11
11
|
TROUBLESHOOTING = "TROUBLESHOOTING"
|
|
12
12
|
}
|
|
13
13
|
export declare enum TechnicalDocumentationSourceOwnership {
|
|
14
|
+
/**
|
|
15
|
+
* Prose the APPLICATION wrote: a documentation chapter its plan declares and its specifications
|
|
16
|
+
* package carries (#874). Distinct from a companion projection, whose words the engine writes and
|
|
17
|
+
* whose subject the application supplies — here the application owns the words too, so a reader
|
|
18
|
+
* tracing a sentence back must land in the application's own files.
|
|
19
|
+
*/
|
|
20
|
+
APPLICATION_AUTHORED = "APPLICATION_AUTHORED",
|
|
14
21
|
/** A resolved application configuration projected by the application's companion. */
|
|
15
22
|
APPLICATION_COMPANION_PROJECTION = "APPLICATION_COMPANION_PROJECTION",
|
|
16
23
|
ENGINE_GENERIC_CONTENT = "ENGINE_GENERIC_CONTENT"
|
|
@@ -92,6 +99,13 @@ export declare enum TechnicalDocumentationPublicationReason {
|
|
|
92
99
|
RESTRICTED_ASSET_REDACTED = "RESTRICTED_ASSET_REDACTED",
|
|
93
100
|
SUPERSEDED = "SUPERSEDED"
|
|
94
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Markdown that is safe to render into a public portal: no executable MDX (imports, exports, JSX
|
|
104
|
+
* components) and no active HTML or script URLs. The ONE definition, used by every unit section and
|
|
105
|
+
* by an application's authored chapter body at the moment it is declared (#874), so an author meets
|
|
106
|
+
* the refusal in their own file rather than at publication.
|
|
107
|
+
*/
|
|
108
|
+
export declare const TechnicalDocumentationPortableMarkdownSchema: z.ZodString;
|
|
95
109
|
export declare const TechnicalDocumentationSectionV1Schema: z.ZodObject<{
|
|
96
110
|
sectionRef: z.ZodString;
|
|
97
111
|
heading: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-units.schemas.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EAClD,MAAM,4CAA4C,CAAC;AAEpD,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;CACpC;AAED,oBAAY,qCAAqC;IAC/C,qFAAqF;IACrF,gCAAgC,qCAAqC;IACrE,sBAAsB,2BAA2B;CAClD;AAED,6FAA6F;AAC7F,oBAAY,oCAAoC;IAC9C,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;CAC1E;AAED;;;;;;;;GAQG;AACH,oBAAY,0CAA0C;IACpD,oGAAoG;IACpG,MAAM,WAAW;IACjB;;;;;OAKG;IACH,UAAU,eAAe;CAC1B;AAED,oBAAY,6BAA6B;IACvC,aAAa,kBAAkB;CAChC;AAED,oBAAY,iCAAiC;IAC3C,MAAM,WAAW;CAClB;AAED,oBAAY,qCAAqC;IAC/C,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,yCAAyC;IACnD,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,oBAAY,uCAAuC;IACjD,qBAAqB,0BAA0B;IAC/C,wBAAwB,6BAA6B;IACrD,sBAAsB,2BAA2B;IACjD,kBAAkB,uBAAuB;IACzC;;;OAGG;IACH,iBAAiB,sBAAsB;IACvC;;;;;;;;OAQG;IACH,yBAAyB,8BAA8B;IACvD,UAAU,eAAe;CAC1B;
|
|
1
|
+
{"version":3,"file":"technical-documentation-units.schemas.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EAClD,MAAM,4CAA4C,CAAC;AAEpD,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;CACpC;AAED,oBAAY,qCAAqC;IAC/C;;;;;OAKG;IACH,oBAAoB,yBAAyB;IAC7C,qFAAqF;IACrF,gCAAgC,qCAAqC;IACrE,sBAAsB,2BAA2B;CAClD;AAED,6FAA6F;AAC7F,oBAAY,oCAAoC;IAC9C,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;CAC1E;AAED;;;;;;;;GAQG;AACH,oBAAY,0CAA0C;IACpD,oGAAoG;IACpG,MAAM,WAAW;IACjB;;;;;OAKG;IACH,UAAU,eAAe;CAC1B;AAED,oBAAY,6BAA6B;IACvC,aAAa,kBAAkB;CAChC;AAED,oBAAY,iCAAiC;IAC3C,MAAM,WAAW;CAClB;AAED,oBAAY,qCAAqC;IAC/C,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,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AA4B,CAgBpH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from "@wildo-ai/saas-models/
|
|
2
|
+
import { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from "@wildo-ai/saas-models/public-runtime";
|
|
3
3
|
import { TechnicalDocumentationAssetRequestV1Schema } from "./technical-documentation-assets.schemas.js";
|
|
4
4
|
import { TechnicalDocumentationApiReferenceTargetV1Schema } from "./technical-documentation-api-reference-targets.schemas.js";
|
|
5
5
|
import { canonicalizeTechnicalDocumentationRows, technicalDocumentationValuesAreUniqueAndSorted, } from "./technical-documentation-common.schemas.js";
|
|
@@ -17,6 +17,13 @@ export var TechnicalDocumentationUnitKind;
|
|
|
17
17
|
})(TechnicalDocumentationUnitKind || (TechnicalDocumentationUnitKind = {}));
|
|
18
18
|
export var TechnicalDocumentationSourceOwnership;
|
|
19
19
|
(function (TechnicalDocumentationSourceOwnership) {
|
|
20
|
+
/**
|
|
21
|
+
* Prose the APPLICATION wrote: a documentation chapter its plan declares and its specifications
|
|
22
|
+
* package carries (#874). Distinct from a companion projection, whose words the engine writes and
|
|
23
|
+
* whose subject the application supplies — here the application owns the words too, so a reader
|
|
24
|
+
* tracing a sentence back must land in the application's own files.
|
|
25
|
+
*/
|
|
26
|
+
TechnicalDocumentationSourceOwnership["APPLICATION_AUTHORED"] = "APPLICATION_AUTHORED";
|
|
20
27
|
/** A resolved application configuration projected by the application's companion. */
|
|
21
28
|
TechnicalDocumentationSourceOwnership["APPLICATION_COMPANION_PROJECTION"] = "APPLICATION_COMPANION_PROJECTION";
|
|
22
29
|
TechnicalDocumentationSourceOwnership["ENGINE_GENERIC_CONTENT"] = "ENGINE_GENERIC_CONTENT";
|
|
@@ -106,7 +113,13 @@ export var TechnicalDocumentationPublicationReason;
|
|
|
106
113
|
TechnicalDocumentationPublicationReason["RESTRICTED_ASSET_REDACTED"] = "RESTRICTED_ASSET_REDACTED";
|
|
107
114
|
TechnicalDocumentationPublicationReason["SUPERSEDED"] = "SUPERSEDED";
|
|
108
115
|
})(TechnicalDocumentationPublicationReason || (TechnicalDocumentationPublicationReason = {}));
|
|
109
|
-
|
|
116
|
+
/**
|
|
117
|
+
* Markdown that is safe to render into a public portal: no executable MDX (imports, exports, JSX
|
|
118
|
+
* components) and no active HTML or script URLs. The ONE definition, used by every unit section and
|
|
119
|
+
* by an application's authored chapter body at the moment it is declared (#874), so an author meets
|
|
120
|
+
* the refusal in their own file rather than at publication.
|
|
121
|
+
*/
|
|
122
|
+
export const TechnicalDocumentationPortableMarkdownSchema = z
|
|
110
123
|
.string()
|
|
111
124
|
.trim()
|
|
112
125
|
.min(1)
|
|
@@ -122,7 +135,7 @@ const TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\/\//, {
|
|
|
122
135
|
export const TechnicalDocumentationSectionV1Schema = z.strictObject({
|
|
123
136
|
sectionRef: MetaWorkflow_NamespacedRefSchema,
|
|
124
137
|
heading: z.string().trim().min(1),
|
|
125
|
-
bodyMarkdown:
|
|
138
|
+
bodyMarkdown: TechnicalDocumentationPortableMarkdownSchema,
|
|
126
139
|
});
|
|
127
140
|
export const TechnicalDocumentationLinkV1Schema = z
|
|
128
141
|
.strictObject({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-units.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE5H,OAAO,EAAE,0CAA0C,EAAE,MAAM,0CAA0C,CAAC;AACtG,OAAO,EAAE,gDAAgD,EAAE,MAAM,yDAAyD,CAAC;AAC3H,OAAO,EACL,sCAAsC,EACtC,8CAA8C,GAC/C,MAAM,0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E,OAAO,EAAE,sDAAsD,EAAE,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IACjI,CAAC;AACH,CAAC,CAAC,CAAC;AAGL,MAAM,UAAU,kCAAkC,CAAC,KAAmC;IACpF,MAAM,cAAc,GAAiC;QACnD,GAAG,KAAK;QACR,eAAe,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,EAAE;QAC3D,KAAK,EAAE,sCAAsC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAClF,UAAU,EAAE,sCAAsC,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC;QAClG,yBAAyB,EAAE,sCAAsC,CAC/D,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;YACpD,GAAG,WAAW;YACd,kBAAkB,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,EAAE;SACxE,CAAC,CAAC,EACH,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,WAAW,CAAC,IAAI,KAAK,WAAW,CAAC,UAAU,EAAE,CAClE;QACD,aAAa,EAAE,sCAAsC,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;KACtG,CAAC;IACF,OAAO,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport { TechnicalDocumentationAssetRequestV1Schema } from \"./technical-documentation-assets.schemas\";\nimport { TechnicalDocumentationApiReferenceTargetV1Schema } from \"./technical-documentation-api-reference-targets.schemas\";\nimport {\n canonicalizeTechnicalDocumentationRows,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n} from \"./technical-documentation-evidence.schemas\";\n\nexport enum TechnicalDocumentationUnitKind {\n CHANGE = \"CHANGE\",\n CONCEPT = \"CONCEPT\",\n HOW_TO = \"HOW_TO\",\n ORIENTATION = \"ORIENTATION\",\n QUICKSTART = \"QUICKSTART\",\n REFERENCE = \"REFERENCE\",\n RUNBOOK = \"RUNBOOK\",\n TROUBLESHOOTING = \"TROUBLESHOOTING\",\n}\n\nexport enum TechnicalDocumentationSourceOwnership {\n /** A resolved application configuration projected by the application's companion. */\n APPLICATION_COMPANION_PROJECTION = \"APPLICATION_COMPANION_PROJECTION\",\n ENGINE_GENERIC_CONTENT = \"ENGINE_GENERIC_CONTENT\",\n}\n\n/** Readers of the generated application's documentation, never Wildo application authors. */\nexport enum TechnicalDocumentationReaderAudience {\n APPLICATION_OPERATIONS_STAFF = \"APPLICATION_OPERATIONS_STAFF\",\n CONSUMING_INTERNAL_SERVICE = \"CONSUMING_INTERNAL_SERVICE\",\n EXTERNAL_INTEGRATION_DEVELOPER = \"EXTERNAL_INTEGRATION_DEVELOPER\",\n ORGANIZATION_ADMINISTRATOR = \"ORGANIZATION_ADMINISTRATOR\",\n ORGANIZATION_INTEGRATION_DEVELOPER = \"ORGANIZATION_INTEGRATION_DEVELOPER\",\n}\n\n/**\n * How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived\n * from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).\n *\n * A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and\n * the public-bundle validator refuses one that slipped through. Both halves existed before\n * `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source\n * and the suppression path had no producer at all (#474).\n */\nexport enum TechnicalDocumentationSourceClassification {\n /** Derived from something the framework already publishes; safe to attribute in a public portal. */\n PUBLIC = \"PUBLIC\",\n /**\n * Derived from a source the public portal must not attribute or expose — an internal design note,\n * a private specification, an operational record. The unit is suppressed rather than redacted:\n * provenance is not a field that can be trimmed and leave the unit honest, because a reader who\n * cannot see where a statement came from cannot check it.\n */\n RESTRICTED = \"RESTRICTED\",\n}\n\nexport enum TechnicalDocumentationChannel {\n PUBLIC_PORTAL = \"PUBLIC_PORTAL\",\n}\n\nexport enum TechnicalDocumentationAccessClass {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationEditorialStatus {\n APPROVED = \"APPROVED\",\n DRAFT = \"DRAFT\",\n REVIEW_REQUIRED = \"REVIEW_REQUIRED\",\n}\n\nexport enum TechnicalDocumentationLinkKind {\n API_REFERENCE = \"API_REFERENCE\",\n EXTERNAL = \"EXTERNAL\",\n SOURCE = \"SOURCE\",\n UNIT = \"UNIT\",\n}\n\nexport enum TechnicalDocumentationPublicationDecision {\n INCLUDE = \"INCLUDE\",\n REDACT = \"REDACT\",\n SUPPRESS = \"SUPPRESS\",\n}\n\n/**\n * Why the publication policy decided what it did about one unit. This is the decision RECORD an\n * operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`\n * and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).\n */\nexport enum TechnicalDocumentationPublicationReason {\n ACCESS_CLASS_MISMATCH = \"ACCESS_CLASS_MISMATCH\",\n APPLICABILITY_NOT_PROVEN = \"APPLICABILITY_NOT_PROVEN\",\n EDITORIAL_NOT_APPROVED = \"EDITORIAL_NOT_APPROVED\",\n INCLUDED_BY_POLICY = \"INCLUDED_BY_POLICY\",\n /**\n * The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it\n * may be published.\n */\n RESTRICTED_SOURCE = \"RESTRICTED_SOURCE\",\n /**\n * The unit was PUBLISHED with one or more asset requests dropped, because their access class is\n * not `PUBLIC`. The reader gets the unit; they do not get those assets.\n *\n * Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a\n * decision record could not distinguish \"this unit was withheld\" from \"this unit shipped with\n * fewer pictures\" — opposite outcomes for a reader, and the first is the one an operator needs\n * to find.\n */\n RESTRICTED_ASSET_REDACTED = \"RESTRICTED_ASSET_REDACTED\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\n\nconst PortableMarkdownSchema = z\n .string()\n .trim()\n .min(1)\n .superRefine((markdown, context) => {\n if (/^\\s*(?:import|export)\\s/m.test(markdown) || /<\\/?[A-Z][A-Za-z0-9.]*(?:\\s|>|\\/)/.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain executable MDX imports, exports or components\" });\n }\n if (/<\\/?(?:script|iframe|object|embed|style)\\b|\\bon[a-z]+\\s*=|javascript:/i.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain active HTML or script URLs\" });\n }\n });\n\nconst TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\\/\\//, { message: \"external documentation links must use HTTP or HTTPS\" });\n\nexport const TechnicalDocumentationSectionV1Schema = z.strictObject({\n sectionRef: MetaWorkflow_NamespacedRefSchema,\n heading: z.string().trim().min(1),\n bodyMarkdown: PortableMarkdownSchema,\n});\nexport type TechnicalDocumentationSectionV1 = z.infer<typeof TechnicalDocumentationSectionV1Schema>;\n\nexport const TechnicalDocumentationLinkV1Schema = z\n .strictObject({\n linkRef: MetaWorkflow_NamespacedRefSchema,\n kind: z.enum(TechnicalDocumentationLinkKind),\n label: z.string().trim().min(1),\n targetUnitRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n targetRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n externalUrl: TechnicalDocumentationExternalUrlSchema.nullable(),\n apiReferenceTarget: TechnicalDocumentationApiReferenceTargetV1Schema.nullable(),\n })\n .superRefine((link, context) => {\n const populatedTargets = [link.targetUnitRef, link.targetRef, link.externalUrl, link.apiReferenceTarget].filter((value) => value !== null).length;\n if (populatedTargets !== 1) {\n context.addIssue({ code: \"custom\", message: \"a typed link must define exactly one matching target\", path: [\"kind\"] });\n return;\n }\n if (link.kind === TechnicalDocumentationLinkKind.UNIT && link.targetUnitRef === null) {\n context.addIssue({ code: \"custom\", message: \"UNIT links require targetUnitRef\", path: [\"targetUnitRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.SOURCE && link.targetRef === null) {\n context.addIssue({ code: \"custom\", message: \"SOURCE links require targetRef\", path: [\"targetRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.EXTERNAL && link.externalUrl === null) {\n context.addIssue({ code: \"custom\", message: \"EXTERNAL links require externalUrl\", path: [\"externalUrl\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.API_REFERENCE && link.apiReferenceTarget === null) {\n context.addIssue({ code: \"custom\", message: \"API_REFERENCE links require apiReferenceTarget\", path: [\"apiReferenceTarget\"] });\n }\n });\nexport type TechnicalDocumentationLinkV1 = z.infer<typeof TechnicalDocumentationLinkV1Schema>;\n\nexport const TechnicalDocumentationSourceProvenanceV1Schema = z.strictObject({\n sourceRef: MetaWorkflow_NamespacedRefSchema,\n ownership: z.enum(TechnicalDocumentationSourceOwnership),\n classification: z.enum(TechnicalDocumentationSourceClassification),\n /**\n * The version of the source this unit was derived from. Two units citing one `sourceRef` at\n * different versions disagree about their input and are refused at bundle assembly; two citing\n * the same version agree. That is the whole question the retired `sourceSemanticDigest` answered,\n * and this form survives a merge.\n */\n sourceVersion: MetaWorkflow_PositiveVersionSchema,\n sourceAnchorRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n});\nexport type TechnicalDocumentationSourceProvenanceV1 = z.infer<typeof TechnicalDocumentationSourceProvenanceV1Schema>;\n\nexport const TechnicalDocumentationApplicabilityRequirementV1Schema = z\n .strictObject({\n axis: z.enum(TechnicalDocumentationApplicabilityEvidenceAxis),\n subjectRef: MetaWorkflow_NamespacedRefSchema,\n acceptableStatuses: z.array(z.enum(TechnicalDocumentationApplicabilityEvidenceStatus)).min(1),\n })\n .superRefine((requirement, context) => {\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirement.acceptableStatuses)) {\n context.addIssue({ code: \"custom\", message: \"acceptableStatuses must be unique and sorted\", path: [\"acceptableStatuses\"] });\n }\n });\nexport type TechnicalDocumentationApplicabilityRequirementV1 = z.infer<typeof TechnicalDocumentationApplicabilityRequirementV1Schema>;\n\nexport const TechnicalDocumentationUnitV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n unitRef: MetaWorkflow_NamespacedRefSchema,\n unitVersion: MetaWorkflow_PositiveVersionSchema,\n kind: z.enum(TechnicalDocumentationUnitKind),\n readerAudiences: z.array(z.enum(TechnicalDocumentationReaderAudience)).min(1),\n title: z.string().trim().min(1),\n summary: z.string().trim().min(1),\n sections: z.array(TechnicalDocumentationSectionV1Schema).min(1),\n links: z.array(TechnicalDocumentationLinkV1Schema),\n provenance: z.array(TechnicalDocumentationSourceProvenanceV1Schema).min(1),\n applicabilityRequirements: z.array(TechnicalDocumentationApplicabilityRequirementV1Schema),\n accessClass: z.enum(TechnicalDocumentationAccessClass),\n editorialStatus: z.enum(TechnicalDocumentationEditorialStatus),\n assetRequests: z.array(TechnicalDocumentationAssetRequestV1Schema),\n })\n .superRefine((unit, context) => {\n const sectionRefs = unit.sections.map((section) => section.sectionRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unit.readerAudiences)) {\n context.addIssue({ code: \"custom\", message: \"readerAudiences must be unique and sorted\", path: [\"readerAudiences\"] });\n }\n if (new Set(sectionRefs).size !== sectionRefs.length) {\n context.addIssue({ code: \"custom\", message: \"section refs must be unique while retaining authored order\", path: [\"sections\"] });\n }\n const linkRefs = unit.links.map((link) => link.linkRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(linkRefs)) {\n context.addIssue({ code: \"custom\", message: \"links must be unique and sorted by linkRef\", path: [\"links\"] });\n }\n const sourceRefs = unit.provenance.map((source) => source.sourceRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(sourceRefs)) {\n context.addIssue({ code: \"custom\", message: \"provenance must be unique and sorted by sourceRef\", path: [\"provenance\"] });\n }\n const requirementKeys = unit.applicabilityRequirements.map((requirement) => `${requirement.axis}\\0${requirement.subjectRef}`);\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirementKeys)) {\n context.addIssue({ code: \"custom\", message: \"applicability requirements must be unique and sorted\", path: [\"applicabilityRequirements\"] });\n }\n const assetRefs = unit.assetRequests.map((asset) => asset.assetRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(assetRefs)) {\n context.addIssue({ code: \"custom\", message: \"asset requests must be unique and sorted by assetRef\", path: [\"assetRequests\"] });\n }\n });\nexport type TechnicalDocumentationUnitV1 = z.infer<typeof TechnicalDocumentationUnitV1Schema>;\n\nexport function createTechnicalDocumentationUnitV1(input: TechnicalDocumentationUnitV1): TechnicalDocumentationUnitV1 {\n const canonicalInput: TechnicalDocumentationUnitV1 = {\n ...input,\n readerAudiences: [...new Set(input.readerAudiences)].sort(),\n links: canonicalizeTechnicalDocumentationRows(input.links, (link) => link.linkRef),\n provenance: canonicalizeTechnicalDocumentationRows(input.provenance, (source) => source.sourceRef),\n applicabilityRequirements: canonicalizeTechnicalDocumentationRows(\n input.applicabilityRequirements.map((requirement) => ({\n ...requirement,\n acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),\n })),\n (requirement) => `${requirement.axis}\\0${requirement.subjectRef}`,\n ),\n assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),\n };\n return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation-units.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCA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,CAAC;KACtG,CAAC;IACF,OAAO,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from \"@wildo-ai/saas-models/public-runtime\";\n\nimport { TechnicalDocumentationAssetRequestV1Schema } from \"./technical-documentation-assets.schemas\";\nimport { TechnicalDocumentationApiReferenceTargetV1Schema } from \"./technical-documentation-api-reference-targets.schemas\";\nimport {\n canonicalizeTechnicalDocumentationRows,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n} from \"./technical-documentation-evidence.schemas\";\n\nexport enum TechnicalDocumentationUnitKind {\n CHANGE = \"CHANGE\",\n CONCEPT = \"CONCEPT\",\n HOW_TO = \"HOW_TO\",\n ORIENTATION = \"ORIENTATION\",\n QUICKSTART = \"QUICKSTART\",\n REFERENCE = \"REFERENCE\",\n RUNBOOK = \"RUNBOOK\",\n TROUBLESHOOTING = \"TROUBLESHOOTING\",\n}\n\nexport enum TechnicalDocumentationSourceOwnership {\n /**\n * Prose the APPLICATION wrote: a documentation chapter its plan declares and its specifications\n * package carries (#874). Distinct from a companion projection, whose words the engine writes and\n * whose subject the application supplies — here the application owns the words too, so a reader\n * tracing a sentence back must land in the application's own files.\n */\n APPLICATION_AUTHORED = \"APPLICATION_AUTHORED\",\n /** A resolved application configuration projected by the application's companion. */\n APPLICATION_COMPANION_PROJECTION = \"APPLICATION_COMPANION_PROJECTION\",\n ENGINE_GENERIC_CONTENT = \"ENGINE_GENERIC_CONTENT\",\n}\n\n/** Readers of the generated application's documentation, never Wildo application authors. */\nexport enum TechnicalDocumentationReaderAudience {\n APPLICATION_OPERATIONS_STAFF = \"APPLICATION_OPERATIONS_STAFF\",\n CONSUMING_INTERNAL_SERVICE = \"CONSUMING_INTERNAL_SERVICE\",\n EXTERNAL_INTEGRATION_DEVELOPER = \"EXTERNAL_INTEGRATION_DEVELOPER\",\n ORGANIZATION_ADMINISTRATOR = \"ORGANIZATION_ADMINISTRATOR\",\n ORGANIZATION_INTEGRATION_DEVELOPER = \"ORGANIZATION_INTEGRATION_DEVELOPER\",\n}\n\n/**\n * How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived\n * from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).\n *\n * A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and\n * the public-bundle validator refuses one that slipped through. Both halves existed before\n * `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source\n * and the suppression path had no producer at all (#474).\n */\nexport enum TechnicalDocumentationSourceClassification {\n /** Derived from something the framework already publishes; safe to attribute in a public portal. */\n PUBLIC = \"PUBLIC\",\n /**\n * Derived from a source the public portal must not attribute or expose — an internal design note,\n * a private specification, an operational record. The unit is suppressed rather than redacted:\n * provenance is not a field that can be trimmed and leave the unit honest, because a reader who\n * cannot see where a statement came from cannot check it.\n */\n RESTRICTED = \"RESTRICTED\",\n}\n\nexport enum TechnicalDocumentationChannel {\n PUBLIC_PORTAL = \"PUBLIC_PORTAL\",\n}\n\nexport enum TechnicalDocumentationAccessClass {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationEditorialStatus {\n APPROVED = \"APPROVED\",\n DRAFT = \"DRAFT\",\n REVIEW_REQUIRED = \"REVIEW_REQUIRED\",\n}\n\nexport enum TechnicalDocumentationLinkKind {\n API_REFERENCE = \"API_REFERENCE\",\n EXTERNAL = \"EXTERNAL\",\n SOURCE = \"SOURCE\",\n UNIT = \"UNIT\",\n}\n\nexport enum TechnicalDocumentationPublicationDecision {\n INCLUDE = \"INCLUDE\",\n REDACT = \"REDACT\",\n SUPPRESS = \"SUPPRESS\",\n}\n\n/**\n * Why the publication policy decided what it did about one unit. This is the decision RECORD an\n * operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`\n * and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).\n */\nexport enum TechnicalDocumentationPublicationReason {\n ACCESS_CLASS_MISMATCH = \"ACCESS_CLASS_MISMATCH\",\n APPLICABILITY_NOT_PROVEN = \"APPLICABILITY_NOT_PROVEN\",\n EDITORIAL_NOT_APPROVED = \"EDITORIAL_NOT_APPROVED\",\n INCLUDED_BY_POLICY = \"INCLUDED_BY_POLICY\",\n /**\n * The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it\n * may be published.\n */\n RESTRICTED_SOURCE = \"RESTRICTED_SOURCE\",\n /**\n * The unit was PUBLISHED with one or more asset requests dropped, because their access class is\n * not `PUBLIC`. The reader gets the unit; they do not get those assets.\n *\n * Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a\n * decision record could not distinguish \"this unit was withheld\" from \"this unit shipped with\n * fewer pictures\" — opposite outcomes for a reader, and the first is the one an operator needs\n * to find.\n */\n RESTRICTED_ASSET_REDACTED = \"RESTRICTED_ASSET_REDACTED\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\n\n/**\n * Markdown that is safe to render into a public portal: no executable MDX (imports, exports, JSX\n * components) and no active HTML or script URLs. The ONE definition, used by every unit section and\n * by an application's authored chapter body at the moment it is declared (#874), so an author meets\n * the refusal in their own file rather than at publication.\n */\nexport const TechnicalDocumentationPortableMarkdownSchema = z\n .string()\n .trim()\n .min(1)\n .superRefine((markdown, context) => {\n if (/^\\s*(?:import|export)\\s/m.test(markdown) || /<\\/?[A-Z][A-Za-z0-9.]*(?:\\s|>|\\/)/.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain executable MDX imports, exports or components\" });\n }\n if (/<\\/?(?:script|iframe|object|embed|style)\\b|\\bon[a-z]+\\s*=|javascript:/i.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain active HTML or script URLs\" });\n }\n });\n\nconst TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\\/\\//, { message: \"external documentation links must use HTTP or HTTPS\" });\n\nexport const TechnicalDocumentationSectionV1Schema = z.strictObject({\n sectionRef: MetaWorkflow_NamespacedRefSchema,\n heading: z.string().trim().min(1),\n bodyMarkdown: TechnicalDocumentationPortableMarkdownSchema,\n});\nexport type TechnicalDocumentationSectionV1 = z.infer<typeof TechnicalDocumentationSectionV1Schema>;\n\nexport const TechnicalDocumentationLinkV1Schema = z\n .strictObject({\n linkRef: MetaWorkflow_NamespacedRefSchema,\n kind: z.enum(TechnicalDocumentationLinkKind),\n label: z.string().trim().min(1),\n targetUnitRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n targetRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n externalUrl: TechnicalDocumentationExternalUrlSchema.nullable(),\n apiReferenceTarget: TechnicalDocumentationApiReferenceTargetV1Schema.nullable(),\n })\n .superRefine((link, context) => {\n const populatedTargets = [link.targetUnitRef, link.targetRef, link.externalUrl, link.apiReferenceTarget].filter((value) => value !== null).length;\n if (populatedTargets !== 1) {\n context.addIssue({ code: \"custom\", message: \"a typed link must define exactly one matching target\", path: [\"kind\"] });\n return;\n }\n if (link.kind === TechnicalDocumentationLinkKind.UNIT && link.targetUnitRef === null) {\n context.addIssue({ code: \"custom\", message: \"UNIT links require targetUnitRef\", path: [\"targetUnitRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.SOURCE && link.targetRef === null) {\n context.addIssue({ code: \"custom\", message: \"SOURCE links require targetRef\", path: [\"targetRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.EXTERNAL && link.externalUrl === null) {\n context.addIssue({ code: \"custom\", message: \"EXTERNAL links require externalUrl\", path: [\"externalUrl\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.API_REFERENCE && link.apiReferenceTarget === null) {\n context.addIssue({ code: \"custom\", message: \"API_REFERENCE links require apiReferenceTarget\", path: [\"apiReferenceTarget\"] });\n }\n });\nexport type TechnicalDocumentationLinkV1 = z.infer<typeof TechnicalDocumentationLinkV1Schema>;\n\nexport const TechnicalDocumentationSourceProvenanceV1Schema = z.strictObject({\n sourceRef: MetaWorkflow_NamespacedRefSchema,\n ownership: z.enum(TechnicalDocumentationSourceOwnership),\n classification: z.enum(TechnicalDocumentationSourceClassification),\n /**\n * The version of the source this unit was derived from. Two units citing one `sourceRef` at\n * different versions disagree about their input and are refused at bundle assembly; two citing\n * the same version agree. That is the whole question the retired `sourceSemanticDigest` answered,\n * and this form survives a merge.\n */\n sourceVersion: MetaWorkflow_PositiveVersionSchema,\n sourceAnchorRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n});\nexport type TechnicalDocumentationSourceProvenanceV1 = z.infer<typeof TechnicalDocumentationSourceProvenanceV1Schema>;\n\nexport const TechnicalDocumentationApplicabilityRequirementV1Schema = z\n .strictObject({\n axis: z.enum(TechnicalDocumentationApplicabilityEvidenceAxis),\n subjectRef: MetaWorkflow_NamespacedRefSchema,\n acceptableStatuses: z.array(z.enum(TechnicalDocumentationApplicabilityEvidenceStatus)).min(1),\n })\n .superRefine((requirement, context) => {\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirement.acceptableStatuses)) {\n context.addIssue({ code: \"custom\", message: \"acceptableStatuses must be unique and sorted\", path: [\"acceptableStatuses\"] });\n }\n });\nexport type TechnicalDocumentationApplicabilityRequirementV1 = z.infer<typeof TechnicalDocumentationApplicabilityRequirementV1Schema>;\n\nexport const TechnicalDocumentationUnitV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n unitRef: MetaWorkflow_NamespacedRefSchema,\n unitVersion: MetaWorkflow_PositiveVersionSchema,\n kind: z.enum(TechnicalDocumentationUnitKind),\n readerAudiences: z.array(z.enum(TechnicalDocumentationReaderAudience)).min(1),\n title: z.string().trim().min(1),\n summary: z.string().trim().min(1),\n sections: z.array(TechnicalDocumentationSectionV1Schema).min(1),\n links: z.array(TechnicalDocumentationLinkV1Schema),\n provenance: z.array(TechnicalDocumentationSourceProvenanceV1Schema).min(1),\n applicabilityRequirements: z.array(TechnicalDocumentationApplicabilityRequirementV1Schema),\n accessClass: z.enum(TechnicalDocumentationAccessClass),\n editorialStatus: z.enum(TechnicalDocumentationEditorialStatus),\n assetRequests: z.array(TechnicalDocumentationAssetRequestV1Schema),\n })\n .superRefine((unit, context) => {\n const sectionRefs = unit.sections.map((section) => section.sectionRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unit.readerAudiences)) {\n context.addIssue({ code: \"custom\", message: \"readerAudiences must be unique and sorted\", path: [\"readerAudiences\"] });\n }\n if (new Set(sectionRefs).size !== sectionRefs.length) {\n context.addIssue({ code: \"custom\", message: \"section refs must be unique while retaining authored order\", path: [\"sections\"] });\n }\n const linkRefs = unit.links.map((link) => link.linkRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(linkRefs)) {\n context.addIssue({ code: \"custom\", message: \"links must be unique and sorted by linkRef\", path: [\"links\"] });\n }\n const sourceRefs = unit.provenance.map((source) => source.sourceRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(sourceRefs)) {\n context.addIssue({ code: \"custom\", message: \"provenance must be unique and sorted by sourceRef\", path: [\"provenance\"] });\n }\n const requirementKeys = unit.applicabilityRequirements.map((requirement) => `${requirement.axis}\\0${requirement.subjectRef}`);\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirementKeys)) {\n context.addIssue({ code: \"custom\", message: \"applicability requirements must be unique and sorted\", path: [\"applicabilityRequirements\"] });\n }\n const assetRefs = unit.assetRequests.map((asset) => asset.assetRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(assetRefs)) {\n context.addIssue({ code: \"custom\", message: \"asset requests must be unique and sorted by assetRef\", path: [\"assetRequests\"] });\n }\n });\nexport type TechnicalDocumentationUnitV1 = z.infer<typeof TechnicalDocumentationUnitV1Schema>;\n\nexport function createTechnicalDocumentationUnitV1(input: TechnicalDocumentationUnitV1): TechnicalDocumentationUnitV1 {\n const canonicalInput: TechnicalDocumentationUnitV1 = {\n ...input,\n readerAudiences: [...new Set(input.readerAudiences)].sort(),\n links: canonicalizeTechnicalDocumentationRows(input.links, (link) => link.linkRef),\n provenance: canonicalizeTechnicalDocumentationRows(input.provenance, (source) => source.sourceRef),\n applicabilityRequirements: canonicalizeTechnicalDocumentationRows(\n input.applicabilityRequirements.map((requirement) => ({\n ...requirement,\n acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),\n })),\n (requirement) => `${requirement.axis}\\0${requirement.subjectRef}`,\n ),\n assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),\n };\n return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);\n}\n"]}
|
|
@@ -12,4 +12,8 @@ export * from "./technical-documentation/technical-documentation-evidence.schema
|
|
|
12
12
|
export * from "./technical-documentation/technical-documentation-lifecycle.schemas";
|
|
13
13
|
export * from "./technical-documentation/technical-documentation-publication.schemas";
|
|
14
14
|
export * from "./technical-documentation/technical-documentation-units.schemas";
|
|
15
|
+
export * from './technical-documentation/application-documentation-plan.schemas';
|
|
16
|
+
export * from './technical-documentation/application-documentation-plan-generation.schemas';
|
|
17
|
+
export * from './technical-documentation/application-documentation-plan-validation';
|
|
18
|
+
export * from './technical-documentation/application-documentation-chapters.schemas';
|
|
15
19
|
//# sourceMappingURL=technical-documentation.exports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation.exports.d.ts","sourceRoot":"","sources":["../../../src/technical-documentation.exports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,kEAAkE,CAAC;AACjF,cAAc,iFAAiF,CAAC;AAChG,cAAc,mEAAmE,CAAC;AAClF,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,oEAAoE,CAAC;AACnF,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,iEAAiE,CAAC"}
|
|
1
|
+
{"version":3,"file":"technical-documentation.exports.d.ts","sourceRoot":"","sources":["../../../src/technical-documentation.exports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,kEAAkE,CAAC;AACjF,cAAc,iFAAiF,CAAC;AAChG,cAAc,mEAAmE,CAAC;AAClF,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,oEAAoE,CAAC;AACnF,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,iEAAiE,CAAC;AAiBhF,cAAc,kEAAkE,CAAC;AACjF,cAAc,6EAA6E,CAAC;AAC5F,cAAc,qEAAqE,CAAC;AAKpF,cAAc,sEAAsE,CAAC"}
|
|
@@ -12,4 +12,28 @@ export * from "./technical-documentation/technical-documentation-evidence.schema
|
|
|
12
12
|
export * from "./technical-documentation/technical-documentation-lifecycle.schemas.js";
|
|
13
13
|
export * from "./technical-documentation/technical-documentation-publication.schemas.js";
|
|
14
14
|
export * from "./technical-documentation/technical-documentation-units.schemas.js";
|
|
15
|
+
/*
|
|
16
|
+
* The application-AUTHORED half (#1494): which chapters the portal carries, what each documents and
|
|
17
|
+
* who it is for. Published from THIS door, and the choice is forced from both sides.
|
|
18
|
+
*
|
|
19
|
+
* It cannot go behind `./application-creation`, which the package ROOT re-exports: the plan is typed
|
|
20
|
+
* by the unit vocabulary above, and a root-only consumer deriving from it then writes that enum's
|
|
21
|
+
* name through a path into the package's own dist — the non-portable shape
|
|
22
|
+
* `package-public-entrypoints.md` rule 7 exists to refuse. Measured with a root-only probe on
|
|
23
|
+
* 2026-09-22 rather than assumed.
|
|
24
|
+
*
|
|
25
|
+
* And it may not drag anything new into this entrypoint, whose bundle-isolation guard ships into a
|
|
26
|
+
* browser and whose bare-specifier allow-list has been narrowed twice and never extended. So these
|
|
27
|
+
* three modules import `zod` and this package only — no `@wildo-ai/zod-decorators`, which is why
|
|
28
|
+
* the plan declares its display vocabulary through the workbench's own words rather than through
|
|
29
|
+
* `.systemEnum()`.
|
|
30
|
+
*/
|
|
31
|
+
export * from './technical-documentation/application-documentation-plan.schemas.js';
|
|
32
|
+
export * from './technical-documentation/application-documentation-plan-generation.schemas.js';
|
|
33
|
+
export * from './technical-documentation/application-documentation-plan-validation.js';
|
|
34
|
+
/*
|
|
35
|
+
* The authored BODY of each planned chapter (#874), joined to the plan above by `chapterRef`. Same
|
|
36
|
+
* door and same constraint: it imports `zod` and this package only.
|
|
37
|
+
*/
|
|
38
|
+
export * from './technical-documentation/application-documentation-chapters.schemas.js';
|
|
15
39
|
//# sourceMappingURL=technical-documentation.exports.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation.exports.js","sourceRoot":"","sources":["../../../src/technical-documentation.exports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,kEAAkE,CAAC;AACjF,cAAc,iFAAiF,CAAC;AAChG,cAAc,mEAAmE,CAAC;AAClF,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,oEAAoE,CAAC;AACnF,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,iEAAiE,CAAC","sourcesContent":["/**\n * Portable generated-application technical-documentation contracts for consumer-facing projectors, renderers and generation producers.\n *\n * This deliberate subpath contains no filesystem, browser automation, renderer or runtime registration implementation.\n */\nexport * from \"./technical-documentation/technical-documentation-assets.schemas\";\nexport * from \"./technical-documentation/technical-documentation-api-reference-targets.schemas\";\nexport * from \"./technical-documentation/technical-documentation-capture.schemas\";\nexport * from \"./technical-documentation/technical-documentation-common.schemas\";\nexport * from \"./technical-documentation/technical-documentation-environment-identity.schemas\";\nexport * from \"./technical-documentation/technical-documentation-evidence.schemas\";\nexport * from \"./technical-documentation/technical-documentation-lifecycle.schemas\";\nexport * from \"./technical-documentation/technical-documentation-publication.schemas\";\nexport * from \"./technical-documentation/technical-documentation-units.schemas\";\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation.exports.js","sourceRoot":"","sources":["../../../src/technical-documentation.exports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,kEAAkE,CAAC;AACjF,cAAc,iFAAiF,CAAC;AAChG,cAAc,mEAAmE,CAAC;AAClF,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,oEAAoE,CAAC;AACnF,cAAc,qEAAqE,CAAC;AACpF,cAAc,uEAAuE,CAAC;AACtF,cAAc,iEAAiE,CAAC;AAChF;;;;;;;;;;;;;;;GAeG;AACH,cAAc,kEAAkE,CAAC;AACjF,cAAc,6EAA6E,CAAC;AAC5F,cAAc,qEAAqE,CAAC;AACpF;;;GAGG;AACH,cAAc,sEAAsE,CAAC","sourcesContent":["/**\n * Portable generated-application technical-documentation contracts for consumer-facing projectors, renderers and generation producers.\n *\n * This deliberate subpath contains no filesystem, browser automation, renderer or runtime registration implementation.\n */\nexport * from \"./technical-documentation/technical-documentation-assets.schemas\";\nexport * from \"./technical-documentation/technical-documentation-api-reference-targets.schemas\";\nexport * from \"./technical-documentation/technical-documentation-capture.schemas\";\nexport * from \"./technical-documentation/technical-documentation-common.schemas\";\nexport * from \"./technical-documentation/technical-documentation-environment-identity.schemas\";\nexport * from \"./technical-documentation/technical-documentation-evidence.schemas\";\nexport * from \"./technical-documentation/technical-documentation-lifecycle.schemas\";\nexport * from \"./technical-documentation/technical-documentation-publication.schemas\";\nexport * from \"./technical-documentation/technical-documentation-units.schemas\";\n/*\n * The application-AUTHORED half (#1494): which chapters the portal carries, what each documents and\n * who it is for. Published from THIS door, and the choice is forced from both sides.\n *\n * It cannot go behind `./application-creation`, which the package ROOT re-exports: the plan is typed\n * by the unit vocabulary above, and a root-only consumer deriving from it then writes that enum's\n * name through a path into the package's own dist — the non-portable shape\n * `package-public-entrypoints.md` rule 7 exists to refuse. Measured with a root-only probe on\n * 2026-09-22 rather than assumed.\n *\n * And it may not drag anything new into this entrypoint, whose bundle-isolation guard ships into a\n * browser and whose bare-specifier allow-list has been narrowed twice and never extended. So these\n * three modules import `zod` and this package only — no `@wildo-ai/zod-decorators`, which is why\n * the plan declares its display vocabulary through the workbench's own words rather than through\n * `.systemEnum()`.\n */\nexport * from './technical-documentation/application-documentation-plan.schemas';\nexport * from './technical-documentation/application-documentation-plan-generation.schemas';\nexport * from './technical-documentation/application-documentation-plan-validation';\n/*\n * The authored BODY of each planned chapter (#874), joined to the plan above by `chapterRef`. Same\n * door and same constraint: it imports `zod` and this package only.\n */\nexport * from './technical-documentation/application-documentation-chapters.schemas';\n"]}
|