@lssm/lib.contracts 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804
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/dist/app-config/app-config.feature.d.ts +11 -0
- package/dist/app-config/branding.d.ts +55 -0
- package/dist/app-config/contracts.d.ts +244 -0
- package/dist/app-config/docs/app-config.docblock.d.ts +6 -0
- package/dist/app-config/events.d.ts +122 -0
- package/dist/app-config/index.d.ts +9 -0
- package/dist/app-config/lifecycle-contracts.d.ts +382 -0
- package/dist/app-config/lifecycle.d.ts +27 -0
- package/dist/app-config/runtime.d.ts +114 -0
- package/dist/app-config/spec.d.ts +175 -0
- package/dist/app-config/validation.d.ts +47 -0
- package/dist/capabilities/docs/capabilities.docblock.d.ts +6 -0
- package/dist/capabilities/openbanking.d.ts +9 -0
- package/dist/capabilities.d.ts +48 -0
- package/dist/client/index.d.ts +6 -0
- package/dist/client/react/drivers/rn-reusables.d.ts +22 -0
- package/dist/client/react/drivers/shadcn.d.ts +12 -0
- package/dist/client/react/feature-render.d.ts +19 -0
- package/dist/client/react/form-render.d.ts +91 -0
- package/dist/client/react/index.d.ts +5 -0
- package/dist/contract-registry/index.d.ts +3 -0
- package/dist/contract-registry/schemas.d.ts +124 -0
- package/dist/contract-registry/types.d.ts +46 -0
- package/dist/contracts-adapter-hydration.d.ts +15 -0
- package/dist/contracts-adapter-input.d.ts +10 -0
- package/dist/data-views/docs/data-views.docblock.d.ts +6 -0
- package/dist/data-views/query-generator.d.ts +39 -0
- package/dist/data-views/runtime.d.ts +26 -0
- package/dist/data-views.d.ts +131 -0
- package/dist/docs/PUBLISHING.docblock.d.ts +6 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +6 -0
- package/dist/docs/index.d.ts +6 -0
- package/dist/docs/meta.docs.d.ts +6 -0
- package/dist/docs/presentations.d.ts +33 -0
- package/dist/docs/registry.d.ts +24 -0
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +6 -0
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +6 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/README.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/create-subscription.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/migrations.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/overlays.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/tests.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/themes.docblock.d.ts +6 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +6 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +6 -0
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +7 -0
- package/dist/docs/tech/mcp-endpoints.docblock.d.ts +6 -0
- package/dist/docs/tech/presentation-runtime.docblock.d.ts +6 -0
- package/dist/docs/tech/schema/README.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/learning-events.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/project-routing.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/team-invitations.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +6 -0
- package/dist/docs/tech/studio/workspaces.docblock.d.ts +6 -0
- package/dist/docs/tech/telemetry-ingest.docblock.d.ts +6 -0
- package/dist/docs/tech/templates/runtime.docblock.d.ts +6 -0
- package/dist/docs/tech/vscode-extension.docblock.d.ts +6 -0
- package/dist/docs/tech/workflows/overview.docblock.d.ts +6 -0
- package/dist/docs/tech-contracts.docs.d.ts +6 -0
- package/dist/docs/types.d.ts +41 -0
- package/dist/events.d.ts +47 -0
- package/dist/experiments/docs/experiments.docblock.d.ts +6 -0
- package/dist/experiments/evaluator.d.ts +37 -0
- package/dist/experiments/spec-resolver.d.ts +16 -0
- package/dist/experiments/spec.d.ts +89 -0
- package/dist/features.d.ts +96 -0
- package/dist/forms/docs/forms.docblock.d.ts +6 -0
- package/dist/forms.d.ts +258 -0
- package/dist/index.d.ts +127 -0
- package/dist/install.d.ts +76 -0
- package/dist/integrations/binding.d.ts +17 -0
- package/dist/integrations/connection.d.ts +51 -0
- package/dist/integrations/contracts.d.ts +435 -0
- package/dist/integrations/docs/integrations.docblock.d.ts +6 -0
- package/dist/integrations/health.d.ts +21 -0
- package/dist/integrations/index.d.ts +34 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +287 -0
- package/dist/integrations/openbanking/contracts/balances.d.ts +163 -0
- package/dist/integrations/openbanking/contracts/index.d.ts +10 -0
- package/dist/integrations/openbanking/contracts/transactions.d.ts +211 -0
- package/dist/integrations/openbanking/guards.d.ts +12 -0
- package/dist/integrations/openbanking/models.d.ts +228 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +11 -0
- package/dist/integrations/openbanking/telemetry.d.ts +15 -0
- package/dist/integrations/providers/calendar.d.ts +78 -0
- package/dist/integrations/providers/elevenlabs.d.ts +7 -0
- package/dist/integrations/providers/email.d.ts +86 -0
- package/dist/integrations/providers/embedding.d.ts +24 -0
- package/dist/integrations/providers/gcs-storage.d.ts +7 -0
- package/dist/integrations/providers/gmail.d.ts +7 -0
- package/dist/integrations/providers/google-calendar.d.ts +7 -0
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +20 -0
- package/dist/integrations/providers/impls/gcs-storage.d.ts +24 -0
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +26 -0
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +18 -0
- package/dist/integrations/providers/impls/google-calendar.d.ts +23 -0
- package/dist/integrations/providers/impls/index.d.ts +15 -0
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +23 -0
- package/dist/integrations/providers/impls/mistral-llm.d.ts +31 -0
- package/dist/integrations/providers/impls/postmark-email.d.ts +19 -0
- package/dist/integrations/providers/impls/powens-client.d.ts +124 -0
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +27 -0
- package/dist/integrations/providers/impls/provider-factory.d.ts +26 -0
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +24 -0
- package/dist/integrations/providers/impls/stripe-payments.d.ts +28 -0
- package/dist/integrations/providers/impls/twilio-sms.d.ts +20 -0
- package/dist/integrations/providers/index.d.ts +22 -0
- package/dist/integrations/providers/llm.d.ts +82 -0
- package/dist/integrations/providers/mistral.d.ts +7 -0
- package/dist/integrations/providers/openbanking.d.ts +128 -0
- package/dist/integrations/providers/payments.d.ts +109 -0
- package/dist/integrations/providers/postmark.d.ts +7 -0
- package/dist/integrations/providers/powens.d.ts +7 -0
- package/dist/integrations/providers/qdrant.d.ts +7 -0
- package/dist/integrations/providers/registry.d.ts +11 -0
- package/dist/integrations/providers/sms.d.ts +34 -0
- package/dist/integrations/providers/storage.d.ts +60 -0
- package/dist/integrations/providers/stripe.d.ts +7 -0
- package/dist/integrations/providers/twilio-sms.d.ts +7 -0
- package/dist/integrations/providers/vector-store.d.ts +43 -0
- package/dist/integrations/providers/voice.d.ts +34 -0
- package/dist/integrations/runtime.d.ts +99 -0
- package/dist/integrations/secrets/aws-secret-manager.d.ts +31 -0
- package/dist/integrations/secrets/env-secret-provider.d.ts +31 -0
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +32 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
- package/dist/integrations/secrets/index.d.ts +7 -0
- package/dist/integrations/secrets/manager.d.ts +47 -0
- package/dist/integrations/secrets/provider.d.ts +52 -0
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +38 -0
- package/dist/integrations/spec.d.ts +79 -0
- package/dist/jobs/define-job.d.ts +18 -0
- package/dist/jobs/gcp-cloud-tasks.d.ts +41 -0
- package/dist/jobs/gcp-pubsub.d.ts +25 -0
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +9 -0
- package/dist/jobs/handlers/index.d.ts +9 -0
- package/dist/jobs/handlers/ping-handler.d.ts +10 -0
- package/dist/jobs/handlers/storage-document-handler.d.ts +12 -0
- package/dist/jobs/index.d.ts +3 -0
- package/dist/jobs/memory-queue.d.ts +18 -0
- package/dist/jobs/queue.d.ts +131 -0
- package/dist/jobs/scaleway-sqs-queue.d.ts +30 -0
- package/dist/jsonschema.d.ts +27 -0
- package/dist/knowledge/binding.d.ts +25 -0
- package/dist/knowledge/contracts.d.ts +316 -0
- package/dist/knowledge/docs/knowledge.docblock.d.ts +6 -0
- package/dist/knowledge/index.d.ts +10 -0
- package/dist/knowledge/ingestion/document-processor.d.ts +24 -0
- package/dist/knowledge/ingestion/embedding-service.d.ts +12 -0
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +18 -0
- package/dist/knowledge/ingestion/index.d.ts +6 -0
- package/dist/knowledge/ingestion/storage-adapter.d.ts +15 -0
- package/dist/knowledge/ingestion/vector-indexer.d.ts +18 -0
- package/dist/knowledge/query/index.d.ts +2 -0
- package/dist/knowledge/query/service.d.ts +29 -0
- package/dist/knowledge/runtime.d.ts +32 -0
- package/dist/knowledge/source.d.ts +32 -0
- package/dist/knowledge/spaces/email-threads.d.ts +7 -0
- package/dist/knowledge/spaces/financial-docs.d.ts +7 -0
- package/dist/knowledge/spaces/financial-overview.d.ts +7 -0
- package/dist/knowledge/spaces/index.d.ts +7 -0
- package/dist/knowledge/spaces/product-canon.d.ts +7 -0
- package/dist/knowledge/spaces/support-faq.d.ts +7 -0
- package/dist/knowledge/spaces/uploaded-docs.d.ts +7 -0
- package/dist/knowledge/spec.d.ts +52 -0
- package/dist/llm/exporters.d.ts +67 -0
- package/dist/llm/index.d.ts +4 -0
- package/dist/llm/prompts.d.ts +51 -0
- package/dist/llm/types.d.ts +213 -0
- package/dist/markdown.d.ts +21 -0
- package/dist/migrations.d.ts +52 -0
- package/dist/onboarding-base.d.ts +137 -0
- package/dist/openapi.d.ts +31 -0
- package/dist/openbanking/docs/openbanking.docblock.d.ts +6 -0
- package/dist/ownership.d.ts +75 -0
- package/dist/policy/docs/policy.docblock.d.ts +6 -0
- package/dist/policy/engine.d.ts +39 -0
- package/dist/policy/opa-adapter.d.ts +45 -0
- package/dist/policy/spec.d.ts +114 -0
- package/dist/presentations/docs/presentations-conventions.docblock.d.ts +6 -0
- package/dist/presentations.backcompat.d.ts +7 -0
- package/dist/presentations.d.ts +98 -0
- package/dist/presentations.v2.d.ts +114 -0
- package/dist/prompt.d.ts +60 -0
- package/dist/promptRegistry.d.ts +15 -0
- package/dist/regenerator/adapters.d.ts +19 -0
- package/dist/regenerator/docs/regenerator.docblock.d.ts +6 -0
- package/dist/regenerator/executor.d.ts +70 -0
- package/dist/regenerator/index.d.ts +7 -0
- package/dist/regenerator/service.d.ts +33 -0
- package/dist/regenerator/sinks.d.ts +26 -0
- package/dist/regenerator/types.d.ts +107 -0
- package/dist/regenerator/utils.d.ts +9 -0
- package/dist/registry.d.ts +73 -0
- package/dist/resources.d.ts +64 -0
- package/dist/schema-to-markdown.d.ts +54 -0
- package/dist/server/graphql-pothos.d.ts +27 -0
- package/dist/server/index.d.ts +9 -0
- package/dist/server/mcp/createMcpServer.d.ts +15 -0
- package/dist/server/mcp/mcpTypes.d.ts +29 -0
- package/dist/server/mcp/registerPresentations.d.ts +7 -0
- package/dist/server/mcp/registerPrompts.d.ts +8 -0
- package/dist/server/mcp/registerResources.d.ts +8 -0
- package/dist/server/mcp/registerTools.d.ts +8 -0
- package/dist/server/provider-mcp.d.ts +2 -0
- package/dist/server/rest-elysia.d.ts +40 -0
- package/dist/server/rest-express.d.ts +16 -0
- package/dist/server/rest-generic.d.ts +32 -0
- package/dist/server/rest-next-app.d.ts +35 -0
- package/dist/server/rest-next-mcp.d.ts +11 -0
- package/dist/server/rest-next-pages.d.ts +9 -0
- package/dist/spec.d.ts +195 -0
- package/dist/telemetry/anomaly.d.ts +27 -0
- package/dist/telemetry/docs/telemetry.docblock.d.ts +6 -0
- package/dist/telemetry/index.d.ts +4 -0
- package/dist/telemetry/spec.d.ts +98 -0
- package/dist/telemetry/tracker.d.ts +51 -0
- package/dist/tests/index.d.ts +3 -0
- package/dist/tests/runner.d.ts +43 -0
- package/dist/tests/spec.d.ts +89 -0
- package/dist/themes.d.ts +55 -0
- package/dist/translations/catalog.d.ts +28 -0
- package/dist/translations/tenant.d.ts +15 -0
- package/dist/types/all.d.ts +60 -0
- package/dist/types.d.ts +88 -0
- package/dist/workflow/adapters/db-adapter.d.ts +34 -0
- package/dist/workflow/adapters/file-adapter.d.ts +14 -0
- package/dist/workflow/adapters/index.d.ts +4 -0
- package/dist/workflow/adapters/memory-store.d.ts +18 -0
- package/dist/workflow/expression.d.ts +9 -0
- package/dist/workflow/index.d.ts +10 -0
- package/dist/workflow/runner.d.ts +74 -0
- package/dist/workflow/sla-monitor.d.ts +20 -0
- package/dist/workflow/spec.d.ts +99 -0
- package/dist/workflow/state.d.ts +35 -0
- package/dist/workflow/validation.d.ts +28 -0
- package/package.json +250 -250
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ResourceRefDescriptor } from "../resources.js";
|
|
2
|
+
import { ContractSpec, OpKind } from "../spec.js";
|
|
3
|
+
import { HandlerCtx } from "../types.js";
|
|
4
|
+
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
5
|
+
|
|
6
|
+
//#region src/experiments/spec-resolver.d.ts
|
|
7
|
+
type RuntimeContract = ContractSpec<AnySchemaModel, AnySchemaModel | ResourceRefDescriptor<boolean>>;
|
|
8
|
+
interface SpecVariantResolver {
|
|
9
|
+
resolve(operation: {
|
|
10
|
+
name: string;
|
|
11
|
+
version: number;
|
|
12
|
+
kind: OpKind;
|
|
13
|
+
}, ctx: HandlerCtx): Promise<RuntimeContract | undefined> | RuntimeContract | undefined;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { RuntimeContract, SpecVariantResolver };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
2
|
+
import { PolicyRef } from "../policy/spec.js";
|
|
3
|
+
import { TelemetryEventDef } from "../telemetry/spec.js";
|
|
4
|
+
|
|
5
|
+
//#region src/experiments/spec.d.ts
|
|
6
|
+
interface ExperimentMeta extends OwnerShipMeta {
|
|
7
|
+
/** Fully-qualified experiment name (e.g., "sigil.onboarding.variant"). */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Version of the experiment; bump when allocation or variants change materially. */
|
|
10
|
+
version: number;
|
|
11
|
+
/** Domain/bounded context (e.g., "onboarding"). */
|
|
12
|
+
domain: string;
|
|
13
|
+
}
|
|
14
|
+
interface ExperimentRef {
|
|
15
|
+
name: string;
|
|
16
|
+
version?: number;
|
|
17
|
+
}
|
|
18
|
+
type ExperimentOverrideType = 'dataView' | 'workflow' | 'theme' | 'policy' | 'presentation';
|
|
19
|
+
interface ExperimentOverride {
|
|
20
|
+
type: ExperimentOverrideType;
|
|
21
|
+
/** Target spec meta name (e.g., DataViewSpec.meta.name). */
|
|
22
|
+
target: string;
|
|
23
|
+
/** Target version. Optional; evaluator may choose latest when omitted. */
|
|
24
|
+
version?: number;
|
|
25
|
+
/** Optional configuration applied when this variant is active. */
|
|
26
|
+
config?: Record<string, unknown>;
|
|
27
|
+
}
|
|
28
|
+
interface ExperimentVariant {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
/** Relative weight for random allocation (defaults to 1). */
|
|
33
|
+
weight?: number;
|
|
34
|
+
overrides?: ExperimentOverride[];
|
|
35
|
+
/** Optional metadata for downstream analytics/UI. */
|
|
36
|
+
metadata?: Record<string, unknown>;
|
|
37
|
+
}
|
|
38
|
+
interface TargetingRule {
|
|
39
|
+
/** Variant to assign when rule matches. */
|
|
40
|
+
variantId: string;
|
|
41
|
+
/** Optional percentage of matching traffic (0-1). If omitted, 100%. */
|
|
42
|
+
percentage?: number;
|
|
43
|
+
/** Policies that must allow the assignment. */
|
|
44
|
+
policy?: PolicyRef;
|
|
45
|
+
/** Expression evaluated against context (see evaluator for details). */
|
|
46
|
+
expression?: string;
|
|
47
|
+
}
|
|
48
|
+
type AllocationStrategy = {
|
|
49
|
+
type: 'random';
|
|
50
|
+
/** Optional salt for deterministic hashing. */
|
|
51
|
+
salt?: string;
|
|
52
|
+
} | {
|
|
53
|
+
type: 'sticky';
|
|
54
|
+
/** Which attribute to hash for sticky assignment. */
|
|
55
|
+
attribute: 'userId' | 'organizationId' | 'sessionId';
|
|
56
|
+
salt?: string;
|
|
57
|
+
} | {
|
|
58
|
+
type: 'targeted';
|
|
59
|
+
rules: TargetingRule[];
|
|
60
|
+
fallback?: 'control' | 'random';
|
|
61
|
+
};
|
|
62
|
+
type MetricAggregation = 'count' | 'avg' | 'p75' | 'p90' | 'p95' | 'p99';
|
|
63
|
+
interface SuccessMetric {
|
|
64
|
+
name: string;
|
|
65
|
+
telemetryEvent: {
|
|
66
|
+
name: TelemetryEventDef['name'];
|
|
67
|
+
version: number;
|
|
68
|
+
};
|
|
69
|
+
aggregation: MetricAggregation;
|
|
70
|
+
target?: number;
|
|
71
|
+
}
|
|
72
|
+
interface ExperimentSpec {
|
|
73
|
+
meta: ExperimentMeta;
|
|
74
|
+
/** Identifier of the control variant (must exist in variants array). */
|
|
75
|
+
controlVariant: string;
|
|
76
|
+
variants: ExperimentVariant[];
|
|
77
|
+
allocation: AllocationStrategy;
|
|
78
|
+
successMetrics?: SuccessMetric[];
|
|
79
|
+
tags?: string[];
|
|
80
|
+
}
|
|
81
|
+
declare class ExperimentRegistry {
|
|
82
|
+
private readonly items;
|
|
83
|
+
register(spec: ExperimentSpec): this;
|
|
84
|
+
list(): ExperimentSpec[];
|
|
85
|
+
get(name: string, version?: number): ExperimentSpec | undefined;
|
|
86
|
+
}
|
|
87
|
+
declare function makeExperimentKey(meta: ExperimentMeta): string;
|
|
88
|
+
//#endregion
|
|
89
|
+
export { AllocationStrategy, ExperimentMeta, ExperimentOverride, ExperimentOverrideType, ExperimentRef, ExperimentRegistry, ExperimentSpec, ExperimentVariant, MetricAggregation, SuccessMetric, TargetingRule, makeExperimentKey };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
+
import { PresentationDescriptorV2, PresentationTarget } from "./presentations.v2.js";
|
|
3
|
+
import { PresentationRegistry } from "./presentations.js";
|
|
4
|
+
import { DocId } from "./docs/registry.js";
|
|
5
|
+
import { ImplementationRef } from "./spec.js";
|
|
6
|
+
import { CapabilityRef, CapabilityRegistry, CapabilityRequirement } from "./capabilities.js";
|
|
7
|
+
import { ExperimentRef } from "./experiments/spec.js";
|
|
8
|
+
import { SpecRegistry } from "./registry.js";
|
|
9
|
+
|
|
10
|
+
//#region src/features.d.ts
|
|
11
|
+
/** Minimal metadata to identify and categorize a feature module. */
|
|
12
|
+
interface FeatureModuleMeta extends OwnerShipMeta {
|
|
13
|
+
/** Stable slug key used to identify this feature (e.g., "weekly_pulse"). */
|
|
14
|
+
key: string;
|
|
15
|
+
/** Optional doc block id for this feature. */
|
|
16
|
+
docId?: DocId;
|
|
17
|
+
}
|
|
18
|
+
interface OpRef {
|
|
19
|
+
/** Operation name (ContractSpec.meta.name). */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Operation version (ContractSpec.meta.version). */
|
|
22
|
+
version: number;
|
|
23
|
+
}
|
|
24
|
+
interface EventRef {
|
|
25
|
+
/** Event name. */
|
|
26
|
+
name: string;
|
|
27
|
+
/** Event version. */
|
|
28
|
+
version: number;
|
|
29
|
+
}
|
|
30
|
+
interface PresentationRef {
|
|
31
|
+
/** Presentation name. */
|
|
32
|
+
name: string;
|
|
33
|
+
/** Presentation version. */
|
|
34
|
+
version: number;
|
|
35
|
+
}
|
|
36
|
+
/** Group operations/events/presentations into an installable feature. */
|
|
37
|
+
interface FeatureModuleSpec {
|
|
38
|
+
meta: FeatureModuleMeta;
|
|
39
|
+
/** Contract operations included in this feature. */
|
|
40
|
+
operations?: OpRef[];
|
|
41
|
+
/** Events declared/emitted by this feature. */
|
|
42
|
+
events?: EventRef[];
|
|
43
|
+
/** Presentations associated to this feature. */
|
|
44
|
+
presentations?: PresentationRef[];
|
|
45
|
+
/** Experiments related to this feature. */
|
|
46
|
+
experiments?: ExperimentRef[];
|
|
47
|
+
/** Capability bindings exposed/required by this feature. */
|
|
48
|
+
capabilities?: {
|
|
49
|
+
provides?: CapabilityRef[];
|
|
50
|
+
requires?: CapabilityRequirement[];
|
|
51
|
+
};
|
|
52
|
+
/** Optional: link ops to presentations for traceability (e.g., ui for op) */
|
|
53
|
+
opToPresentation?: {
|
|
54
|
+
op: OpRef;
|
|
55
|
+
pres: PresentationRef;
|
|
56
|
+
}[];
|
|
57
|
+
/** Optional: declare per-presentation target requirements (V2 descriptors) */
|
|
58
|
+
presentationsTargets?: {
|
|
59
|
+
/** Presentation name. */
|
|
60
|
+
name: string;
|
|
61
|
+
/** Presentation version. */
|
|
62
|
+
version: number;
|
|
63
|
+
/** Required targets that must be supported by the descriptor. */
|
|
64
|
+
targets: PresentationTarget[];
|
|
65
|
+
}[];
|
|
66
|
+
/**
|
|
67
|
+
* Explicit implementation file mappings for the entire feature module.
|
|
68
|
+
* Used for tracking and verifying that this feature is correctly implemented.
|
|
69
|
+
*/
|
|
70
|
+
implementations?: ImplementationRef[];
|
|
71
|
+
}
|
|
72
|
+
interface FeatureRef {
|
|
73
|
+
key: string;
|
|
74
|
+
}
|
|
75
|
+
/** In-memory registry for FeatureModuleSpec. */
|
|
76
|
+
declare class FeatureRegistry {
|
|
77
|
+
private items;
|
|
78
|
+
/** Register a feature module. Throws when the key already exists. */
|
|
79
|
+
register(f: FeatureModuleSpec): this;
|
|
80
|
+
/** List all registered feature modules. */
|
|
81
|
+
list(): FeatureModuleSpec[];
|
|
82
|
+
/** Get a feature by its key (slug). */
|
|
83
|
+
get(key: string): FeatureModuleSpec | undefined;
|
|
84
|
+
}
|
|
85
|
+
/** Validate and register a feature against optional registries/descriptors. */
|
|
86
|
+
declare function installFeature(feature: FeatureModuleSpec, deps: {
|
|
87
|
+
features: FeatureRegistry;
|
|
88
|
+
ops?: SpecRegistry;
|
|
89
|
+
presentations?: PresentationRegistry;
|
|
90
|
+
descriptorsV2?: PresentationDescriptorV2[];
|
|
91
|
+
capabilities?: CapabilityRegistry;
|
|
92
|
+
}): FeatureRegistry;
|
|
93
|
+
/** Ensure declared target requirements exist on the provided descriptors. */
|
|
94
|
+
declare function validateFeatureTargetsV2(feature: FeatureModuleSpec, descriptors: PresentationDescriptorV2[]): boolean;
|
|
95
|
+
//#endregion
|
|
96
|
+
export { EventRef, FeatureModuleMeta, FeatureModuleSpec, FeatureRef, FeatureRegistry, OpRef, PresentationRef, installFeature, validateFeatureTargetsV2 };
|
package/dist/forms.d.ts
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
+
import { AnySchemaModel, ZodSchemaModel } from "@lssm/lib.schema";
|
|
3
|
+
|
|
4
|
+
//#region src/forms.d.ts
|
|
5
|
+
type PredicateOp = 'equals' | 'notEquals' | 'in' | 'notIn' | 'gt' | 'gte' | 'lt' | 'lte' | 'truthy' | 'empty' | 'lengthGt' | 'lengthGte' | 'lengthLt' | 'lengthLte';
|
|
6
|
+
interface WhenClause {
|
|
7
|
+
/** Dot path in form values; arrays may use `$index` within array context. */
|
|
8
|
+
path: string;
|
|
9
|
+
op?: PredicateOp;
|
|
10
|
+
value?: unknown;
|
|
11
|
+
}
|
|
12
|
+
interface Predicate {
|
|
13
|
+
when?: WhenClause;
|
|
14
|
+
all?: Predicate[];
|
|
15
|
+
any?: Predicate[];
|
|
16
|
+
not?: Predicate;
|
|
17
|
+
}
|
|
18
|
+
interface FormOption {
|
|
19
|
+
labelI18n: string;
|
|
20
|
+
value: string | number | boolean;
|
|
21
|
+
descriptionI18n?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
24
|
+
type OptionsSource = {
|
|
25
|
+
kind: 'static';
|
|
26
|
+
options: readonly FormOption[];
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'resolver';
|
|
29
|
+
resolverKey: string;
|
|
30
|
+
/** Dot paths in form values to watch */
|
|
31
|
+
deps: string[];
|
|
32
|
+
args?: Record<string, unknown>;
|
|
33
|
+
};
|
|
34
|
+
interface BaseFieldSpec {
|
|
35
|
+
/** Field kind discriminator. */
|
|
36
|
+
kind: 'text' | 'textarea' | 'select' | 'checkbox' | 'radio' | 'switch' | 'group' | 'array';
|
|
37
|
+
/** Field name (dot path relative to the form root or parent context). */
|
|
38
|
+
name?: string;
|
|
39
|
+
labelI18n?: string;
|
|
40
|
+
descriptionI18n?: string;
|
|
41
|
+
placeholderI18n?: string;
|
|
42
|
+
required?: boolean;
|
|
43
|
+
/** Conditional UI behavior */
|
|
44
|
+
visibleWhen?: Predicate;
|
|
45
|
+
enabledWhen?: Predicate;
|
|
46
|
+
requiredWhen?: Predicate;
|
|
47
|
+
/** UI hints */
|
|
48
|
+
uiKey?: string;
|
|
49
|
+
uiProps?: Record<string, unknown>;
|
|
50
|
+
wrapper?: {
|
|
51
|
+
orientation?: 'horizontal' | 'vertical';
|
|
52
|
+
};
|
|
53
|
+
/** HTML/Native autofill token (supports custom tokens) */
|
|
54
|
+
autoComplete?: string;
|
|
55
|
+
/** Keyboard/adaptation hints (web/native). Shape mirrors design-system KeyboardOptions but stays decoupled. */
|
|
56
|
+
keyboard?: {
|
|
57
|
+
kind?: string;
|
|
58
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
59
|
+
autoComplete?: string;
|
|
60
|
+
autoCorrect?: boolean;
|
|
61
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'search' | 'send';
|
|
62
|
+
};
|
|
63
|
+
/** Optional computed value hook, provided by host computations map */
|
|
64
|
+
computeFrom?: {
|
|
65
|
+
computeKey: string;
|
|
66
|
+
deps: string[];
|
|
67
|
+
mode?: 'change' | 'blur-xs' | 'submit';
|
|
68
|
+
readOnly?: boolean;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
interface TextFieldSpec extends BaseFieldSpec {
|
|
72
|
+
kind: 'text';
|
|
73
|
+
name: string;
|
|
74
|
+
inputMode?: 'text' | 'email' | 'tel' | 'url' | 'numeric' | 'decimal' | 'search';
|
|
75
|
+
autoComplete?: string;
|
|
76
|
+
maxLength?: number;
|
|
77
|
+
minLength?: number;
|
|
78
|
+
}
|
|
79
|
+
interface TextareaFieldSpec extends BaseFieldSpec {
|
|
80
|
+
kind: 'textarea';
|
|
81
|
+
name: string;
|
|
82
|
+
rows?: number;
|
|
83
|
+
maxLength?: number;
|
|
84
|
+
minLength?: number;
|
|
85
|
+
}
|
|
86
|
+
interface SelectFieldSpec extends BaseFieldSpec {
|
|
87
|
+
kind: 'select';
|
|
88
|
+
name: string;
|
|
89
|
+
options: OptionsSource | readonly FormOption[];
|
|
90
|
+
}
|
|
91
|
+
interface CheckboxFieldSpec extends BaseFieldSpec {
|
|
92
|
+
kind: 'checkbox';
|
|
93
|
+
name: string;
|
|
94
|
+
}
|
|
95
|
+
interface RadioFieldSpec extends BaseFieldSpec {
|
|
96
|
+
kind: 'radio';
|
|
97
|
+
name: string;
|
|
98
|
+
options: OptionsSource | readonly FormOption[];
|
|
99
|
+
}
|
|
100
|
+
interface SwitchFieldSpec extends BaseFieldSpec {
|
|
101
|
+
kind: 'switch';
|
|
102
|
+
name: string;
|
|
103
|
+
}
|
|
104
|
+
interface GroupFieldSpec extends BaseFieldSpec {
|
|
105
|
+
kind: 'group';
|
|
106
|
+
/** Optional legend/label at group level */
|
|
107
|
+
labelI18n?: string;
|
|
108
|
+
fields: FieldSpec[];
|
|
109
|
+
}
|
|
110
|
+
interface ArrayFieldSpec extends BaseFieldSpec {
|
|
111
|
+
kind: 'array';
|
|
112
|
+
/** Root-level field that is an array in the model (e.g., "emails") */
|
|
113
|
+
name: string;
|
|
114
|
+
/** Child field spec for each item (e.g., address inside emails[i].address). */
|
|
115
|
+
of: Exclude<FieldSpec, ArrayFieldSpec | GroupFieldSpec>;
|
|
116
|
+
min?: number;
|
|
117
|
+
max?: number;
|
|
118
|
+
}
|
|
119
|
+
type FieldSpec = TextFieldSpec | TextareaFieldSpec | SelectFieldSpec | CheckboxFieldSpec | RadioFieldSpec | SwitchFieldSpec | GroupFieldSpec | ArrayFieldSpec;
|
|
120
|
+
interface FormAction {
|
|
121
|
+
key: string;
|
|
122
|
+
labelI18n: string;
|
|
123
|
+
op?: {
|
|
124
|
+
name: string;
|
|
125
|
+
version: number;
|
|
126
|
+
};
|
|
127
|
+
success?: {
|
|
128
|
+
navigateTo?: string;
|
|
129
|
+
toastI18n?: string;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
interface ConstraintDecl {
|
|
133
|
+
key: string;
|
|
134
|
+
messageI18n: string;
|
|
135
|
+
paths: string[];
|
|
136
|
+
args?: Record<string, unknown>;
|
|
137
|
+
}
|
|
138
|
+
type FormValuesFor<M extends AnySchemaModel> = ZodSchemaModel<M>;
|
|
139
|
+
interface FormSpec<M extends AnySchemaModel = AnySchemaModel> {
|
|
140
|
+
meta: OwnerShipMeta & {
|
|
141
|
+
key: string;
|
|
142
|
+
version: number;
|
|
143
|
+
};
|
|
144
|
+
/** Canonical form data shape */
|
|
145
|
+
model: M;
|
|
146
|
+
/** Flat list or tree using groups/arrays */
|
|
147
|
+
fields: FieldSpec[];
|
|
148
|
+
policy?: {
|
|
149
|
+
flags?: string[];
|
|
150
|
+
pii?: string[];
|
|
151
|
+
};
|
|
152
|
+
actions?: FormAction[];
|
|
153
|
+
renderHints?: {
|
|
154
|
+
ui: 'shadcn' | 'custom';
|
|
155
|
+
form: 'react-hook-form';
|
|
156
|
+
};
|
|
157
|
+
constraints?: ConstraintDecl[];
|
|
158
|
+
}
|
|
159
|
+
declare class FormRegistry {
|
|
160
|
+
private items;
|
|
161
|
+
register(spec: FormSpec): this;
|
|
162
|
+
list(): FormSpec[];
|
|
163
|
+
get(key: string, version?: number): FormSpec<AnySchemaModel> | undefined;
|
|
164
|
+
}
|
|
165
|
+
declare function evalPredicate(values: unknown, pred?: Predicate): boolean;
|
|
166
|
+
type ConstraintHandler = (values: Record<string, unknown>, paths: string[], args?: Record<string, unknown>) => {
|
|
167
|
+
ok: true;
|
|
168
|
+
} | {
|
|
169
|
+
ok: false;
|
|
170
|
+
message?: string;
|
|
171
|
+
path?: string;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Wrap the base zod schema with relation-driven refinements (requiredWhen, array min/max)
|
|
175
|
+
* and optional custom constraints. Call this when wiring RHF resolver.
|
|
176
|
+
*/
|
|
177
|
+
declare function buildZodWithRelations(spec: FormSpec, handlers?: Record<string, ConstraintHandler>): any;
|
|
178
|
+
interface AnyFieldLike {
|
|
179
|
+
kind: string;
|
|
180
|
+
name?: string;
|
|
181
|
+
fields?: readonly AnyFieldLike[];
|
|
182
|
+
of?: AnyFieldLike;
|
|
183
|
+
}
|
|
184
|
+
type TopLevelNames<F extends readonly AnyFieldLike[]> = F[number] extends {
|
|
185
|
+
name: infer N extends string;
|
|
186
|
+
} ? N : never;
|
|
187
|
+
type ArrayChildren<F extends readonly AnyFieldLike[]> = F[number] extends {
|
|
188
|
+
kind: 'array';
|
|
189
|
+
name: infer N extends string;
|
|
190
|
+
of: infer C;
|
|
191
|
+
} ? C extends {
|
|
192
|
+
name: infer CN extends string;
|
|
193
|
+
} ? `${N}.$index.${CN}` : never : never;
|
|
194
|
+
type GroupTopLevelNames<F extends readonly AnyFieldLike[]> = F[number] extends {
|
|
195
|
+
kind: 'group';
|
|
196
|
+
fields: infer G extends readonly AnyFieldLike[];
|
|
197
|
+
} ? TopLevelNames<G> : never;
|
|
198
|
+
type GroupArrayChildren<F extends readonly AnyFieldLike[]> = F[number] extends {
|
|
199
|
+
kind: 'group';
|
|
200
|
+
fields: infer G extends readonly AnyFieldLike[];
|
|
201
|
+
} ? ArrayChildren<G> : never;
|
|
202
|
+
type PathOfFields<F extends readonly AnyFieldLike[]> = TopLevelNames<F> | ArrayChildren<F> | GroupTopLevelNames<F> | GroupArrayChildren<F>;
|
|
203
|
+
interface TypedWhenClause<P extends string> {
|
|
204
|
+
path: P;
|
|
205
|
+
op?: PredicateOp;
|
|
206
|
+
value?: unknown;
|
|
207
|
+
}
|
|
208
|
+
interface TypedPredicate<P extends string> {
|
|
209
|
+
when?: TypedWhenClause<P>;
|
|
210
|
+
all?: TypedPredicate<P>[];
|
|
211
|
+
any?: TypedPredicate<P>[];
|
|
212
|
+
not?: TypedPredicate<P>;
|
|
213
|
+
}
|
|
214
|
+
type TypedOptionsSource<P extends string> = {
|
|
215
|
+
kind: 'static';
|
|
216
|
+
options: readonly FormOption[];
|
|
217
|
+
} | {
|
|
218
|
+
kind: 'resolver';
|
|
219
|
+
resolverKey: string;
|
|
220
|
+
deps: P[];
|
|
221
|
+
args?: Record<string, unknown>;
|
|
222
|
+
};
|
|
223
|
+
type EnhanceFields<F extends readonly AnyFieldLike[], P extends string> = { [K in keyof F]: F[K] & {
|
|
224
|
+
visibleWhen?: TypedPredicate<P>;
|
|
225
|
+
enabledWhen?: TypedPredicate<P>;
|
|
226
|
+
requiredWhen?: TypedPredicate<P>;
|
|
227
|
+
} & (F[K] extends {
|
|
228
|
+
kind: 'select';
|
|
229
|
+
} ? {
|
|
230
|
+
options: TypedOptionsSource<P> | readonly FormOption[];
|
|
231
|
+
} : {}) & (F[K] extends {
|
|
232
|
+
kind: 'radio';
|
|
233
|
+
} ? {
|
|
234
|
+
options: TypedOptionsSource<P> | readonly FormOption[];
|
|
235
|
+
} : {}) & {
|
|
236
|
+
computeFrom?: {
|
|
237
|
+
computeKey: string;
|
|
238
|
+
deps: P[];
|
|
239
|
+
mode?: 'change' | 'blur-xs' | 'submit';
|
|
240
|
+
readOnly?: boolean;
|
|
241
|
+
};
|
|
242
|
+
} };
|
|
243
|
+
declare function defineFormSpec<M extends AnySchemaModel, F extends readonly AnyFieldLike[]>(spec: {
|
|
244
|
+
meta: FormSpec<M>['meta'];
|
|
245
|
+
model: M;
|
|
246
|
+
fields: EnhanceFields<F, PathOfFields<F>>;
|
|
247
|
+
policy?: FormSpec<M>['policy'];
|
|
248
|
+
actions?: FormSpec<M>['actions'];
|
|
249
|
+
renderHints?: FormSpec<M>['renderHints'];
|
|
250
|
+
constraints?: {
|
|
251
|
+
key: string;
|
|
252
|
+
messageI18n: string;
|
|
253
|
+
paths: PathOfFields<F>[];
|
|
254
|
+
args?: Record<string, unknown>;
|
|
255
|
+
}[];
|
|
256
|
+
}): FormSpec<M>;
|
|
257
|
+
//#endregion
|
|
258
|
+
export { ArrayFieldSpec, BaseFieldSpec, CheckboxFieldSpec, ConstraintDecl, ConstraintHandler, EnhanceFields, FieldSpec, FormAction, FormOption, FormRegistry, FormSpec, FormValuesFor, GroupFieldSpec, OptionsSource, Predicate, PredicateOp, RadioFieldSpec, SelectFieldSpec, SwitchFieldSpec, TextFieldSpec, TextareaFieldSpec, TypedOptionsSource, TypedPredicate, TypedWhenClause, WhenClause, buildZodWithRelations, defineFormSpec, evalPredicate };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Owner, OwnerShipMeta, Owners, OwnersEnum, Stability, StabilityEnum, Tag, Tags, TagsEnum } from "./ownership.js";
|
|
2
|
+
import { ComponentMap, PresentationDescriptorV2, PresentationRenderer, PresentationSource, PresentationSourceBlocknotejs, PresentationSourceComponentReact, PresentationTarget, PresentationV2Meta, PresentationValidator, ReactRenderDescriptor, RenderContext, TransformEngine, createDefaultTransformEngine, registerBasicValidation, registerDefaultReactRenderer, registerReactToMarkdownRenderer } from "./presentations.v2.js";
|
|
3
|
+
import { DataPresentation, MarkdownPresentation, PresentationContent, PresentationKind, PresentationMeta, PresentationPolicy, PresentationRegistry, PresentationSpec, WebComponentPresentation, jsonSchemaForPresentation } from "./presentations.js";
|
|
4
|
+
import { DocBlock, DocBlockLink, DocKind, DocVisibility } from "./docs/types.js";
|
|
5
|
+
import { DocPresentationOptions, DocPresentationRoute, docBlockToPresentationSpec, docBlockToPresentationV2, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, mapDocRoutes } from "./docs/presentations.js";
|
|
6
|
+
import { DocId, DocRegistry, defaultDocRegistry, docId, listRegisteredDocBlocks, registerDocBlocks } from "./docs/registry.js";
|
|
7
|
+
import { EventEnvelope, EventKey, EventSpec, defineEvent, eventKey } from "./events.js";
|
|
8
|
+
import { ResourceMeta, ResourceRefDescriptor, ResourceRegistry, ResourceTemplateSpec, defineResourceTemplate, isResourceRef, resourceRef } from "./resources.js";
|
|
9
|
+
import { AttributeMatcher, ConsentDefinition, FieldPolicyRule, PIIPolicy, PolicyCondition, PolicyEffect, PolicyMeta, PolicyOPAConfig, PolicyRef, PolicyRegistry, PolicyRule, PolicySpec, RateLimitDefinition, RelationshipDefinition, RelationshipMatcher, ResourceMatcher, SubjectMatcher, makePolicyKey } from "./policy/spec.js";
|
|
10
|
+
import { Action, Assertion, CoverageRequirement, ExpectErrorAssertion, ExpectEventsAssertion, ExpectOutputAssertion, ExpectedEvent, Fixture, OperationTargetRef, TestRegistry, TestScenario, TestSpec, TestSpecMeta, TestSpecRef, TestTarget, WorkflowTargetRef, makeTestKey } from "./tests/spec.js";
|
|
11
|
+
import { AnyContractSpec, ContractSpec, EmitDecl, EmitDeclInline, EmitDeclRef, ImplementationRef, ImplementationType, OpKind, TelemetryTrigger, defineCommand, defineQuery, isEmitDeclRef } from "./spec.js";
|
|
12
|
+
import { TelemetryAnomalyAction, TelemetryAnomalyDetectionConfig, TelemetryAnomalyThreshold, TelemetryConfig, TelemetryEventDef, TelemetryMeta, TelemetryPrivacyLevel, TelemetryPropertyDef, TelemetryProviderConfig, TelemetryRegistry, TelemetryRetentionConfig, TelemetrySamplingConfig, TelemetrySpec, makeTelemetryKey } from "./telemetry/spec.js";
|
|
13
|
+
import { TelemetryAnomalyEvent, TelemetryAnomalyMonitor, TelemetryAnomalyMonitorOptions } from "./telemetry/anomaly.js";
|
|
14
|
+
import { RuntimeTelemetryProvider, TelemetryDispatch, TelemetryEventContext, TelemetryTracker, TelemetryTrackerOptions } from "./telemetry/tracker.js";
|
|
15
|
+
import { CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRegistry, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef, capabilityKey, defineCapability } from "./capabilities.js";
|
|
16
|
+
import { AllocationStrategy, ExperimentMeta, ExperimentOverride, ExperimentOverrideType, ExperimentRef, ExperimentRegistry, ExperimentSpec, ExperimentVariant, MetricAggregation, SuccessMetric, TargetingRule, makeExperimentKey } from "./experiments/spec.js";
|
|
17
|
+
import { DataViewAction, DataViewBaseConfig, DataViewConfig, DataViewDetailConfig, DataViewField, DataViewFieldFormat, DataViewFilter, DataViewGridConfig, DataViewKind, DataViewListConfig, DataViewMeta, DataViewRegistry, DataViewSections, DataViewSource, DataViewSpec, DataViewStates, DataViewTableColumn, DataViewTableConfig, dataViewKey } from "./data-views.js";
|
|
18
|
+
import { CompensationStep, CompensationStrategy, FormRef, GuardCondition, GuardConditionKind, RetryPolicy, SLA, Step, StepAction, StepType, Transition, WorkflowDefinition, WorkflowMeta, WorkflowRegistry, WorkflowSpec, WorkflowStatus } from "./workflow/spec.js";
|
|
19
|
+
import { ComponentVariantDefinition, ComponentVariantSpec, ThemeMeta, ThemeOverride, ThemeRef, ThemeRegistry, ThemeScope, ThemeSpec, ThemeToken, ThemeTokens, makeThemeRef } from "./themes.js";
|
|
20
|
+
import { IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, makeIntegrationSpecKey } from "./integrations/spec.js";
|
|
21
|
+
import { ConnectionStatus, IntegrationConnection, IntegrationConnectionHealth, IntegrationConnectionMeta, IntegrationUsageMetrics } from "./integrations/connection.js";
|
|
22
|
+
import { AppIntegrationBinding } from "./integrations/binding.js";
|
|
23
|
+
import { KnowledgeAccessPolicy, KnowledgeCategory, KnowledgeIndexingConfig, KnowledgeRetentionPolicy, KnowledgeSpaceMeta, KnowledgeSpaceRegistry, KnowledgeSpaceSpec, makeKnowledgeSpaceKey } from "./knowledge/spec.js";
|
|
24
|
+
import { KnowledgeSourceConfig, KnowledgeSourceMeta, KnowledgeSourceType } from "./knowledge/source.js";
|
|
25
|
+
import { AppKnowledgeBinding } from "./knowledge/binding.js";
|
|
26
|
+
import { BlueprintTranslationCatalog, Locale, MessageKey, PlatformTranslationCatalog, TranslationCatalogMeta, TranslationEntry } from "./translations/catalog.js";
|
|
27
|
+
import { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, FeatureFlagState, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, makeAppBlueprintKey } from "./app-config/spec.js";
|
|
28
|
+
import { AppComposition, AppCompositionDeps, ComposeOptions, MissingReference, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, composeAppConfig, resolveAppConfig } from "./app-config/runtime.js";
|
|
29
|
+
import { RuntimeContract, SpecVariantResolver } from "./experiments/spec-resolver.js";
|
|
30
|
+
import { Actor, Channel, EventPublisher, FieldLevelDecision, HandlerCtx, PolicyDecider, PolicyDeciderInput, PolicyDecision, RateLimiter, TranslationResolver } from "./types.js";
|
|
31
|
+
import { EventParam, HandlerFor, RuntimeSpecOutput, SpecInput, SpecOutput, ZodSpecInput, installOp, makeEmit, op } from "./install.js";
|
|
32
|
+
import { OperationKey, SpecRegistry, opKey } from "./registry.js";
|
|
33
|
+
import { EventRef, FeatureModuleMeta, FeatureModuleSpec, FeatureRef, FeatureRegistry, OpRef, PresentationRef, installFeature, validateFeatureTargetsV2 } from "./features.js";
|
|
34
|
+
import { createEngineWithDefaults, createFeatureModule, registerFeature, renderFeaturePresentation } from "./client/react/feature-render.js";
|
|
35
|
+
import { ArrayFieldSpec, BaseFieldSpec, CheckboxFieldSpec, ConstraintDecl, ConstraintHandler, EnhanceFields, FieldSpec, FormAction, FormOption, FormRegistry, FormSpec, FormValuesFor, GroupFieldSpec, OptionsSource, Predicate, PredicateOp, RadioFieldSpec, SelectFieldSpec, SwitchFieldSpec, TextFieldSpec, TextareaFieldSpec, TypedOptionsSource, TypedPredicate, TypedWhenClause, WhenClause, buildZodWithRelations, defineFormSpec, evalPredicate } from "./forms.js";
|
|
36
|
+
import { ComputationMap, CreateRendererOptions, DriverSlots, RenderOptions, ResolverMap, createFormRenderer } from "./client/react/form-render.js";
|
|
37
|
+
import { ShadcnDriver, shadcnDriver } from "./client/react/drivers/shadcn.js";
|
|
38
|
+
import { RnReusablesDriver, rnReusablesDriver } from "./client/react/drivers/rn-reusables.js";
|
|
39
|
+
import "./client/index.js";
|
|
40
|
+
import { registerContractsOnBuilder } from "./server/graphql-pothos.js";
|
|
41
|
+
import { PromptArg, PromptContentPart, PromptMeta, PromptPolicy, PromptSpec, PromptStability, definePrompt } from "./prompt.js";
|
|
42
|
+
import { PromptRegistry } from "./promptRegistry.js";
|
|
43
|
+
import { createMcpServer } from "./server/mcp/createMcpServer.js";
|
|
44
|
+
import { RestOptions, createFetchHandler } from "./server/rest-generic.js";
|
|
45
|
+
import { elysiaPlugin } from "./server/rest-elysia.js";
|
|
46
|
+
import { expressRouter } from "./server/rest-express.js";
|
|
47
|
+
import { makeNextAppHandler } from "./server/rest-next-app.js";
|
|
48
|
+
import { makeNextPagesHandler } from "./server/rest-next-pages.js";
|
|
49
|
+
import "./server/index.js";
|
|
50
|
+
import { ContractRegistryFile, ContractRegistryItem, ContractRegistryItemType, ContractRegistryManifest, JsonSchema } from "./contract-registry/types.js";
|
|
51
|
+
import { ContractRegistryFileSchema, ContractRegistryItemParsed, ContractRegistryItemSchema, ContractRegistryItemTypeSchema, ContractRegistryManifestParsed, ContractRegistryManifestSchema } from "./contract-registry/schemas.js";
|
|
52
|
+
import "./contract-registry/index.js";
|
|
53
|
+
import { defaultGqlField, defaultMcpTool, defaultRestPath, jsonSchemaForSpec } from "./jsonschema.js";
|
|
54
|
+
import { OpenApiDocument, OpenApiExportOptions, OpenApiServer, openApiForRegistry } from "./openapi.js";
|
|
55
|
+
import { toV2FromV1 } from "./presentations.backcompat.js";
|
|
56
|
+
import { CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput } from "./onboarding-base.js";
|
|
57
|
+
import { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities } from "./capabilities/openbanking.js";
|
|
58
|
+
import { DecisionContext, PolicyEngine, ResourceContext, SubjectContext, SubjectRelationship } from "./policy/engine.js";
|
|
59
|
+
import { OPAAdapterOptions, OPAClient, OPAEvaluationResult, OPAPolicyAdapter, buildOPAInput } from "./policy/opa-adapter.js";
|
|
60
|
+
import { DataMigrationStep, MigrationCheck, MigrationMeta, MigrationPlan, MigrationRegistry, MigrationSpec, MigrationStep, MigrationStepBase, MigrationStepKind, SchemaMigrationStep, ValidationMigrationStep } from "./migrations.js";
|
|
61
|
+
import { AssertionResult, ScenarioRunResult, TestRunResult, TestRunner, TestRunnerConfig } from "./tests/runner.js";
|
|
62
|
+
import "./tests/index.js";
|
|
63
|
+
import { ExperimentContext, ExperimentEvaluation, ExperimentEvaluator, ExperimentEvaluatorConfig } from "./experiments/evaluator.js";
|
|
64
|
+
import { CapturePaymentInput, CreateCustomerInput, CreatePaymentIntentInput, ListInvoicesQuery, ListTransactionsQuery, Money, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, RefundPaymentInput } from "./integrations/providers/payments.js";
|
|
65
|
+
import { LLMChatOptions, LLMContentPart, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, TokenCountResult } from "./integrations/providers/llm.js";
|
|
66
|
+
import { EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector } from "./integrations/providers/embedding.js";
|
|
67
|
+
import { VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest } from "./integrations/providers/vector-store.js";
|
|
68
|
+
import { EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery } from "./integrations/providers/email.js";
|
|
69
|
+
import { CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder } from "./integrations/providers/calendar.js";
|
|
70
|
+
import { SendSmsInput, SmsDeliveryStatus, SmsMessage, SmsProvider } from "./integrations/providers/sms.js";
|
|
71
|
+
import { Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult } from "./integrations/providers/voice.js";
|
|
72
|
+
import { DeleteObjectInput, GetObjectResult, ListObjectsQuery, ListObjectsResult, ObjectStorageProvider, PutObjectInput, SignedUrlOptions, StorageObjectBody, StorageObjectMetadata } from "./integrations/providers/storage.js";
|
|
73
|
+
import { registerStripeIntegration, stripeIntegrationSpec } from "./integrations/providers/stripe.js";
|
|
74
|
+
import { postmarkIntegrationSpec, registerPostmarkIntegration } from "./integrations/providers/postmark.js";
|
|
75
|
+
import { qdrantIntegrationSpec, registerQdrantIntegration } from "./integrations/providers/qdrant.js";
|
|
76
|
+
import { mistralIntegrationSpec, registerMistralIntegration } from "./integrations/providers/mistral.js";
|
|
77
|
+
import { elevenLabsIntegrationSpec, registerElevenLabsIntegration } from "./integrations/providers/elevenlabs.js";
|
|
78
|
+
import { gmailIntegrationSpec, registerGmailIntegration } from "./integrations/providers/gmail.js";
|
|
79
|
+
import { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration } from "./integrations/providers/google-calendar.js";
|
|
80
|
+
import { registerTwilioSmsIntegration, twilioSmsIntegrationSpec } from "./integrations/providers/twilio-sms.js";
|
|
81
|
+
import { gcsStorageIntegrationSpec, registerGcsStorageIntegration } from "./integrations/providers/gcs-storage.js";
|
|
82
|
+
import { powensIntegrationSpec, registerPowensIntegration } from "./integrations/providers/powens.js";
|
|
83
|
+
import { OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingGetAccountDetailsParams, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingTransaction } from "./integrations/providers/openbanking.js";
|
|
84
|
+
import { createDefaultIntegrationSpecRegistry } from "./integrations/providers/registry.js";
|
|
85
|
+
import { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord } from "./integrations/openbanking/models.js";
|
|
86
|
+
import { OpenBankingGetAccount, OpenBankingListAccounts, OpenBankingSyncAccounts } from "./integrations/openbanking/contracts/accounts.js";
|
|
87
|
+
import { OpenBankingListTransactions, OpenBankingSyncTransactions } from "./integrations/openbanking/contracts/transactions.js";
|
|
88
|
+
import { OpenBankingGetBalances, OpenBankingRefreshBalances } from "./integrations/openbanking/contracts/balances.js";
|
|
89
|
+
import { OpenBankingFeature } from "./integrations/openbanking/openbanking.feature.js";
|
|
90
|
+
import { registerOpenBankingContracts } from "./integrations/openbanking/contracts/index.js";
|
|
91
|
+
import { OpenBankingGuardResult, assertPrimaryOpenBankingReady, ensurePrimaryOpenBankingIntegration } from "./integrations/openbanking/guards.js";
|
|
92
|
+
import { OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, OpenBankingTelemetryEvent, redactOpenBankingTelemetryPayload } from "./integrations/openbanking/telemetry.js";
|
|
93
|
+
import "./integrations/index.js";
|
|
94
|
+
import { productCanonKnowledgeSpace, registerProductCanonKnowledgeSpace } from "./knowledge/spaces/product-canon.js";
|
|
95
|
+
import { registerSupportFaqKnowledgeSpace, supportFaqKnowledgeSpace } from "./knowledge/spaces/support-faq.js";
|
|
96
|
+
import { emailThreadsKnowledgeSpace, registerEmailThreadsKnowledgeSpace } from "./knowledge/spaces/email-threads.js";
|
|
97
|
+
import { registerUploadedDocsKnowledgeSpace, uploadedDocsKnowledgeSpace } from "./knowledge/spaces/uploaded-docs.js";
|
|
98
|
+
import { financialDocsKnowledgeSpace, registerFinancialDocsKnowledgeSpace } from "./knowledge/spaces/financial-docs.js";
|
|
99
|
+
import { financialOverviewKnowledgeSpace, registerFinancialOverviewKnowledgeSpace } from "./knowledge/spaces/financial-overview.js";
|
|
100
|
+
import { CreateIntegrationConnection, DeleteIntegrationConnection, ListIntegrationConnections, TestIntegrationConnection, UpdateIntegrationConnection, integrationContracts, registerIntegrationContracts } from "./integrations/contracts.js";
|
|
101
|
+
import { CreateKnowledgeSource, DeleteKnowledgeSource, ListKnowledgeSources, TriggerKnowledgeSourceSync, UpdateKnowledgeSource, knowledgeContracts, registerKnowledgeContracts } from "./knowledge/contracts.js";
|
|
102
|
+
import { BehaviorSignal, BehaviorSignalEnvelope, ErrorSignal, ErrorSignalEnvelope, ProposalAction, ProposalBlocker, ProposalConfidence, ProposalSink, ProposalTarget, RegenerationContext, RegenerationRule, RegeneratorSignal, SpecChangeProposal, TelemetrySignal, TelemetrySignalEnvelope } from "./regenerator/types.js";
|
|
103
|
+
import { BehaviorSignalProvider, ErrorSignalProvider, SignalAdapters, TelemetrySignalProvider } from "./regenerator/adapters.js";
|
|
104
|
+
import { RegeneratorOptions, RegeneratorService } from "./regenerator/service.js";
|
|
105
|
+
import { ActionExecutionResult, BlueprintUpdater, ExecutionStatus, MigrationExecutor, ProposalExecutionResult, ProposalExecutor, ProposalExecutorDeps, ProposalExecutorOptions, RegenerationTrigger, RunMigrationsAction, RunTestsAction, TenantConfigUpdater, TestExecutor, TriggerRegenerationAction, UpdateBlueprintAction, UpdateTenantConfigAction } from "./regenerator/executor.js";
|
|
106
|
+
import { behaviorToEnvelope, errorToEnvelope, telemetryToEnvelope } from "./regenerator/utils.js";
|
|
107
|
+
import { ExecutorProposalSink, ExecutorResultPayload, ExecutorSinkLogger, ExecutorSinkOptions } from "./regenerator/sinks.js";
|
|
108
|
+
import "./regenerator/index.js";
|
|
109
|
+
import { TenantTranslationOverride } from "./translations/tenant.js";
|
|
110
|
+
import { ValidateWorkflowSpecOptions, WorkflowValidationError, WorkflowValidationIssue, WorkflowValidationLevel, assertWorkflowSpecValid, validateWorkflowSpec } from "./workflow/validation.js";
|
|
111
|
+
import { StateStore, StepExecution, WorkflowState, WorkflowStateFilters } from "./workflow/state.js";
|
|
112
|
+
import { GuardContext, GuardEvaluator, OperationExecutor, OperationExecutorContext, WorkflowPreFlightError, WorkflowPreFlightIssue, WorkflowPreFlightIssueSeverity, WorkflowPreFlightIssueType, WorkflowPreFlightResult, WorkflowRunner, WorkflowRunnerConfig } from "./workflow/runner.js";
|
|
113
|
+
import { ExpressionContext, evaluateExpression } from "./workflow/expression.js";
|
|
114
|
+
import { InMemoryStateStore } from "./workflow/adapters/memory-store.js";
|
|
115
|
+
import { PrismaStateStore } from "./workflow/adapters/db-adapter.js";
|
|
116
|
+
import { FileStateStoreOptions, createFileStateStore } from "./workflow/adapters/file-adapter.js";
|
|
117
|
+
import "./workflow/index.js";
|
|
118
|
+
import { SchemaMarkdownOptions, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable } from "./schema-to-markdown.js";
|
|
119
|
+
import { techContractsDocs } from "./docs/tech-contracts.docs.js";
|
|
120
|
+
import { metaDocs } from "./docs/meta.docs.js";
|
|
121
|
+
import "./docs/index.js";
|
|
122
|
+
import { AgentPrompt, AgentType, BatchExportOptions, ExportableItem, FeatureExportOptions, FeatureExportResult, FeatureLookup, ImplementationPlan, LLMExportFormat, SpecExportOptions, SpecExportResult, SpecLookup, VerificationIssue, VerificationReport, VerificationTier } from "./llm/types.js";
|
|
123
|
+
import { docBlockToMarkdown, eventToMarkdown, exportFeature, exportSpec, featureToMarkdown, presentationToMarkdown, specToAgentPrompt, specToContextMarkdown, specToFullMarkdown } from "./llm/exporters.js";
|
|
124
|
+
import { AGENT_SYSTEM_PROMPTS, formatPlanForAgent, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt } from "./llm/prompts.js";
|
|
125
|
+
import "./llm/index.js";
|
|
126
|
+
import { defineSchemaModel } from "@lssm/lib.schema";
|
|
127
|
+
export { AGENT_SYSTEM_PROMPTS, AccountBalanceRecord, Action, ActionExecutionResult, Actor, AgentPrompt, AgentType, AllocationStrategy, AnyContractSpec, AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppComposition, AppCompositionDeps, AppIntegrationBinding, AppIntegrationSlot, AppKnowledgeBinding, AppRouteConfig, AppThemeBinding, ArrayFieldSpec, Assertion, AssertionResult, AttributeMatcher, BankAccountRecord, BankTransactionRecord, BaseFieldSpec, BatchExportOptions, BehaviorSignal, BehaviorSignalEnvelope, BehaviorSignalProvider, BlueprintTranslationCatalog, BlueprintUpdater, CalendarAttendee, CalendarEvent, CalendarEventInput, CalendarEventUpdateInput, CalendarListEventsQuery, CalendarListEventsResult, CalendarProvider, CalendarReminder, CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRegistry, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef, CapturePaymentInput, Channel, CheckboxFieldSpec, CompensationStep, CompensationStrategy, CompleteOnboardingBaseInput, CompleteOnboardingBaseOutput, CompleteOnboardingBaseSpec, ComponentMap, ComponentVariantDefinition, ComponentVariantSpec, ComposeOptions, ComputationMap, ConnectionStatus, ConsentDefinition, ConstraintDecl, ConstraintHandler, ContractRegistryFile, ContractRegistryFileSchema, ContractRegistryItem, ContractRegistryItemParsed, ContractRegistryItemSchema, ContractRegistryItemType, ContractRegistryItemTypeSchema, ContractRegistryManifest, ContractRegistryManifestParsed, ContractRegistryManifestSchema, ContractSpec, CoverageRequirement, CreateCustomerInput, CreateIntegrationConnection, CreateKnowledgeSource, CreatePaymentIntentInput, CreateRendererOptions, DataMigrationStep, DataPresentation, DataViewAction, DataViewBaseConfig, DataViewConfig, DataViewDetailConfig, DataViewField, DataViewFieldFormat, DataViewFilter, DataViewGridConfig, DataViewKind, DataViewListConfig, DataViewMeta, DataViewRegistry, DataViewSections, DataViewSource, DataViewSpec, DataViewStates, DataViewTableColumn, DataViewTableConfig, DecisionContext, DeleteIntegrationConnection, DeleteKnowledgeSource, DeleteObjectInput, DeleteOnboardingDraftBaseSpec, DeleteOnboardingDraftOutput, DocBlock, DocBlockLink, DocId, DocKind, DocPresentationOptions, DocPresentationRoute, DocRegistry, DocVisibility, DriverSlots, EmailAddress, EmailAttachment, EmailInboundProvider, EmailMessage, EmailMessagesSinceQuery, EmailOutboundMessage, EmailOutboundProvider, EmailOutboundResult, EmailThread, EmailThreadListQuery, EmbeddingDocument, EmbeddingProvider, EmbeddingResult, EmbeddingVector, EmitDecl, EmitDeclInline, EmitDeclRef, EnhanceFields, ErrorSignal, ErrorSignalEnvelope, ErrorSignalProvider, EventEnvelope, EventKey, EventParam, EventPublisher, EventRef, EventSpec, ExecutionStatus, ExecutorProposalSink, ExecutorResultPayload, ExecutorSinkLogger, ExecutorSinkOptions, ExpectErrorAssertion, ExpectEventsAssertion, ExpectOutputAssertion, ExpectedEvent, ExperimentContext, ExperimentEvaluation, ExperimentEvaluator, ExperimentEvaluatorConfig, ExperimentMeta, ExperimentOverride, ExperimentOverrideType, ExperimentRef, ExperimentRegistry, ExperimentSpec, ExperimentVariant, ExportableItem, ExpressionContext, FeatureExportOptions, FeatureExportResult, FeatureFlagState, FeatureLookup, FeatureModuleMeta, FeatureModuleSpec, FeatureRef, FeatureRegistry, FieldLevelDecision, FieldPolicyRule, FieldSpec, FileStateStoreOptions, Fixture, FormAction, FormOption, FormRef, FormRegistry, FormSpec, FormValuesFor, GetObjectResult, GetOnboardingDraftBaseSpec, GetOnboardingDraftOutput, GroupFieldSpec, GuardCondition, GuardConditionKind, GuardContext, GuardEvaluator, HandlerCtx, HandlerFor, ImplementationPlan, ImplementationRef, ImplementationType, InMemoryStateStore, IntegrationByokSetup, IntegrationCapabilityMapping, IntegrationCategory, IntegrationConfigSchema, IntegrationConnection, IntegrationConnectionHealth, IntegrationConnectionMeta, IntegrationHealthCheck, IntegrationMeta, IntegrationOwnershipMode, IntegrationSecretSchema, IntegrationSpec, IntegrationSpecRegistry, IntegrationUsageMetrics, JsonSchema, KnowledgeAccessPolicy, KnowledgeCategory, KnowledgeIndexingConfig, KnowledgeRetentionPolicy, KnowledgeSourceConfig, KnowledgeSourceMeta, KnowledgeSourceType, KnowledgeSpaceMeta, KnowledgeSpaceRegistry, KnowledgeSpaceSpec, LLMChatOptions, LLMContentPart, LLMExportFormat, LLMMessage, LLMProvider, LLMResponse, LLMRole, LLMStreamChunk, LLMTextPart, LLMTokenUsage, LLMToolCallPart, LLMToolDefinition, LLMToolResultPart, ListIntegrationConnections, ListInvoicesQuery, ListKnowledgeSources, ListObjectsQuery, ListObjectsResult, ListTransactionsQuery, Locale, MarkdownPresentation, MessageKey, MetricAggregation, MigrationCheck, MigrationExecutor, MigrationMeta, MigrationPlan, MigrationRegistry, MigrationSpec, MigrationStep, MigrationStepBase, MigrationStepKind, MissingReference, Money, OPAAdapterOptions, OPAClient, OPAEvaluationResult, OPAPolicyAdapter, OPENBANKING_PII_FIELDS, OPENBANKING_TELEMETRY_EVENTS, ObjectStorageProvider, OpKind, OpRef, OpenApiDocument, OpenApiExportOptions, OpenApiServer, OpenBankingAccountBalance, OpenBankingAccountDetails, OpenBankingAccountOwnership, OpenBankingAccountSummary, OpenBankingBalanceType, OpenBankingConnectionStatus, OpenBankingFeature, OpenBankingGetAccount, OpenBankingGetAccountDetailsParams, OpenBankingGetBalances, OpenBankingGetBalancesParams, OpenBankingGetConnectionStatusParams, OpenBankingGuardResult, OpenBankingListAccounts, OpenBankingListAccountsParams, OpenBankingListAccountsResult, OpenBankingListTransactions, OpenBankingListTransactionsParams, OpenBankingListTransactionsResult, OpenBankingProvider, OpenBankingRefreshBalances, OpenBankingSyncAccounts, OpenBankingSyncTransactions, OpenBankingTelemetryEvent, OpenBankingTransaction, OperationExecutor, OperationExecutorContext, OperationKey, OperationTargetRef, OptionsSource, Owner, OwnerShipMeta, Owners, OwnersEnum, PIIPolicy, PaymentCustomer, PaymentIntent, PaymentIntentStatus, PaymentInvoice, PaymentRefund, PaymentTransaction, PaymentsProvider, PlatformTranslationCatalog, PolicyCondition, PolicyDecider, PolicyDeciderInput, PolicyDecision, PolicyEffect, PolicyEngine, PolicyMeta, PolicyOPAConfig, PolicyRef, PolicyRegistry, PolicyRule, PolicySpec, Predicate, PredicateOp, PresentationContent, PresentationDescriptorV2, PresentationKind, PresentationMeta, PresentationPolicy, PresentationRef, PresentationRegistry, PresentationRenderer, PresentationSource, PresentationSourceBlocknotejs, PresentationSourceComponentReact, PresentationSpec, PresentationTarget, PresentationV2Meta, PresentationValidator, PrismaStateStore, PromptArg, PromptContentPart, PromptMeta, PromptPolicy, PromptRegistry, PromptSpec, PromptStability, ProposalAction, ProposalBlocker, ProposalConfidence, ProposalExecutionResult, ProposalExecutor, ProposalExecutorDeps, ProposalExecutorOptions, ProposalSink, ProposalTarget, PutObjectInput, RadioFieldSpec, RateLimitDefinition, RateLimiter, ReactRenderDescriptor, RefundPaymentInput, RegenerationContext, RegenerationRule, RegenerationTrigger, RegeneratorOptions, RegeneratorService, RegeneratorSignal, RelationshipDefinition, RelationshipMatcher, RenderContext, RenderOptions, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, ResolverMap, ResourceContext, ResourceMatcher, ResourceMeta, ResourceRefDescriptor, ResourceRegistry, ResourceTemplateSpec, RestOptions, RetryPolicy, RnReusablesDriver, RunMigrationsAction, RunTestsAction, RuntimeContract, RuntimeSpecOutput, RuntimeTelemetryProvider, SLA, SaveOnboardingDraftBaseSpec, SaveOnboardingDraftInput, SaveOnboardingDraftOutput, ScenarioRunResult, SchemaMarkdownOptions, SchemaMigrationStep, SelectFieldSpec, SendSmsInput, ShadcnDriver, SignalAdapters, SignedUrlOptions, SmsDeliveryStatus, SmsMessage, SmsProvider, SpecChangeProposal, SpecExportOptions, SpecExportResult, SpecInput, SpecLookup, SpecOutput, SpecPointer, SpecRegistry, SpecVariantResolver, Stability, StabilityEnum, StateStore, Step, StepAction, StepExecution, StepType, StorageObjectBody, StorageObjectMetadata, SubjectContext, SubjectMatcher, SubjectRelationship, SuccessMetric, SwitchFieldSpec, Tag, Tags, TagsEnum, TargetingRule, TelemetryAnomalyAction, TelemetryAnomalyDetectionConfig, TelemetryAnomalyEvent, TelemetryAnomalyMonitor, TelemetryAnomalyMonitorOptions, TelemetryAnomalyThreshold, TelemetryBinding, TelemetryConfig, TelemetryDispatch, TelemetryEventContext, TelemetryEventDef, TelemetryMeta, TelemetryPrivacyLevel, TelemetryPropertyDef, TelemetryProviderConfig, TelemetryRegistry, TelemetryRetentionConfig, TelemetrySamplingConfig, TelemetrySignal, TelemetrySignalEnvelope, TelemetrySignalProvider, TelemetrySpec, TelemetryTracker, TelemetryTrackerOptions, TelemetryTrigger, TenantAppConfig, TenantAppConfigMeta, TenantConfigUpdater, TenantRouteOverride, TenantSpecOverride, TenantTranslationOverride, TestExecutor, TestIntegrationConnection, TestRegistry, TestRunResult, TestRunner, TestRunnerConfig, TestScenario, TestSpec, TestSpecMeta, TestSpecRef, TestTarget, TextFieldSpec, TextareaFieldSpec, ThemeMeta, ThemeOverride, ThemeRef, ThemeRegistry, ThemeScope, ThemeSpec, ThemeToken, ThemeTokens, TokenCountResult, TransformEngine, Transition, TranslationCatalogMeta, TranslationCatalogPointer, TranslationEntry, TranslationResolver, TriggerKnowledgeSourceSync, TriggerRegenerationAction, TypedOptionsSource, TypedPredicate, TypedWhenClause, UpdateBlueprintAction, UpdateIntegrationConnection, UpdateKnowledgeSource, UpdateTenantConfigAction, ValidateWorkflowSpecOptions, ValidationMigrationStep, VectorDeleteRequest, VectorDocument, VectorSearchQuery, VectorSearchResult, VectorStoreProvider, VectorUpsertRequest, VerificationIssue, VerificationReport, VerificationTier, Voice, VoiceProvider, VoiceSynthesisInput, VoiceSynthesisResult, WebComponentPresentation, WhenClause, WorkflowDefinition, WorkflowMeta, WorkflowPreFlightError, WorkflowPreFlightIssue, WorkflowPreFlightIssueSeverity, WorkflowPreFlightIssueType, WorkflowPreFlightResult, WorkflowRegistry, WorkflowRunner, WorkflowRunnerConfig, WorkflowSpec, WorkflowState, WorkflowStateFilters, WorkflowStatus, WorkflowTargetRef, WorkflowValidationError, WorkflowValidationIssue, WorkflowValidationLevel, ZodSpecInput, assertPrimaryOpenBankingReady, assertWorkflowSpecValid, behaviorToEnvelope, buildOPAInput, buildZodWithRelations, capabilityKey, composeAppConfig, createDefaultIntegrationSpecRegistry, createDefaultTransformEngine, createEngineWithDefaults, createFeatureModule, createFetchHandler, createFileStateStore, createFormRenderer, createMcpServer, dataViewKey, defaultDocRegistry, defaultGqlField, defaultMcpTool, defaultRestPath, defineCapability, defineCommand, defineEvent, defineFormSpec, definePrompt, defineQuery, defineResourceTemplate, defineSchemaModel, docBlockToMarkdown, docBlockToPresentationSpec, docBlockToPresentationV2, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, elevenLabsIntegrationSpec, elysiaPlugin, emailThreadsKnowledgeSpace, ensurePrimaryOpenBankingIntegration, errorToEnvelope, evalPredicate, evaluateExpression, eventKey, eventToMarkdown, exportFeature, exportSpec, expressRouter, featureToMarkdown, financialDocsKnowledgeSpace, financialOverviewKnowledgeSpace, formatPlanForAgent, gcsStorageIntegrationSpec, generateFixViolationsPrompt, generateImplementationPlan, generateImplementationPrompt, generateReviewPrompt, generateTestPrompt, generateVerificationPrompt, gmailIntegrationSpec, googleCalendarIntegrationSpec, installFeature, installOp, integrationContracts, isEmitDeclRef, isResourceRef, jsonSchemaForPresentation, jsonSchemaForSpec, knowledgeContracts, listRegisteredDocBlocks, makeAppBlueprintKey, makeEmit, makeExperimentKey, makeIntegrationSpecKey, makeKnowledgeSpaceKey, makeNextAppHandler, makeNextPagesHandler, makePolicyKey, makeTelemetryKey, makeTestKey, makeThemeRef, mapDocRoutes, metaDocs, mistralIntegrationSpec, op, opKey, openApiForRegistry, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, postmarkIntegrationSpec, powensIntegrationSpec, presentationToMarkdown, productCanonKnowledgeSpace, qdrantIntegrationSpec, redactOpenBankingTelemetryPayload, registerBasicValidation, registerContractsOnBuilder, registerDefaultReactRenderer, registerDocBlocks, registerElevenLabsIntegration, registerEmailThreadsKnowledgeSpace, registerFeature, registerFinancialDocsKnowledgeSpace, registerFinancialOverviewKnowledgeSpace, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerIntegrationContracts, registerKnowledgeContracts, registerMistralIntegration, registerOpenBankingCapabilities, registerOpenBankingContracts, registerPostmarkIntegration, registerPowensIntegration, registerProductCanonKnowledgeSpace, registerQdrantIntegration, registerReactToMarkdownRenderer, registerStripeIntegration, registerSupportFaqKnowledgeSpace, registerTwilioSmsIntegration, registerUploadedDocsKnowledgeSpace, renderFeaturePresentation, resolveAppConfig, resourceRef, rnReusablesDriver, schemaToMarkdown, schemaToMarkdownDetail, schemaToMarkdownList, schemaToMarkdownSummary, schemaToMarkdownTable, shadcnDriver, specToAgentPrompt, specToContextMarkdown, specToFullMarkdown, stripeIntegrationSpec, supportFaqKnowledgeSpace, techContractsDocs, telemetryToEnvelope, toV2FromV1, twilioSmsIntegrationSpec, uploadedDocsKnowledgeSpace, validateFeatureTargetsV2, validateWorkflowSpec };
|