@lssm/lib.contracts 0.0.0-canary-20251217052941 → 0.0.0-canary-20251217060433
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,11 @@
|
|
|
1
|
+
import { FeatureModuleSpec } from "../features.js";
|
|
2
|
+
|
|
3
|
+
//#region src/app-config/app-config.feature.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* App Config feature module that bundles tenant configuration
|
|
7
|
+
* lifecycle events for draft, preview, publish, and rollback stages.
|
|
8
|
+
*/
|
|
9
|
+
declare const AppConfigFeature: FeatureModuleSpec;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { AppConfigFeature };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
//#region 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
|
+
interface TenantBrandingAsset {
|
|
19
|
+
type: 'logo' | 'logo-dark' | 'favicon' | 'og-image';
|
|
20
|
+
url: string;
|
|
21
|
+
metadata?: {
|
|
22
|
+
mimeType?: string;
|
|
23
|
+
sizeBytes?: number;
|
|
24
|
+
dimensions?: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface TenantBrandingConfig {
|
|
31
|
+
appName?: Record<string, string>;
|
|
32
|
+
assets?: TenantBrandingAsset[];
|
|
33
|
+
colors?: {
|
|
34
|
+
primary?: string;
|
|
35
|
+
secondary?: string;
|
|
36
|
+
};
|
|
37
|
+
customDomain?: string;
|
|
38
|
+
subdomain?: string;
|
|
39
|
+
}
|
|
40
|
+
interface ResolvedBranding {
|
|
41
|
+
appName: string;
|
|
42
|
+
assets: {
|
|
43
|
+
logo?: string;
|
|
44
|
+
logoDark?: string;
|
|
45
|
+
favicon?: string;
|
|
46
|
+
ogImage?: string;
|
|
47
|
+
};
|
|
48
|
+
colors: {
|
|
49
|
+
primary: string;
|
|
50
|
+
secondary: string;
|
|
51
|
+
};
|
|
52
|
+
domain: string;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { BrandingAssetRef, BrandingDefaults, ResolvedBranding, TenantBrandingAsset, TenantBrandingConfig };
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { ContractSpec } from "../spec.js";
|
|
2
|
+
import { SpecRegistry } from "../registry.js";
|
|
3
|
+
import * as _lssm_lib_schema69 from "@lssm/lib.schema";
|
|
4
|
+
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
|
+
|
|
6
|
+
//#region src/app-config/contracts.d.ts
|
|
7
|
+
declare const UpdateTenantBrandingCommand: ContractSpec<SchemaModel<{
|
|
8
|
+
tenantId: {
|
|
9
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
appId: {
|
|
13
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
environment: {
|
|
17
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
18
|
+
isOptional: true;
|
|
19
|
+
};
|
|
20
|
+
appName: {
|
|
21
|
+
type: _lssm_lib_schema69.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
22
|
+
isOptional: true;
|
|
23
|
+
};
|
|
24
|
+
assets: {
|
|
25
|
+
type: SchemaModel<{
|
|
26
|
+
type: {
|
|
27
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
28
|
+
isOptional: false;
|
|
29
|
+
};
|
|
30
|
+
url: {
|
|
31
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
32
|
+
isOptional: false;
|
|
33
|
+
};
|
|
34
|
+
mimeType: {
|
|
35
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
36
|
+
isOptional: true;
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
isOptional: true;
|
|
40
|
+
isArray: true;
|
|
41
|
+
};
|
|
42
|
+
colors: {
|
|
43
|
+
type: _lssm_lib_schema69.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
44
|
+
isOptional: true;
|
|
45
|
+
};
|
|
46
|
+
customDomain: {
|
|
47
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
48
|
+
isOptional: true;
|
|
49
|
+
};
|
|
50
|
+
subdomain: {
|
|
51
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
52
|
+
isOptional: true;
|
|
53
|
+
};
|
|
54
|
+
}>, SchemaModel<{
|
|
55
|
+
success: {
|
|
56
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
57
|
+
isOptional: false;
|
|
58
|
+
};
|
|
59
|
+
updatedAt: {
|
|
60
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
61
|
+
isOptional: false;
|
|
62
|
+
};
|
|
63
|
+
}>, undefined>;
|
|
64
|
+
declare const VerifyCustomDomainCommand: ContractSpec<SchemaModel<{
|
|
65
|
+
tenantId: {
|
|
66
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
67
|
+
isOptional: false;
|
|
68
|
+
};
|
|
69
|
+
appId: {
|
|
70
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
71
|
+
isOptional: false;
|
|
72
|
+
};
|
|
73
|
+
domain: {
|
|
74
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
75
|
+
isOptional: false;
|
|
76
|
+
};
|
|
77
|
+
}>, SchemaModel<{
|
|
78
|
+
status: {
|
|
79
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
80
|
+
isOptional: false;
|
|
81
|
+
};
|
|
82
|
+
message: {
|
|
83
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
84
|
+
isOptional: true;
|
|
85
|
+
};
|
|
86
|
+
}>, undefined>;
|
|
87
|
+
declare const UpdateBlueprintTranslationCatalogCommand: ContractSpec<SchemaModel<{
|
|
88
|
+
blueprintName: {
|
|
89
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
blueprintVersion: {
|
|
93
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
catalogName: {
|
|
97
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
catalogVersion: {
|
|
101
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
defaultLocale: {
|
|
105
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
106
|
+
isOptional: false;
|
|
107
|
+
};
|
|
108
|
+
supportedLocales: {
|
|
109
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
110
|
+
isOptional: false;
|
|
111
|
+
isArray: true;
|
|
112
|
+
};
|
|
113
|
+
entries: {
|
|
114
|
+
type: SchemaModel<{
|
|
115
|
+
key: {
|
|
116
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
117
|
+
isOptional: false;
|
|
118
|
+
};
|
|
119
|
+
locale: {
|
|
120
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
121
|
+
isOptional: false;
|
|
122
|
+
};
|
|
123
|
+
value: {
|
|
124
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
125
|
+
isOptional: false;
|
|
126
|
+
};
|
|
127
|
+
context: {
|
|
128
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
129
|
+
isOptional: true;
|
|
130
|
+
};
|
|
131
|
+
}>;
|
|
132
|
+
isOptional: false;
|
|
133
|
+
isArray: true;
|
|
134
|
+
};
|
|
135
|
+
}>, SchemaModel<{
|
|
136
|
+
success: {
|
|
137
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
138
|
+
isOptional: false;
|
|
139
|
+
};
|
|
140
|
+
updatedAt: {
|
|
141
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
142
|
+
isOptional: false;
|
|
143
|
+
};
|
|
144
|
+
}>, undefined>;
|
|
145
|
+
declare const UpdateTenantTranslationOverridesCommand: ContractSpec<SchemaModel<{
|
|
146
|
+
tenantId: {
|
|
147
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
148
|
+
isOptional: false;
|
|
149
|
+
};
|
|
150
|
+
appId: {
|
|
151
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
152
|
+
isOptional: false;
|
|
153
|
+
};
|
|
154
|
+
entries: {
|
|
155
|
+
type: SchemaModel<{
|
|
156
|
+
key: {
|
|
157
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
158
|
+
isOptional: false;
|
|
159
|
+
};
|
|
160
|
+
locale: {
|
|
161
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
162
|
+
isOptional: false;
|
|
163
|
+
};
|
|
164
|
+
value: {
|
|
165
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
166
|
+
isOptional: false;
|
|
167
|
+
};
|
|
168
|
+
context: {
|
|
169
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
170
|
+
isOptional: true;
|
|
171
|
+
};
|
|
172
|
+
}>;
|
|
173
|
+
isOptional: false;
|
|
174
|
+
isArray: true;
|
|
175
|
+
};
|
|
176
|
+
defaultLocale: {
|
|
177
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
178
|
+
isOptional: true;
|
|
179
|
+
};
|
|
180
|
+
enabledLocales: {
|
|
181
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
182
|
+
isOptional: true;
|
|
183
|
+
isArray: true;
|
|
184
|
+
};
|
|
185
|
+
}>, SchemaModel<{
|
|
186
|
+
success: {
|
|
187
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
188
|
+
isOptional: false;
|
|
189
|
+
};
|
|
190
|
+
updatedAt: {
|
|
191
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
192
|
+
isOptional: false;
|
|
193
|
+
};
|
|
194
|
+
}>, undefined>;
|
|
195
|
+
declare const GetResolvedBrandingQuery: ContractSpec<SchemaModel<{
|
|
196
|
+
tenantId: {
|
|
197
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
198
|
+
isOptional: false;
|
|
199
|
+
};
|
|
200
|
+
appId: {
|
|
201
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
202
|
+
isOptional: false;
|
|
203
|
+
};
|
|
204
|
+
environment: {
|
|
205
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
206
|
+
isOptional: true;
|
|
207
|
+
};
|
|
208
|
+
}>, SchemaModel<{
|
|
209
|
+
branding: {
|
|
210
|
+
type: _lssm_lib_schema69.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
211
|
+
isOptional: false;
|
|
212
|
+
};
|
|
213
|
+
}>, undefined>;
|
|
214
|
+
declare const ResolveMessageQuery: ContractSpec<SchemaModel<{
|
|
215
|
+
tenantId: {
|
|
216
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
217
|
+
isOptional: false;
|
|
218
|
+
};
|
|
219
|
+
appId: {
|
|
220
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
221
|
+
isOptional: false;
|
|
222
|
+
};
|
|
223
|
+
locale: {
|
|
224
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
225
|
+
isOptional: false;
|
|
226
|
+
};
|
|
227
|
+
key: {
|
|
228
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
229
|
+
isOptional: false;
|
|
230
|
+
};
|
|
231
|
+
}>, SchemaModel<{
|
|
232
|
+
value: {
|
|
233
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
234
|
+
isOptional: true;
|
|
235
|
+
};
|
|
236
|
+
source: {
|
|
237
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
238
|
+
isOptional: true;
|
|
239
|
+
};
|
|
240
|
+
}>, undefined>;
|
|
241
|
+
declare const appConfigContracts: Record<string, ContractSpec<any, any>>;
|
|
242
|
+
declare function registerAppConfigContracts(registry: SpecRegistry): SpecRegistry;
|
|
243
|
+
//#endregion
|
|
244
|
+
export { GetResolvedBrandingQuery, ResolveMessageQuery, UpdateBlueprintTranslationCatalogCommand, UpdateTenantBrandingCommand, UpdateTenantTranslationOverridesCommand, VerifyCustomDomainCommand, appConfigContracts, registerAppConfigContracts };
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { EventSpec } from "../events.js";
|
|
2
|
+
import "../index.js";
|
|
3
|
+
import * as _lssm_lib_schema43 from "@lssm/lib.schema";
|
|
4
|
+
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
|
+
|
|
6
|
+
//#region src/app-config/events.d.ts
|
|
7
|
+
declare const ConfigDraftCreatedEvent: EventSpec<SchemaModel<{
|
|
8
|
+
tenantId: {
|
|
9
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
appId: {
|
|
13
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
version: {
|
|
17
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
blueprintName: {
|
|
21
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
blueprintVersion: {
|
|
25
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
createdBy: {
|
|
29
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
clonedFrom: {
|
|
33
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
34
|
+
isOptional: true;
|
|
35
|
+
};
|
|
36
|
+
}>>;
|
|
37
|
+
declare const ConfigPromotedToPreviewEvent: EventSpec<SchemaModel<{
|
|
38
|
+
tenantId: {
|
|
39
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
40
|
+
isOptional: false;
|
|
41
|
+
};
|
|
42
|
+
appId: {
|
|
43
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
version: {
|
|
47
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
promotedBy: {
|
|
51
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
warnings: {
|
|
55
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
56
|
+
isOptional: true;
|
|
57
|
+
isArray: true;
|
|
58
|
+
};
|
|
59
|
+
}>>;
|
|
60
|
+
declare const ConfigPublishedEvent: EventSpec<SchemaModel<{
|
|
61
|
+
tenantId: {
|
|
62
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
63
|
+
isOptional: false;
|
|
64
|
+
};
|
|
65
|
+
appId: {
|
|
66
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
67
|
+
isOptional: false;
|
|
68
|
+
};
|
|
69
|
+
version: {
|
|
70
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
71
|
+
isOptional: false;
|
|
72
|
+
};
|
|
73
|
+
previousVersion: {
|
|
74
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
75
|
+
isOptional: true;
|
|
76
|
+
};
|
|
77
|
+
publishedBy: {
|
|
78
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
79
|
+
isOptional: false;
|
|
80
|
+
};
|
|
81
|
+
changeSummary: {
|
|
82
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
83
|
+
isOptional: true;
|
|
84
|
+
};
|
|
85
|
+
changedSections: {
|
|
86
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
87
|
+
isOptional: true;
|
|
88
|
+
isArray: true;
|
|
89
|
+
};
|
|
90
|
+
}>>;
|
|
91
|
+
declare const ConfigRolledBackEvent: EventSpec<SchemaModel<{
|
|
92
|
+
tenantId: {
|
|
93
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
appId: {
|
|
97
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
newVersion: {
|
|
101
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
rolledBackFrom: {
|
|
105
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
106
|
+
isOptional: false;
|
|
107
|
+
};
|
|
108
|
+
rolledBackTo: {
|
|
109
|
+
type: _lssm_lib_schema43.FieldType<number, number>;
|
|
110
|
+
isOptional: false;
|
|
111
|
+
};
|
|
112
|
+
rolledBackBy: {
|
|
113
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
114
|
+
isOptional: false;
|
|
115
|
+
};
|
|
116
|
+
reason: {
|
|
117
|
+
type: _lssm_lib_schema43.FieldType<string, string>;
|
|
118
|
+
isOptional: false;
|
|
119
|
+
};
|
|
120
|
+
}>>;
|
|
121
|
+
//#endregion
|
|
122
|
+
export { ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BrandingAssetRef, BrandingDefaults, ResolvedBranding, TenantBrandingAsset, TenantBrandingConfig } from "./branding.js";
|
|
2
|
+
import { ConfigStatus, ConfigTransition, ConfigVersionHistory, TenantAppConfigVersion } from "./lifecycle.js";
|
|
3
|
+
import { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, FeatureFlagState, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, makeAppBlueprintKey } from "./spec.js";
|
|
4
|
+
import { AppComposition, AppCompositionDeps, ComposeOptions, MissingReference, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, composeAppConfig, resolveAppConfig } from "./runtime.js";
|
|
5
|
+
import { AppConfigFeature } from "./app-config.feature.js";
|
|
6
|
+
import { ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent } from "./events.js";
|
|
7
|
+
import { ValidationContext, ValidationIssue, ValidationResult, ValidationSeverity, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig } from "./validation.js";
|
|
8
|
+
import { CreateTenantConfigDraftCommand, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, RollbackTenantConfigCommand, lifecycleContracts, registerAppConfigLifecycleContracts } from "./lifecycle-contracts.js";
|
|
9
|
+
export { AppBlueprintMeta, AppBlueprintRegistry, AppBlueprintSpec, AppComposition, AppCompositionDeps, AppConfigFeature, AppIntegrationSlot, AppRouteConfig, AppThemeBinding, BrandingAssetRef, BrandingDefaults, ComposeOptions, ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent, ConfigStatus, ConfigTransition, ConfigVersionHistory, CreateTenantConfigDraftCommand, FeatureFlagState, GetTenantConfigVersionQuery, ListTenantConfigVersionsQuery, MissingReference, PromoteTenantConfigToPreviewCommand, PublishTenantConfigCommand, ResolveAppConfigDeps, ResolvedAppConfig, ResolvedBranding, ResolvedIntegration, ResolvedKnowledge, ResolvedTranslation, RollbackTenantConfigCommand, SpecPointer, TelemetryBinding, TenantAppConfig, TenantAppConfigMeta, TenantAppConfigVersion, TenantBrandingAsset, TenantBrandingConfig, TenantRouteOverride, TenantSpecOverride, TranslationCatalogPointer, ValidationContext, ValidationIssue, ValidationResult, ValidationSeverity, composeAppConfig, lifecycleContracts, makeAppBlueprintKey, registerAppConfigLifecycleContracts, resolveAppConfig, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig };
|