@contractspec/bundle.library 3.8.10 → 3.8.11
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/.turbo/turbo-build.log +606 -594
- package/CHANGELOG.md +37 -0
- package/dist/application/context-storage/index.js +1 -28
- package/dist/application/index.js +13 -2133
- package/dist/application/mcp/cliMcp.js +4 -452
- package/dist/application/mcp/common.js +1 -193
- package/dist/application/mcp/contractsMcp.js +2 -549
- package/dist/application/mcp/contractsMcpResources.js +2 -123
- package/dist/application/mcp/contractsMcpTools.js +1 -199
- package/dist/application/mcp/docsMcp.catalog.js +3 -381
- package/dist/application/mcp/docsMcp.data.js +1 -147
- package/dist/application/mcp/docsMcp.js +6 -1039
- package/dist/application/mcp/docsMcp.prompts.js +6 -521
- package/dist/application/mcp/docsMcp.reference.js +3 -235
- package/dist/application/mcp/docsMcp.resources.js +3 -519
- package/dist/application/mcp/docsMcp.tools.js +3 -518
- package/dist/application/mcp/index.js +13 -2106
- package/dist/application/mcp/internalMcp.js +2 -410
- package/dist/application/mcp/normalizeMcpRequest.js +1 -21
- package/dist/application/mcp/providerRankingMcp.js +1 -530
- package/dist/bundles/LibraryBundle.js +1 -138
- package/dist/bundles/index.js +1 -138
- package/dist/components/docs/DocsIndexPage.js +2 -912
- package/dist/components/docs/advanced/AdvancedMCPPage.js +4 -271
- package/dist/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -107
- package/dist/components/docs/advanced/AdvancedRenderersPage.js +2 -118
- package/dist/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -92
- package/dist/components/docs/advanced/AdvancedTelemetryPage.js +2 -373
- package/dist/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -99
- package/dist/components/docs/advanced/index.js +10 -1055
- package/dist/components/docs/architecture/ArchitectureAppConfigPage.js +6 -243
- package/dist/components/docs/architecture/ArchitectureControlPlanePage.js +3 -160
- package/dist/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -259
- package/dist/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -374
- package/dist/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -166
- package/dist/components/docs/architecture/ArchitectureOverviewPage.js +1 -143
- package/dist/components/docs/architecture/index.js +20 -1340
- package/dist/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -245
- package/dist/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -230
- package/dist/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -245
- package/dist/components/docs/comparison/ComparisonOverviewPage.js +1 -202
- package/dist/components/docs/comparison/ComparisonWindmillPage.js +1 -254
- package/dist/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -339
- package/dist/components/docs/comparison/index.js +1 -1510
- package/dist/components/docs/docsManifest.js +1 -611
- package/dist/components/docs/docsManifest.test.d.ts +1 -0
- package/dist/components/docs/ecosystem/IntegrationsPage.js +2 -103
- package/dist/components/docs/ecosystem/PluginsPage.js +13 -179
- package/dist/components/docs/ecosystem/RegistryPage.js +7 -100
- package/dist/components/docs/ecosystem/TemplatesPage.js +3 -141
- package/dist/components/docs/ecosystem/ecosystem.docblocks.js +2 -48
- package/dist/components/docs/ecosystem/index.js +23 -569
- package/dist/components/docs/examples/DocsExamplesPage.js +4 -124
- package/dist/components/docs/examples/ExampleShowcasePage.js +4 -244
- package/dist/components/docs/examples/exampleShowcaseData.js +4 -39
- package/dist/components/docs/examples/index.js +4 -330
- package/dist/components/docs/generated/docs-index.generated.js +1 -5
- package/dist/components/docs/generated/index.js +1 -74
- package/dist/components/docs/generated/loader.js +1 -74
- package/dist/components/docs/getting-started/CLIPage.js +4 -271
- package/dist/components/docs/getting-started/CompatibilityPage.js +1 -173
- package/dist/components/docs/getting-started/DataViewTutorialPage.js +4 -134
- package/dist/components/docs/getting-started/DeveloperToolsPage.js +1 -194
- package/dist/components/docs/getting-started/HelloWorldPage.js +5 -183
- package/dist/components/docs/getting-started/InstallationPage.js +3 -154
- package/dist/components/docs/getting-started/StartHerePage.js +2 -129
- package/dist/components/docs/getting-started/TroubleshootingPage.js +2 -168
- package/dist/components/docs/getting-started/VSCodeExtensionPage.js +1 -432
- package/dist/components/docs/getting-started/getting-started.docblocks.js +4 -41
- package/dist/components/docs/getting-started/index.js +18 -1869
- package/dist/components/docs/guides/GuideCIDiffGatingPage.js +2 -196
- package/dist/components/docs/guides/GuideConnectInRepoPage.d.ts +1 -0
- package/dist/components/docs/guides/GuideConnectInRepoPage.js +44 -0
- package/dist/components/docs/guides/GuideContractTypesPage.js +6 -541
- package/dist/components/docs/guides/GuideDocsPipelinePage.js +3 -207
- package/dist/components/docs/guides/GuideFirstModuleBundlePage.d.ts +1 -0
- package/dist/components/docs/guides/GuideFirstModuleBundlePage.js +76 -0
- package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -209
- package/dist/components/docs/guides/GuideHostBuilderWorkbenchPage.d.ts +1 -0
- package/dist/components/docs/guides/GuideHostBuilderWorkbenchPage.js +70 -0
- package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -754
- package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -268
- package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +4 -196
- package/dist/components/docs/guides/GuidesIndexPage.js +2 -169
- package/dist/components/docs/guides/guides.docblocks.js +11 -75
- package/dist/components/docs/guides/index.d.ts +3 -0
- package/dist/components/docs/guides/index.js +213 -2428
- package/dist/components/docs/index.js +542 -24310
- package/dist/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -42
- package/dist/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -105
- package/dist/components/docs/integrations/IntegrationsGithubPage.js +3 -142
- package/dist/components/docs/integrations/IntegrationsGmailPage.js +3 -109
- package/dist/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -79
- package/dist/components/docs/integrations/IntegrationsHealthRoutingPage.js +3 -146
- package/dist/components/docs/integrations/IntegrationsMistralPage.js +5 -150
- package/dist/components/docs/integrations/IntegrationsOpenAIPage.js +5 -140
- package/dist/components/docs/integrations/IntegrationsOverviewPage.js +1 -160
- package/dist/components/docs/integrations/IntegrationsPostmarkPage.js +4 -218
- package/dist/components/docs/integrations/IntegrationsPowensPage.js +4 -300
- package/dist/components/docs/integrations/IntegrationsQdrantPage.js +5 -111
- package/dist/components/docs/integrations/IntegrationsResendPage.js +3 -102
- package/dist/components/docs/integrations/IntegrationsS3Page.js +4 -124
- package/dist/components/docs/integrations/IntegrationsSlackPage.js +3 -144
- package/dist/components/docs/integrations/IntegrationsSpecModelPage.js +7 -290
- package/dist/components/docs/integrations/IntegrationsStripePage.js +6 -327
- package/dist/components/docs/integrations/IntegrationsTwilioPage.js +3 -128
- package/dist/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -146
- package/dist/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -156
- package/dist/components/docs/integrations/index.js +52 -3100
- package/dist/components/docs/intent/ContractFirstApiPage.js +2 -126
- package/dist/components/docs/intent/DeterministicCodegenPage.js +2 -148
- package/dist/components/docs/intent/GenerateClientFromSchemaPage.js +7 -207
- package/dist/components/docs/intent/OpenapiAlternativePage.js +3 -201
- package/dist/components/docs/intent/SchemaValidationTypescriptPage.js +4 -144
- package/dist/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -126
- package/dist/components/docs/intent/index.js +15 -1135
- package/dist/components/docs/intent/intent-pages.docblocks.js +1 -201
- package/dist/components/docs/knowledge/KnowledgeCategoriesPage.js +6 -750
- package/dist/components/docs/knowledge/KnowledgeExamplesPage.js +4 -175
- package/dist/components/docs/knowledge/KnowledgeOverviewPage.js +1 -116
- package/dist/components/docs/knowledge/KnowledgeSourcesPage.js +8 -391
- package/dist/components/docs/knowledge/KnowledgeSpacesPage.js +6 -302
- package/dist/components/docs/knowledge/index.js +21 -1730
- package/dist/components/docs/libraries/LibrariesAccessibilityPage.js +3 -198
- package/dist/components/docs/libraries/LibrariesAiAgentPage.js +3 -141
- package/dist/components/docs/libraries/LibrariesAnalyticsPage.js +4 -80
- package/dist/components/docs/libraries/LibrariesContentGenPage.js +2 -100
- package/dist/components/docs/libraries/LibrariesContractsPage.js +2 -284
- package/dist/components/docs/libraries/LibrariesCostTrackingPage.js +3 -112
- package/dist/components/docs/libraries/LibrariesDataBackendPage.js +2 -166
- package/dist/components/docs/libraries/LibrariesDataViewsPage.js +3 -186
- package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +4 -279
- package/dist/components/docs/libraries/LibrariesEvolutionPage.js +4 -127
- package/dist/components/docs/libraries/LibrariesGraphQLPage.js +2 -173
- package/dist/components/docs/libraries/LibrariesGrowthPage.js +3 -88
- package/dist/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -108
- package/dist/components/docs/libraries/LibrariesObservabilityPage.js +5 -130
- package/dist/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -110
- package/dist/components/docs/libraries/LibrariesOverviewPage.js +1 -170
- package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +4 -114
- package/dist/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -132
- package/dist/components/docs/libraries/LibrariesResiliencePage.js +4 -120
- package/dist/components/docs/libraries/LibrariesRuntimePage.js +2 -200
- package/dist/components/docs/libraries/LibrariesSLOPage.js +3 -116
- package/dist/components/docs/libraries/LibrariesSchemaPage.js +3 -273
- package/dist/components/docs/libraries/LibrariesSupportBotPage.js +3 -134
- package/dist/components/docs/libraries/LibrariesTestingPage.js +3 -133
- package/dist/components/docs/libraries/LibrariesUIKitPage.js +2 -230
- package/dist/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -88
- package/dist/components/docs/libraries/LibrariesWorkflowsPage.js +2 -181
- package/dist/components/docs/libraries/index.js +54 -4147
- package/dist/components/docs/manifesto/ManifestoPage.js +1 -86
- package/dist/components/docs/ops/AutoEvolutionOpsPage.js +2 -132
- package/dist/components/docs/ops/DistributedTracingOpsPage.js +2 -71
- package/dist/components/docs/ops/index.js +3 -202
- package/dist/components/docs/ops/ops-lifecycle.docblocks.js +3 -38
- package/dist/components/docs/ops/ops-runbooks-a.docblocks.js +3 -94
- package/dist/components/docs/ops/ops-runbooks-b.docblocks.js +3 -76
- package/dist/components/docs/ops/ops-slo-tenant.docblocks.js +3 -76
- package/dist/components/docs/ops/ops-top.docs.js +2 -17
- package/dist/components/docs/ops/ops.docs.js +10 -302
- package/dist/components/docs/product/product.docblocks.js +5 -72
- package/dist/components/docs/reference/DocsMarkdownContent.js +2 -196
- package/dist/components/docs/reference/DocsReferenceContent.js +3 -256
- package/dist/components/docs/reference/DocsReferenceIndexClient.js +2 -127
- package/dist/components/docs/reference/DocsReferenceIndexPage.js +2 -206
- package/dist/components/docs/reference/DocsReferencePage.js +3 -265
- package/dist/components/docs/reference/docsMarkdownParser.js +2 -92
- package/dist/components/docs/reference/index.js +4 -470
- package/dist/components/docs/safety/SafetyAuditingPage.js +2 -350
- package/dist/components/docs/safety/SafetyMigrationsPage.js +2 -359
- package/dist/components/docs/safety/SafetyOverviewPage.js +1 -101
- package/dist/components/docs/safety/SafetyPDPPage.js +2 -301
- package/dist/components/docs/safety/SafetySecurityTrustPage.js +1 -206
- package/dist/components/docs/safety/SafetySigningPage.js +3 -90
- package/dist/components/docs/safety/SafetyTenantIsolationPage.js +2 -79
- package/dist/components/docs/safety/index.js +7 -1480
- package/dist/components/docs/shared/StudioPrompt.js +1 -31
- package/dist/components/docs/specs/SpecsBuilderControlPlanePage.d.ts +1 -0
- package/dist/components/docs/specs/SpecsBuilderControlPlanePage.js +34 -0
- package/dist/components/docs/specs/SpecsCapabilitiesPage.js +2 -158
- package/dist/components/docs/specs/SpecsConnectPage.d.ts +1 -0
- package/dist/components/docs/specs/SpecsConnectPage.js +8 -0
- package/dist/components/docs/specs/SpecsDataViewsPage.js +2 -260
- package/dist/components/docs/specs/SpecsModuleBundlesPage.d.ts +1 -0
- package/dist/components/docs/specs/SpecsModuleBundlesPage.js +67 -0
- package/dist/components/docs/specs/SpecsOverlaysPage.js +2 -372
- package/dist/components/docs/specs/SpecsOverviewPage.js +1 -186
- package/dist/components/docs/specs/SpecsPolicyPage.js +3 -420
- package/dist/components/docs/specs/SpecsWorkflowsPage.js +2 -325
- package/dist/components/docs/specs/index.d.ts +3 -0
- package/dist/components/docs/specs/index.js +109 -1715
- package/dist/components/docs/studio/StudioBYOKPage.js +1 -26
- package/dist/components/docs/studio/StudioDeploymentsPage.js +1 -26
- package/dist/components/docs/studio/StudioGettingStartedPage.js +1 -26
- package/dist/components/docs/studio/StudioIntegrationsPage.js +1 -26
- package/dist/components/docs/studio/StudioOverviewPage.js +1 -157
- package/dist/components/docs/studio/StudioVisualBuilderPage.js +1 -26
- package/dist/components/docs/studio/index.js +1 -282
- package/dist/components/docs/tech/contracts/tech-docs.docblocks.js +2 -19
- package/dist/components/integrations/index.js +2 -600
- package/dist/components/integrations/molecules/IntegrationCard.js +1 -100
- package/dist/components/integrations/organisms/IntegrationMarketplace.js +1 -214
- package/dist/components/integrations/organisms/IntegrationSettings.js +2 -284
- package/dist/components/integrations/organisms/KnowledgeSourceList.js +1 -103
- package/dist/components/legal/PrivacyTemplate.js +1 -1025
- package/dist/components/legal/TermsTemplate.js +1 -941
- package/dist/components/legal/index.js +1 -1963
- package/dist/components/shared/FeatureGateNotice.js +1 -38
- package/dist/components/shared/index.js +1 -38
- package/dist/components/shell/WorkspaceHeader.js +1 -100
- package/dist/components/shell/WorkspaceProjectShellLayout.js +1 -222
- package/dist/components/shell/WorkspaceShellRenderer.js +1 -228
- package/dist/components/shell/WorkspaceSidebar.js +1 -68
- package/dist/components/shell/index.js +1 -287
- package/dist/components/templates/engine/index.js +1 -39
- package/dist/components/templates/index.js +11 -965
- package/dist/components/templates/messaging/ConversationList.js +2 -83
- package/dist/components/templates/messaging/MessageComposer.js +4 -150
- package/dist/components/templates/messaging/MessageThread.js +3 -83
- package/dist/components/templates/messaging/MessagingWorkspace.js +5 -265
- package/dist/components/templates/messaging/index.js +5 -269
- package/dist/components/templates/recipes/LanguageSwitcher.js +1 -16
- package/dist/components/templates/recipes/RecipeCard.js +1 -80
- package/dist/components/templates/recipes/RecipeDetail.js +1 -74
- package/dist/components/templates/recipes/RecipeList.js +3 -245
- package/dist/components/templates/recipes/index.js +3 -248
- package/dist/components/templates/todos/FilterBar.js +1 -107
- package/dist/components/templates/todos/TaskForm.js +2 -158
- package/dist/components/templates/todos/TaskItem.js +1 -77
- package/dist/components/templates/todos/TaskList.js +5 -449
- package/dist/components/templates/todos/index.js +5 -452
- package/dist/config/contractspec-blueprint.js +1 -123
- package/dist/config/contractspec-branding.js +1 -44
- package/dist/config/contractspec-routes.js +1 -24
- package/dist/config/index.js +1 -126
- package/dist/features/contracts-registry.js +1 -178
- package/dist/features/docs/docs.contracts.js +1 -17
- package/dist/features/docs/index.js +1 -17
- package/dist/features/docs.feature.js +1 -33
- package/dist/features/index.js +1 -315
- package/dist/features/mcp.feature.js +1 -30
- package/dist/features/presentations.feature.js +1 -33
- package/dist/features/registry.js +1 -116
- package/dist/index.js +556 -28593
- package/dist/infrastructure/elysia/index.js +1 -35
- package/dist/infrastructure/elysia/logger.js +1 -35
- package/dist/infrastructure/index.js +1 -35
- package/dist/libs/email/client.js +1 -114
- package/dist/libs/email/contact.js +12 -165
- package/dist/libs/email/newsletter.js +6 -167
- package/dist/libs/email/types.js +0 -2
- package/dist/libs/email/utils.js +2 -8
- package/dist/libs/email/waitlist-application.js +28 -209
- package/dist/libs/email/waitlist.js +6 -167
- package/dist/libs/email.js +46 -363
- package/dist/libs/posthog/client.js +1 -63
- package/dist/libs/posthog/native.js +1 -23
- package/dist/libs/posthog/server.js +1 -13
- package/dist/libs/pricing-examples.js +1 -18
- package/dist/node/application/context-storage/index.js +1 -28
- package/dist/node/application/index.js +13 -2133
- package/dist/node/application/mcp/cliMcp.js +4 -452
- package/dist/node/application/mcp/common.js +1 -193
- package/dist/node/application/mcp/contractsMcp.js +2 -549
- package/dist/node/application/mcp/contractsMcpResources.js +2 -123
- package/dist/node/application/mcp/contractsMcpTools.js +1 -199
- package/dist/node/application/mcp/docsMcp.catalog.js +3 -381
- package/dist/node/application/mcp/docsMcp.data.js +1 -147
- package/dist/node/application/mcp/docsMcp.js +6 -1039
- package/dist/node/application/mcp/docsMcp.prompts.js +6 -521
- package/dist/node/application/mcp/docsMcp.reference.js +3 -235
- package/dist/node/application/mcp/docsMcp.resources.js +3 -519
- package/dist/node/application/mcp/docsMcp.tools.js +3 -518
- package/dist/node/application/mcp/index.js +13 -2106
- package/dist/node/application/mcp/internalMcp.js +2 -410
- package/dist/node/application/mcp/normalizeMcpRequest.js +1 -21
- package/dist/node/application/mcp/providerRankingMcp.js +1 -530
- package/dist/node/bundles/LibraryBundle.js +1 -138
- package/dist/node/bundles/index.js +1 -138
- package/dist/node/components/docs/DocsIndexPage.js +2 -912
- package/dist/node/components/docs/advanced/AdvancedMCPPage.js +4 -271
- package/dist/node/components/docs/advanced/AdvancedOverlayEditorPage.js +1 -107
- package/dist/node/components/docs/advanced/AdvancedRenderersPage.js +2 -118
- package/dist/node/components/docs/advanced/AdvancedSpecExperimentsPage.js +4 -92
- package/dist/node/components/docs/advanced/AdvancedTelemetryPage.js +2 -373
- package/dist/node/components/docs/advanced/AdvancedWorkflowMonitoringPage.js +2 -99
- package/dist/node/components/docs/advanced/index.js +10 -1055
- package/dist/node/components/docs/architecture/ArchitectureAppConfigPage.js +6 -243
- package/dist/node/components/docs/architecture/ArchitectureControlPlanePage.js +3 -160
- package/dist/node/components/docs/architecture/ArchitectureIntegrationBindingPage.js +7 -259
- package/dist/node/components/docs/architecture/ArchitectureKnowledgeBindingPage.js +6 -374
- package/dist/node/components/docs/architecture/ArchitectureMultiTenancyPage.js +2 -166
- package/dist/node/components/docs/architecture/ArchitectureOverviewPage.js +1 -143
- package/dist/node/components/docs/architecture/index.js +20 -1340
- package/dist/node/components/docs/comparison/ComparisonAutomationPlatformsPage.js +1 -245
- package/dist/node/components/docs/comparison/ComparisonEnterprisePlatformsPage.js +1 -230
- package/dist/node/components/docs/comparison/ComparisonInternalToolBuildersPage.js +1 -245
- package/dist/node/components/docs/comparison/ComparisonOverviewPage.js +1 -202
- package/dist/node/components/docs/comparison/ComparisonWindmillPage.js +1 -254
- package/dist/node/components/docs/comparison/ComparisonWorkflowEnginesPage.js +1 -339
- package/dist/node/components/docs/comparison/index.js +1 -1510
- package/dist/node/components/docs/docsManifest.js +1 -611
- package/dist/node/components/docs/ecosystem/IntegrationsPage.js +2 -103
- package/dist/node/components/docs/ecosystem/PluginsPage.js +13 -179
- package/dist/node/components/docs/ecosystem/RegistryPage.js +7 -100
- package/dist/node/components/docs/ecosystem/TemplatesPage.js +3 -141
- package/dist/node/components/docs/ecosystem/ecosystem.docblocks.js +2 -48
- package/dist/node/components/docs/ecosystem/index.js +23 -569
- package/dist/node/components/docs/examples/DocsExamplesPage.js +4 -124
- package/dist/node/components/docs/examples/ExampleShowcasePage.js +4 -244
- package/dist/node/components/docs/examples/exampleShowcaseData.js +4 -39
- package/dist/node/components/docs/examples/index.js +4 -330
- package/dist/node/components/docs/generated/docs-index.generated.js +1 -5
- package/dist/node/components/docs/generated/index.js +1 -74
- package/dist/node/components/docs/generated/loader.js +1 -74
- package/dist/node/components/docs/getting-started/CLIPage.js +4 -271
- package/dist/node/components/docs/getting-started/CompatibilityPage.js +1 -173
- package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +4 -134
- package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +1 -194
- package/dist/node/components/docs/getting-started/HelloWorldPage.js +5 -183
- package/dist/node/components/docs/getting-started/InstallationPage.js +3 -154
- package/dist/node/components/docs/getting-started/StartHerePage.js +2 -129
- package/dist/node/components/docs/getting-started/TroubleshootingPage.js +2 -168
- package/dist/node/components/docs/getting-started/VSCodeExtensionPage.js +1 -432
- package/dist/node/components/docs/getting-started/getting-started.docblocks.js +4 -41
- package/dist/node/components/docs/getting-started/index.js +18 -1869
- package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +2 -196
- package/dist/node/components/docs/guides/GuideConnectInRepoPage.js +43 -0
- package/dist/node/components/docs/guides/GuideContractTypesPage.js +6 -541
- package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +3 -207
- package/dist/node/components/docs/guides/GuideFirstModuleBundlePage.js +75 -0
- package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +2 -209
- package/dist/node/components/docs/guides/GuideHostBuilderWorkbenchPage.js +69 -0
- package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +8 -754
- package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -268
- package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +4 -196
- package/dist/node/components/docs/guides/GuidesIndexPage.js +2 -169
- package/dist/node/components/docs/guides/guides.docblocks.js +11 -75
- package/dist/node/components/docs/guides/index.js +213 -2428
- package/dist/node/components/docs/index.js +542 -24310
- package/dist/node/components/docs/integrations/IntegrationsCircuitBreakersPage.js +2 -42
- package/dist/node/components/docs/integrations/IntegrationsElevenLabsPage.js +3 -105
- package/dist/node/components/docs/integrations/IntegrationsGithubPage.js +3 -142
- package/dist/node/components/docs/integrations/IntegrationsGmailPage.js +3 -109
- package/dist/node/components/docs/integrations/IntegrationsGoogleCalendarPage.js +3 -79
- package/dist/node/components/docs/integrations/IntegrationsHealthRoutingPage.js +3 -146
- package/dist/node/components/docs/integrations/IntegrationsMistralPage.js +5 -150
- package/dist/node/components/docs/integrations/IntegrationsOpenAIPage.js +5 -140
- package/dist/node/components/docs/integrations/IntegrationsOverviewPage.js +1 -160
- package/dist/node/components/docs/integrations/IntegrationsPostmarkPage.js +4 -218
- package/dist/node/components/docs/integrations/IntegrationsPowensPage.js +4 -300
- package/dist/node/components/docs/integrations/IntegrationsQdrantPage.js +5 -111
- package/dist/node/components/docs/integrations/IntegrationsResendPage.js +3 -102
- package/dist/node/components/docs/integrations/IntegrationsS3Page.js +4 -124
- package/dist/node/components/docs/integrations/IntegrationsSlackPage.js +3 -144
- package/dist/node/components/docs/integrations/IntegrationsSpecModelPage.js +7 -290
- package/dist/node/components/docs/integrations/IntegrationsStripePage.js +6 -327
- package/dist/node/components/docs/integrations/IntegrationsTwilioPage.js +3 -128
- package/dist/node/components/docs/integrations/IntegrationsWhatsappMetaPage.js +2 -146
- package/dist/node/components/docs/integrations/IntegrationsWhatsappTwilioPage.js +2 -156
- package/dist/node/components/docs/integrations/index.js +52 -3100
- package/dist/node/components/docs/intent/ContractFirstApiPage.js +2 -126
- package/dist/node/components/docs/intent/DeterministicCodegenPage.js +2 -148
- package/dist/node/components/docs/intent/GenerateClientFromSchemaPage.js +7 -207
- package/dist/node/components/docs/intent/OpenapiAlternativePage.js +3 -201
- package/dist/node/components/docs/intent/SchemaValidationTypescriptPage.js +4 -144
- package/dist/node/components/docs/intent/SpecDrivenDevelopmentPage.js +2 -126
- package/dist/node/components/docs/intent/index.js +15 -1135
- package/dist/node/components/docs/intent/intent-pages.docblocks.js +1 -201
- package/dist/node/components/docs/knowledge/KnowledgeCategoriesPage.js +6 -750
- package/dist/node/components/docs/knowledge/KnowledgeExamplesPage.js +4 -175
- package/dist/node/components/docs/knowledge/KnowledgeOverviewPage.js +1 -116
- package/dist/node/components/docs/knowledge/KnowledgeSourcesPage.js +8 -391
- package/dist/node/components/docs/knowledge/KnowledgeSpacesPage.js +6 -302
- package/dist/node/components/docs/knowledge/index.js +21 -1730
- package/dist/node/components/docs/libraries/LibrariesAccessibilityPage.js +3 -198
- package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +3 -141
- package/dist/node/components/docs/libraries/LibrariesAnalyticsPage.js +4 -80
- package/dist/node/components/docs/libraries/LibrariesContentGenPage.js +2 -100
- package/dist/node/components/docs/libraries/LibrariesContractsPage.js +2 -284
- package/dist/node/components/docs/libraries/LibrariesCostTrackingPage.js +3 -112
- package/dist/node/components/docs/libraries/LibrariesDataBackendPage.js +2 -166
- package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +3 -186
- package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +4 -279
- package/dist/node/components/docs/libraries/LibrariesEvolutionPage.js +4 -127
- package/dist/node/components/docs/libraries/LibrariesGraphQLPage.js +2 -173
- package/dist/node/components/docs/libraries/LibrariesGrowthPage.js +3 -88
- package/dist/node/components/docs/libraries/LibrariesMultiTenancyPage.js +3 -108
- package/dist/node/components/docs/libraries/LibrariesObservabilityPage.js +5 -130
- package/dist/node/components/docs/libraries/LibrariesOverlayEnginePage.js +4 -110
- package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +1 -170
- package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +4 -114
- package/dist/node/components/docs/libraries/LibrariesProgressiveDeliveryPage.js +3 -132
- package/dist/node/components/docs/libraries/LibrariesResiliencePage.js +4 -120
- package/dist/node/components/docs/libraries/LibrariesRuntimePage.js +2 -200
- package/dist/node/components/docs/libraries/LibrariesSLOPage.js +3 -116
- package/dist/node/components/docs/libraries/LibrariesSchemaPage.js +3 -273
- package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +3 -134
- package/dist/node/components/docs/libraries/LibrariesTestingPage.js +3 -133
- package/dist/node/components/docs/libraries/LibrariesUIKitPage.js +2 -230
- package/dist/node/components/docs/libraries/LibrariesWorkflowComposerPage.js +3 -88
- package/dist/node/components/docs/libraries/LibrariesWorkflowsPage.js +2 -181
- package/dist/node/components/docs/libraries/index.js +54 -4147
- package/dist/node/components/docs/manifesto/ManifestoPage.js +1 -86
- package/dist/node/components/docs/ops/AutoEvolutionOpsPage.js +2 -132
- package/dist/node/components/docs/ops/DistributedTracingOpsPage.js +2 -71
- package/dist/node/components/docs/ops/index.js +3 -202
- package/dist/node/components/docs/ops/ops-lifecycle.docblocks.js +3 -38
- package/dist/node/components/docs/ops/ops-runbooks-a.docblocks.js +3 -94
- package/dist/node/components/docs/ops/ops-runbooks-b.docblocks.js +3 -76
- package/dist/node/components/docs/ops/ops-slo-tenant.docblocks.js +3 -76
- package/dist/node/components/docs/ops/ops-top.docs.js +2 -17
- package/dist/node/components/docs/ops/ops.docs.js +10 -302
- package/dist/node/components/docs/product/product.docblocks.js +5 -72
- package/dist/node/components/docs/reference/DocsMarkdownContent.js +2 -196
- package/dist/node/components/docs/reference/DocsReferenceContent.js +3 -256
- package/dist/node/components/docs/reference/DocsReferenceIndexClient.js +2 -127
- package/dist/node/components/docs/reference/DocsReferenceIndexPage.js +2 -206
- package/dist/node/components/docs/reference/DocsReferencePage.js +3 -265
- package/dist/node/components/docs/reference/docsMarkdownParser.js +2 -92
- package/dist/node/components/docs/reference/index.js +4 -470
- package/dist/node/components/docs/safety/SafetyAuditingPage.js +2 -350
- package/dist/node/components/docs/safety/SafetyMigrationsPage.js +2 -359
- package/dist/node/components/docs/safety/SafetyOverviewPage.js +1 -101
- package/dist/node/components/docs/safety/SafetyPDPPage.js +2 -301
- package/dist/node/components/docs/safety/SafetySecurityTrustPage.js +1 -206
- package/dist/node/components/docs/safety/SafetySigningPage.js +3 -90
- package/dist/node/components/docs/safety/SafetyTenantIsolationPage.js +2 -79
- package/dist/node/components/docs/safety/index.js +7 -1480
- package/dist/node/components/docs/shared/StudioPrompt.js +1 -31
- package/dist/node/components/docs/specs/SpecsBuilderControlPlanePage.js +33 -0
- package/dist/node/components/docs/specs/SpecsCapabilitiesPage.js +2 -158
- package/dist/node/components/docs/specs/SpecsConnectPage.js +7 -0
- package/dist/node/components/docs/specs/SpecsDataViewsPage.js +2 -260
- package/dist/node/components/docs/specs/SpecsModuleBundlesPage.js +66 -0
- package/dist/node/components/docs/specs/SpecsOverlaysPage.js +2 -372
- package/dist/node/components/docs/specs/SpecsOverviewPage.js +1 -186
- package/dist/node/components/docs/specs/SpecsPolicyPage.js +3 -420
- package/dist/node/components/docs/specs/SpecsWorkflowsPage.js +2 -325
- package/dist/node/components/docs/specs/index.js +109 -1715
- package/dist/node/components/docs/studio/StudioBYOKPage.js +1 -26
- package/dist/node/components/docs/studio/StudioDeploymentsPage.js +1 -26
- package/dist/node/components/docs/studio/StudioGettingStartedPage.js +1 -26
- package/dist/node/components/docs/studio/StudioIntegrationsPage.js +1 -26
- package/dist/node/components/docs/studio/StudioOverviewPage.js +1 -157
- package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +1 -26
- package/dist/node/components/docs/studio/index.js +1 -282
- package/dist/node/components/docs/tech/contracts/tech-docs.docblocks.js +2 -19
- package/dist/node/components/integrations/index.js +2 -600
- package/dist/node/components/integrations/molecules/IntegrationCard.js +1 -100
- package/dist/node/components/integrations/organisms/IntegrationMarketplace.js +1 -214
- package/dist/node/components/integrations/organisms/IntegrationSettings.js +2 -284
- package/dist/node/components/integrations/organisms/KnowledgeSourceList.js +1 -103
- package/dist/node/components/legal/PrivacyTemplate.js +1 -1025
- package/dist/node/components/legal/TermsTemplate.js +1 -941
- package/dist/node/components/legal/index.js +1 -1963
- package/dist/node/components/shared/FeatureGateNotice.js +1 -38
- package/dist/node/components/shared/index.js +1 -38
- package/dist/node/components/shell/WorkspaceHeader.js +1 -100
- package/dist/node/components/shell/WorkspaceProjectShellLayout.js +1 -222
- package/dist/node/components/shell/WorkspaceShellRenderer.js +1 -228
- package/dist/node/components/shell/WorkspaceSidebar.js +1 -68
- package/dist/node/components/shell/index.js +1 -287
- package/dist/node/components/templates/engine/index.js +1 -39
- package/dist/node/components/templates/index.js +11 -965
- package/dist/node/components/templates/messaging/ConversationList.js +2 -83
- package/dist/node/components/templates/messaging/MessageComposer.js +4 -150
- package/dist/node/components/templates/messaging/MessageThread.js +3 -83
- package/dist/node/components/templates/messaging/MessagingWorkspace.js +5 -265
- package/dist/node/components/templates/messaging/index.js +5 -269
- package/dist/node/components/templates/recipes/LanguageSwitcher.js +1 -16
- package/dist/node/components/templates/recipes/RecipeCard.js +1 -80
- package/dist/node/components/templates/recipes/RecipeDetail.js +1 -74
- package/dist/node/components/templates/recipes/RecipeList.js +3 -245
- package/dist/node/components/templates/recipes/index.js +3 -248
- package/dist/node/components/templates/todos/FilterBar.js +1 -107
- package/dist/node/components/templates/todos/TaskForm.js +2 -158
- package/dist/node/components/templates/todos/TaskItem.js +1 -77
- package/dist/node/components/templates/todos/TaskList.js +5 -449
- package/dist/node/components/templates/todos/index.js +5 -452
- package/dist/node/config/contractspec-blueprint.js +1 -123
- package/dist/node/config/contractspec-branding.js +1 -44
- package/dist/node/config/contractspec-routes.js +1 -24
- package/dist/node/config/index.js +1 -126
- package/dist/node/features/contracts-registry.js +1 -178
- package/dist/node/features/docs/docs.contracts.js +1 -17
- package/dist/node/features/docs/index.js +1 -17
- package/dist/node/features/docs.feature.js +1 -33
- package/dist/node/features/index.js +1 -315
- package/dist/node/features/mcp.feature.js +1 -30
- package/dist/node/features/presentations.feature.js +1 -33
- package/dist/node/features/registry.js +1 -116
- package/dist/node/index.js +556 -28593
- package/dist/node/infrastructure/elysia/index.js +1 -35
- package/dist/node/infrastructure/elysia/logger.js +1 -35
- package/dist/node/infrastructure/index.js +1 -35
- package/dist/node/libs/email/client.js +1 -114
- package/dist/node/libs/email/contact.js +12 -165
- package/dist/node/libs/email/newsletter.js +6 -167
- package/dist/node/libs/email/types.js +0 -2
- package/dist/node/libs/email/utils.js +2 -8
- package/dist/node/libs/email/waitlist-application.js +28 -209
- package/dist/node/libs/email/waitlist.js +6 -167
- package/dist/node/libs/email.js +46 -363
- package/dist/node/libs/posthog/client.js +1 -63
- package/dist/node/libs/posthog/native.js +1 -23
- package/dist/node/libs/posthog/server.js +1 -13
- package/dist/node/libs/pricing-examples.js +1 -18
- package/dist/node/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -97
- package/dist/node/presentation/features/atoms/FeatureIcon/index.js +1 -97
- package/dist/node/presentation/features/atoms/index.js +1 -97
- package/dist/node/presentation/features/hooks/index.js +1 -397
- package/dist/node/presentation/features/hooks/useContractsRegistry.js +1 -289
- package/dist/node/presentation/features/hooks/useFeatureFilters.js +1 -75
- package/dist/node/presentation/features/hooks/useFeatureRegistry.js +1 -147
- package/dist/node/presentation/features/hooks/useRelatedDocs.js +1 -28
- package/dist/node/presentation/features/index.js +1 -3063
- package/dist/node/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -366
- package/dist/node/presentation/features/molecules/FeatureCard/index.js +1 -366
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -50
- package/dist/node/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -50
- package/dist/node/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -92
- package/dist/node/presentation/features/molecules/FeatureFilters/index.js +1 -92
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -176
- package/dist/node/presentation/features/molecules/FeatureHoverPreview/index.js +1 -176
- package/dist/node/presentation/features/molecules/index.js +1 -505
- package/dist/node/presentation/features/organisms/FeatureDataViewsList.js +1 -304
- package/dist/node/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -154
- package/dist/node/presentation/features/organisms/FeatureDetail/index.js +1 -154
- package/dist/node/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -909
- package/dist/node/presentation/features/organisms/FeatureDiscovery/index.js +1 -909
- package/dist/node/presentation/features/organisms/FeatureEventsList.js +1 -302
- package/dist/node/presentation/features/organisms/FeatureFormsList.js +1 -302
- package/dist/node/presentation/features/organisms/FeatureOperationsList.js +1 -180
- package/dist/node/presentation/features/organisms/FeaturePresentationsList.js +1 -304
- package/dist/node/presentation/features/organisms/index.js +1 -1359
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -332
- package/dist/node/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -332
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -342
- package/dist/node/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -342
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -303
- package/dist/node/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -303
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -340
- package/dist/node/presentation/features/templates/FeatureEventsTemplate/index.js +1 -340
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -329
- package/dist/node/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -329
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -340
- package/dist/node/presentation/features/templates/FeatureFormsTemplate/index.js +1 -340
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -302
- package/dist/node/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -302
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -218
- package/dist/node/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -218
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -187
- package/dist/node/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -187
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -306
- package/dist/node/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -306
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -342
- package/dist/node/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -342
- package/dist/presentation/features/atoms/FeatureIcon/FeatureIcon.js +1 -97
- package/dist/presentation/features/atoms/FeatureIcon/index.js +1 -97
- package/dist/presentation/features/atoms/index.js +1 -97
- package/dist/presentation/features/hooks/index.js +1 -397
- package/dist/presentation/features/hooks/useContractsRegistry.js +1 -289
- package/dist/presentation/features/hooks/useFeatureFilters.js +1 -75
- package/dist/presentation/features/hooks/useFeatureRegistry.js +1 -147
- package/dist/presentation/features/hooks/useRelatedDocs.js +1 -28
- package/dist/presentation/features/index.js +1 -3063
- package/dist/presentation/features/molecules/FeatureCard/FeatureCard.js +1 -366
- package/dist/presentation/features/molecules/FeatureCard/index.js +1 -366
- package/dist/presentation/features/molecules/FeatureCategoryHeader/FeatureCategoryHeader.js +1 -50
- package/dist/presentation/features/molecules/FeatureCategoryHeader/index.js +1 -50
- package/dist/presentation/features/molecules/FeatureFilters/FeatureFilters.js +1 -92
- package/dist/presentation/features/molecules/FeatureFilters/index.js +1 -92
- package/dist/presentation/features/molecules/FeatureHoverPreview/FeatureHoverPreview.js +1 -176
- package/dist/presentation/features/molecules/FeatureHoverPreview/index.js +1 -176
- package/dist/presentation/features/molecules/index.js +1 -505
- package/dist/presentation/features/organisms/FeatureDataViewsList.js +1 -304
- package/dist/presentation/features/organisms/FeatureDetail/FeatureDetail.js +1 -154
- package/dist/presentation/features/organisms/FeatureDetail/index.js +1 -154
- package/dist/presentation/features/organisms/FeatureDiscovery/FeatureDiscovery.js +1 -909
- package/dist/presentation/features/organisms/FeatureDiscovery/index.js +1 -909
- package/dist/presentation/features/organisms/FeatureEventsList.js +1 -302
- package/dist/presentation/features/organisms/FeatureFormsList.js +1 -302
- package/dist/presentation/features/organisms/FeatureOperationsList.js +1 -180
- package/dist/presentation/features/organisms/FeaturePresentationsList.js +1 -304
- package/dist/presentation/features/organisms/index.js +1 -1359
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/FeatureDataViewDetailTemplate.js +1 -332
- package/dist/presentation/features/templates/FeatureDataViewDetailTemplate/index.js +1 -332
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/FeatureDataViewsTemplate.js +1 -342
- package/dist/presentation/features/templates/FeatureDataViewsTemplate/index.js +1 -342
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/FeatureEventDetailTemplate.js +1 -303
- package/dist/presentation/features/templates/FeatureEventDetailTemplate/index.js +1 -303
- package/dist/presentation/features/templates/FeatureEventsTemplate/FeatureEventsTemplate.js +1 -340
- package/dist/presentation/features/templates/FeatureEventsTemplate/index.js +1 -340
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/FeatureFormDetailTemplate.js +1 -329
- package/dist/presentation/features/templates/FeatureFormDetailTemplate/index.js +1 -329
- package/dist/presentation/features/templates/FeatureFormsTemplate/FeatureFormsTemplate.js +1 -340
- package/dist/presentation/features/templates/FeatureFormsTemplate/index.js +1 -340
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/FeatureOperationDetailTemplate.js +1 -302
- package/dist/presentation/features/templates/FeatureOperationDetailTemplate/index.js +1 -302
- package/dist/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.js +1 -218
- package/dist/presentation/features/templates/FeatureOperationsTemplate/index.js +1 -218
- package/dist/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js +1 -187
- package/dist/presentation/features/templates/FeatureOverviewTemplate/index.js +1 -187
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/FeaturePresentationDetailTemplate.js +1 -306
- package/dist/presentation/features/templates/FeaturePresentationDetailTemplate/index.js +1 -306
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/FeaturePresentationsTemplate.js +1 -342
- package/dist/presentation/features/templates/FeaturePresentationsTemplate/index.js +1 -342
- package/package.json +103 -31
- package/src/components/docs/DocsIndexPage.tsx +55 -0
- package/src/components/docs/architecture/ArchitectureControlPlanePage.tsx +19 -0
- package/src/components/docs/architecture/ArchitectureOverviewPage.tsx +34 -0
- package/src/components/docs/docsManifest.test.ts +70 -0
- package/src/components/docs/docsManifest.ts +71 -1
- package/src/components/docs/ecosystem/PluginsPage.tsx +24 -10
- package/src/components/docs/ecosystem/RegistryPage.tsx +11 -6
- package/src/components/docs/generated/docs-index._common.json +206 -273
- package/src/components/docs/generated/docs-index.control-plane.json +18 -0
- package/src/components/docs/generated/docs-index.defineExample.json +10 -0
- package/src/components/docs/generated/docs-index.manifest.json +22 -12
- package/src/components/docs/generated/docs-index.platform-acp.json +64 -0
- package/src/components/docs/generated/docs-index.platform-agent.json +89 -1
- package/src/components/docs/generated/docs-index.platform-context.json +48 -0
- package/src/components/docs/generated/docs-index.platform-control-plane.json +72 -0
- package/src/components/docs/generated/docs-index.platform-database.json +40 -0
- package/src/components/docs/generated/docs-index.platform-docs.json +64 -0
- package/src/components/docs/generated/docs-index.platform-provider-ranking.json +89 -1
- package/src/components/docs/generated/docs-index.pocket-family-office.json +8 -0
- package/src/components/docs/generated/docs-index.unknown.json +8 -0
- package/src/components/docs/guides/GuideConnectInRepoPage.tsx +184 -0
- package/src/components/docs/guides/GuideFirstModuleBundlePage.tsx +182 -0
- package/src/components/docs/guides/GuideHostBuilderWorkbenchPage.tsx +230 -0
- package/src/components/docs/guides/GuidesIndexPage.tsx +21 -0
- package/src/components/docs/guides/index.ts +3 -0
- package/src/components/docs/specs/SpecsBuilderControlPlanePage.tsx +210 -0
- package/src/components/docs/specs/SpecsConnectPage.tsx +162 -0
- package/src/components/docs/specs/SpecsModuleBundlesPage.tsx +223 -0
- package/src/components/docs/specs/SpecsOverlaysPage.tsx +20 -0
- package/src/components/docs/specs/SpecsOverviewPage.tsx +44 -0
- package/src/components/docs/specs/index.ts +3 -0
- package/src/components/docs/studio/StudioOverviewPage.tsx +26 -0
- package/src/infrastructure/elysia/logger.ts +11 -3
|
@@ -1,218 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
EventRegistry,
|
|
4
|
-
OperationSpecRegistry
|
|
5
|
-
} from "@contractspec/lib.contracts-spec";
|
|
6
|
-
import {
|
|
7
|
-
DataViewRegistry
|
|
8
|
-
} from "@contractspec/lib.contracts-spec/data-views";
|
|
9
|
-
import {
|
|
10
|
-
ContractReferenceDataView,
|
|
11
|
-
ContractReferenceQuery,
|
|
12
|
-
DocsGenerateCommand,
|
|
13
|
-
DocsGeneratedEvent,
|
|
14
|
-
DocsIndexDataView,
|
|
15
|
-
DocsIndexQuery,
|
|
16
|
-
DocsLayoutPresentation,
|
|
17
|
-
DocsPublishCommand,
|
|
18
|
-
DocsPublishedEvent,
|
|
19
|
-
DocsReferencePagePresentation,
|
|
20
|
-
DocsSearchForm,
|
|
21
|
-
ExampleCatalogDataView
|
|
22
|
-
} from "@contractspec/lib.contracts-spec/docs";
|
|
23
|
-
import { FormRegistry } from "@contractspec/lib.contracts-spec/forms";
|
|
24
|
-
import {
|
|
25
|
-
PresentationRegistry
|
|
26
|
-
} from "@contractspec/lib.contracts-spec/presentations";
|
|
27
|
-
import {
|
|
28
|
-
serializeDataViewSpec,
|
|
29
|
-
serializeEventSpec,
|
|
30
|
-
serializeFormSpec,
|
|
31
|
-
serializeOperationSpec,
|
|
32
|
-
serializePresentationSpec
|
|
33
|
-
} from "@contractspec/lib.contracts-spec/serialization";
|
|
34
|
-
var operationRegistry = null;
|
|
35
|
-
function createContractSpecOperationRegistry() {
|
|
36
|
-
const registry = new OperationSpecRegistry;
|
|
37
|
-
registry.register(DocsIndexQuery).register(ContractReferenceQuery).register(DocsGenerateCommand).register(DocsPublishCommand);
|
|
38
|
-
return registry;
|
|
39
|
-
}
|
|
40
|
-
function getContractSpecOperationRegistry() {
|
|
41
|
-
if (!operationRegistry) {
|
|
42
|
-
operationRegistry = createContractSpecOperationRegistry();
|
|
43
|
-
}
|
|
44
|
-
return operationRegistry;
|
|
45
|
-
}
|
|
46
|
-
function resolveOperationSpec(key, version) {
|
|
47
|
-
return getContractSpecOperationRegistry().get(key, version);
|
|
48
|
-
}
|
|
49
|
-
var eventRegistry = null;
|
|
50
|
-
function createContractSpecEventRegistry() {
|
|
51
|
-
const registry = new EventRegistry;
|
|
52
|
-
registry.register(DocsGeneratedEvent).register(DocsPublishedEvent);
|
|
53
|
-
return registry;
|
|
54
|
-
}
|
|
55
|
-
function getContractSpecEventRegistry() {
|
|
56
|
-
if (!eventRegistry) {
|
|
57
|
-
eventRegistry = createContractSpecEventRegistry();
|
|
58
|
-
}
|
|
59
|
-
return eventRegistry;
|
|
60
|
-
}
|
|
61
|
-
function resolveEventSpec(key, version) {
|
|
62
|
-
return getContractSpecEventRegistry().get(key, version);
|
|
63
|
-
}
|
|
64
|
-
var presentationRegistry = null;
|
|
65
|
-
function createContractSpecPresentationRegistry() {
|
|
66
|
-
const registry = new PresentationRegistry;
|
|
67
|
-
registry.register(DocsLayoutPresentation).register(DocsReferencePagePresentation);
|
|
68
|
-
return registry;
|
|
69
|
-
}
|
|
70
|
-
function getContractSpecPresentationRegistry() {
|
|
71
|
-
if (!presentationRegistry) {
|
|
72
|
-
presentationRegistry = createContractSpecPresentationRegistry();
|
|
73
|
-
}
|
|
74
|
-
return presentationRegistry;
|
|
75
|
-
}
|
|
76
|
-
function resolvePresentationSpec(key, version) {
|
|
77
|
-
return getContractSpecPresentationRegistry().get(key, version);
|
|
78
|
-
}
|
|
79
|
-
var dataViewRegistry = null;
|
|
80
|
-
function createContractSpecDataViewRegistry() {
|
|
81
|
-
const registry = new DataViewRegistry;
|
|
82
|
-
registry.register(DocsIndexDataView).register(ContractReferenceDataView).register(ExampleCatalogDataView);
|
|
83
|
-
return registry;
|
|
84
|
-
}
|
|
85
|
-
function getContractSpecDataViewRegistry() {
|
|
86
|
-
if (!dataViewRegistry) {
|
|
87
|
-
dataViewRegistry = createContractSpecDataViewRegistry();
|
|
88
|
-
}
|
|
89
|
-
return dataViewRegistry;
|
|
90
|
-
}
|
|
91
|
-
function resolveDataViewSpec(key, version) {
|
|
92
|
-
return getContractSpecDataViewRegistry().get(key, version);
|
|
93
|
-
}
|
|
94
|
-
var formRegistry = null;
|
|
95
|
-
function createContractSpecFormRegistry() {
|
|
96
|
-
const registry = new FormRegistry;
|
|
97
|
-
registry.register(DocsSearchForm);
|
|
98
|
-
return registry;
|
|
99
|
-
}
|
|
100
|
-
function getContractSpecFormRegistry() {
|
|
101
|
-
if (!formRegistry) {
|
|
102
|
-
formRegistry = createContractSpecFormRegistry();
|
|
103
|
-
}
|
|
104
|
-
return formRegistry;
|
|
105
|
-
}
|
|
106
|
-
function resolveFormSpec(key, _version) {
|
|
107
|
-
return getContractSpecFormRegistry().get(key);
|
|
108
|
-
}
|
|
109
|
-
function resolveSerializedOperationSpec(key, version) {
|
|
110
|
-
const spec = resolveOperationSpec(key, version);
|
|
111
|
-
return serializeOperationSpec(spec) ?? undefined;
|
|
112
|
-
}
|
|
113
|
-
function resolveSerializedEventSpec(key, version) {
|
|
114
|
-
const spec = resolveEventSpec(key, version);
|
|
115
|
-
return serializeEventSpec(spec) ?? undefined;
|
|
116
|
-
}
|
|
117
|
-
function resolveSerializedPresentationSpec(key, version) {
|
|
118
|
-
const spec = resolvePresentationSpec(key, version);
|
|
119
|
-
return serializePresentationSpec(spec) ?? undefined;
|
|
120
|
-
}
|
|
121
|
-
function resolveSerializedDataViewSpec(key, version) {
|
|
122
|
-
const spec = resolveDataViewSpec(key, version);
|
|
123
|
-
return serializeDataViewSpec(spec) ?? undefined;
|
|
124
|
-
}
|
|
125
|
-
function resolveSerializedFormSpec(key, version) {
|
|
126
|
-
const spec = resolveFormSpec(key, version);
|
|
127
|
-
return serializeFormSpec(spec) ?? undefined;
|
|
128
|
-
}
|
|
129
|
-
function resetContractSpecOperationRegistry() {
|
|
130
|
-
operationRegistry = null;
|
|
131
|
-
}
|
|
132
|
-
function resetContractSpecEventRegistry() {
|
|
133
|
-
eventRegistry = null;
|
|
134
|
-
}
|
|
135
|
-
function resetContractSpecPresentationRegistry() {
|
|
136
|
-
presentationRegistry = null;
|
|
137
|
-
}
|
|
138
|
-
function resetContractSpecDataViewRegistry() {
|
|
139
|
-
dataViewRegistry = null;
|
|
140
|
-
}
|
|
141
|
-
function resetContractSpecFormRegistry() {
|
|
142
|
-
formRegistry = null;
|
|
143
|
-
}
|
|
144
|
-
function resetAllContractSpecRegistries() {
|
|
145
|
-
resetContractSpecOperationRegistry();
|
|
146
|
-
resetContractSpecEventRegistry();
|
|
147
|
-
resetContractSpecPresentationRegistry();
|
|
148
|
-
resetContractSpecDataViewRegistry();
|
|
149
|
-
resetContractSpecFormRegistry();
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
// src/presentation/features/organisms/FeatureOperationsList.tsx
|
|
153
|
-
import { EntityCard } from "@contractspec/lib.design-system";
|
|
154
|
-
import { Zap } from "lucide-react";
|
|
155
|
-
import { jsx } from "react/jsx-runtime";
|
|
156
|
-
"use client";
|
|
157
|
-
function FeatureOperationsList({
|
|
158
|
-
feature
|
|
159
|
-
}) {
|
|
160
|
-
if (!feature.operations?.length)
|
|
161
|
-
return null;
|
|
162
|
-
return /* @__PURE__ */ jsx("div", {
|
|
163
|
-
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
164
|
-
children: feature.operations.map((op) => {
|
|
165
|
-
const spec = resolveSerializedOperationSpec(op.key, op.version);
|
|
166
|
-
return /* @__PURE__ */ jsx(EntityCard, {
|
|
167
|
-
cardTitle: op.key,
|
|
168
|
-
cardSubtitle: `v${op.version}`,
|
|
169
|
-
footer: spec?.meta.description,
|
|
170
|
-
icon: /* @__PURE__ */ jsx(Zap, {
|
|
171
|
-
className: "h-4 w-4"
|
|
172
|
-
}),
|
|
173
|
-
href: `/features/${feature.meta.key}/operations/${op.key}`
|
|
174
|
-
}, op.key);
|
|
175
|
-
})
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
// src/presentation/features/templates/FeatureOperationsTemplate/FeatureOperationsTemplate.tsx
|
|
180
|
-
import {
|
|
181
|
-
Breadcrumbs,
|
|
182
|
-
PageHeaderResponsive
|
|
183
|
-
} from "@contractspec/lib.design-system";
|
|
184
|
-
import { VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
185
|
-
import { cn } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
186
|
-
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
187
|
-
"use client";
|
|
188
|
-
function FeatureOperationsTemplate({
|
|
189
|
-
feature,
|
|
190
|
-
className
|
|
191
|
-
}) {
|
|
192
|
-
return /* @__PURE__ */ jsxs(VStack, {
|
|
193
|
-
gap: "lg",
|
|
194
|
-
className: cn("mx-auto w-full max-w-5xl p-6", className),
|
|
195
|
-
children: [
|
|
196
|
-
/* @__PURE__ */ jsx2(PageHeaderResponsive, {
|
|
197
|
-
title: "Operations",
|
|
198
|
-
subtitle: `Operations defined in ${feature.meta.title ?? feature.meta.key}`,
|
|
199
|
-
breadcrumb: /* @__PURE__ */ jsx2(Breadcrumbs, {
|
|
200
|
-
items: [
|
|
201
|
-
{ label: "Features", href: "/features" },
|
|
202
|
-
{
|
|
203
|
-
label: feature.meta.title || feature.meta.key,
|
|
204
|
-
href: `/features/${feature.meta.key}`
|
|
205
|
-
},
|
|
206
|
-
{ label: "Operations" }
|
|
207
|
-
]
|
|
208
|
-
})
|
|
209
|
-
}),
|
|
210
|
-
/* @__PURE__ */ jsx2(FeatureOperationsList, {
|
|
211
|
-
feature
|
|
212
|
-
})
|
|
213
|
-
]
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
export {
|
|
217
|
-
FeatureOperationsTemplate
|
|
218
|
-
};
|
|
1
|
+
import{EventRegistry as U,OperationSpecRegistry as W}from"@contractspec/lib.contracts-spec";import{DataViewRegistry as X}from"@contractspec/lib.contracts-spec/data-views";import{ContractReferenceDataView as Y,ContractReferenceQuery as _,DocsGenerateCommand as $,DocsGeneratedEvent as b,DocsIndexDataView as z,DocsIndexQuery as B,DocsLayoutPresentation as E,DocsPublishCommand as H,DocsPublishedEvent as V,DocsReferencePagePresentation as Z,DocsSearchForm as C,ExampleCatalogDataView as F}from"@contractspec/lib.contracts-spec/docs";import{FormRegistry as L}from"@contractspec/lib.contracts-spec/forms";import{PresentationRegistry as N}from"@contractspec/lib.contracts-spec/presentations";import{serializeDataViewSpec as P,serializeEventSpec as R,serializeFormSpec as O,serializeOperationSpec as d,serializePresentationSpec as l}from"@contractspec/lib.contracts-spec/serialization";var A=null;function S(){let h=new W;return h.register(B).register(_).register($).register(H),h}function m(){if(!A)A=S();return A}function x(h,q){return m().get(h,q)}var D=null;function j(){let h=new U;return h.register(b).register(V),h}function g(){if(!D)D=j();return D}function c(h,q){return g().get(h,q)}var G=null;function f(){let h=new N;return h.register(E).register(Z),h}function v(){if(!G)G=f();return G}function k(h,q){return v().get(h,q)}var I=null;function p(){let h=new X;return h.register(z).register(Y).register(F),h}function u(){if(!I)I=p();return I}function n(h,q){return u().get(h,q)}var J=null;function y(){let h=new L;return h.register(C),h}function o(){if(!J)J=y();return J}function a(h,q){return o().get(h)}function Q(h,q){let w=x(h,q);return d(w)??void 0}function Wh(h,q){let w=c(h,q);return R(w)??void 0}function Xh(h,q){let w=k(h,q);return l(w)??void 0}function Yh(h,q){let w=n(h,q);return P(w)??void 0}function _h(h,q){let w=a(h,q);return O(w)??void 0}function i(){A=null}function t(){D=null}function s(){G=null}function r(){I=null}function e(){J=null}function $h(){i(),t(),s(),r(),e()}import{EntityCard as hh}from"@contractspec/lib.design-system";import{Zap as qh}from"lucide-react";import{jsx as K}from"react/jsx-runtime";function T({feature:h}){if(!h.operations?.length)return null;return K("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:h.operations.map((q)=>{let w=Q(q.key,q.version);return K(hh,{cardTitle:q.key,cardSubtitle:`v${q.version}`,footer:w?.meta.description,icon:K(qh,{className:"h-4 w-4"}),href:`/features/${h.meta.key}/operations/${q.key}`},q.key)})})}import{Breadcrumbs as wh,PageHeaderResponsive as Ah}from"@contractspec/lib.design-system";import{VStack as Dh}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as Gh}from"@contractspec/lib.ui-kit-web/ui/utils";import{jsx as M,jsxs as Ih}from"react/jsx-runtime";function Nh({feature:h,className:q}){return Ih(Dh,{gap:"lg",className:Gh("mx-auto w-full max-w-5xl p-6",q),children:[M(Ah,{title:"Operations",subtitle:`Operations defined in ${h.meta.title??h.meta.key}`,breadcrumb:M(wh,{items:[{label:"Features",href:"/features"},{label:h.meta.title||h.meta.key,href:`/features/${h.meta.key}`},{label:"Operations"}]})}),M(T,{feature:h})]})}export{Nh as FeatureOperationsTemplate};
|
package/dist/node/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.js
CHANGED
|
@@ -1,187 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
StatCard,
|
|
4
|
-
StatCardGroup,
|
|
5
|
-
StatusChip
|
|
6
|
-
} from "@contractspec/lib.design-system";
|
|
7
|
-
import { Box, HStack, VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
8
|
-
import { cn } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
9
|
-
import Link from "next/link";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
"use client";
|
|
12
|
-
var stabilityTone = {
|
|
13
|
-
stable: "success",
|
|
14
|
-
beta: "warning",
|
|
15
|
-
experimental: "info",
|
|
16
|
-
deprecated: "danger"
|
|
17
|
-
};
|
|
18
|
-
function FeatureDetail({ feature, className }) {
|
|
19
|
-
const { meta, operations, events, presentations, capabilities } = feature;
|
|
20
|
-
const tone = stabilityTone[meta.stability] ?? "neutral";
|
|
21
|
-
return /* @__PURE__ */ jsxs(VStack, {
|
|
22
|
-
gap: "lg",
|
|
23
|
-
className: cn("w-full", className),
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ jsxs(HStack, {
|
|
26
|
-
gap: "sm",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ jsx(StatusChip, {
|
|
29
|
-
tone,
|
|
30
|
-
label: meta.stability ?? "unknown"
|
|
31
|
-
}),
|
|
32
|
-
/* @__PURE__ */ jsx(StatusChip, {
|
|
33
|
-
tone: "neutral",
|
|
34
|
-
label: meta.key,
|
|
35
|
-
size: "sm"
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ jsx(StatusChip, {
|
|
38
|
-
tone: "neutral",
|
|
39
|
-
label: `v${meta.version}`,
|
|
40
|
-
size: "sm"
|
|
41
|
-
})
|
|
42
|
-
]
|
|
43
|
-
}),
|
|
44
|
-
/* @__PURE__ */ jsxs(StatCardGroup, {
|
|
45
|
-
children: [
|
|
46
|
-
/* @__PURE__ */ jsx(Link, {
|
|
47
|
-
href: `./${feature.meta.key}/operations`,
|
|
48
|
-
children: /* @__PURE__ */ jsx(StatCard, {
|
|
49
|
-
label: "Operations",
|
|
50
|
-
value: operations?.length ?? 0
|
|
51
|
-
})
|
|
52
|
-
}),
|
|
53
|
-
/* @__PURE__ */ jsx(Link, {
|
|
54
|
-
href: `./${feature.meta.key}/events`,
|
|
55
|
-
children: /* @__PURE__ */ jsx(StatCard, {
|
|
56
|
-
label: "Events",
|
|
57
|
-
value: events?.length ?? 0
|
|
58
|
-
})
|
|
59
|
-
}),
|
|
60
|
-
/* @__PURE__ */ jsx(Link, {
|
|
61
|
-
href: `./${feature.meta.key}/presentations`,
|
|
62
|
-
children: /* @__PURE__ */ jsx(StatCard, {
|
|
63
|
-
label: "Presentations",
|
|
64
|
-
value: presentations?.length ?? 0
|
|
65
|
-
})
|
|
66
|
-
})
|
|
67
|
-
]
|
|
68
|
-
}),
|
|
69
|
-
capabilities?.provides?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
70
|
-
className: "flex-col rounded-lg border p-4",
|
|
71
|
-
gap: "sm",
|
|
72
|
-
align: "start",
|
|
73
|
-
children: [
|
|
74
|
-
/* @__PURE__ */ jsx("span", {
|
|
75
|
-
className: "font-semibold",
|
|
76
|
-
children: "Provides Capabilities"
|
|
77
|
-
}),
|
|
78
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
79
|
-
gap: "xs",
|
|
80
|
-
wrap: "wrap",
|
|
81
|
-
children: capabilities.provides.map((cap) => /* @__PURE__ */ jsx(StatusChip, {
|
|
82
|
-
tone: "success",
|
|
83
|
-
label: `${cap.key} v${cap.version}`,
|
|
84
|
-
size: "sm"
|
|
85
|
-
}, `${cap.key}-${cap.version}`))
|
|
86
|
-
})
|
|
87
|
-
]
|
|
88
|
-
}) : null,
|
|
89
|
-
capabilities?.requires?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
90
|
-
className: "flex-col rounded-lg border p-4",
|
|
91
|
-
gap: "sm",
|
|
92
|
-
align: "start",
|
|
93
|
-
children: [
|
|
94
|
-
/* @__PURE__ */ jsx("span", {
|
|
95
|
-
className: "font-semibold",
|
|
96
|
-
children: "Requires Capabilities"
|
|
97
|
-
}),
|
|
98
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
99
|
-
gap: "xs",
|
|
100
|
-
wrap: "wrap",
|
|
101
|
-
children: capabilities.requires.map((req) => /* @__PURE__ */ jsx(StatusChip, {
|
|
102
|
-
tone: "info",
|
|
103
|
-
label: `${req.key}${req.version ? ` v${req.version}` : ""}${req.optional ? " (optional)" : ""}`,
|
|
104
|
-
size: "sm"
|
|
105
|
-
}, req.key))
|
|
106
|
-
})
|
|
107
|
-
]
|
|
108
|
-
}) : null,
|
|
109
|
-
meta.tags?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
110
|
-
className: "flex-col rounded-lg border p-4",
|
|
111
|
-
gap: "sm",
|
|
112
|
-
align: "start",
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ jsx("span", {
|
|
115
|
-
className: "font-semibold",
|
|
116
|
-
children: "Tags"
|
|
117
|
-
}),
|
|
118
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
119
|
-
gap: "xs",
|
|
120
|
-
wrap: "wrap",
|
|
121
|
-
children: meta.tags.map((tag) => /* @__PURE__ */ jsx(StatusChip, {
|
|
122
|
-
tone: "neutral",
|
|
123
|
-
label: `#${tag}`,
|
|
124
|
-
size: "sm"
|
|
125
|
-
}, tag))
|
|
126
|
-
})
|
|
127
|
-
]
|
|
128
|
-
}) : null,
|
|
129
|
-
meta.owners?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
130
|
-
className: "flex-col rounded-lg border p-4",
|
|
131
|
-
gap: "sm",
|
|
132
|
-
align: "start",
|
|
133
|
-
children: [
|
|
134
|
-
/* @__PURE__ */ jsx("span", {
|
|
135
|
-
className: "font-semibold",
|
|
136
|
-
children: "Owners"
|
|
137
|
-
}),
|
|
138
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
139
|
-
gap: "xs",
|
|
140
|
-
wrap: "wrap",
|
|
141
|
-
children: meta.owners.map((owner) => /* @__PURE__ */ jsx(StatusChip, {
|
|
142
|
-
tone: "neutral",
|
|
143
|
-
label: owner,
|
|
144
|
-
size: "sm"
|
|
145
|
-
}, owner))
|
|
146
|
-
})
|
|
147
|
-
]
|
|
148
|
-
}) : null
|
|
149
|
-
]
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
// src/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.tsx
|
|
153
|
-
import {
|
|
154
|
-
Breadcrumbs,
|
|
155
|
-
PageHeaderResponsive
|
|
156
|
-
} from "@contractspec/lib.design-system";
|
|
157
|
-
import { VStack as VStack2 } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
158
|
-
import { cn as cn2 } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
159
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
160
|
-
"use client";
|
|
161
|
-
function FeatureOverviewTemplate({
|
|
162
|
-
feature,
|
|
163
|
-
className
|
|
164
|
-
}) {
|
|
165
|
-
return /* @__PURE__ */ jsxs2(VStack2, {
|
|
166
|
-
gap: "lg",
|
|
167
|
-
className: cn2("mx-auto w-full max-w-5xl p-6", className),
|
|
168
|
-
children: [
|
|
169
|
-
/* @__PURE__ */ jsx2(PageHeaderResponsive, {
|
|
170
|
-
title: feature.meta.title || feature.meta.key,
|
|
171
|
-
subtitle: feature.meta.description || "Feature overview",
|
|
172
|
-
breadcrumb: /* @__PURE__ */ jsx2(Breadcrumbs, {
|
|
173
|
-
items: [
|
|
174
|
-
{ label: "Features", href: "/features" },
|
|
175
|
-
{ label: feature.meta.title || feature.meta.key }
|
|
176
|
-
]
|
|
177
|
-
})
|
|
178
|
-
}),
|
|
179
|
-
/* @__PURE__ */ jsx2(FeatureDetail, {
|
|
180
|
-
feature
|
|
181
|
-
})
|
|
182
|
-
]
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
export {
|
|
186
|
-
FeatureOverviewTemplate
|
|
187
|
-
};
|
|
1
|
+
import{StatCard as O,StatCardGroup as _,StatusChip as E}from"@contractspec/lib.design-system";import{Box as K,HStack as I,VStack as $}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as G}from"@contractspec/lib.ui-kit-web/ui/utils";import P from"next/link";import{jsx as y,jsxs as F}from"react/jsx-runtime";var R={stable:"success",beta:"warning",experimental:"info",deprecated:"danger"};function Q({feature:A,className:M}){let{meta:D,operations:W,events:X,presentations:Y,capabilities:J}=A,Z=R[D.stability]??"neutral";return F($,{gap:"lg",className:G("w-full",M),children:[F(I,{gap:"sm",children:[y(E,{tone:Z,label:D.stability??"unknown"}),y(E,{tone:"neutral",label:D.key,size:"sm"}),y(E,{tone:"neutral",label:`v${D.version}`,size:"sm"})]}),F(_,{children:[y(P,{href:`./${A.meta.key}/operations`,children:y(O,{label:"Operations",value:W?.length??0})}),y(P,{href:`./${A.meta.key}/events`,children:y(O,{label:"Events",value:X?.length??0})}),y(P,{href:`./${A.meta.key}/presentations`,children:y(O,{label:"Presentations",value:Y?.length??0})})]}),J?.provides?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Provides Capabilities"}),y(I,{gap:"xs",wrap:"wrap",children:J.provides.map((z)=>y(E,{tone:"success",label:`${z.key} v${z.version}`,size:"sm"},`${z.key}-${z.version}`))})]}):null,J?.requires?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Requires Capabilities"}),y(I,{gap:"xs",wrap:"wrap",children:J.requires.map((z)=>y(E,{tone:"info",label:`${z.key}${z.version?` v${z.version}`:""}${z.optional?" (optional)":""}`,size:"sm"},z.key))})]}):null,D.tags?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Tags"}),y(I,{gap:"xs",wrap:"wrap",children:D.tags.map((z)=>y(E,{tone:"neutral",label:`#${z}`,size:"sm"},z))})]}):null,D.owners?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Owners"}),y(I,{gap:"xs",wrap:"wrap",children:D.owners.map((z)=>y(E,{tone:"neutral",label:z,size:"sm"},z))})]}):null]})}import{Breadcrumbs as T,PageHeaderResponsive as v}from"@contractspec/lib.design-system";import{VStack as V}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as L}from"@contractspec/lib.ui-kit-web/ui/utils";import{jsx as U,jsxs as N}from"react/jsx-runtime";function m({feature:A,className:M}){return N(V,{gap:"lg",className:L("mx-auto w-full max-w-5xl p-6",M),children:[U(v,{title:A.meta.title||A.meta.key,subtitle:A.meta.description||"Feature overview",breadcrumb:U(T,{items:[{label:"Features",href:"/features"},{label:A.meta.title||A.meta.key}]})}),U(Q,{feature:A})]})}export{m as FeatureOverviewTemplate};
|
|
@@ -1,187 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
StatCard,
|
|
4
|
-
StatCardGroup,
|
|
5
|
-
StatusChip
|
|
6
|
-
} from "@contractspec/lib.design-system";
|
|
7
|
-
import { Box, HStack, VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
8
|
-
import { cn } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
9
|
-
import Link from "next/link";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
"use client";
|
|
12
|
-
var stabilityTone = {
|
|
13
|
-
stable: "success",
|
|
14
|
-
beta: "warning",
|
|
15
|
-
experimental: "info",
|
|
16
|
-
deprecated: "danger"
|
|
17
|
-
};
|
|
18
|
-
function FeatureDetail({ feature, className }) {
|
|
19
|
-
const { meta, operations, events, presentations, capabilities } = feature;
|
|
20
|
-
const tone = stabilityTone[meta.stability] ?? "neutral";
|
|
21
|
-
return /* @__PURE__ */ jsxs(VStack, {
|
|
22
|
-
gap: "lg",
|
|
23
|
-
className: cn("w-full", className),
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ jsxs(HStack, {
|
|
26
|
-
gap: "sm",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ jsx(StatusChip, {
|
|
29
|
-
tone,
|
|
30
|
-
label: meta.stability ?? "unknown"
|
|
31
|
-
}),
|
|
32
|
-
/* @__PURE__ */ jsx(StatusChip, {
|
|
33
|
-
tone: "neutral",
|
|
34
|
-
label: meta.key,
|
|
35
|
-
size: "sm"
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ jsx(StatusChip, {
|
|
38
|
-
tone: "neutral",
|
|
39
|
-
label: `v${meta.version}`,
|
|
40
|
-
size: "sm"
|
|
41
|
-
})
|
|
42
|
-
]
|
|
43
|
-
}),
|
|
44
|
-
/* @__PURE__ */ jsxs(StatCardGroup, {
|
|
45
|
-
children: [
|
|
46
|
-
/* @__PURE__ */ jsx(Link, {
|
|
47
|
-
href: `./${feature.meta.key}/operations`,
|
|
48
|
-
children: /* @__PURE__ */ jsx(StatCard, {
|
|
49
|
-
label: "Operations",
|
|
50
|
-
value: operations?.length ?? 0
|
|
51
|
-
})
|
|
52
|
-
}),
|
|
53
|
-
/* @__PURE__ */ jsx(Link, {
|
|
54
|
-
href: `./${feature.meta.key}/events`,
|
|
55
|
-
children: /* @__PURE__ */ jsx(StatCard, {
|
|
56
|
-
label: "Events",
|
|
57
|
-
value: events?.length ?? 0
|
|
58
|
-
})
|
|
59
|
-
}),
|
|
60
|
-
/* @__PURE__ */ jsx(Link, {
|
|
61
|
-
href: `./${feature.meta.key}/presentations`,
|
|
62
|
-
children: /* @__PURE__ */ jsx(StatCard, {
|
|
63
|
-
label: "Presentations",
|
|
64
|
-
value: presentations?.length ?? 0
|
|
65
|
-
})
|
|
66
|
-
})
|
|
67
|
-
]
|
|
68
|
-
}),
|
|
69
|
-
capabilities?.provides?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
70
|
-
className: "flex-col rounded-lg border p-4",
|
|
71
|
-
gap: "sm",
|
|
72
|
-
align: "start",
|
|
73
|
-
children: [
|
|
74
|
-
/* @__PURE__ */ jsx("span", {
|
|
75
|
-
className: "font-semibold",
|
|
76
|
-
children: "Provides Capabilities"
|
|
77
|
-
}),
|
|
78
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
79
|
-
gap: "xs",
|
|
80
|
-
wrap: "wrap",
|
|
81
|
-
children: capabilities.provides.map((cap) => /* @__PURE__ */ jsx(StatusChip, {
|
|
82
|
-
tone: "success",
|
|
83
|
-
label: `${cap.key} v${cap.version}`,
|
|
84
|
-
size: "sm"
|
|
85
|
-
}, `${cap.key}-${cap.version}`))
|
|
86
|
-
})
|
|
87
|
-
]
|
|
88
|
-
}) : null,
|
|
89
|
-
capabilities?.requires?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
90
|
-
className: "flex-col rounded-lg border p-4",
|
|
91
|
-
gap: "sm",
|
|
92
|
-
align: "start",
|
|
93
|
-
children: [
|
|
94
|
-
/* @__PURE__ */ jsx("span", {
|
|
95
|
-
className: "font-semibold",
|
|
96
|
-
children: "Requires Capabilities"
|
|
97
|
-
}),
|
|
98
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
99
|
-
gap: "xs",
|
|
100
|
-
wrap: "wrap",
|
|
101
|
-
children: capabilities.requires.map((req) => /* @__PURE__ */ jsx(StatusChip, {
|
|
102
|
-
tone: "info",
|
|
103
|
-
label: `${req.key}${req.version ? ` v${req.version}` : ""}${req.optional ? " (optional)" : ""}`,
|
|
104
|
-
size: "sm"
|
|
105
|
-
}, req.key))
|
|
106
|
-
})
|
|
107
|
-
]
|
|
108
|
-
}) : null,
|
|
109
|
-
meta.tags?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
110
|
-
className: "flex-col rounded-lg border p-4",
|
|
111
|
-
gap: "sm",
|
|
112
|
-
align: "start",
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ jsx("span", {
|
|
115
|
-
className: "font-semibold",
|
|
116
|
-
children: "Tags"
|
|
117
|
-
}),
|
|
118
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
119
|
-
gap: "xs",
|
|
120
|
-
wrap: "wrap",
|
|
121
|
-
children: meta.tags.map((tag) => /* @__PURE__ */ jsx(StatusChip, {
|
|
122
|
-
tone: "neutral",
|
|
123
|
-
label: `#${tag}`,
|
|
124
|
-
size: "sm"
|
|
125
|
-
}, tag))
|
|
126
|
-
})
|
|
127
|
-
]
|
|
128
|
-
}) : null,
|
|
129
|
-
meta.owners?.length ? /* @__PURE__ */ jsxs(Box, {
|
|
130
|
-
className: "flex-col rounded-lg border p-4",
|
|
131
|
-
gap: "sm",
|
|
132
|
-
align: "start",
|
|
133
|
-
children: [
|
|
134
|
-
/* @__PURE__ */ jsx("span", {
|
|
135
|
-
className: "font-semibold",
|
|
136
|
-
children: "Owners"
|
|
137
|
-
}),
|
|
138
|
-
/* @__PURE__ */ jsx(HStack, {
|
|
139
|
-
gap: "xs",
|
|
140
|
-
wrap: "wrap",
|
|
141
|
-
children: meta.owners.map((owner) => /* @__PURE__ */ jsx(StatusChip, {
|
|
142
|
-
tone: "neutral",
|
|
143
|
-
label: owner,
|
|
144
|
-
size: "sm"
|
|
145
|
-
}, owner))
|
|
146
|
-
})
|
|
147
|
-
]
|
|
148
|
-
}) : null
|
|
149
|
-
]
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
// src/presentation/features/templates/FeatureOverviewTemplate/FeatureOverviewTemplate.tsx
|
|
153
|
-
import {
|
|
154
|
-
Breadcrumbs,
|
|
155
|
-
PageHeaderResponsive
|
|
156
|
-
} from "@contractspec/lib.design-system";
|
|
157
|
-
import { VStack as VStack2 } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
158
|
-
import { cn as cn2 } from "@contractspec/lib.ui-kit-web/ui/utils";
|
|
159
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
160
|
-
"use client";
|
|
161
|
-
function FeatureOverviewTemplate({
|
|
162
|
-
feature,
|
|
163
|
-
className
|
|
164
|
-
}) {
|
|
165
|
-
return /* @__PURE__ */ jsxs2(VStack2, {
|
|
166
|
-
gap: "lg",
|
|
167
|
-
className: cn2("mx-auto w-full max-w-5xl p-6", className),
|
|
168
|
-
children: [
|
|
169
|
-
/* @__PURE__ */ jsx2(PageHeaderResponsive, {
|
|
170
|
-
title: feature.meta.title || feature.meta.key,
|
|
171
|
-
subtitle: feature.meta.description || "Feature overview",
|
|
172
|
-
breadcrumb: /* @__PURE__ */ jsx2(Breadcrumbs, {
|
|
173
|
-
items: [
|
|
174
|
-
{ label: "Features", href: "/features" },
|
|
175
|
-
{ label: feature.meta.title || feature.meta.key }
|
|
176
|
-
]
|
|
177
|
-
})
|
|
178
|
-
}),
|
|
179
|
-
/* @__PURE__ */ jsx2(FeatureDetail, {
|
|
180
|
-
feature
|
|
181
|
-
})
|
|
182
|
-
]
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
export {
|
|
186
|
-
FeatureOverviewTemplate
|
|
187
|
-
};
|
|
1
|
+
import{StatCard as O,StatCardGroup as _,StatusChip as E}from"@contractspec/lib.design-system";import{Box as K,HStack as I,VStack as $}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as G}from"@contractspec/lib.ui-kit-web/ui/utils";import P from"next/link";import{jsx as y,jsxs as F}from"react/jsx-runtime";var R={stable:"success",beta:"warning",experimental:"info",deprecated:"danger"};function Q({feature:A,className:M}){let{meta:D,operations:W,events:X,presentations:Y,capabilities:J}=A,Z=R[D.stability]??"neutral";return F($,{gap:"lg",className:G("w-full",M),children:[F(I,{gap:"sm",children:[y(E,{tone:Z,label:D.stability??"unknown"}),y(E,{tone:"neutral",label:D.key,size:"sm"}),y(E,{tone:"neutral",label:`v${D.version}`,size:"sm"})]}),F(_,{children:[y(P,{href:`./${A.meta.key}/operations`,children:y(O,{label:"Operations",value:W?.length??0})}),y(P,{href:`./${A.meta.key}/events`,children:y(O,{label:"Events",value:X?.length??0})}),y(P,{href:`./${A.meta.key}/presentations`,children:y(O,{label:"Presentations",value:Y?.length??0})})]}),J?.provides?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Provides Capabilities"}),y(I,{gap:"xs",wrap:"wrap",children:J.provides.map((z)=>y(E,{tone:"success",label:`${z.key} v${z.version}`,size:"sm"},`${z.key}-${z.version}`))})]}):null,J?.requires?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Requires Capabilities"}),y(I,{gap:"xs",wrap:"wrap",children:J.requires.map((z)=>y(E,{tone:"info",label:`${z.key}${z.version?` v${z.version}`:""}${z.optional?" (optional)":""}`,size:"sm"},z.key))})]}):null,D.tags?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Tags"}),y(I,{gap:"xs",wrap:"wrap",children:D.tags.map((z)=>y(E,{tone:"neutral",label:`#${z}`,size:"sm"},z))})]}):null,D.owners?.length?F(K,{className:"flex-col rounded-lg border p-4",gap:"sm",align:"start",children:[y("span",{className:"font-semibold",children:"Owners"}),y(I,{gap:"xs",wrap:"wrap",children:D.owners.map((z)=>y(E,{tone:"neutral",label:z,size:"sm"},z))})]}):null]})}import{Breadcrumbs as T,PageHeaderResponsive as v}from"@contractspec/lib.design-system";import{VStack as V}from"@contractspec/lib.ui-kit-web/ui/stack";import{cn as L}from"@contractspec/lib.ui-kit-web/ui/utils";import{jsx as U,jsxs as N}from"react/jsx-runtime";function l({feature:A,className:M}){return N(V,{gap:"lg",className:L("mx-auto w-full max-w-5xl p-6",M),children:[U(v,{title:A.meta.title||A.meta.key,subtitle:A.meta.description||"Feature overview",breadcrumb:U(T,{items:[{label:"Features",href:"/features"},{label:A.meta.title||A.meta.key}]})}),U(Q,{feature:A})]})}export{l as FeatureOverviewTemplate};
|