@wildo-ai/saas-specifications 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows-actors-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/flows-actors-view-specification.schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flows-actors-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/flows-actors-view-specification.schemas.ts"],"names":[],"mappings":"AAyDA,MAAM,UAAU,0CAA0C,CACxD,cAAgD,EAChD,oBAA6D;IAE7D,MAAM,aAAa,GAAuC;QACxD,OAAO,EAAE,cAAc,CAAC,GAAG;QAC3B,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,oCAAoC,CAAC,aAAa,CAAC,CAAC;IAEpD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,GAAG,cAAoD;IAEvD,MAAM,MAAM,GAAiC,EAAE,CAAC;IAEhD,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CACb,2EAA2E,aAAa,CAAC,OAAO,IAAI,CACrG,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC;IAChD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,qCAAqC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAEvE,SAAS,oCAAoC,CAC3C,aAAiD;IAEjD,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3E,KAAK,MAAM,WAAW,IAAI,qCAAqC,EAAE,CAAC;QAChE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,uDAAuD,aAAa,CAAC,OAAO,8BAA8B,WAAW,wEAAwE,CAC9L,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type { TranslationSlotSpecificationMap } from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\ninterface FlowsActorsViewDefinitionSpecRef {\n ref: string;\n}\n\nexport interface FlowsActorsViewSpecificationCodeHandling {\n /** Module/application owner that authored the flows-actors view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public declarations where the view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\nexport interface FlowsActorsViewSpecificationConfig {\n /** Stable runtime view reference. */\n viewRef: string;\n /** Why this flows-actors surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this surface plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: FlowsActorsViewSpecificationCodeHandling;\n}\n\n/** Keyed by the stable runtime view reference. */\nexport type FlowsActorsViewSpecification = Record<string, FlowsActorsViewSpecificationConfig>;\n\nexport type FlowsActorsViewSpecificationDraft = Omit<FlowsActorsViewSpecificationConfig, 'viewRef'>;\n\nexport function flowsActorsViewSpecificationFromDefinition(\n viewDefinition: FlowsActorsViewDefinitionSpecRef,\n specificationFactory: () => FlowsActorsViewSpecificationDraft,\n): FlowsActorsViewSpecificationConfig {\n const specification: FlowsActorsViewSpecificationConfig = {\n viewRef: viewDefinition.ref,\n ...specificationFactory(),\n };\n\n validateFlowsActorsViewSpecification(specification);\n\n return specification;\n}\n\nexport function buildFlowsActorsViewSpecificationMap(\n ...specifications: FlowsActorsViewSpecificationConfig[]\n): FlowsActorsViewSpecification {\n const result: FlowsActorsViewSpecification = {};\n\n for (const specification of specifications) {\n if (result[specification.viewRef]) {\n throw new Error(\n `buildFlowsActorsViewSpecificationMap(): duplicate flows-actors viewRef \"${specification.viewRef}\".`,\n );\n }\n result[specification.viewRef] = specification;\n }\n\n return result;\n}\n\nconst FLOWS_ACTORS_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateFlowsActorsViewSpecification(\n specification: FlowsActorsViewSpecificationConfig,\n): void {\n const knownTextSlots = new Set(Object.keys(specification.textSlots ?? {}));\n for (const textSlotKey of FLOWS_ACTORS_VIEW_REQUIRED_TEXT_SLOTS) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `flowsActorsViewSpecificationFromDefinition(): view \"${specification.viewRef}\" must document text slot \"${textSlotKey}\" so generated launcher and overlay labels stay semantically grounded.`,\n );\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-component-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/frontend-component-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;;GAQG;AACH,oBAAY,iCAAiC;IAC3C,YAAY,iBAAiB;IAC7B,qBAAqB,0BAA0B;CAChD;AAED;;GAEG;AACH,oBAAY,yBAAyB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC5B;AAED;;;;;GAKG;AACH,oBAAY,qCAAqC;IAC/C,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;CACtE;AAED;;;;;;GAMG;AACH,oBAAY,qCAAqC;IAC/C,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IACnD,uBAAuB,4BAA4B;CACpD;AAED;;;;;;GAMG;AACH,oBAAY,gDAAgD;IAC1D,aAAa,iBAAiB;IAC9B,IAAI,SAAS;CACd;AAED;;;;;GAKG;AACH,MAAM,WAAW,oCAAoC;IACnD,8CAA8C;IAC9C,YAAY,EAAE,MAAM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EAAuE;IACvE,aAAa,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAChD,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;IAC3E;;;;;;;;;;;OAWG;IACH,YAAY,CAAC,EAAE,0CAA0C,CAAC;CAC3D;AAED;;;GAGG;AACH,MAAM,WAAW,yCACf,SAAQ,IAAI,CAAC,oCAAoC,EAAE,sBAAsB,CAAC;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;CAC7E;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,yCAAyC,GAChD,oCAAoC,CAOtC;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CACrD,aAAa,EAAE,oCAAoC,EACnD,QAAQ,EAAE,MAAM,EAChB,mBAAmB,EAAE,oCAAoC,GACxD,oCAAoC,CAetC;
|
|
1
|
+
{"version":3,"file":"frontend-component-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/frontend-component-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;;GAQG;AACH,oBAAY,iCAAiC;IAC3C,YAAY,iBAAiB;IAC7B,qBAAqB,0BAA0B;CAChD;AAED;;GAEG;AACH,oBAAY,yBAAyB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC5B;AAED;;;;;GAKG;AACH,oBAAY,qCAAqC;IAC/C,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;CACtE;AAED;;;;;;GAMG;AACH,oBAAY,qCAAq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M,CAAC;IACnB,kFAAkF;IAClF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sDAAsD;IACtD,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,kCAAkC,CAAC;IACxD,uEAAuE;IACvE,aAAa,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAChD,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;IAC3E;;;;;;;;;;;OAWG;IACH,YAAY,CAAC,EAAE,0CAA0C,CAAC;CAC3D;AAED;;;GAGG;AACH,MAAM,WAAW,yCACf,SAAQ,IAAI,CAAC,oCAAoC,EAAE,sBAAsB,CAAC;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;CAC7E;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,yCAAyC,GAChD,oCAAoC,CAOtC;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CACrD,aAAa,EAAE,oCAAoC,EACnD,QAAQ,EAAE,MAAM,EAChB,mBAAmB,EAAE,oCAAoC,GACxD,oCAAoC,CAetC;AA+PD;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;AAClG,iFAAiF"}
|
|
@@ -223,10 +223,28 @@ function mergeCodeSymbolRefs(base, incoming) {
|
|
|
223
223
|
}
|
|
224
224
|
const byKey = new Map();
|
|
225
225
|
for (const symbol of [...base, ...incoming]) {
|
|
226
|
-
|
|
226
|
+
const key = buildCodeSymbolRefKey(symbol);
|
|
227
|
+
const existing = byKey.get(key);
|
|
228
|
+
/*
|
|
229
|
+
* `incoming` wins on every field, EXCEPT that a location already known is not lost to an
|
|
230
|
+
* overlay that simply does not restate it. Without this, an overlay re-declaring a symbol
|
|
231
|
+
* to change (say) its notes would silently drop the base's `filePathHint`, and the drop is
|
|
232
|
+
* invisible: the merged ref is still valid, just less useful to the coding agent that reads
|
|
233
|
+
* it. Same-key refs describe the same symbol, so the base's location cannot be wrong here.
|
|
234
|
+
*/
|
|
235
|
+
byKey.set(key, existing?.filePathHint !== undefined && symbol.filePathHint === undefined
|
|
236
|
+
? { ...symbol, filePathHint: existing.filePathHint }
|
|
237
|
+
: symbol);
|
|
227
238
|
}
|
|
228
239
|
return [...byKey.values()];
|
|
229
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* Dedup identity for a symbol ref: WHERE it is imported from plus WHAT it is called.
|
|
243
|
+
*
|
|
244
|
+
* `filePathHint` is deliberately excluded. It is a navigation aid describing the same symbol,
|
|
245
|
+
* not part of its identity — keying on it would split one symbol into two entries the moment a
|
|
246
|
+
* single overlay omitted the hint (issue #150).
|
|
247
|
+
*/
|
|
230
248
|
function buildCodeSymbolRefKey(symbol) {
|
|
231
249
|
return [
|
|
232
250
|
symbol.packageName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-component-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/frontend-component-specification.schemas.ts"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,kEAA6B,CAAA;IAC7B,oFAA+C,CAAA;AACjD,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,4DAA+B,CAAA;IAC/B,wDAA2B,CAAA;AAC7B,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,qCAKX;AALD,WAAY,qCAAqC;IAC/C,gGA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ef,\n} from './definition-specification.schemas';\n\n/**\n * @wildo_source:part:start saas.specifications.frontend-component-spec-model facet:layer:specification facet:family:companion\n *\n * Which logical layer a component contribution belongs to.\n *\n * `BASE_ELEMENT` means the framework/app slot owner that originally defines the\n * implementation. `INJECTED_CONTRIBUTION` means a later contribution that\n * provides or overrides the implementation for the same slot target.\n */\nexport enum FrontendComponentContributionKind {\n BASE_ELEMENT = 'base-element',\n INJECTED_CONTRIBUTION = 'injected-contribution',\n}\n\n/**\n * How the component implementation is loaded at runtime.\n */\nexport enum FrontendComponentLoadKind {\n STATIC_IMPORT = 'static-import',\n LAZY_IMPORT = 'lazy-import',\n}\n\n/**\n * Which runtime registration path owns a contribution.\n *\n * These values deliberately mirror the current runtime seams instead of hiding\n * them behind a generic \"registered somewhere\" label.\n */\nexport enum FrontendComponentRegistrationPathKind {\n FRAMEWORK_DEFAULT_PRESETS = 'framework-default-presets',\n FRAMEWORK_LAYOUTS = 'framework-layouts',\n FRONTEND_MODULE_REGISTRATION = 'frontend-module-registration',\n LEGACY_CUSTOM_COMPONENT_REGISTRY = 'legacy-custom-component-registry',\n}\n\n/**\n * Conflict semantics currently used by a registration path.\n *\n * Tooling needs this because the same slot can behave differently depending on\n * whether it went through direct registry registration, lazy custom loading, or\n * module-registry merge.\n */\nexport enum FrontendComponentResolutionPolicyKind {\n LAST_REGISTRATION_WINS = 'last-registration-wins',\n FIRST_REGISTRATION_WINS = 'first-registration-wins',\n MERGED_BY_COMPONENT_REF = 'merged-by-component-ref',\n}\n\n/**\n * How precisely a contribution source is identified before runtime merge.\n *\n * Some paths target the full slot tuple (`componentRef + preset + category`),\n * while current `FrontendModule.componentRegistrations` only preserve\n * `componentRef` identity before the loader resolves the effective runtime slot.\n */\nexport enum FrontendComponentContributionIdentityGranularity {\n COMPONENT_REF = 'componentRef',\n SLOT = 'slot',\n}\n\n/**\n * Stable component target identity shared by all presets of one component slot.\n *\n * Presets are modeled separately so component-level interface, examples, and\n * translation guidance can stay DRY across several preset implementations.\n */\nexport interface FrontendComponentSpecificationTarget {\n /** Runtime component slot / component ref. */\n componentRef: string;\n /** Optional public declaration owning the component ref/type constant. */\n componentTypeDeclaration?: CodeNamedMemberRef;\n /** Optional extra dimension used by some slots, e.g. EDIT vs DISPLAY. */\n category?: string;\n /** Optional public declaration owning the category constant/member. */\n categoryDeclaration?: CodeNamedMemberRef;\n}\n\nexport function buildFrontendComponentSpecificationKey(\n target: Pick<FrontendComponentSpecificationTarget, 'componentRef' | 'category'>,\n): string {\n return target.category ? `${target.componentRef}:${target.category}` : target.componentRef;\n}\n\n/**\n * Preset-specific runtime target nested under one shared component target.\n */\nexport interface FrontendComponentPresetTarget {\n /** Runtime preset name used for this implementation aspect. */\n preset: string;\n /** Optional public declaration owning the preset constant/member. */\n presetDeclaration?: CodeNamedMemberRef;\n /** Exact registry key if the author wants to pin the composed runtime key. */\n registryKey?: string;\n}\n\n/**\n * Source identity of one contribution before runtime merge/registration.\n *\n * This stays separate from the top-level slot because some contribution paths\n * are authored more loosely than the final runtime registry key they end up\n * affecting.\n */\nexport interface FrontendComponentContributionSourceIdentity {\n /** Current authored merge-key granularity for this contribution source. */\n identityGranularity: FrontendComponentContributionIdentityGranularity;\n /** Authored component ref / registration key anchor. */\n componentRef: string;\n /** Optional authored preset when that path preserves it explicitly. */\n preset?: string;\n /** Optional authored category when that path preserves it explicitly. */\n category?: string;\n}\n\n/**\n * One authored source that can provide the implementation for a component slot.\n */\nexport interface FrontendComponentSpecificationContribution {\n /** Whether this source is the base slot owner or an injected contribution. */\n contributionKind: FrontendComponentContributionKind;\n /** Authored source identity before the runtime resolves the effective slot. */\n sourceIdentity: FrontendComponentContributionSourceIdentity;\n /** Module/application owner that authored this contribution. */\n owner?: SpecificationOwnerRef;\n /** Runtime registration lane used to surface the contribution. */\n registrationPath: FrontendComponentRegistrationPathKind;\n /** Whether the component is loaded eagerly or lazily. */\n loadKind: FrontendComponentLoadKind;\n /** Public symbol exposing the registration declaration/loader. */\n registrationSymbol: CodeSymbolRef;\n /** Public symbol exposing the actual React component when importable. */\n implementationSymbol?: CodeSymbolRef;\n /** Preferred public wrapper/import surface for normal downstream consumption. */\n consumerFacingSymbol?: CodeSymbolRef;\n /** Conflict/override semantics applied on this registration path. */\n resolutionPolicy?: FrontendComponentResolutionPolicyKind;\n /** Extra public symbols that downstream coding helpers may need. */\n supportingSymbols?: CodeSymbolRef[];\n /**\n * Authoring caveats for the contribution.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened/joined into a single line, and never\n * collapsed into the contribution's structural summary line.\n *\n * Companion materializers should emit one `${contributionLabel} note:\n * ${note}` bullet per entry alongside the contribution's structural header\n * bullet (and any owner-note bullets surfaced via\n * {@link SpecificationOwnerRef.notes}). This keeps each caveat individually\n * citable downstream and matches the contract enforced for\n * {@link TranslationSlotSpecification.notes} and\n * {@link FrontendComponentPropSpecification.notes}.\n */\n notes?: string[];\n}\n\n/**\n * Import-oriented metadata for frontend component specifications.\n *\n * The structural component target now lives at the top level of the\n * specification. This lane is reserved for extra import-oriented references that\n * help downstream code-writing prompts.\n */\nexport interface FrontendComponentSpecificationCodeHandling {\n /** Extra public symbols useful for downstream code-writing prompts. */\n supportingSymbols?: CodeSymbolRef[];\n}\n\n/**\n * Additive preset-level specification layered on top of the shared component\n * description.\n *\n * Most components will only expose `DEFAULT`, but multi-preset components can\n * add several preset entries without duplicating interface or usage guidance.\n */\nexport interface FrontendComponentPresetSpecification {\n /** Why this preset exists beyond the shared component contract. */\n specialConcern?: string;\n /** Translation-specific caveats or wording posture for this preset. */\n translationNotes?: string[];\n /** Authoring caveats specific to this preset implementation. */\n authoringNotes?: string[];\n /** Effective runtime target for this preset implementation. */\n presetTarget: FrontendComponentPresetTarget;\n /** Original/base slot implementation source, if one exists. */\n baseElement?: FrontendComponentSpecificationContribution;\n /** Later contributions that inject or override the slot implementation. */\n injectedContributions?: FrontendComponentSpecificationContribution[];\n /** Extra public symbols useful for downstream code-writing prompts. */\n supportingSymbols?: CodeSymbolRef[];\n}\n\n/**\n * Structural kind of one documented component prop.\n */\nexport enum FrontendComponentPropValueKind {\n PRIMITIVE = 'primitive',\n ENUM = 'enum',\n OBJECT = 'object',\n ARRAY = 'array',\n FUNCTION = 'function',\n REACT_NODE = 'react-node',\n TYPE_REFERENCE = 'type-reference',\n UNION = 'union',\n}\n\n/**\n * Nested value-shape description for non-trivial prop kinds such as arrays,\n * unions, object references, and callback props.\n */\nexport interface FrontendComponentPropValueShape {\n /** High-level kind of value expected by the prop or nested member. */\n valueKind: FrontendComponentPropValueKind;\n /** Primitive kind when the value is a primitive. */\n primitiveType?: CodePrimitiveKind;\n /** Importable type/value reference when the shape is driven by another contract. */\n valueTypeSymbol?: CodeSymbolRef;\n /** Structured vocabulary when the value is constrained by known options. */\n vocabulary?: FrontendComponentPropValueVocabulary;\n /** Array element shape when `valueKind` is `ARRAY`. */\n arrayElement?: Omit<FrontendComponentPropValueShape, 'arrayElement' | 'unionMembers'>;\n /** Union member shapes when `valueKind` is `UNION`. */\n unionMembers?: Array<Omit<FrontendComponentPropValueShape, 'arrayElement' | 'unionMembers'>>;\n /** Short callback signature hint when `valueKind` is `FUNCTION`. */\n functionSignature?: string;\n /**\n * Extra caveats for the nested value shape.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened into the inline structural summary\n * produced for the shape (which appears within a parent prop bullet line).\n *\n * Because nested shapes (`arrayElement`, `unionMembers`, root prop shape)\n * are composed inline into a single structural summary, companion\n * materializers MUST hoist these notes UP to the parent prop's bullet\n * block, prefixed with a path-aware label (e.g. ``\\`propName\\` arrayElement\n * note: ${note}`` or ``\\`propName\\` unionMember[0] note: ${note}``) so each\n * caveat surfaces as its own bullet. This matches the per-bullet contract\n * enforced for {@link FrontendComponentPropSpecification.notes} and\n * {@link FrontendComponentPropValueVocabulary.notes}.\n */\n notes?: string[];\n}\n\n/**\n * One explicit value inside a prop vocabulary.\n */\nexport interface FrontendComponentPropValueOption {\n /** Literal runtime value expected for the prop. */\n value: string | number | boolean;\n /** Short explanation of what this value means in practice. */\n meaning?: string;\n}\n\n/**\n * Structured vocabulary metadata for a prop that has a constrained set of\n * values or a declared enum source.\n */\nexport interface FrontendComponentPropValueVocabulary {\n /** Public enum/const declaration that owns the value vocabulary, if any. */\n enumerationSource?: CodeSymbolRef;\n /** Explicit known values that downstream tools can present directly. */\n values?: FrontendComponentPropValueOption[];\n /** Whether arbitrary user-defined values are still allowed beyond the list. */\n allowCustomValues?: boolean;\n /**\n * Extra caveats when the vocabulary alone is not sufficient.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened into the inline vocabulary summary\n * (which appears either in the top-level prop-vocabulary bullet block or\n * inside a parent prop's bullet line via a nested shape).\n *\n * Companion materializers MUST emit one ``\\`propName\\` vocabulary note:\n * ${note}`` bullet per entry — at the top-level vocabulary block when the\n * vocabulary is attached directly to a prop, and hoisted to the parent\n * prop's bullet block when the vocabulary is nested inside a shape (e.g.\n * ``\\`propName\\` arrayElement vocabulary note: ${note}``). This matches\n * the per-bullet contract enforced for\n * {@link FrontendComponentPropValueShape.notes} and\n * {@link FrontendComponentPropSpecification.notes}.\n */\n notes?: string[];\n}\n\n/**\n * One documented prop on the consumer-facing component interface.\n */\nexport interface FrontendComponentPropSpecification {\n /** Literal prop name on the exported component interface. */\n propName: string;\n /** Why this prop exists from a UI/authoring perspective. */\n purpose: string;\n /** Whether callers normally need to provide the prop explicitly. */\n required?: boolean;\n /** High-level kind of value expected by the prop. */\n valueKind: FrontendComponentPropValueKind;\n /** Primitive kind when `valueKind` is `primitive`. */\n primitiveType?: CodePrimitiveKind;\n /** Importable type/value reference when the prop is backed by another contract. */\n valueTypeSymbol?: CodeSymbolRef;\n /** Declared vocabulary / possible values for constrained props. */\n vocabulary?: FrontendComponentPropValueVocabulary;\n /** Array element shape when `valueKind` is `ARRAY`. */\n arrayElement?: FrontendComponentPropValueShape;\n /** Union member shapes when `valueKind` is `UNION`. */\n unionMembers?: FrontendComponentPropValueShape[];\n /** Short callback signature hint when `valueKind` is `FUNCTION`. */\n functionSignature?: string;\n /** Optional documented default when omitted. */\n defaultValue?: string | number | boolean;\n /**\n * Extra authoring caveats for this prop.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened/joined into a single line, and never\n * collapsed into the prop's structural summary line.\n *\n * Companion materializers should emit one ``\\`propName\\` note: ${note}``\n * bullet per entry, alongside the prop's structural header bullet (and any\n * shape/vocabulary notes hoisted from nested\n * {@link FrontendComponentPropValueShape.notes} and\n * {@link FrontendComponentPropValueVocabulary.notes}). This keeps each\n * caveat individually citable downstream and matches the contract enforced\n * for {@link TranslationSlotSpecification.notes} and\n * {@link FrontendComponentSpecificationContribution.notes}.\n */\n notes?: string[];\n}\n\n/**\n * Interface contract for the consumer-facing component surface.\n */\nexport interface FrontendComponentInterfaceContract {\n /** Public type alias/interface describing the consumer-facing props. */\n propsType?: CodeSymbolRef;\n /** Public type alias/interface describing the forwarded ref, if any. */\n refType?: CodeSymbolRef;\n /** Structured documentation for high-value props on the interface. */\n propSpecifications?: FrontendComponentPropSpecification[];\n}\n\n/**\n * Concrete example usage that downstream tools can reuse in prompts or docs.\n */\nexport interface FrontendComponentUsageExample {\n /** Short label for the scenario shown by the snippet. */\n title: string;\n /** Why this example is useful or representative. */\n description?: string;\n /** Code language for rendering/transposition. */\n language?: 'tsx' | 'typescript' | 'javascript';\n /** Example snippet showing truthful component usage. */\n code: string;\n /** Extra caveats or follow-up notes for the snippet. */\n notes?: string[];\n}\n/** @wildo_source:part:end saas.specifications.frontend-component-spec-model */\n\n/**\n * @wildo_source:part:start saas.specifications.frontend-component-spec-factory facet:layer:specification facet:family:companion\n *\n * Semantic overlay for one shared frontend component target.\n */\nexport interface FrontendComponentSpecificationConfig {\n /** Structural runtime target shared by all preset aspects of this component. */\n target: FrontendComponentSpecificationTarget;\n /** Cross-surface semantic identifier shared with higher-level semantics lanes. */\n componentId: string;\n /** Why this component target exists in the product/authoring model. */\n purpose: string;\n /** UI role played by the component target. */\n uiRole: string;\n /** Situations where this component family is the recommended choice. */\n useWhen?: string;\n /** Situations where another component family/pattern should be preferred. */\n avoidWhen?: string;\n /** Translation/i18n role carried by the shared component contract if relevant. */\n translationRole?: string;\n /** Extra authoring guidance for AI/app developers. */\n authoringNotes?: string[];\n /** Notes about how this slot composes with surrounding UI surfaces. */\n compositionNotes?: string[];\n /** Public interface contract for the consumer-facing component surface. */\n componentInterface?: FrontendComponentInterfaceContract;\n /** Concrete usage snippets that prove truthful component authoring. */\n usageExamples?: FrontendComponentUsageExample[];\n /** Default preset to use when callers do not ask for a specific preset. */\n defaultPreset?: string;\n /** Preset-specific additive aspects layered on top of the shared component contract. */\n presetSpecifications: Record<string, FrontendComponentPresetSpecification>;\n /**\n * Public-import-oriented metadata for coding/transposition consumers.\n *\n * Optional: Step 7 deferred follow-up #2 flipped this slot from required to\n * optional once the audit confirmed every engine spec authors `{}` as a\n * noise-only placeholder (no inner field is populated). Keeping the slot\n * preserves the future expansion point for app overlays that want to ship\n * `supportingSymbols`, but the empty-object placeholder is no longer\n * required at the call site. The companion renderer reads it via optional\n * chaining (`specification.codeHandling?.supportingSymbols ?? []`) so absence\n * collapses cleanly to the same \"no extra symbols\" output as `{}` did.\n */\n codeHandling?: FrontendComponentSpecificationCodeHandling;\n}\n\n/**\n * Authored input shape before composition helpers normalize the optional preset\n * lane.\n */\nexport interface FrontendComponentSpecificationConfigInput\n extends Omit<FrontendComponentSpecificationConfig, 'presetSpecifications'> {\n presetSpecifications?: Record<string, FrontendComponentPresetSpecification>;\n}\n\n/**\n * Normalize one authored component specification so later additive helpers can\n * safely extend it without every leaf re-declaring empty records.\n */\nexport function frontendComponentSpecification(\n config: FrontendComponentSpecificationConfigInput,\n): FrontendComponentSpecificationConfig {\n const normalized = {\n ...config,\n presetSpecifications: { ...(config.presetSpecifications ?? {}) },\n };\n validateFrontendComponentSpecification(normalized);\n return normalized;\n}\n\n/**\n * Add one preset aspect to an existing shared component target specification.\n */\nexport function addFrontendComponentPresetSpecification(\n specification: FrontendComponentSpecificationConfig,\n presetId: string,\n presetSpecification: FrontendComponentPresetSpecification,\n): FrontendComponentSpecificationConfig {\n const nextSpecification = {\n ...specification,\n presetSpecifications: {\n ...specification.presetSpecifications,\n [presetId]: specification.presetSpecifications[presetId]\n ? mergeFrontendComponentPresetSpecification(\n specification.presetSpecifications[presetId]!,\n presetSpecification,\n )\n : presetSpecification,\n },\n };\n validateFrontendComponentSpecification(nextSpecification);\n return nextSpecification;\n}\n/** @wildo_source:part:end saas.specifications.frontend-component-spec-factory */\n\nfunction validateFrontendComponentSpecification(\n specification: FrontendComponentSpecificationConfig,\n): void {\n const presetEntries = Object.entries(specification.presetSpecifications);\n if (presetEntries.length === 0) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must declare at least one preset specification.`,\n );\n }\n\n if (\n specification.defaultPreset !== undefined\n && specification.presetSpecifications[specification.defaultPreset] === undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" declares defaultPreset \"${specification.defaultPreset}\" but no matching preset specification exists.`,\n );\n }\n\n for (const [presetId, presetSpecification] of presetEntries) {\n if (presetSpecification.presetTarget.preset !== presetId) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" registered preset key \"${presetId}\" but the preset target declares \"${presetSpecification.presetTarget.preset}\".`,\n );\n }\n validatePresetContribution(\n specification,\n presetId,\n 'baseElement',\n presetSpecification.baseElement,\n );\n for (const [index, contribution] of (presetSpecification.injectedContributions ?? []).entries()) {\n validatePresetContribution(\n specification,\n presetId,\n `injectedContributions[${index}]`,\n contribution,\n );\n }\n }\n}\n\nfunction validatePresetContribution(\n specification: FrontendComponentSpecificationConfig,\n presetId: string,\n contributionPath: string,\n contribution: FrontendComponentSpecificationContribution | undefined,\n): void {\n if (!contribution) {\n return;\n }\n\n if (contribution.sourceIdentity.componentRef !== specification.target.componentRef) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with componentRef \"${contribution.sourceIdentity.componentRef}\" that does not match target \"${specification.target.componentRef}\".`,\n );\n }\n\n if (\n contribution.sourceIdentity.identityGranularity === FrontendComponentContributionIdentityGranularity.SLOT\n && specification.target.category === undefined\n && contribution.sourceIdentity.category !== undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with unexpected category \"${contribution.sourceIdentity.category}\" on an uncategorized target.`,\n );\n }\n\n if (\n contribution.sourceIdentity.identityGranularity === FrontendComponentContributionIdentityGranularity.SLOT\n && specification.target.category !== undefined\n && contribution.sourceIdentity.category === undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must preserve category \"${specification.target.category}\" for ${contributionPath}.`,\n );\n }\n\n if (\n contribution.sourceIdentity.identityGranularity === FrontendComponentContributionIdentityGranularity.SLOT\n && specification.target.category !== undefined\n && contribution.sourceIdentity.category !== specification.target.category\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with category \"${contribution.sourceIdentity.category}\" that does not match target category \"${specification.target.category}\".`,\n );\n }\n\n if (\n contribution.sourceIdentity.preset !== undefined\n && contribution.sourceIdentity.preset !== presetId\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with preset \"${contribution.sourceIdentity.preset}\" that does not match preset \"${presetId}\".`,\n );\n }\n\n if (contribution.registrationPath === FrontendComponentRegistrationPathKind.FRONTEND_MODULE_REGISTRATION) {\n if (contribution.sourceIdentity.identityGranularity !== FrontendComponentContributionIdentityGranularity.COMPONENT_REF) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must use COMPONENT_REF identity for ${contributionPath} on FRONTEND_MODULE_REGISTRATION.`,\n );\n }\n if (\n contribution.sourceIdentity.preset !== undefined\n || contribution.sourceIdentity.category !== undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" cannot preserve preset/category identity for ${contributionPath} on FRONTEND_MODULE_REGISTRATION.`,\n );\n }\n }\n\n if (\n contribution.registrationPath === FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS\n || contribution.registrationPath === FrontendComponentRegistrationPathKind.FRAMEWORK_LAYOUTS\n ) {\n if (contribution.sourceIdentity.identityGranularity !== FrontendComponentContributionIdentityGranularity.SLOT) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must use SLOT identity for ${contributionPath} on ${contribution.registrationPath}.`,\n );\n }\n if (contribution.sourceIdentity.preset === undefined) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must declare a preset for ${contributionPath} on ${contribution.registrationPath}.`,\n );\n }\n }\n}\n\nfunction mergeFrontendComponentPresetSpecification(\n base: FrontendComponentPresetSpecification,\n incoming: FrontendComponentPresetSpecification,\n): FrontendComponentPresetSpecification {\n const mergedInjectedContributions = [\n ...(base.injectedContributions ?? []),\n ...(incoming.injectedContributions ?? []),\n ];\n return {\n specialConcern: mergeCompatibleScalar('specialConcern', base.specialConcern, incoming.specialConcern),\n translationNotes: mergeStringArrays(base.translationNotes, incoming.translationNotes),\n authoringNotes: mergeStringArrays(base.authoringNotes, incoming.authoringNotes),\n presetTarget: mergePresetTarget(base.presetTarget, incoming.presetTarget),\n baseElement: mergeCompatibleScalar('baseElement', base.baseElement, incoming.baseElement),\n injectedContributions: mergedInjectedContributions.length > 0 ? mergedInjectedContributions : undefined,\n supportingSymbols: mergeCodeSymbolRefs(base.supportingSymbols, incoming.supportingSymbols),\n };\n}\n\nfunction mergePresetTarget(\n base: FrontendComponentPresetTarget,\n incoming: FrontendComponentPresetTarget,\n): FrontendComponentPresetTarget {\n if (base.preset !== incoming.preset) {\n throw new Error(\n `Cannot merge preset specifications for different preset targets (\"${base.preset}\" vs \"${incoming.preset}\").`,\n );\n }\n return {\n preset: base.preset,\n presetDeclaration: mergeCompatibleScalar(\n 'presetDeclaration',\n base.presetDeclaration,\n incoming.presetDeclaration,\n ),\n registryKey: mergeCompatibleScalar('registryKey', base.registryKey, incoming.registryKey),\n };\n}\n\nfunction mergeCompatibleScalar<T>(\n label: string,\n base: T | undefined,\n incoming: T | undefined,\n): T | undefined {\n if (base === undefined) {\n return incoming;\n }\n if (incoming === undefined) {\n return base;\n }\n if (areValuesEqual(base, incoming)) {\n return base;\n }\n throw new Error(`Cannot merge frontend component preset specifications because \"${label}\" conflicts.`);\n}\n\nfunction mergeStringArrays(\n base: string[] | undefined,\n incoming: string[] | undefined,\n): string[] | undefined {\n if (base === undefined) {\n return incoming;\n }\n if (incoming === undefined) {\n return base;\n }\n return [...new Set([...base, ...incoming])];\n}\n\nfunction mergeCodeSymbolRefs(\n base: CodeSymbolRef[] | undefined,\n incoming: CodeSymbolRef[] | undefined,\n): CodeSymbolRef[] | undefined {\n if (base === undefined) {\n return incoming;\n }\n if (incoming === undefined) {\n return base;\n }\n\n const byKey = new Map<string, CodeSymbolRef>();\n for (const symbol of [...base, ...incoming]) {\n byKey.set(buildCodeSymbolRefKey(symbol), symbol);\n }\n return [...byKey.values()];\n}\n\nfunction buildCodeSymbolRefKey(symbol: CodeSymbolRef): string {\n return [\n symbol.packageName,\n symbol.importPath ?? '',\n symbol.exportName,\n symbol.symbolKind ?? '',\n symbol.declarationKind ?? '',\n ].join('::');\n}\n\nfunction areValuesEqual(left: unknown, right: unknown): boolean {\n return JSON.stringify(left) === JSON.stringify(right);\n}\n\n/**\n * @wildo_source:part:start saas.specifications.frontend-component-spec-factory facet:layer:specification facet:family:companion\n *\n * Registry keyed by the shared component target identity.\n */\nexport type FrontendComponentSpecification = Record<string, FrontendComponentSpecificationConfig>;\n/** @wildo_source:part:end saas.specifications.frontend-component-spec-factory */\n"]}
|
|
1
|
+
{"version":3,"file":"frontend-component-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/frontend-component-specification.schemas.ts"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,kEA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,CAAC;IACD,OAAO,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;AAC7B,CAAC;AAED;;;;;;GAMG;AACH,SAAS,qBAAqB,CAAC,MAAqB;IAClD,OAAO;QACL,MAAM,CAAC,WAAW;QAClB,MAAM,CAAC,UAAU,IAAI,EAAE;QACvB,MAAM,CAAC,UAAU;QACjB,MAAM,CAAC,UAAU,IAAI,EAAE;QACvB,MAAM,CAAC,eAAe,IAAI,EAAE;KAC7B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED,SAAS,cAAc,CAAC,IAAa,EAAE,KAAc;IACnD,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACxD,CAAC;AAQD,iFAAiF","sourcesContent":["import type { CodePrimitiveKind, CodeSymbolRef } from '@wildo-ai/zod-decorators';\nimport type {\n CodeNamedMemberRef,\n SpecificationOwnerRef,\n} from './definition-specification.schemas';\n\n/**\n * @wildo_source:part:start saas.specifications.frontend-component-spec-model facet:layer:specification facet:family:companion\n *\n * Which logical layer a component contribution belongs to.\n *\n * `BASE_ELEMENT` means the framework/app slot owner that originally defines the\n * implementation. `INJECTED_CONTRIBUTION` means a later contribution that\n * provides or overrides the implementation for the same slot target.\n */\nexport enum FrontendComponentContributionKind {\n BASE_ELEMENT = 'base-element',\n INJECTED_CONTRIBUTION = 'injected-contribution',\n}\n\n/**\n * How the component implementation is loaded at runtime.\n */\nexport enum FrontendComponentLoadKind {\n STATIC_IMPORT = 'static-import',\n LAZY_IMPORT = 'lazy-import',\n}\n\n/**\n * Which runtime registration path owns a contribution.\n *\n * These values deliberately mirror the current runtime seams instead of hiding\n * them behind a generic \"registered somewhere\" label.\n */\nexport enum FrontendComponentRegistrationPathKind {\n FRAMEWORK_DEFAULT_PRESETS = 'framework-default-presets',\n FRAMEWORK_LAYOUTS = 'framework-layouts',\n FRONTEND_MODULE_REGISTRATION = 'frontend-module-registration',\n LEGACY_CUSTOM_COMPONENT_REGISTRY = 'legacy-custom-component-registry',\n}\n\n/**\n * Conflict semantics currently used by a registration path.\n *\n * Tooling needs this because the same slot can behave differently depending on\n * whether it went through direct registry registration, lazy custom loading, or\n * module-registry merge.\n */\nexport enum FrontendComponentResolutionPolicyKind {\n LAST_REGISTRATION_WINS = 'last-registration-wins',\n FIRST_REGISTRATION_WINS = 'first-registration-wins',\n MERGED_BY_COMPONENT_REF = 'merged-by-component-ref',\n}\n\n/**\n * How precisely a contribution source is identified before runtime merge.\n *\n * Some paths target the full slot tuple (`componentRef + preset + category`),\n * while current `FrontendModule.componentRegistrations` only preserve\n * `componentRef` identity before the loader resolves the effective runtime slot.\n */\nexport enum FrontendComponentContributionIdentityGranularity {\n COMPONENT_REF = 'componentRef',\n SLOT = 'slot',\n}\n\n/**\n * Stable component target identity shared by all presets of one component slot.\n *\n * Presets are modeled separately so component-level interface, examples, and\n * translation guidance can stay DRY across several preset implementations.\n */\nexport interface FrontendComponentSpecificationTarget {\n /** Runtime component slot / component ref. */\n componentRef: string;\n /** Optional public declaration owning the component ref/type constant. */\n componentTypeDeclaration?: CodeNamedMemberRef;\n /** Optional extra dimension used by some slots, e.g. EDIT vs DISPLAY. */\n category?: string;\n /** Optional public declaration owning the category constant/member. */\n categoryDeclaration?: CodeNamedMemberRef;\n}\n\nexport function buildFrontendComponentSpecificationKey(\n target: Pick<FrontendComponentSpecificationTarget, 'componentRef' | 'category'>,\n): string {\n return target.category ? `${target.componentRef}:${target.category}` : target.componentRef;\n}\n\n/**\n * Preset-specific runtime target nested under one shared component target.\n */\nexport interface FrontendComponentPresetTarget {\n /** Runtime preset name used for this implementation aspect. */\n preset: string;\n /** Optional public declaration owning the preset constant/member. */\n presetDeclaration?: CodeNamedMemberRef;\n /** Exact registry key if the author wants to pin the composed runtime key. */\n registryKey?: string;\n}\n\n/**\n * Source identity of one contribution before runtime merge/registration.\n *\n * This stays separate from the top-level slot because some contribution paths\n * are authored more loosely than the final runtime registry key they end up\n * affecting.\n */\nexport interface FrontendComponentContributionSourceIdentity {\n /** Current authored merge-key granularity for this contribution source. */\n identityGranularity: FrontendComponentContributionIdentityGranularity;\n /** Authored component ref / registration key anchor. */\n componentRef: string;\n /** Optional authored preset when that path preserves it explicitly. */\n preset?: string;\n /** Optional authored category when that path preserves it explicitly. */\n category?: string;\n}\n\n/**\n * One authored source that can provide the implementation for a component slot.\n */\nexport interface FrontendComponentSpecificationContribution {\n /** Whether this source is the base slot owner or an injected contribution. */\n contributionKind: FrontendComponentContributionKind;\n /** Authored source identity before the runtime resolves the effective slot. */\n sourceIdentity: FrontendComponentContributionSourceIdentity;\n /** Module/application owner that authored this contribution. */\n owner?: SpecificationOwnerRef;\n /** Runtime registration lane used to surface the contribution. */\n registrationPath: FrontendComponentRegistrationPathKind;\n /** Whether the component is loaded eagerly or lazily. */\n loadKind: FrontendComponentLoadKind;\n /** Public symbol exposing the registration declaration/loader. */\n registrationSymbol: CodeSymbolRef;\n /** Public symbol exposing the actual React component when importable. */\n implementationSymbol?: CodeSymbolRef;\n /** Preferred public wrapper/import surface for normal downstream consumption. */\n consumerFacingSymbol?: CodeSymbolRef;\n /** Conflict/override semantics applied on this registration path. */\n resolutionPolicy?: FrontendComponentResolutionPolicyKind;\n /** Extra public symbols that downstream coding helpers may need. */\n supportingSymbols?: CodeSymbolRef[];\n /**\n * Authoring caveats for the contribution.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened/joined into a single line, and never\n * collapsed into the contribution's structural summary line.\n *\n * Companion materializers should emit one `${contributionLabel} note:\n * ${note}` bullet per entry alongside the contribution's structural header\n * bullet (and any owner-note bullets surfaced via\n * {@link SpecificationOwnerRef.notes}). This keeps each caveat individually\n * citable downstream and matches the contract enforced for\n * {@link TranslationSlotSpecification.notes} and\n * {@link FrontendComponentPropSpecification.notes}.\n */\n notes?: string[];\n}\n\n/**\n * Import-oriented metadata for frontend component specifications.\n *\n * The structural component target now lives at the top level of the\n * specification. This lane is reserved for extra import-oriented references that\n * help downstream code-writing prompts.\n */\nexport interface FrontendComponentSpecificationCodeHandling {\n /** Extra public symbols useful for downstream code-writing prompts. */\n supportingSymbols?: CodeSymbolRef[];\n}\n\n/**\n * Additive preset-level specification layered on top of the shared component\n * description.\n *\n * Most components will only expose `DEFAULT`, but multi-preset components can\n * add several preset entries without duplicating interface or usage guidance.\n */\nexport interface FrontendComponentPresetSpecification {\n /** Why this preset exists beyond the shared component contract. */\n specialConcern?: string;\n /** Translation-specific caveats or wording posture for this preset. */\n translationNotes?: string[];\n /** Authoring caveats specific to this preset implementation. */\n authoringNotes?: string[];\n /** Effective runtime target for this preset implementation. */\n presetTarget: FrontendComponentPresetTarget;\n /** Original/base slot implementation source, if one exists. */\n baseElement?: FrontendComponentSpecificationContribution;\n /** Later contributions that inject or override the slot implementation. */\n injectedContributions?: FrontendComponentSpecificationContribution[];\n /** Extra public symbols useful for downstream code-writing prompts. */\n supportingSymbols?: CodeSymbolRef[];\n}\n\n/**\n * Structural kind of one documented component prop.\n */\nexport enum FrontendComponentPropValueKind {\n PRIMITIVE = 'primitive',\n ENUM = 'enum',\n OBJECT = 'object',\n ARRAY = 'array',\n FUNCTION = 'function',\n REACT_NODE = 'react-node',\n TYPE_REFERENCE = 'type-reference',\n UNION = 'union',\n}\n\n/**\n * Nested value-shape description for non-trivial prop kinds such as arrays,\n * unions, object references, and callback props.\n */\nexport interface FrontendComponentPropValueShape {\n /** High-level kind of value expected by the prop or nested member. */\n valueKind: FrontendComponentPropValueKind;\n /** Primitive kind when the value is a primitive. */\n primitiveType?: CodePrimitiveKind;\n /** Importable type/value reference when the shape is driven by another contract. */\n valueTypeSymbol?: CodeSymbolRef;\n /** Structured vocabulary when the value is constrained by known options. */\n vocabulary?: FrontendComponentPropValueVocabulary;\n /** Array element shape when `valueKind` is `ARRAY`. */\n arrayElement?: Omit<FrontendComponentPropValueShape, 'arrayElement' | 'unionMembers'>;\n /** Union member shapes when `valueKind` is `UNION`. */\n unionMembers?: Array<Omit<FrontendComponentPropValueShape, 'arrayElement' | 'unionMembers'>>;\n /** Short callback signature hint when `valueKind` is `FUNCTION`. */\n functionSignature?: string;\n /**\n * Extra caveats for the nested value shape.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened into the inline structural summary\n * produced for the shape (which appears within a parent prop bullet line).\n *\n * Because nested shapes (`arrayElement`, `unionMembers`, root prop shape)\n * are composed inline into a single structural summary, companion\n * materializers MUST hoist these notes UP to the parent prop's bullet\n * block, prefixed with a path-aware label (e.g. ``\\`propName\\` arrayElement\n * note: ${note}`` or ``\\`propName\\` unionMember[0] note: ${note}``) so each\n * caveat surfaces as its own bullet. This matches the per-bullet contract\n * enforced for {@link FrontendComponentPropSpecification.notes} and\n * {@link FrontendComponentPropValueVocabulary.notes}.\n */\n notes?: string[];\n}\n\n/**\n * One explicit value inside a prop vocabulary.\n */\nexport interface FrontendComponentPropValueOption {\n /** Literal runtime value expected for the prop. */\n value: string | number | boolean;\n /** Short explanation of what this value means in practice. */\n meaning?: string;\n}\n\n/**\n * Structured vocabulary metadata for a prop that has a constrained set of\n * values or a declared enum source.\n */\nexport interface FrontendComponentPropValueVocabulary {\n /** Public enum/const declaration that owns the value vocabulary, if any. */\n enumerationSource?: CodeSymbolRef;\n /** Explicit known values that downstream tools can present directly. */\n values?: FrontendComponentPropValueOption[];\n /** Whether arbitrary user-defined values are still allowed beyond the list. */\n allowCustomValues?: boolean;\n /**\n * Extra caveats when the vocabulary alone is not sufficient.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened into the inline vocabulary summary\n * (which appears either in the top-level prop-vocabulary bullet block or\n * inside a parent prop's bullet line via a nested shape).\n *\n * Companion materializers MUST emit one ``\\`propName\\` vocabulary note:\n * ${note}`` bullet per entry — at the top-level vocabulary block when the\n * vocabulary is attached directly to a prop, and hoisted to the parent\n * prop's bullet block when the vocabulary is nested inside a shape (e.g.\n * ``\\`propName\\` arrayElement vocabulary note: ${note}``). This matches\n * the per-bullet contract enforced for\n * {@link FrontendComponentPropValueShape.notes} and\n * {@link FrontendComponentPropSpecification.notes}.\n */\n notes?: string[];\n}\n\n/**\n * One documented prop on the consumer-facing component interface.\n */\nexport interface FrontendComponentPropSpecification {\n /** Literal prop name on the exported component interface. */\n propName: string;\n /** Why this prop exists from a UI/authoring perspective. */\n purpose: string;\n /** Whether callers normally need to provide the prop explicitly. */\n required?: boolean;\n /** High-level kind of value expected by the prop. */\n valueKind: FrontendComponentPropValueKind;\n /** Primitive kind when `valueKind` is `primitive`. */\n primitiveType?: CodePrimitiveKind;\n /** Importable type/value reference when the prop is backed by another contract. */\n valueTypeSymbol?: CodeSymbolRef;\n /** Declared vocabulary / possible values for constrained props. */\n vocabulary?: FrontendComponentPropValueVocabulary;\n /** Array element shape when `valueKind` is `ARRAY`. */\n arrayElement?: FrontendComponentPropValueShape;\n /** Union member shapes when `valueKind` is `UNION`. */\n unionMembers?: FrontendComponentPropValueShape[];\n /** Short callback signature hint when `valueKind` is `FUNCTION`. */\n functionSignature?: string;\n /** Optional documented default when omitted. */\n defaultValue?: string | number | boolean;\n /**\n * Extra authoring caveats for this prop.\n *\n * **Companion-bullet contract**: Each entry MUST be rendered as a dedicated\n * markdown bullet — never flattened/joined into a single line, and never\n * collapsed into the prop's structural summary line.\n *\n * Companion materializers should emit one ``\\`propName\\` note: ${note}``\n * bullet per entry, alongside the prop's structural header bullet (and any\n * shape/vocabulary notes hoisted from nested\n * {@link FrontendComponentPropValueShape.notes} and\n * {@link FrontendComponentPropValueVocabulary.notes}). This keeps each\n * caveat individually citable downstream and matches the contract enforced\n * for {@link TranslationSlotSpecification.notes} and\n * {@link FrontendComponentSpecificationContribution.notes}.\n */\n notes?: string[];\n}\n\n/**\n * Interface contract for the consumer-facing component surface.\n */\nexport interface FrontendComponentInterfaceContract {\n /** Public type alias/interface describing the consumer-facing props. */\n propsType?: CodeSymbolRef;\n /** Public type alias/interface describing the forwarded ref, if any. */\n refType?: CodeSymbolRef;\n /** Structured documentation for high-value props on the interface. */\n propSpecifications?: FrontendComponentPropSpecification[];\n}\n\n/**\n * Concrete example usage that downstream tools can reuse in prompts or docs.\n */\nexport interface FrontendComponentUsageExample {\n /** Short label for the scenario shown by the snippet. */\n title: string;\n /** Why this example is useful or representative. */\n description?: string;\n /** Code language for rendering/transposition. */\n language?: 'tsx' | 'typescript' | 'javascript';\n /** Example snippet showing truthful component usage. */\n code: string;\n /** Extra caveats or follow-up notes for the snippet. */\n notes?: string[];\n}\n/** @wildo_source:part:end saas.specifications.frontend-component-spec-model */\n\n/**\n * @wildo_source:part:start saas.specifications.frontend-component-spec-factory facet:layer:specification facet:family:companion\n *\n * Semantic overlay for one shared frontend component target.\n */\nexport interface FrontendComponentSpecificationConfig {\n /** Structural runtime target shared by all preset aspects of this component. */\n target: FrontendComponentSpecificationTarget;\n /** Cross-surface semantic identifier shared with higher-level semantics lanes. */\n componentId: string;\n /** Why this component target exists in the product/authoring model. */\n purpose: string;\n /** UI role played by the component target. */\n uiRole: string;\n /** Situations where this component family is the recommended choice. */\n useWhen?: string;\n /** Situations where another component family/pattern should be preferred. */\n avoidWhen?: string;\n /** Translation/i18n role carried by the shared component contract if relevant. */\n translationRole?: string;\n /** Extra authoring guidance for AI/app developers. */\n authoringNotes?: string[];\n /** Notes about how this slot composes with surrounding UI surfaces. */\n compositionNotes?: string[];\n /** Public interface contract for the consumer-facing component surface. */\n componentInterface?: FrontendComponentInterfaceContract;\n /** Concrete usage snippets that prove truthful component authoring. */\n usageExamples?: FrontendComponentUsageExample[];\n /** Default preset to use when callers do not ask for a specific preset. */\n defaultPreset?: string;\n /** Preset-specific additive aspects layered on top of the shared component contract. */\n presetSpecifications: Record<string, FrontendComponentPresetSpecification>;\n /**\n * Public-import-oriented metadata for coding/transposition consumers.\n *\n * Optional: Step 7 deferred follow-up #2 flipped this slot from required to\n * optional once the audit confirmed every engine spec authors `{}` as a\n * noise-only placeholder (no inner field is populated). Keeping the slot\n * preserves the future expansion point for app overlays that want to ship\n * `supportingSymbols`, but the empty-object placeholder is no longer\n * required at the call site. The companion renderer reads it via optional\n * chaining (`specification.codeHandling?.supportingSymbols ?? []`) so absence\n * collapses cleanly to the same \"no extra symbols\" output as `{}` did.\n */\n codeHandling?: FrontendComponentSpecificationCodeHandling;\n}\n\n/**\n * Authored input shape before composition helpers normalize the optional preset\n * lane.\n */\nexport interface FrontendComponentSpecificationConfigInput\n extends Omit<FrontendComponentSpecificationConfig, 'presetSpecifications'> {\n presetSpecifications?: Record<string, FrontendComponentPresetSpecification>;\n}\n\n/**\n * Normalize one authored component specification so later additive helpers can\n * safely extend it without every leaf re-declaring empty records.\n */\nexport function frontendComponentSpecification(\n config: FrontendComponentSpecificationConfigInput,\n): FrontendComponentSpecificationConfig {\n const normalized = {\n ...config,\n presetSpecifications: { ...(config.presetSpecifications ?? {}) },\n };\n validateFrontendComponentSpecification(normalized);\n return normalized;\n}\n\n/**\n * Add one preset aspect to an existing shared component target specification.\n */\nexport function addFrontendComponentPresetSpecification(\n specification: FrontendComponentSpecificationConfig,\n presetId: string,\n presetSpecification: FrontendComponentPresetSpecification,\n): FrontendComponentSpecificationConfig {\n const nextSpecification = {\n ...specification,\n presetSpecifications: {\n ...specification.presetSpecifications,\n [presetId]: specification.presetSpecifications[presetId]\n ? mergeFrontendComponentPresetSpecification(\n specification.presetSpecifications[presetId]!,\n presetSpecification,\n )\n : presetSpecification,\n },\n };\n validateFrontendComponentSpecification(nextSpecification);\n return nextSpecification;\n}\n/** @wildo_source:part:end saas.specifications.frontend-component-spec-factory */\n\nfunction validateFrontendComponentSpecification(\n specification: FrontendComponentSpecificationConfig,\n): void {\n const presetEntries = Object.entries(specification.presetSpecifications);\n if (presetEntries.length === 0) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must declare at least one preset specification.`,\n );\n }\n\n if (\n specification.defaultPreset !== undefined\n && specification.presetSpecifications[specification.defaultPreset] === undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" declares defaultPreset \"${specification.defaultPreset}\" but no matching preset specification exists.`,\n );\n }\n\n for (const [presetId, presetSpecification] of presetEntries) {\n if (presetSpecification.presetTarget.preset !== presetId) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" registered preset key \"${presetId}\" but the preset target declares \"${presetSpecification.presetTarget.preset}\".`,\n );\n }\n validatePresetContribution(\n specification,\n presetId,\n 'baseElement',\n presetSpecification.baseElement,\n );\n for (const [index, contribution] of (presetSpecification.injectedContributions ?? []).entries()) {\n validatePresetContribution(\n specification,\n presetId,\n `injectedContributions[${index}]`,\n contribution,\n );\n }\n }\n}\n\nfunction validatePresetContribution(\n specification: FrontendComponentSpecificationConfig,\n presetId: string,\n contributionPath: string,\n contribution: FrontendComponentSpecificationContribution | undefined,\n): void {\n if (!contribution) {\n return;\n }\n\n if (contribution.sourceIdentity.componentRef !== specification.target.componentRef) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with componentRef \"${contribution.sourceIdentity.componentRef}\" that does not match target \"${specification.target.componentRef}\".`,\n );\n }\n\n if (\n contribution.sourceIdentity.identityGranularity === FrontendComponentContributionIdentityGranularity.SLOT\n && specification.target.category === undefined\n && contribution.sourceIdentity.category !== undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with unexpected category \"${contribution.sourceIdentity.category}\" on an uncategorized target.`,\n );\n }\n\n if (\n contribution.sourceIdentity.identityGranularity === FrontendComponentContributionIdentityGranularity.SLOT\n && specification.target.category !== undefined\n && contribution.sourceIdentity.category === undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must preserve category \"${specification.target.category}\" for ${contributionPath}.`,\n );\n }\n\n if (\n contribution.sourceIdentity.identityGranularity === FrontendComponentContributionIdentityGranularity.SLOT\n && specification.target.category !== undefined\n && contribution.sourceIdentity.category !== specification.target.category\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with category \"${contribution.sourceIdentity.category}\" that does not match target category \"${specification.target.category}\".`,\n );\n }\n\n if (\n contribution.sourceIdentity.preset !== undefined\n && contribution.sourceIdentity.preset !== presetId\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" has ${contributionPath} with preset \"${contribution.sourceIdentity.preset}\" that does not match preset \"${presetId}\".`,\n );\n }\n\n if (contribution.registrationPath === FrontendComponentRegistrationPathKind.FRONTEND_MODULE_REGISTRATION) {\n if (contribution.sourceIdentity.identityGranularity !== FrontendComponentContributionIdentityGranularity.COMPONENT_REF) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must use COMPONENT_REF identity for ${contributionPath} on FRONTEND_MODULE_REGISTRATION.`,\n );\n }\n if (\n contribution.sourceIdentity.preset !== undefined\n || contribution.sourceIdentity.category !== undefined\n ) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" cannot preserve preset/category identity for ${contributionPath} on FRONTEND_MODULE_REGISTRATION.`,\n );\n }\n }\n\n if (\n contribution.registrationPath === FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS\n || contribution.registrationPath === FrontendComponentRegistrationPathKind.FRAMEWORK_LAYOUTS\n ) {\n if (contribution.sourceIdentity.identityGranularity !== FrontendComponentContributionIdentityGranularity.SLOT) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must use SLOT identity for ${contributionPath} on ${contribution.registrationPath}.`,\n );\n }\n if (contribution.sourceIdentity.preset === undefined) {\n throw new Error(\n `Frontend component specification \"${specification.componentId}\" must declare a preset for ${contributionPath} on ${contribution.registrationPath}.`,\n );\n }\n }\n}\n\nfunction mergeFrontendComponentPresetSpecification(\n base: FrontendComponentPresetSpecification,\n incoming: FrontendComponentPresetSpecification,\n): FrontendComponentPresetSpecification {\n const mergedInjectedContributions = [\n ...(base.injectedContributions ?? []),\n ...(incoming.injectedContributions ?? []),\n ];\n return {\n specialConcern: mergeCompatibleScalar('specialConcern', base.specialConcern, incoming.specialConcern),\n translationNotes: mergeStringArrays(base.translationNotes, incoming.translationNotes),\n authoringNotes: mergeStringArrays(base.authoringNotes, incoming.authoringNotes),\n presetTarget: mergePresetTarget(base.presetTarget, incoming.presetTarget),\n baseElement: mergeCompatibleScalar('baseElement', base.baseElement, incoming.baseElement),\n injectedContributions: mergedInjectedContributions.length > 0 ? mergedInjectedContributions : undefined,\n supportingSymbols: mergeCodeSymbolRefs(base.supportingSymbols, incoming.supportingSymbols),\n };\n}\n\nfunction mergePresetTarget(\n base: FrontendComponentPresetTarget,\n incoming: FrontendComponentPresetTarget,\n): FrontendComponentPresetTarget {\n if (base.preset !== incoming.preset) {\n throw new Error(\n `Cannot merge preset specifications for different preset targets (\"${base.preset}\" vs \"${incoming.preset}\").`,\n );\n }\n return {\n preset: base.preset,\n presetDeclaration: mergeCompatibleScalar(\n 'presetDeclaration',\n base.presetDeclaration,\n incoming.presetDeclaration,\n ),\n registryKey: mergeCompatibleScalar('registryKey', base.registryKey, incoming.registryKey),\n };\n}\n\nfunction mergeCompatibleScalar<T>(\n label: string,\n base: T | undefined,\n incoming: T | undefined,\n): T | undefined {\n if (base === undefined) {\n return incoming;\n }\n if (incoming === undefined) {\n return base;\n }\n if (areValuesEqual(base, incoming)) {\n return base;\n }\n throw new Error(`Cannot merge frontend component preset specifications because \"${label}\" conflicts.`);\n}\n\nfunction mergeStringArrays(\n base: string[] | undefined,\n incoming: string[] | undefined,\n): string[] | undefined {\n if (base === undefined) {\n return incoming;\n }\n if (incoming === undefined) {\n return base;\n }\n return [...new Set([...base, ...incoming])];\n}\n\nfunction mergeCodeSymbolRefs(\n base: CodeSymbolRef[] | undefined,\n incoming: CodeSymbolRef[] | undefined,\n): CodeSymbolRef[] | undefined {\n if (base === undefined) {\n return incoming;\n }\n if (incoming === undefined) {\n return base;\n }\n\n const byKey = new Map<string, CodeSymbolRef>();\n for (const symbol of [...base, ...incoming]) {\n const key = buildCodeSymbolRefKey(symbol);\n const existing = byKey.get(key);\n /*\n * `incoming` wins on every field, EXCEPT that a location already known is not lost to an\n * overlay that simply does not restate it. Without this, an overlay re-declaring a symbol\n * to change (say) its notes would silently drop the base's `filePathHint`, and the drop is\n * invisible: the merged ref is still valid, just less useful to the coding agent that reads\n * it. Same-key refs describe the same symbol, so the base's location cannot be wrong here.\n */\n byKey.set(\n key,\n existing?.filePathHint !== undefined && symbol.filePathHint === undefined\n ? { ...symbol, filePathHint: existing.filePathHint }\n : symbol,\n );\n }\n return [...byKey.values()];\n}\n\n/**\n * Dedup identity for a symbol ref: WHERE it is imported from plus WHAT it is called.\n *\n * `filePathHint` is deliberately excluded. It is a navigation aid describing the same symbol,\n * not part of its identity — keying on it would split one symbol into two entries the moment a\n * single overlay omitted the hint (issue #150).\n */\nfunction buildCodeSymbolRefKey(symbol: CodeSymbolRef): string {\n return [\n symbol.packageName,\n symbol.importPath ?? '',\n symbol.exportName,\n symbol.symbolKind ?? '',\n symbol.declarationKind ?? '',\n ].join('::');\n}\n\nfunction areValuesEqual(left: unknown, right: unknown): boolean {\n return JSON.stringify(left) === JSON.stringify(right);\n}\n\n/**\n * @wildo_source:part:start saas.specifications.frontend-component-spec-factory facet:layer:specification facet:family:companion\n *\n * Registry keyed by the shared component target identity.\n */\nexport type FrontendComponentSpecification = Record<string, FrontendComponentSpecificationConfig>;\n/** @wildo_source:part:end saas.specifications.frontend-component-spec-factory */\n"]}
|
|
@@ -3,7 +3,18 @@ import type { TranslationSlotSpecificationMap } from './translation-slot-specifi
|
|
|
3
3
|
interface PublicCodeSymbolRef {
|
|
4
4
|
packageName: string;
|
|
5
5
|
exportName: string;
|
|
6
|
+
/**
|
|
7
|
+
* PUBLIC SUBPATH only — a subpath the owning package declares in
|
|
8
|
+
* `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module
|
|
9
|
+
* that has no public door, author `filePathHint` instead (issue #150).
|
|
10
|
+
*/
|
|
6
11
|
importPath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* MODULE LOCATION inside the owning package — a navigation aid, never concatenated
|
|
14
|
+
* onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the
|
|
15
|
+
* canonical contract this narrows.
|
|
16
|
+
*/
|
|
17
|
+
filePathHint?: string;
|
|
7
18
|
}
|
|
8
19
|
interface FullCustomViewDefinitionSpecRef {
|
|
9
20
|
ref: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-custom-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/full-custom-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"full-custom-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/full-custom-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,+BAA+B;IACvC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,uCAAuC;IACtD,mEAAmE;IACnE,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,0DAA0D;IAC1D,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,iCAAiC;IAChD,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,qDAAqD;IACrD,YAAY,CAAC,EAAE,uCAAuC,CAAC;CACxD;AAED,0EAA0E;AAC1E,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,EAAE,iCAAiC,CAAC,CAAC;AAE5F,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;AAElG,wBAAgB,yCAAyC,CACvD,cAAc,EAAE,+BAA+B,EAC/C,oBAAoB,EAAE,MAAM,gCAAgC,GAC3D,iCAAiC,CASnC;AAED,wBAAgB,mCAAmC,CACjD,GAAG,cAAc,EAAE,iCAAiC,EAAE,GACrD,2BAA2B,CAa7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-custom-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/full-custom-view-specification.schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"full-custom-view-specification.schemas.js","sourceRoot":"","sources":["../../../../src/_core/full-custom-view-specification.schemas.ts"],"names":[],"mappings":"AA2DA,MAAM,UAAU,yCAAyC,CACvD,cAA+C,EAC/C,oBAA4D;IAE5D,MAAM,aAAa,GAAsC;QACvD,OAAO,EAAE,cAAc,CAAC,GAAG;QAC3B,GAAG,oBAAoB,EAAE;KAC1B,CAAC;IAEF,mCAAmC,CAAC,aAAa,CAAC,CAAC;IAEnD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,mCAAmC,CACjD,GAAG,cAAmD;IAEtD,MAAM,MAAM,GAAgC,EAAE,CAAC;IAE/C,KAAK,MAAM,aAAa,IAAI,cAAc,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CACb,yEAAyE,aAAa,CAAC,OAAO,IAAI,CACnG,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC;IAChD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,oCAAoC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAEtE,SAAS,mCAAmC,CAC1C,aAAgD;IAEhD,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3E,KAAK,MAAM,WAAW,IAAI,oCAAoC,EAAE,CAAC;QAC/D,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACrC,MAAM,IAAI,KAAK,CACb,sDAAsD,aAAa,CAAC,OAAO,8BAA8B,WAAW,wEAAwE,CAC7L,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type { SpecificationOwnerRef } from './definition-specification.schemas';\nimport type { TranslationSlotSpecificationMap } from './translation-slot-specification.schemas';\n\ninterface PublicCodeSymbolRef {\n packageName: string;\n exportName: string;\n /**\n * PUBLIC SUBPATH only — a subpath the owning package declares in\n * `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module\n * that has no public door, author `filePathHint` instead (issue #150).\n */\n importPath?: string;\n /**\n * MODULE LOCATION inside the owning package — a navigation aid, never concatenated\n * onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the\n * canonical contract this narrows.\n */\n filePathHint?: string;\n}\n\ninterface FullCustomViewDefinitionSpecRef {\n ref: string;\n}\n\nexport interface FullCustomViewSpecificationCodeHandling {\n /** Module/application owner that authored the full-custom view. */\n definitionOwner?: SpecificationOwnerRef;\n /** Public symbol exposing the authored view component. */\n viewComponentSymbol?: PublicCodeSymbolRef;\n /** Public declarations where the view is wired into runtime registries. */\n declarationSymbols?: PublicCodeSymbolRef[];\n /** Extra caveats for coding/transposition consumers. */\n notes?: string[];\n}\n\nexport interface FullCustomViewSpecificationConfig {\n /** Stable runtime view reference. */\n viewRef: string;\n /** Why this full-custom surface exists from a product/workflow perspective. */\n purpose: string;\n /** Interaction role this surface plays in the surrounding UX. */\n uiRole: string;\n /** Situations where this surface is the right destination. */\n useWhen?: string;\n /** Situations where another surface should be preferred. */\n avoidWhen?: string;\n /** Meaning of the view-level translatable slots. */\n textSlots?: TranslationSlotSpecificationMap;\n /** Additional domain constraints that matter beyond raw runtime structure. */\n businessConstraints?: string[];\n /** Import-oriented coding/transposition metadata. */\n codeHandling?: FullCustomViewSpecificationCodeHandling;\n}\n\n/** Keyed by the stable runtime view reference (for example `billing`). */\nexport type FullCustomViewSpecification = Record<string, FullCustomViewSpecificationConfig>;\n\nexport type FullCustomViewSpecificationDraft = Omit<FullCustomViewSpecificationConfig, 'viewRef'>;\n\nexport function fullCustomViewSpecificationFromDefinition(\n viewDefinition: FullCustomViewDefinitionSpecRef,\n specificationFactory: () => FullCustomViewSpecificationDraft,\n): FullCustomViewSpecificationConfig {\n const specification: FullCustomViewSpecificationConfig = {\n viewRef: viewDefinition.ref,\n ...specificationFactory(),\n };\n\n validateFullCustomViewSpecification(specification);\n\n return specification;\n}\n\nexport function buildFullCustomViewSpecificationMap(\n ...specifications: FullCustomViewSpecificationConfig[]\n): FullCustomViewSpecification {\n const result: FullCustomViewSpecification = {};\n\n for (const specification of specifications) {\n if (result[specification.viewRef]) {\n throw new Error(\n `buildFullCustomViewSpecificationMap(): duplicate full-custom viewRef \"${specification.viewRef}\".`,\n );\n }\n result[specification.viewRef] = specification;\n }\n\n return result;\n}\n\nconst FULL_CUSTOM_VIEW_REQUIRED_TEXT_SLOTS = ['title', 'description'];\n\nfunction validateFullCustomViewSpecification(\n specification: FullCustomViewSpecificationConfig,\n): void {\n const knownTextSlots = new Set(Object.keys(specification.textSlots ?? {}));\n for (const textSlotKey of FULL_CUSTOM_VIEW_REQUIRED_TEXT_SLOTS) {\n if (!knownTextSlots.has(textSlotKey)) {\n throw new Error(\n `fullCustomViewSpecificationFromDefinition(): view \"${specification.viewRef}\" must document text slot \"${textSlotKey}\" so generated launcher and overlay labels stay semantically grounded.`,\n );\n }\n }\n}\n"]}
|
|
@@ -6,7 +6,18 @@ import type { TranslationSlotSpecificationMap } from './translation-slot-specifi
|
|
|
6
6
|
interface PublicCodeSymbolRef {
|
|
7
7
|
packageName: string;
|
|
8
8
|
exportName: string;
|
|
9
|
+
/**
|
|
10
|
+
* PUBLIC SUBPATH only — a subpath the owning package declares in
|
|
11
|
+
* `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module
|
|
12
|
+
* that has no public door, author `filePathHint` instead (issue #150).
|
|
13
|
+
*/
|
|
9
14
|
importPath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* MODULE LOCATION inside the owning package — a navigation aid, never concatenated
|
|
17
|
+
* onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the
|
|
18
|
+
* canonical contract this narrows.
|
|
19
|
+
*/
|
|
20
|
+
filePathHint?: string;
|
|
10
21
|
}
|
|
11
22
|
/**
|
|
12
23
|
* Import-oriented coding/transposition metadata for a guidance flow.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-flow-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/guidance-flow-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAIlG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,KAAK,EAEV,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"guidance-flow-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/guidance-flow-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAIlG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,KAAK,EAEV,+BAA+B,EAChC,MAAM,0CAA0C,CAAC;AAElD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,qCAAqC;IACpD;;;;;;;;;OASG;IACH,eAAe,EAAE,qBAAqB,CAAC;IACvC,oFAAoF;IACpF,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;I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;;;;GAIG;AACH,wBAAgB,iCAAiC,CAC/C,GAAG,cAAc,EAAE,KAAK,CACtB,+BAA+B,GAAG,uCAAuC,CAC1E,GACA,yBAAyB,CAoB3B;AAkBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,yBAAyB,GAAG,IAAI,CAevF;AAED;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,GAClB,+BAA+B,GAAG,uCAAuC,GAAG,SAAS,CAEvF;AAED;;;;;;GAMG;AACH,wBAAgB,uCAAuC,IAAI,OAAO,CAEjE;AAED;;;;;GAKG;AACH,wBAAgB,gDAAgD,IAAI,IAAI,CAEvE;AASD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,uCAAuC,CACrD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACtC,IAAI,CAmBN"}
|
|
@@ -502,5 +502,19 @@ function assertOptionalCodeSymbolRef(errorPrefix, fullPath, symbolRef) {
|
|
|
502
502
|
throw new Error(`${errorPrefix} ${fullPath}.importPath must be a non-empty trimmed string when authored.`);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
+
/*
|
|
506
|
+
* `filePathHint` is validated to the same shape as `importPath` and NOT merged with it:
|
|
507
|
+
* the two carry different senses (a public import specifier vs a module location) and
|
|
508
|
+
* issue #150 records what happens when they are conflated — a source path authored in
|
|
509
|
+
* `importPath` is rendered to a coding agent as the address to import from, and cannot
|
|
510
|
+
* resolve. Shape-only here, deliberately: whether a subpath is genuinely declared in the
|
|
511
|
+
* owning package's `package.json#exports` is not answerable from inside this validator,
|
|
512
|
+
* so the distinction is carried by the contract and the renderer rather than guessed at.
|
|
513
|
+
*/
|
|
514
|
+
if (symbolRef.filePathHint !== undefined) {
|
|
515
|
+
if (typeof symbolRef.filePathHint !== 'string' || !symbolRef.filePathHint.trim()) {
|
|
516
|
+
throw new Error(`${errorPrefix} ${fullPath}.filePathHint must be a non-empty trimmed string when authored.`);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
505
519
|
}
|
|
506
520
|
//# sourceMappingURL=guidance-flow-specification.schemas.js.map
|