@wildo-ai/saas-specifications 1.1.5 → 1.1.6
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/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
- package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +34 -13
- package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -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-validation.d.ts +39 -13
- 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 +43 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +90 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
- 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 +70 -3
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.js +8 -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 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +2 -2
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.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/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.js +2 -2
- package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +2 -2
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +2 -2
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +2 -2
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +2 -2
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +2 -2
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +2 -2
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +2 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
- package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +2 -2
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +6 -0
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +1 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -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 +6 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +110 -24
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
- 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 +98 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +107 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-release.d.ts +7 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +11 -2
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +6 -5
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
- 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 +35 -33
- 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 +6 -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.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +13 -12
- 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 +26 -2
- 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 -4
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
- 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 +1 -0
- 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 +45 -32
- 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 +1 -23
- 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 +185 -31
- 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 +2 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +29 -7
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +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 +7 -1
- 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 +9 -6
- 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 +1 -0
- 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 +11 -7
- 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 +18 -16
- 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 +9 -11
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +238 -219
- 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 -24
- 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 +76 -16
- 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 +2 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +28 -6
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
- 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 +13 -12
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
- 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 +12 -9
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
- 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 +13 -10
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
- 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 +52 -12
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +1 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +69 -0
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
- 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 +9 -10
- 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 +5 -5
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
- 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 +5 -5
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -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 +7 -8
- 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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
- 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.js +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -1
- 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 +150 -4
- 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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +1 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +3 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- 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.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
- 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.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
- 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 +2 -2
- 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 +8 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
- package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/index.js +1 -0
- package/dist/esm/engine/notifications/resources/index.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
- 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 +20 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
- 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 +6 -6
- 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 +8 -11
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
- package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +4 -2
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +2 -0
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
- 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 +40 -12
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
- 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 +0 -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 -6
- 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 +7 -3
- 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 +15 -8
- 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 +3 -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 +36 -21
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +13 -5
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +19 -6
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -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.js +2 -2
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +0 -4
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
- 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 +7 -7
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
- 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 +0 -3
- 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 +11 -18
- 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.js +6 -6
- 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 +5 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
- 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.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/assurance/external-framework-mapping.json +0 -1228
|
@@ -18,7 +18,7 @@ export const resourceLayoutsEmptyStateFrontendComponentSpecification = frontendC
|
|
|
18
18
|
memberName: 'RESOURCES_LAYOUTS_EMPTY_STATE',
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
|
-
componentId: 'framework.
|
|
21
|
+
componentId: 'framework.resource-layout.empty-state',
|
|
22
22
|
purpose: 'Resource-aware empty state that resolves i18n and configuration into the generic `EmptyState` preset.',
|
|
23
23
|
uiRole: 'Layout-level empty placeholder for list/read views tied to a resource type.',
|
|
24
24
|
useWhen: 'Use inside resource layouts when `frontendConfiguration.emptyState` and resource keys should drive copy.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-layout-empty-state.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,yCAAyC,GAAG,sCAAsC,CAAC;IAC9F,YAAY,EAAE,qBAAqB,CAAC,6BAA6B;CAClE,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,GAAG,qBAAqB,CAAC,6BAA6B,IAAI,eAAe,CAAC,OAAO,EAAE,CAAC;AAExI,MAAM,CAAC,MAAM,uDAAuD,GAClE,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,6BAA6B;QACjE,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,+BAA+B;SAC5C;KACF;IACD,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"resource-layout-empty-state.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,yCAAyC,GAAG,sCAAsC,CAAC;IAC9F,YAAY,EAAE,qBAAqB,CAAC,6BAA6B;CAClE,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,GAAG,qBAAqB,CAAC,6BAA6B,IAAI,eAAe,CAAC,OAAO,EAAE,CAAC;AAExI,MAAM,CAAC,MAAM,uDAAuD,GAClE,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,6BAA6B;QACjE,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,c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oBAChC,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE,EAAE;aACV;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodeDeclarationKind,\n CodePrimitiveKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const resourceLayoutsEmptyStateSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.RESOURCES_LAYOUTS_EMPTY_STATE,\n});\nexport const resourceLayoutsEmptyStateRegistryKey = `${FrontendComponentType.RESOURCES_LAYOUTS_EMPTY_STATE}:${CorePresetNames.DEFAULT}`;\n\nexport const resourceLayoutsEmptyStateFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.RESOURCES_LAYOUTS_EMPTY_STATE,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'RESOURCES_LAYOUTS_EMPTY_STATE',\n },\n },\n componentId: 'framework.resource-layout.empty-state',\n purpose:\n 'Resource-aware empty state that resolves i18n and configuration into the generic `EmptyState` preset.',\n uiRole: 'Layout-level empty placeholder for list/read views tied to a resource type.',\n useWhen: 'Use inside resource layouts when `frontendConfiguration.emptyState` and resource keys should drive copy.',\n avoidWhen: 'Avoid for non-resource generic panels; use `LOW_LEVEL_EMPTY_STATE` with explicit props.',\n translationRole: 'Registers a dedicated companion namespace for resource empty-state copy.',\n compositionNotes: [\n 'Labels are registered alongside `LOW_LEVEL_EMPTY_STATE` in the same presets file because the JSX implementation is shared.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceEmptyStateWrapperProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.INTERFACE,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered empty state preset backs this resource wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default empty state preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'resourceType',\n purpose: 'Resource identifier used for scoped i18n lookup.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n required: true,\n },\n ],\n },\n usageExamples: [\n {\n title: 'Resource list surface',\n language: 'tsx',\n code: `import { ResourceEmptyState } from '@wildo-ai/saas-frontend-lib';\n\n<ResourceEmptyState resourceType=\"projects\" hasCreateOperation onCreateAction={openCreate} />`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: resourceLayoutsEmptyStateRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.RESOURCES_LAYOUTS_EMPTY_STATE,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'EmptyState',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceEmptyState',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
@@ -29,7 +29,7 @@ export const resourcesFieldsResourceReferenceDisplayFrontendComponentSpecificati
|
|
|
29
29
|
memberName: 'DISPLAY',
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
|
-
componentId: 'framework.
|
|
32
|
+
componentId: 'framework.resource-fields.resource-reference.display',
|
|
33
33
|
purpose: 'Read-only display of foreign-key values with optional navigation to related records.',
|
|
34
34
|
uiRole: 'Display formatter for relationship fields in read templates and summaries.',
|
|
35
35
|
useWhen: 'Use when automatic displayer or read views render relationship fields.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-fields-resource-reference-display.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sCAAsC,GACvC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,uDAAuD,GAAG,sCAAsC,CAAC;IAC5G,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;IACvE,QAAQ,EAAE,sCAAsC,CAAC,OAAO;CACzD,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,yDAAyD,GAAG,GAAG,qBAAqB,CAAC,mCAAmC,IAAI,eAAe,CAAC,OAAO,IAAI,sCAAsC,CAAC,OAAO,EAAE,CAAC;AAErN,MAAM,CAAC,MAAM,qEAAqE,GAChF,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;QACvE,QAAQ,EAAE,sCAAsC,CAAC,OAAO;QACxD,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,qCAAqC;SAClD;QACD,mBAAmB,EAAE;YACnB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,wCAAwC;gBACpD,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,SAAS;SACtB;KACF;IACD,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"resources-fields-resource-reference-display.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sCAAsC,GACvC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,uDAAuD,GAAG,sCAAsC,CAAC;IAC5G,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;IACvE,QAAQ,EAAE,sCAAsC,CAAC,OAAO;CACzD,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,yDAAyD,GAAG,GAAG,qBAAqB,CAAC,mCAAmC,IAAI,eAAe,CAAC,OAAO,IAAI,sCAAsC,CAAC,OAAO,EAAE,CAAC;AAErN,MAAM,CAAC,MAAM,qEAAqE,GAChF,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;QACvE,QAAQ,EAAE,sCAAsC,CAAC,OAAO;QACxD,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,qCAAqC;SAClD;QACD,mBAAmB,E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AK,EAAE,EAAE;aACV;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport {\n CorePresetNames,\n FrontendComponentType,\n FrontEndComponentResourceFieldCategory,\n} from '@wildo-ai/presets-components-models';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const resourcesFieldsResourceReferenceDisplaySpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n category: FrontEndComponentResourceFieldCategory.DISPLAY,\n});\nexport const resourcesFieldsResourceReferenceDisplayDefaultRegistryKey = `${FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE}:${CorePresetNames.DEFAULT}:${FrontEndComponentResourceFieldCategory.DISPLAY}`;\n\nexport const resourcesFieldsResourceReferenceDisplayFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n category: FrontEndComponentResourceFieldCategory.DISPLAY,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'RESOURCES_FIELDS_RESOURCE_REFERENCE',\n },\n categoryDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontEndComponentResourceFieldCategory',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DISPLAY',\n },\n },\n componentId: 'framework.resource-fields.resource-reference.display',\n purpose: 'Read-only display of foreign-key values with optional navigation to related records.',\n uiRole: 'Display formatter for relationship fields in read templates and summaries.',\n useWhen: 'Use when automatic displayer or read views render relationship fields.',\n avoidWhen: 'Avoid for editing; use the EDIT category `ResourceFieldEdit_ResourceReference`.',\n translationRole: 'Reuses `ResourcesFieldsResourceReferenceLabels` registered alongside the edit preset module.',\n compositionNotes: [\n 'Registrations use `FrontEndComponentResourceFieldCategory.DISPLAY` and `registerFrameworkLayouts`.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldDisplayPreset_ResourceReference_DefaultProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.INTERFACE,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects the display preset implementation.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default read-only FK display.' }],\n allowCustomValues: true,\n },\n },\n ],\n },\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: resourcesFieldsResourceReferenceDisplayDefaultRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n preset: CorePresetNames.DEFAULT,\n category: FrontEndComponentResourceFieldCategory.DISPLAY,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_LAYOUTS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'registerFrameworkLayouts',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldDisplayPreset_ResourceReference_Default',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldDisplay_ResourceReference',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
@@ -30,7 +30,7 @@ const resourcesFieldsResourceReferenceEditBase = frontendComponentSpecification(
|
|
|
30
30
|
memberName: 'EDIT',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
|
-
componentId: 'framework.
|
|
33
|
+
componentId: 'framework.resource-fields.resource-reference.edit',
|
|
34
34
|
purpose: 'Editable foreign-key / resource-reference field with combobox search, quick-create hooks, and multi-select support.',
|
|
35
35
|
uiRole: 'Form control for choosing related records inside resource forms.',
|
|
36
36
|
useWhen: 'Use on relationship fields rendered by the automated form pipeline.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-fields-resource-reference-edit.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,8CAA8C,EAC9C,qBAAqB,EACrB,sCAAsC,GACvC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,uCAAuC,EACvC,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6DAA6D,EAAE,MAAM,2FAA2F,CAAC;AAE1K,MAAM,CAAC,MAAM,oDAAoD,GAAG,sCAAsC,CAAC;IACzG,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;IACvE,QAAQ,EAAE,sCAAsC,CAAC,IAAI;CACtD,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAG,GAAG,qBAAqB,CAAC,mCAAmC,IAAI,eAAe,CAAC,OAAO,IAAI,sCAAsC,CAAC,IAAI,EAAE,CAAC;AAE/M,MAAM,wCAAwC,GAAyC,8BAA8B,CAAC;IACpH,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;QACvE,QAAQ,EAAE,sCAAsC,CAAC,IAAI;QACrD,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,qCAAqC;SAClD;QACD,mBAAmB,EAAE;YACnB,WAAW,EAAE;gBACX,W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gB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE,EAAE;aACV;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kEAAkE,GAC7E,uCAAuC,CACrC,wCAAwC,EACxC,8CAA8C,CAAC,MAAM,EACrD,6DAA6D,CAC9D,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport {\n CorePresetNames,\n CorePreset_ResourceFieldEdit_ResourceReference,\n FrontendComponentType,\n FrontEndComponentResourceFieldCategory,\n} from '@wildo-ai/presets-components-models';\nimport {\n addFrontendComponentPresetSpecification,\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\nimport { resourcesFieldsResourceReferenceEditSearchPresetSpecification } from './resources-fields-resource-reference-edit-search.frontend-component.preset-specification';\n\nexport const resourcesFieldsResourceReferenceEditSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n category: FrontEndComponentResourceFieldCategory.EDIT,\n});\nexport const resourcesFieldsResourceReferenceEditDefaultRegistryKey = `${FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE}:${CorePresetNames.DEFAULT}:${FrontEndComponentResourceFieldCategory.EDIT}`;\n\nconst resourcesFieldsResourceReferenceEditBase: FrontendComponentSpecificationConfig = frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n category: FrontEndComponentResourceFieldCategory.EDIT,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'RESOURCES_FIELDS_RESOURCE_REFERENCE',\n },\n categoryDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontEndComponentResourceFieldCategory',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'EDIT',\n },\n },\n componentId: 'framework.resources-fields.resource-reference.edit',\n purpose: 'Editable foreign-key / resource-reference field with combobox search, quick-create hooks, and multi-select support.',\n uiRole: 'Form control for choosing related records inside resource forms.',\n useWhen: 'Use on relationship fields rendered by the automated form pipeline.',\n avoidWhen: 'Avoid for read-only relationship display; use the DISPLAY category wrapper.',\n translationRole: 'Companion labels registered via `ResourcesFieldsResourceReferenceLabels` on the default edit preset module.',\n compositionNotes: [\n 'Registrations use `FrontEndComponentResourceFieldCategory.EDIT` and `registerFrameworkLayouts`.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEditPreset_ResourceReference_DefaultProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.INTERFACE,\n },\n refType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEdit_ResourceReferenceRef',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.TYPE_ALIAS,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects the edit preset (default vs named SEARCH slot).',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n values: [\n { value: CorePresetNames.DEFAULT, meaning: 'Default FK editor with debounced search.' },\n {\n value: CorePreset_ResourceFieldEdit_ResourceReference.SEARCH,\n meaning: 'SEARCH registry key; currently aliases the default implementation.',\n },\n ],\n allowCustomValues: true,\n },\n },\n ],\n },\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: resourcesFieldsResourceReferenceEditDefaultRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n preset: CorePresetNames.DEFAULT,\n category: FrontEndComponentResourceFieldCategory.EDIT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_LAYOUTS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'registerFrameworkLayouts',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEditPreset_ResourceReference_Default',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEdit_ResourceReference',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [],\n },\n injectedContributions: [],\n },\n },\n});\n\nexport const resourcesFieldsResourceReferenceEditFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n addFrontendComponentPresetSpecification(\n resourcesFieldsResourceReferenceEditBase,\n CorePreset_ResourceFieldEdit_ResourceReference.SEARCH,\n resourcesFieldsResourceReferenceEditSearchPresetSpecification,\n );\n"]}
|
|
1
|
+
{"version":3,"file":"resources-fields-resource-reference-edit.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,8CAA8C,EAC9C,qBAAqB,EACrB,sCAAsC,GACvC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,uCAAuC,EACvC,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6DAA6D,EAAE,MAAM,2FAA2F,CAAC;AAE1K,MAAM,CAAC,MAAM,oDAAoD,GAAG,sCAAsC,CAAC;IACzG,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;IACvE,QAAQ,EAAE,sCAAsC,CAAC,IAAI;CACtD,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAG,GAAG,qBAAqB,CAAC,mCAAmC,IAAI,eAAe,CAAC,OAAO,IAAI,sCAAsC,CAAC,IAAI,EAAE,CAAC;AAE/M,MAAM,wCAAwC,GAAyC,8BAA8B,CAAC;IACpH,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,mCAAmC;QACvE,QAAQ,EAAE,sCAAsC,CAAC,IAAI;QACrD,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAA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,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,6BAA6B;oBAC1C,UAAU,EAAE,qCAAqC;oBACjD,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE,EAAE;aACV;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kEAAkE,GAC7E,uCAAuC,CACrC,wCAAwC,EACxC,8CAA8C,CAAC,MAAM,EACrD,6DAA6D,CAC9D,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport {\n CorePresetNames,\n CorePreset_ResourceFieldEdit_ResourceReference,\n FrontendComponentType,\n FrontEndComponentResourceFieldCategory,\n} from '@wildo-ai/presets-components-models';\nimport {\n addFrontendComponentPresetSpecification,\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\nimport { resourcesFieldsResourceReferenceEditSearchPresetSpecification } from './resources-fields-resource-reference-edit-search.frontend-component.preset-specification';\n\nexport const resourcesFieldsResourceReferenceEditSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n category: FrontEndComponentResourceFieldCategory.EDIT,\n});\nexport const resourcesFieldsResourceReferenceEditDefaultRegistryKey = `${FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE}:${CorePresetNames.DEFAULT}:${FrontEndComponentResourceFieldCategory.EDIT}`;\n\nconst resourcesFieldsResourceReferenceEditBase: FrontendComponentSpecificationConfig = frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n category: FrontEndComponentResourceFieldCategory.EDIT,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'RESOURCES_FIELDS_RESOURCE_REFERENCE',\n },\n categoryDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontEndComponentResourceFieldCategory',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'EDIT',\n },\n },\n componentId: 'framework.resource-fields.resource-reference.edit',\n purpose: 'Editable foreign-key / resource-reference field with combobox search, quick-create hooks, and multi-select support.',\n uiRole: 'Form control for choosing related records inside resource forms.',\n useWhen: 'Use on relationship fields rendered by the automated form pipeline.',\n avoidWhen: 'Avoid for read-only relationship display; use the DISPLAY category wrapper.',\n translationRole: 'Companion labels registered via `ResourcesFieldsResourceReferenceLabels` on the default edit preset module.',\n compositionNotes: [\n 'Registrations use `FrontEndComponentResourceFieldCategory.EDIT` and `registerFrameworkLayouts`.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEditPreset_ResourceReference_DefaultProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.INTERFACE,\n },\n refType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEdit_ResourceReferenceRef',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.TYPE_ALIAS,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects the edit preset (default vs named SEARCH slot).',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n values: [\n { value: CorePresetNames.DEFAULT, meaning: 'Default FK editor with debounced search.' },\n {\n value: CorePreset_ResourceFieldEdit_ResourceReference.SEARCH,\n meaning: 'SEARCH registry key; currently aliases the default implementation.',\n },\n ],\n allowCustomValues: true,\n },\n },\n ],\n },\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: resourcesFieldsResourceReferenceEditDefaultRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.RESOURCES_FIELDS_RESOURCE_REFERENCE,\n preset: CorePresetNames.DEFAULT,\n category: FrontEndComponentResourceFieldCategory.EDIT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_LAYOUTS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'registerFrameworkLayouts',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEditPreset_ResourceReference_Default',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceFieldEdit_ResourceReference',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [],\n },\n injectedContributions: [],\n },\n },\n});\n\nexport const resourcesFieldsResourceReferenceEditFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n addFrontendComponentPresetSpecification(\n resourcesFieldsResourceReferenceEditBase,\n CorePreset_ResourceFieldEdit_ResourceReference.SEARCH,\n resourcesFieldsResourceReferenceEditSearchPresetSpecification,\n );\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.frontend-component.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/sections/stepper.frontend-component.specification.ts"],"names":[],"mappings":"AAOA,OAAO,EASL,KAAK,oCAAoC,EAE1C,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,+BAA+B,QAE1C,CAAC;AACH,eAAO,MAAM,0BAA0B,8BAA0E,CAAC;AAElH,eAAO,MAAM,6CAA6C,EAAE,
|
|
1
|
+
{"version":3,"file":"stepper.frontend-component.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/sections/stepper.frontend-component.specification.ts"],"names":[],"mappings":"AAOA,OAAO,EASL,KAAK,oCAAoC,EAE1C,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,+BAA+B,QAE1C,CAAC;AACH,eAAO,MAAM,0BAA0B,8BAA0E,CAAC;AAElH,eAAO,MAAM,6CAA6C,EAAE,oCAyJxD,CAAC"}
|
package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js
CHANGED
|
@@ -54,7 +54,7 @@ export const lowLevelStepperFrontendComponentSpecification = frontendComponentSp
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
propName: 'currentStep',
|
|
57
|
-
purpose: '
|
|
57
|
+
purpose: 'Position of the active step, counted from 0; each `StepperItem`/`StepperIndicator` `step` uses the same count, and the indicator shows it plus 1.',
|
|
58
58
|
valueKind: FrontendComponentPropValueKind.PRIMITIVE,
|
|
59
59
|
primitiveType: CodePrimitiveKind.NUMBER,
|
|
60
60
|
required: true,
|
|
@@ -87,14 +87,19 @@ export const lowLevelStepperFrontendComponentSpecification = frontendComponentSp
|
|
|
87
87
|
},
|
|
88
88
|
usageExamples: [
|
|
89
89
|
{
|
|
90
|
-
title: 'Three-step flow',
|
|
90
|
+
title: 'Three-step flow, on the second step',
|
|
91
91
|
language: 'tsx',
|
|
92
92
|
code: `import { Stepper, StepperItem, StepperIndicator, StepperTitle } from '@wildo-ai/saas-frontend-lib';
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
// Steps are counted from 0: the second step is step 1, and its indicator shows "2".
|
|
95
|
+
<Stepper currentStep={1} totalSteps={3}>
|
|
96
|
+
<StepperItem step={0}>
|
|
97
|
+
<StepperIndicator step={0} />
|
|
98
|
+
<StepperTitle step={0}>Account</StepperTitle>
|
|
99
|
+
</StepperItem>
|
|
95
100
|
<StepperItem step={1}>
|
|
96
101
|
<StepperIndicator step={1} />
|
|
97
|
-
<StepperTitle step={1}>
|
|
102
|
+
<StepperTitle step={1}>Profile</StepperTitle>
|
|
98
103
|
</StepperItem>
|
|
99
104
|
</Stepper>`,
|
|
100
105
|
},
|
package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/sections/stepper.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OA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AAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE,EAAE;aACV;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport { DisplayDirection } from '@wildo-ai/zod-decorators';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const lowLevelStepperSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.LOW_LEVEL_STEPPER,\n});\nexport const lowLevelStepperRegistryKey = `${FrontendComponentType.LOW_LEVEL_STEPPER}:${CorePresetNames.DEFAULT}`;\n\nexport const lowLevelStepperFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.LOW_LEVEL_STEPPER,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LOW_LEVEL_STEPPER',\n },\n },\n componentId: 'framework.low-level.stepper',\n purpose:\n 'Show progress through a linear workflow (wizard steps, onboarding checkpoints).',\n uiRole:\n 'Compound stepper: root, item, indicator, separator, title, description per step index.',\n useWhen:\n 'Use when the user must understand position in a bounded sequence of steps.',\n avoidWhen:\n 'Avoid for non-linear graphs; use a dedicated flow/graph visualization.',\n compositionNotes: [\n 'Each sub-component receives a `step` index tying it to the parent `currentStep` / `totalSteps`.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'StepperProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.INTERFACE,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered slot implementation renders for this wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default stepper preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'currentStep',\n purpose: '1-based or 0-based active step index per implementation contract.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.NUMBER,\n required: true,\n },\n {\n propName: 'totalSteps',\n purpose: 'Total number of steps in the sequence.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.NUMBER,\n required: true,\n },\n {\n propName: 'orientation',\n purpose: 'Horizontal or vertical stepper layout.',\n valueKind: FrontendComponentPropValueKind.ENUM,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/zod-decorators',\n exportName: 'DisplayDirection',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [\n { value: DisplayDirection.HORIZONTAL, meaning: 'Default inline steps.' },\n { value: DisplayDirection.VERTICAL, meaning: 'Stacked steps.' },\n ],\n },\n },\n ],\n },\n usageExamples: [\n {\n title: 'Three-step flow',\n language: 'tsx',\n code: `import { Stepper, StepperItem, StepperIndicator, StepperTitle } from '@wildo-ai/saas-frontend-lib';\n\n<Stepper currentStep={2} totalSteps={3}>\n <StepperItem step={1}>\n <StepperIndicator step={1} />\n <StepperTitle step={1}>Account</StepperTitle>\n </StepperItem>\n</Stepper>`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: lowLevelStepperRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.LOW_LEVEL_STEPPER,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'Stepper',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'Stepper',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
1
|
+
{"version":3,"file":"stepper.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/sections/stepper.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,+BAA+B,GAAG,sCAAsC,CAAC;IACpF,YAAY,EAAE,qBAAqB,CAAC,iBAAiB;CACtD,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,qBAAqB,CAAC,iBAAiB,IAAI,eAAe,CAAC,OAAO,EAAE,CAAC;AAElH,MAAM,CAAC,MAAM,6CAA6C,GACxD,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,iBAAiB;QACrD,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,mBAAmB;SAChC;KACF;IACD,WAAW,EAAE,6BAA6B;IAC1C,OAAO,EACL,iFAAiF;IACnF,MAAM,EACJ,wFAAwF;IAC1F,OAAO,EACL,4EAA4E;IAC9E,SAAS,EACP,wEAAwE;IAC1E,gBAAgB,EAAE;QAChB,iGAAiG;KAClG;IACD,kBAAkB,EAAE;QAClB,SAAS,EAAE;Y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AE,cAAc,CAAC,QAAQ;oBACnC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,8BAA8B;oBAC3C,UAAU,EAAE,SAAS;oBACrB,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,6BAA6B;oBAC1C,UAAU,EAAE,SAAS;oBACrB,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE,EAAE;aACV;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport { DisplayDirection } from '@wildo-ai/zod-decorators';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const lowLevelStepperSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.LOW_LEVEL_STEPPER,\n});\nexport const lowLevelStepperRegistryKey = `${FrontendComponentType.LOW_LEVEL_STEPPER}:${CorePresetNames.DEFAULT}`;\n\nexport const lowLevelStepperFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.LOW_LEVEL_STEPPER,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LOW_LEVEL_STEPPER',\n },\n },\n componentId: 'framework.low-level.stepper',\n purpose:\n 'Show progress through a linear workflow (wizard steps, onboarding checkpoints).',\n uiRole:\n 'Compound stepper: root, item, indicator, separator, title, description per step index.',\n useWhen:\n 'Use when the user must understand position in a bounded sequence of steps.',\n avoidWhen:\n 'Avoid for non-linear graphs; use a dedicated flow/graph visualization.',\n compositionNotes: [\n 'Each sub-component receives a `step` index tying it to the parent `currentStep` / `totalSteps`.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'StepperProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.INTERFACE,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered slot implementation renders for this wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default stepper preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'currentStep',\n purpose: 'Position of the active step, counted from 0; each `StepperItem`/`StepperIndicator` `step` uses the same count, and the indicator shows it plus 1.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.NUMBER,\n required: true,\n },\n {\n propName: 'totalSteps',\n purpose: 'Total number of steps in the sequence.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.NUMBER,\n required: true,\n },\n {\n propName: 'orientation',\n purpose: 'Horizontal or vertical stepper layout.',\n valueKind: FrontendComponentPropValueKind.ENUM,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/zod-decorators',\n exportName: 'DisplayDirection',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [\n { value: DisplayDirection.HORIZONTAL, meaning: 'Default inline steps.' },\n { value: DisplayDirection.VERTICAL, meaning: 'Stacked steps.' },\n ],\n },\n },\n ],\n },\n usageExamples: [\n {\n title: 'Three-step flow, on the second step',\n language: 'tsx',\n code: `import { Stepper, StepperItem, StepperIndicator, StepperTitle } from '@wildo-ai/saas-frontend-lib';\n\n// Steps are counted from 0: the second step is step 1, and its indicator shows \"2\".\n<Stepper currentStep={1} totalSteps={3}>\n <StepperItem step={0}>\n <StepperIndicator step={0} />\n <StepperTitle step={0}>Account</StepperTitle>\n </StepperItem>\n <StepperItem step={1}>\n <StepperIndicator step={1} />\n <StepperTitle step={1}>Profile</StepperTitle>\n </StepperItem>\n</Stepper>`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: lowLevelStepperRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.LOW_LEVEL_STEPPER,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'Stepper',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'Stepper',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
@@ -48,7 +48,7 @@ const userGuidanceBase = resourceSpecification(userGuidanceStateFactory, UserGui
|
|
|
48
48
|
{ code: HttpResponseStatusCode.CREATED_201, meaning: 'A guidance state record was created for the caller with the seeded `flows` map.' },
|
|
49
49
|
],
|
|
50
50
|
errorScenarios: [
|
|
51
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.'
|
|
51
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.' },
|
|
52
52
|
{ code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session to own the new guidance state row.' },
|
|
53
53
|
],
|
|
54
54
|
idempotent: false,
|
|
@@ -76,7 +76,7 @@ const userGuidanceBase = resourceSpecification(userGuidanceStateFactory, UserGui
|
|
|
76
76
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'The partial flow/element patch was merged into the caller’s guidance state and the result is returned.' },
|
|
77
77
|
],
|
|
78
78
|
errorScenarios: [
|
|
79
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.'
|
|
79
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.' },
|
|
80
80
|
{ code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance state being patched.' },
|
|
81
81
|
],
|
|
82
82
|
// Convergent: completing/dismissing a flow merges to the same end state, so re-applying the same patch is side-effect-free.
|
|
@@ -151,7 +151,7 @@ const organizationGuidanceBase = resourceSpecification(organizationGuidanceState
|
|
|
151
151
|
{ code: HttpResponseStatusCode.CREATED_201, meaning: 'An org-level guidance state record was created with the seeded `flows` map.' },
|
|
152
152
|
],
|
|
153
153
|
errorScenarios: [
|
|
154
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.'
|
|
154
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.' },
|
|
155
155
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; org guidance state is initialized by admins only.' },
|
|
156
156
|
],
|
|
157
157
|
idempotent: false,
|
|
@@ -179,7 +179,7 @@ const organizationGuidanceBase = resourceSpecification(organizationGuidanceState
|
|
|
179
179
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'The org guidance state patch was merged and the result is returned.' },
|
|
180
180
|
],
|
|
181
181
|
errorScenarios: [
|
|
182
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.'
|
|
182
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.' },
|
|
183
183
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; advancing/resetting org flows is admin-gated.' },
|
|
184
184
|
],
|
|
185
185
|
// Convergent: advancing/dismissing org flows merges to the same end state, so re-applying the same patch is side-effect-free.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-state.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/guidance-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gDAAgD,IAAI,sBAAsB,EAC1E,mDAAmD,IAAI,yBAAyB,EAChF,2CAA2C,IAAI,0BAA0B,GAC1E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,uBAAuB,EACvB,oEAAoE,IAAI,gCAAgC,EACxG,4DAA4D,IAAI,wBAAwB,GACzF,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,cAAc,GAAG,0BAA8F,CAAC;AAKtH,MAAM,qBAAqB,GAAG,yBAA4F,CAAC;AAC3H,MAAM,kBAAkB,GAAG,sBAAyF,CAAC;AAErH,MAAM,gBAAgB,GAAG,qBAAqB,CAC5C,wBAAwB,EACxB,uBAAuB,EACvB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,kIAAkI;IAC3I,YAAY,EAAE,8HAA8H;IAC5I,aAAa,EAAE,qHAAqH;IACpI,QAAQ,EAAE,aAAa,CAAC,QAAQ;IAChC,SAAS,EAAE,uBAAuB,CAAC,QAAQ;IAC3C,YAAY,EAAE;QACZ,UAAU,EAAE,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,yBAAyB,EAAE,UAAU,EAAE,cAAc,CAAC,MAAM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AE,qHAAqH,EAAE;iBAChJ;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,oGAAoG,EAAE,SAAS,EAAE,+DAA+D,EAAE;QACxM,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yEAAyE,EAAE,SAAS,EAAE,mDAAmD,EAAE;QACnK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,wEAAwE,EAAE,SAAS,EAAE,mEAAmE,EAAE;KACnL;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationGuidanceStateAdminResourceUIBehavior as orgGuidanceAdminSource,\n organizationGuidanceStatePlatformResourceUIBehavior as orgGuidancePlatformSource,\n userGuidanceStatePlatformResourceUIBehavior as userGuidancePlatformSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n OrganizationGuidanceStateSchema,\n ResourcePrimaryScope,\n UserGuidanceStateSchema,\n organizationGuidanceStateResourceConfiguration_InitializationFactory as organizationGuidanceStateFactory,\n userGuidanceStateResourceConfiguration_InitializationFactory as userGuidanceStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userGuidanceStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UserMain = UCfg['mainSchema'];\nconst userGuidanceUI = userGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UserMain>;\n\ntype OCfg = ReturnType<typeof organizationGuidanceStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OrgMain = OCfg['mainSchema'];\nconst orgGuidancePlatformUI = orgGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\nconst orgGuidanceAdminUI = orgGuidanceAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\n\nconst userGuidanceBase = resourceSpecification<Record<string, never>, UCore, UserMain>(\n userGuidanceStateFactory,\n UserGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user guidance engine state: which onboarding/guidance flows are started, completed, or dismissed, plus per-element progress.',\n businessRole: 'The persisted progress map the companion and in-app coach use to avoid repeating finished tours and to resume partial flows.',\n lifecycleRole: 'App user upserts rows as the guidance engine or admin tooling advances flow state; not a public directory resource.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'Owning user for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the user-self access strategy so a user can never read another user’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Map of `flowRef` to flow-level status, element map, and trigger counts for the guidance engine.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current user guidance state for coach surfaces.',\n outcome: 'Flow and element status hydrate UI and the companion.',\n responseStatuses: [\n // Self-state read lazily materializes: when no row exists yet the runtime returns a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user guidance state cannot be resolved.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize guidance state for a user (first run).',\n outcome: 'Empty or seeded `flows` map for subsequent updates.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A guidance state record was created for the caller with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session to own the new guidance state row.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize a user guidance state',\n request: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch flow and element state as a user progresses; send only the parts that changed.',\n outcome: 'The application merges the supplied parts into the stored state; untouched parts are left alone.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The partial flow/element patch was merged into the caller’s guidance state and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance state being patched.' },\n ],\n // Convergent: completing/dismissing a flow merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search stored guidance state.',\n outcome: 'Administrative and support tooling can find guidance state; an end-user surface rarely needs it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of guidance state records; search metadata is intentionally minimal for this resource.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user guidance state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user guidance state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Platform presets intentionally keep routes non-addressable; companion copy should not claim a public “guidance list” for end users unless product wiring changes.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationGuidanceBase = resourceSpecification<Record<string, never>, OCore, OrgMain>(\n organizationGuidanceStateFactory,\n OrganizationGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization guidance state: shared coach progress for org-wide onboarding and education flows (parallel shape to the user document).',\n businessRole: 'Holds which org-level flows are active, completed, or dismissed so admins and the engine can coordinate org rollout.',\n lifecycleRole: 'Created/updated by org admins, super-admins, or automation when org guidance policies change; member reads may be allowed in factory for transparency.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n },\n fields: {\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'Owning organization for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the org access strategy so a tenant can never read another tenant’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Same flow/element state shape as the user variant, stored at org scope for shared journeys.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Fetch org-level guidance state for security/billing org consoles.',\n outcome: 'Flow map for in-product coach tied to a tenant.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant guidance state.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize org guidance when first org-wide flows activate.',\n outcome: 'Baseline row the engine can update.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An org-level guidance state record was created with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; org guidance state is initialized by admins only.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize an organization guidance state',\n request: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch org state when admins advance or reset flows (admin/super-admin roles in factory).',\n outcome: 'Updated tour visibility and element completion for members when policies allow.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org guidance state patch was merged and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; advancing/resetting org flows is admin-gated.' },\n ],\n // Convergent: advancing/dismissing org flows merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Factory search hook; merged admin bundle removes the SEARCH view — still describe the op for backend truth.',\n outcome: 'Not surfaced as a navigable list in merged presets for this resource.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org guidance state records; not surfaced as a navigable list in merged presets.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization guidance state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization guidance state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Merged `guidance` admin preset removes SEARCH from the org guidance bundle; companion must not require a public org guidance directory route.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userGuidanceUI),\n userGuidanceBase,\n () => ({\n label: { purpose: 'Presets build a short label from flow count: “User guidance · N flows” when any flow exists, else “User guidance”.' },\n layout: {\n purpose: 'Single `overview` section rendering the `flows` map in platform presets — inline display/summary/edit share one card for engine-owned JSON.',\n displayPurpose: 'Not a CRUD form for arbitrary JSON; the edit template exists for administrative tooling, not self-serve in typical apps.',\n sections: {\n overview: {\n purpose: 'The entire guidance tree (flows, elements, status) in one place.',\n whenToUse: 'Any screen that must debug or show raw guidance progress in platform builds.',\n textSlots: {\n title: { purpose: 'Name the current guidance state record.' },\n description: { purpose: 'Clarify that flow keys map to `guidance-flow` definition refs in the product catalog, not ad-hoc strings.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only host for the guidance JSON in platform presets; non-addressable in default `views` wiring.', whenToUse: 'When product routes expose read access for diagnostics.' },\n [Op.CREATE]: { purpose: 'First-write initialization path when no row yet exists; non-addressable in default `views` wiring.', whenToUse: 'Onboarding of the guidance state row during user bootstrap.' },\n [Op.UPDATE]: { purpose: 'Patch-level updates as flows progress; non-addressable in default `views` wiring.', whenToUse: 'Engine callbacks after each coach step.' },\n [Op.SEARCH]: { purpose: 'Factory exposes SEARCH for service compatibility; not addressable in platform preset list for this type.', whenToUse: 'Internal or future admin discovery tools only.' },\n },\n }),\n);\n\nexport const organizationGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgGuidancePlatformUI), resourceFrontendConfiguration(orgGuidanceAdminUI)),\n organizationGuidanceBase,\n () => ({\n label: { purpose: '“Organization guidance · N flows” from flow map size in merged presets, matching the `guidanceLabel` helper pattern.' },\n layout: {\n purpose: 'Same single-section `overview` as the user platform preset; merged admin only removes the SEARCH view entry — layout chrome is shared.',\n displayPurpose: 'Admin merge keeps display/edit templates from the platform block so org and platform consoles stay consistent.',\n sections: {\n overview: {\n purpose: 'Flow map for the organization’s guidance state.',\n whenToUse: 'Org admin and super-admin org drill-downs for rollout tracking.',\n textSlots: {\n title: { purpose: 'Label the org-level guidance state surface.' },\n description: { purpose: 'Distinguish from per-user `USER_GUIDANCE_STATE` which tracks individual progress instead of the org rollout bucket.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read org guidance for merged platform+admin; non-addressable in default `views` wiring in presets.', whenToUse: 'When org admin routes surface the coach state for the tenant.' },\n [Op.CREATE]: { purpose: 'Create org state when missing; same non-addressable pattern in presets.', whenToUse: 'First activation of an org with guidance enabled.' },\n [Op.UPDATE]: { purpose: 'Admin and super-admin updates; non-addressable in default preset list.', whenToUse: 'When flows are advanced, dismissed, or reset in operator tooling.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"guidance-state.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/guidance-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gDAAgD,IAAI,sBAAsB,EAC1E,mDAAmD,IAAI,yBAAyB,EAChF,2CAA2C,IAAI,0BAA0B,GAC1E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,uBAAuB,EACvB,oEAAoE,IAAI,gCAAgC,EACxG,4DAA4D,IAAI,wBAAwB,GACzF,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,cAAc,GAAG,0BAA8F,CAAC;AAKtH,MAAM,qBAAqB,GAAG,yBAA4F,CAAC;AAC3H,MAAM,kBAAkB,GAAG,sBAAyF,CAAC;AAErH,MAAM,gBAAgB,GAAG,qBAAqB,CAC5C,wBAAwB,EACxB,uBAAuB,EACvB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,kIAAkI;IAC3I,YAAY,EAAE,8HAA8H;IAC5I,aAAa,EAAE,qHAAqH;IACpI,QAAQ,EAAE,aAAa,CAAC,QAAQ;IAChC,SAAS,EAAE,uBAAuB,CAAC,QAAQ;IAC3C,YAAY,EAAE;QACZ,UAAU,EAAE,E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ChJ;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,oGAAoG,EAAE,SAAS,EAAE,+DAA+D,EAAE;QACxM,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yEAAyE,EAAE,SAAS,EAAE,mDAAmD,EAAE;QACnK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,wEAAwE,EAAE,SAAS,EAAE,mEAAmE,EAAE;KACnL;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationGuidanceStateAdminResourceUIBehavior as orgGuidanceAdminSource,\n organizationGuidanceStatePlatformResourceUIBehavior as orgGuidancePlatformSource,\n userGuidanceStatePlatformResourceUIBehavior as userGuidancePlatformSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n OrganizationGuidanceStateSchema,\n ResourcePrimaryScope,\n UserGuidanceStateSchema,\n organizationGuidanceStateResourceConfiguration_InitializationFactory as organizationGuidanceStateFactory,\n userGuidanceStateResourceConfiguration_InitializationFactory as userGuidanceStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userGuidanceStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UserMain = UCfg['mainSchema'];\nconst userGuidanceUI = userGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UserMain>;\n\ntype OCfg = ReturnType<typeof organizationGuidanceStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OrgMain = OCfg['mainSchema'];\nconst orgGuidancePlatformUI = orgGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\nconst orgGuidanceAdminUI = orgGuidanceAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\n\nconst userGuidanceBase = resourceSpecification<Record<string, never>, UCore, UserMain>(\n userGuidanceStateFactory,\n UserGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user guidance engine state: which onboarding/guidance flows are started, completed, or dismissed, plus per-element progress.',\n businessRole: 'The persisted progress map the companion and in-app coach use to avoid repeating finished tours and to resume partial flows.',\n lifecycleRole: 'App user upserts rows as the guidance engine or admin tooling advances flow state; not a public directory resource.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'Owning user for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the user-self access strategy so a user can never read another user’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Map of `flowRef` to flow-level status, element map, and trigger counts for the guidance engine.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current user guidance state for coach surfaces.',\n outcome: 'Flow and element status hydrate UI and the companion.',\n responseStatuses: [\n // Self-state read lazily materializes: when no row exists yet the runtime returns a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user guidance state cannot be resolved.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize guidance state for a user (first run).',\n outcome: 'Empty or seeded `flows` map for subsequent updates.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A guidance state record was created for the caller with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session to own the new guidance state row.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize a user guidance state',\n request: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch flow and element state as a user progresses; send only the parts that changed.',\n outcome: 'The application merges the supplied parts into the stored state; untouched parts are left alone.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The partial flow/element patch was merged into the caller’s guidance state and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance state being patched.' },\n ],\n // Convergent: completing/dismissing a flow merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search stored guidance state.',\n outcome: 'Administrative and support tooling can find guidance state; an end-user surface rarely needs it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of guidance state records; search metadata is intentionally minimal for this resource.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user guidance state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user guidance state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Platform presets intentionally keep routes non-addressable; companion copy should not claim a public “guidance list” for end users unless product wiring changes.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationGuidanceBase = resourceSpecification<Record<string, never>, OCore, OrgMain>(\n organizationGuidanceStateFactory,\n OrganizationGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization guidance state: shared coach progress for org-wide onboarding and education flows (parallel shape to the user document).',\n businessRole: 'Holds which org-level flows are active, completed, or dismissed so admins and the engine can coordinate org rollout.',\n lifecycleRole: 'Created/updated by org admins, super-admins, or automation when org guidance policies change; member reads may be allowed in factory for transparency.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n },\n fields: {\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'Owning organization for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the org access strategy so a tenant can never read another tenant’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Same flow/element state shape as the user variant, stored at org scope for shared journeys.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Fetch org-level guidance state for security/billing org consoles.',\n outcome: 'Flow map for in-product coach tied to a tenant.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant guidance state.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize org guidance when first org-wide flows activate.',\n outcome: 'Baseline row the engine can update.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An org-level guidance state record was created with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; org guidance state is initialized by admins only.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize an organization guidance state',\n request: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch org state when admins advance or reset flows (admin/super-admin roles in factory).',\n outcome: 'Updated tour visibility and element completion for members when policies allow.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org guidance state patch was merged and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; advancing/resetting org flows is admin-gated.' },\n ],\n // Convergent: advancing/dismissing org flows merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Factory search hook; merged admin bundle removes the SEARCH view — still describe the op for backend truth.',\n outcome: 'Not surfaced as a navigable list in merged presets for this resource.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org guidance state records; not surfaced as a navigable list in merged presets.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization guidance state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization guidance state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Merged `guidance` admin preset removes SEARCH from the org guidance bundle; companion must not require a public org guidance directory route.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userGuidanceUI),\n userGuidanceBase,\n () => ({\n label: { purpose: 'Presets build a short label from flow count: “User guidance · N flows” when any flow exists, else “User guidance”.' },\n layout: {\n purpose: 'Single `overview` section rendering the `flows` map in platform presets — inline display/summary/edit share one card for engine-owned JSON.',\n displayPurpose: 'Not a CRUD form for arbitrary JSON; the edit template exists for administrative tooling, not self-serve in typical apps.',\n sections: {\n overview: {\n purpose: 'The entire guidance tree (flows, elements, status) in one place.',\n whenToUse: 'Any screen that must debug or show raw guidance progress in platform builds.',\n textSlots: {\n title: { purpose: 'Name the current guidance state record.' },\n description: { purpose: 'Clarify that flow keys map to `guidance-flow` definition refs in the product catalog, not ad-hoc strings.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only host for the guidance JSON in platform presets; non-addressable in default `views` wiring.', whenToUse: 'When product routes expose read access for diagnostics.' },\n [Op.CREATE]: { purpose: 'First-write initialization path when no row yet exists; non-addressable in default `views` wiring.', whenToUse: 'Onboarding of the guidance state row during user bootstrap.' },\n [Op.UPDATE]: { purpose: 'Patch-level updates as flows progress; non-addressable in default `views` wiring.', whenToUse: 'Engine callbacks after each coach step.' },\n [Op.SEARCH]: { purpose: 'Factory exposes SEARCH for service compatibility; not addressable in platform preset list for this type.', whenToUse: 'Internal or future admin discovery tools only.' },\n },\n }),\n);\n\nexport const organizationGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgGuidancePlatformUI), resourceFrontendConfiguration(orgGuidanceAdminUI)),\n organizationGuidanceBase,\n () => ({\n label: { purpose: '“Organization guidance · N flows” from flow map size in merged presets, matching the `guidanceLabel` helper pattern.' },\n layout: {\n purpose: 'Same single-section `overview` as the user platform preset; merged admin only removes the SEARCH view entry — layout chrome is shared.',\n displayPurpose: 'Admin merge keeps display/edit templates from the platform block so org and platform consoles stay consistent.',\n sections: {\n overview: {\n purpose: 'Flow map for the organization’s guidance state.',\n whenToUse: 'Org admin and super-admin org drill-downs for rollout tracking.',\n textSlots: {\n title: { purpose: 'Label the org-level guidance state surface.' },\n description: { purpose: 'Distinguish from per-user `USER_GUIDANCE_STATE` which tracks individual progress instead of the org rollout bucket.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read org guidance for merged platform+admin; non-addressable in default `views` wiring in presets.', whenToUse: 'When org admin routes surface the coach state for the tenant.' },\n [Op.CREATE]: { purpose: 'Create org state when missing; same non-addressable pattern in presets.', whenToUse: 'First activation of an org with guidance enabled.' },\n [Op.UPDATE]: { purpose: 'Admin and super-admin updates; non-addressable in default preset list.', whenToUse: 'When flows are advanced, dismissed, or reset in operator tooling.' },\n },\n }),\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-state.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/lifecycle-state.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,cAAc,EAMf,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"lifecycle-state.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/lifecycle-state.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,cAAc,EAMf,MAAM,uBAAuB,CAAC;AAoa/B,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;iCAmBnD,CAAC;AAEF,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;iCAkB3D,CAAC"}
|
|
@@ -114,6 +114,23 @@ const userLifecycleBase = resourceSpecification(userLifecycleStateFactory, UserL
|
|
|
114
114
|
elementMeaning: 'One `LifecycleStage` value the user has visited at least once.',
|
|
115
115
|
elementType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },
|
|
116
116
|
}),
|
|
117
|
+
stageEnteredAt: schemaShape.stageEnteredAt.clone().dateSpec({
|
|
118
|
+
meaning: 'When the user entered its current lifecycle stage.',
|
|
119
|
+
whyItMatters: 'The engagement threshold counts its window from this moment.',
|
|
120
|
+
temporalRole: 'occurred',
|
|
121
|
+
}),
|
|
122
|
+
lastActiveAt: schemaShape.lastActiveAt.clone().dateSpec({
|
|
123
|
+
meaning: 'When the user last performed an operation. Writes are debounced (30 minutes by default), so it can trail the latest activity by up to that long.',
|
|
124
|
+
whyItMatters: 'A scheduled check moves an activated, engaged or reactivated user to `dormant` once this is older than the dormancy threshold (14 days by default).',
|
|
125
|
+
temporalRole: 'occurred',
|
|
126
|
+
}),
|
|
127
|
+
activationCriteriaMet: schemaShape.activationCriteriaMet.clone().objectSpec({
|
|
128
|
+
meaning: 'The activation criteria the user has met so far, keyed by the milestone or guidance flow each criterion names.',
|
|
129
|
+
whyItMatters: 'The user moves from `signed_up` to `activated` once the configured criteria are met, all of them or any one depending on the activation mode.',
|
|
130
|
+
}),
|
|
131
|
+
engagement: schemaShape.engagement.clone().objectSpec({
|
|
132
|
+
meaning: 'Activity counted while the user is in the `activated` or `reactivated` stage, used to decide the move to `engaged`.',
|
|
133
|
+
}),
|
|
117
134
|
userId: schemaShape.userId.foreignKeySpec({
|
|
118
135
|
meaning: 'The owning user this lifecycle state record tracks; immutable after create.',
|
|
119
136
|
whyItMatters: 'Scopes READ/SEARCH through the user-self access strategy so a user can never read another user’s lifecycle state.',
|
|
@@ -256,6 +273,23 @@ const organizationLifecycleBase = resourceSpecification(organizationLifecycleSta
|
|
|
256
273
|
elementMeaning: 'One `LifecycleStage` value the organization has visited at least once.',
|
|
257
274
|
elementType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },
|
|
258
275
|
}),
|
|
276
|
+
stageEnteredAt: schemaShape.stageEnteredAt.clone().dateSpec({
|
|
277
|
+
meaning: 'When the organization entered its current lifecycle stage.',
|
|
278
|
+
whyItMatters: 'The engagement threshold counts its window from this moment.',
|
|
279
|
+
temporalRole: 'occurred',
|
|
280
|
+
}),
|
|
281
|
+
lastActiveAt: schemaShape.lastActiveAt.clone().dateSpec({
|
|
282
|
+
meaning: 'When the organization last performed an operation. Writes are debounced (30 minutes by default), so it can trail the latest activity by up to that long.',
|
|
283
|
+
whyItMatters: 'A scheduled check moves an activated, engaged or reactivated organization to `dormant` once this is older than the dormancy threshold (14 days by default).',
|
|
284
|
+
temporalRole: 'occurred',
|
|
285
|
+
}),
|
|
286
|
+
activationCriteriaMet: schemaShape.activationCriteriaMet.clone().objectSpec({
|
|
287
|
+
meaning: 'The activation criteria the organization has met so far, keyed by the milestone or guidance flow each criterion names.',
|
|
288
|
+
whyItMatters: 'The organization moves from `signed_up` to `activated` once the configured criteria are met, all of them or any one depending on the activation mode.',
|
|
289
|
+
}),
|
|
290
|
+
engagement: schemaShape.engagement.clone().objectSpec({
|
|
291
|
+
meaning: 'Activity counted while the organization is in the `activated` or `reactivated` stage, used to decide the move to `engaged`.',
|
|
292
|
+
}),
|
|
259
293
|
organizationId: schemaShape.organizationId.foreignKeySpec({
|
|
260
294
|
meaning: 'The owning organization this lifecycle state record tracks; immutable after create.',
|
|
261
295
|
whyItMatters: 'Scopes READ/SEARCH through the org access strategy so a tenant can never read another tenant’s lifecycle state.',
|