@contractspec/example.personalization 1.44.0 → 1.45.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 +338 -59
- package/.turbo/turbo-build.log +332 -53
- package/CHANGELOG.md +43 -0
- package/dist/example.d.ts +4 -30
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +16 -11
- package/dist/example.js.map +1 -1
- package/dist/libs/contracts/src/app-config/branding.d.ts +20 -0
- package/dist/libs/contracts/src/app-config/branding.d.ts.map +1 -0
- package/dist/libs/contracts/src/app-config/lifecycle.d.ts +1 -0
- package/dist/libs/contracts/src/app-config/runtime.d.ts +13 -0
- package/dist/libs/contracts/src/app-config/spec.d.ts +93 -0
- package/dist/libs/contracts/src/app-config/spec.d.ts.map +1 -0
- package/dist/libs/contracts/src/app-config/validation.d.ts +8 -0
- package/dist/libs/contracts/src/capabilities/capabilities.d.ts +12 -3
- package/dist/libs/contracts/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/libs/contracts/src/capabilities/index.d.ts +2 -0
- package/dist/libs/contracts/src/capabilities/openbanking.d.ts +1 -0
- package/dist/libs/contracts/src/client/index.d.ts +1 -0
- package/dist/libs/contracts/src/client/react/drivers/rn-reusables.d.ts +1 -0
- package/dist/libs/contracts/src/client/react/drivers/shadcn.d.ts +1 -0
- package/dist/libs/contracts/src/client/react/feature-render.d.ts +3 -0
- package/dist/libs/contracts/src/client/react/form-render.d.ts +4 -0
- package/dist/libs/contracts/src/client/react/index.d.ts +4 -0
- package/dist/libs/contracts/src/contract-registry/index.d.ts +2 -0
- package/dist/libs/contracts/src/contract-registry/schemas.d.ts +2 -0
- package/dist/libs/contracts/src/contract-registry/types.d.ts +1 -0
- package/dist/libs/contracts/src/data-views/index.d.ts +3 -0
- package/dist/libs/contracts/src/data-views/registry.d.ts +2 -0
- package/dist/libs/contracts/src/data-views/spec.d.ts +2 -0
- package/dist/libs/contracts/src/data-views/types.d.ts +2 -0
- package/dist/libs/contracts/src/docs/accessibility_wcag_compliance_specs.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/index.d.ts +25 -0
- package/dist/libs/contracts/src/docs/presentations.d.ts +2 -0
- package/dist/libs/contracts/src/docs/registry.d.ts +3 -1
- package/dist/libs/contracts/src/docs/registry.d.ts.map +1 -1
- package/dist/libs/contracts/src/docs/tech/auth/better-auth-nextjs.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/contracts/openapi-export.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/contracts/openapi-import.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/lifecycle-stage-system.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/llm/llm-integration.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/mcp-endpoints.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/presentation-runtime.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/schema/README.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/learning-events.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/learning-journeys.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/platform-admin-panel.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/project-access-teams.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/project-routing.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/sandbox-unlogged.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/team-invitations.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/workspace-ops.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/studio/workspaces.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/telemetry-ingest.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/templates/runtime.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/docs/tech/vscode-extension.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/events.d.ts +4 -1
- package/dist/libs/contracts/src/examples/index.d.ts +4 -0
- package/dist/libs/contracts/src/examples/registry.d.ts +2 -0
- package/dist/libs/contracts/src/examples/schema.d.ts +2 -0
- package/dist/libs/contracts/src/examples/types.d.ts +138 -0
- package/dist/libs/contracts/src/examples/types.d.ts.map +1 -0
- package/dist/libs/contracts/src/examples/validation.d.ts +1 -0
- package/dist/libs/contracts/src/experiments/evaluator.d.ts +2 -0
- package/dist/libs/contracts/src/experiments/spec-resolver.d.ts +2 -1
- package/dist/libs/contracts/src/experiments/spec.d.ts +6 -2
- package/dist/libs/contracts/src/experiments/spec.d.ts.map +1 -1
- package/dist/libs/contracts/src/features/index.d.ts +1 -1
- package/dist/libs/contracts/src/features/install.d.ts +2 -0
- package/dist/libs/contracts/src/features/registry.d.ts +1 -0
- package/dist/libs/contracts/src/features/types.d.ts +79 -3
- package/dist/libs/contracts/src/features/types.d.ts.map +1 -1
- package/dist/libs/contracts/src/features/validation.d.ts +1 -0
- package/dist/libs/contracts/src/forms/forms.d.ts +3 -0
- package/dist/libs/contracts/src/forms/index.d.ts +1 -0
- package/dist/libs/contracts/src/index.d.ts +53 -0
- package/dist/libs/contracts/src/install.d.ts +3 -2
- package/dist/libs/contracts/src/integrations/connection.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/index.d.ts +6 -0
- package/dist/libs/contracts/src/integrations/openbanking/contracts/accounts.d.ts +4 -0
- package/dist/libs/contracts/src/integrations/openbanking/contracts/balances.d.ts +4 -0
- package/dist/libs/contracts/src/integrations/openbanking/contracts/index.d.ts +5 -0
- package/dist/libs/contracts/src/integrations/openbanking/contracts/transactions.d.ts +4 -0
- package/dist/libs/contracts/src/integrations/openbanking/guards.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/openbanking/models.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/openbanking/openbanking.feature.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/operations.d.ts +4 -0
- package/dist/libs/contracts/src/integrations/providers/elevenlabs.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/gcs-storage.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/gmail.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/google-calendar.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/index.d.ts +11 -0
- package/dist/libs/contracts/src/integrations/providers/mistral.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/postmark.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/powens.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/qdrant.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/registry.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/stripe.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/providers/twilio-sms.d.ts +1 -0
- package/dist/libs/contracts/src/integrations/spec.d.ts +10 -0
- package/dist/libs/contracts/src/integrations/spec.d.ts.map +1 -0
- package/dist/libs/contracts/src/jsonschema.d.ts +4 -0
- package/dist/libs/contracts/src/knowledge/index.d.ts +2 -0
- package/dist/libs/contracts/src/knowledge/operations.d.ts +4 -0
- package/dist/libs/contracts/src/knowledge/spaces/email-threads.d.ts +1 -0
- package/dist/libs/contracts/src/knowledge/spaces/financial-docs.d.ts +1 -0
- package/dist/libs/contracts/src/knowledge/spaces/financial-overview.d.ts +1 -0
- package/dist/libs/contracts/src/knowledge/spaces/index.d.ts +6 -0
- package/dist/libs/contracts/src/knowledge/spaces/product-canon.d.ts +1 -0
- package/dist/libs/contracts/src/knowledge/spaces/support-faq.d.ts +1 -0
- package/dist/libs/contracts/src/knowledge/spaces/uploaded-docs.d.ts +1 -0
- package/dist/libs/contracts/src/knowledge/spec.d.ts +3 -0
- package/dist/libs/contracts/src/llm/exporters.d.ts +7 -0
- package/dist/libs/contracts/src/llm/index.d.ts +3 -0
- package/dist/libs/contracts/src/llm/prompts.d.ts +2 -0
- package/dist/libs/contracts/src/llm/types.d.ts +5 -0
- package/dist/libs/contracts/src/migrations.d.ts +1 -0
- package/dist/libs/contracts/src/model-registry.d.ts +1 -0
- package/dist/libs/contracts/src/onboarding-base.d.ts +2 -0
- package/dist/libs/contracts/src/openapi.d.ts +1 -0
- package/dist/libs/contracts/src/operations/index.d.ts +1 -1
- package/dist/libs/contracts/src/operations/operation.d.ts +27 -1
- package/dist/libs/contracts/src/operations/operation.d.ts.map +1 -0
- package/dist/libs/contracts/src/operations/registry.d.ts +4 -2
- package/dist/libs/contracts/src/ownership.d.ts +3 -2
- package/dist/libs/contracts/src/ownership.d.ts.map +1 -1
- package/dist/libs/contracts/src/policy/engine.d.ts +3 -0
- package/dist/libs/contracts/src/policy/index.d.ts +4 -0
- package/dist/libs/contracts/src/policy/opa-adapter.d.ts +3 -0
- package/dist/libs/contracts/src/policy/registry.d.ts +2 -0
- package/dist/libs/contracts/src/policy/spec.d.ts +11 -0
- package/dist/libs/contracts/src/policy/spec.d.ts.map +1 -0
- package/dist/libs/contracts/src/presentations/index.d.ts +1 -0
- package/dist/libs/contracts/src/presentations/presentations.d.ts +9 -0
- package/dist/libs/contracts/src/presentations/presentations.d.ts.map +1 -0
- package/dist/libs/contracts/src/presentations/registry.d.ts +1 -0
- package/dist/libs/contracts/src/presentations/transform-engine.d.ts +1 -0
- package/dist/libs/contracts/src/prompt.d.ts +1 -0
- package/dist/libs/contracts/src/promptRegistry.d.ts +2 -0
- package/dist/libs/contracts/src/regenerator/adapters.d.ts +1 -0
- package/dist/libs/contracts/src/regenerator/executor.d.ts +1 -0
- package/dist/libs/contracts/src/regenerator/index.d.ts +6 -0
- package/dist/libs/contracts/src/regenerator/service.d.ts +2 -0
- package/dist/libs/contracts/src/regenerator/sinks.d.ts +2 -0
- package/dist/libs/contracts/src/regenerator/types.d.ts +3 -0
- package/dist/libs/contracts/src/regenerator/utils.d.ts +1 -0
- package/dist/libs/contracts/src/registry-utils.d.ts +1 -0
- package/dist/libs/contracts/src/registry.d.ts +2 -0
- package/dist/libs/contracts/src/resources.d.ts +1 -0
- package/dist/libs/contracts/src/schema-to-markdown.d.ts +1 -0
- package/dist/libs/contracts/src/server/graphql-pothos.d.ts +7 -0
- package/dist/libs/contracts/src/server/index.d.ts +7 -0
- package/dist/libs/contracts/src/server/mcp/createMcpServer.d.ts +5 -0
- package/dist/libs/contracts/src/server/mcp/mcpTypes.d.ts +3 -0
- package/dist/libs/contracts/src/server/provider-mcp.d.ts +1 -0
- package/dist/libs/contracts/src/server/rest-elysia.d.ts +3 -0
- package/dist/libs/contracts/src/server/rest-express.d.ts +3 -0
- package/dist/libs/contracts/src/server/rest-generic.d.ts +2 -0
- package/dist/libs/contracts/src/server/rest-next-app.d.ts +3 -0
- package/dist/libs/contracts/src/server/rest-next-pages.d.ts +3 -0
- package/dist/libs/contracts/src/telemetry/anomaly.d.ts +2 -0
- package/dist/libs/contracts/src/telemetry/index.d.ts +3 -0
- package/dist/libs/contracts/src/telemetry/spec.d.ts +2 -0
- package/dist/libs/contracts/src/telemetry/tracker.d.ts +2 -0
- package/dist/libs/contracts/src/tests/index.d.ts +2 -0
- package/dist/libs/contracts/src/tests/runner.d.ts +3 -0
- package/dist/libs/contracts/src/tests/spec.d.ts +1 -0
- package/dist/libs/contracts/src/themes.d.ts +12 -0
- package/dist/libs/contracts/src/themes.d.ts.map +1 -0
- package/dist/libs/contracts/src/types.d.ts +3 -0
- package/dist/libs/contracts/src/workflow/adapters/db-adapter.d.ts +1 -0
- package/dist/libs/contracts/src/workflow/adapters/file-adapter.d.ts +1 -0
- package/dist/libs/contracts/src/workflow/adapters/index.d.ts +3 -0
- package/dist/libs/contracts/src/workflow/adapters/memory-store.d.ts +1 -0
- package/dist/libs/contracts/src/workflow/index.d.ts +5 -0
- package/dist/libs/contracts/src/workflow/overview.docblock.d.ts +1 -0
- package/dist/libs/contracts/src/workflow/runner.d.ts +5 -0
- package/dist/libs/contracts/src/workflow/spec.d.ts +4 -2
- package/dist/libs/contracts/src/workflow/spec.d.ts.map +1 -1
- package/dist/libs/contracts/src/workflow/state.d.ts +1 -0
- package/dist/libs/contracts/src/workflow/validation.d.ts +3 -0
- package/dist/libs/contracts/src/workspace-config/contractsrc-schema.d.ts +1 -0
- package/dist/libs/contracts/src/workspace-config/index.d.ts +1 -0
- package/dist/libs/contracts/src/workspace-config/workspace-config.docblock.d.ts +1 -0
- package/dist/workflow-extension.js +1 -1
- package/dist/workflow-extension.js.map +1 -1
- package/package.json +9 -9
- package/src/example.ts +16 -9
- package/src/workflow-extension.ts +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region ../../libs/contracts/src/app-config/branding.d.ts
|
|
2
|
+
interface BrandingAssetRef {
|
|
3
|
+
type: 'logo' | 'logo-dark' | 'favicon' | 'og-image';
|
|
4
|
+
url?: string;
|
|
5
|
+
dimensions?: {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
interface BrandingDefaults {
|
|
11
|
+
appNameKey: string;
|
|
12
|
+
assets?: BrandingAssetRef[];
|
|
13
|
+
colorTokens?: {
|
|
14
|
+
primary?: string;
|
|
15
|
+
secondary?: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { BrandingDefaults };
|
|
20
|
+
//# sourceMappingURL=branding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branding.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/app-config/branding.ts"],"sourcesContent":[],"mappings":";UAAiB,gBAAA;EAAA,IAAA,EAAA,MAAA,GAAA,WAAgB,GAAA,SAAA,GAAA,UAAA;EAMhB,GAAA,CAAA,EAAA,MAAA;;;;;;UAAA,gBAAA;;WAEN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./spec.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../policy/spec.js";
|
|
2
|
+
import "../telemetry/spec.js";
|
|
3
|
+
import "../capabilities/index.js";
|
|
4
|
+
import "../experiments/spec.js";
|
|
5
|
+
import "../features/index.js";
|
|
6
|
+
import "../data-views/index.js";
|
|
7
|
+
import "../workflow/spec.js";
|
|
8
|
+
import "../policy/registry.js";
|
|
9
|
+
import "../themes.js";
|
|
10
|
+
import "../integrations/spec.js";
|
|
11
|
+
import "../integrations/connection.js";
|
|
12
|
+
import "../knowledge/spec.js";
|
|
13
|
+
import "./spec.js";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
2
|
+
import { PolicyRef } from "../policy/spec.js";
|
|
3
|
+
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
4
|
+
import "../capabilities/index.js";
|
|
5
|
+
import { ExperimentRef } from "../experiments/spec.js";
|
|
6
|
+
import { FeatureRef } from "../features/types.js";
|
|
7
|
+
import "../features/index.js";
|
|
8
|
+
import { ThemeRef } from "../themes.js";
|
|
9
|
+
import { IntegrationCategory, IntegrationOwnershipMode } from "../integrations/spec.js";
|
|
10
|
+
import { BrandingDefaults } from "./branding.js";
|
|
11
|
+
import "./lifecycle.js";
|
|
12
|
+
import "../registry.js";
|
|
13
|
+
|
|
14
|
+
//#region ../../libs/contracts/src/app-config/spec.d.ts
|
|
15
|
+
interface SpecPointer {
|
|
16
|
+
key: string;
|
|
17
|
+
version?: string;
|
|
18
|
+
}
|
|
19
|
+
interface AppRouteConfig {
|
|
20
|
+
path: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
dataView?: string;
|
|
23
|
+
workflow?: string;
|
|
24
|
+
guard?: PolicyRef;
|
|
25
|
+
featureFlag?: string;
|
|
26
|
+
experiment?: ExperimentRef;
|
|
27
|
+
}
|
|
28
|
+
interface TranslationCatalogPointer {
|
|
29
|
+
key: string;
|
|
30
|
+
version: string;
|
|
31
|
+
}
|
|
32
|
+
interface AppIntegrationSlot {
|
|
33
|
+
/** Slot identifier unique within the blueprint (e.g., "primaryPayments"). */
|
|
34
|
+
slotId: string;
|
|
35
|
+
/** Integration category required to satisfy this slot. */
|
|
36
|
+
requiredCategory: IntegrationCategory;
|
|
37
|
+
/** Ownership modes allowed for this slot (defaults to any supported mode). */
|
|
38
|
+
allowedModes?: IntegrationOwnershipMode[];
|
|
39
|
+
/** Capabilities that must be provided by the integration spec. */
|
|
40
|
+
requiredCapabilities?: CapabilityRef[];
|
|
41
|
+
/** Whether this slot must be satisfied for the app to function. */
|
|
42
|
+
required?: boolean;
|
|
43
|
+
/** Description for App Studio UX. */
|
|
44
|
+
description?: string;
|
|
45
|
+
}
|
|
46
|
+
interface FeatureFlagState {
|
|
47
|
+
key: string;
|
|
48
|
+
enabled: boolean;
|
|
49
|
+
variant?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
}
|
|
52
|
+
interface TelemetryBinding {
|
|
53
|
+
spec?: SpecPointer;
|
|
54
|
+
disabledEvents?: string[];
|
|
55
|
+
samplingOverrides?: Record<string, number>;
|
|
56
|
+
}
|
|
57
|
+
interface AppThemeBinding {
|
|
58
|
+
primary: ThemeRef;
|
|
59
|
+
fallbacks?: ThemeRef[];
|
|
60
|
+
}
|
|
61
|
+
interface AppBlueprintMeta extends OwnerShipMeta {
|
|
62
|
+
/** Logical application id (e.g. "artisan"). */
|
|
63
|
+
appId: string;
|
|
64
|
+
}
|
|
65
|
+
interface AppBlueprintSpec {
|
|
66
|
+
meta: AppBlueprintMeta;
|
|
67
|
+
capabilities?: {
|
|
68
|
+
enabled?: CapabilityRef[];
|
|
69
|
+
disabled?: CapabilityRef[];
|
|
70
|
+
};
|
|
71
|
+
features?: {
|
|
72
|
+
include?: FeatureRef[];
|
|
73
|
+
exclude?: FeatureRef[];
|
|
74
|
+
};
|
|
75
|
+
integrationSlots?: AppIntegrationSlot[];
|
|
76
|
+
branding?: BrandingDefaults;
|
|
77
|
+
translationCatalog?: TranslationCatalogPointer;
|
|
78
|
+
dataViews?: Record<string, SpecPointer>;
|
|
79
|
+
workflows?: Record<string, SpecPointer>;
|
|
80
|
+
policies?: PolicyRef[];
|
|
81
|
+
theme?: AppThemeBinding;
|
|
82
|
+
telemetry?: TelemetryBinding;
|
|
83
|
+
experiments?: {
|
|
84
|
+
active?: ExperimentRef[];
|
|
85
|
+
paused?: ExperimentRef[];
|
|
86
|
+
};
|
|
87
|
+
featureFlags?: FeatureFlagState[];
|
|
88
|
+
routes?: AppRouteConfig[];
|
|
89
|
+
notes?: string;
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
export { AppBlueprintMeta, AppBlueprintSpec, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, FeatureFlagState, SpecPointer, TelemetryBinding, TranslationCatalogPointer };
|
|
93
|
+
//# sourceMappingURL=spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/app-config/spec.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;UAiBiB,WAAA;EAAA,GAAA,EAAA,MAAA;EAKA,OAAA,CAAA,EAAA,MAAA;AAUjB;AAKiB,UAfA,cAAA,CAekB;EAIf,IAAA,EAAA,MAAA;EAEH,KAAA,CAAA,EAAA,MAAA;EAEQ,QAAA,CAAA,EAAA,MAAA;EAAa,QAAA,CAAA,EAAA,MAAA;EAOrB,KAAA,CAAA,EAzBP,SAyBO;EAOA,WAAA,CAAA,EAAA,MAAgB;EAMhB,UAAA,CAAA,EApCF,aAoCiB;AAKhC;AAKiB,UA3CA,yBAAA,CA2CgB;EACzB,GAAA,EAAA,MAAA;EAEM,OAAA,EAAA,MAAA;;AAIA,UA7CG,kBAAA,CA6CH;EACA;EAEO,MAAA,EAAA,MAAA;EACR;EACU,gBAAA,EA9CH,mBA8CG;EACM;EAAf,YAAA,CAAA,EA7CG,wBA6CH,EAAA;EACe;EAAf,oBAAA,CAAA,EA5CW,aA4CX,EAAA;EACD;EACH,QAAA,CAAA,EAAA,OAAA;EACI;EAED,WAAA,CAAA,EAAA,MAAA;;AAGI,UA7CA,gBAAA,CA6CA;EACN,GAAA,EAAA,MAAA;EAAc,OAAA,EAAA,OAAA;;;;UAvCR,gBAAA;SACR;;sBAEa;;UAGL,eAAA;WACN;cACG;;UAGG,gBAAA,SAAyB;;;;UAKzB,gBAAA;QACT;;cAEM;eACC;;;cAGD;cACA;;qBAEO;aACR;uBACU;cACT,eAAe;cACf,eAAe;aAChB;UACH;cACI;;aAED;aACA;;iBAEI;WACN"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import "../ownership.js";
|
|
2
2
|
|
|
3
|
+
//#region ../../libs/contracts/src/capabilities/capabilities.d.ts
|
|
4
|
+
type CapabilityKind = 'api' | 'event' | 'data' | 'ui' | 'integration';
|
|
5
|
+
interface CapabilityRequirement {
|
|
6
|
+
key: string;
|
|
7
|
+
version?: string;
|
|
8
|
+
kind?: CapabilityKind;
|
|
9
|
+
optional?: boolean;
|
|
10
|
+
reason?: string;
|
|
11
|
+
}
|
|
3
12
|
interface CapabilityRef {
|
|
4
13
|
key: string;
|
|
5
|
-
version:
|
|
14
|
+
version: string;
|
|
6
15
|
}
|
|
7
16
|
//#endregion
|
|
8
|
-
export { CapabilityRef };
|
|
17
|
+
export { CapabilityKind, CapabilityRef, CapabilityRequirement };
|
|
9
18
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/capabilities/capabilities.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/capabilities/capabilities.ts"],"sourcesContent":[],"mappings":";;;KAGY,cAAA;UAoBK,qBAAA;;;SAGR;;;;UAKQ,aAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./react/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../form-render.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../form-render.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../ownership.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./presentations.js";
|
|
2
|
+
import { DocId } from "./registry.js";
|
|
3
|
+
import "./accessibility_wcag_compliance_specs.docblock.js";
|
|
4
|
+
import "./tech/lifecycle-stage-system.docblock.js";
|
|
5
|
+
import "./tech/presentation-runtime.docblock.js";
|
|
6
|
+
import "./tech/auth/better-auth-nextjs.docblock.js";
|
|
7
|
+
import "./tech/schema/README.docblock.js";
|
|
8
|
+
import "./tech/templates/runtime.docblock.js";
|
|
9
|
+
import "../workflow/overview.docblock.js";
|
|
10
|
+
import "./tech/mcp-endpoints.docblock.js";
|
|
11
|
+
import "./tech/vscode-extension.docblock.js";
|
|
12
|
+
import "./tech/telemetry-ingest.docblock.js";
|
|
13
|
+
import "./tech/contracts/openapi-export.docblock.js";
|
|
14
|
+
import "./tech/contracts/openapi-import.docblock.js";
|
|
15
|
+
import "../workspace-config/workspace-config.docblock.js";
|
|
16
|
+
import "./tech/studio/workspaces.docblock.js";
|
|
17
|
+
import "./tech/studio/sandbox-unlogged.docblock.js";
|
|
18
|
+
import "./tech/studio/workspace-ops.docblock.js";
|
|
19
|
+
import "./tech/studio/project-routing.docblock.js";
|
|
20
|
+
import "./tech/studio/platform-admin-panel.docblock.js";
|
|
21
|
+
import "./tech/studio/learning-events.docblock.js";
|
|
22
|
+
import "./tech/studio/learning-journeys.docblock.js";
|
|
23
|
+
import "./tech/studio/project-access-teams.docblock.js";
|
|
24
|
+
import "./tech/studio/team-invitations.docblock.js";
|
|
25
|
+
import "./tech/llm/llm-integration.docblock.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/docs/registry.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/docs/registry.ts"],"sourcesContent":[],"mappings":";;;;KASY,KAAA;EAAA,OAAA,EAAK,IAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../index.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ExampleDocumentation, ExampleEntrypoints, ExampleKind, ExampleMcpSupport, ExampleMeta, ExampleSandboxMode, ExampleSandboxSupport, ExampleSpec, ExampleStudioSupport, ExampleSurfaces, ExampleVisibility } from "./types.js";
|
|
2
|
+
import "./schema.js";
|
|
3
|
+
import "./registry.js";
|
|
4
|
+
import "./validation.js";
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
2
|
+
import { FeatureModuleSpec, FeatureRef } from "../features/types.js";
|
|
3
|
+
import "../features/index.js";
|
|
4
|
+
import { AppBlueprintSpec, SpecPointer } from "../app-config/spec.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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./types.js";
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import "../ownership.js";
|
|
2
|
+
import "../policy/spec.js";
|
|
3
|
+
import "../telemetry/spec.js";
|
|
4
|
+
import "../registry.js";
|
|
2
5
|
|
|
6
|
+
//#region ../../libs/contracts/src/experiments/spec.d.ts
|
|
3
7
|
interface ExperimentRef {
|
|
4
8
|
key: string;
|
|
5
|
-
version?:
|
|
9
|
+
version?: string;
|
|
6
10
|
}
|
|
7
11
|
//#endregion
|
|
8
12
|
export { ExperimentRef };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/experiments/spec.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../../../libs/contracts/src/experiments/spec.ts"],"sourcesContent":[],"mappings":";;;;;;UAOiB,aAAA;EAAA,GAAA,EAAA,MAAA"}
|