@contractspec/example.personalization 1.56.0 → 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 -375
- package/.turbo/turbo-build.log +40 -388
- package/CHANGELOG.md +32 -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 -13
- 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 -4
- 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 -3
- 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/contracts.d.ts +0 -6
- 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 -29
- 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/presentations.d.ts +0 -2
- package/dist/libs/contracts/src/docs/registry.d.ts +0 -10
- 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 -4
- 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/evaluator.d.ts +0 -2
- package/dist/libs/contracts/src/experiments/spec-resolver.d.ts +0 -3
- package/dist/libs/contracts/src/experiments/spec.d.ts +0 -16
- 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 -6
- package/dist/libs/contracts/src/features/registry.d.ts +0 -2
- 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 -2
- package/dist/libs/contracts/src/forms/forms.d.ts +0 -2
- package/dist/libs/contracts/src/forms/index.d.ts +0 -1
- package/dist/libs/contracts/src/index.d.ts +0 -52
- 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 -3
- 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 -4
- 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 -28
- 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 -3
- 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 -3
- package/dist/libs/contracts/src/policy/registry.d.ts +0 -2
- 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 -3
- 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 -2
- package/dist/libs/contracts/src/presentations/transform-engine.d.ts +0 -2
- 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 -3
- package/dist/libs/contracts/src/regenerator/utils.d.ts +0 -1
- package/dist/libs/contracts/src/registry-utils.d.ts +0 -1
- package/dist/libs/contracts/src/registry.d.ts +0 -3
- 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/telemetry/anomaly.d.ts +0 -2
- package/dist/libs/contracts/src/telemetry/index.d.ts +0 -3
- package/dist/libs/contracts/src/telemetry/spec.d.ts +0 -2
- package/dist/libs/contracts/src/telemetry/tracker.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 -5
- 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,164 +0,0 @@
|
|
|
1
|
-
import { DocId } from "./docs/registry.js";
|
|
2
|
-
import "./docs/index.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../libs/contracts/src/ownership.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Lifecycle stability stages for specs.
|
|
8
|
-
*
|
|
9
|
-
* Specs progress through these stages as they mature:
|
|
10
|
-
* - `idea`: Initial concept, not implemented
|
|
11
|
-
* - `in_creation`: Currently being built
|
|
12
|
-
* - `experimental`: Working but may change significantly
|
|
13
|
-
* - `beta`: Feature-complete, seeking feedback
|
|
14
|
-
* - `stable`: Production-ready, breaking changes require major version bump
|
|
15
|
-
* - `deprecated`: Scheduled for removal, use alternatives
|
|
16
|
-
*/
|
|
17
|
-
declare const StabilityEnum: {
|
|
18
|
-
/** Initial concept, not yet implemented. */
|
|
19
|
-
readonly Idea: "idea";
|
|
20
|
-
/** Currently being built, not ready for use. */
|
|
21
|
-
readonly InCreation: "in_creation";
|
|
22
|
-
/** Working but unstable, may change significantly. */
|
|
23
|
-
readonly Experimental: "experimental";
|
|
24
|
-
/** Feature-complete, seeking feedback before stabilization. */
|
|
25
|
-
readonly Beta: "beta";
|
|
26
|
-
/** Production-ready, follows semantic versioning. */
|
|
27
|
-
readonly Stable: "stable";
|
|
28
|
-
/** Scheduled for removal, use alternatives. */
|
|
29
|
-
readonly Deprecated: "deprecated";
|
|
30
|
-
};
|
|
31
|
-
/** Stability level for a spec's lifecycle stage. */
|
|
32
|
-
type Stability = (typeof StabilityEnum)[keyof typeof StabilityEnum];
|
|
33
|
-
/**
|
|
34
|
-
* Curated owner identifiers for business/product ownership.
|
|
35
|
-
*
|
|
36
|
-
* Used for CODEOWNERS, on-call routing, and approval workflows.
|
|
37
|
-
* Custom owner strings are also allowed for flexibility.
|
|
38
|
-
*/
|
|
39
|
-
declare const OwnersEnum: {
|
|
40
|
-
/** Core platform team. */
|
|
41
|
-
readonly PlatformCore: "platform.core";
|
|
42
|
-
/** Sigil/auth team. */
|
|
43
|
-
readonly PlatformSigil: "platform.sigil";
|
|
44
|
-
/** Marketplace team. */
|
|
45
|
-
readonly PlatformMarketplace: "platform.marketplace";
|
|
46
|
-
/** Messaging/notifications team. */
|
|
47
|
-
readonly PlatformMessaging: "platform.messaging";
|
|
48
|
-
/** Content/CMS team. */
|
|
49
|
-
readonly PlatformContent: "platform.content";
|
|
50
|
-
/** Feature flags team. */
|
|
51
|
-
readonly PlatformFeatureFlags: "platform.featureflags";
|
|
52
|
-
/** Finance/billing team. */
|
|
53
|
-
readonly PlatformFinance: "platform.finance";
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Owner identifier for a spec.
|
|
57
|
-
* Can be a predefined OwnersEnum value or any custom string.
|
|
58
|
-
*/
|
|
59
|
-
type Owner = (typeof OwnersEnum)[keyof typeof OwnersEnum] | (string & {});
|
|
60
|
-
/**
|
|
61
|
-
* Common tags for categorizing specs.
|
|
62
|
-
*
|
|
63
|
-
* Used for search, grouping, and documentation navigation.
|
|
64
|
-
* Custom tag strings are also allowed for flexibility.
|
|
65
|
-
*/
|
|
66
|
-
declare const TagsEnum: {
|
|
67
|
-
/** Spots/locations domain. */
|
|
68
|
-
readonly Spots: "spots";
|
|
69
|
-
/** Collectivity/community domain. */
|
|
70
|
-
readonly Collectivity: "collectivity";
|
|
71
|
-
/** Marketplace domain. */
|
|
72
|
-
readonly Marketplace: "marketplace";
|
|
73
|
-
/** Seller-related features. */
|
|
74
|
-
readonly Sellers: "sellers";
|
|
75
|
-
/** Authentication features. */
|
|
76
|
-
readonly Auth: "auth";
|
|
77
|
-
/** Login flows. */
|
|
78
|
-
readonly Login: "login";
|
|
79
|
-
/** Signup flows. */
|
|
80
|
-
readonly Signup: "signup";
|
|
81
|
-
/** Onboarding/guides. */
|
|
82
|
-
readonly Guide: "guide";
|
|
83
|
-
/** Documentation. */
|
|
84
|
-
readonly Docs: "docs";
|
|
85
|
-
/** Internationalization. */
|
|
86
|
-
readonly I18n: "i18n";
|
|
87
|
-
/** Incident management. */
|
|
88
|
-
readonly Incident: "incident";
|
|
89
|
-
/** Automation/workflows. */
|
|
90
|
-
readonly Automation: "automation";
|
|
91
|
-
/** Code hygiene/maintenance. */
|
|
92
|
-
readonly Hygiene: "hygiene";
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Tag for categorizing a spec.
|
|
96
|
-
* Can be a predefined TagsEnum value or any custom string.
|
|
97
|
-
*/
|
|
98
|
-
type Tag = (typeof TagsEnum)[keyof typeof TagsEnum] | (string & {});
|
|
99
|
-
/**
|
|
100
|
-
* Common metadata interface for all ContractSpec specifications.
|
|
101
|
-
*
|
|
102
|
-
* Every spec type (operations, events, presentations, etc.) extends this
|
|
103
|
-
* interface to provide consistent ownership, versioning, and discoverability.
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* ```typescript
|
|
107
|
-
* const meta: OwnerShipMeta = {
|
|
108
|
-
* key: 'auth.login',
|
|
109
|
-
* version: '1.0.0',
|
|
110
|
-
* description: 'Authenticates a user with email and password',
|
|
111
|
-
* stability: StabilityEnum.Stable,
|
|
112
|
-
* owners: [OwnersEnum.PlatformSigil],
|
|
113
|
-
* tags: [TagsEnum.Auth, TagsEnum.Login],
|
|
114
|
-
* };
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
interface OwnerShipMeta {
|
|
118
|
-
/**
|
|
119
|
-
* Semantic version string (e.g., "1.0.0").
|
|
120
|
-
* Bump for breaking changes according to semver rules.
|
|
121
|
-
*/
|
|
122
|
-
version: string;
|
|
123
|
-
/**
|
|
124
|
-
* Fully-qualified spec key (e.g., "sigil.beginSignup", "user.created").
|
|
125
|
-
* Must be unique within the spec type.
|
|
126
|
-
*/
|
|
127
|
-
key: string;
|
|
128
|
-
/**
|
|
129
|
-
* Human-friendly title (e.g., "Begin Signup").
|
|
130
|
-
* Used in documentation and UI.
|
|
131
|
-
*/
|
|
132
|
-
title?: string;
|
|
133
|
-
/**
|
|
134
|
-
* Short human-friendly summary of what this spec does.
|
|
135
|
-
* Should be concise (1-2 sentences).
|
|
136
|
-
*/
|
|
137
|
-
description: string;
|
|
138
|
-
/**
|
|
139
|
-
* Business domain this spec belongs to (e.g., "auth", "marketplace").
|
|
140
|
-
* Used for grouping and discovery.
|
|
141
|
-
*/
|
|
142
|
-
domain?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Lifecycle stability marker.
|
|
145
|
-
* Indicates maturity level and change expectations.
|
|
146
|
-
*/
|
|
147
|
-
stability: Stability;
|
|
148
|
-
/**
|
|
149
|
-
* Team/individual owners responsible for this spec.
|
|
150
|
-
* Used for CODEOWNERS, on-call routing, and approvals.
|
|
151
|
-
*/
|
|
152
|
-
owners: Owner[];
|
|
153
|
-
/**
|
|
154
|
-
* Tags for search, grouping, and documentation navigation.
|
|
155
|
-
*/
|
|
156
|
-
tags: Tag[];
|
|
157
|
-
/**
|
|
158
|
-
* Associated DocBlock identifiers for documentation linkage.
|
|
159
|
-
*/
|
|
160
|
-
docId?: DocId[];
|
|
161
|
-
}
|
|
162
|
-
//#endregion
|
|
163
|
-
export { Owner, OwnerShipMeta, OwnersEnum, Stability, StabilityEnum, Tag, TagsEnum };
|
|
164
|
-
//# sourceMappingURL=ownership.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ownership.d.ts","names":[],"sources":["../../../../../../libs/contracts/src/ownership.ts"],"sourcesContent":[],"mappings":";;;;;AA6HA;AA2BA;;;;;;;;;;cA9Ha;;;;;;;;;;;;;;;KAgBD,SAAA,WAAoB,4BAA4B;;;;;;;cAY/C;;;;;;;;;;;;;;;;;;;;KAqBD,KAAA,WACA,yBAAyB;;;;;;;cAgBxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiCD,GAAA,WAAc,uBAAuB;;;;;;;;;;;;;;;;;;;UA2BhC,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAmCJ;;;;;UAMH;;;;QAKF;;;;UAKE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../operations/operation.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VersionedSpecRef } from "../versioning/refs.js";
|
|
2
|
-
import "../ownership.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../libs/contracts/src/policy/spec.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Reference to a policy spec.
|
|
8
|
-
* Uses key and version to identify a specific policy.
|
|
9
|
-
*/
|
|
10
|
-
type PolicyRef = VersionedSpecRef;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { PolicyRef };
|
|
13
|
-
//# sourceMappingURL=spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/policy/spec.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAyHY,SAAA,GAAY"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "../capabilities/capabilities.js";
|
|
2
|
-
import "../ownership.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../libs/contracts/src/presentations/presentations.d.ts
|
|
5
|
-
|
|
6
|
-
/** Supported render targets for the transform engine and descriptors. */
|
|
7
|
-
type PresentationTarget = 'react' | 'markdown' | 'application/json' | 'application/xml';
|
|
8
|
-
//#endregion
|
|
9
|
-
export { PresentationTarget };
|
|
10
|
-
//# sourceMappingURL=presentations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"presentations.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/presentations/presentations.ts"],"sourcesContent":[],"mappings":";;;;;AAMA;KAAY,kBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./ownership.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./serializers.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./mcp/createMcpServer.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../ownership.js";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { VersionedSpecRef } from "./versioning/refs.js";
|
|
2
|
-
import "./registry.js";
|
|
3
|
-
import "./ownership.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../libs/contracts/src/themes.d.ts
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Reference to a theme spec.
|
|
9
|
-
* Uses key and version to identify a specific theme.
|
|
10
|
-
*/
|
|
11
|
-
type ThemeRef = VersionedSpecRef;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { ThemeRef };
|
|
14
|
-
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","names":[],"sources":["../../../../../../libs/contracts/src/themes.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;KAsDY,QAAA,GAAW"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/contracts/src/versioning/refs.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Base reference types for ContractSpec versioning.
|
|
4
|
-
*
|
|
5
|
-
* Provides canonical reference types for linking between specs.
|
|
6
|
-
* Domain-specific refs (OpRef, EventRef, etc.) should alias these
|
|
7
|
-
* base types for consistency and maintainability.
|
|
8
|
-
*
|
|
9
|
-
* @module versioning/refs
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Base reference type for versioned specs.
|
|
13
|
-
* Used to reference any spec by its key and version.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```typescript
|
|
17
|
-
* const opRef: VersionedSpecRef = { key: 'auth.login', version: '1.0.0' };
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
interface VersionedSpecRef {
|
|
21
|
-
/** Unique key identifying the spec (e.g., "auth.login", "user.created"). */
|
|
22
|
-
key: string;
|
|
23
|
-
/** Semantic version of the spec (e.g., "1.0.0", "2.1.0"). */
|
|
24
|
-
version: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Base reference type for specs with optional version.
|
|
28
|
-
* When version is omitted, typically refers to the latest version.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* // Reference to latest version
|
|
33
|
-
* const latestRef: OptionalVersionedSpecRef = { key: 'auth.login' };
|
|
34
|
-
*
|
|
35
|
-
* // Reference to specific version
|
|
36
|
-
* const specificRef: OptionalVersionedSpecRef = { key: 'auth.login', version: '1.0.0' };
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
interface OptionalVersionedSpecRef {
|
|
40
|
-
/** Unique key identifying the spec. */
|
|
41
|
-
key: string;
|
|
42
|
-
/** Optional semantic version. When omitted, refers to the latest version. */
|
|
43
|
-
version?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Base reference type for unversioned spec keys.
|
|
47
|
-
* Used when only the key is needed without version information.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```typescript
|
|
51
|
-
* const featureRef: SpecKeyRef = { key: 'premium-features' };
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
interface SpecKeyRef {
|
|
55
|
-
/** Unique key identifying the spec. */
|
|
56
|
-
key: string;
|
|
57
|
-
}
|
|
58
|
-
//#endregion
|
|
59
|
-
export { OptionalVersionedSpecRef, SpecKeyRef, VersionedSpecRef };
|
|
60
|
-
//# sourceMappingURL=refs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refs.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/versioning/refs.ts"],"sourcesContent":[],"mappings":";;AAuBA;AAoBA;AAgBA;;;;;;;;;;;;;;;UApCiB,gBAAA;;;;;;;;;;;;;;;;;;;UAoBA,wBAAA;;;;;;;;;;;;;;;UAgBA,UAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../state.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../state.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../state.js";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FormRef } from "../features/types.js";
|
|
2
|
-
import { CompensationStep, CompensationStrategy, GuardCondition, GuardConditionKind, RetryPolicy, SLA, Step, StepAction, StepType, Transition, WorkflowDefinition, WorkflowMeta, WorkflowSpec } from "./spec.js";
|
|
3
|
-
import "./validation.js";
|
|
4
|
-
import "./state.js";
|
|
5
|
-
import "./runner.js";
|
|
6
|
-
import "./adapters/index.js";
|
|
7
|
-
import "./context.js";
|
|
8
|
-
import "./sla-monitor.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../docs/index.js";
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
2
|
-
import "../registry.js";
|
|
3
|
-
import "../capabilities/index.js";
|
|
4
|
-
import { ExperimentRef } from "../experiments/spec.js";
|
|
5
|
-
import { FormRef, OpRef } from "../features/types.js";
|
|
6
|
-
import "../features/index.js";
|
|
7
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
8
|
-
|
|
9
|
-
//#region ../../libs/contracts/src/workflow/spec.d.ts
|
|
10
|
-
type StepType = 'human' | 'automation' | 'decision';
|
|
11
|
-
type GuardConditionKind = 'policy' | 'expression';
|
|
12
|
-
interface GuardCondition {
|
|
13
|
-
type: GuardConditionKind;
|
|
14
|
-
/** Policy name or expression string depending on the type. */
|
|
15
|
-
value: string;
|
|
16
|
-
}
|
|
17
|
-
interface RetryPolicy {
|
|
18
|
-
maxAttempts: number;
|
|
19
|
-
backoff: 'linear' | 'exponential';
|
|
20
|
-
delayMs: number;
|
|
21
|
-
/** Optional max delay cap for exponential backoff. */
|
|
22
|
-
maxDelayMs?: number;
|
|
23
|
-
}
|
|
24
|
-
interface StepAction {
|
|
25
|
-
/** Operation executed for automation steps. */
|
|
26
|
-
operation?: OpRef;
|
|
27
|
-
/** Form rendered for human input steps. */
|
|
28
|
-
form?: FormRef;
|
|
29
|
-
}
|
|
30
|
-
interface Step {
|
|
31
|
-
id: string;
|
|
32
|
-
type: StepType;
|
|
33
|
-
label: string;
|
|
34
|
-
description?: string;
|
|
35
|
-
action?: StepAction;
|
|
36
|
-
guard?: GuardCondition;
|
|
37
|
-
timeoutMs?: number;
|
|
38
|
-
retry?: RetryPolicy;
|
|
39
|
-
/** Integration slot identifiers required before this step can execute. */
|
|
40
|
-
requiredIntegrations?: string[];
|
|
41
|
-
/** Capabilities that must be enabled for this step to execute. */
|
|
42
|
-
requiredCapabilities?: CapabilityRef[];
|
|
43
|
-
}
|
|
44
|
-
interface Transition {
|
|
45
|
-
from: string;
|
|
46
|
-
to: string;
|
|
47
|
-
label?: string;
|
|
48
|
-
/** Expression evaluated against workflow data (e.g., `data.approved === true`). */
|
|
49
|
-
condition?: string;
|
|
50
|
-
}
|
|
51
|
-
interface SLA {
|
|
52
|
-
totalDurationMs?: number;
|
|
53
|
-
stepDurationMs?: Record<string, number>;
|
|
54
|
-
}
|
|
55
|
-
interface CompensationStep {
|
|
56
|
-
stepId: string;
|
|
57
|
-
operation: OpRef;
|
|
58
|
-
description?: string;
|
|
59
|
-
}
|
|
60
|
-
interface CompensationStrategy {
|
|
61
|
-
trigger?: 'on_failure' | 'manual';
|
|
62
|
-
steps: CompensationStep[];
|
|
63
|
-
}
|
|
64
|
-
interface WorkflowDefinition {
|
|
65
|
-
steps: Step[];
|
|
66
|
-
transitions: Transition[];
|
|
67
|
-
/** Optional explicit entry step. Defaults to the first step when omitted. */
|
|
68
|
-
entryStepId?: string;
|
|
69
|
-
sla?: SLA;
|
|
70
|
-
compensation?: CompensationStrategy;
|
|
71
|
-
}
|
|
72
|
-
type WorkflowMeta = OwnerShipMeta;
|
|
73
|
-
interface WorkflowSpec {
|
|
74
|
-
meta: WorkflowMeta;
|
|
75
|
-
definition: WorkflowDefinition;
|
|
76
|
-
policy?: {
|
|
77
|
-
flags?: string[];
|
|
78
|
-
};
|
|
79
|
-
experiments?: ExperimentRef[];
|
|
80
|
-
}
|
|
81
|
-
//#endregion
|
|
82
|
-
export { CompensationStep, CompensationStrategy, GuardCondition, GuardConditionKind, RetryPolicy, SLA, Step, StepAction, StepType, Transition, WorkflowDefinition, WorkflowMeta, WorkflowSpec };
|
|
83
|
-
//# sourceMappingURL=spec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/workflow/spec.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KASY,QAAA;KASA,kBAAA;AATA,UAWK,cAAA,CAXG;EASR,IAAA,EAGJ,kBAHsB;EAEb;EAMA,KAAA,EAAA,MAAA;AAQjB;AAOiB,UAfA,WAAA,CAeI;EAEb,WAAA,EAAA,MAAA;EAGG,OAAA,EAAA,QAAA,GAAA,aAAA;EACD,OAAA,EAAA,MAAA;EAEA;EAIe,UAAA,CAAA,EAAA,MAAA;;AAGR,UAtBA,UAAA,CAsBU;EAQV;EAKA,SAAA,CAAA,EAjCH,KAiCG;EAMA;EAKA,IAAA,CAAA,EA1CR,OA0CQ;;AAEF,UAzCE,IAAA,CAyCF;EAGP,EAAA,EAAA,MAAA;EACS,IAAA,EA3CT,QA2CS;EAAoB,KAAA,EAAA,MAAA;EAGzB,WAAA,CAAA,EAAA,MAAY;EAEP,MAAA,CAAA,EA7CN,UA6CkB;EACrB,KAAA,CAAA,EA7CE,cA6CF;EACM,SAAA,CAAA,EAAA,MAAA;EAEE,KAAA,CAAA,EA9CN,WA8CM;EAAa;;;yBA1CJ;;UAGR,UAAA;;;;;;;UAQA,GAAA;;mBAEE;;UAGF,gBAAA;;aAEJ;;;UAII,oBAAA;;SAER;;UAGQ,kBAAA;SACR;eACM;;;QAGP;iBACS;;KAGL,YAAA,GAAe;UAEV,YAAA;QACT;cACM;;;;gBAEE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./spec.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "zod";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./contractsrc-schema.js";
|