@contractspec/lib.contracts 1.61.0 → 1.63.0
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/CHANGELOG.md +754 -0
- package/README.md +30 -96
- package/package.json +9 -4730
- package/dist/app-config/app-config.capability.d.ts +0 -2
- package/dist/app-config/app-config.capability.d.ts.map +0 -1
- package/dist/app-config/app-config.capability.js +0 -730
- package/dist/app-config/app-config.contracts.d.ts +0 -240
- package/dist/app-config/app-config.contracts.d.ts.map +0 -1
- package/dist/app-config/app-config.contracts.js +0 -927
- package/dist/app-config/app-config.contracts.test.d.ts +0 -2
- package/dist/app-config/app-config.contracts.test.d.ts.map +0 -1
- package/dist/app-config/app-config.feature.d.ts +0 -6
- package/dist/app-config/app-config.feature.d.ts.map +0 -1
- package/dist/app-config/app-config.feature.js +0 -255
- package/dist/app-config/branding.d.ts +0 -53
- package/dist/app-config/branding.d.ts.map +0 -1
- package/dist/app-config/branding.js +0 -1
- package/dist/app-config/branding.test.d.ts +0 -2
- package/dist/app-config/branding.test.d.ts.map +0 -1
- package/dist/app-config/docs/app-config.docblock.d.ts +0 -3
- package/dist/app-config/docs/app-config.docblock.d.ts.map +0 -1
- package/dist/app-config/docs/app-config.docblock.js +0 -383
- package/dist/app-config/events.d.ts +0 -116
- package/dist/app-config/events.d.ts.map +0 -1
- package/dist/app-config/events.js +0 -386
- package/dist/app-config/events.test.d.ts +0 -2
- package/dist/app-config/events.test.d.ts.map +0 -1
- package/dist/app-config/index.d.ts +0 -10
- package/dist/app-config/index.d.ts.map +0 -1
- package/dist/app-config/index.js +0 -3113
- package/dist/app-config/lifecycle-contracts.d.ts +0 -266
- package/dist/app-config/lifecycle-contracts.d.ts.map +0 -1
- package/dist/app-config/lifecycle-contracts.js +0 -1084
- package/dist/app-config/lifecycle-contracts.test.d.ts +0 -2
- package/dist/app-config/lifecycle-contracts.test.d.ts.map +0 -1
- package/dist/app-config/lifecycle.d.ts +0 -24
- package/dist/app-config/lifecycle.d.ts.map +0 -1
- package/dist/app-config/lifecycle.js +0 -1
- package/dist/app-config/lifecycle.test.d.ts +0 -2
- package/dist/app-config/lifecycle.test.d.ts.map +0 -1
- package/dist/app-config/runtime.d.ts +0 -112
- package/dist/app-config/runtime.d.ts.map +0 -1
- package/dist/app-config/runtime.js +0 -734
- package/dist/app-config/runtime.test.d.ts +0 -2
- package/dist/app-config/runtime.test.d.ts.map +0 -1
- package/dist/app-config/spec.d.ts +0 -170
- package/dist/app-config/spec.d.ts.map +0 -1
- package/dist/app-config/spec.js +0 -229
- package/dist/app-config/spec.test.d.ts +0 -2
- package/dist/app-config/spec.test.d.ts.map +0 -1
- package/dist/app-config/validation.d.ts +0 -44
- package/dist/app-config/validation.d.ts.map +0 -1
- package/dist/app-config/validation.js +0 -650
- package/dist/app-config/validation.test.d.ts +0 -2
- package/dist/app-config/validation.test.d.ts.map +0 -1
- package/dist/capabilities/capabilities.d.ts +0 -97
- package/dist/capabilities/capabilities.d.ts.map +0 -1
- package/dist/capabilities/capabilities.js +0 -217
- package/dist/capabilities/capabilities.test.d.ts +0 -2
- package/dist/capabilities/capabilities.test.d.ts.map +0 -1
- package/dist/capabilities/context.d.ts +0 -111
- package/dist/capabilities/context.d.ts.map +0 -1
- package/dist/capabilities/context.js +0 -101
- package/dist/capabilities/context.test.d.ts +0 -2
- package/dist/capabilities/context.test.d.ts.map +0 -1
- package/dist/capabilities/docs/capabilities.docblock.d.ts +0 -3
- package/dist/capabilities/docs/capabilities.docblock.d.ts.map +0 -1
- package/dist/capabilities/docs/capabilities.docblock.js +0 -353
- package/dist/capabilities/guards.d.ts +0 -122
- package/dist/capabilities/guards.d.ts.map +0 -1
- package/dist/capabilities/guards.js +0 -177
- package/dist/capabilities/index.d.ts +0 -7
- package/dist/capabilities/index.d.ts.map +0 -1
- package/dist/capabilities/index.js +0 -739
- package/dist/capabilities/meeting-recorder.d.ts +0 -6
- package/dist/capabilities/meeting-recorder.d.ts.map +0 -1
- package/dist/capabilities/meeting-recorder.js +0 -154
- package/dist/capabilities/openbanking.d.ts +0 -6
- package/dist/capabilities/openbanking.d.ts.map +0 -1
- package/dist/capabilities/openbanking.js +0 -166
- package/dist/capabilities/validation.d.ts +0 -80
- package/dist/capabilities/validation.d.ts.map +0 -1
- package/dist/capabilities/validation.js +0 -185
- package/dist/capabilities/validation.test.d.ts +0 -2
- package/dist/capabilities/validation.test.d.ts.map +0 -1
- package/dist/client/index.d.ts +0 -2
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/index.js +0 -1379
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
- package/dist/client/react/drivers/rn-reusables.d.ts.map +0 -1
- package/dist/client/react/drivers/rn-reusables.js +0 -38
- package/dist/client/react/drivers/shadcn.d.ts +0 -8
- package/dist/client/react/drivers/shadcn.d.ts.map +0 -1
- package/dist/client/react/drivers/shadcn.js +0 -38
- package/dist/client/react/feature-render.d.ts +0 -16
- package/dist/client/react/feature-render.d.ts.map +0 -1
- package/dist/client/react/feature-render.js +0 -833
- package/dist/client/react/form-render.d.ts +0 -87
- package/dist/client/react/form-render.d.ts.map +0 -1
- package/dist/client/react/form-render.js +0 -681
- package/dist/client/react/index.d.ts +0 -5
- package/dist/client/react/index.d.ts.map +0 -1
- package/dist/client/react/index.js +0 -1376
- package/dist/contract-registry/index.d.ts +0 -4
- package/dist/contract-registry/index.d.ts.map +0 -1
- package/dist/contract-registry/index.js +0 -129
- package/dist/contract-registry/schemas.d.ts +0 -121
- package/dist/contract-registry/schemas.d.ts.map +0 -1
- package/dist/contract-registry/schemas.js +0 -129
- package/dist/contract-registry/schemas.test.d.ts +0 -2
- package/dist/contract-registry/schemas.test.d.ts.map +0 -1
- package/dist/contract-registry/types.d.ts +0 -43
- package/dist/contract-registry/types.d.ts.map +0 -1
- package/dist/contract-registry/types.js +0 -1
- package/dist/data-views/data-views.d.ts +0 -5
- package/dist/data-views/data-views.d.ts.map +0 -1
- package/dist/data-views/data-views.js +0 -232
- package/dist/data-views/data-views.test.d.ts +0 -2
- package/dist/data-views/data-views.test.d.ts.map +0 -1
- package/dist/data-views/docs/data-views.docblock.d.ts +0 -3
- package/dist/data-views/docs/data-views.docblock.d.ts.map +0 -1
- package/dist/data-views/docs/data-views.docblock.js +0 -164
- package/dist/data-views/index.d.ts +0 -5
- package/dist/data-views/index.d.ts.map +0 -1
- package/dist/data-views/index.js +0 -232
- package/dist/data-views/query-generator.d.ts +0 -36
- package/dist/data-views/query-generator.d.ts.map +0 -1
- package/dist/data-views/query-generator.js +0 -89
- package/dist/data-views/registry.d.ts +0 -13
- package/dist/data-views/registry.d.ts.map +0 -1
- package/dist/data-views/registry.js +0 -226
- package/dist/data-views/registry.test.d.ts +0 -2
- package/dist/data-views/registry.test.d.ts.map +0 -1
- package/dist/data-views/report/contractVerificationTable.d.ts +0 -5
- package/dist/data-views/report/contractVerificationTable.d.ts.map +0 -1
- package/dist/data-views/report/contractVerificationTable.js +0 -240
- package/dist/data-views/report/contractVerificationTable.test.d.ts +0 -2
- package/dist/data-views/report/contractVerificationTable.test.d.ts.map +0 -1
- package/dist/data-views/runtime.d.ts +0 -26
- package/dist/data-views/runtime.d.ts.map +0 -1
- package/dist/data-views/runtime.js +0 -108
- package/dist/data-views/runtime.test.d.ts +0 -2
- package/dist/data-views/runtime.test.d.ts.map +0 -1
- package/dist/data-views/spec.d.ts +0 -23
- package/dist/data-views/spec.d.ts.map +0 -1
- package/dist/data-views/spec.js +0 -38
- package/dist/data-views/spec.test.d.ts +0 -2
- package/dist/data-views/spec.test.d.ts.map +0 -1
- package/dist/data-views/types.d.ts +0 -153
- package/dist/data-views/types.d.ts.map +0 -1
- package/dist/data-views/types.js +0 -1
- package/dist/data-views/types.test.d.ts +0 -2
- package/dist/data-views/types.test.d.ts.map +0 -1
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +0 -3
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts.map +0 -1
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -513
- package/dist/docs/capabilities/documentationSystem.capability.d.ts +0 -2
- package/dist/docs/capabilities/documentationSystem.capability.d.ts.map +0 -1
- package/dist/docs/capabilities/documentationSystem.capability.js +0 -784
- package/dist/docs/capabilities/index.d.ts +0 -2
- package/dist/docs/capabilities/index.d.ts.map +0 -1
- package/dist/docs/capabilities/index.js +0 -784
- package/dist/docs/commands/docsGenerate.command.d.ts +0 -89
- package/dist/docs/commands/docsGenerate.command.d.ts.map +0 -1
- package/dist/docs/commands/docsGenerate.command.js +0 -1016
- package/dist/docs/commands/docsPublish.command.d.ts +0 -58
- package/dist/docs/commands/docsPublish.command.d.ts.map +0 -1
- package/dist/docs/commands/docsPublish.command.js +0 -995
- package/dist/docs/commands/index.d.ts +0 -3
- package/dist/docs/commands/index.d.ts.map +0 -1
- package/dist/docs/commands/index.js +0 -1120
- package/dist/docs/constants.d.ts +0 -5
- package/dist/docs/constants.d.ts.map +0 -1
- package/dist/docs/constants.js +0 -78
- package/dist/docs/contracts.d.ts +0 -431
- package/dist/docs/contracts.d.ts.map +0 -1
- package/dist/docs/contracts.js +0 -2383
- package/dist/docs/ensure-docblocks.d.ts +0 -2
- package/dist/docs/ensure-docblocks.d.ts.map +0 -1
- package/dist/docs/ensure-docblocks.js +0 -264
- package/dist/docs/events/docsGenerated.event.d.ts +0 -57
- package/dist/docs/events/docsGenerated.event.d.ts.map +0 -1
- package/dist/docs/events/docsGenerated.event.js +0 -533
- package/dist/docs/events/docsPublished.event.d.ts +0 -65
- package/dist/docs/events/docsPublished.event.d.ts.map +0 -1
- package/dist/docs/events/docsPublished.event.js +0 -534
- package/dist/docs/events/index.d.ts +0 -3
- package/dist/docs/events/index.d.ts.map +0 -1
- package/dist/docs/events/index.js +0 -567
- package/dist/docs/forms/docsSearch.form.d.ts +0 -17
- package/dist/docs/forms/docsSearch.form.d.ts.map +0 -1
- package/dist/docs/forms/docsSearch.form.js +0 -676
- package/dist/docs/forms/index.d.ts +0 -2
- package/dist/docs/forms/index.d.ts.map +0 -1
- package/dist/docs/forms/index.js +0 -676
- package/dist/docs/index.d.ts +0 -41
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/index.js +0 -5491
- package/dist/docs/meta.docs.d.ts +0 -3
- package/dist/docs/meta.docs.d.ts.map +0 -1
- package/dist/docs/meta.docs.js +0 -176
- package/dist/docs/presentations/docsLayout.presentation.d.ts +0 -3
- package/dist/docs/presentations/docsLayout.presentation.d.ts.map +0 -1
- package/dist/docs/presentations/docsLayout.presentation.js +0 -1090
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts +0 -3
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts.map +0 -1
- package/dist/docs/presentations/docsReferencePage.presentation.js +0 -1090
- package/dist/docs/presentations/index.d.ts +0 -3
- package/dist/docs/presentations/index.d.ts.map +0 -1
- package/dist/docs/presentations/index.js +0 -1118
- package/dist/docs/presentations.d.ts +0 -28
- package/dist/docs/presentations.d.ts.map +0 -1
- package/dist/docs/presentations.js +0 -97
- package/dist/docs/presentations.test.d.ts +0 -2
- package/dist/docs/presentations.test.d.ts.map +0 -1
- package/dist/docs/queries/contractReference.query.d.ts +0 -212
- package/dist/docs/queries/contractReference.query.d.ts.map +0 -1
- package/dist/docs/queries/contractReference.query.js +0 -966
- package/dist/docs/queries/docsIndex.query.d.ts +0 -267
- package/dist/docs/queries/docsIndex.query.d.ts.map +0 -1
- package/dist/docs/queries/docsIndex.query.js +0 -966
- package/dist/docs/queries/index.d.ts +0 -3
- package/dist/docs/queries/index.d.ts.map +0 -1
- package/dist/docs/queries/index.js +0 -1041
- package/dist/docs/registry.d.ts +0 -20
- package/dist/docs/registry.d.ts.map +0 -1
- package/dist/docs/registry.js +0 -153
- package/dist/docs/registry.test.d.ts +0 -2
- package/dist/docs/registry.test.d.ts.map +0 -1
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +0 -3
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts.map +0 -1
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -221
- package/dist/docs/tech/cli.docblock.d.ts +0 -3
- package/dist/docs/tech/cli.docblock.d.ts.map +0 -1
- package/dist/docs/tech/cli.docblock.js +0 -291
- package/dist/docs/tech/contracts/README.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/README.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/README.docblock.js +0 -164
- package/dist/docs/tech/contracts/migrations.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/migrations.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/migrations.docblock.js +0 -164
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/openapi-export.docblock.js +0 -201
- package/dist/docs/tech/contracts/openapi-import.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/openapi-import.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/openapi-import.docblock.js +0 -207
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +0 -225
- package/dist/docs/tech/contracts/overlays.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/overlays.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/overlays.docblock.js +0 -231
- package/dist/docs/tech/contracts/tests.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/tests.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/tests.docblock.js +0 -164
- package/dist/docs/tech/contracts/themes.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/themes.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/themes.docblock.js +0 -257
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +0 -3
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts.map +0 -1
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +0 -269
- package/dist/docs/tech/docs-system.docblock.d.ts +0 -2
- package/dist/docs/tech/docs-system.docblock.d.ts.map +0 -1
- package/dist/docs/tech/docs-system.docblock.js +0 -264
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +0 -3
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts.map +0 -1
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -376
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +0 -8
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts.map +0 -1
- package/dist/docs/tech/llm/llm-integration.docblock.js +0 -482
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts +0 -3
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts.map +0 -1
- package/dist/docs/tech/mcp-endpoints.docblock.js +0 -185
- package/dist/docs/tech/presentation-runtime.docblock.d.ts +0 -3
- package/dist/docs/tech/presentation-runtime.docblock.d.ts.map +0 -1
- package/dist/docs/tech/presentation-runtime.docblock.js +0 -221
- package/dist/docs/tech/report-verification-table.docblock.d.ts +0 -2
- package/dist/docs/tech/report-verification-table.docblock.d.ts.map +0 -1
- package/dist/docs/tech/report-verification-table.docblock.js +0 -191
- package/dist/docs/tech/report-verification-table.test.d.ts +0 -2
- package/dist/docs/tech/report-verification-table.test.d.ts.map +0 -1
- package/dist/docs/tech/schema/README.docblock.d.ts +0 -3
- package/dist/docs/tech/schema/README.docblock.d.ts.map +0 -1
- package/dist/docs/tech/schema/README.docblock.js +0 -164
- package/dist/docs/tech/studio/learning-events.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/learning-events.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/learning-events.docblock.js +0 -190
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/learning-journeys.docblock.js +0 -227
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -226
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/project-access-teams.docblock.js +0 -200
- package/dist/docs/tech/studio/project-routing.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/project-routing.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/project-routing.docblock.js +0 -209
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -183
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/team-invitations.docblock.js +0 -228
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/workspace-ops.docblock.js +0 -189
- package/dist/docs/tech/studio/workspaces.docblock.d.ts +0 -3
- package/dist/docs/tech/studio/workspaces.docblock.d.ts.map +0 -1
- package/dist/docs/tech/studio/workspaces.docblock.js +0 -204
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts +0 -3
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts.map +0 -1
- package/dist/docs/tech/telemetry-ingest.docblock.js +0 -305
- package/dist/docs/tech/vscode-extension.docblock.d.ts +0 -3
- package/dist/docs/tech/vscode-extension.docblock.d.ts.map +0 -1
- package/dist/docs/tech/vscode-extension.docblock.js +0 -241
- package/dist/docs/tech-contracts.docs.d.ts +0 -3
- package/dist/docs/tech-contracts.docs.d.ts.map +0 -1
- package/dist/docs/tech-contracts.docs.js +0 -239
- package/dist/docs/types.d.ts +0 -38
- package/dist/docs/types.d.ts.map +0 -1
- package/dist/docs/types.js +0 -1
- package/dist/docs/views/contractReference.dataView.d.ts +0 -3
- package/dist/docs/views/contractReference.dataView.d.ts.map +0 -1
- package/dist/docs/views/contractReference.dataView.js +0 -1047
- package/dist/docs/views/docsIndex.dataView.d.ts +0 -3
- package/dist/docs/views/docsIndex.dataView.d.ts.map +0 -1
- package/dist/docs/views/docsIndex.dataView.js +0 -1041
- package/dist/docs/views/exampleCatalog.dataView.d.ts +0 -3
- package/dist/docs/views/exampleCatalog.dataView.d.ts.map +0 -1
- package/dist/docs/views/exampleCatalog.dataView.js +0 -1025
- package/dist/docs/views/index.d.ts +0 -4
- package/dist/docs/views/index.d.ts.map +0 -1
- package/dist/docs/views/index.js +0 -1240
- package/dist/events.d.ts +0 -143
- package/dist/events.d.ts.map +0 -1
- package/dist/events.js +0 -228
- package/dist/events.test.d.ts +0 -2
- package/dist/events.test.d.ts.map +0 -1
- package/dist/examples/docs/examples.docblock.d.ts +0 -3
- package/dist/examples/docs/examples.docblock.d.ts.map +0 -1
- package/dist/examples/docs/examples.docblock.js +0 -307
- package/dist/examples/index.d.ts +0 -12
- package/dist/examples/index.d.ts.map +0 -1
- package/dist/examples/index.js +0 -604
- package/dist/examples/registry.d.ts +0 -39
- package/dist/examples/registry.d.ts.map +0 -1
- package/dist/examples/registry.js +0 -286
- package/dist/examples/registry.test.d.ts +0 -2
- package/dist/examples/registry.test.d.ts.map +0 -1
- package/dist/examples/schema.d.ts +0 -279
- package/dist/examples/schema.d.ts.map +0 -1
- package/dist/examples/schema.js +0 -166
- package/dist/examples/schema.test.d.ts +0 -2
- package/dist/examples/schema.test.d.ts.map +0 -1
- package/dist/examples/types.d.ts +0 -163
- package/dist/examples/types.d.ts.map +0 -1
- package/dist/examples/types.js +0 -77
- package/dist/examples/types.test.d.ts +0 -2
- package/dist/examples/types.test.d.ts.map +0 -1
- package/dist/examples/validation.d.ts +0 -62
- package/dist/examples/validation.d.ts.map +0 -1
- package/dist/examples/validation.js +0 -287
- package/dist/examples/validation.test.d.ts +0 -2
- package/dist/examples/validation.test.d.ts.map +0 -1
- package/dist/experiments/docs/experiments.docblock.d.ts +0 -3
- package/dist/experiments/docs/experiments.docblock.d.ts.map +0 -1
- package/dist/experiments/docs/experiments.docblock.js +0 -291
- package/dist/experiments/evaluator.d.ts +0 -34
- package/dist/experiments/evaluator.d.ts.map +0 -1
- package/dist/experiments/evaluator.js +0 -155
- package/dist/experiments/evaluator.test.d.ts +0 -2
- package/dist/experiments/evaluator.test.d.ts.map +0 -1
- package/dist/experiments/spec-resolver.d.ts +0 -13
- package/dist/experiments/spec-resolver.d.ts.map +0 -1
- package/dist/experiments/spec-resolver.js +0 -1
- package/dist/experiments/spec.d.ts +0 -80
- package/dist/experiments/spec.d.ts.map +0 -1
- package/dist/experiments/spec.js +0 -227
- package/dist/experiments/spec.test.d.ts +0 -2
- package/dist/experiments/spec.test.d.ts.map +0 -1
- package/dist/features/index.d.ts +0 -10
- package/dist/features/index.d.ts.map +0 -1
- package/dist/features/index.js +0 -275
- package/dist/features/install.d.ts +0 -15
- package/dist/features/install.d.ts.map +0 -1
- package/dist/features/install.js +0 -95
- package/dist/features/install.test.d.ts +0 -2
- package/dist/features/install.test.d.ts.map +0 -1
- package/dist/features/registry.d.ts +0 -22
- package/dist/features/registry.d.ts.map +0 -1
- package/dist/features/registry.js +0 -192
- package/dist/features/registry.test.d.ts +0 -2
- package/dist/features/registry.test.d.ts.map +0 -1
- package/dist/features/types.d.ts +0 -79
- package/dist/features/types.d.ts.map +0 -1
- package/dist/features/types.js +0 -1
- package/dist/features/types.test.d.ts +0 -2
- package/dist/features/types.test.d.ts.map +0 -1
- package/dist/features/validation.d.ts +0 -5
- package/dist/features/validation.d.ts.map +0 -1
- package/dist/features/validation.js +0 -48
- package/dist/features/validation.test.d.ts +0 -2
- package/dist/features/validation.test.d.ts.map +0 -1
- package/dist/features.capabilities.test.d.ts +0 -2
- package/dist/features.capabilities.test.d.ts.map +0 -1
- package/dist/forms/docs/forms.docblock.d.ts +0 -3
- package/dist/forms/docs/forms.docblock.d.ts.map +0 -1
- package/dist/forms/docs/forms.docblock.js +0 -164
- package/dist/forms/forms.d.ts +0 -265
- package/dist/forms/forms.d.ts.map +0 -1
- package/dist/forms/forms.js +0 -332
- package/dist/forms/index.d.ts +0 -2
- package/dist/forms/index.d.ts.map +0 -1
- package/dist/forms/index.js +0 -332
- package/dist/index.d.ts +0 -50
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -18236
- package/dist/install.d.ts +0 -76
- package/dist/install.d.ts.map +0 -1
- package/dist/install.js +0 -60
- package/dist/integrations/binding.d.ts +0 -15
- package/dist/integrations/binding.d.ts.map +0 -1
- package/dist/integrations/binding.js +0 -1
- package/dist/integrations/connection.d.ts +0 -48
- package/dist/integrations/connection.d.ts.map +0 -1
- package/dist/integrations/connection.js +0 -1
- package/dist/integrations/docs/integrations.docblock.d.ts +0 -3
- package/dist/integrations/docs/integrations.docblock.d.ts.map +0 -1
- package/dist/integrations/docs/integrations.docblock.js +0 -255
- package/dist/integrations/health.d.ts +0 -18
- package/dist/integrations/health.d.ts.map +0 -1
- package/dist/integrations/health.js +0 -103
- package/dist/integrations/health.test.d.ts +0 -2
- package/dist/integrations/health.test.d.ts.map +0 -1
- package/dist/integrations/index.d.ts +0 -12
- package/dist/integrations/index.d.ts.map +0 -1
- package/dist/integrations/index.js +0 -3809
- package/dist/integrations/integrations.capability.d.ts +0 -2
- package/dist/integrations/integrations.capability.d.ts.map +0 -1
- package/dist/integrations/integrations.capability.js +0 -726
- package/dist/integrations/integrations.feature.d.ts +0 -6
- package/dist/integrations/integrations.feature.d.ts.map +0 -1
- package/dist/integrations/integrations.feature.js +0 -301
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +0 -8
- package/dist/integrations/meeting-recorder/contracts/index.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/contracts/index.js +0 -1231
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +0 -452
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/contracts/meetings.js +0 -866
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +0 -167
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +0 -933
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +0 -86
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +0 -819
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +0 -2
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +0 -726
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +0 -6
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +0 -301
- package/dist/integrations/meeting-recorder/models.d.ts +0 -403
- package/dist/integrations/meeting-recorder/models.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/models.js +0 -152
- package/dist/integrations/meeting-recorder/telemetry.d.ts +0 -14
- package/dist/integrations/meeting-recorder/telemetry.d.ts.map +0 -1
- package/dist/integrations/meeting-recorder/telemetry.js +0 -84
- package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -283
- package/dist/integrations/openbanking/contracts/accounts.d.ts.map +0 -1
- package/dist/integrations/openbanking/contracts/accounts.js +0 -974
- package/dist/integrations/openbanking/contracts/balances.d.ts +0 -159
- package/dist/integrations/openbanking/contracts/balances.d.ts.map +0 -1
- package/dist/integrations/openbanking/contracts/balances.js +0 -938
- package/dist/integrations/openbanking/contracts/index.d.ts +0 -8
- package/dist/integrations/openbanking/contracts/index.d.ts.map +0 -1
- package/dist/integrations/openbanking/contracts/index.js +0 -1399
- package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -207
- package/dist/integrations/openbanking/contracts/transactions.d.ts.map +0 -1
- package/dist/integrations/openbanking/contracts/transactions.js +0 -944
- package/dist/integrations/openbanking/guards.d.ts +0 -9
- package/dist/integrations/openbanking/guards.d.ts.map +0 -1
- package/dist/integrations/openbanking/guards.js +0 -72
- package/dist/integrations/openbanking/guards.test.d.ts +0 -2
- package/dist/integrations/openbanking/guards.test.d.ts.map +0 -1
- package/dist/integrations/openbanking/models.d.ts +0 -224
- package/dist/integrations/openbanking/models.d.ts.map +0 -1
- package/dist/integrations/openbanking/models.js +0 -140
- package/dist/integrations/openbanking/openbanking.capability.d.ts +0 -2
- package/dist/integrations/openbanking/openbanking.capability.d.ts.map +0 -1
- package/dist/integrations/openbanking/openbanking.capability.js +0 -726
- package/dist/integrations/openbanking/openbanking.feature.d.ts +0 -6
- package/dist/integrations/openbanking/openbanking.feature.d.ts.map +0 -1
- package/dist/integrations/openbanking/openbanking.feature.js +0 -303
- package/dist/integrations/openbanking/telemetry.d.ts +0 -13
- package/dist/integrations/openbanking/telemetry.d.ts.map +0 -1
- package/dist/integrations/openbanking/telemetry.js +0 -81
- package/dist/integrations/operations.d.ts +0 -431
- package/dist/integrations/operations.d.ts.map +0 -1
- package/dist/integrations/operations.js +0 -943
- package/dist/integrations/operations.test.d.ts +0 -2
- package/dist/integrations/operations.test.d.ts.map +0 -1
- package/dist/integrations/providers/analytics-reader.d.ts +0 -104
- package/dist/integrations/providers/analytics-reader.d.ts.map +0 -1
- package/dist/integrations/providers/analytics-reader.js +0 -1
- package/dist/integrations/providers/analytics-writer.d.ts +0 -7
- package/dist/integrations/providers/analytics-writer.d.ts.map +0 -1
- package/dist/integrations/providers/analytics-writer.js +0 -1
- package/dist/integrations/providers/analytics.d.ts +0 -48
- package/dist/integrations/providers/analytics.d.ts.map +0 -1
- package/dist/integrations/providers/analytics.js +0 -1
- package/dist/integrations/providers/calendar.d.ts +0 -76
- package/dist/integrations/providers/calendar.d.ts.map +0 -1
- package/dist/integrations/providers/calendar.js +0 -1
- package/dist/integrations/providers/database.d.ts +0 -13
- package/dist/integrations/providers/database.d.ts.map +0 -1
- package/dist/integrations/providers/database.js +0 -1
- package/dist/integrations/providers/elevenlabs.d.ts +0 -4
- package/dist/integrations/providers/elevenlabs.d.ts.map +0 -1
- package/dist/integrations/providers/elevenlabs.js +0 -331
- package/dist/integrations/providers/email.d.ts +0 -84
- package/dist/integrations/providers/email.d.ts.map +0 -1
- package/dist/integrations/providers/email.js +0 -1
- package/dist/integrations/providers/embedding.d.ts +0 -22
- package/dist/integrations/providers/embedding.d.ts.map +0 -1
- package/dist/integrations/providers/embedding.js +0 -1
- package/dist/integrations/providers/fal.d.ts +0 -4
- package/dist/integrations/providers/fal.d.ts.map +0 -1
- package/dist/integrations/providers/fal.js +0 -357
- package/dist/integrations/providers/fathom.d.ts +0 -4
- package/dist/integrations/providers/fathom.d.ts.map +0 -1
- package/dist/integrations/providers/fathom.js +0 -371
- package/dist/integrations/providers/fireflies.d.ts +0 -4
- package/dist/integrations/providers/fireflies.d.ts.map +0 -1
- package/dist/integrations/providers/fireflies.js +0 -351
- package/dist/integrations/providers/gcs-storage.d.ts +0 -4
- package/dist/integrations/providers/gcs-storage.d.ts.map +0 -1
- package/dist/integrations/providers/gcs-storage.js +0 -342
- package/dist/integrations/providers/gmail.d.ts +0 -4
- package/dist/integrations/providers/gmail.d.ts.map +0 -1
- package/dist/integrations/providers/gmail.js +0 -354
- package/dist/integrations/providers/google-calendar.d.ts +0 -4
- package/dist/integrations/providers/google-calendar.d.ts.map +0 -1
- package/dist/integrations/providers/google-calendar.js +0 -337
- package/dist/integrations/providers/gradium.d.ts +0 -4
- package/dist/integrations/providers/gradium.d.ts.map +0 -1
- package/dist/integrations/providers/gradium.js +0 -355
- package/dist/integrations/providers/granola.d.ts +0 -4
- package/dist/integrations/providers/granola.d.ts.map +0 -1
- package/dist/integrations/providers/granola.js +0 -352
- package/dist/integrations/providers/index.d.ts +0 -38
- package/dist/integrations/providers/index.d.ts.map +0 -1
- package/dist/integrations/providers/index.js +0 -2142
- package/dist/integrations/providers/jira.d.ts +0 -4
- package/dist/integrations/providers/jira.d.ts.map +0 -1
- package/dist/integrations/providers/jira.js +0 -353
- package/dist/integrations/providers/linear.d.ts +0 -4
- package/dist/integrations/providers/linear.d.ts.map +0 -1
- package/dist/integrations/providers/linear.js +0 -352
- package/dist/integrations/providers/llm.d.ts +0 -80
- package/dist/integrations/providers/llm.d.ts.map +0 -1
- package/dist/integrations/providers/llm.js +0 -1
- package/dist/integrations/providers/meeting-recorder.d.ts +0 -130
- package/dist/integrations/providers/meeting-recorder.d.ts.map +0 -1
- package/dist/integrations/providers/meeting-recorder.js +0 -1
- package/dist/integrations/providers/mistral.d.ts +0 -4
- package/dist/integrations/providers/mistral.d.ts.map +0 -1
- package/dist/integrations/providers/mistral.js +0 -339
- package/dist/integrations/providers/notion.d.ts +0 -4
- package/dist/integrations/providers/notion.d.ts.map +0 -1
- package/dist/integrations/providers/notion.js +0 -358
- package/dist/integrations/providers/openbanking.d.ts +0 -126
- package/dist/integrations/providers/openbanking.d.ts.map +0 -1
- package/dist/integrations/providers/openbanking.js +0 -1
- package/dist/integrations/providers/payments.d.ts +0 -107
- package/dist/integrations/providers/payments.d.ts.map +0 -1
- package/dist/integrations/providers/payments.js +0 -1
- package/dist/integrations/providers/posthog.d.ts +0 -4
- package/dist/integrations/providers/posthog.d.ts.map +0 -1
- package/dist/integrations/providers/posthog.js +0 -349
- package/dist/integrations/providers/postmark.d.ts +0 -4
- package/dist/integrations/providers/postmark.d.ts.map +0 -1
- package/dist/integrations/providers/postmark.js +0 -343
- package/dist/integrations/providers/powens.d.ts +0 -4
- package/dist/integrations/providers/powens.d.ts.map +0 -1
- package/dist/integrations/providers/powens.js +0 -369
- package/dist/integrations/providers/project-management.d.ts +0 -33
- package/dist/integrations/providers/project-management.d.ts.map +0 -1
- package/dist/integrations/providers/project-management.js +0 -1
- package/dist/integrations/providers/providers.test.d.ts +0 -2
- package/dist/integrations/providers/providers.test.d.ts.map +0 -1
- package/dist/integrations/providers/qdrant.d.ts +0 -4
- package/dist/integrations/providers/qdrant.d.ts.map +0 -1
- package/dist/integrations/providers/qdrant.js +0 -346
- package/dist/integrations/providers/registry.d.ts +0 -7
- package/dist/integrations/providers/registry.d.ts.map +0 -1
- package/dist/integrations/providers/registry.js +0 -2100
- package/dist/integrations/providers/sms.d.ts +0 -32
- package/dist/integrations/providers/sms.d.ts.map +0 -1
- package/dist/integrations/providers/sms.js +0 -1
- package/dist/integrations/providers/storage.d.ts +0 -58
- package/dist/integrations/providers/storage.d.ts.map +0 -1
- package/dist/integrations/providers/storage.js +0 -1
- package/dist/integrations/providers/stripe.d.ts +0 -4
- package/dist/integrations/providers/stripe.d.ts.map +0 -1
- package/dist/integrations/providers/stripe.js +0 -350
- package/dist/integrations/providers/supabase-postgres.d.ts +0 -4
- package/dist/integrations/providers/supabase-postgres.d.ts.map +0 -1
- package/dist/integrations/providers/supabase-postgres.js +0 -332
- package/dist/integrations/providers/supabase-vector.d.ts +0 -4
- package/dist/integrations/providers/supabase-vector.d.ts.map +0 -1
- package/dist/integrations/providers/supabase-vector.js +0 -352
- package/dist/integrations/providers/tldv.d.ts +0 -4
- package/dist/integrations/providers/tldv.d.ts.map +0 -1
- package/dist/integrations/providers/tldv.js +0 -351
- package/dist/integrations/providers/twilio-sms.d.ts +0 -4
- package/dist/integrations/providers/twilio-sms.d.ts.map +0 -1
- package/dist/integrations/providers/twilio-sms.js +0 -336
- package/dist/integrations/providers/vector-store.d.ts +0 -40
- package/dist/integrations/providers/vector-store.d.ts.map +0 -1
- package/dist/integrations/providers/vector-store.js +0 -1
- package/dist/integrations/providers/voice.d.ts +0 -32
- package/dist/integrations/providers/voice.d.ts.map +0 -1
- package/dist/integrations/providers/voice.js +0 -1
- package/dist/integrations/runtime.d.ts +0 -96
- package/dist/integrations/runtime.d.ts.map +0 -1
- package/dist/integrations/runtime.js +0 -239
- package/dist/integrations/runtime.test.d.ts +0 -2
- package/dist/integrations/runtime.test.d.ts.map +0 -1
- package/dist/integrations/secrets/aws-secret-manager.d.ts +0 -29
- package/dist/integrations/secrets/aws-secret-manager.d.ts.map +0 -1
- package/dist/integrations/secrets/aws-secret-manager.js +0 -376
- package/dist/integrations/secrets/env-secret-provider.d.ts +0 -29
- package/dist/integrations/secrets/env-secret-provider.d.ts.map +0 -1
- package/dist/integrations/secrets/env-secret-provider.js +0 -189
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -30
- package/dist/integrations/secrets/gcp-secret-manager.d.ts.map +0 -1
- package/dist/integrations/secrets/gcp-secret-manager.js +0 -377
- package/dist/integrations/secrets/index.d.ts +0 -7
- package/dist/integrations/secrets/index.d.ts.map +0 -1
- package/dist/integrations/secrets/index.js +0 -1159
- package/dist/integrations/secrets/manager.d.ts +0 -45
- package/dist/integrations/secrets/manager.d.ts.map +0 -1
- package/dist/integrations/secrets/manager.js +0 -213
- package/dist/integrations/secrets/provider.d.ts +0 -50
- package/dist/integrations/secrets/provider.d.ts.map +0 -1
- package/dist/integrations/secrets/provider.js +0 -104
- package/dist/integrations/secrets/provider.test.d.ts +0 -2
- package/dist/integrations/secrets/provider.test.d.ts.map +0 -1
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +0 -36
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts.map +0 -1
- package/dist/integrations/secrets/scaleway-secret-manager.js +0 -405
- package/dist/integrations/secrets-types.d.ts +0 -15
- package/dist/integrations/secrets-types.d.ts.map +0 -1
- package/dist/integrations/secrets-types.js +0 -1
- package/dist/integrations/spec.d.ts +0 -73
- package/dist/integrations/spec.d.ts.map +0 -1
- package/dist/integrations/spec.js +0 -232
- package/dist/integrations/spec.test.d.ts +0 -2
- package/dist/integrations/spec.test.d.ts.map +0 -1
- package/dist/jobs/define-job.d.ts +0 -16
- package/dist/jobs/define-job.d.ts.map +0 -1
- package/dist/jobs/define-job.js +0 -41
- package/dist/jobs/gcp-cloud-tasks.d.ts +0 -39
- package/dist/jobs/gcp-cloud-tasks.d.ts.map +0 -1
- package/dist/jobs/gcp-cloud-tasks.js +0 -103
- package/dist/jobs/gcp-pubsub.d.ts +0 -23
- package/dist/jobs/gcp-pubsub.d.ts.map +0 -1
- package/dist/jobs/gcp-pubsub.js +0 -91
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -6
- package/dist/jobs/handlers/gmail-sync-handler.d.ts.map +0 -1
- package/dist/jobs/handlers/gmail-sync-handler.js +0 -40
- package/dist/jobs/handlers/handlers.test.d.ts +0 -2
- package/dist/jobs/handlers/handlers.test.d.ts.map +0 -1
- package/dist/jobs/handlers/index.d.ts +0 -6
- package/dist/jobs/handlers/index.d.ts.map +0 -1
- package/dist/jobs/handlers/index.js +0 -83
- package/dist/jobs/handlers/ping-handler.d.ts +0 -7
- package/dist/jobs/handlers/ping-handler.d.ts.map +0 -1
- package/dist/jobs/handlers/ping-handler.js +0 -47
- package/dist/jobs/handlers/storage-document-handler.d.ts +0 -9
- package/dist/jobs/handlers/storage-document-handler.d.ts.map +0 -1
- package/dist/jobs/handlers/storage-document-handler.js +0 -47
- package/dist/jobs/index.d.ts +0 -3
- package/dist/jobs/index.d.ts.map +0 -1
- package/dist/jobs/index.js +0 -64
- package/dist/jobs/memory-queue.d.ts +0 -15
- package/dist/jobs/memory-queue.d.ts.map +0 -1
- package/dist/jobs/memory-queue.js +0 -129
- package/dist/jobs/queue.d.ts +0 -127
- package/dist/jobs/queue.d.ts.map +0 -1
- package/dist/jobs/queue.js +0 -55
- package/dist/jobs/queue.test.d.ts +0 -2
- package/dist/jobs/queue.test.d.ts.map +0 -1
- package/dist/jobs/scaleway-sqs-queue.d.ts +0 -28
- package/dist/jobs/scaleway-sqs-queue.d.ts.map +0 -1
- package/dist/jobs/scaleway-sqs-queue.js +0 -222
- package/dist/jsonschema.d.ts +0 -40
- package/dist/jsonschema.d.ts.map +0 -1
- package/dist/jsonschema.js +0 -73
- package/dist/jsonschema.test.d.ts +0 -2
- package/dist/jsonschema.test.d.ts.map +0 -1
- package/dist/knowledge/binding.d.ts +0 -23
- package/dist/knowledge/binding.d.ts.map +0 -1
- package/dist/knowledge/binding.js +0 -1
- package/dist/knowledge/docs/knowledge.docblock.d.ts +0 -3
- package/dist/knowledge/docs/knowledge.docblock.d.ts.map +0 -1
- package/dist/knowledge/docs/knowledge.docblock.js +0 -301
- package/dist/knowledge/index.d.ts +0 -5
- package/dist/knowledge/index.d.ts.map +0 -1
- package/dist/knowledge/index.js +0 -468
- package/dist/knowledge/ingestion/document-processor.d.ts +0 -23
- package/dist/knowledge/ingestion/document-processor.d.ts.map +0 -1
- package/dist/knowledge/ingestion/document-processor.js +0 -95
- package/dist/knowledge/ingestion/embedding-service.d.ts +0 -9
- package/dist/knowledge/ingestion/embedding-service.d.ts.map +0 -1
- package/dist/knowledge/ingestion/embedding-service.js +0 -57
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -15
- package/dist/knowledge/ingestion/gmail-adapter.d.ts.map +0 -1
- package/dist/knowledge/ingestion/gmail-adapter.js +0 -103
- package/dist/knowledge/ingestion/index.d.ts +0 -6
- package/dist/knowledge/ingestion/index.d.ts.map +0 -1
- package/dist/knowledge/ingestion/index.js +0 -252
- package/dist/knowledge/ingestion/ingestion.test.d.ts +0 -2
- package/dist/knowledge/ingestion/ingestion.test.d.ts.map +0 -1
- package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -12
- package/dist/knowledge/ingestion/storage-adapter.d.ts.map +0 -1
- package/dist/knowledge/ingestion/storage-adapter.js +0 -62
- package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -15
- package/dist/knowledge/ingestion/vector-indexer.d.ts.map +0 -1
- package/dist/knowledge/ingestion/vector-indexer.js +0 -63
- package/dist/knowledge/knowledge.capability.d.ts +0 -2
- package/dist/knowledge/knowledge.capability.d.ts.map +0 -1
- package/dist/knowledge/knowledge.capability.js +0 -726
- package/dist/knowledge/knowledge.feature.d.ts +0 -6
- package/dist/knowledge/knowledge.feature.d.ts.map +0 -1
- package/dist/knowledge/knowledge.feature.js +0 -301
- package/dist/knowledge/operations.d.ts +0 -312
- package/dist/knowledge/operations.d.ts.map +0 -1
- package/dist/knowledge/operations.js +0 -869
- package/dist/knowledge/operations.test.d.ts +0 -2
- package/dist/knowledge/operations.test.d.ts.map +0 -1
- package/dist/knowledge/query/index.d.ts +0 -2
- package/dist/knowledge/query/index.d.ts.map +0 -1
- package/dist/knowledge/query/index.js +0 -110
- package/dist/knowledge/query/service.d.ts +0 -26
- package/dist/knowledge/query/service.d.ts.map +0 -1
- package/dist/knowledge/query/service.js +0 -110
- package/dist/knowledge/query/service.test.d.ts +0 -2
- package/dist/knowledge/query/service.test.d.ts.map +0 -1
- package/dist/knowledge/runtime.d.ts +0 -29
- package/dist/knowledge/runtime.d.ts.map +0 -1
- package/dist/knowledge/runtime.js +0 -91
- package/dist/knowledge/runtime.test.d.ts +0 -2
- package/dist/knowledge/runtime.test.d.ts.map +0 -1
- package/dist/knowledge/source.d.ts +0 -30
- package/dist/knowledge/source.d.ts.map +0 -1
- package/dist/knowledge/source.js +0 -1
- package/dist/knowledge/spaces/email-threads.d.ts +0 -4
- package/dist/knowledge/spaces/email-threads.d.ts.map +0 -1
- package/dist/knowledge/spaces/email-threads.js +0 -102
- package/dist/knowledge/spaces/financial-docs.d.ts +0 -4
- package/dist/knowledge/spaces/financial-docs.d.ts.map +0 -1
- package/dist/knowledge/spaces/financial-docs.js +0 -102
- package/dist/knowledge/spaces/financial-overview.d.ts +0 -4
- package/dist/knowledge/spaces/financial-overview.d.ts.map +0 -1
- package/dist/knowledge/spaces/financial-overview.js +0 -102
- package/dist/knowledge/spaces/index.d.ts +0 -7
- package/dist/knowledge/spaces/index.d.ts.map +0 -1
- package/dist/knowledge/spaces/index.js +0 -273
- package/dist/knowledge/spaces/product-canon.d.ts +0 -4
- package/dist/knowledge/spaces/product-canon.d.ts.map +0 -1
- package/dist/knowledge/spaces/product-canon.js +0 -102
- package/dist/knowledge/spaces/spaces.test.d.ts +0 -2
- package/dist/knowledge/spaces/spaces.test.d.ts.map +0 -1
- package/dist/knowledge/spaces/support-faq.d.ts +0 -4
- package/dist/knowledge/spaces/support-faq.d.ts.map +0 -1
- package/dist/knowledge/spaces/support-faq.js +0 -103
- package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -4
- package/dist/knowledge/spaces/uploaded-docs.d.ts.map +0 -1
- package/dist/knowledge/spaces/uploaded-docs.js +0 -102
- package/dist/knowledge/spec.d.ts +0 -43
- package/dist/knowledge/spec.d.ts.map +0 -1
- package/dist/knowledge/spec.js +0 -228
- package/dist/knowledge/spec.test.d.ts +0 -2
- package/dist/knowledge/spec.test.d.ts.map +0 -1
- package/dist/llm/exporters.d.ts +0 -69
- package/dist/llm/exporters.d.ts.map +0 -1
- package/dist/llm/exporters.js +0 -1261
- package/dist/llm/index.d.ts +0 -13
- package/dist/llm/index.d.ts.map +0 -1
- package/dist/llm/index.js +0 -1715
- package/dist/llm/prompts.d.ts +0 -54
- package/dist/llm/prompts.d.ts.map +0 -1
- package/dist/llm/prompts.js +0 -1706
- package/dist/llm/types.d.ts +0 -213
- package/dist/llm/types.d.ts.map +0 -1
- package/dist/llm/types.js +0 -1
- package/dist/markdown.d.ts +0 -17
- package/dist/markdown.d.ts.map +0 -1
- package/dist/markdown.js +0 -779
- package/dist/migrations.d.ts +0 -49
- package/dist/migrations.d.ts.map +0 -1
- package/dist/migrations.js +0 -67
- package/dist/migrations.test.d.ts +0 -2
- package/dist/migrations.test.d.ts.map +0 -1
- package/dist/model-registry.d.ts +0 -10
- package/dist/model-registry.d.ts.map +0 -1
- package/dist/model-registry.js +0 -64
- package/dist/model-registry.test.d.ts +0 -2
- package/dist/model-registry.test.d.ts.map +0 -1
- package/dist/node/app-config/app-config.capability.js +0 -730
- package/dist/node/app-config/app-config.contracts.js +0 -927
- package/dist/node/app-config/app-config.feature.js +0 -255
- package/dist/node/app-config/branding.js +0 -0
- package/dist/node/app-config/docs/app-config.docblock.js +0 -383
- package/dist/node/app-config/events.js +0 -386
- package/dist/node/app-config/index.js +0 -3113
- package/dist/node/app-config/lifecycle-contracts.js +0 -1084
- package/dist/node/app-config/lifecycle.js +0 -0
- package/dist/node/app-config/runtime.js +0 -734
- package/dist/node/app-config/spec.js +0 -229
- package/dist/node/app-config/validation.js +0 -650
- package/dist/node/capabilities/capabilities.js +0 -217
- package/dist/node/capabilities/context.js +0 -101
- package/dist/node/capabilities/docs/capabilities.docblock.js +0 -353
- package/dist/node/capabilities/guards.js +0 -177
- package/dist/node/capabilities/index.js +0 -739
- package/dist/node/capabilities/meeting-recorder.js +0 -154
- package/dist/node/capabilities/openbanking.js +0 -166
- package/dist/node/capabilities/validation.js +0 -185
- package/dist/node/client/index.js +0 -1379
- package/dist/node/client/react/drivers/rn-reusables.js +0 -38
- package/dist/node/client/react/drivers/shadcn.js +0 -38
- package/dist/node/client/react/feature-render.js +0 -833
- package/dist/node/client/react/form-render.js +0 -681
- package/dist/node/client/react/index.js +0 -1376
- package/dist/node/contract-registry/index.js +0 -129
- package/dist/node/contract-registry/schemas.js +0 -129
- package/dist/node/contract-registry/types.js +0 -0
- package/dist/node/data-views/data-views.js +0 -232
- package/dist/node/data-views/docs/data-views.docblock.js +0 -164
- package/dist/node/data-views/index.js +0 -232
- package/dist/node/data-views/query-generator.js +0 -89
- package/dist/node/data-views/registry.js +0 -226
- package/dist/node/data-views/report/contractVerificationTable.js +0 -240
- package/dist/node/data-views/runtime.js +0 -108
- package/dist/node/data-views/spec.js +0 -38
- package/dist/node/data-views/types.js +0 -0
- package/dist/node/docs/accessibility_wcag_compliance_specs.docblock.js +0 -513
- package/dist/node/docs/capabilities/documentationSystem.capability.js +0 -784
- package/dist/node/docs/capabilities/index.js +0 -784
- package/dist/node/docs/commands/docsGenerate.command.js +0 -1016
- package/dist/node/docs/commands/docsPublish.command.js +0 -995
- package/dist/node/docs/commands/index.js +0 -1120
- package/dist/node/docs/constants.js +0 -78
- package/dist/node/docs/contracts.js +0 -2383
- package/dist/node/docs/ensure-docblocks.js +0 -264
- package/dist/node/docs/events/docsGenerated.event.js +0 -533
- package/dist/node/docs/events/docsPublished.event.js +0 -534
- package/dist/node/docs/events/index.js +0 -567
- package/dist/node/docs/forms/docsSearch.form.js +0 -676
- package/dist/node/docs/forms/index.js +0 -676
- package/dist/node/docs/index.js +0 -5491
- package/dist/node/docs/meta.docs.js +0 -176
- package/dist/node/docs/presentations/docsLayout.presentation.js +0 -1090
- package/dist/node/docs/presentations/docsReferencePage.presentation.js +0 -1090
- package/dist/node/docs/presentations/index.js +0 -1118
- package/dist/node/docs/presentations.js +0 -97
- package/dist/node/docs/queries/contractReference.query.js +0 -966
- package/dist/node/docs/queries/docsIndex.query.js +0 -966
- package/dist/node/docs/queries/index.js +0 -1041
- package/dist/node/docs/registry.js +0 -153
- package/dist/node/docs/tech/auth/better-auth-nextjs.docblock.js +0 -221
- package/dist/node/docs/tech/cli.docblock.js +0 -291
- package/dist/node/docs/tech/contracts/README.docblock.js +0 -164
- package/dist/node/docs/tech/contracts/migrations.docblock.js +0 -164
- package/dist/node/docs/tech/contracts/openapi-export.docblock.js +0 -201
- package/dist/node/docs/tech/contracts/openapi-import.docblock.js +0 -207
- package/dist/node/docs/tech/contracts/ops-to-presentation-linking.docblock.js +0 -225
- package/dist/node/docs/tech/contracts/overlays.docblock.js +0 -231
- package/dist/node/docs/tech/contracts/tests.docblock.js +0 -164
- package/dist/node/docs/tech/contracts/themes.docblock.js +0 -257
- package/dist/node/docs/tech/contracts/vertical-pocket-family-office.docblock.js +0 -269
- package/dist/node/docs/tech/docs-system.docblock.js +0 -264
- package/dist/node/docs/tech/lifecycle-stage-system.docblock.js +0 -376
- package/dist/node/docs/tech/llm/llm-integration.docblock.js +0 -482
- package/dist/node/docs/tech/mcp-endpoints.docblock.js +0 -185
- package/dist/node/docs/tech/presentation-runtime.docblock.js +0 -221
- package/dist/node/docs/tech/report-verification-table.docblock.js +0 -191
- package/dist/node/docs/tech/schema/README.docblock.js +0 -164
- package/dist/node/docs/tech/studio/learning-events.docblock.js +0 -190
- package/dist/node/docs/tech/studio/learning-journeys.docblock.js +0 -227
- package/dist/node/docs/tech/studio/platform-admin-panel.docblock.js +0 -226
- package/dist/node/docs/tech/studio/project-access-teams.docblock.js +0 -200
- package/dist/node/docs/tech/studio/project-routing.docblock.js +0 -209
- package/dist/node/docs/tech/studio/sandbox-unlogged.docblock.js +0 -183
- package/dist/node/docs/tech/studio/team-invitations.docblock.js +0 -228
- package/dist/node/docs/tech/studio/workspace-ops.docblock.js +0 -189
- package/dist/node/docs/tech/studio/workspaces.docblock.js +0 -204
- package/dist/node/docs/tech/telemetry-ingest.docblock.js +0 -305
- package/dist/node/docs/tech/vscode-extension.docblock.js +0 -241
- package/dist/node/docs/tech-contracts.docs.js +0 -239
- package/dist/node/docs/types.js +0 -0
- package/dist/node/docs/views/contractReference.dataView.js +0 -1047
- package/dist/node/docs/views/docsIndex.dataView.js +0 -1041
- package/dist/node/docs/views/exampleCatalog.dataView.js +0 -1025
- package/dist/node/docs/views/index.js +0 -1240
- package/dist/node/events.js +0 -228
- package/dist/node/examples/docs/examples.docblock.js +0 -307
- package/dist/node/examples/index.js +0 -604
- package/dist/node/examples/registry.js +0 -286
- package/dist/node/examples/schema.js +0 -166
- package/dist/node/examples/types.js +0 -77
- package/dist/node/examples/validation.js +0 -287
- package/dist/node/experiments/docs/experiments.docblock.js +0 -291
- package/dist/node/experiments/evaluator.js +0 -155
- package/dist/node/experiments/spec-resolver.js +0 -0
- package/dist/node/experiments/spec.js +0 -227
- package/dist/node/features/index.js +0 -275
- package/dist/node/features/install.js +0 -95
- package/dist/node/features/registry.js +0 -192
- package/dist/node/features/types.js +0 -0
- package/dist/node/features/validation.js +0 -48
- package/dist/node/forms/docs/forms.docblock.js +0 -164
- package/dist/node/forms/forms.js +0 -332
- package/dist/node/forms/index.js +0 -332
- package/dist/node/index.js +0 -18236
- package/dist/node/install.js +0 -60
- package/dist/node/integrations/binding.js +0 -0
- package/dist/node/integrations/connection.js +0 -0
- package/dist/node/integrations/docs/integrations.docblock.js +0 -255
- package/dist/node/integrations/health.js +0 -103
- package/dist/node/integrations/index.js +0 -3809
- package/dist/node/integrations/integrations.capability.js +0 -726
- package/dist/node/integrations/integrations.feature.js +0 -301
- package/dist/node/integrations/meeting-recorder/contracts/index.js +0 -1231
- package/dist/node/integrations/meeting-recorder/contracts/meetings.js +0 -866
- package/dist/node/integrations/meeting-recorder/contracts/transcripts.js +0 -933
- package/dist/node/integrations/meeting-recorder/contracts/webhooks.js +0 -819
- package/dist/node/integrations/meeting-recorder/meeting-recorder.capability.js +0 -726
- package/dist/node/integrations/meeting-recorder/meeting-recorder.feature.js +0 -301
- package/dist/node/integrations/meeting-recorder/models.js +0 -152
- package/dist/node/integrations/meeting-recorder/telemetry.js +0 -84
- package/dist/node/integrations/openbanking/contracts/accounts.js +0 -974
- package/dist/node/integrations/openbanking/contracts/balances.js +0 -938
- package/dist/node/integrations/openbanking/contracts/index.js +0 -1399
- package/dist/node/integrations/openbanking/contracts/transactions.js +0 -944
- package/dist/node/integrations/openbanking/guards.js +0 -72
- package/dist/node/integrations/openbanking/models.js +0 -140
- package/dist/node/integrations/openbanking/openbanking.capability.js +0 -726
- package/dist/node/integrations/openbanking/openbanking.feature.js +0 -303
- package/dist/node/integrations/openbanking/telemetry.js +0 -81
- package/dist/node/integrations/operations.js +0 -943
- package/dist/node/integrations/providers/analytics-reader.js +0 -0
- package/dist/node/integrations/providers/analytics-writer.js +0 -0
- package/dist/node/integrations/providers/analytics.js +0 -0
- package/dist/node/integrations/providers/calendar.js +0 -0
- package/dist/node/integrations/providers/database.js +0 -0
- package/dist/node/integrations/providers/elevenlabs.js +0 -331
- package/dist/node/integrations/providers/email.js +0 -0
- package/dist/node/integrations/providers/embedding.js +0 -0
- package/dist/node/integrations/providers/fal.js +0 -357
- package/dist/node/integrations/providers/fathom.js +0 -371
- package/dist/node/integrations/providers/fireflies.js +0 -351
- package/dist/node/integrations/providers/gcs-storage.js +0 -342
- package/dist/node/integrations/providers/gmail.js +0 -354
- package/dist/node/integrations/providers/google-calendar.js +0 -337
- package/dist/node/integrations/providers/gradium.js +0 -355
- package/dist/node/integrations/providers/granola.js +0 -352
- package/dist/node/integrations/providers/index.js +0 -2142
- package/dist/node/integrations/providers/jira.js +0 -353
- package/dist/node/integrations/providers/linear.js +0 -352
- package/dist/node/integrations/providers/llm.js +0 -0
- package/dist/node/integrations/providers/meeting-recorder.js +0 -0
- package/dist/node/integrations/providers/mistral.js +0 -339
- package/dist/node/integrations/providers/notion.js +0 -358
- package/dist/node/integrations/providers/openbanking.js +0 -0
- package/dist/node/integrations/providers/payments.js +0 -0
- package/dist/node/integrations/providers/posthog.js +0 -349
- package/dist/node/integrations/providers/postmark.js +0 -343
- package/dist/node/integrations/providers/powens.js +0 -369
- package/dist/node/integrations/providers/project-management.js +0 -0
- package/dist/node/integrations/providers/qdrant.js +0 -346
- package/dist/node/integrations/providers/registry.js +0 -2100
- package/dist/node/integrations/providers/sms.js +0 -0
- package/dist/node/integrations/providers/storage.js +0 -0
- package/dist/node/integrations/providers/stripe.js +0 -350
- package/dist/node/integrations/providers/supabase-postgres.js +0 -332
- package/dist/node/integrations/providers/supabase-vector.js +0 -352
- package/dist/node/integrations/providers/tldv.js +0 -351
- package/dist/node/integrations/providers/twilio-sms.js +0 -336
- package/dist/node/integrations/providers/vector-store.js +0 -0
- package/dist/node/integrations/providers/voice.js +0 -0
- package/dist/node/integrations/runtime.js +0 -239
- package/dist/node/integrations/secrets/aws-secret-manager.js +0 -376
- package/dist/node/integrations/secrets/env-secret-provider.js +0 -189
- package/dist/node/integrations/secrets/gcp-secret-manager.js +0 -377
- package/dist/node/integrations/secrets/index.js +0 -1159
- package/dist/node/integrations/secrets/manager.js +0 -213
- package/dist/node/integrations/secrets/provider.js +0 -104
- package/dist/node/integrations/secrets/scaleway-secret-manager.js +0 -405
- package/dist/node/integrations/secrets-types.js +0 -0
- package/dist/node/integrations/spec.js +0 -232
- package/dist/node/jobs/define-job.js +0 -41
- package/dist/node/jobs/gcp-cloud-tasks.js +0 -103
- package/dist/node/jobs/gcp-pubsub.js +0 -91
- package/dist/node/jobs/handlers/gmail-sync-handler.js +0 -40
- package/dist/node/jobs/handlers/index.js +0 -83
- package/dist/node/jobs/handlers/ping-handler.js +0 -47
- package/dist/node/jobs/handlers/storage-document-handler.js +0 -47
- package/dist/node/jobs/index.js +0 -64
- package/dist/node/jobs/memory-queue.js +0 -129
- package/dist/node/jobs/queue.js +0 -55
- package/dist/node/jobs/scaleway-sqs-queue.js +0 -222
- package/dist/node/jsonschema.js +0 -73
- package/dist/node/knowledge/binding.js +0 -0
- package/dist/node/knowledge/docs/knowledge.docblock.js +0 -301
- package/dist/node/knowledge/index.js +0 -468
- package/dist/node/knowledge/ingestion/document-processor.js +0 -95
- package/dist/node/knowledge/ingestion/embedding-service.js +0 -57
- package/dist/node/knowledge/ingestion/gmail-adapter.js +0 -103
- package/dist/node/knowledge/ingestion/index.js +0 -252
- package/dist/node/knowledge/ingestion/storage-adapter.js +0 -62
- package/dist/node/knowledge/ingestion/vector-indexer.js +0 -63
- package/dist/node/knowledge/knowledge.capability.js +0 -726
- package/dist/node/knowledge/knowledge.feature.js +0 -301
- package/dist/node/knowledge/operations.js +0 -869
- package/dist/node/knowledge/query/index.js +0 -110
- package/dist/node/knowledge/query/service.js +0 -110
- package/dist/node/knowledge/runtime.js +0 -91
- package/dist/node/knowledge/source.js +0 -0
- package/dist/node/knowledge/spaces/email-threads.js +0 -102
- package/dist/node/knowledge/spaces/financial-docs.js +0 -102
- package/dist/node/knowledge/spaces/financial-overview.js +0 -102
- package/dist/node/knowledge/spaces/index.js +0 -273
- package/dist/node/knowledge/spaces/product-canon.js +0 -102
- package/dist/node/knowledge/spaces/support-faq.js +0 -103
- package/dist/node/knowledge/spaces/uploaded-docs.js +0 -102
- package/dist/node/knowledge/spec.js +0 -228
- package/dist/node/llm/exporters.js +0 -1261
- package/dist/node/llm/index.js +0 -1715
- package/dist/node/llm/prompts.js +0 -1706
- package/dist/node/llm/types.js +0 -0
- package/dist/node/markdown.js +0 -779
- package/dist/node/migrations.js +0 -67
- package/dist/node/model-registry.js +0 -64
- package/dist/node/onboarding-base.js +0 -810
- package/dist/node/openapi.js +0 -151
- package/dist/node/operations/index.js +0 -665
- package/dist/node/operations/operation.js +0 -51
- package/dist/node/operations/registry.js +0 -405
- package/dist/node/operations/report/getContractVerificationStatus.js +0 -170
- package/dist/node/operations/report/index.js +0 -305
- package/dist/node/ownership.js +0 -73
- package/dist/node/policy/context.js +0 -206
- package/dist/node/policy/docs/policy.docblock.js +0 -313
- package/dist/node/policy/engine.js +0 -325
- package/dist/node/policy/guards.js +0 -387
- package/dist/node/policy/index.js +0 -1313
- package/dist/node/policy/opa-adapter.js +0 -110
- package/dist/node/policy/registry.js +0 -221
- package/dist/node/policy/spec.js +0 -0
- package/dist/node/policy/validation.js +0 -391
- package/dist/node/presentations/docs/presentations-conventions.docblock.js +0 -171
- package/dist/node/presentations/index.js +0 -795
- package/dist/node/presentations/presentations.js +0 -38
- package/dist/node/presentations/registry.js +0 -221
- package/dist/node/presentations/transform-engine.js +0 -600
- package/dist/node/product-intent/contract-patch-intent.js +0 -68
- package/dist/node/product-intent/contract-spec-patch.js +0 -75
- package/dist/node/product-intent/evidence.js +0 -45
- package/dist/node/product-intent/findings.js +0 -81
- package/dist/node/product-intent/impact-report.js +0 -62
- package/dist/node/product-intent/index.js +0 -742
- package/dist/node/product-intent/insights.js +0 -63
- package/dist/node/product-intent/opportunity-brief.js +0 -106
- package/dist/node/product-intent/problems.js +0 -55
- package/dist/node/product-intent/registry.js +0 -242
- package/dist/node/product-intent/runtime.js +0 -320
- package/dist/node/product-intent/spec.js +0 -425
- package/dist/node/product-intent/task-pack.js +0 -69
- package/dist/node/product-intent/tickets.js +0 -57
- package/dist/node/product-intent/types.js +0 -378
- package/dist/node/product-intent/ui-wireframe.js +0 -73
- package/dist/node/prompt.js +0 -38
- package/dist/node/promptRegistry.js +0 -63
- package/dist/node/regenerator/adapters.js +0 -0
- package/dist/node/regenerator/docs/regenerator.docblock.js +0 -164
- package/dist/node/regenerator/executor.js +0 -157
- package/dist/node/regenerator/index.js +0 -342
- package/dist/node/regenerator/service.js +0 -183
- package/dist/node/regenerator/sinks.js +0 -64
- package/dist/node/regenerator/types.js +0 -0
- package/dist/node/regenerator/utils.js +0 -87
- package/dist/node/registry-utils.js +0 -163
- package/dist/node/registry.js +0 -215
- package/dist/node/resources.js +0 -83
- package/dist/node/schema-to-markdown.js +0 -278
- package/dist/node/serialization/index.js +0 -179
- package/dist/node/serialization/serializers.js +0 -180
- package/dist/node/serialization/types.js +0 -0
- package/dist/node/server/contracts-adapter-hydration.js +0 -71
- package/dist/node/server/contracts-adapter-input.js +0 -130
- package/dist/node/server/graphql-pothos.js +0 -338
- package/dist/node/server/index.js +0 -1469
- package/dist/node/server/mcp/createMcpServer.js +0 -994
- package/dist/node/server/mcp/mcpTypes.js +0 -0
- package/dist/node/server/mcp/registerPresentations.js +0 -877
- package/dist/node/server/mcp/registerPrompts.js +0 -109
- package/dist/node/server/mcp/registerResources.js +0 -75
- package/dist/node/server/mcp/registerTools.js +0 -86
- package/dist/node/server/provider-mcp.js +0 -994
- package/dist/node/server/rest-elysia.js +0 -209
- package/dist/node/server/rest-express.js +0 -224
- package/dist/node/server/rest-generic.js +0 -192
- package/dist/node/server/rest-next-app.js +0 -200
- package/dist/node/server/rest-next-mcp.js +0 -103
- package/dist/node/server/rest-next-pages.js +0 -211
- package/dist/node/telemetry/anomaly.js +0 -91
- package/dist/node/telemetry/docs/telemetry.docblock.js +0 -164
- package/dist/node/telemetry/index.js +0 -417
- package/dist/node/telemetry/spec.js +0 -261
- package/dist/node/telemetry/tracker.js +0 -129
- package/dist/node/tests/index.js +0 -231
- package/dist/node/tests/runner.js +0 -189
- package/dist/node/tests/spec.js +0 -74
- package/dist/node/themes.js +0 -225
- package/dist/node/translations/catalog.js +0 -0
- package/dist/node/translations/index.js +0 -533
- package/dist/node/translations/registry.js +0 -170
- package/dist/node/translations/spec.js +0 -36
- package/dist/node/translations/tenant.js +0 -0
- package/dist/node/translations/validation.js +0 -392
- package/dist/node/types.js +0 -0
- package/dist/node/versioning/index.js +0 -274
- package/dist/node/versioning/refs.js +0 -99
- package/dist/node/versioning/types.js +0 -55
- package/dist/node/versioning/utils.js +0 -184
- package/dist/node/workflow/adapters/db-adapter.js +0 -127
- package/dist/node/workflow/adapters/file-adapter.js +0 -38
- package/dist/node/workflow/adapters/index.js +0 -194
- package/dist/node/workflow/adapters/memory-store.js +0 -93
- package/dist/node/workflow/context.js +0 -247
- package/dist/node/workflow/expression.js +0 -157
- package/dist/node/workflow/index.js +0 -1546
- package/dist/node/workflow/overview.docblock.js +0 -164
- package/dist/node/workflow/runner.js +0 -532
- package/dist/node/workflow/sla-monitor.js +0 -84
- package/dist/node/workflow/spec.js +0 -221
- package/dist/node/workflow/state.js +0 -0
- package/dist/node/workflow/validation.js +0 -425
- package/dist/node/workspace-config/contractsrc-schema.js +0 -344
- package/dist/node/workspace-config/contractsrc-types.js +0 -0
- package/dist/node/workspace-config/index.js +0 -325
- package/dist/node/workspace-config/workspace-config.docblock.js +0 -188
- package/dist/onboarding-base.d.ts +0 -132
- package/dist/onboarding-base.d.ts.map +0 -1
- package/dist/onboarding-base.js +0 -810
- package/dist/openapi.d.ts +0 -34
- package/dist/openapi.d.ts.map +0 -1
- package/dist/openapi.js +0 -151
- package/dist/operations/index.d.ts +0 -4
- package/dist/operations/index.d.ts.map +0 -1
- package/dist/operations/index.js +0 -665
- package/dist/operations/operation.d.ts +0 -192
- package/dist/operations/operation.d.ts.map +0 -1
- package/dist/operations/operation.js +0 -51
- package/dist/operations/registry.d.ts +0 -59
- package/dist/operations/registry.d.ts.map +0 -1
- package/dist/operations/registry.js +0 -405
- package/dist/operations/report/getContractVerificationStatus.d.ts +0 -69
- package/dist/operations/report/getContractVerificationStatus.d.ts.map +0 -1
- package/dist/operations/report/getContractVerificationStatus.js +0 -170
- package/dist/operations/report/getContractVerificationStatus.test.d.ts +0 -2
- package/dist/operations/report/getContractVerificationStatus.test.d.ts.map +0 -1
- package/dist/operations/report/index.d.ts +0 -11
- package/dist/operations/report/index.d.ts.map +0 -1
- package/dist/operations/report/index.js +0 -305
- package/dist/operations/report/index.test.d.ts +0 -2
- package/dist/operations/report/index.test.d.ts.map +0 -1
- package/dist/ownership.d.ts +0 -212
- package/dist/ownership.d.ts.map +0 -1
- package/dist/ownership.js +0 -73
- package/dist/ownership.test.d.ts +0 -2
- package/dist/ownership.test.d.ts.map +0 -1
- package/dist/policy/context.d.ts +0 -235
- package/dist/policy/context.d.ts.map +0 -1
- package/dist/policy/context.js +0 -206
- package/dist/policy/context.test.d.ts +0 -2
- package/dist/policy/context.test.d.ts.map +0 -1
- package/dist/policy/docs/policy.docblock.d.ts +0 -3
- package/dist/policy/docs/policy.docblock.d.ts.map +0 -1
- package/dist/policy/docs/policy.docblock.js +0 -313
- package/dist/policy/engine.d.ts +0 -37
- package/dist/policy/engine.d.ts.map +0 -1
- package/dist/policy/engine.js +0 -325
- package/dist/policy/engine.test.d.ts +0 -2
- package/dist/policy/engine.test.d.ts.map +0 -1
- package/dist/policy/guards.d.ts +0 -157
- package/dist/policy/guards.d.ts.map +0 -1
- package/dist/policy/guards.js +0 -387
- package/dist/policy/guards.test.d.ts +0 -2
- package/dist/policy/guards.test.d.ts.map +0 -1
- package/dist/policy/index.d.ts +0 -13
- package/dist/policy/index.d.ts.map +0 -1
- package/dist/policy/index.js +0 -1313
- package/dist/policy/opa-adapter.d.ts +0 -42
- package/dist/policy/opa-adapter.d.ts.map +0 -1
- package/dist/policy/opa-adapter.js +0 -110
- package/dist/policy/opa-adapter.test.d.ts +0 -2
- package/dist/policy/opa-adapter.test.d.ts.map +0 -1
- package/dist/policy/registry.d.ts +0 -6
- package/dist/policy/registry.d.ts.map +0 -1
- package/dist/policy/registry.js +0 -221
- package/dist/policy/spec.d.ts +0 -103
- package/dist/policy/spec.d.ts.map +0 -1
- package/dist/policy/spec.js +0 -1
- package/dist/policy/validation.d.ts +0 -85
- package/dist/policy/validation.d.ts.map +0 -1
- package/dist/policy/validation.js +0 -391
- package/dist/policy/validation.test.d.ts +0 -2
- package/dist/policy/validation.test.d.ts.map +0 -1
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts +0 -3
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts.map +0 -1
- package/dist/presentations/docs/presentations-conventions.docblock.js +0 -171
- package/dist/presentations/index.d.ts +0 -4
- package/dist/presentations/index.d.ts.map +0 -1
- package/dist/presentations/index.js +0 -795
- package/dist/presentations/presentations.d.ts +0 -53
- package/dist/presentations/presentations.d.ts.map +0 -1
- package/dist/presentations/presentations.js +0 -38
- package/dist/presentations/registry.d.ts +0 -7
- package/dist/presentations/registry.d.ts.map +0 -1
- package/dist/presentations/registry.js +0 -221
- package/dist/presentations/transform-engine.d.ts +0 -63
- package/dist/presentations/transform-engine.d.ts.map +0 -1
- package/dist/presentations/transform-engine.js +0 -600
- package/dist/presentations/transform-engine.test.d.ts +0 -2
- package/dist/presentations/transform-engine.test.d.ts.map +0 -1
- package/dist/product-intent/contract-patch-intent.d.ts +0 -101
- package/dist/product-intent/contract-patch-intent.d.ts.map +0 -1
- package/dist/product-intent/contract-patch-intent.js +0 -68
- package/dist/product-intent/contract-spec-patch.d.ts +0 -87
- package/dist/product-intent/contract-spec-patch.d.ts.map +0 -1
- package/dist/product-intent/contract-spec-patch.js +0 -75
- package/dist/product-intent/evidence.d.ts +0 -15
- package/dist/product-intent/evidence.d.ts.map +0 -1
- package/dist/product-intent/evidence.js +0 -45
- package/dist/product-intent/findings.d.ts +0 -58
- package/dist/product-intent/findings.d.ts.map +0 -1
- package/dist/product-intent/findings.js +0 -81
- package/dist/product-intent/impact-report.d.ts +0 -58
- package/dist/product-intent/impact-report.d.ts.map +0 -1
- package/dist/product-intent/impact-report.js +0 -62
- package/dist/product-intent/index.d.ts +0 -14
- package/dist/product-intent/index.d.ts.map +0 -1
- package/dist/product-intent/index.js +0 -742
- package/dist/product-intent/insights.d.ts +0 -63
- package/dist/product-intent/insights.d.ts.map +0 -1
- package/dist/product-intent/insights.js +0 -63
- package/dist/product-intent/opportunity-brief.d.ts +0 -193
- package/dist/product-intent/opportunity-brief.d.ts.map +0 -1
- package/dist/product-intent/opportunity-brief.js +0 -106
- package/dist/product-intent/problems.d.ts +0 -60
- package/dist/product-intent/problems.d.ts.map +0 -1
- package/dist/product-intent/problems.js +0 -55
- package/dist/product-intent/registry.d.ts +0 -29
- package/dist/product-intent/registry.d.ts.map +0 -1
- package/dist/product-intent/registry.js +0 -242
- package/dist/product-intent/registry.test.d.ts +0 -2
- package/dist/product-intent/registry.test.d.ts.map +0 -1
- package/dist/product-intent/runtime.d.ts +0 -93
- package/dist/product-intent/runtime.d.ts.map +0 -1
- package/dist/product-intent/runtime.js +0 -320
- package/dist/product-intent/runtime.test.d.ts +0 -2
- package/dist/product-intent/runtime.test.d.ts.map +0 -1
- package/dist/product-intent/spec.d.ts +0 -665
- package/dist/product-intent/spec.d.ts.map +0 -1
- package/dist/product-intent/spec.js +0 -425
- package/dist/product-intent/task-pack.d.ts +0 -99
- package/dist/product-intent/task-pack.d.ts.map +0 -1
- package/dist/product-intent/task-pack.js +0 -69
- package/dist/product-intent/tickets.d.ts +0 -68
- package/dist/product-intent/tickets.d.ts.map +0 -1
- package/dist/product-intent/tickets.js +0 -57
- package/dist/product-intent/types.d.ts +0 -12
- package/dist/product-intent/types.d.ts.map +0 -1
- package/dist/product-intent/types.js +0 -378
- package/dist/product-intent/ui-wireframe.d.ts +0 -101
- package/dist/product-intent/ui-wireframe.d.ts.map +0 -1
- package/dist/product-intent/ui-wireframe.js +0 -73
- package/dist/prompt.d.ts +0 -50
- package/dist/prompt.d.ts.map +0 -1
- package/dist/prompt.js +0 -38
- package/dist/prompt.test.d.ts +0 -2
- package/dist/prompt.test.d.ts.map +0 -1
- package/dist/promptRegistry.d.ts +0 -12
- package/dist/promptRegistry.d.ts.map +0 -1
- package/dist/promptRegistry.js +0 -63
- package/dist/promptRegistry.test.d.ts +0 -2
- package/dist/promptRegistry.test.d.ts.map +0 -1
- package/dist/regenerator/adapters.d.ts +0 -16
- package/dist/regenerator/adapters.d.ts.map +0 -1
- package/dist/regenerator/adapters.js +0 -1
- package/dist/regenerator/docs/regenerator.docblock.d.ts +0 -3
- package/dist/regenerator/docs/regenerator.docblock.d.ts.map +0 -1
- package/dist/regenerator/docs/regenerator.docblock.js +0 -164
- package/dist/regenerator/executor.d.ts +0 -67
- package/dist/regenerator/executor.d.ts.map +0 -1
- package/dist/regenerator/executor.js +0 -157
- package/dist/regenerator/executor.test.d.ts +0 -2
- package/dist/regenerator/executor.test.d.ts.map +0 -1
- package/dist/regenerator/index.d.ts +0 -7
- package/dist/regenerator/index.d.ts.map +0 -1
- package/dist/regenerator/index.js +0 -342
- package/dist/regenerator/service.d.ts +0 -30
- package/dist/regenerator/service.d.ts.map +0 -1
- package/dist/regenerator/service.js +0 -183
- package/dist/regenerator/service.test.d.ts +0 -2
- package/dist/regenerator/service.test.d.ts.map +0 -1
- package/dist/regenerator/sinks.d.ts +0 -24
- package/dist/regenerator/sinks.d.ts.map +0 -1
- package/dist/regenerator/sinks.js +0 -64
- package/dist/regenerator/sinks.test.d.ts +0 -2
- package/dist/regenerator/sinks.test.d.ts.map +0 -1
- package/dist/regenerator/types.d.ts +0 -104
- package/dist/regenerator/types.d.ts.map +0 -1
- package/dist/regenerator/types.js +0 -1
- package/dist/regenerator/utils.d.ts +0 -7
- package/dist/regenerator/utils.d.ts.map +0 -1
- package/dist/regenerator/utils.js +0 -87
- package/dist/registry-utils.d.ts +0 -106
- package/dist/registry-utils.d.ts.map +0 -1
- package/dist/registry-utils.js +0 -163
- package/dist/registry-utils.test.d.ts +0 -2
- package/dist/registry-utils.test.d.ts.map +0 -1
- package/dist/registry.d.ts +0 -28
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -215
- package/dist/resources.d.ts +0 -61
- package/dist/resources.d.ts.map +0 -1
- package/dist/resources.js +0 -83
- package/dist/schema-to-markdown.d.ts +0 -57
- package/dist/schema-to-markdown.d.ts.map +0 -1
- package/dist/schema-to-markdown.js +0 -278
- package/dist/serialization/index.d.ts +0 -11
- package/dist/serialization/index.d.ts.map +0 -1
- package/dist/serialization/index.js +0 -179
- package/dist/serialization/serializers.d.ts +0 -36
- package/dist/serialization/serializers.d.ts.map +0 -1
- package/dist/serialization/serializers.js +0 -180
- package/dist/serialization/types.d.ts +0 -101
- package/dist/serialization/types.d.ts.map +0 -1
- package/dist/serialization/types.js +0 -1
- package/dist/server/contracts-adapter-hydration.d.ts +0 -12
- package/dist/server/contracts-adapter-hydration.d.ts.map +0 -1
- package/dist/server/contracts-adapter-hydration.js +0 -71
- package/dist/server/contracts-adapter-input.d.ts +0 -6
- package/dist/server/contracts-adapter-input.d.ts.map +0 -1
- package/dist/server/contracts-adapter-input.js +0 -130
- package/dist/server/graphql-pothos.d.ts +0 -27
- package/dist/server/graphql-pothos.d.ts.map +0 -1
- package/dist/server/graphql-pothos.js +0 -338
- package/dist/server/index.d.ts +0 -8
- package/dist/server/index.d.ts.map +0 -1
- package/dist/server/index.js +0 -1469
- package/dist/server/mcp/createMcpServer.d.ts +0 -11
- package/dist/server/mcp/createMcpServer.d.ts.map +0 -1
- package/dist/server/mcp/createMcpServer.js +0 -994
- package/dist/server/mcp/mcpTypes.d.ts +0 -23
- package/dist/server/mcp/mcpTypes.d.ts.map +0 -1
- package/dist/server/mcp/mcpTypes.js +0 -1
- package/dist/server/mcp/registerPresentations.d.ts +0 -4
- package/dist/server/mcp/registerPresentations.d.ts.map +0 -1
- package/dist/server/mcp/registerPresentations.js +0 -877
- package/dist/server/mcp/registerPrompts.d.ts +0 -5
- package/dist/server/mcp/registerPrompts.d.ts.map +0 -1
- package/dist/server/mcp/registerPrompts.js +0 -109
- package/dist/server/mcp/registerResources.d.ts +0 -5
- package/dist/server/mcp/registerResources.d.ts.map +0 -1
- package/dist/server/mcp/registerResources.js +0 -75
- package/dist/server/mcp/registerTools.d.ts +0 -5
- package/dist/server/mcp/registerTools.d.ts.map +0 -1
- package/dist/server/mcp/registerTools.js +0 -86
- package/dist/server/provider-mcp.d.ts +0 -2
- package/dist/server/provider-mcp.d.ts.map +0 -1
- package/dist/server/provider-mcp.js +0 -994
- package/dist/server/provider-mcp.test.d.ts +0 -2
- package/dist/server/provider-mcp.test.d.ts.map +0 -1
- package/dist/server/rest-elysia.d.ts +0 -37
- package/dist/server/rest-elysia.d.ts.map +0 -1
- package/dist/server/rest-elysia.js +0 -209
- package/dist/server/rest-express.d.ts +0 -12
- package/dist/server/rest-express.d.ts.map +0 -1
- package/dist/server/rest-express.js +0 -224
- package/dist/server/rest-generic.d.ts +0 -29
- package/dist/server/rest-generic.d.ts.map +0 -1
- package/dist/server/rest-generic.js +0 -192
- package/dist/server/rest-next-app.d.ts +0 -31
- package/dist/server/rest-next-app.d.ts.map +0 -1
- package/dist/server/rest-next-app.js +0 -200
- package/dist/server/rest-next-mcp.d.ts +0 -8
- package/dist/server/rest-next-mcp.d.ts.map +0 -1
- package/dist/server/rest-next-mcp.js +0 -103
- package/dist/server/rest-next-pages.d.ts +0 -6
- package/dist/server/rest-next-pages.d.ts.map +0 -1
- package/dist/server/rest-next-pages.js +0 -211
- package/dist/telemetry/anomaly.d.ts +0 -24
- package/dist/telemetry/anomaly.d.ts.map +0 -1
- package/dist/telemetry/anomaly.js +0 -91
- package/dist/telemetry/anomaly.test.d.ts +0 -2
- package/dist/telemetry/anomaly.test.d.ts.map +0 -1
- package/dist/telemetry/docs/telemetry.docblock.d.ts +0 -3
- package/dist/telemetry/docs/telemetry.docblock.d.ts.map +0 -1
- package/dist/telemetry/docs/telemetry.docblock.js +0 -164
- package/dist/telemetry/index.d.ts +0 -4
- package/dist/telemetry/index.d.ts.map +0 -1
- package/dist/telemetry/index.js +0 -417
- package/dist/telemetry/spec.d.ts +0 -88
- package/dist/telemetry/spec.d.ts.map +0 -1
- package/dist/telemetry/spec.js +0 -261
- package/dist/telemetry/spec.test.d.ts +0 -2
- package/dist/telemetry/spec.test.d.ts.map +0 -1
- package/dist/telemetry/tracker.d.ts +0 -49
- package/dist/telemetry/tracker.d.ts.map +0 -1
- package/dist/telemetry/tracker.js +0 -129
- package/dist/telemetry/tracker.test.d.ts +0 -2
- package/dist/telemetry/tracker.test.d.ts.map +0 -1
- package/dist/tests/index.d.ts +0 -3
- package/dist/tests/index.d.ts.map +0 -1
- package/dist/tests/index.js +0 -231
- package/dist/tests/runner.d.ts +0 -39
- package/dist/tests/runner.d.ts.map +0 -1
- package/dist/tests/runner.js +0 -189
- package/dist/tests/runner.test.d.ts +0 -2
- package/dist/tests/runner.test.d.ts.map +0 -1
- package/dist/tests/spec.d.ts +0 -83
- package/dist/tests/spec.d.ts.map +0 -1
- package/dist/tests/spec.js +0 -74
- package/dist/tests/spec.test.d.ts +0 -2
- package/dist/tests/spec.test.d.ts.map +0 -1
- package/dist/themes.d.ts +0 -51
- package/dist/themes.d.ts.map +0 -1
- package/dist/themes.js +0 -225
- package/dist/themes.test.d.ts +0 -2
- package/dist/themes.test.d.ts.map +0 -1
- package/dist/translations/catalog.d.ts +0 -26
- package/dist/translations/catalog.d.ts.map +0 -1
- package/dist/translations/catalog.js +0 -1
- package/dist/translations/index.d.ts +0 -45
- package/dist/translations/index.d.ts.map +0 -1
- package/dist/translations/index.js +0 -533
- package/dist/translations/registry.d.ts +0 -173
- package/dist/translations/registry.d.ts.map +0 -1
- package/dist/translations/registry.js +0 -170
- package/dist/translations/registry.test.d.ts +0 -2
- package/dist/translations/registry.test.d.ts.map +0 -1
- package/dist/translations/spec.d.ts +0 -154
- package/dist/translations/spec.d.ts.map +0 -1
- package/dist/translations/spec.js +0 -36
- package/dist/translations/spec.test.d.ts +0 -2
- package/dist/translations/spec.test.d.ts.map +0 -1
- package/dist/translations/tenant.d.ts +0 -12
- package/dist/translations/tenant.d.ts.map +0 -1
- package/dist/translations/tenant.js +0 -1
- package/dist/translations/validation.d.ts +0 -107
- package/dist/translations/validation.d.ts.map +0 -1
- package/dist/translations/validation.js +0 -392
- package/dist/translations/validation.test.d.ts +0 -2
- package/dist/translations/validation.test.d.ts.map +0 -1
- package/dist/types.d.ts +0 -213
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- package/dist/versioning/index.d.ts +0 -10
- package/dist/versioning/index.d.ts.map +0 -1
- package/dist/versioning/index.js +0 -274
- package/dist/versioning/refs.d.ts +0 -177
- package/dist/versioning/refs.d.ts.map +0 -1
- package/dist/versioning/refs.js +0 -99
- package/dist/versioning/refs.test.d.ts +0 -5
- package/dist/versioning/refs.test.d.ts.map +0 -1
- package/dist/versioning/types.d.ts +0 -131
- package/dist/versioning/types.d.ts.map +0 -1
- package/dist/versioning/types.js +0 -55
- package/dist/versioning/utils.d.ts +0 -94
- package/dist/versioning/utils.d.ts.map +0 -1
- package/dist/versioning/utils.js +0 -184
- package/dist/versioning/utils.test.d.ts +0 -5
- package/dist/versioning/utils.test.d.ts.map +0 -1
- package/dist/workflow/adapters/db-adapter.d.ts +0 -44
- package/dist/workflow/adapters/db-adapter.d.ts.map +0 -1
- package/dist/workflow/adapters/db-adapter.js +0 -127
- package/dist/workflow/adapters/file-adapter.d.ts +0 -11
- package/dist/workflow/adapters/file-adapter.d.ts.map +0 -1
- package/dist/workflow/adapters/file-adapter.js +0 -38
- package/dist/workflow/adapters/index.d.ts +0 -4
- package/dist/workflow/adapters/index.d.ts.map +0 -1
- package/dist/workflow/adapters/index.js +0 -194
- package/dist/workflow/adapters/memory-store.d.ts +0 -14
- package/dist/workflow/adapters/memory-store.d.ts.map +0 -1
- package/dist/workflow/adapters/memory-store.js +0 -93
- package/dist/workflow/context.d.ts +0 -218
- package/dist/workflow/context.d.ts.map +0 -1
- package/dist/workflow/context.js +0 -247
- package/dist/workflow/context.test.d.ts +0 -2
- package/dist/workflow/context.test.d.ts.map +0 -1
- package/dist/workflow/expression.d.ts +0 -7
- package/dist/workflow/expression.d.ts.map +0 -1
- package/dist/workflow/expression.js +0 -157
- package/dist/workflow/expression.test.d.ts +0 -2
- package/dist/workflow/expression.test.d.ts.map +0 -1
- package/dist/workflow/index.d.ts +0 -14
- package/dist/workflow/index.d.ts.map +0 -1
- package/dist/workflow/index.js +0 -1546
- package/dist/workflow/overview.docblock.d.ts +0 -3
- package/dist/workflow/overview.docblock.d.ts.map +0 -1
- package/dist/workflow/overview.docblock.js +0 -164
- package/dist/workflow/runner.d.ts +0 -72
- package/dist/workflow/runner.d.ts.map +0 -1
- package/dist/workflow/runner.js +0 -532
- package/dist/workflow/runner.test.d.ts +0 -2
- package/dist/workflow/runner.test.d.ts.map +0 -1
- package/dist/workflow/sla-monitor.d.ts +0 -17
- package/dist/workflow/sla-monitor.d.ts.map +0 -1
- package/dist/workflow/sla-monitor.js +0 -84
- package/dist/workflow/spec.d.ts +0 -82
- package/dist/workflow/spec.d.ts.map +0 -1
- package/dist/workflow/spec.js +0 -221
- package/dist/workflow/state.d.ts +0 -32
- package/dist/workflow/state.d.ts.map +0 -1
- package/dist/workflow/state.js +0 -1
- package/dist/workflow/validation.d.ts +0 -88
- package/dist/workflow/validation.d.ts.map +0 -1
- package/dist/workflow/validation.js +0 -425
- package/dist/workflow/validation.test.d.ts +0 -2
- package/dist/workflow/validation.test.d.ts.map +0 -1
- package/dist/workspace-config/contractsrc-schema.d.ts +0 -145
- package/dist/workspace-config/contractsrc-schema.d.ts.map +0 -1
- package/dist/workspace-config/contractsrc-schema.js +0 -344
- package/dist/workspace-config/contractsrc-schema.test.d.ts +0 -2
- package/dist/workspace-config/contractsrc-schema.test.d.ts.map +0 -1
- package/dist/workspace-config/contractsrc-types.d.ts +0 -343
- package/dist/workspace-config/contractsrc-types.d.ts.map +0 -1
- package/dist/workspace-config/contractsrc-types.js +0 -1
- package/dist/workspace-config/index.d.ts +0 -6
- package/dist/workspace-config/index.d.ts.map +0 -1
- package/dist/workspace-config/index.js +0 -325
- package/dist/workspace-config/workspace-config.docblock.d.ts +0 -3
- package/dist/workspace-config/workspace-config.docblock.d.ts.map +0 -1
- package/dist/workspace-config/workspace-config.docblock.js +0 -188
|
@@ -1,1379 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
7
|
-
var __toCommonJS = (from) => {
|
|
8
|
-
var entry = __moduleCache.get(from), desc;
|
|
9
|
-
if (entry)
|
|
10
|
-
return entry;
|
|
11
|
-
entry = __defProp({}, "__esModule", { value: true });
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
13
|
-
__getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
|
|
14
|
-
get: () => from[key],
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
}));
|
|
17
|
-
__moduleCache.set(from, entry);
|
|
18
|
-
return entry;
|
|
19
|
-
};
|
|
20
|
-
var __export = (target, all) => {
|
|
21
|
-
for (var name in all)
|
|
22
|
-
__defProp(target, name, {
|
|
23
|
-
get: all[name],
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
set: (newValue) => all[name] = () => newValue
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
30
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
|
-
|
|
32
|
-
// src/registry-utils.ts
|
|
33
|
-
var exports_registry_utils = {};
|
|
34
|
-
__export(exports_registry_utils, {
|
|
35
|
-
groupByToArray: () => groupByToArray,
|
|
36
|
-
groupByMultiple: () => groupByMultiple,
|
|
37
|
-
groupBy: () => groupBy,
|
|
38
|
-
getUniqueTags: () => getUniqueTags,
|
|
39
|
-
getUniqueOwners: () => getUniqueOwners,
|
|
40
|
-
getUniqueDomains: () => getUniqueDomains,
|
|
41
|
-
filterBy: () => filterBy,
|
|
42
|
-
GroupingStrategies: () => GroupingStrategies
|
|
43
|
-
});
|
|
44
|
-
function filterBy(items, filter) {
|
|
45
|
-
return items.filter((item) => {
|
|
46
|
-
if (filter.tags?.length) {
|
|
47
|
-
const hasMatchingTag = filter.tags.some((tag) => item.meta.tags?.includes(tag));
|
|
48
|
-
if (!hasMatchingTag)
|
|
49
|
-
return false;
|
|
50
|
-
}
|
|
51
|
-
if (filter.owners?.length) {
|
|
52
|
-
const hasMatchingOwner = filter.owners.some((owner) => item.meta.owners?.includes(owner));
|
|
53
|
-
if (!hasMatchingOwner)
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
if (filter.stability?.length) {
|
|
57
|
-
if (!filter.stability.includes(item.meta.stability ?? "stable")) {
|
|
58
|
-
return false;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
if (filter.domain) {
|
|
62
|
-
const itemDomain = GroupingStrategies.byDomain(item);
|
|
63
|
-
if (itemDomain !== filter.domain)
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
if (filter.keyPattern) {
|
|
67
|
-
const name = item.meta.key ?? item.meta.key ?? "";
|
|
68
|
-
const pattern = filter.keyPattern.replace(/\*/g, ".*").replace(/\?/g, ".");
|
|
69
|
-
const regex = new RegExp(`^${pattern}$`, "i");
|
|
70
|
-
if (!regex.test(name))
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
return true;
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function groupBy(items, keyFn) {
|
|
77
|
-
const groups = new Map;
|
|
78
|
-
for (const item of items) {
|
|
79
|
-
const key = keyFn(item);
|
|
80
|
-
const existing = groups.get(key);
|
|
81
|
-
if (existing) {
|
|
82
|
-
existing.push(item);
|
|
83
|
-
} else {
|
|
84
|
-
groups.set(key, [item]);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return groups;
|
|
88
|
-
}
|
|
89
|
-
function groupByToArray(items, keyFn) {
|
|
90
|
-
const map = groupBy(items, keyFn);
|
|
91
|
-
return Array.from(map.entries()).map(([key, items2]) => ({ key, items: items2 }));
|
|
92
|
-
}
|
|
93
|
-
function groupByMultiple(items, keysFn) {
|
|
94
|
-
const groups = new Map;
|
|
95
|
-
for (const item of items) {
|
|
96
|
-
const keys = keysFn(item);
|
|
97
|
-
for (const key of keys) {
|
|
98
|
-
const existing = groups.get(key);
|
|
99
|
-
if (existing) {
|
|
100
|
-
existing.push(item);
|
|
101
|
-
} else {
|
|
102
|
-
groups.set(key, [item]);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
return groups;
|
|
107
|
-
}
|
|
108
|
-
function getUniqueTags(items) {
|
|
109
|
-
const tags = new Set;
|
|
110
|
-
for (const item of items) {
|
|
111
|
-
for (const tag of item.meta.tags ?? []) {
|
|
112
|
-
tags.add(tag);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
return Array.from(tags).sort();
|
|
116
|
-
}
|
|
117
|
-
function getUniqueOwners(items) {
|
|
118
|
-
const owners = new Set;
|
|
119
|
-
for (const item of items) {
|
|
120
|
-
for (const owner of item.meta.owners ?? []) {
|
|
121
|
-
owners.add(owner);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return Array.from(owners).sort();
|
|
125
|
-
}
|
|
126
|
-
function getUniqueDomains(items) {
|
|
127
|
-
const domains = new Set;
|
|
128
|
-
for (const item of items) {
|
|
129
|
-
domains.add(GroupingStrategies.byDomain(item));
|
|
130
|
-
}
|
|
131
|
-
return Array.from(domains).sort();
|
|
132
|
-
}
|
|
133
|
-
var GroupingStrategies;
|
|
134
|
-
var init_registry_utils = __esm(() => {
|
|
135
|
-
GroupingStrategies = {
|
|
136
|
-
byTag: (item) => item.meta.tags?.[0] ?? "untagged",
|
|
137
|
-
byAllTags: (item) => item.meta.tags?.length ? item.meta.tags : ["untagged"],
|
|
138
|
-
byOwner: (item) => item.meta.owners?.[0] ?? "unowned",
|
|
139
|
-
byDomain: (item) => {
|
|
140
|
-
const name = item.meta.key ?? item.meta.key ?? "";
|
|
141
|
-
return name.split(".")[0] ?? "default";
|
|
142
|
-
},
|
|
143
|
-
byStability: (item) => item.meta.stability ?? "stable",
|
|
144
|
-
byUrlPath: (level) => (item) => {
|
|
145
|
-
if (!item.path)
|
|
146
|
-
return "root";
|
|
147
|
-
const segments = item.path.split("/").filter(Boolean);
|
|
148
|
-
return segments.slice(0, level).join("/") || "root";
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
// src/registry.ts
|
|
154
|
-
init_registry_utils();
|
|
155
|
-
import { compareVersions } from "compare-versions";
|
|
156
|
-
var keyOfSpecContract = (spec) => `${spec.meta.key}.v${spec.meta.version}`;
|
|
157
|
-
|
|
158
|
-
class SpecContractRegistry {
|
|
159
|
-
contractType;
|
|
160
|
-
items = new Map;
|
|
161
|
-
constructor(contractType, items) {
|
|
162
|
-
this.contractType = contractType;
|
|
163
|
-
if (items) {
|
|
164
|
-
items.forEach((p) => this.register(p));
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
register(p) {
|
|
168
|
-
const key = keyOfSpecContract(p);
|
|
169
|
-
if (this.items.has(key))
|
|
170
|
-
throw new Error(`Duplicate contract \`${this.contractType}\` ${key}`);
|
|
171
|
-
this.items.set(key, p);
|
|
172
|
-
return this;
|
|
173
|
-
}
|
|
174
|
-
count() {
|
|
175
|
-
return this.items.size;
|
|
176
|
-
}
|
|
177
|
-
list() {
|
|
178
|
-
return [...this.items.values()];
|
|
179
|
-
}
|
|
180
|
-
get(key, version) {
|
|
181
|
-
if (version != null)
|
|
182
|
-
return this.items.get(`${key}.v${version}`);
|
|
183
|
-
let candidate;
|
|
184
|
-
for (const [k, p] of this.items.entries()) {
|
|
185
|
-
if (!k.startsWith(`${key}.v`))
|
|
186
|
-
continue;
|
|
187
|
-
if (!candidate || compareVersions(p.meta.version, candidate.meta.version) > 0) {
|
|
188
|
-
candidate = p;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
return candidate;
|
|
192
|
-
}
|
|
193
|
-
has(key, version) {
|
|
194
|
-
return !!this.get(key, version);
|
|
195
|
-
}
|
|
196
|
-
filter(criteria) {
|
|
197
|
-
return filterBy(this.list(), criteria);
|
|
198
|
-
}
|
|
199
|
-
listByTag(tag) {
|
|
200
|
-
return this.list().filter((p) => p.meta.tags?.includes(tag));
|
|
201
|
-
}
|
|
202
|
-
listByOwner(owner) {
|
|
203
|
-
return this.list().filter((p) => p.meta.owners?.includes(owner));
|
|
204
|
-
}
|
|
205
|
-
groupBy(keyFn) {
|
|
206
|
-
return groupBy(this.list(), keyFn);
|
|
207
|
-
}
|
|
208
|
-
getUniqueTags() {
|
|
209
|
-
return getUniqueTags(this.list());
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// src/schema-to-markdown.ts
|
|
214
|
-
import { isSchemaModel } from "@contractspec/lib.schema";
|
|
215
|
-
function schemaToMarkdown(schema, data, options = {}) {
|
|
216
|
-
const { format = "auto", title, description, maxDepth = 2 } = options;
|
|
217
|
-
const lines = [];
|
|
218
|
-
if (title) {
|
|
219
|
-
lines.push(`# ${title}`, "");
|
|
220
|
-
}
|
|
221
|
-
if (description) {
|
|
222
|
-
lines.push(`> ${description}`, "");
|
|
223
|
-
}
|
|
224
|
-
const effectiveFormat = format === "auto" ? Array.isArray(data) ? "table" : "detail" : format;
|
|
225
|
-
if (effectiveFormat === "table" && Array.isArray(data)) {
|
|
226
|
-
lines.push(schemaToMarkdownTable(schema, data, options));
|
|
227
|
-
} else if (effectiveFormat === "list" && Array.isArray(data)) {
|
|
228
|
-
lines.push(schemaToMarkdownList(schema, data, options));
|
|
229
|
-
} else if (!Array.isArray(data) && data !== null && typeof data === "object") {
|
|
230
|
-
lines.push(schemaToMarkdownDetail(schema, data, { ...options, maxDepth }));
|
|
231
|
-
} else {
|
|
232
|
-
lines.push(`**Data:** ${String(data)}`, "");
|
|
233
|
-
}
|
|
234
|
-
return lines.join(`
|
|
235
|
-
`);
|
|
236
|
-
}
|
|
237
|
-
function schemaToMarkdownTable(schema, items, options = {}) {
|
|
238
|
-
const { maxItems = 100, includeFields, excludeFields = [] } = options;
|
|
239
|
-
const fields = getFieldMeta(schema, includeFields, excludeFields);
|
|
240
|
-
if (fields.length === 0 || items.length === 0) {
|
|
241
|
-
return `_No data available_
|
|
242
|
-
`;
|
|
243
|
-
}
|
|
244
|
-
const limitedItems = items.slice(0, maxItems);
|
|
245
|
-
const lines = [];
|
|
246
|
-
const headers = fields.map((f) => f.label);
|
|
247
|
-
lines.push(`| ${headers.join(" | ")} |`);
|
|
248
|
-
lines.push(`| ${headers.map(() => "---").join(" | ")} |`);
|
|
249
|
-
for (const item of limitedItems) {
|
|
250
|
-
const row = fields.map((f) => formatCellValue(getFieldValue(item, f.name)));
|
|
251
|
-
lines.push(`| ${row.join(" | ")} |`);
|
|
252
|
-
}
|
|
253
|
-
if (items.length > maxItems) {
|
|
254
|
-
lines.push("", `_Showing ${maxItems} of ${items.length} items_`);
|
|
255
|
-
}
|
|
256
|
-
lines.push("");
|
|
257
|
-
return lines.join(`
|
|
258
|
-
`);
|
|
259
|
-
}
|
|
260
|
-
function schemaToMarkdownList(schema, items, options = {}) {
|
|
261
|
-
const {
|
|
262
|
-
maxItems = 50,
|
|
263
|
-
summaryFields,
|
|
264
|
-
includeFields,
|
|
265
|
-
excludeFields = []
|
|
266
|
-
} = options;
|
|
267
|
-
const fields = getFieldMeta(schema, includeFields, excludeFields);
|
|
268
|
-
const displayFields = summaryFields ? fields.filter((f) => summaryFields.includes(f.name)) : fields.slice(0, 3);
|
|
269
|
-
if (displayFields.length === 0 || items.length === 0) {
|
|
270
|
-
return `_No data available_
|
|
271
|
-
`;
|
|
272
|
-
}
|
|
273
|
-
const limitedItems = items.slice(0, maxItems);
|
|
274
|
-
const lines = [];
|
|
275
|
-
for (const item of limitedItems) {
|
|
276
|
-
const primaryValue = formatCellValue(getFieldValue(item, displayFields[0]?.name ?? "id"));
|
|
277
|
-
const secondaryValues = displayFields.slice(1).map((f) => `${f.label}: ${formatCellValue(getFieldValue(item, f.name))}`).join(" · ");
|
|
278
|
-
const itemLine = secondaryValues ? `- **${primaryValue}** (${secondaryValues})` : `- **${primaryValue}**`;
|
|
279
|
-
lines.push(itemLine);
|
|
280
|
-
}
|
|
281
|
-
if (items.length > maxItems) {
|
|
282
|
-
lines.push("", `_Showing ${maxItems} of ${items.length} items_`);
|
|
283
|
-
}
|
|
284
|
-
lines.push("");
|
|
285
|
-
return lines.join(`
|
|
286
|
-
`);
|
|
287
|
-
}
|
|
288
|
-
function schemaToMarkdownDetail(schema, item, options = {}) {
|
|
289
|
-
const { includeFields, excludeFields = [], maxDepth = 2 } = options;
|
|
290
|
-
if (item === null || typeof item !== "object") {
|
|
291
|
-
return `_No data available_
|
|
292
|
-
`;
|
|
293
|
-
}
|
|
294
|
-
const fields = getFieldMeta(schema, includeFields, excludeFields);
|
|
295
|
-
if (fields.length === 0) {
|
|
296
|
-
return `_No fields to display_
|
|
297
|
-
`;
|
|
298
|
-
}
|
|
299
|
-
const lines = [];
|
|
300
|
-
for (const field of fields) {
|
|
301
|
-
const value = getFieldValue(item, field.name);
|
|
302
|
-
const formattedValue = formatDetailValue(value, maxDepth, 0);
|
|
303
|
-
lines.push(`**${field.label}:** ${formattedValue}`);
|
|
304
|
-
}
|
|
305
|
-
lines.push("");
|
|
306
|
-
return lines.join(`
|
|
307
|
-
`);
|
|
308
|
-
}
|
|
309
|
-
function schemaToMarkdownSummary(items, options = {}) {
|
|
310
|
-
const { numericFields = [], countByField } = options;
|
|
311
|
-
const lines = [];
|
|
312
|
-
lines.push(`**Total Items:** ${items.length}`);
|
|
313
|
-
for (const fieldName of numericFields) {
|
|
314
|
-
const values = items.map((item) => getFieldValue(item, fieldName)).filter((v) => typeof v === "number");
|
|
315
|
-
if (values.length > 0) {
|
|
316
|
-
const sum = values.reduce((a, b) => a + b, 0);
|
|
317
|
-
const avg = sum / values.length;
|
|
318
|
-
const min = Math.min(...values);
|
|
319
|
-
const max = Math.max(...values);
|
|
320
|
-
lines.push(`**${formatFieldName(fieldName)}:** Sum: ${formatNumber(sum)}, Avg: ${formatNumber(avg)}, Min: ${formatNumber(min)}, Max: ${formatNumber(max)}`);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
if (countByField) {
|
|
324
|
-
const counts = {};
|
|
325
|
-
for (const item of items) {
|
|
326
|
-
const value = String(getFieldValue(item, countByField) ?? "Unknown");
|
|
327
|
-
counts[value] = (counts[value] ?? 0) + 1;
|
|
328
|
-
}
|
|
329
|
-
lines.push("", `**By ${formatFieldName(countByField)}:**`);
|
|
330
|
-
for (const [value, count] of Object.entries(counts)) {
|
|
331
|
-
lines.push(`- ${value}: ${count}`);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
lines.push("");
|
|
335
|
-
return lines.join(`
|
|
336
|
-
`);
|
|
337
|
-
}
|
|
338
|
-
function getFieldMeta(schema, includeFields, excludeFields = []) {
|
|
339
|
-
if (!isSchemaModel(schema)) {
|
|
340
|
-
return [];
|
|
341
|
-
}
|
|
342
|
-
const schemaFields = schema.config.fields;
|
|
343
|
-
const fieldNames = Object.keys(schemaFields);
|
|
344
|
-
const filteredFields = fieldNames.filter((name) => {
|
|
345
|
-
if (excludeFields.includes(name))
|
|
346
|
-
return false;
|
|
347
|
-
if (includeFields && !includeFields.includes(name))
|
|
348
|
-
return false;
|
|
349
|
-
return true;
|
|
350
|
-
});
|
|
351
|
-
return filteredFields.map((name) => {
|
|
352
|
-
const fieldConfig = schemaFields[name];
|
|
353
|
-
const isNested = Boolean(fieldConfig?.type && typeof fieldConfig.type === "object" && "config" in fieldConfig.type && typeof fieldConfig.type.config?.fields === "object");
|
|
354
|
-
return {
|
|
355
|
-
name,
|
|
356
|
-
label: formatFieldName(name),
|
|
357
|
-
isOptional: fieldConfig?.isOptional ?? false,
|
|
358
|
-
isArray: fieldConfig?.isArray === true,
|
|
359
|
-
isNested
|
|
360
|
-
};
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
function getFieldValue(item, fieldName) {
|
|
364
|
-
if (item === null || typeof item !== "object")
|
|
365
|
-
return;
|
|
366
|
-
const obj = item;
|
|
367
|
-
if (fieldName.includes(".")) {
|
|
368
|
-
const parts = fieldName.split(".");
|
|
369
|
-
let current = obj;
|
|
370
|
-
for (const part of parts) {
|
|
371
|
-
if (current === null || typeof current !== "object")
|
|
372
|
-
return;
|
|
373
|
-
current = current[part];
|
|
374
|
-
}
|
|
375
|
-
return current;
|
|
376
|
-
}
|
|
377
|
-
return obj[fieldName];
|
|
378
|
-
}
|
|
379
|
-
function formatCellValue(value) {
|
|
380
|
-
if (value === null || value === undefined)
|
|
381
|
-
return "-";
|
|
382
|
-
if (typeof value === "boolean")
|
|
383
|
-
return value ? "✓" : "✗";
|
|
384
|
-
if (typeof value === "number")
|
|
385
|
-
return formatNumber(value);
|
|
386
|
-
if (value instanceof Date)
|
|
387
|
-
return formatDate(value);
|
|
388
|
-
if (typeof value === "string" && isISODate(value))
|
|
389
|
-
return formatDate(new Date(value));
|
|
390
|
-
if (Array.isArray(value))
|
|
391
|
-
return `[${value.length} items]`;
|
|
392
|
-
if (typeof value === "object")
|
|
393
|
-
return "[Object]";
|
|
394
|
-
const str = String(value);
|
|
395
|
-
return str.length > 50 ? `${str.slice(0, 47)}...` : str.replace(/\|/g, "\\|");
|
|
396
|
-
}
|
|
397
|
-
function formatDetailValue(value, maxDepth, currentDepth) {
|
|
398
|
-
if (value === null || value === undefined)
|
|
399
|
-
return "_none_";
|
|
400
|
-
if (typeof value === "boolean")
|
|
401
|
-
return value ? "Yes" : "No";
|
|
402
|
-
if (typeof value === "number")
|
|
403
|
-
return formatNumber(value);
|
|
404
|
-
if (value instanceof Date)
|
|
405
|
-
return formatDate(value);
|
|
406
|
-
if (typeof value === "string" && isISODate(value))
|
|
407
|
-
return formatDate(new Date(value));
|
|
408
|
-
if (Array.isArray(value)) {
|
|
409
|
-
if (value.length === 0)
|
|
410
|
-
return "_empty list_";
|
|
411
|
-
if (currentDepth >= maxDepth)
|
|
412
|
-
return `[${value.length} items]`;
|
|
413
|
-
if (value.length <= 5 && value.every((v) => typeof v !== "object")) {
|
|
414
|
-
return value.map((v) => formatCellValue(v)).join(", ");
|
|
415
|
-
}
|
|
416
|
-
return `[${value.length} items]`;
|
|
417
|
-
}
|
|
418
|
-
if (typeof value === "object") {
|
|
419
|
-
if (currentDepth >= maxDepth)
|
|
420
|
-
return "[Object]";
|
|
421
|
-
const keys = Object.keys(value);
|
|
422
|
-
return `{${keys.length} fields}`;
|
|
423
|
-
}
|
|
424
|
-
return String(value);
|
|
425
|
-
}
|
|
426
|
-
function formatFieldName(name) {
|
|
427
|
-
return name.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/_/g, " ").replace(/^\w/, (c) => c.toUpperCase());
|
|
428
|
-
}
|
|
429
|
-
function formatNumber(value) {
|
|
430
|
-
if (Math.abs(value) >= 1000) {
|
|
431
|
-
return new Intl.NumberFormat("en-US", {
|
|
432
|
-
maximumFractionDigits: 2
|
|
433
|
-
}).format(value);
|
|
434
|
-
}
|
|
435
|
-
if (Number.isInteger(value)) {
|
|
436
|
-
return String(value);
|
|
437
|
-
}
|
|
438
|
-
return value.toFixed(2);
|
|
439
|
-
}
|
|
440
|
-
function formatDate(date) {
|
|
441
|
-
return date.toLocaleDateString("en-US", {
|
|
442
|
-
year: "numeric",
|
|
443
|
-
month: "short",
|
|
444
|
-
day: "numeric"
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
function isISODate(str) {
|
|
448
|
-
if (!/^\d{4}-\d{2}-\d{2}/.test(str))
|
|
449
|
-
return false;
|
|
450
|
-
const date = new Date(str);
|
|
451
|
-
return !isNaN(date.getTime());
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
// src/presentations/transform-engine.ts
|
|
455
|
-
import React from "react";
|
|
456
|
-
import TurndownService from "turndown";
|
|
457
|
-
var turndown = new TurndownService;
|
|
458
|
-
function renderTextNode(node) {
|
|
459
|
-
const text = node.text ?? "";
|
|
460
|
-
if (!node.marks || node.marks.length === 0)
|
|
461
|
-
return text;
|
|
462
|
-
return node.marks.reduce((acc, mark) => {
|
|
463
|
-
switch (mark.type) {
|
|
464
|
-
case "bold":
|
|
465
|
-
return `**${acc}**`;
|
|
466
|
-
case "italic":
|
|
467
|
-
return `*${acc}*`;
|
|
468
|
-
case "underline":
|
|
469
|
-
return `__${acc}__`;
|
|
470
|
-
case "strike":
|
|
471
|
-
return `~~${acc}~~`;
|
|
472
|
-
case "code":
|
|
473
|
-
return `\`${acc}\``;
|
|
474
|
-
case "link": {
|
|
475
|
-
const href = mark.attrs?.href ?? "";
|
|
476
|
-
return href ? `[${acc}](${href})` : acc;
|
|
477
|
-
}
|
|
478
|
-
default:
|
|
479
|
-
return acc;
|
|
480
|
-
}
|
|
481
|
-
}, text);
|
|
482
|
-
}
|
|
483
|
-
function renderInline(nodes) {
|
|
484
|
-
if (!nodes?.length)
|
|
485
|
-
return "";
|
|
486
|
-
return nodes.map((child) => renderNode(child)).join("");
|
|
487
|
-
}
|
|
488
|
-
function renderList(nodes, ordered = false) {
|
|
489
|
-
if (!nodes?.length)
|
|
490
|
-
return "";
|
|
491
|
-
let counter = 1;
|
|
492
|
-
return nodes.map((item) => {
|
|
493
|
-
const body = renderInline(item.content ?? []);
|
|
494
|
-
if (!body)
|
|
495
|
-
return "";
|
|
496
|
-
const prefix = ordered ? `${counter++}. ` : "- ";
|
|
497
|
-
return `${prefix}${body}`;
|
|
498
|
-
}).filter(Boolean).join(`
|
|
499
|
-
`);
|
|
500
|
-
}
|
|
501
|
-
function renderNode(node) {
|
|
502
|
-
switch (node.type) {
|
|
503
|
-
case "doc":
|
|
504
|
-
return renderInline(node.content);
|
|
505
|
-
case "paragraph": {
|
|
506
|
-
const text = renderInline(node.content);
|
|
507
|
-
return text.trim().length ? text : "";
|
|
508
|
-
}
|
|
509
|
-
case "heading": {
|
|
510
|
-
const levelAttr = node.attrs?.level;
|
|
511
|
-
const levelVal = typeof levelAttr === "number" ? levelAttr : 1;
|
|
512
|
-
const level = Math.min(Math.max(levelVal, 1), 6);
|
|
513
|
-
return `${"#".repeat(level)} ${renderInline(node.content)}`.trim();
|
|
514
|
-
}
|
|
515
|
-
case "bullet_list":
|
|
516
|
-
return renderList(node.content, false);
|
|
517
|
-
case "ordered_list":
|
|
518
|
-
return renderList(node.content, true);
|
|
519
|
-
case "list_item":
|
|
520
|
-
return renderInline(node.content);
|
|
521
|
-
case "blockquote": {
|
|
522
|
-
const body = renderInline(node.content);
|
|
523
|
-
return body.split(`
|
|
524
|
-
`).map((line) => `> ${line}`).join(`
|
|
525
|
-
`);
|
|
526
|
-
}
|
|
527
|
-
case "code_block": {
|
|
528
|
-
const body = renderInline(node.content);
|
|
529
|
-
return body ? `\`\`\`
|
|
530
|
-
${body}
|
|
531
|
-
\`\`\`` : "";
|
|
532
|
-
}
|
|
533
|
-
case "horizontal_rule":
|
|
534
|
-
return "---";
|
|
535
|
-
case "hard_break":
|
|
536
|
-
return `
|
|
537
|
-
`;
|
|
538
|
-
case "text":
|
|
539
|
-
return renderTextNode(node);
|
|
540
|
-
default:
|
|
541
|
-
if (node.text)
|
|
542
|
-
return renderTextNode(node);
|
|
543
|
-
return "";
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
function blockNoteToMarkdown(docJson) {
|
|
547
|
-
if (typeof docJson === "string")
|
|
548
|
-
return docJson;
|
|
549
|
-
if (docJson && typeof docJson === "object" && "html" in docJson) {
|
|
550
|
-
const html = String(docJson.html);
|
|
551
|
-
return turndown.turndown(html);
|
|
552
|
-
}
|
|
553
|
-
const root = docJson;
|
|
554
|
-
if (root?.type === "doc" || root?.content) {
|
|
555
|
-
const blocks = (root.content ?? []).map((n) => renderNode(n)).filter(Boolean);
|
|
556
|
-
return blocks.join(`
|
|
557
|
-
|
|
558
|
-
`).trim();
|
|
559
|
-
}
|
|
560
|
-
try {
|
|
561
|
-
return JSON.stringify(docJson, null, 2);
|
|
562
|
-
} catch {
|
|
563
|
-
return String(docJson);
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
class TransformEngine {
|
|
568
|
-
renderers = new Map;
|
|
569
|
-
validators = [];
|
|
570
|
-
register(renderer) {
|
|
571
|
-
const arr = this.renderers.get(renderer.target) ?? [];
|
|
572
|
-
arr.push(renderer);
|
|
573
|
-
this.renderers.set(renderer.target, arr);
|
|
574
|
-
return this;
|
|
575
|
-
}
|
|
576
|
-
prependRegister(renderer) {
|
|
577
|
-
const arr = this.renderers.get(renderer.target) ?? [];
|
|
578
|
-
arr.unshift(renderer);
|
|
579
|
-
this.renderers.set(renderer.target, arr);
|
|
580
|
-
return this;
|
|
581
|
-
}
|
|
582
|
-
addValidator(v) {
|
|
583
|
-
this.validators.push(v);
|
|
584
|
-
return this;
|
|
585
|
-
}
|
|
586
|
-
async render(target, desc, ctx) {
|
|
587
|
-
if (!desc.targets.includes(target))
|
|
588
|
-
throw new Error(`Target ${target} not declared for ${desc.meta.key}.v${desc.meta.version}`);
|
|
589
|
-
for (const v of this.validators)
|
|
590
|
-
await v.validate(desc, target, ctx);
|
|
591
|
-
const arr = this.renderers.get(target) ?? [];
|
|
592
|
-
for (const r of arr) {
|
|
593
|
-
try {
|
|
594
|
-
const out = await r.render(desc, ctx);
|
|
595
|
-
return out;
|
|
596
|
-
} catch (_e) {}
|
|
597
|
-
}
|
|
598
|
-
throw new Error(`No renderer available for ${target}`);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
function createDefaultTransformEngine() {
|
|
602
|
-
const engine = new TransformEngine;
|
|
603
|
-
const applyPii = (desc, obj) => {
|
|
604
|
-
const clone = JSON.parse(JSON.stringify(obj));
|
|
605
|
-
const paths = desc.policy?.pii ?? [];
|
|
606
|
-
const setAtPath = (root, path) => {
|
|
607
|
-
const segs = path.replace(/^\//, "").replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
|
|
608
|
-
let cur = root;
|
|
609
|
-
for (let i = 0;i < segs.length - 1; i++) {
|
|
610
|
-
const k = segs[i];
|
|
611
|
-
if (!k)
|
|
612
|
-
continue;
|
|
613
|
-
if (cur && typeof cur === "object" && k in cur) {
|
|
614
|
-
cur = cur[k];
|
|
615
|
-
} else
|
|
616
|
-
return;
|
|
617
|
-
}
|
|
618
|
-
const last = segs[segs.length - 1];
|
|
619
|
-
if (cur && typeof cur === "object" && last && last in cur)
|
|
620
|
-
cur[last] = "[REDACTED]";
|
|
621
|
-
};
|
|
622
|
-
for (const p of paths)
|
|
623
|
-
setAtPath(clone, p);
|
|
624
|
-
return clone;
|
|
625
|
-
};
|
|
626
|
-
engine.register({
|
|
627
|
-
target: "markdown",
|
|
628
|
-
async render(desc, ctx) {
|
|
629
|
-
let data = ctx?.data;
|
|
630
|
-
if (!data && ctx?.fetchData) {
|
|
631
|
-
data = await ctx.fetchData();
|
|
632
|
-
}
|
|
633
|
-
if (desc.source.type === "component" && desc.source.props && data !== undefined) {
|
|
634
|
-
const isArray = Array.isArray(data);
|
|
635
|
-
const isSimpleObject = !isArray && typeof data === "object" && data !== null && !Object.values(data).some((v) => Array.isArray(v) || typeof v === "object" && v !== null);
|
|
636
|
-
if (isArray || isSimpleObject) {
|
|
637
|
-
const body = schemaToMarkdown(desc.source.props, data, {
|
|
638
|
-
title: desc.meta.description ?? desc.meta.key,
|
|
639
|
-
description: `${desc.meta.key} v${desc.meta.version}`
|
|
640
|
-
});
|
|
641
|
-
return { mimeType: "text/markdown", body };
|
|
642
|
-
}
|
|
643
|
-
throw new Error(`Complex data structure for ${desc.meta.key} - expecting custom renderer`);
|
|
644
|
-
}
|
|
645
|
-
if (desc.source.type === "blocknotejs") {
|
|
646
|
-
const markdown = blockNoteToMarkdown(desc.source.docJson);
|
|
647
|
-
const redacted = applyPii(desc, { text: markdown });
|
|
648
|
-
return { mimeType: "text/markdown", body: String(redacted.text) };
|
|
649
|
-
}
|
|
650
|
-
if (desc.source.type === "component" && data !== undefined) {
|
|
651
|
-
throw new Error(`No schema (source.props) available for ${desc.meta.key} - expecting custom renderer`);
|
|
652
|
-
}
|
|
653
|
-
if (desc.source.type === "component") {
|
|
654
|
-
const header = `# ${desc.meta.key} v${desc.meta.version}`;
|
|
655
|
-
const about = desc.meta.description ? `
|
|
656
|
-
|
|
657
|
-
${desc.meta.description}` : "";
|
|
658
|
-
const tags = desc.meta.tags && desc.meta.tags.length ? `
|
|
659
|
-
|
|
660
|
-
Tags: ${desc.meta.tags.join(", ")}` : "";
|
|
661
|
-
const owners = desc.meta.owners && desc.meta.owners.length ? `
|
|
662
|
-
|
|
663
|
-
Owners: ${desc.meta.owners.join(", ")}` : "";
|
|
664
|
-
const comp = `
|
|
665
|
-
|
|
666
|
-
Component: \`${desc.source.componentKey}\``;
|
|
667
|
-
const policy = desc.policy?.pii?.length ? `
|
|
668
|
-
|
|
669
|
-
Redacted paths: ${desc.policy.pii.map((p) => `\`${p}\``).join(", ")}` : "";
|
|
670
|
-
const body = `${header}${about}${tags}${owners}${comp}${policy}`;
|
|
671
|
-
return { mimeType: "text/markdown", body };
|
|
672
|
-
}
|
|
673
|
-
throw new Error("unsupported");
|
|
674
|
-
}
|
|
675
|
-
});
|
|
676
|
-
engine.register({
|
|
677
|
-
target: "application/json",
|
|
678
|
-
async render(desc) {
|
|
679
|
-
const payload = applyPii(desc, { meta: desc.meta, source: desc.source });
|
|
680
|
-
return {
|
|
681
|
-
mimeType: "application/json",
|
|
682
|
-
body: JSON.stringify(payload, null, 2)
|
|
683
|
-
};
|
|
684
|
-
}
|
|
685
|
-
});
|
|
686
|
-
engine.register({
|
|
687
|
-
target: "application/xml",
|
|
688
|
-
async render(desc) {
|
|
689
|
-
const json = applyPii(desc, { meta: desc.meta, source: desc.source });
|
|
690
|
-
const body = `<presentation name="${desc.meta.key}" version="${desc.meta.version}"><json>${encodeURIComponent(JSON.stringify(json))}</json></presentation>`;
|
|
691
|
-
return { mimeType: "application/xml", body };
|
|
692
|
-
}
|
|
693
|
-
});
|
|
694
|
-
return engine;
|
|
695
|
-
}
|
|
696
|
-
function registerDefaultReactRenderer(engine) {
|
|
697
|
-
engine.register({
|
|
698
|
-
target: "react",
|
|
699
|
-
async render(desc) {
|
|
700
|
-
if (desc.source.type === "component") {
|
|
701
|
-
const props = desc.source.props ? desc.source.props.getZod().safeParse({}).success ? {} : undefined : undefined;
|
|
702
|
-
return {
|
|
703
|
-
kind: "react_component",
|
|
704
|
-
componentKey: desc.source.componentKey,
|
|
705
|
-
props
|
|
706
|
-
};
|
|
707
|
-
}
|
|
708
|
-
return {
|
|
709
|
-
kind: "blocknotejs",
|
|
710
|
-
docJson: desc.source.docJson,
|
|
711
|
-
blockConfig: desc.source.blockConfig
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
});
|
|
715
|
-
return engine;
|
|
716
|
-
}
|
|
717
|
-
function registerBasicValidation(engine) {
|
|
718
|
-
engine.addValidator({
|
|
719
|
-
validate(desc) {
|
|
720
|
-
if (!desc.meta.description || desc.meta.description.length < 3)
|
|
721
|
-
throw new Error(`Presentation ${desc.meta.key}.v${desc.meta.version} missing meta.description`);
|
|
722
|
-
}
|
|
723
|
-
});
|
|
724
|
-
return engine;
|
|
725
|
-
}
|
|
726
|
-
function registerReactToMarkdownRenderer(engine, componentMap) {
|
|
727
|
-
const turndownService = new TurndownService({
|
|
728
|
-
headingStyle: "atx",
|
|
729
|
-
codeBlockStyle: "fenced",
|
|
730
|
-
bulletListMarker: "-"
|
|
731
|
-
});
|
|
732
|
-
turndownService.addRule("link", {
|
|
733
|
-
filter: "a",
|
|
734
|
-
replacement: (content, node) => {
|
|
735
|
-
const href = node.href;
|
|
736
|
-
if (href && content) {
|
|
737
|
-
return `[${content}](${href})`;
|
|
738
|
-
}
|
|
739
|
-
return content || "";
|
|
740
|
-
}
|
|
741
|
-
});
|
|
742
|
-
engine.prependRegister({
|
|
743
|
-
target: "markdown",
|
|
744
|
-
async render(desc, _ctx) {
|
|
745
|
-
if (desc.source.type !== "component") {
|
|
746
|
-
throw new Error("React-to-markdown renderer only handles component presentations");
|
|
747
|
-
}
|
|
748
|
-
const { renderToStaticMarkup } = await import("react-dom/server");
|
|
749
|
-
const Component = componentMap[desc.source.componentKey];
|
|
750
|
-
if (!Component) {
|
|
751
|
-
throw new Error(`Component ${desc.source.componentKey} not found in componentMap`);
|
|
752
|
-
}
|
|
753
|
-
let html;
|
|
754
|
-
try {
|
|
755
|
-
const element = React.createElement(Component, desc.source.props ? {} : undefined);
|
|
756
|
-
html = renderToStaticMarkup(element);
|
|
757
|
-
} catch (error) {
|
|
758
|
-
throw new Error(`Failed to render component ${desc.source.componentKey}: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
759
|
-
}
|
|
760
|
-
let markdown;
|
|
761
|
-
try {
|
|
762
|
-
markdown = turndownService.turndown(html);
|
|
763
|
-
} catch (error) {
|
|
764
|
-
throw new Error(`Failed to convert HTML to markdown: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
765
|
-
}
|
|
766
|
-
if (desc.policy?.pii && desc.policy.pii.length > 0) {
|
|
767
|
-
const redacted = markdown.replace(/\[REDACTED\]/g, "[REDACTED]");
|
|
768
|
-
return { mimeType: "text/markdown", body: redacted };
|
|
769
|
-
}
|
|
770
|
-
return { mimeType: "text/markdown", body: markdown };
|
|
771
|
-
}
|
|
772
|
-
});
|
|
773
|
-
return engine;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
// src/presentations/presentations.ts
|
|
777
|
-
var definePresentation = (spec) => {
|
|
778
|
-
return spec;
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
// src/presentations/registry.ts
|
|
782
|
-
class PresentationRegistry extends SpecContractRegistry {
|
|
783
|
-
constructor(items) {
|
|
784
|
-
super("presentation", items);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
// src/client/react/feature-render.ts
|
|
788
|
-
import React2 from "react";
|
|
789
|
-
function createEngineWithDefaults() {
|
|
790
|
-
return registerBasicValidation(registerDefaultReactRenderer(createDefaultTransformEngine()));
|
|
791
|
-
}
|
|
792
|
-
async function renderFeaturePresentation(engine, target, desc, options) {
|
|
793
|
-
if (target === "react") {
|
|
794
|
-
const rd = await engine.render("react", desc);
|
|
795
|
-
if (rd.kind === "react_component") {
|
|
796
|
-
const map = options?.componentMap ?? {};
|
|
797
|
-
const C = map[rd.componentKey];
|
|
798
|
-
if (!C)
|
|
799
|
-
return null;
|
|
800
|
-
const merged = {
|
|
801
|
-
...rd.props ?? {},
|
|
802
|
-
...options?.reactProps ?? {}
|
|
803
|
-
};
|
|
804
|
-
return React2.createElement(C, merged);
|
|
805
|
-
}
|
|
806
|
-
if (rd.kind === "blocknotejs") {
|
|
807
|
-
if (options?.renderBlockNote)
|
|
808
|
-
return options.renderBlockNote(rd.docJson, rd.blockConfig);
|
|
809
|
-
return React2.createElement("div", {}, "[BlockNote renderer not configured]");
|
|
810
|
-
}
|
|
811
|
-
return null;
|
|
812
|
-
}
|
|
813
|
-
if (target === "markdown")
|
|
814
|
-
return engine.render(target, desc);
|
|
815
|
-
if (target === "application/json")
|
|
816
|
-
return engine.render(target, desc);
|
|
817
|
-
if (target === "application/xml")
|
|
818
|
-
return engine.render(target, desc);
|
|
819
|
-
return null;
|
|
820
|
-
}
|
|
821
|
-
function createFeatureModule(meta, refs) {
|
|
822
|
-
return { meta, ...refs };
|
|
823
|
-
}
|
|
824
|
-
function registerFeature(registry2, feature) {
|
|
825
|
-
registry2.register(feature);
|
|
826
|
-
return registry2;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
// src/forms/forms.ts
|
|
830
|
-
import { compareVersions as compareVersions2 } from "compare-versions";
|
|
831
|
-
function formKey(meta) {
|
|
832
|
-
return `${meta.key}.v${meta.version}`;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
class FormRegistry {
|
|
836
|
-
items = new Map;
|
|
837
|
-
register(spec) {
|
|
838
|
-
const key = formKey(spec.meta);
|
|
839
|
-
if (this.items.has(key))
|
|
840
|
-
throw new Error(`Duplicate form ${key}`);
|
|
841
|
-
this.items.set(key, spec);
|
|
842
|
-
return this;
|
|
843
|
-
}
|
|
844
|
-
list() {
|
|
845
|
-
return [...this.items.values()];
|
|
846
|
-
}
|
|
847
|
-
get(key, version) {
|
|
848
|
-
if (version != null)
|
|
849
|
-
return this.items.get(`${key}.v${version}`);
|
|
850
|
-
let candidate;
|
|
851
|
-
for (const [k, v] of this.items.entries()) {
|
|
852
|
-
if (v.meta.key !== key)
|
|
853
|
-
continue;
|
|
854
|
-
if (!candidate || compareVersions2(v.meta.version, candidate.meta.version) > 0) {
|
|
855
|
-
candidate = v;
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
return candidate;
|
|
859
|
-
}
|
|
860
|
-
filter(criteria) {
|
|
861
|
-
const { filterBy: filterBy2 } = (init_registry_utils(), __toCommonJS(exports_registry_utils));
|
|
862
|
-
return filterBy2(this.list(), criteria);
|
|
863
|
-
}
|
|
864
|
-
listByTag(tag) {
|
|
865
|
-
return this.list().filter((f) => f.meta.tags?.includes(tag));
|
|
866
|
-
}
|
|
867
|
-
listByOwner(owner) {
|
|
868
|
-
return this.list().filter((f) => f.meta.owners?.includes(owner));
|
|
869
|
-
}
|
|
870
|
-
groupBy(keyFn) {
|
|
871
|
-
const { groupBy: groupBy2 } = (init_registry_utils(), __toCommonJS(exports_registry_utils));
|
|
872
|
-
return groupBy2(this.list(), keyFn);
|
|
873
|
-
}
|
|
874
|
-
getUniqueTags() {
|
|
875
|
-
const { getUniqueTags: getUniqueTags2 } = (init_registry_utils(), __toCommonJS(exports_registry_utils));
|
|
876
|
-
return getUniqueTags2(this.list());
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
function getAtPath(values, path) {
|
|
880
|
-
if (!path)
|
|
881
|
-
return;
|
|
882
|
-
const segs = path.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
|
|
883
|
-
let cur = values;
|
|
884
|
-
for (const s of segs) {
|
|
885
|
-
if (cur == null)
|
|
886
|
-
return;
|
|
887
|
-
if (cur && typeof cur === "object" && s in cur) {
|
|
888
|
-
cur = cur[s];
|
|
889
|
-
} else {
|
|
890
|
-
return;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
return cur;
|
|
894
|
-
}
|
|
895
|
-
function evalPredicate(values, pred) {
|
|
896
|
-
if (!pred)
|
|
897
|
-
return true;
|
|
898
|
-
if (pred.not)
|
|
899
|
-
return !evalPredicate(values, pred.not);
|
|
900
|
-
if (pred.all && pred.all.length)
|
|
901
|
-
return pred.all.every((p) => evalPredicate(values, p));
|
|
902
|
-
if (pred.anyOf && pred.anyOf.length)
|
|
903
|
-
return pred.anyOf.some((p) => evalPredicate(values, p));
|
|
904
|
-
if (pred.when) {
|
|
905
|
-
const { path, op = "truthy", value } = pred.when;
|
|
906
|
-
const v = getAtPath(values, path);
|
|
907
|
-
switch (op) {
|
|
908
|
-
case "equals":
|
|
909
|
-
return v === value;
|
|
910
|
-
case "notEquals":
|
|
911
|
-
return v !== value;
|
|
912
|
-
case "in":
|
|
913
|
-
return Array.isArray(value) && value.includes(v);
|
|
914
|
-
case "notIn":
|
|
915
|
-
return Array.isArray(value) && !value.includes(v);
|
|
916
|
-
case "gt":
|
|
917
|
-
return Number(v) > Number(value);
|
|
918
|
-
case "gte":
|
|
919
|
-
return Number(v) >= Number(value);
|
|
920
|
-
case "lt":
|
|
921
|
-
return Number(v) < Number(value);
|
|
922
|
-
case "lte":
|
|
923
|
-
return Number(v) <= Number(value);
|
|
924
|
-
case "empty":
|
|
925
|
-
return v == null || (Array.isArray(v) ? v.length === 0 : String(v).length === 0);
|
|
926
|
-
case "lengthGt":
|
|
927
|
-
return (Array.isArray(v) || typeof v === "string") && v.length > Number(value ?? 0);
|
|
928
|
-
case "lengthGte":
|
|
929
|
-
return (Array.isArray(v) || typeof v === "string") && v.length >= Number(value ?? 0);
|
|
930
|
-
case "lengthLt":
|
|
931
|
-
return (Array.isArray(v) || typeof v === "string") && v.length < Number(value ?? 0);
|
|
932
|
-
case "lengthLte":
|
|
933
|
-
return (Array.isArray(v) || typeof v === "string") && v.length <= Number(value ?? 0);
|
|
934
|
-
case "truthy":
|
|
935
|
-
default:
|
|
936
|
-
return Boolean(v);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
return true;
|
|
940
|
-
}
|
|
941
|
-
function buildZodWithRelations(spec, handlers) {
|
|
942
|
-
const base = spec.model.getZod();
|
|
943
|
-
return base.superRefine((values, ctx) => {
|
|
944
|
-
const visit = (field, parentPath) => {
|
|
945
|
-
const path = field.name ? parentPath ? `${parentPath}.${field.name}` : field.name : parentPath ?? "";
|
|
946
|
-
if (field.requiredWhen) {
|
|
947
|
-
const should = evalPredicate(values, field.requiredWhen);
|
|
948
|
-
if (should) {
|
|
949
|
-
const v = getAtPath(values, path);
|
|
950
|
-
const empty = v == null || typeof v === "string" && v.trim().length === 0 || Array.isArray(v) && v.length === 0;
|
|
951
|
-
if (empty)
|
|
952
|
-
ctx.addIssue({
|
|
953
|
-
code: "custom",
|
|
954
|
-
path: path.split("."),
|
|
955
|
-
message: "required"
|
|
956
|
-
});
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
if (field.kind === "array") {
|
|
960
|
-
const arr = getAtPath(values, path);
|
|
961
|
-
if (field.min != null && Array.isArray(arr) && arr.length < field.min) {
|
|
962
|
-
ctx.addIssue({
|
|
963
|
-
code: "custom",
|
|
964
|
-
path: path.split("."),
|
|
965
|
-
message: `min:${field.min}`
|
|
966
|
-
});
|
|
967
|
-
}
|
|
968
|
-
if (field.max != null && Array.isArray(arr) && arr.length > field.max) {
|
|
969
|
-
ctx.addIssue({
|
|
970
|
-
code: "custom",
|
|
971
|
-
path: path.split("."),
|
|
972
|
-
message: `max:${field.max}`
|
|
973
|
-
});
|
|
974
|
-
}
|
|
975
|
-
visit(field.of, path);
|
|
976
|
-
} else if (field.kind === "group") {
|
|
977
|
-
for (const child of field.fields)
|
|
978
|
-
visit(child, path);
|
|
979
|
-
}
|
|
980
|
-
};
|
|
981
|
-
for (const f of spec.fields)
|
|
982
|
-
visit(f);
|
|
983
|
-
if (spec.constraints && handlers) {
|
|
984
|
-
for (const c of spec.constraints) {
|
|
985
|
-
const fn = handlers[c.key];
|
|
986
|
-
if (!fn)
|
|
987
|
-
continue;
|
|
988
|
-
const res = fn(values, c.paths, c.args);
|
|
989
|
-
if (!res.ok) {
|
|
990
|
-
ctx.addIssue({
|
|
991
|
-
code: "custom",
|
|
992
|
-
path: (res.path ?? c.paths[0] ?? "").split(".").filter(Boolean),
|
|
993
|
-
message: res.message ?? c.messageI18n
|
|
994
|
-
});
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
});
|
|
999
|
-
}
|
|
1000
|
-
function defineFormSpec(spec) {
|
|
1001
|
-
return spec;
|
|
1002
|
-
}
|
|
1003
|
-
// src/client/react/form-render.tsx
|
|
1004
|
-
import React3, { useEffect, useMemo, useState } from "react";
|
|
1005
|
-
import {
|
|
1006
|
-
Controller,
|
|
1007
|
-
useFieldArray,
|
|
1008
|
-
useForm
|
|
1009
|
-
} from "react-hook-form";
|
|
1010
|
-
import { zodResolver } from "@hookform/resolvers/zod";
|
|
1011
|
-
import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
|
|
1012
|
-
"use client";
|
|
1013
|
-
function toOptionsArray(src) {
|
|
1014
|
-
if (!src)
|
|
1015
|
-
return;
|
|
1016
|
-
if (Array.isArray(src))
|
|
1017
|
-
return { kind: "static", options: src };
|
|
1018
|
-
return src;
|
|
1019
|
-
}
|
|
1020
|
-
function getAtPath2(values, path) {
|
|
1021
|
-
if (!path)
|
|
1022
|
-
return;
|
|
1023
|
-
const segs = path.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
|
|
1024
|
-
let cur = values;
|
|
1025
|
-
for (const s of segs) {
|
|
1026
|
-
if (cur == null)
|
|
1027
|
-
return;
|
|
1028
|
-
cur = cur[s];
|
|
1029
|
-
}
|
|
1030
|
-
return cur;
|
|
1031
|
-
}
|
|
1032
|
-
function makeDepsKey(values, deps) {
|
|
1033
|
-
if (!deps || deps.length === 0)
|
|
1034
|
-
return "[]";
|
|
1035
|
-
try {
|
|
1036
|
-
return JSON.stringify(deps.map((d) => getAtPath2(values, d)));
|
|
1037
|
-
} catch {
|
|
1038
|
-
return "[]";
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
function useResolvedOptions(values, source, resolvers) {
|
|
1042
|
-
const [opts, setOpts] = useState([]);
|
|
1043
|
-
const depKey = useMemo(() => {
|
|
1044
|
-
if (!source)
|
|
1045
|
-
return "nil";
|
|
1046
|
-
if (source.kind === "static")
|
|
1047
|
-
return JSON.stringify(source.options ?? []);
|
|
1048
|
-
return makeDepsKey(values, source.deps);
|
|
1049
|
-
}, [source, values]);
|
|
1050
|
-
useEffect(() => {
|
|
1051
|
-
let mounted = true;
|
|
1052
|
-
const run = async () => {
|
|
1053
|
-
if (!source)
|
|
1054
|
-
return setOpts([]);
|
|
1055
|
-
if (source.kind === "static")
|
|
1056
|
-
return setOpts([...source.options ?? []]);
|
|
1057
|
-
const fn = resolvers?.[source.resolverKey];
|
|
1058
|
-
if (!fn)
|
|
1059
|
-
return setOpts([]);
|
|
1060
|
-
const res = await fn(values, source.args);
|
|
1061
|
-
if (mounted)
|
|
1062
|
-
setOpts([...res ?? []]);
|
|
1063
|
-
};
|
|
1064
|
-
run();
|
|
1065
|
-
return () => {
|
|
1066
|
-
mounted = false;
|
|
1067
|
-
};
|
|
1068
|
-
}, [
|
|
1069
|
-
depKey,
|
|
1070
|
-
source && source.kind === "resolver" ? source.resolverKey : undefined
|
|
1071
|
-
]);
|
|
1072
|
-
return opts;
|
|
1073
|
-
}
|
|
1074
|
-
function fieldPath(parent, name, arrayIndex) {
|
|
1075
|
-
if (!name)
|
|
1076
|
-
return parent ?? "";
|
|
1077
|
-
const child = typeof arrayIndex === "number" ? `${name.replace(/^\$index$/, String(arrayIndex))}` : name;
|
|
1078
|
-
return parent ? `${parent}${typeof arrayIndex === "number" ? `.${arrayIndex}` : ""}.${child}`.replace(/\.+/g, ".") : child;
|
|
1079
|
-
}
|
|
1080
|
-
function createFormRenderer(base) {
|
|
1081
|
-
const conf = base;
|
|
1082
|
-
const { driver } = conf;
|
|
1083
|
-
function InternalForm(props) {
|
|
1084
|
-
const { spec, options, merged } = props;
|
|
1085
|
-
const baseZod = useMemo(() => buildZodWithRelations(spec), [spec]);
|
|
1086
|
-
const form = useForm({
|
|
1087
|
-
...merged.formOptions,
|
|
1088
|
-
resolver: zodResolver(baseZod),
|
|
1089
|
-
defaultValues: options?.defaultValues
|
|
1090
|
-
});
|
|
1091
|
-
const values = form.watch();
|
|
1092
|
-
const renderOne = (f, parent, arrayIndex) => {
|
|
1093
|
-
const DriverField = driver.Field;
|
|
1094
|
-
const DriverLabel = driver.FieldLabel;
|
|
1095
|
-
const DriverDesc = driver.FieldDescription;
|
|
1096
|
-
const DriverError = driver.FieldError;
|
|
1097
|
-
const name = fieldPath(parent, f.name, arrayIndex);
|
|
1098
|
-
const visible = evalPredicate(values, f.visibleWhen);
|
|
1099
|
-
const enabled = evalPredicate(values, f.enabledWhen);
|
|
1100
|
-
const invalid = Boolean(form.getFieldState(name)?.invalid);
|
|
1101
|
-
if (!visible)
|
|
1102
|
-
return null;
|
|
1103
|
-
const id = name?.replace(/\./g, "-");
|
|
1104
|
-
const commonWrapProps = {
|
|
1105
|
-
"data-invalid": invalid,
|
|
1106
|
-
hidden: !visible,
|
|
1107
|
-
disabled: !enabled
|
|
1108
|
-
};
|
|
1109
|
-
const labelNode = f.labelI18n ? /* @__PURE__ */ jsxDEV(DriverLabel, {
|
|
1110
|
-
htmlFor: id,
|
|
1111
|
-
children: f.labelI18n
|
|
1112
|
-
}, undefined, false, undefined, this) : null;
|
|
1113
|
-
const descNode = f.descriptionI18n ? /* @__PURE__ */ jsxDEV(DriverDesc, {
|
|
1114
|
-
children: f.descriptionI18n
|
|
1115
|
-
}, undefined, false, undefined, this) : null;
|
|
1116
|
-
if (f.kind === "group") {
|
|
1117
|
-
const children = f.fields.map((c, i) => /* @__PURE__ */ jsxDEV(React3.Fragment, {
|
|
1118
|
-
children: renderOne(c, name, arrayIndex)
|
|
1119
|
-
}, `${name}-${i}`, false, undefined, this));
|
|
1120
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1121
|
-
...commonWrapProps,
|
|
1122
|
-
children: [
|
|
1123
|
-
labelNode,
|
|
1124
|
-
children,
|
|
1125
|
-
descNode
|
|
1126
|
-
]
|
|
1127
|
-
}, undefined, true, undefined, this);
|
|
1128
|
-
}
|
|
1129
|
-
if (f.kind === "array") {
|
|
1130
|
-
return renderArray(f, parent);
|
|
1131
|
-
}
|
|
1132
|
-
return /* @__PURE__ */ jsxDEV(Controller, {
|
|
1133
|
-
name,
|
|
1134
|
-
control: form.control,
|
|
1135
|
-
render: ({ field, fieldState }) => {
|
|
1136
|
-
const err = fieldState.error ? [fieldState.error] : [];
|
|
1137
|
-
const ariaInvalid = fieldState.invalid || undefined;
|
|
1138
|
-
if (f.kind === "text") {
|
|
1139
|
-
const textField = f;
|
|
1140
|
-
const Input = driver.Input;
|
|
1141
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1142
|
-
...commonWrapProps,
|
|
1143
|
-
children: [
|
|
1144
|
-
labelNode,
|
|
1145
|
-
/* @__PURE__ */ jsxDEV(Input, {
|
|
1146
|
-
id,
|
|
1147
|
-
"aria-invalid": ariaInvalid,
|
|
1148
|
-
placeholder: f.placeholderI18n,
|
|
1149
|
-
autoComplete: textField.autoComplete,
|
|
1150
|
-
inputMode: textField.inputMode,
|
|
1151
|
-
maxLength: textField.maxLength,
|
|
1152
|
-
minLength: textField.minLength,
|
|
1153
|
-
disabled: !enabled,
|
|
1154
|
-
...field,
|
|
1155
|
-
...f.uiProps
|
|
1156
|
-
}, undefined, false, undefined, this),
|
|
1157
|
-
descNode,
|
|
1158
|
-
fieldState.invalid ? /* @__PURE__ */ jsxDEV(DriverError, {
|
|
1159
|
-
errors: err
|
|
1160
|
-
}, undefined, false, undefined, this) : null
|
|
1161
|
-
]
|
|
1162
|
-
}, undefined, true, undefined, this);
|
|
1163
|
-
}
|
|
1164
|
-
if (f.kind === "textarea") {
|
|
1165
|
-
const textareaField = f;
|
|
1166
|
-
const Textarea = driver.Textarea;
|
|
1167
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1168
|
-
...commonWrapProps,
|
|
1169
|
-
children: [
|
|
1170
|
-
labelNode,
|
|
1171
|
-
/* @__PURE__ */ jsxDEV(Textarea, {
|
|
1172
|
-
id,
|
|
1173
|
-
"aria-invalid": ariaInvalid,
|
|
1174
|
-
placeholder: f.placeholderI18n,
|
|
1175
|
-
rows: textareaField.rows,
|
|
1176
|
-
maxLength: textareaField.maxLength,
|
|
1177
|
-
disabled: !enabled,
|
|
1178
|
-
...field,
|
|
1179
|
-
...f.uiProps
|
|
1180
|
-
}, undefined, false, undefined, this),
|
|
1181
|
-
descNode,
|
|
1182
|
-
fieldState.invalid ? /* @__PURE__ */ jsxDEV(DriverError, {
|
|
1183
|
-
errors: err
|
|
1184
|
-
}, undefined, false, undefined, this) : null
|
|
1185
|
-
]
|
|
1186
|
-
}, undefined, true, undefined, this);
|
|
1187
|
-
}
|
|
1188
|
-
if (f.kind === "select") {
|
|
1189
|
-
const selectField = f;
|
|
1190
|
-
const Select = driver.Select;
|
|
1191
|
-
const src = toOptionsArray(selectField.options);
|
|
1192
|
-
const opts = useResolvedOptions(values, src, merged.resolvers);
|
|
1193
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1194
|
-
...commonWrapProps,
|
|
1195
|
-
children: [
|
|
1196
|
-
labelNode,
|
|
1197
|
-
/* @__PURE__ */ jsxDEV(Select, {
|
|
1198
|
-
id,
|
|
1199
|
-
name,
|
|
1200
|
-
"aria-invalid": ariaInvalid,
|
|
1201
|
-
disabled: !enabled,
|
|
1202
|
-
value: field.value,
|
|
1203
|
-
onChange: (v) => field.onChange(v),
|
|
1204
|
-
options: opts,
|
|
1205
|
-
...f.uiProps
|
|
1206
|
-
}, undefined, false, undefined, this),
|
|
1207
|
-
descNode,
|
|
1208
|
-
fieldState.invalid ? /* @__PURE__ */ jsxDEV(DriverError, {
|
|
1209
|
-
errors: err
|
|
1210
|
-
}, undefined, false, undefined, this) : null
|
|
1211
|
-
]
|
|
1212
|
-
}, undefined, true, undefined, this);
|
|
1213
|
-
}
|
|
1214
|
-
if (f.kind === "checkbox") {
|
|
1215
|
-
const Checkbox = driver.Checkbox;
|
|
1216
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1217
|
-
...commonWrapProps,
|
|
1218
|
-
children: [
|
|
1219
|
-
labelNode,
|
|
1220
|
-
/* @__PURE__ */ jsxDEV(Checkbox, {
|
|
1221
|
-
id,
|
|
1222
|
-
name,
|
|
1223
|
-
disabled: !enabled,
|
|
1224
|
-
checked: !!field.value,
|
|
1225
|
-
onCheckedChange: (v) => field.onChange(v),
|
|
1226
|
-
...f.uiProps
|
|
1227
|
-
}, undefined, false, undefined, this),
|
|
1228
|
-
descNode,
|
|
1229
|
-
fieldState.invalid ? /* @__PURE__ */ jsxDEV(DriverError, {
|
|
1230
|
-
errors: err
|
|
1231
|
-
}, undefined, false, undefined, this) : null
|
|
1232
|
-
]
|
|
1233
|
-
}, undefined, true, undefined, this);
|
|
1234
|
-
}
|
|
1235
|
-
if (f.kind === "radio") {
|
|
1236
|
-
const radioField = f;
|
|
1237
|
-
const RadioGroup = driver.RadioGroup;
|
|
1238
|
-
const src = toOptionsArray(radioField.options);
|
|
1239
|
-
const opts = useResolvedOptions(values, src, merged.resolvers);
|
|
1240
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1241
|
-
...commonWrapProps,
|
|
1242
|
-
children: [
|
|
1243
|
-
labelNode,
|
|
1244
|
-
/* @__PURE__ */ jsxDEV(RadioGroup, {
|
|
1245
|
-
id,
|
|
1246
|
-
name,
|
|
1247
|
-
disabled: !enabled,
|
|
1248
|
-
value: field.value,
|
|
1249
|
-
onValueChange: (v) => field.onChange(v),
|
|
1250
|
-
options: opts,
|
|
1251
|
-
...f.uiProps
|
|
1252
|
-
}, undefined, false, undefined, this),
|
|
1253
|
-
descNode,
|
|
1254
|
-
fieldState.invalid ? /* @__PURE__ */ jsxDEV(DriverError, {
|
|
1255
|
-
errors: err
|
|
1256
|
-
}, undefined, false, undefined, this) : null
|
|
1257
|
-
]
|
|
1258
|
-
}, undefined, true, undefined, this);
|
|
1259
|
-
}
|
|
1260
|
-
if (f.kind === "switch") {
|
|
1261
|
-
const Switch = driver.Switch;
|
|
1262
|
-
return /* @__PURE__ */ jsxDEV(DriverField, {
|
|
1263
|
-
...commonWrapProps,
|
|
1264
|
-
children: [
|
|
1265
|
-
labelNode,
|
|
1266
|
-
/* @__PURE__ */ jsxDEV(Switch, {
|
|
1267
|
-
id,
|
|
1268
|
-
name,
|
|
1269
|
-
disabled: !enabled,
|
|
1270
|
-
checked: !!field.value,
|
|
1271
|
-
onCheckedChange: (v) => field.onChange(v),
|
|
1272
|
-
...f.uiProps
|
|
1273
|
-
}, undefined, false, undefined, this),
|
|
1274
|
-
descNode,
|
|
1275
|
-
fieldState.invalid ? /* @__PURE__ */ jsxDEV(DriverError, {
|
|
1276
|
-
errors: err
|
|
1277
|
-
}, undefined, false, undefined, this) : null
|
|
1278
|
-
]
|
|
1279
|
-
}, undefined, true, undefined, this);
|
|
1280
|
-
}
|
|
1281
|
-
return /* @__PURE__ */ jsxDEV(Fragment, {}, undefined, false, undefined, this);
|
|
1282
|
-
}
|
|
1283
|
-
}, name, false, undefined, this);
|
|
1284
|
-
};
|
|
1285
|
-
const renderArray = (f, parent) => {
|
|
1286
|
-
const name = fieldPath(parent, f.name);
|
|
1287
|
-
const { fields, append, remove } = useFieldArray({
|
|
1288
|
-
control: form.control,
|
|
1289
|
-
name
|
|
1290
|
-
});
|
|
1291
|
-
const canAdd = f.max == null || fields.length < f.max;
|
|
1292
|
-
const canRemove = (idx) => (f.min == null ? fields.length > 0 : fields.length > f.min) && idx >= 0;
|
|
1293
|
-
const Button2 = driver.Button;
|
|
1294
|
-
const Label = driver.FieldLabel;
|
|
1295
|
-
return /* @__PURE__ */ jsxDEV("div", {
|
|
1296
|
-
children: [
|
|
1297
|
-
f.labelI18n ? /* @__PURE__ */ jsxDEV(Label, {
|
|
1298
|
-
children: f.labelI18n
|
|
1299
|
-
}, undefined, false, undefined, this) : null,
|
|
1300
|
-
fields.map((row, idx) => /* @__PURE__ */ jsxDEV("div", {
|
|
1301
|
-
children: [
|
|
1302
|
-
renderOne(f.of, name, idx),
|
|
1303
|
-
canRemove(idx) ? /* @__PURE__ */ jsxDEV(Button2, {
|
|
1304
|
-
type: "button",
|
|
1305
|
-
variant: "ghost",
|
|
1306
|
-
size: "sm",
|
|
1307
|
-
onClick: () => remove(idx),
|
|
1308
|
-
children: "Remove"
|
|
1309
|
-
}, undefined, false, undefined, this) : null
|
|
1310
|
-
]
|
|
1311
|
-
}, row.id ?? idx, true, undefined, this)),
|
|
1312
|
-
canAdd ? /* @__PURE__ */ jsxDEV(Button2, {
|
|
1313
|
-
type: "button",
|
|
1314
|
-
variant: "outline",
|
|
1315
|
-
size: "sm",
|
|
1316
|
-
onClick: () => append({}),
|
|
1317
|
-
children: "Add"
|
|
1318
|
-
}, undefined, false, undefined, this) : null
|
|
1319
|
-
]
|
|
1320
|
-
}, name, true, undefined, this);
|
|
1321
|
-
};
|
|
1322
|
-
const onSubmit = async (data) => {
|
|
1323
|
-
const actionKey = spec.actions?.[0]?.key ?? "submit";
|
|
1324
|
-
if (merged.onSubmitOverride) {
|
|
1325
|
-
return merged.onSubmitOverride(data, actionKey);
|
|
1326
|
-
}
|
|
1327
|
-
};
|
|
1328
|
-
const Button = driver.Button;
|
|
1329
|
-
return /* @__PURE__ */ jsxDEV("form", {
|
|
1330
|
-
onSubmit: form.handleSubmit(onSubmit),
|
|
1331
|
-
children: [
|
|
1332
|
-
(spec.fields || []).map((f, i) => /* @__PURE__ */ jsxDEV(React3.Fragment, {
|
|
1333
|
-
children: renderOne(f)
|
|
1334
|
-
}, i, false, undefined, this)),
|
|
1335
|
-
spec.actions && spec.actions.length ? /* @__PURE__ */ jsxDEV("div", {
|
|
1336
|
-
children: spec.actions.map((a) => /* @__PURE__ */ jsxDEV(Button, {
|
|
1337
|
-
type: "submit",
|
|
1338
|
-
children: a.labelI18n
|
|
1339
|
-
}, a.key, false, undefined, this))
|
|
1340
|
-
}, undefined, false, undefined, this) : null
|
|
1341
|
-
]
|
|
1342
|
-
}, undefined, true, undefined, this);
|
|
1343
|
-
}
|
|
1344
|
-
return {
|
|
1345
|
-
render: (spec, options) => /* @__PURE__ */ jsxDEV(InternalForm, {
|
|
1346
|
-
spec,
|
|
1347
|
-
options,
|
|
1348
|
-
merged: {
|
|
1349
|
-
...conf,
|
|
1350
|
-
...options?.overrides ?? {}
|
|
1351
|
-
}
|
|
1352
|
-
}, undefined, false, undefined, this)
|
|
1353
|
-
};
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
// src/client/react/drivers/shadcn.ts
|
|
1357
|
-
function shadcnDriver(slots) {
|
|
1358
|
-
return slots;
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
// src/client/react/drivers/rn-reusables.ts
|
|
1362
|
-
function rnReusablesDriver(slots) {
|
|
1363
|
-
return slots;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
// src/client/react/index.ts
|
|
1367
|
-
"use client";
|
|
1368
|
-
|
|
1369
|
-
// src/client/index.ts
|
|
1370
|
-
"use client";
|
|
1371
|
-
export {
|
|
1372
|
-
shadcnDriver,
|
|
1373
|
-
rnReusablesDriver,
|
|
1374
|
-
renderFeaturePresentation,
|
|
1375
|
-
registerFeature,
|
|
1376
|
-
createFormRenderer,
|
|
1377
|
-
createFeatureModule,
|
|
1378
|
-
createEngineWithDefaults
|
|
1379
|
-
};
|