@contractspec/example.personalization 1.56.1 → 1.57.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/.turbo/turbo-build$colon$bundle.log +32 -379
- package/.turbo/turbo-build.log +31 -374
- package/CHANGELOG.md +20 -0
- package/dist/behavior-tracking.d.ts.map +1 -1
- package/dist/example.d.ts +2 -3
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +1 -2
- package/dist/example.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/overlay-customization.d.ts.map +1 -1
- package/dist/workflow-extension.d.ts +1 -1
- package/dist/workflow-extension.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/libs/contracts/src/app-config/branding.d.ts +0 -20
- package/dist/libs/contracts/src/app-config/branding.d.ts.map +0 -1
- package/dist/libs/contracts/src/app-config/lifecycle.d.ts +0 -1
- package/dist/libs/contracts/src/app-config/runtime.d.ts +0 -10
- package/dist/libs/contracts/src/app-config/spec.d.ts +0 -93
- package/dist/libs/contracts/src/app-config/spec.d.ts.map +0 -1
- package/dist/libs/contracts/src/app-config/validation.d.ts +0 -8
- package/dist/libs/contracts/src/capabilities/capabilities.d.ts +0 -30
- package/dist/libs/contracts/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/libs/contracts/src/capabilities/context.d.ts +0 -1
- package/dist/libs/contracts/src/capabilities/guards.d.ts +0 -3
- package/dist/libs/contracts/src/capabilities/index.d.ts +0 -5
- package/dist/libs/contracts/src/capabilities/openbanking.d.ts +0 -1
- package/dist/libs/contracts/src/capabilities/validation.d.ts +0 -4
- package/dist/libs/contracts/src/client/index.d.ts +0 -1
- package/dist/libs/contracts/src/client/react/drivers/rn-reusables.d.ts +0 -1
- package/dist/libs/contracts/src/client/react/drivers/shadcn.d.ts +0 -1
- package/dist/libs/contracts/src/client/react/feature-render.d.ts +0 -3
- package/dist/libs/contracts/src/client/react/form-render.d.ts +0 -3
- package/dist/libs/contracts/src/client/react/index.d.ts +0 -4
- package/dist/libs/contracts/src/contract-registry/index.d.ts +0 -2
- package/dist/libs/contracts/src/contract-registry/schemas.d.ts +0 -2
- package/dist/libs/contracts/src/contract-registry/types.d.ts +0 -1
- package/dist/libs/contracts/src/data-views/index.d.ts +0 -4
- package/dist/libs/contracts/src/data-views/registry.d.ts +0 -2
- package/dist/libs/contracts/src/data-views/report/contractVerificationTable.d.ts +0 -1
- package/dist/libs/contracts/src/data-views/spec.d.ts +0 -2
- package/dist/libs/contracts/src/data-views/types.d.ts +0 -2
- package/dist/libs/contracts/src/docs/accessibility_wcag_compliance_specs.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/capabilities/documentationSystem.capability.d.ts +0 -1
- package/dist/libs/contracts/src/docs/capabilities/index.d.ts +0 -1
- package/dist/libs/contracts/src/docs/commands/docsGenerate.command.d.ts +0 -1
- package/dist/libs/contracts/src/docs/commands/docsPublish.command.d.ts +0 -1
- package/dist/libs/contracts/src/docs/commands/index.d.ts +0 -2
- package/dist/libs/contracts/src/docs/contracts.d.ts +0 -6
- package/dist/libs/contracts/src/docs/events/docsGenerated.event.d.ts +0 -1
- package/dist/libs/contracts/src/docs/events/docsPublished.event.d.ts +0 -1
- package/dist/libs/contracts/src/docs/events/index.d.ts +0 -2
- package/dist/libs/contracts/src/docs/forms/docsSearch.form.d.ts +0 -1
- package/dist/libs/contracts/src/docs/forms/index.d.ts +0 -1
- package/dist/libs/contracts/src/docs/index.d.ts +0 -32
- package/dist/libs/contracts/src/docs/presentations/docsLayout.presentation.d.ts +0 -1
- package/dist/libs/contracts/src/docs/presentations/docsReferencePage.presentation.d.ts +0 -1
- package/dist/libs/contracts/src/docs/presentations/index.d.ts +0 -2
- package/dist/libs/contracts/src/docs/queries/contractReference.query.d.ts +0 -1
- package/dist/libs/contracts/src/docs/queries/docsIndex.query.d.ts +0 -1
- package/dist/libs/contracts/src/docs/queries/index.d.ts +0 -2
- package/dist/libs/contracts/src/docs/registry.d.ts +0 -8
- package/dist/libs/contracts/src/docs/registry.d.ts.map +0 -1
- package/dist/libs/contracts/src/docs/tech/auth/better-auth-nextjs.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/contracts/README.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/contracts/openapi-export.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/contracts/openapi-import.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/lifecycle-stage-system.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/mcp-endpoints.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/presentation-runtime.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/schema/README.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/learning-events.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/learning-journeys.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/platform-admin-panel.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/project-access-teams.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/project-routing.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/sandbox-unlogged.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/team-invitations.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/workspace-ops.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/studio/workspaces.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/telemetry-ingest.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/tech/vscode-extension.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/docs/views/contractReference.dataView.d.ts +0 -1
- package/dist/libs/contracts/src/docs/views/docsIndex.dataView.d.ts +0 -1
- package/dist/libs/contracts/src/docs/views/exampleCatalog.dataView.d.ts +0 -1
- package/dist/libs/contracts/src/docs/views/index.d.ts +0 -3
- package/dist/libs/contracts/src/events.d.ts +0 -3
- package/dist/libs/contracts/src/examples/index.d.ts +0 -4
- package/dist/libs/contracts/src/examples/registry.d.ts +0 -2
- package/dist/libs/contracts/src/examples/schema.d.ts +0 -2
- package/dist/libs/contracts/src/examples/types.d.ts +0 -138
- package/dist/libs/contracts/src/examples/types.d.ts.map +0 -1
- package/dist/libs/contracts/src/examples/validation.d.ts +0 -1
- package/dist/libs/contracts/src/experiments/spec-resolver.d.ts +0 -3
- package/dist/libs/contracts/src/experiments/spec.d.ts +0 -14
- package/dist/libs/contracts/src/experiments/spec.d.ts.map +0 -1
- package/dist/libs/contracts/src/features/index.d.ts +0 -4
- package/dist/libs/contracts/src/features/install.d.ts +0 -5
- package/dist/libs/contracts/src/features/registry.d.ts +0 -1
- package/dist/libs/contracts/src/features/types.d.ts +0 -85
- package/dist/libs/contracts/src/features/types.d.ts.map +0 -1
- package/dist/libs/contracts/src/features/validation.d.ts +0 -1
- package/dist/libs/contracts/src/forms/forms.d.ts +0 -1
- package/dist/libs/contracts/src/forms/index.d.ts +0 -1
- package/dist/libs/contracts/src/index.d.ts +0 -49
- package/dist/libs/contracts/src/install.d.ts +0 -6
- package/dist/libs/contracts/src/integrations/connection.d.ts +0 -1
- package/dist/libs/contracts/src/integrations/index.d.ts +0 -5
- package/dist/libs/contracts/src/integrations/openbanking/contracts/accounts.d.ts +0 -3
- package/dist/libs/contracts/src/integrations/openbanking/contracts/balances.d.ts +0 -3
- package/dist/libs/contracts/src/integrations/openbanking/contracts/index.d.ts +0 -5
- package/dist/libs/contracts/src/integrations/openbanking/contracts/transactions.d.ts +0 -3
- package/dist/libs/contracts/src/integrations/openbanking/guards.d.ts +0 -1
- package/dist/libs/contracts/src/integrations/openbanking/openbanking.feature.d.ts +0 -1
- package/dist/libs/contracts/src/integrations/operations.d.ts +0 -3
- package/dist/libs/contracts/src/integrations/providers/elevenlabs.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/gcs-storage.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/gmail.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/google-calendar.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/index.d.ts +0 -11
- package/dist/libs/contracts/src/integrations/providers/mistral.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/postmark.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/powens.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/qdrant.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/registry.d.ts +0 -1
- package/dist/libs/contracts/src/integrations/providers/stripe.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/providers/twilio-sms.d.ts +0 -2
- package/dist/libs/contracts/src/integrations/spec.d.ts +0 -10
- package/dist/libs/contracts/src/integrations/spec.d.ts.map +0 -1
- package/dist/libs/contracts/src/jsonschema.d.ts +0 -3
- package/dist/libs/contracts/src/knowledge/index.d.ts +0 -2
- package/dist/libs/contracts/src/knowledge/operations.d.ts +0 -3
- package/dist/libs/contracts/src/knowledge/spaces/email-threads.d.ts +0 -1
- package/dist/libs/contracts/src/knowledge/spaces/financial-docs.d.ts +0 -1
- package/dist/libs/contracts/src/knowledge/spaces/financial-overview.d.ts +0 -1
- package/dist/libs/contracts/src/knowledge/spaces/index.d.ts +0 -6
- package/dist/libs/contracts/src/knowledge/spaces/product-canon.d.ts +0 -1
- package/dist/libs/contracts/src/knowledge/spaces/support-faq.d.ts +0 -1
- package/dist/libs/contracts/src/knowledge/spaces/uploaded-docs.d.ts +0 -1
- package/dist/libs/contracts/src/knowledge/spec.d.ts +0 -2
- package/dist/libs/contracts/src/llm/exporters.d.ts +0 -6
- package/dist/libs/contracts/src/llm/index.d.ts +0 -3
- package/dist/libs/contracts/src/llm/prompts.d.ts +0 -2
- package/dist/libs/contracts/src/llm/types.d.ts +0 -3
- package/dist/libs/contracts/src/migrations.d.ts +0 -1
- package/dist/libs/contracts/src/onboarding-base.d.ts +0 -1
- package/dist/libs/contracts/src/openapi.d.ts +0 -1
- package/dist/libs/contracts/src/operations/index.d.ts +0 -3
- package/dist/libs/contracts/src/operations/operation.d.ts +0 -27
- package/dist/libs/contracts/src/operations/operation.d.ts.map +0 -1
- package/dist/libs/contracts/src/operations/registry.d.ts +0 -5
- package/dist/libs/contracts/src/operations/report/getContractVerificationStatus.d.ts +0 -2
- package/dist/libs/contracts/src/operations/report/index.d.ts +0 -4
- package/dist/libs/contracts/src/ownership.d.ts +0 -164
- package/dist/libs/contracts/src/ownership.d.ts.map +0 -1
- package/dist/libs/contracts/src/policy/engine.d.ts +0 -2
- package/dist/libs/contracts/src/policy/guards.d.ts +0 -1
- package/dist/libs/contracts/src/policy/index.d.ts +0 -6
- package/dist/libs/contracts/src/policy/opa-adapter.d.ts +0 -2
- package/dist/libs/contracts/src/policy/registry.d.ts +0 -1
- package/dist/libs/contracts/src/policy/spec.d.ts +0 -13
- package/dist/libs/contracts/src/policy/spec.d.ts.map +0 -1
- package/dist/libs/contracts/src/policy/validation.d.ts +0 -2
- package/dist/libs/contracts/src/presentations/index.d.ts +0 -3
- package/dist/libs/contracts/src/presentations/presentations.d.ts +0 -10
- package/dist/libs/contracts/src/presentations/presentations.d.ts.map +0 -1
- package/dist/libs/contracts/src/presentations/registry.d.ts +0 -1
- package/dist/libs/contracts/src/presentations/transform-engine.d.ts +0 -1
- package/dist/libs/contracts/src/prompt.d.ts +0 -2
- package/dist/libs/contracts/src/promptRegistry.d.ts +0 -2
- package/dist/libs/contracts/src/regenerator/adapters.d.ts +0 -1
- package/dist/libs/contracts/src/regenerator/executor.d.ts +0 -1
- package/dist/libs/contracts/src/regenerator/index.d.ts +0 -6
- package/dist/libs/contracts/src/regenerator/service.d.ts +0 -2
- package/dist/libs/contracts/src/regenerator/sinks.d.ts +0 -2
- package/dist/libs/contracts/src/regenerator/types.d.ts +0 -2
- package/dist/libs/contracts/src/regenerator/utils.d.ts +0 -1
- package/dist/libs/contracts/src/registry.d.ts +0 -2
- package/dist/libs/contracts/src/resources.d.ts +0 -2
- package/dist/libs/contracts/src/serialization/index.d.ts +0 -1
- package/dist/libs/contracts/src/serialization/serializers.d.ts +0 -6
- package/dist/libs/contracts/src/server/graphql-pothos.d.ts +0 -7
- package/dist/libs/contracts/src/server/index.d.ts +0 -7
- package/dist/libs/contracts/src/server/mcp/createMcpServer.d.ts +0 -5
- package/dist/libs/contracts/src/server/mcp/mcpTypes.d.ts +0 -3
- package/dist/libs/contracts/src/server/provider-mcp.d.ts +0 -1
- package/dist/libs/contracts/src/server/rest-elysia.d.ts +0 -3
- package/dist/libs/contracts/src/server/rest-express.d.ts +0 -3
- package/dist/libs/contracts/src/server/rest-generic.d.ts +0 -2
- package/dist/libs/contracts/src/server/rest-next-app.d.ts +0 -3
- package/dist/libs/contracts/src/server/rest-next-pages.d.ts +0 -3
- package/dist/libs/contracts/src/tests/index.d.ts +0 -2
- package/dist/libs/contracts/src/tests/runner.d.ts +0 -3
- package/dist/libs/contracts/src/tests/spec.d.ts +0 -1
- package/dist/libs/contracts/src/themes.d.ts +0 -14
- package/dist/libs/contracts/src/themes.d.ts.map +0 -1
- package/dist/libs/contracts/src/types.d.ts +0 -3
- package/dist/libs/contracts/src/versioning/refs.d.ts +0 -60
- package/dist/libs/contracts/src/versioning/refs.d.ts.map +0 -1
- package/dist/libs/contracts/src/workflow/adapters/db-adapter.d.ts +0 -1
- package/dist/libs/contracts/src/workflow/adapters/file-adapter.d.ts +0 -1
- package/dist/libs/contracts/src/workflow/adapters/index.d.ts +0 -3
- package/dist/libs/contracts/src/workflow/adapters/memory-store.d.ts +0 -1
- package/dist/libs/contracts/src/workflow/context.d.ts +0 -2
- package/dist/libs/contracts/src/workflow/index.d.ts +0 -8
- package/dist/libs/contracts/src/workflow/overview.docblock.d.ts +0 -1
- package/dist/libs/contracts/src/workflow/runner.d.ts +0 -5
- package/dist/libs/contracts/src/workflow/sla-monitor.d.ts +0 -2
- package/dist/libs/contracts/src/workflow/spec.d.ts +0 -83
- package/dist/libs/contracts/src/workflow/spec.d.ts.map +0 -1
- package/dist/libs/contracts/src/workflow/state.d.ts +0 -1
- package/dist/libs/contracts/src/workflow/validation.d.ts +0 -5
- package/dist/libs/contracts/src/workspace-config/contractsrc-schema.d.ts +0 -1
- package/dist/libs/contracts/src/workspace-config/index.d.ts +0 -1
- package/dist/libs/contracts/src/workspace-config/workspace-config.docblock.d.ts +0 -1
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { FeatureModuleSpec, FeatureRef } from "../features/types.js";
|
|
2
|
-
import "../features/index.js";
|
|
3
|
-
import { AppBlueprintSpec, SpecPointer } from "../app-config/spec.js";
|
|
4
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
5
|
-
|
|
6
|
-
//#region ../../libs/contracts/src/examples/types.d.ts
|
|
7
|
-
/** Kind of example - determines how it's presented in catalogs */
|
|
8
|
-
type ExampleKind = 'template' | 'workflow' | 'integration' | 'knowledge' | 'blueprint' | 'ui' | 'script' | 'library';
|
|
9
|
-
/** Visibility level for examples */
|
|
10
|
-
type ExampleVisibility = 'public' | 'internal' | 'experimental';
|
|
11
|
-
/** Sandbox modes supported by examples */
|
|
12
|
-
type ExampleSandboxMode = 'playground' | 'specs' | 'builder' | 'markdown' | 'evolution';
|
|
13
|
-
/** Documentation references for the example */
|
|
14
|
-
interface ExampleDocumentation {
|
|
15
|
-
/** Root documentation block ID */
|
|
16
|
-
rootDocId?: string;
|
|
17
|
-
/** Goal/purpose documentation */
|
|
18
|
-
goalDocId?: string;
|
|
19
|
-
/** Usage/quickstart documentation */
|
|
20
|
-
usageDocId?: string;
|
|
21
|
-
/** API/reference documentation */
|
|
22
|
-
referenceDocId?: string;
|
|
23
|
-
/** Constraints/limitations documentation */
|
|
24
|
-
constraintsDocId?: string;
|
|
25
|
-
}
|
|
26
|
-
/** Surface support configuration for sandbox */
|
|
27
|
-
interface ExampleSandboxSupport {
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
modes: readonly ExampleSandboxMode[];
|
|
30
|
-
}
|
|
31
|
-
/** Surface support configuration for Studio */
|
|
32
|
-
interface ExampleStudioSupport {
|
|
33
|
-
enabled: boolean;
|
|
34
|
-
/** If true, Studio can create a real project from this example via API. */
|
|
35
|
-
installable: boolean;
|
|
36
|
-
}
|
|
37
|
-
/** Surface support configuration for MCP */
|
|
38
|
-
interface ExampleMcpSupport {
|
|
39
|
-
enabled: boolean;
|
|
40
|
-
}
|
|
41
|
-
/** Surface support configuration - where the example can be used */
|
|
42
|
-
interface ExampleSurfaces {
|
|
43
|
-
/** Available as a template for new projects */
|
|
44
|
-
templates: boolean;
|
|
45
|
-
/** Sandbox/playground support */
|
|
46
|
-
sandbox: ExampleSandboxSupport;
|
|
47
|
-
/** ContractSpec Studio support */
|
|
48
|
-
studio: ExampleStudioSupport;
|
|
49
|
-
/** MCP (Model Context Protocol) support */
|
|
50
|
-
mcp: ExampleMcpSupport;
|
|
51
|
-
}
|
|
52
|
-
/** Package entrypoints for the example - maps to package.json exports */
|
|
53
|
-
interface ExampleEntrypoints {
|
|
54
|
-
/** Package name in the workspace (e.g., @contractspec/example.saas-boilerplate) */
|
|
55
|
-
packageName: string;
|
|
56
|
-
/** Feature module entrypoint (e.g., ./saas-boilerplate.feature) */
|
|
57
|
-
feature?: string;
|
|
58
|
-
/** Blueprint entrypoint (e.g., ./blueprint) */
|
|
59
|
-
blueprint?: string;
|
|
60
|
-
/** Presentations entrypoint (e.g., ./presentations) */
|
|
61
|
-
presentations?: string;
|
|
62
|
-
/** Contracts/operations entrypoint (e.g., ./contracts) */
|
|
63
|
-
contracts?: string;
|
|
64
|
-
/** Handlers entrypoint (e.g., ./handlers) */
|
|
65
|
-
handlers?: string;
|
|
66
|
-
/** UI components entrypoint (e.g., ./ui) */
|
|
67
|
-
ui?: string;
|
|
68
|
-
/** Documentation entrypoint (e.g., ./docs) */
|
|
69
|
-
docs?: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Example metadata extending OwnerShipMeta.
|
|
73
|
-
* Provides standard spec identification plus example-specific fields.
|
|
74
|
-
*/
|
|
75
|
-
interface ExampleMeta extends OwnerShipMeta {
|
|
76
|
-
/** Example kind for categorization */
|
|
77
|
-
kind: ExampleKind;
|
|
78
|
-
/** Visibility level */
|
|
79
|
-
visibility: ExampleVisibility;
|
|
80
|
-
/** Short marketing summary (distinct from technical description) */
|
|
81
|
-
summary?: string;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* ExampleSpec - Complete specification for a ContractSpec example.
|
|
85
|
-
*
|
|
86
|
-
* Integrates with AppBlueprintSpec for app configuration and
|
|
87
|
-
* FeatureModuleSpec for feature definitions.
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* ```typescript
|
|
91
|
-
* const example: ExampleSpec = {
|
|
92
|
-
* meta: {
|
|
93
|
-
* key: 'saas-boilerplate',
|
|
94
|
-
* version: '1.0.0',
|
|
95
|
-
* title: 'SaaS Boilerplate',
|
|
96
|
-
* description: 'Multi-tenant SaaS foundation.',
|
|
97
|
-
* kind: 'template',
|
|
98
|
-
* visibility: 'public',
|
|
99
|
-
* stability: 'experimental',
|
|
100
|
-
* owners: ['@saas-team'],
|
|
101
|
-
* tags: ['saas', 'multi-tenant'],
|
|
102
|
-
* },
|
|
103
|
-
* surfaces: {
|
|
104
|
-
* templates: true,
|
|
105
|
-
* sandbox: { enabled: true, modes: ['playground', 'specs'] },
|
|
106
|
-
* studio: { enabled: true, installable: true },
|
|
107
|
-
* mcp: { enabled: true },
|
|
108
|
-
* },
|
|
109
|
-
* entrypoints: {
|
|
110
|
-
* packageName: '@contractspec/example.saas-boilerplate',
|
|
111
|
-
* feature: './saas-boilerplate.feature',
|
|
112
|
-
* },
|
|
113
|
-
* };
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
|
-
interface ExampleSpec {
|
|
117
|
-
/** Example metadata (identification, ownership, categorization) */
|
|
118
|
-
meta: ExampleMeta;
|
|
119
|
-
/** Documentation references */
|
|
120
|
-
docs?: ExampleDocumentation;
|
|
121
|
-
/** Surface support configuration */
|
|
122
|
-
surfaces: ExampleSurfaces;
|
|
123
|
-
/** Package entrypoints */
|
|
124
|
-
entrypoints: ExampleEntrypoints;
|
|
125
|
-
/**
|
|
126
|
-
* Inline or referenced AppBlueprintSpec.
|
|
127
|
-
* Use SpecPointer for external reference to a registered blueprint.
|
|
128
|
-
*/
|
|
129
|
-
blueprint?: AppBlueprintSpec | SpecPointer;
|
|
130
|
-
/**
|
|
131
|
-
* Features included in this example.
|
|
132
|
-
* Can be inline FeatureModuleSpec objects or FeatureRef references.
|
|
133
|
-
*/
|
|
134
|
-
features?: (FeatureModuleSpec | FeatureRef)[];
|
|
135
|
-
}
|
|
136
|
-
//#endregion
|
|
137
|
-
export { ExampleDocumentation, ExampleEntrypoints, ExampleKind, ExampleMcpSupport, ExampleMeta, ExampleSandboxMode, ExampleSandboxSupport, ExampleSpec, ExampleStudioSupport, ExampleSurfaces, ExampleVisibility };
|
|
138
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/examples/types.ts"],"sourcesContent":[],"mappings":";;;;;;;KASY,WAAA;;AA+FL,KAzEK,iBAAA,GAyEL,QAAA,GAAA,UAAA,GAAA,cAAA;;AAmC2C,KAnGtC,kBAAA,GAmGsC,YAAA,GAAA,OAAA,GAAA,SAAA,GAAA,UAAA,GAAA,WAAA;;AAqEhB,UApJjB,oBAAA,CAoJiB;EAAU;;;;;;;;;;;;UAlI3B,qBAAA;;kBAEC;;;UAID,oBAAA;;;;;;UAOA,iBAAA;;;;UAKA,eAAA;;;;WAIN;;UAED;;OAEH;;;UAQU,kBAAA;;;;;;;;;;;;;;;;;;;;;;UA2BA,WAAA,SAAoB;;QAE7B;;cAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0CG,WAAA;;QAET;;SAGC;;YAGG;;eAGG;;;;;cAMD,mBAAmB;;;;;cAMnB,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types.js";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OptionalVersionedSpecRef } from "../versioning/refs.js";
|
|
2
|
-
import "../registry.js";
|
|
3
|
-
import "../ownership.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../libs/contracts/src/experiments/spec.d.ts
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Reference to an experiment spec.
|
|
9
|
-
* Version is optional; when omitted, refers to the latest version.
|
|
10
|
-
*/
|
|
11
|
-
type ExperimentRef = OptionalVersionedSpecRef;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { ExperimentRef };
|
|
14
|
-
//# sourceMappingURL=spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/experiments/spec.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;KAaY,aAAA,GAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types.js";
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { SpecKeyRef, VersionedSpecRef } from "../versioning/refs.js";
|
|
2
|
-
import { CapabilityRef, CapabilityRequirement } from "../capabilities/capabilities.js";
|
|
3
|
-
import { ImplementationRef } from "../operations/operation.js";
|
|
4
|
-
import { PresentationTarget } from "../presentations/presentations.js";
|
|
5
|
-
import "../capabilities/index.js";
|
|
6
|
-
import { ExperimentRef } from "../experiments/spec.js";
|
|
7
|
-
import "../operations/index.js";
|
|
8
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
9
|
-
|
|
10
|
-
//#region ../../libs/contracts/src/features/types.d.ts
|
|
11
|
-
/** Minimal metadata to identify and categorize a feature module. */
|
|
12
|
-
type FeatureModuleMeta = OwnerShipMeta;
|
|
13
|
-
/**
|
|
14
|
-
* Reference to an operation spec.
|
|
15
|
-
* Uses key (OperationSpec.meta.key) and version (OperationSpec.meta.version).
|
|
16
|
-
*/
|
|
17
|
-
type OpRef = VersionedSpecRef;
|
|
18
|
-
/**
|
|
19
|
-
* Reference to an event spec.
|
|
20
|
-
* Uses key (EventSpec.meta.key) and version (EventSpec.meta.version).
|
|
21
|
-
*/
|
|
22
|
-
type EventRef = VersionedSpecRef;
|
|
23
|
-
/**
|
|
24
|
-
* Reference to a presentation spec.
|
|
25
|
-
* Uses key (PresentationSpec.meta.key) and version (PresentationSpec.meta.version).
|
|
26
|
-
*/
|
|
27
|
-
type PresentationRef = VersionedSpecRef;
|
|
28
|
-
/**
|
|
29
|
-
* Reference to a data view spec.
|
|
30
|
-
* Uses key (DataViewSpec.meta.key) and version (DataViewSpec.meta.version).
|
|
31
|
-
*/
|
|
32
|
-
type DataViewRef = VersionedSpecRef;
|
|
33
|
-
/**
|
|
34
|
-
* Reference to a form spec.
|
|
35
|
-
* Uses key (FormSpec.meta.key) and version (FormSpec.meta.version).
|
|
36
|
-
*/
|
|
37
|
-
type FormRef = VersionedSpecRef;
|
|
38
|
-
/** Group operations/events/presentations into an installable feature. */
|
|
39
|
-
interface FeatureModuleSpec {
|
|
40
|
-
meta: FeatureModuleMeta;
|
|
41
|
-
/** Contract operations included in this feature. */
|
|
42
|
-
operations?: OpRef[];
|
|
43
|
-
/** Events declared/emitted by this feature. */
|
|
44
|
-
events?: EventRef[];
|
|
45
|
-
/** Presentations associated to this feature. */
|
|
46
|
-
presentations?: PresentationRef[];
|
|
47
|
-
/** Experiments related to this feature. */
|
|
48
|
-
experiments?: ExperimentRef[];
|
|
49
|
-
/** Capability bindings exposed/required by this feature. */
|
|
50
|
-
capabilities?: {
|
|
51
|
-
provides?: CapabilityRef[];
|
|
52
|
-
requires?: CapabilityRequirement[];
|
|
53
|
-
};
|
|
54
|
-
/** Optional: link ops to presentations for traceability (e.g., ui for op) */
|
|
55
|
-
opToPresentation?: {
|
|
56
|
-
op: OpRef;
|
|
57
|
-
pres: PresentationRef;
|
|
58
|
-
}[];
|
|
59
|
-
/** Optional: declare per-presentation target requirements (V2 descriptors) */
|
|
60
|
-
presentationsTargets?: {
|
|
61
|
-
/** Presentation key. */
|
|
62
|
-
key: string;
|
|
63
|
-
/** Presentation version. */
|
|
64
|
-
version: string;
|
|
65
|
-
/** Required targets that must be supported by the descriptor. */
|
|
66
|
-
targets: PresentationTarget[];
|
|
67
|
-
}[];
|
|
68
|
-
/**
|
|
69
|
-
* Explicit implementation file mappings for the entire feature module.
|
|
70
|
-
* Used for tracking and verifying that this feature is correctly implemented.
|
|
71
|
-
*/
|
|
72
|
-
implementations?: ImplementationRef[];
|
|
73
|
-
/** Data views associated with this feature. */
|
|
74
|
-
dataViews?: DataViewRef[];
|
|
75
|
-
/** Forms associated with this feature. */
|
|
76
|
-
forms?: FormRef[];
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Reference to a feature (unversioned).
|
|
80
|
-
* Features are identified by key only, without version pinning.
|
|
81
|
-
*/
|
|
82
|
-
type FeatureRef = SpecKeyRef;
|
|
83
|
-
//#endregion
|
|
84
|
-
export { DataViewRef, EventRef, FeatureModuleMeta, FeatureModuleSpec, FeatureRef, FormRef, OpRef, PresentationRef };
|
|
85
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/features/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;KAQY,iBAAA,GAAoB;;;AAAhC;AAMA;AAMY,KANA,KAAA,GAAQ,gBAMG;AAMvB;AAMA;AAMA;AAGA;AACQ,KAtBI,QAAA,GAAW,gBAsBf;;;;;AAWO,KA3BH,eAAA,GAAkB,gBA2Bf;;;;;AAmBK,KAxCR,WAAA,GAAc,gBAwCN;;;;AAapB;KA/CY,OAAA,GAAU;;UAGL,iBAAA;QACT;;eAEO;;WAEJ;;kBAEO;;gBAEF;;;eAGD;eACA;;;;QAGY;UAAa;;;;;;;;;aAQ3B;;;;;;oBAOO;;cAGN;;UAGJ;;;;;;KAOE,UAAA,GAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../ownership.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./forms.js";
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import "./resources.js";
|
|
2
|
-
import { OptionalVersionedSpecRef, SpecKeyRef, VersionedSpecRef } from "./versioning/refs.js";
|
|
3
|
-
import { PolicyRef } from "./policy/spec.js";
|
|
4
|
-
import { CapabilityKind, CapabilityRef, CapabilityRequirement } from "./capabilities/capabilities.js";
|
|
5
|
-
import { ImplementationRef, ImplementationType } from "./operations/operation.js";
|
|
6
|
-
import { PresentationTarget } from "./presentations/presentations.js";
|
|
7
|
-
import "./presentations/index.js";
|
|
8
|
-
import "./capabilities/index.js";
|
|
9
|
-
import { ExperimentRef } from "./experiments/spec.js";
|
|
10
|
-
import "./install.js";
|
|
11
|
-
import "./data-views/index.js";
|
|
12
|
-
import "./operations/index.js";
|
|
13
|
-
import { DataViewRef, EventRef, FeatureModuleMeta, FeatureModuleSpec, FeatureRef, FormRef, OpRef, PresentationRef } from "./features/types.js";
|
|
14
|
-
import "./features/index.js";
|
|
15
|
-
import { CompensationStep, CompensationStrategy, GuardCondition, GuardConditionKind, RetryPolicy, SLA, Step, StepAction, StepType, Transition, WorkflowDefinition, WorkflowMeta, WorkflowSpec } from "./workflow/spec.js";
|
|
16
|
-
import { ThemeRef } from "./themes.js";
|
|
17
|
-
import { IntegrationCategory, IntegrationOwnershipMode } from "./integrations/spec.js";
|
|
18
|
-
import { AppBlueprintMeta, AppBlueprintSpec, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, FeatureFlagState, SpecPointer, TelemetryBinding, TranslationCatalogPointer } from "./app-config/spec.js";
|
|
19
|
-
import "./app-config/runtime.js";
|
|
20
|
-
import "./experiments/spec-resolver.js";
|
|
21
|
-
import "./types.js";
|
|
22
|
-
import "./forms/index.js";
|
|
23
|
-
import { DocId } from "./docs/registry.js";
|
|
24
|
-
import "./docs/index.js";
|
|
25
|
-
import { Owner, OwnerShipMeta, OwnersEnum, Stability, StabilityEnum, Tag, TagsEnum } from "./ownership.js";
|
|
26
|
-
import "./events.js";
|
|
27
|
-
import "./client/index.js";
|
|
28
|
-
import "./prompt.js";
|
|
29
|
-
import "./promptRegistry.js";
|
|
30
|
-
import "./server/index.js";
|
|
31
|
-
import "./contract-registry/index.js";
|
|
32
|
-
import "./jsonschema.js";
|
|
33
|
-
import "./openapi.js";
|
|
34
|
-
import "./onboarding-base.js";
|
|
35
|
-
import "./policy/index.js";
|
|
36
|
-
import "./migrations.js";
|
|
37
|
-
import "./tests/index.js";
|
|
38
|
-
import "./integrations/index.js";
|
|
39
|
-
import "./knowledge/index.js";
|
|
40
|
-
import "./integrations/operations.js";
|
|
41
|
-
import "./knowledge/operations.js";
|
|
42
|
-
import "./regenerator/index.js";
|
|
43
|
-
import "./workspace-config/index.js";
|
|
44
|
-
import "./workflow/index.js";
|
|
45
|
-
import "./llm/index.js";
|
|
46
|
-
import "./app-config/validation.js";
|
|
47
|
-
import { ExampleDocumentation, ExampleEntrypoints, ExampleKind, ExampleMcpSupport, ExampleMeta, ExampleSandboxMode, ExampleSandboxSupport, ExampleSpec, ExampleStudioSupport, ExampleSurfaces, ExampleVisibility } from "./examples/types.js";
|
|
48
|
-
import "./examples/index.js";
|
|
49
|
-
import "./serialization/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../app-config/runtime.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../index.js";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import "./stripe.js";
|
|
2
|
-
import "./postmark.js";
|
|
3
|
-
import "./qdrant.js";
|
|
4
|
-
import "./mistral.js";
|
|
5
|
-
import "./elevenlabs.js";
|
|
6
|
-
import "./gmail.js";
|
|
7
|
-
import "./google-calendar.js";
|
|
8
|
-
import "./twilio-sms.js";
|
|
9
|
-
import "./gcs-storage.js";
|
|
10
|
-
import "./powens.js";
|
|
11
|
-
import "./registry.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "../registry.js";
|
|
2
|
-
import "../capabilities/index.js";
|
|
3
|
-
import "../ownership.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../libs/contracts/src/integrations/spec.d.ts
|
|
6
|
-
type IntegrationCategory = 'payments' | 'email' | 'calendar' | 'sms' | 'ai-llm' | 'ai-voice' | 'speech-to-text' | 'vector-db' | 'storage' | 'accounting' | 'crm' | 'helpdesk' | 'open-banking' | 'custom';
|
|
7
|
-
type IntegrationOwnershipMode = 'managed' | 'byok';
|
|
8
|
-
//#endregion
|
|
9
|
-
export { IntegrationCategory, IntegrationOwnershipMode };
|
|
10
|
-
//# sourceMappingURL=spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/integrations/spec.ts"],"sourcesContent":[],"mappings":";;;;;KAIY,mBAAA;KAgBA,wBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./ownership.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./operations/registry.js";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import "../resources.js";
|
|
2
|
-
import "../tests/spec.js";
|
|
3
|
-
import "../capabilities/capabilities.js";
|
|
4
|
-
import "../ownership.js";
|
|
5
|
-
import "../events.js";
|
|
6
|
-
|
|
7
|
-
//#region ../../libs/contracts/src/operations/operation.d.ts
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Type of implementation artifact.
|
|
11
|
-
*/
|
|
12
|
-
type ImplementationType = 'handler' | 'component' | 'form' | 'test' | 'service' | 'hook' | 'other';
|
|
13
|
-
/**
|
|
14
|
-
* Reference to an implementation file for a spec.
|
|
15
|
-
* Used for explicit implementation mapping.
|
|
16
|
-
*/
|
|
17
|
-
interface ImplementationRef {
|
|
18
|
-
/** Path to implementation file (relative to workspace root) */
|
|
19
|
-
path: string;
|
|
20
|
-
/** Type of implementation artifact */
|
|
21
|
-
type: ImplementationType;
|
|
22
|
-
/** Optional human-readable description */
|
|
23
|
-
description?: string;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { ImplementationRef, ImplementationType };
|
|
27
|
-
//# sourceMappingURL=operation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/operations/operation.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;KAoBY,kBAAA;;;;;UAaK,iBAAA;;;;QAIT"}
|