@wildo-ai/saas-specifications 1.1.3 → 1.1.4
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/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +118 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +498 -7
- 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 +472 -19
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.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 +9 -9
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
- package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +22 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -11
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +12 -8
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -8
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +16 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
- package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +8 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +8 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +11 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +37 -4
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +2 -2
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +22 -9
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2002 -29
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +30 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +40 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +30 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +14 -6
- 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-sources.schemas.d.ts.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 +29 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts.map +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/index.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.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.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.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.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.map +1 -1
- package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/index.d.ts +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +1 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- 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.map +1 -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.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.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.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.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.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.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 +9 -1
- 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 +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -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.map +1 -1
- package/dist/esm/engine/billing/index.d.ts.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.map +1 -1
- package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.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.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.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.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +69 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- 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/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +4 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.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 +19 -0
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/errors/index.d.ts.map +1 -1
- package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
- package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/index.d.ts.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 +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/index.d.ts.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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group-text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.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.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.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-artifact-browser.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.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/table.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
- package/dist/esm/engine/guidance/index.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/index.d.ts.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.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.map +1 -1
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.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.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.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.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +10 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +10 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +10 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts.map +1 -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 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/index.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.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 +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts.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.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-seed-runs.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,sDAAsD,IAAI,kBAAkB,GAC7E,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE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;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE;oBAChC,OAAO,EAAE,0GAA0G;iBACpH;aACF;SACF;QAED,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,oDAAoD;YAC7D,OAAO,EAAE,6FAA6F;YACtG,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,sFAAsF,EAAE;aACzI;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,iFAAiF,EAAE;aACxI;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE;oBAC7B,OAAO,EAAE,6FAA6F;oBACtG,SAAS,EAAE,8GAA8G;iBAC1H;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,yJAAyJ;QACzJ,qLAAqL;QACrL,4JAA4J;QAC5J,2LAA2L;KAC5L;CACF,CAAC;AACF,2EAA2E;AAC3E,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,gEAAgE;AAChE,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n DataSeedMode,\n DataSeedRunSchema,\n DataSeedRunStatus,\n DataSeedRunVariantKey,\n DataSeedScopeKind,\n DataSeedTriggerOrigin,\n dataSeedRunResourceConfiguration_InitializationFactory as dataSeedRunFactory,\n} from '@wildo-ai/saas-backend-lib/data-seeding-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `dataSeedRuns` resource — the\n * persistence ledger the data-seeding dispatcher writes one row to per pass.\n *\n * Like `jobExecutions`, this is a platform/infrastructure truth source rather\n * than an end-user surface: its useful semantic layer is the operational model\n * (did this seed already run for this scope at this version, and what did the\n * pass do?), not UI narration. Its only human-facing surface is the back-office\n * ADMIN read/search path and the `DELETE` re-run gesture.\n *\n * Authored 2026-08-21 because the label generator was producing this resource's\n * ~1000 keys with NO spec context at all — the companion logged\n * `No resource specification found for \"dataSeedRuns\"` on every run and invented\n * terminology from bare field names. The counters in particular (`entriesUpdated`\n * vs `entriesUpgraded` vs `entriesSkipped`) are indistinguishable without the\n * per-mode contract stated below.\n *\n * NOTE ON THE REGISTRY KEY: `dataSeedRuns` is a `BackendResourceType`, not a\n * `CoreResourceType`, so its schema and factory live in `@wildo-ai/saas-backend-lib`\n * rather than `@wildo-ai/saas-models`, and its entry in\n * `engineResourceSpecificationsByType` is keyed by the literal resource-type\n * string. The registry is typed `Record<string, …>`, and the runtime-scope\n * alignment guard intersects specs with the CORE registry, so this resource is\n * correctly outside that guard's population rather than silently breaking it.\n *\n * WHY THIS ONE SPEC CARRIES AN EXPLICIT TYPE ANNOTATION (the other 58 do not).\n *\n * `resourceSpecification` returns `ResourceSpecificationConfig<TCustomOp, TCoreOp, TSchema>`,\n * so an unannotated spec exports a type whose arguments are named from wherever its schema\n * and factory live. For every other engine spec that is `@wildo-ai/saas-models`, which this\n * package depends on directly and can always name. This resource is the sole exception — its\n * schema and factory come from `@wildo-ai/saas-backend-lib/data-seeding-models`, because\n * `dataSeedRuns` is a `BackendResourceType` (see the registry note above). That made the\n * inferred type unnameable except through a non-portable nested path\n * (`node_modules/@wildo-ai/saas-frontend-lib/node_modules/@wildo-ai/saas-models/src`), which\n * `isolatedDeclarations`-style declaration emit rejects with TS2742.\n *\n * The annotation is NOT merely a workaround for that. The same declaration also tripped TS7056\n * (`inferred type ... exceeds the maximum length the compiler will serialize`) — this resource\n * authors on the order of a thousand field-spec keys — and TS7056 has no remedy other than an\n * explicit annotation. No amount of dependency or entrypoint surgery removes it, so an\n * annotation is required here regardless of how the package boundary is drawn.\n *\n * `AnyResourceSpecificationConfig` loses nothing at the only consumption point. The sole\n * consumer is `engineResourceSpecificationsByType`, declared `ResourceSpecification`\n * (= `Record<string, AnyResourceSpecificationConfig>`), so the precise generic instantiation\n * was already erased there. Authoring-time checking of the callback body is unaffected: the\n * `resourceSpecification(...)` call still infers `TSchema` from `DataSeedRunSchema` and\n * type-checks the config against it before the annotation widens the exported binding.\n *\n * If a future spec also sources its schema from a package other than `saas-models`, it will hit\n * the same wall and should follow this pattern rather than re-deriving it.\n */\nexport const dataSeedRunsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n dataSeedRunFactory,\n DataSeedRunSchema,\n ({ schemaShape }) => ({\n purpose: 'Record one pass of the data-seeding dispatcher so the platform knows whether a seed has already been applied to a given scope at a given version.',\n businessRole: 'Operational control-plane ledger used to make seeding idempotent across restarts, and to troubleshoot what a seeding pass inserted, upgraded, skipped, or failed on.',\n lifecycleRole: 'Opens as a running pass when the dispatcher starts, then settles once into completed, partial, or failed. Deleting a settled row is the supported gesture for making the next pass treat that scope as un-run.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'dataSeedRunResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DATA_SEED_RUN',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of one recorded seeding pass.',\n whyItMatters: 'It is what an operator addresses when deleting a settled pass to force the next dispatcher run to re-apply that seed.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedKey: schemaShape.seedKey.stringSpec({\n meaning: 'Stable name of the seed declaration this pass executed.',\n whyItMatters: 'It is the primary way an operator groups the history of one seed across every scope and version it has been applied to.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedVersion: schemaShape.seedVersion.numberSpec({\n meaning: 'The version the seed declaration carried when this pass ran.',\n whyItMatters: 'Raising the declared version is how a developer asks for a re-run; the dispatcher decides by comparing the declared version against the highest version already recorded as completed for the same scope.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n mode: schemaShape.mode.enumSpec({\n meaning: 'The reconciliation strategy the pass applied to the declared entries.',\n whyItMatters: 'It determines which counters below can be non-zero and whether rows outside the declared set were touched at all, so it is the first thing to read when a pass did something unexpected.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedMode',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedMode.LAZY]: { meaning: 'Create the entry the first time the scope is accessed if it is missing. Always safe to repeat.' },\n [DataSeedMode.ADDITIVE]: { meaning: 'Insert entries that are absent and re-apply the declared payload to entries that are present. Never removes anything and never walks records outside the declared set.' },\n [DataSeedMode.UPGRADE]: { meaning: 'Insert entries that are absent and migrate entries whose recorded version is behind the declared one.' },\n [DataSeedMode.SYNC]: { meaning: 'Treat the declared entries as the full truth: insert what is missing, update what changed, and handle records that are no longer declared according to the seed orphan policy.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n scopeKind: schemaShape.scopeKind.enumSpec({\n meaning: 'The unit this pass seeded — the whole database, one application, one organization, one user, or one record of some other resource type.',\n whyItMatters: 'Seeding is idempotent per scope, so the scope is half of the answer to \"has this already run?\".',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedScopeKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedScopeKind.GLOBAL]: { meaning: 'Applied once for the whole database. There is no anchor record.' },\n [DataSeedScopeKind.APPLICATION]: { meaning: 'Applied once per application.' },\n [DataSeedScopeKind.ORGANIZATION]: { meaning: 'Applied once per organization.' },\n [DataSeedScopeKind.USER]: { meaning: 'Applied once per user.' },\n [DataSeedScopeKind.CUSTOM]: { meaning: 'Applied once per record of some other resource type, which is named separately on the pass.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n relatedResourceType: schemaShape.relatedResourceType.stringSpec({\n meaning: 'The resource type whose record anchors a custom-scope pass. Empty for the built-in scopes, whose resource is implied by the scope itself.',\n whyItMatters: 'Two custom-scope seeds can legitimately anchor on the same row identifier under different resource types, so this is what keeps their histories apart.',\n }),\n\n relatedId: schemaShape.relatedId.stringSpec({\n meaning: 'Identifier of the record that anchors this scope. Empty only for a database-wide pass, which has no anchor.',\n whyItMatters: 'It is what narrows the ledger from \"every run of this seed\" to \"the run for this particular organization, user, or row\".',\n semanticRole: 'identifier',\n }),\n\n triggerOrigin: schemaShape.triggerOrigin.enumSpec({\n meaning: 'Coarse classification of what caused the dispatcher to fire.',\n whyItMatters: 'It is the filterable form of the trigger, so history can be narrowed to one pathway without reading the trigger declaration on every row.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedTriggerOrigin',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedTriggerOrigin.APP_INIT]: { meaning: 'Fired while the application was starting up.' },\n [DataSeedTriggerOrigin.APP_VERSION_UPGRADE]: { meaning: 'Fired because the application moved to a new version.' },\n [DataSeedTriggerOrigin.RESOURCE_LIFECYCLE]: { meaning: 'Fired by a write to the resource that anchors the scope, such as a new organization being created.' },\n [DataSeedTriggerOrigin.LAZY_ACCESS]: { meaning: 'Fired the first time something read the scope and the seeded data was not there yet.' },\n [DataSeedTriggerOrigin.CRON]: { meaning: 'Reserved for a cron primitive that fires outside a declared seed schedule. No current caller.' },\n [DataSeedTriggerOrigin.ADMIN_MANUAL]: { meaning: 'Fired by an administrator asking for the seed to be run.' },\n [DataSeedTriggerOrigin.SCHEDULED_RERUN]: { meaning: 'Fired by the platform because the seed declaration\\'s own schedule matched the current tick.' },\n },\n }),\n\n triggeredByUserId: schemaShape.triggeredByUserId.stringSpec({\n meaning: 'The user whose action caused the dispatcher to fire. Empty for passes the platform started on its own.',\n whyItMatters: 'It is attribution only, never authority: the seed itself always runs with internal system permissions regardless of who triggered it.',\n semanticRole: 'identifier',\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Outcome of the pass.',\n whyItMatters: 'It is the signal the dispatcher itself reads to decide whether a scope still needs seeding, and the first thing an operator filters on.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedRunStatus.RUNNING]: { meaning: 'The pass started and has not settled. A pass left in this state by a crash is superseded by the next pass rather than timing out.' },\n [DataSeedRunStatus.COMPLETED]: { meaning: 'Every declared entry succeeded.' },\n [DataSeedRunStatus.PARTIAL]: { meaning: 'At least one entry failed but the pass carried on and reported the rest.' },\n [DataSeedRunStatus.FAILED]: { meaning: 'The pass itself stopped before finishing.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n startedAt: schemaShape.startedAt.dateSpec({\n meaning: 'When the pass began.',\n }),\n\n finishedAt: schemaShape.finishedAt.dateSpec({\n meaning: 'When the pass settled. Empty while it is still running.',\n whyItMatters: 'The gap between this and the start time is the only duration signal for a seeding pass.',\n }),\n\n entriesAttempted: schemaShape.entriesAttempted.numberSpec({\n meaning: 'How many declared entries the pass walked. Counted before each entry is tried, so it matches the declared set whatever the outcome.',\n whyItMatters: 'When it does not match the number of entries in the declaration, the declaration and the deployed code have drifted apart.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n entriesInserted: schemaShape.entriesInserted.numberSpec({\n meaning: 'How many declared entries were written because no matching record existed.',\n }),\n\n entriesUpdated: schemaShape.entriesUpdated.numberSpec({\n meaning: 'How many already-present records had the declared payload re-applied to them.',\n whyItMatters: 'This is the additive-mode counter. A version migration is counted separately, so a non-zero value here means the payload was re-stamped, not migrated.',\n }),\n\n entriesUpgraded: schemaShape.entriesUpgraded.numberSpec({\n meaning: 'How many present records were behind the declared version and were migrated forward.',\n }),\n\n entriesRenamed: schemaShape.entriesRenamed.numberSpec({\n meaning: 'How many records were relocated from a previous identity because the declaration renamed them.',\n }),\n\n entriesSkipped: schemaShape.entriesSkipped.numberSpec({\n meaning: 'How many declared entries the pass deliberately left untouched — already current, or protected from being moved backwards.',\n whyItMatters: 'Skipping is a normal outcome, not a failure; the reason for each skip is reported separately.',\n }),\n\n entriesDeleted: schemaShape.entriesDeleted.numberSpec({\n meaning: 'How many records outside the declared set were removed. Only a full-reconciliation pass configured to delete can produce this.',\n }),\n\n entriesDeprecated: schemaShape.entriesDeprecated.numberSpec({\n meaning: 'How many records outside the declared set were marked deprecated instead of removed.',\n }),\n\n entriesReportedOrphans: schemaShape.entriesReportedOrphans.numberSpec({\n meaning: 'How many records outside the declared set were only reported, leaving the records themselves untouched.',\n }),\n\n entriesFailed: schemaShape.entriesFailed.numberSpec({\n meaning: 'How many entries could not be written. The pass continues and settles as partial.',\n whyItMatters: 'It is the count behind a partial outcome; the per-entry detail lives in the report below.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n failureReport: schemaShape.failureReport.objectSpec({\n meaning: 'Detailed breakdown of everything non-trivial the pass encountered: which entries failed and why, which records fell outside the declared set, and any error that stopped the pass as a whole. Empty when everything succeeded.',\n whyItMatters: 'It is what lets an operator diagnose a partial or failed pass without going to application logs.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n /**\n * `trigger` is documented here rather than in `fields` because it is a\n * DISCRIMINATED UNION, and the spec decorators are declared on `ZodObject`\n * / `ZodUnion` but not on `ZodDiscriminatedUnion` — `schemaShape.trigger.objectSpec(...)`\n * does not type-check. Without an entry of some kind the field would reach the\n * label generator as a bare name and the generator would invent terminology for\n * it (the same failure mode `RETENTION_MARKER_FIELD_SPECS` documents), so the\n * meaning is declared through the escape hatch instead of dropped.\n */\n additionalFieldSpecs: [\n {\n fieldName: 'trigger',\n specDecorator: 'objectSpec',\n params: {\n meaning: 'The full trigger declaration that caused this pass, copied verbatim from the seed definition.',\n whyItMatters: 'Its shape varies by what fired the pass, so it carries the detail — the lifecycle event, the schedule, the access path — that the coarse trigger origin deliberately flattens away.',\n },\n },\n ],\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open the ledger row for a seeding pass that is about to start.',\n outcome: 'The pass becomes visible as running before it touches any data, so a crash mid-pass leaves a trace rather than nothing.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The pass was recorded as running and the record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The pass description fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n idempotent: false,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher open its own ledger row. There is no externally reachable way to create one.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one recorded seeding pass.',\n outcome: 'The caller can inspect exactly what one pass did to one scope.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was found and is returned with its counters and report.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier — never recorded, or already removed by an administrator or by history cleanup.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator. This ledger is never exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher recover a previous attempt before writing the outcome of the current one.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator inspect one pass from the back office.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Settle a running pass with its outcome and counters.',\n outcome: 'The ledger stops saying the pass is in flight and starts being the answer to whether the seed already applied.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pass recorded its outcome, timing, counters and failure report, and the settled record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier to settle.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The outcome fails schema validation, for example an unrecognized status.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A caller outside the dispatcher attempts to rewrite a pass outcome.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher write the terminal outcome of the pass it opened.',\n whenToUse: 'Use when a pass has finished walking its entries, whether it succeeded, partially succeeded, or stopped.',\n },\n },\n },\n\n [Op.DELETE]: {\n purpose: 'Remove a recorded pass so the next dispatcher run treats that scope as never seeded.',\n outcome: 'The seed is re-applied to that scope on the next run, without editing or re-deploying the seed declaration.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was removed and the scope is eligible for seeding again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Give a platform administrator the supported re-run gesture.',\n whenToUse: 'Use when a seed must be applied again to one scope and raising the declared version would wrongly re-run it everywhere. The dispatcher never deletes its own history.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate recorded seeding passes.',\n outcome: 'The caller sees seeding history as a set rather than one pass at a time.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, narrowed by the requested seed, scope, status, or trigger filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to enumerate seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher enumerate prior passes while deciding whether a scope still needs seeding.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator browse seeding history from the back office.',\n },\n },\n },\n\n [Op.COUNT]: {\n purpose: 'Count recorded passes matching a set of conditions.',\n outcome: 'The dispatcher can answer \"has any completed pass already covered this scope?\" without loading the rows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The number of recorded passes matching the conditions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Back the dispatcher\\'s already-seeded check, which needs only a yes or no and never the rows themselves.',\n },\n },\n },\n\n [Op.SEARCH]: {\n purpose: 'Search seeding history by seed name or anchor row.',\n outcome: 'An administrator can narrow history to the passes relevant to one seed or one affected row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, matching the search term and any filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to query seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator find passes by seed name or by the row a pass was anchored to.',\n whenToUse: 'Use when troubleshooting starts from \"which seed touched this row\" rather than from a known pass identifier.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This ledger records what a seeding pass did. It is never the source of truth for the data the seed produced — that lives on the seeded rows themselves.',\n 'A pass is identified by its seed, its scope, and its declared version together. That identity is what makes seeding safe to repeat, so it must not be widened or narrowed casually.',\n 'Who triggered a pass is recorded for attribution only. Seeding always runs with internal system permissions, so the recorded user never confers authority.',\n 'Removing a recorded pass is a deliberate administrative re-run gesture. The dispatcher itself never deletes its own history, because the history is what makes the next decision correct.',\n ],\n }),\n // DATA_SEED_RUN is a STANDALONE infrastructure ledger reached only through\n // internal repository services and a platform-administrator back-office path.\n // The `APPLICATION → DATA_SEED_RUN` relationship is routing-side only (the row\n // carries no application identifier of its own), which is why the scope is\n // declared here rather than derived from a scope-owning parent.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"data-seed-runs.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,sDAAsD,IAAI,kBAAkB,GAC7E,M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,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,6CAA6C,EAAE;aACpG;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE;oBAChC,OAAO,EAAE,0GAA0G;iBACpH;aACF;SACF;QAED,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,oDAAoD;YAC7D,OAAO,EAAE,6FAA6F;YACtG,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,sFAAsF,EAAE;aACzI;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,iFAAiF,EAAE;aACxI;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE;oBAC7B,OAAO,EAAE,6FAA6F;oBACtG,SAAS,EAAE,8GAA8G;iBAC1H;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,yJAAyJ;QACzJ,qLAAqL;QACrL,4JAA4J;QAC5J,2LAA2L;KAC5L;CACF,CAAC;AACF,2EAA2E;AAC3E,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,gEAAgE;AAChE,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n DataSeedMode,\n DataSeedRunSchema,\n DataSeedRunStatus,\n DataSeedRunVariantKey,\n DataSeedScopeKind,\n DataSeedTriggerOrigin,\n dataSeedRunResourceConfiguration_InitializationFactory as dataSeedRunFactory,\n} from '@wildo-ai/saas-backend-lib/data-seeding-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `dataSeedRuns` resource — the\n * persistence ledger the data-seeding dispatcher writes one row to per pass.\n *\n * Like `jobExecutions`, this is a platform/infrastructure truth source rather\n * than an end-user surface: its useful semantic layer is the operational model\n * (did this seed already run for this scope at this version, and what did the\n * pass do?), not UI narration. Its only human-facing surface is the back-office\n * ADMIN read/search path and the `DELETE` re-run gesture.\n *\n * Authored 2026-08-21 because the label generator was producing this resource's\n * ~1000 keys with NO spec context at all — the companion logged\n * `No resource specification found for \"dataSeedRuns\"` on every run and invented\n * terminology from bare field names. The counters in particular (`entriesUpdated`\n * vs `entriesUpgraded` vs `entriesSkipped`) are indistinguishable without the\n * per-mode contract stated below.\n *\n * NOTE ON THE REGISTRY KEY: `dataSeedRuns` is a `BackendResourceType`, not a\n * `CoreResourceType`, so its schema and factory live in `@wildo-ai/saas-backend-lib`\n * rather than `@wildo-ai/saas-models`, and its entry in\n * `engineResourceSpecificationsByType` is keyed by the literal resource-type\n * string. The registry is typed `Record<string, …>`, and the runtime-scope\n * alignment guard intersects specs with the CORE registry, so this resource is\n * correctly outside that guard's population rather than silently breaking it.\n *\n * WHY THIS ONE SPEC CARRIES AN EXPLICIT TYPE ANNOTATION (the other 58 do not).\n *\n * `resourceSpecification` returns `ResourceSpecificationConfig<TCustomOp, TCoreOp, TSchema>`,\n * so an unannotated spec exports a type whose arguments are named from wherever its schema\n * and factory live. For every other engine spec that is `@wildo-ai/saas-models`, which this\n * package depends on directly and can always name. This resource is the sole exception — its\n * schema and factory come from `@wildo-ai/saas-backend-lib/data-seeding-models`, because\n * `dataSeedRuns` is a `BackendResourceType` (see the registry note above). That made the\n * inferred type unnameable except through a non-portable nested path\n * (`node_modules/@wildo-ai/saas-frontend-lib/node_modules/@wildo-ai/saas-models/src`), which\n * `isolatedDeclarations`-style declaration emit rejects with TS2742.\n *\n * The annotation is NOT merely a workaround for that. The same declaration also tripped TS7056\n * (`inferred type ... exceeds the maximum length the compiler will serialize`) — this resource\n * authors on the order of a thousand field-spec keys — and TS7056 has no remedy other than an\n * explicit annotation. No amount of dependency or entrypoint surgery removes it, so an\n * annotation is required here regardless of how the package boundary is drawn.\n *\n * `AnyResourceSpecificationConfig` loses nothing at the only consumption point. The sole\n * consumer is `engineResourceSpecificationsByType`, declared `ResourceSpecification`\n * (= `Record<string, AnyResourceSpecificationConfig>`), so the precise generic instantiation\n * was already erased there. Authoring-time checking of the callback body is unaffected: the\n * `resourceSpecification(...)` call still infers `TSchema` from `DataSeedRunSchema` and\n * type-checks the config against it before the annotation widens the exported binding.\n *\n * If a future spec also sources its schema from a package other than `saas-models`, it will hit\n * the same wall and should follow this pattern rather than re-deriving it.\n */\nexport const dataSeedRunsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n dataSeedRunFactory,\n DataSeedRunSchema,\n ({ schemaShape }) => ({\n purpose: 'Record one pass of the data-seeding dispatcher so the platform knows whether a seed has already been applied to a given scope at a given version.',\n businessRole: 'Operational control-plane ledger used to make seeding idempotent across restarts, and to troubleshoot what a seeding pass inserted, upgraded, skipped, or failed on.',\n lifecycleRole: 'Opens as a running pass when the dispatcher starts, then settles once into completed, partial, or failed. Deleting a settled row is the supported gesture for making the next pass treat that scope as un-run.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'dataSeedRunResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DATA_SEED_RUN',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of one recorded seeding pass.',\n whyItMatters: 'It is what an operator addresses when deleting a settled pass to force the next dispatcher run to re-apply that seed.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedKey: schemaShape.seedKey.stringSpec({\n meaning: 'Stable name of the seed declaration this pass executed.',\n whyItMatters: 'It is the primary way an operator groups the history of one seed across every scope and version it has been applied to.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedVersion: schemaShape.seedVersion.numberSpec({\n meaning: 'The version the seed declaration carried when this pass ran.',\n whyItMatters: 'Raising the declared version is how a developer asks for a re-run; the dispatcher decides by comparing the declared version against the highest version already recorded as completed for the same scope.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n mode: schemaShape.mode.enumSpec({\n meaning: 'The reconciliation strategy the pass applied to the declared entries.',\n whyItMatters: 'It determines which counters below can be non-zero and whether rows outside the declared set were touched at all, so it is the first thing to read when a pass did something unexpected.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedMode',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedMode.LAZY]: { meaning: 'Create the entry the first time the scope is accessed if it is missing. Always safe to repeat.' },\n [DataSeedMode.ADDITIVE]: { meaning: 'Insert entries that are absent and re-apply the declared payload to entries that are present. Never removes anything and never walks records outside the declared set.' },\n [DataSeedMode.UPGRADE]: { meaning: 'Insert entries that are absent and migrate entries whose recorded version is behind the declared one.' },\n [DataSeedMode.SYNC]: { meaning: 'Treat the declared entries as the full truth: insert what is missing, update what changed, and handle records that are no longer declared according to the seed orphan policy.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n scopeKind: schemaShape.scopeKind.enumSpec({\n meaning: 'The unit this pass seeded — the whole database, one application, one organization, one user, or one record of some other resource type.',\n whyItMatters: 'Seeding is idempotent per scope, so the scope is half of the answer to \"has this already run?\".',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedScopeKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedScopeKind.GLOBAL]: { meaning: 'Applied once for the whole database. There is no anchor record.' },\n [DataSeedScopeKind.APPLICATION]: { meaning: 'Applied once per application.' },\n [DataSeedScopeKind.ORGANIZATION]: { meaning: 'Applied once per organization.' },\n [DataSeedScopeKind.USER]: { meaning: 'Applied once per user.' },\n [DataSeedScopeKind.CUSTOM]: { meaning: 'Applied once per record of some other resource type, which is named separately on the pass.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n relatedResourceType: schemaShape.relatedResourceType.stringSpec({\n meaning: 'The resource type whose record anchors a custom-scope pass. Empty for the built-in scopes, whose resource is implied by the scope itself.',\n whyItMatters: 'Two custom-scope seeds can legitimately anchor on the same row identifier under different resource types, so this is what keeps their histories apart.',\n }),\n\n relatedId: schemaShape.relatedId.stringSpec({\n meaning: 'Identifier of the record that anchors this scope. Empty only for a database-wide pass, which has no anchor.',\n whyItMatters: 'It is what narrows the ledger from \"every run of this seed\" to \"the run for this particular organization, user, or row\".',\n semanticRole: 'identifier',\n }),\n\n triggerOrigin: schemaShape.triggerOrigin.enumSpec({\n meaning: 'Coarse classification of what caused the dispatcher to fire.',\n whyItMatters: 'It is the filterable form of the trigger, so history can be narrowed to one pathway without reading the trigger declaration on every row.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedTriggerOrigin',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedTriggerOrigin.APP_INIT]: { meaning: 'Fired while the application was starting up.' },\n [DataSeedTriggerOrigin.APP_VERSION_UPGRADE]: { meaning: 'Fired because the application moved to a new version.' },\n [DataSeedTriggerOrigin.RESOURCE_LIFECYCLE]: { meaning: 'Fired by a write to the resource that anchors the scope, such as a new organization being created.' },\n [DataSeedTriggerOrigin.LAZY_ACCESS]: { meaning: 'Fired the first time something read the scope and the seeded data was not there yet.' },\n [DataSeedTriggerOrigin.CRON]: { meaning: 'Reserved for a cron primitive that fires outside a declared seed schedule. No current caller.' },\n [DataSeedTriggerOrigin.ADMIN_MANUAL]: { meaning: 'Fired by an administrator asking for the seed to be run.' },\n [DataSeedTriggerOrigin.SCHEDULED_RERUN]: { meaning: 'Fired by the platform because the seed declaration\\'s own schedule matched the current tick.' },\n },\n }),\n\n triggeredByUserId: schemaShape.triggeredByUserId.stringSpec({\n meaning: 'The user whose action caused the dispatcher to fire. Empty for passes the platform started on its own.',\n whyItMatters: 'It is attribution only, never authority: the seed itself always runs with internal system permissions regardless of who triggered it.',\n semanticRole: 'identifier',\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Outcome of the pass.',\n whyItMatters: 'It is the signal the dispatcher itself reads to decide whether a scope still needs seeding, and the first thing an operator filters on.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedRunStatus.RUNNING]: { meaning: 'The pass started and has not settled. A pass left in this state by a crash is superseded by the next pass rather than timing out.' },\n [DataSeedRunStatus.COMPLETED]: { meaning: 'Every declared entry succeeded.' },\n [DataSeedRunStatus.PARTIAL]: { meaning: 'At least one entry failed but the pass carried on and reported the rest.' },\n [DataSeedRunStatus.FAILED]: { meaning: 'The pass itself stopped before finishing.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n startedAt: schemaShape.startedAt.dateSpec({\n meaning: 'When the pass began.',\n }),\n\n finishedAt: schemaShape.finishedAt.dateSpec({\n meaning: 'When the pass settled. Empty while it is still running.',\n whyItMatters: 'The gap between this and the start time is the only duration signal for a seeding pass.',\n }),\n\n entriesAttempted: schemaShape.entriesAttempted.numberSpec({\n meaning: 'How many declared entries the pass walked. Counted before each entry is tried, so it matches the declared set whatever the outcome.',\n whyItMatters: 'When it does not match the number of entries in the declaration, the declaration and the deployed code have drifted apart.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n entriesInserted: schemaShape.entriesInserted.numberSpec({\n meaning: 'How many declared entries were written because no matching record existed.',\n }),\n\n entriesUpdated: schemaShape.entriesUpdated.numberSpec({\n meaning: 'How many already-present records had the declared payload re-applied to them.',\n whyItMatters: 'This is the additive-mode counter. A version migration is counted separately, so a non-zero value here means the payload was re-stamped, not migrated.',\n }),\n\n entriesUpgraded: schemaShape.entriesUpgraded.numberSpec({\n meaning: 'How many present records were behind the declared version and were migrated forward.',\n }),\n\n entriesRenamed: schemaShape.entriesRenamed.numberSpec({\n meaning: 'How many records were relocated from a previous identity because the declaration renamed them.',\n }),\n\n entriesSkipped: schemaShape.entriesSkipped.numberSpec({\n meaning: 'How many declared entries the pass deliberately left untouched — already current, or protected from being moved backwards.',\n whyItMatters: 'Skipping is a normal outcome, not a failure; the reason for each skip is reported separately.',\n }),\n\n entriesDeleted: schemaShape.entriesDeleted.numberSpec({\n meaning: 'How many records outside the declared set were removed. Only a full-reconciliation pass configured to delete can produce this.',\n }),\n\n entriesDeprecated: schemaShape.entriesDeprecated.numberSpec({\n meaning: 'How many records outside the declared set were marked deprecated instead of removed.',\n }),\n\n entriesReportedOrphans: schemaShape.entriesReportedOrphans.numberSpec({\n meaning: 'How many records outside the declared set were only reported, leaving the records themselves untouched.',\n }),\n\n entriesFailed: schemaShape.entriesFailed.numberSpec({\n meaning: 'How many entries could not be written. The pass continues and settles as partial.',\n whyItMatters: 'It is the count behind a partial outcome; the per-entry detail lives in the report below.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n failureReport: schemaShape.failureReport.objectSpec({\n meaning: 'Detailed breakdown of everything non-trivial the pass encountered: which entries failed and why, which records fell outside the declared set, and any error that stopped the pass as a whole. Empty when everything succeeded.',\n whyItMatters: 'It is what lets an operator diagnose a partial or failed pass without going to application logs.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n /**\n * `trigger` is documented here rather than in `fields` because it is a\n * DISCRIMINATED UNION, and the spec decorators are declared on `ZodObject`\n * / `ZodUnion` but not on `ZodDiscriminatedUnion` — `schemaShape.trigger.objectSpec(...)`\n * does not type-check. Without an entry of some kind the field would reach the\n * label generator as a bare name and the generator would invent terminology for\n * it (the same failure mode `RETENTION_MARKER_FIELD_SPECS` documents), so the\n * meaning is declared through the escape hatch instead of dropped.\n */\n additionalFieldSpecs: [\n {\n fieldName: 'trigger',\n specDecorator: 'objectSpec',\n params: {\n meaning: 'The full trigger declaration that caused this pass, copied verbatim from the seed definition.',\n whyItMatters: 'Its shape varies by what fired the pass, so it carries the detail — the lifecycle event, the schedule, the access path — that the coarse trigger origin deliberately flattens away.',\n },\n },\n ],\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open the ledger row for a seeding pass that is about to start.',\n outcome: 'The pass becomes visible as running before it touches any data, so a crash mid-pass leaves a trace rather than nothing.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The pass was recorded as running and the record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The pass description fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n idempotent: false,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher open its own ledger row. There is no externally reachable way to create one.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one recorded seeding pass.',\n outcome: 'The caller can inspect exactly what one pass did to one scope.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was found and is returned with its counters and report.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier — never recorded, or already removed by an administrator or by history cleanup.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator. This ledger is never exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher recover a previous attempt before writing the outcome of the current one.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator inspect one pass from the back office.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Settle a running pass with its outcome and counters.',\n outcome: 'The ledger stops saying the pass is in flight and starts being the answer to whether the seed already applied.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pass recorded its outcome, timing, counters and failure report, and the settled record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier to settle.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The outcome fails schema validation, for example an unrecognized status.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A caller outside the dispatcher attempts to rewrite a pass outcome.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher write the terminal outcome of the pass it opened.',\n whenToUse: 'Use when a pass has finished walking its entries, whether it succeeded, partially succeeded, or stopped.',\n },\n },\n },\n\n [Op.DELETE]: {\n purpose: 'Remove a recorded pass so the next dispatcher run treats that scope as never seeded.',\n outcome: 'The seed is re-applied to that scope on the next run, without editing or re-deploying the seed declaration.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was removed and the scope is eligible for seeding again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Give a platform administrator the supported re-run gesture.',\n whenToUse: 'Use when a seed must be applied again to one scope and raising the declared version would wrongly re-run it everywhere. The dispatcher never deletes its own history.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate recorded seeding passes.',\n outcome: 'The caller sees seeding history as a set rather than one pass at a time.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, narrowed by the requested seed, scope, status, or trigger filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to enumerate seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher enumerate prior passes while deciding whether a scope still needs seeding.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator browse seeding history from the back office.',\n },\n },\n },\n\n [Op.COUNT]: {\n purpose: 'Count recorded passes matching a set of conditions.',\n outcome: 'The dispatcher can answer \"has any completed pass already covered this scope?\" without loading the rows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The number of recorded passes matching the conditions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Back the dispatcher\\'s already-seeded check, which needs only a yes or no and never the rows themselves.',\n },\n },\n },\n\n [Op.SEARCH]: {\n purpose: 'Search seeding history by seed name or anchor row.',\n outcome: 'An administrator can narrow history to the passes relevant to one seed or one affected row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, matching the search term and any filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to query seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator find passes by seed name or by the row a pass was anchored to.',\n whenToUse: 'Use when troubleshooting starts from \"which seed touched this row\" rather than from a known pass identifier.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This ledger records what a seeding pass did. It is never the source of truth for the data the seed produced — that lives on the seeded rows themselves.',\n 'A pass is identified by its seed, its scope, and its declared version together. That identity is what makes seeding safe to repeat, so it must not be widened or narrowed casually.',\n 'Who triggered a pass is recorded for attribution only. Seeding always runs with internal system permissions, so the recorded user never confers authority.',\n 'Removing a recorded pass is a deliberate administrative re-run gesture. The dispatcher itself never deletes its own history, because the history is what makes the next decision correct.',\n ],\n }),\n // DATA_SEED_RUN is a STANDALONE infrastructure ledger reached only through\n // internal repository services and a platform-administrator back-office path.\n // The `APPLICATION → DATA_SEED_RUN` relationship is routing-side only (the row\n // carries no application identifier of its own), which is why the scope is\n // declared here rather than derived from a scope-owning parent.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-states.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-states.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+CAA+C,EAAE,8BA4J7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-states.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,+BAA+B,EAC/B,mCAAmC,EACnC,oEAAoE,IAAI,uBAAuB,GAChG,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAmC,qBAAqB,CAClH,uBAAuB,EACvB,+BAA+B,EAC/B,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,2HAA2H;IACpI,YAAY,EAAE,oMAAoM;IAClN,aAAa,EAAE,oKAAoK;IACnL,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EAAE,uBAAuB,CAAC,cAAc;IACjD,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,WAAW,EAAE,4BAA4B;YACzC,UAAU,EAAE,iCAAiC;YAC7C,UAAU,EAAE,cAAc,CAAC,MAAM;YACjC,eAAe,EAAE,mBAAmB,CAAC,UAAU;SAChD;QACD,eAAe,EAAE;YACf,WAAW,EAAE,4BAA4B;YACzC,UAAU,EAAE,sEAAsE;YAClF,UAAU,EAAE,cAAc,CAAC,OAAO;YAClC,eAAe,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AAE,4CAA4C,EAAE;gBAClG,EAAE,IAAI,EAAE,sBAAsB,CAAC,eAAe,EAAE,IAAI,EAAE,oCAAoC,EAAE,SAAS,EAAE,mBAAmB,EAAE;aAC7H;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,mCAAmC,CAAC,QAAQ,CAAC,EAAE;oBAC9C,OAAO,EAAE,4DAA4D;iBACtE;aACF;SACF;QAED,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,8CAA8C;YACvD,OAAO,EAAE,wFAAwF;YACjG,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,gDAAgD,EAAE;aACnG;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,uGAAuG,EAAE;aAC9J;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,mCAAmC,CAAC,QAAQ,CAAC,EAAE;oBAC9C,OAAO,EAAE,+EAA+E;iBACzF;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,8IAA8I;QAC9I,sKAAsK;QACtK,+IAA+I;KAChJ;CACF,CAAC;AACF,+FAA+F;AAC/F,0FAA0F;AAC1F,gEAAgE;AAChE,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataPipelineStateSchema,\n ExternalDataPipelineStateVariantKey,\n externalDataPipelineStateResourceConfiguration_InitializationFactory as etlPipelineStateFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `etlPipelineStates` resource — one bookkeeping\n * row per declared ETL pipeline (a local resource's `externalDataPipeline`), holding the persisted\n * extraction cursor and the last run's summary.\n *\n * Like `dataSeedRuns`, this is infrastructure truth rather than an end-user surface: its\n * semantic layer is operational (where is the in-flight pass, what did the last run do), and its\n * only writer is the ETL run service. There is no human-facing surface yet — the operator read\n * surface is the recorded PR-28 follow-up.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` (a\n * `BackendResourceType` sourced from `@wildo-ai/saas-backend-lib`, outside the CORE-registry\n * alignment guard's population; the explicit `AnyResourceSpecificationConfig` annotation avoids\n * the non-portable-path TS2742) — see that spec's header for the full reasoning rather than a\n * re-derivation here.\n */\nexport const externalDataPipelineStatesResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n etlPipelineStateFactory,\n ExternalDataPipelineStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Track one declared ETL pipeline between runs: where the current extraction pass stands, and what the most recent run did.',\n businessRole: 'Operational control-plane row that lets a pipeline whose remote population exceeds one run\\'s budget continue across runs and process restarts instead of re-reading the same first pages forever.',\n lifecycleRole: 'Created on the pipeline\\'s first run and updated at the end of every run; the cursor fills while a pass is in flight across runs and clears when a pass completes.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'ExternalDataPipelineStateSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'externalDataPipelineStateResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'EXTERNAL_DATA_PIPELINE_STATE',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of this pipeline\\'s bookkeeping record.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({\n meaning: 'The destination resource whose declared pipeline this record tracks. One pipeline, one record.',\n whyItMatters: 'It is the row\\'s identity: every run of the same pipeline reads and updates this same row.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n cursor: schemaShape.cursor.stringSpec({\n meaning: 'Opaque continuation of an extraction pass that is still in flight. Empty when no pass is underway.',\n whyItMatters: 'It is what lets a pass larger than one run\\'s row budget continue across runs and restarts — and its presence is exactly the condition under which a run must not treat missing remote rows as deleted.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n passStartedAt: schemaShape.passStartedAt.dateSpec({\n meaning: 'When the in-flight extraction pass began. Empty when no pass is underway.',\n }),\n\n lastRunAt: schemaShape.lastRunAt.dateSpec({\n meaning: 'When the most recent run started, whatever its outcome. Empty until the pipeline first runs.',\n }),\n\n lastRunSummary: schemaShape.lastRunSummary.objectSpec({\n meaning: 'What the most recent run did on the extraction side: whether it completed a full pass, how many remote records it read, how many records the transform rejected, how long it took, and which seeding-pass ledger record carries the per-entry load outcome.',\n whyItMatters: 'The per-entry load detail deliberately lives on the seeding ledger; this summary carries the numbers only the extraction and transform stages can know.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open the bookkeeping row the first time a pipeline runs.',\n outcome: 'The pipeline has a durable place to persist its cursor and run summaries.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The record was created and is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The row fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n idempotent: false,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let the ETL run service open its own bookkeeping row. There is no externally reachable way to create one.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one pipeline\\'s bookkeeping row.',\n outcome: 'The run service learns whether a pass is in flight and where to resume it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The record was found and is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No row exists for the pipeline — it has never run.' },\n ],\n idempotent: true,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let the run service recover the cursor at the start of every run.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Persist the run\\'s outcome: the advanced or cleared cursor and the fresh summary.',\n outcome: 'The next run continues exactly where this one stopped, or starts a fresh pass.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The record was updated and is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No row exists for the supplied identifier.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patch fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n idempotent: true,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let the run service settle each run\\'s cursor and summary.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate every pipeline\\'s bookkeeping row.',\n outcome: 'The scheduled batch and future operator surfaces see all pipelines\\' standing at once.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of bookkeeping records, possibly empty.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator. This row set is never exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let engine machinery enumerate pipeline standing without an external surface.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This row is bookkeeping about a pipeline, never the pipeline\\'s data: deleting it costs a restarted extraction pass, not any synced content.',\n 'A non-empty cursor means an extraction pass is still in flight, and a run resuming from it must not treat rows absent from a partial extraction as deleted remotely.',\n 'The per-entry load outcome lives on the seeding-pass ledger this summary points at; the two records deliberately do not duplicate each other.',\n ],\n }),\n // Same posture as DATA_SEED_RUN: a STANDALONE infrastructure row reached only through internal\n // repository services; the APPLICATION relationship is routing-side only, so the scope is\n // declared here rather than derived from a scope-owning parent.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-states.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,+BAA+B,EAC/B,mCAAmC,EACnC,oEAAoE,IAAI,uBAAuB,GAChG,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAm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;KACF;IAED,mBAAmB,EAAE;QACnB,8IAA8I;QAC9I,sKAAsK;QACtK,+IAA+I;KAChJ;CACF,CAAC;AACF,+FAA+F;AAC/F,0FAA0F;AAC1F,gEAAgE;AAChE,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataPipelineStateSchema,\n ExternalDataPipelineStateVariantKey,\n externalDataPipelineStateResourceConfiguration_InitializationFactory as etlPipelineStateFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `etlPipelineStates` resource — one bookkeeping\n * row per declared ETL pipeline (a local resource's `externalDataPipeline`), holding the persisted\n * extraction cursor and the last run's summary.\n *\n * Like `dataSeedRuns`, this is infrastructure truth rather than an end-user surface: its\n * semantic layer is operational (where is the in-flight pass, what did the last run do), and its\n * only writer is the ETL run service. There is no human-facing surface yet — the operator read\n * surface is the recorded PR-28 follow-up.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` (a\n * `BackendResourceType` sourced from `@wildo-ai/saas-backend-lib`, outside the CORE-registry\n * alignment guard's population; the explicit `AnyResourceSpecificationConfig` annotation avoids\n * the non-portable-path TS2742) — see that spec's header for the full reasoning rather than a\n * re-derivation here.\n */\nexport const externalDataPipelineStatesResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n etlPipelineStateFactory,\n ExternalDataPipelineStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Track one declared ETL pipeline between runs: where the current extraction pass stands, and what the most recent run did.',\n businessRole: 'Operational control-plane row that lets a pipeline whose remote population exceeds one run\\'s budget continue across runs and process restarts instead of re-reading the same first pages forever.',\n lifecycleRole: 'Created on the pipeline\\'s first run and updated at the end of every run; the cursor fills while a pass is in flight across runs and clears when a pass completes.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'ExternalDataPipelineStateSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'externalDataPipelineStateResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'EXTERNAL_DATA_PIPELINE_STATE',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of this pipeline\\'s bookkeeping record.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({\n meaning: 'The destination resource whose declared pipeline this record tracks. One pipeline, one record.',\n whyItMatters: 'It is the row\\'s identity: every run of the same pipeline reads and updates this same row.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n cursor: schemaShape.cursor.stringSpec({\n meaning: 'Opaque continuation of an extraction pass that is still in flight. Empty when no pass is underway.',\n whyItMatters: 'It is what lets a pass larger than one run\\'s row budget continue across runs and restarts — and its presence is exactly the condition under which a run must not treat missing remote rows as deleted.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n passStartedAt: schemaShape.passStartedAt.dateSpec({\n meaning: 'When the in-flight extraction pass began. Empty when no pass is underway.',\n }),\n\n lastRunAt: schemaShape.lastRunAt.dateSpec({\n meaning: 'When the most recent run started, whatever its outcome. Empty until the pipeline first runs.',\n }),\n\n lastRunSummary: schemaShape.lastRunSummary.objectSpec({\n meaning: 'What the most recent run did on the extraction side: whether it completed a full pass, how many remote records it read, how many records the transform rejected, how long it took, and which seeding-pass ledger record carries the per-entry load outcome.',\n whyItMatters: 'The per-entry load detail deliberately lives on the seeding ledger; this summary carries the numbers only the extraction and transform stages can know.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open the bookkeeping row the first time a pipeline runs.',\n outcome: 'The pipeline has a durable place to persist its cursor and run summaries.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The record was created and is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The row fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n idempotent: false,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let the ETL run service open its own bookkeeping row. There is no externally reachable way to create one.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one pipeline\\'s bookkeeping row.',\n outcome: 'The run service learns whether a pass is in flight and where to resume it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The record was found and is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No row exists for the pipeline — it has never run.' },\n ],\n idempotent: true,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let the run service recover the cursor at the start of every run.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Persist the run\\'s outcome: the advanced or cleared cursor and the fresh summary.',\n outcome: 'The next run continues exactly where this one stopped, or starts a fresh pass.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The record was updated and is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No row exists for the supplied identifier.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The patch fails schema validation.', errorCode: 'VALIDATION_FAILED' },\n ],\n idempotent: true,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let the run service settle each run\\'s cursor and summary.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate every pipeline\\'s bookkeeping row.',\n outcome: 'The scheduled batch and future operator surfaces see all pipelines\\' standing at once.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of bookkeeping records, possibly empty.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator. This row set is never exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [ExternalDataPipelineStateVariantKey.INTERNAL]: {\n purpose: 'Let engine machinery enumerate pipeline standing without an external surface.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This row is bookkeeping about a pipeline, never the pipeline\\'s data: deleting it costs a restarted extraction pass, not any synced content.',\n 'A non-empty cursor means an extraction pass is still in flight, and a run resuming from it must not treat rows absent from a partial extraction as deleted remotely.',\n 'The per-entry load outcome lives on the seeding-pass ledger this summary points at; the two records deliberately do not duplicate each other.',\n ],\n }),\n // Same posture as DATA_SEED_RUN: a STANDALONE infrastructure row reached only through internal\n // repository services; the APPLICATION relationship is routing-side only, so the scope is\n // declared here rather than derived from a scope-owning parent.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC"}
|
package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-executions.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"job-executions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/job-executions.resource.specification.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAS5B,MAAM,uBAAuB,CAAC;AAI/B;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAiR9C,CAAC"}
|
package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-executions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/job-executions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,YAAY,EACZ,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,wDAAwD,IAAI,mBAAmB,GAChF,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE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oBACjC,OAAO,EAAE,kGAAkG;oBAC3G,SAAS,EAAE,yHAAyH;iBACrI;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,2HAA2H;QAC3H,qLAAqL;QACrL,mIAAmI;KACpI;CACF,CAAC;AACF,wEAAwE;AACxE,yEAAyE;AACzE,uEAAuE;AACvE,yEAAyE;AACzE,yEAAyE;AACzE,sEAAsE;AACtE,iEAAiE;AACjE,yEAAyE;AACzE,0EAA0E;AAC1E,8DAA8D;AAC9D,wEAAwE;AACxE,yEAAyE;AACzE,2EAA2E;AAC3E,mEAAmE;AACnE,uEAAuE;AACvE,8DAA8D;AAC9D,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n JobExecutionSchema,\n JobExecutionStatus,\n JobExecutionVariantKey,\n JobInitiator,\n JobPriority,\n JobType,\n ResourcePrimaryScope,\n jobExecution_ResourceConfiguration_InitializationFactory as jobExecutionFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned base specification for the internal `jobExecutions` resource.\n *\n * This resource is intentionally authored from the shared resource factory only:\n * it is a platform/infrastructure truth source, and its first useful semantic\n * layer is the base operational model rather than end-user UI narration.\n */\nexport const jobExecutionsResourceSpecification = resourceSpecification(\n jobExecutionFactory,\n JobExecutionSchema,\n ({ schemaShape }) => ({\n purpose: 'Track the lifecycle of background jobs executed by the platform queue system.',\n businessRole: 'Operational control-plane record used to observe, troubleshoot, and audit asynchronous work.',\n lifecycleRole: 'Moves through queue intake, execution, retry, completion, failure, or cancellation states under infrastructure control.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobExecutionSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'jobExecution_ResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'JOB_EXECUTIONS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n jobId: schemaShape.jobId.stringSpec({\n meaning: 'Stable operational identifier for one job execution.',\n whyItMatters: 'It is the main anchor used by operators and infrastructure services to correlate one execution across logs, retries, and storage.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n jobType: schemaShape.jobType.enumSpec({\n meaning: 'Classifies which family of background capability this execution belongs to.',\n whyItMatters: 'It distinguishes what kind of business or platform work is being performed so operators can reason about volume, ownership, and failure posture.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobType.RESOURCE_OPERATION]: { meaning: 'Asynchronous execution of a resource operation or workflow step.' },\n [JobType.CUSTOM_BATCH]: { meaning: 'Batch-style work defined outside the default CRUD operation families.' },\n [JobType.SCHEDULED_CRON]: { meaning: 'Platform-scheduled recurring work triggered by a cron definition.' },\n [JobType.MINION_TICK]: { meaning: 'Cron-driven minion tick published to the application scheduled queue when a minion’s cron schedule fires; consumed by the minion runtime that owns the matching `minionName`.' },\n },\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Current execution state of the queued job.',\n whyItMatters: 'It is the primary operational signal for knowing whether work is still pending, progressing, completed, or needs intervention.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobExecutionStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobExecutionStatus.PENDING]: { meaning: 'Accepted but not yet queued for processing.' },\n [JobExecutionStatus.QUEUED]: { meaning: 'Waiting in the queue for worker pickup.' },\n [JobExecutionStatus.PROCESSING]: { meaning: 'Actively executing on a worker.' },\n [JobExecutionStatus.COMPLETED]: { meaning: 'Finished successfully.' },\n [JobExecutionStatus.FAILED]: { meaning: 'Execution finished unsuccessfully and currently stands in a failed state.' },\n [JobExecutionStatus.RETRYING]: { meaning: 'A previous attempt failed and the platform is scheduling or running another attempt.' },\n [JobExecutionStatus.DEAD_LETTER]: { meaning: 'The job exhausted its recovery path and has been isolated for operator attention.' },\n [JobExecutionStatus.CANCELLED]: { meaning: 'Execution was intentionally stopped before successful completion.' },\n },\n }),\n\n initiatedBy: schemaShape.initiatedBy.enumSpec({\n meaning: 'Who or what caused this job execution to exist.',\n whyItMatters: 'It helps operators separate human-triggered work from system-initiated automation when investigating behavior.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobInitiator',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobInitiator.API]: { meaning: 'Created from an API-triggered action.' },\n [JobInitiator.CRONTAB]: { meaning: 'Created by scheduled recurring automation.' },\n [JobInitiator.INTERNAL]: { meaning: 'Created internally by platform/service orchestration.' },\n },\n }),\n\n priority: schemaShape.priority.enumSpec({\n meaning: 'Operational urgency level for queue scheduling.',\n whyItMatters: 'It influences how infrastructure should treat this work relative to other queued executions.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobPriority',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobPriority.LOW]: { meaning: 'Background work that can wait.' },\n [JobPriority.NORMAL]: { meaning: 'Standard priority for ordinary asynchronous tasks.' },\n [JobPriority.HIGH]: { meaning: 'Important work that should be processed sooner than normal tasks.' },\n [JobPriority.CRITICAL]: { meaning: 'Top-priority work whose delay could materially harm platform behavior.' },\n },\n }),\n\n operationPathKey: schemaShape.operationPathKey.stringSpec({\n meaning: 'Links the execution to the underlying resource operation path that spawned it.',\n whyItMatters: 'It ties low-level job processing back to the higher-level product or platform action that caused the asynchronous work.',\n semanticRole: 'code',\n }),\n\n batchRef: schemaShape.batchRef.stringSpec({\n meaning: 'Shared reference for executions that belong to the same batch or orchestration wave.',\n whyItMatters: 'It lets operators correlate multiple job rows that were intentionally created as one coordinated run.',\n semanticRole: 'identifier',\n }),\n\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The `organizations` record that owns the tenant context this execution ran under, captured from the initiating execution context.',\n whyItMatters: 'It lets operators filter and isolate the execution ledger per tenant when triaging or reporting on background work.',\n }),\n\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The `users` record that initiated the work, when a human principal (rather than a system process) caused the execution.',\n whyItMatters: 'It attributes background work to the initiating user for accountability and per-actor investigation; absent for system-initiated jobs.',\n }),\n\n inputPayloadStorageId: schemaShape.inputPayloadStorageId.foreignKeySpec({\n meaning: 'The `jobPayloadStorage` record holding the serialized INPUT arguments when the payload was spilled out of the queue envelope for size.',\n whyItMatters: 'It lets the worker rehydrate the exact input arguments this execution ran with, for processing, replay, and troubleshooting.',\n }),\n\n outputPayloadStorageId: schemaShape.outputPayloadStorageId.foreignKeySpec({\n meaning: 'The `jobPayloadStorage` record holding the serialized OUTPUT/result of the execution when the result was spilled to storage rather than kept inline.',\n whyItMatters: 'It lets downstream consumers and operators retrieve the produced result of a completed execution without overloading the queue envelope.',\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Create a new job execution record.',\n outcome: 'The platform begins tracking one asynchronous work item as a first-class execution row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A job execution ledger record was registered and returned with its server-assigned `jobId`. This is an internal/service write path (the `INTERNAL` variant is `REPOSITORY_ONLY`), not a self-serve API create.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The execution payload fails schema validation (e.g. an unknown `jobType`, missing `status`, or malformed correlation fields).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-infrastructure caller attempts to register a job — execution rows are created only by the queue/runtime layer through the internal repository service.' },\n ],\n idempotent: false,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal infrastructure services to register a job before queue processing begins.',\n whenToUse: 'Use when the queue/runtime layer needs to persist a new execution as part of internal orchestration.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one job execution record.',\n outcome: 'The caller can inspect the current tracked state of a specific asynchronous execution.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The job execution record for the supplied `jobId` was found and its tracked lifecycle state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No job execution row exists for the supplied `jobId` (never created, or already purged by retention).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an operator/infrastructure principal — this ledger is internal-only and not exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal infrastructure services to resolve one execution during queue handling or observability flows.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Advance or correct the tracked state of a job execution.',\n outcome: 'The platform’s operational truth about the execution stays synchronized with the actual runtime lifecycle.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The execution record recorded the new lifecycle state (status, timing, retry count, payload ref, or error) and the updated record is returned. Internal/service write path — the worker/runtime layer owns these transitions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No job execution row exists for the supplied `jobId` to advance.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The lifecycle patch fails schema validation (e.g. an unrecognized `status` value).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-infrastructure caller attempts to mutate execution state.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested transition is illegal for the row’s current state (e.g. moving a `COMPLETED`/`CANCELLED` terminal row back to `PROCESSING`).' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow infrastructure services to record status changes, timing, retries, payload references, and errors.',\n whenToUse: 'Use whenever the worker/runtime layer needs to persist a lifecycle transition for a running or finished job.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate job execution records.',\n outcome: 'The caller can inspect a set of executions instead of one isolated row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of job execution records in the requested scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an operator/infrastructure principal authorized to enumerate the execution ledger.' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal operational tooling or services to inspect batches of executions.',\n },\n },\n },\n\n [Op.SEARCH]: {\n purpose: 'Filter and search job execution history.',\n outcome: 'Operators or infrastructure flows can narrow execution history to the subset relevant for troubleshooting or reporting.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of executions matching the status / type / initiator / correlation filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the operator/infrastructure role required to query the execution ledger.' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal operational search across status, type, initiator, queue, and correlation fields.',\n whenToUse: 'Use when observability, support, or queue-control workflows need targeted execution lookup rather than raw enumeration.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This resource is an infrastructure execution ledger, not the source of truth for the business entity that caused the job.',\n 'Job execution rows should remain focused on runtime lifecycle, correlation, and troubleshooting semantics rather than becoming a generic dumping ground for arbitrary payload data.',\n 'The dominant consumer posture is operational and internal, even if later tooling surfaces selected projections to administrators.',\n ],\n }),\n // Phase 4.5 Step 2 (F-1): explicit scope declaration. JOB_EXECUTIONS is\n // a STANDALONE infrastructure ledger (the `APPLICATION → JOB_EXECUTIONS`\n // relationship in `resources-registry.shared.core.definitions.ts` uses\n // `accessScopeStrategy: STANDALONE`, intentionally bypassing scope-based\n // access control because access is internal-only via repository services\n // with INTERNAL variants). There is no m2m channel × scope surface to\n // protect because the resource carries no m2m blocks (verified —\n // operational/internal spec), so the declaration's only live consumer is\n // the spec ↔ registry alignment guard. The registry factory has NO silent\n // scope fallback (it throws without a derivation signal — see\n // `primary-scope-no-fallback.test.ts`); it derives APPLICATION from the\n // `isPrimaryScope: true` flag on the `APPLICATION → JOB_EXECUTIONS` rel.\n // An earlier revision declared ORGANIZATIONS on the (incorrect) assumption\n // of an ORGANIZATIONS fallback for STANDALONE resources; corrected\n // 2026-07-02 when the companion alignment guard started pairing engine\n // specs with materialized core configs and flagged the drift.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"job-executions.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/job-executions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qC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5F;aACF;SACF;QAED,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,0CAA0C;YACnD,OAAO,EAAE,yHAAyH;YAClI,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,qGAAqG,EAAE;aACxJ;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,2FAA2F,EAAE;aAClJ;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,sBAAsB,CAAC,QAAQ,CAAC,EAAE;oBACjC,OAAO,EAAE,kGAAkG;oBAC3G,SAAS,EAAE,yHAAyH;iBACrI;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,2HAA2H;QAC3H,qLAAqL;QACrL,mIAAmI;KACpI;CACF,CAAC;AACF,wEAAwE;AACxE,yEAAyE;AACzE,uEAAuE;AACvE,yEAAyE;AACzE,yEAAyE;AACzE,sEAAsE;AACtE,iEAAiE;AACjE,yEAAyE;AACzE,0EAA0E;AAC1E,8DAA8D;AAC9D,wEAAwE;AACxE,yEAAyE;AACzE,2EAA2E;AAC3E,mEAAmE;AACnE,uEAAuE;AACvE,8DAA8D;AAC9D,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n JobExecutionSchema,\n JobExecutionStatus,\n JobExecutionVariantKey,\n JobInitiator,\n JobPriority,\n JobType,\n ResourcePrimaryScope,\n jobExecution_ResourceConfiguration_InitializationFactory as jobExecutionFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned base specification for the internal `jobExecutions` resource.\n *\n * This resource is intentionally authored from the shared resource factory only:\n * it is a platform/infrastructure truth source, and its first useful semantic\n * layer is the base operational model rather than end-user UI narration.\n */\nexport const jobExecutionsResourceSpecification = resourceSpecification(\n jobExecutionFactory,\n JobExecutionSchema,\n ({ schemaShape }) => ({\n purpose: 'Track the lifecycle of background jobs executed by the platform queue system.',\n businessRole: 'Operational control-plane record used to observe, troubleshoot, and audit asynchronous work.',\n lifecycleRole: 'Moves through queue intake, execution, retry, completion, failure, or cancellation states under infrastructure control.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobExecutionSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'jobExecution_ResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'JOB_EXECUTIONS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n jobId: schemaShape.jobId.stringSpec({\n meaning: 'Stable operational identifier for one job execution.',\n whyItMatters: 'It is the main anchor used by operators and infrastructure services to correlate one execution across logs, retries, and storage.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n jobType: schemaShape.jobType.enumSpec({\n meaning: 'Classifies which family of background capability this execution belongs to.',\n whyItMatters: 'It distinguishes what kind of business or platform work is being performed so operators can reason about volume, ownership, and failure posture.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobType.RESOURCE_OPERATION]: { meaning: 'Asynchronous execution of a resource operation or workflow step.' },\n [JobType.CUSTOM_BATCH]: { meaning: 'Batch-style work defined outside the default CRUD operation families.' },\n [JobType.SCHEDULED_CRON]: { meaning: 'Platform-scheduled recurring work triggered by a cron definition.' },\n [JobType.MINION_TICK]: { meaning: 'Cron-driven minion tick published to the application scheduled queue when a minion’s cron schedule fires; consumed by the minion runtime that owns the matching `minionName`.' },\n },\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Current execution state of the queued job.',\n whyItMatters: 'It is the primary operational signal for knowing whether work is still pending, progressing, completed, or needs intervention.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobExecutionStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobExecutionStatus.PENDING]: { meaning: 'Accepted but not yet queued for processing.' },\n [JobExecutionStatus.QUEUED]: { meaning: 'Waiting in the queue for worker pickup.' },\n [JobExecutionStatus.PROCESSING]: { meaning: 'Actively executing on a worker.' },\n [JobExecutionStatus.COMPLETED]: { meaning: 'Finished successfully.' },\n [JobExecutionStatus.FAILED]: { meaning: 'Execution finished unsuccessfully and currently stands in a failed state.' },\n [JobExecutionStatus.RETRYING]: { meaning: 'A previous attempt failed and the platform is scheduling or running another attempt.' },\n [JobExecutionStatus.DEAD_LETTER]: { meaning: 'The job exhausted its recovery path and has been isolated for operator attention.' },\n [JobExecutionStatus.CANCELLED]: { meaning: 'Execution was intentionally stopped before successful completion.' },\n },\n }),\n\n initiatedBy: schemaShape.initiatedBy.enumSpec({\n meaning: 'Who or what caused this job execution to exist.',\n whyItMatters: 'It helps operators separate human-triggered work from system-initiated automation when investigating behavior.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobInitiator',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobInitiator.API]: { meaning: 'Created from an API-triggered action.' },\n [JobInitiator.CRONTAB]: { meaning: 'Created by scheduled recurring automation.' },\n [JobInitiator.INTERNAL]: { meaning: 'Created internally by platform/service orchestration.' },\n },\n }),\n\n priority: schemaShape.priority.enumSpec({\n meaning: 'Operational urgency level for queue scheduling.',\n whyItMatters: 'It influences how infrastructure should treat this work relative to other queued executions.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobPriority',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [JobPriority.LOW]: { meaning: 'Background work that can wait.' },\n [JobPriority.NORMAL]: { meaning: 'Standard priority for ordinary asynchronous tasks.' },\n [JobPriority.HIGH]: { meaning: 'Important work that should be processed sooner than normal tasks.' },\n [JobPriority.CRITICAL]: { meaning: 'Top-priority work whose delay could materially harm platform behavior.' },\n },\n }),\n\n operationPathKey: schemaShape.operationPathKey.stringSpec({\n meaning: 'Links the execution to the underlying resource operation path that spawned it.',\n whyItMatters: 'It ties low-level job processing back to the higher-level product or platform action that caused the asynchronous work.',\n semanticRole: 'code',\n }),\n\n batchRef: schemaShape.batchRef.stringSpec({\n meaning: 'Shared reference for executions that belong to the same batch or orchestration wave.',\n whyItMatters: 'It lets operators correlate multiple job rows that were intentionally created as one coordinated run.',\n semanticRole: 'identifier',\n }),\n\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The `organizations` record that owns the tenant context this execution ran under, captured from the initiating execution context.',\n whyItMatters: 'It lets operators filter and isolate the execution ledger per tenant when triaging or reporting on background work.',\n }),\n\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The `users` record that initiated the work, when a human principal (rather than a system process) caused the execution.',\n whyItMatters: 'It attributes background work to the initiating user for accountability and per-actor investigation; absent for system-initiated jobs.',\n }),\n\n inputPayloadStorageId: schemaShape.inputPayloadStorageId.foreignKeySpec({\n meaning: 'The `jobPayloadStorage` record holding the serialized INPUT arguments when the payload was spilled out of the queue envelope for size.',\n whyItMatters: 'It lets the worker rehydrate the exact input arguments this execution ran with, for processing, replay, and troubleshooting.',\n }),\n\n outputPayloadStorageId: schemaShape.outputPayloadStorageId.foreignKeySpec({\n meaning: 'The `jobPayloadStorage` record holding the serialized OUTPUT/result of the execution when the result was spilled to storage rather than kept inline.',\n whyItMatters: 'It lets downstream consumers and operators retrieve the produced result of a completed execution without overloading the queue envelope.',\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Create a new job execution record.',\n outcome: 'The platform begins tracking one asynchronous work item as a first-class execution row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A job execution ledger record was registered and returned with its server-assigned `jobId`. This is an internal/service write path (the `INTERNAL` variant is `REPOSITORY_ONLY`), not a self-serve API create.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The execution payload fails schema validation (e.g. an unknown `jobType`, missing `status`, or malformed correlation fields).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-infrastructure caller attempts to register a job — execution rows are created only by the queue/runtime layer through the internal repository service.' },\n ],\n idempotent: false,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal infrastructure services to register a job before queue processing begins.',\n whenToUse: 'Use when the queue/runtime layer needs to persist a new execution as part of internal orchestration.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one job execution record.',\n outcome: 'The caller can inspect the current tracked state of a specific asynchronous execution.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The job execution record for the supplied `jobId` was found and its tracked lifecycle state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No job execution row exists for the supplied `jobId` (never created, or already purged by retention).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an operator/infrastructure principal — this ledger is internal-only and not exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal infrastructure services to resolve one execution during queue handling or observability flows.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Advance or correct the tracked state of a job execution.',\n outcome: 'The platform’s operational truth about the execution stays synchronized with the actual runtime lifecycle.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The execution record recorded the new lifecycle state (status, timing, retry count, payload ref, or error) and the updated record is returned. Internal/service write path — the worker/runtime layer owns these transitions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No job execution row exists for the supplied `jobId` to advance.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The lifecycle patch fails schema validation (e.g. an unrecognized `status` value).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-infrastructure caller attempts to mutate execution state.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested transition is illegal for the row’s current state (e.g. moving a `COMPLETED`/`CANCELLED` terminal row back to `PROCESSING`).' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow infrastructure services to record status changes, timing, retries, payload references, and errors.',\n whenToUse: 'Use whenever the worker/runtime layer needs to persist a lifecycle transition for a running or finished job.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate job execution records.',\n outcome: 'The caller can inspect a set of executions instead of one isolated row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of job execution records in the requested scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an operator/infrastructure principal authorized to enumerate the execution ledger.' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal operational tooling or services to inspect batches of executions.',\n },\n },\n },\n\n [Op.SEARCH]: {\n purpose: 'Filter and search job execution history.',\n outcome: 'Operators or infrastructure flows can narrow execution history to the subset relevant for troubleshooting or reporting.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of executions matching the status / type / initiator / correlation filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the operator/infrastructure role required to query the execution ledger.' },\n ],\n idempotent: true,\n variants: {\n [JobExecutionVariantKey.INTERNAL]: {\n purpose: 'Allow internal operational search across status, type, initiator, queue, and correlation fields.',\n whenToUse: 'Use when observability, support, or queue-control workflows need targeted execution lookup rather than raw enumeration.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This resource is an infrastructure execution ledger, not the source of truth for the business entity that caused the job.',\n 'Job execution rows should remain focused on runtime lifecycle, correlation, and troubleshooting semantics rather than becoming a generic dumping ground for arbitrary payload data.',\n 'The dominant consumer posture is operational and internal, even if later tooling surfaces selected projections to administrators.',\n ],\n }),\n // Phase 4.5 Step 2 (F-1): explicit scope declaration. JOB_EXECUTIONS is\n // a STANDALONE infrastructure ledger (the `APPLICATION → JOB_EXECUTIONS`\n // relationship in `resources-registry.shared.core.definitions.ts` uses\n // `accessScopeStrategy: STANDALONE`, intentionally bypassing scope-based\n // access control because access is internal-only via repository services\n // with INTERNAL variants). There is no m2m channel × scope surface to\n // protect because the resource carries no m2m blocks (verified —\n // operational/internal spec), so the declaration's only live consumer is\n // the spec ↔ registry alignment guard. The registry factory has NO silent\n // scope fallback (it throws without a derivation signal — see\n // `primary-scope-no-fallback.test.ts`); it derives APPLICATION from the\n // `isPrimaryScope: true` flag on the `APPLICATION → JOB_EXECUTIONS` rel.\n // An earlier revision declared ORGANIZATIONS on the (incorrect) assumption\n // of an ORGANIZATIONS fallback for STANDALONE resources; corrected\n // 2026-07-02 when the companion alignment guard started pairing engine\n // specs with materialized core configs and flagged the drift.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-payload-storage.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"job-payload-storage.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/job-payload-storage.resource.specification.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAM5B,MAAM,uBAAuB,CAAC;AAI/B;;;;;;;;GAQG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;iCAuKlD,CAAC"}
|
package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-payload-storage.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/job-payload-storage.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,sBAAsB,EACtB,oBAAoB,EACpB,6DAA6D,IAAI,wBAAwB,GAC1F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EA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YACzE,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,6IAA6I,EAAE;aACxM;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,8DAA8D,EAAE;gBACpH,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,yHAAyH,EAAE;aAChL;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,2BAA2B,CAAC,QAAQ,CAAC,EAAE;oBACtC,OAAO,EAAE,+EAA+E;oBACxF,SAAS,EAAE,4DAA4D;iBACxE;aACF;SACF;QACD,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,oHAAoH;YAC7H,OAAO,EAAE,gEAAgE;YACzE,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,4GAA4G,EAAE;aAC/J;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,sFAAsF,EAAE;aAC7I;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,2BAA2B,CAAC,QAAQ,CAAC,EAAE;oBACtC,OAAO,EAAE,yEAAyE;oBAClF,SAAS,EAAE,qFAAqF;iBACjG;aACF;SACF;KACF;IACD,mBAAmB,EAAE;QACnB,8NAA8N;QAC9N,4MAA4M;KAC7M;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n JobPayloadStorageSchema,\n JobPayloadStorageVariantKey,\n PayloadCompressionType,\n ResourcePrimaryScope,\n jobPayloadStorage_ResourceConfiguration_InitializationFactory as jobPayloadStorageFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Internal `jobPayloadStorage` resource — **no UI preset at all**, and no route that could reach\n * one: every operation is `REPOSITORY_ONLY`. The spec is base `resourceSpecification` only.\n *\n * A preset did exist (a per-status colour map and per-field display modes, shared with\n * `jobExecutions`) and was deleted on 2026-09-08 — it rendered nowhere and made the absence of a\n * job browser look like an oversight. See the note on `RESOURCES_FRONTEND_PLATFORM` in\n * `@wildo-ai/presets-components` for where an operator looks instead.\n */\nexport const jobPayloadStorageResourceSpecification = resourceSpecification(\n jobPayloadStorageFactory,\n JobPayloadStorageSchema,\n ({ schemaShape }) => ({\n purpose: 'Persists large job payloads that exceed message-broker size limits, keyed by `storageId` and referenced from `JobPayload` transport rows.',\n businessRole: 'Durable, TTL-backed object row that queue workers and internal services use to pass serialized input without overloading the queue envelope.',\n lifecycleRole: 'Created on spill-over, read for execution, dec-referenced, and TTL-expired; optional explicit DELETE in maintenance flows.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobPayloadStorageSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'jobPayloadStorage_ResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'JOB_PAYLOAD_STORAGE',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'REPOSITORY_ONLY variants with `INTERNAL` key — the companion should not invent public HTTP operation semantics beyond what the factory models.',\n 'Field-level payload and compression data are backendOnly in the Zod layer; the spec’s field prose focuses on operator-visible or metadata aspects.',\n ],\n },\n fields: {\n storageId: schemaShape.storageId.stringSpec({\n meaning: 'Stable UUID v4 pointer embedded in `JobPayload` to retrieve bytes from storage.',\n whyItMatters: 'Join key between the queue path and the Mongo row holding `payloadJson`.',\n importance: FieldSemanticImportance.PRIMARY,\n semanticRole: 'identifier',\n }),\n applicationId: schemaShape.applicationId.stringSpec({\n meaning: 'Owning application for quota and isolation, stored backend-only in strict deployments.',\n whyItMatters: 'Backend-only in schema — still documented so companion prompts do not assert this is user-visible in product UI.',\n semanticRole: 'identifier',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the payload record was first written to Mongo.' }),\n expiresAt: schemaShape.expiresAt.dateSpec({ meaning: 'Mongo TTL driver — documents removed at/after this instant when unused.' }),\n compressionType: schemaShape.compressionType.enumSpec({\n meaning: 'Which compression codec the stored payload bytes were encoded with, so readers can transparently decode before deserializing the job arguments.',\n whyItMatters: 'Backend-only in the Zod layer — documented so companion prompts never assert this is a user-visible field; the codec must match on write and read or the payload is unrecoverable.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'PayloadCompressionType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [PayloadCompressionType.NONE]: { meaning: 'Payload stored uncompressed — bytes are the raw serialized job arguments.' },\n [PayloadCompressionType.GZIP]: { meaning: 'Payload stored gzip-compressed to reduce storage footprint for large blobs.' },\n },\n }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Internal queue or spill-over service stores a new payload blob and bumps reference counts.',\n outcome: 'A `storageId` is returned to embed in a job message.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The payload blob was persisted and a `storageId` pointer is returned for embedding in the queue message. Internal/service write path — the `INTERNAL` variant is `REPOSITORY_ONLY`, never a public tenant create.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload envelope fails schema validation (e.g. missing `applicationId` or an unserializable body).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-service caller attempts to write a payload blob — only the worker/spill-over service role may store payloads.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Spill an oversized job payload to storage',\n request: {\n applicationId: 'app_01HX2…',\n payloadJson: { resourceType: 'TASKS', operation: 'create', args: { title: 'Draft release notes' } },\n },\n response: {\n storageId: 'jps_01HX2…',\n applicationId: 'app_01HX2…',\n expiresAt: '2026-06-22T00:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'The only API surface today — no public tenant CRUD, only service roles.',\n whenToUse: 'Worker persistence path when a resource operation payload exceeds the inline threshold.',\n },\n },\n },\n [Op.READ]: {\n purpose: 'Fetch payload JSON and metadata for execution or replay.',\n outcome: 'Deserialized or streamed bytes feed the job runner.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The payload blob for the supplied `storageId` was found and its JSON / metadata is returned for the job runner.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No payload exists for the supplied `storageId` (never written, dereferenced, or TTL-expired via the Mongo `expiresAt` index).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-service caller attempts to read a stored payload — reads are service-only and never surfaced in host-app shells.' },\n ],\n idempotent: true,\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'Service-only read — never exposed in host-app shells in current presets.',\n whenToUse: 'Queue workers hydrating arguments before `PROCESSING` phases.',\n },\n },\n },\n [Op.DELETE]: {\n purpose: 'Explicit cleanup when a job is cancelled and TTL is too far out, or for compliance redaction.',\n outcome: 'Row removed; `referenceCount` semantics follow registry hooks.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The payload record was removed (or was already absent); no body is returned. Internal/service path used in incident response and redaction.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No payload row exists for the supplied `storageId` to purge.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-service/operator caller attempts an explicit payload delete — reached only from platform tooling, not member UIs.' },\n ],\n idempotent: true,\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'Service-only delete — operators reach it from platform tools, not member UIs.',\n whenToUse: 'Manual purge in incident response and migration exercises.',\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Operational search for payloads by time, size, or `storageId` prefix when the factory enables searchable metadata.',\n outcome: 'Narrowed admin/internal rows for SRE and abuse investigations.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of payload-metadata records matching the time / size / `storageId`-prefix filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the SRE/operator role required to query the internal payload store.' },\n ],\n idempotent: true,\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'Search variant aligned with the factory’s `INTERNAL` REPOSITORY config.',\n whenToUse: 'Observability consoles before a dedicated job/payload browser ships in the product.',\n },\n },\n },\n },\n businessConstraints: [\n 'The registry ties `JOB_PAYLOAD_STORAGE` to `APPLICATION` in the relationship map — the declared `resourcePrimaryScope` is `APPLICATION` to match that anchor, distinct from the STANDALONE posture used for `jobExecutions`.',\n 'Until platform presets declare non-empty `views`, do not run `resourceSpecificationFromFrontendConfiguration` for this type — the contract is base-only, mirroring `jobExecutions` until a UI is grounded.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"job-payload-storage.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/job-payload-storage.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,sBAAsB,EACtB,oBAAoB,EACpB,6DAA6D,IAAI,wBAAwB,GAC1F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,qBAAqB,CACzE,wBAAwB,EACxB,uBAAuB,EACvB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,2IAA2I;IACpJ,YAAY,EAAE,8IAA8I;IAC5J,aAAa,EAAE,4HAA4H;IAC3I,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EAAE,uBAAuB,CAAC,cAAc;IACjD,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,yBAAyB;YACrC,UAAU,EAAE,cAAc,CAAC,MAAM;YACjC,eAAe,EAAE,mBAAmB,CAAC,UAAU;SAChD;QACD,eAAe,EAAE;YACf,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,+DAA+D;YAC3E,UAAU,EAAE,cAAc,CAAC,OAAO;YAClC,eAAe,EA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GAA4G,EAAE;aAC/J;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,sFAAsF,EAAE;aAC7I;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,2BAA2B,CAAC,QAAQ,CAAC,EAAE;oBACtC,OAAO,EAAE,yEAAyE;oBAClF,SAAS,EAAE,qFAAqF;iBACjG;aACF;SACF;KACF;IACD,mBAAmB,EAAE;QACnB,8NAA8N;QAC9N,4MAA4M;KAC7M;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n JobPayloadStorageSchema,\n JobPayloadStorageVariantKey,\n PayloadCompressionType,\n ResourcePrimaryScope,\n jobPayloadStorage_ResourceConfiguration_InitializationFactory as jobPayloadStorageFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Internal `jobPayloadStorage` resource — **no UI preset at all**, and no route that could reach\n * one: every operation is `REPOSITORY_ONLY`. The spec is base `resourceSpecification` only.\n *\n * A preset did exist (a per-status colour map and per-field display modes, shared with\n * `jobExecutions`) and was deleted on 2026-09-08 — it rendered nowhere and made the absence of a\n * job browser look like an oversight. See the note on `RESOURCES_FRONTEND_PLATFORM` in\n * `@wildo-ai/presets-components` for where an operator looks instead.\n */\nexport const jobPayloadStorageResourceSpecification = resourceSpecification(\n jobPayloadStorageFactory,\n JobPayloadStorageSchema,\n ({ schemaShape }) => ({\n purpose: 'Persists large job payloads that exceed message-broker size limits, keyed by `storageId` and referenced from `JobPayload` transport rows.',\n businessRole: 'Durable, TTL-backed object row that queue workers and internal services use to pass serialized input without overloading the queue envelope.',\n lifecycleRole: 'Created on spill-over, read for execution, dec-referenced, and TTL-expired; optional explicit DELETE in maintenance flows.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'JobPayloadStorageSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'jobPayloadStorage_ResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'JOB_PAYLOAD_STORAGE',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'REPOSITORY_ONLY variants with `INTERNAL` key — the companion should not invent public HTTP operation semantics beyond what the factory models.',\n 'Field-level payload and compression data are backendOnly in the Zod layer; the spec’s field prose focuses on operator-visible or metadata aspects.',\n ],\n },\n fields: {\n storageId: schemaShape.storageId.stringSpec({\n meaning: 'Stable UUID v4 pointer embedded in `JobPayload` to retrieve bytes from storage.',\n whyItMatters: 'Join key between the queue path and the Mongo row holding `payloadJson`.',\n importance: FieldSemanticImportance.PRIMARY,\n semanticRole: 'identifier',\n }),\n applicationId: schemaShape.applicationId.stringSpec({\n meaning: 'Owning application for quota and isolation, stored backend-only in strict deployments.',\n whyItMatters: 'Backend-only in schema — still documented so companion prompts do not assert this is user-visible in product UI.',\n semanticRole: 'identifier',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the payload record was first written to Mongo.' }),\n expiresAt: schemaShape.expiresAt.dateSpec({ meaning: 'Mongo TTL driver — documents removed at/after this instant when unused.' }),\n compressionType: schemaShape.compressionType.enumSpec({\n meaning: 'Which compression codec the stored payload bytes were encoded with, so readers can transparently decode before deserializing the job arguments.',\n whyItMatters: 'Backend-only in the Zod layer — documented so companion prompts never assert this is a user-visible field; the codec must match on write and read or the payload is unrecoverable.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'PayloadCompressionType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [PayloadCompressionType.NONE]: { meaning: 'Payload stored uncompressed — bytes are the raw serialized job arguments.' },\n [PayloadCompressionType.GZIP]: { meaning: 'Payload stored gzip-compressed to reduce storage footprint for large blobs.' },\n },\n }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Internal queue or spill-over service stores a new payload blob and bumps reference counts.',\n outcome: 'A `storageId` is returned to embed in a job message.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The payload blob was persisted and a `storageId` pointer is returned for embedding in the queue message. Internal/service write path — the `INTERNAL` variant is `REPOSITORY_ONLY`, never a public tenant create.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload envelope fails schema validation (e.g. missing `applicationId` or an unserializable body).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-service caller attempts to write a payload blob — only the worker/spill-over service role may store payloads.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Spill an oversized job payload to storage',\n request: {\n applicationId: 'app_01HX2…',\n payloadJson: { resourceType: 'TASKS', operation: 'create', args: { title: 'Draft release notes' } },\n },\n response: {\n storageId: 'jps_01HX2…',\n applicationId: 'app_01HX2…',\n expiresAt: '2026-06-22T00:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'The only API surface today — no public tenant CRUD, only service roles.',\n whenToUse: 'Worker persistence path when a resource operation payload exceeds the inline threshold.',\n },\n },\n },\n [Op.READ]: {\n purpose: 'Fetch payload JSON and metadata for execution or replay.',\n outcome: 'Deserialized or streamed bytes feed the job runner.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The payload blob for the supplied `storageId` was found and its JSON / metadata is returned for the job runner.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No payload exists for the supplied `storageId` (never written, dereferenced, or TTL-expired via the Mongo `expiresAt` index).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-service caller attempts to read a stored payload — reads are service-only and never surfaced in host-app shells.' },\n ],\n idempotent: true,\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'Service-only read — never exposed in host-app shells in current presets.',\n whenToUse: 'Queue workers hydrating arguments before `PROCESSING` phases.',\n },\n },\n },\n [Op.DELETE]: {\n purpose: 'Explicit cleanup when a job is cancelled and TTL is too far out, or for compliance redaction.',\n outcome: 'Row removed; `referenceCount` semantics follow registry hooks.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The payload record was removed (or was already absent); no body is returned. Internal/service path used in incident response and redaction.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No payload row exists for the supplied `storageId` to purge.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-service/operator caller attempts an explicit payload delete — reached only from platform tooling, not member UIs.' },\n ],\n idempotent: true,\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'Service-only delete — operators reach it from platform tools, not member UIs.',\n whenToUse: 'Manual purge in incident response and migration exercises.',\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Operational search for payloads by time, size, or `storageId` prefix when the factory enables searchable metadata.',\n outcome: 'Narrowed admin/internal rows for SRE and abuse investigations.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of payload-metadata records matching the time / size / `storageId`-prefix filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the SRE/operator role required to query the internal payload store.' },\n ],\n idempotent: true,\n variants: {\n [JobPayloadStorageVariantKey.INTERNAL]: {\n purpose: 'Search variant aligned with the factory’s `INTERNAL` REPOSITORY config.',\n whenToUse: 'Observability consoles before a dedicated job/payload browser ships in the product.',\n },\n },\n },\n },\n businessConstraints: [\n 'The registry ties `JOB_PAYLOAD_STORAGE` to `APPLICATION` in the relationship map — the declared `resourcePrimaryScope` is `APPLICATION` to match that anchor, distinct from the STANDALONE posture used for `jobExecutions`.',\n 'Until platform presets declare non-empty `views`, do not run `resourceSpecificationFromFrontendConfiguration` for this type — the contract is base-only, mirroring `jobExecutions` until a UI is grounded.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/engine/notifications/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"m2m-webhook-delivery-log.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"m2m-webhook-delivery-log.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,IAAI,EAAE,EAE3B,gCAAgC,EAKjC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAiD,KAAK,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAoB9H,KAAK,iBAAiB,GAClB,EAAE,CAAC,IAAI,GACP,EAAE,CAAC,IAAI,GACP,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,WAAW,CAAC;AAmYnB,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGlE,CAAC;AAEF,eAAO,MAAM,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGjE,CAAC"}
|