@lssm/example.workflow-system 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834
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/approval/approval.contracts.d.ts +134 -134
- package/dist/approval/approval.contracts.js +1 -1
- package/dist/approval/approval.enum.d.ts +3 -3
- package/dist/approval/approval.enum.js +1 -1
- package/dist/approval/approval.event.d.ts +32 -32
- package/dist/approval/approval.event.js +1 -1
- package/dist/approval/approval.schema.d.ts +24 -24
- package/dist/approval/approval.schema.js +1 -1
- package/dist/docs/workflow-system.docblock.js +1 -1
- package/dist/entities/approval.d.ts +36 -36
- package/dist/entities/approval.js +1 -1
- package/dist/entities/index.d.ts +127 -127
- package/dist/entities/instance.d.ts +47 -47
- package/dist/entities/instance.js +1 -1
- package/dist/entities/step.d.ts +32 -32
- package/dist/entities/step.js +1 -1
- package/dist/entities/workflow.d.ts +23 -23
- package/dist/entities/workflow.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/instance/instance.contracts.d.ts +256 -256
- package/dist/instance/instance.contracts.js +1 -1
- package/dist/instance/instance.enum.d.ts +2 -2
- package/dist/instance/instance.enum.js +1 -1
- package/dist/instance/instance.event.d.ts +87 -87
- package/dist/instance/instance.event.js +1 -1
- package/dist/instance/instance.schema.d.ts +54 -54
- package/dist/instance/instance.schema.js +1 -1
- package/dist/workflow/workflow.contracts.d.ts +246 -246
- package/dist/workflow/workflow.contracts.js +1 -1
- package/dist/workflow/workflow.enum.d.ts +5 -5
- package/dist/workflow/workflow.enum.js +1 -1
- package/dist/workflow/workflow.event.d.ts +32 -32
- package/dist/workflow/workflow.event.js +1 -1
- package/dist/workflow/workflow.schema.d.ts +63 -63
- package/dist/workflow/workflow.schema.js +1 -1
- package/package.json +11 -11
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -1
- package/dist/libs/contracts/dist/client/index.js +0 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -350
- package/dist/libs/contracts/dist/docs/index.js +0 -1
- package/dist/libs/contracts/dist/docs/presentations.js +0 -1
- package/dist/libs/contracts/dist/docs/registry.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -58
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -38
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -289
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -63
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -36
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -65
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -41
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -122
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -1
- package/dist/libs/contracts/dist/events.js +0 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -1
- package/dist/libs/contracts/dist/install.js +0 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -1
- package/dist/libs/contracts/dist/integrations/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -1
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -1
- package/dist/libs/contracts/dist/knowledge/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -1
- package/dist/libs/contracts/dist/llm/exporters.js +0 -1
- package/dist/libs/contracts/dist/llm/index.js +0 -1
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -1
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -1
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -1
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -1
- package/dist/libs/contracts/dist/regenerator/service.js +0 -1
- package/dist/libs/contracts/dist/registry.js +0 -1
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -1
- package/dist/libs/contracts/dist/server/index.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -1
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -1
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -1
- package/dist/libs/schema/dist/FieldType.js +0 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/schema/dist/entity/index.js +0 -1
- package/dist/libs/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{WorkflowStatusEnum as e}from"./workflow.enum.js";import{AddStepInputModel as t,CreateWorkflowInputModel as n,UpdateWorkflowInputModel as r,WorkflowDefinitionModel as i,WorkflowStepModel as a}from"./workflow.schema.js";import{ScalarTypeEnum as o,defineSchemaModel as s}from"@lssm/lib.schema";import{defineCommand as c,defineQuery as l}from"@lssm/lib.contracts/spec";const u=[`@example.workflow-system`],d=c({meta:{name:`workflow.definition.create`,version:1,stability:`stable`,owners:[...u],tags:[`workflow`,`definition`,`create`],description:`Create a new workflow definition.`,goal:`Allow users to define new workflow blueprints.`,context:`Workflow designer, admin panel.`},io:{input:n,output:i},policy:{auth:`user`},sideEffects:{emits:[{name:`workflow.definition.created`,version:1,when:`Workflow is created`,payload:i}],audit:[`workflow.definition.created`]}}),f=c({meta:{name:`workflow.definition.update`,version:1,stability:`stable`,owners:[...u],tags:[`workflow`,`definition`,`update`],description:`Update an existing workflow definition.`,goal:`Allow users to modify workflow blueprints.`,context:`Workflow designer.`},io:{input:r,output:i},policy:{auth:`user`},sideEffects:{emits:[{name:`workflow.definition.updated`,version:1,when:`Workflow is updated`,payload:i}],audit:[`workflow.definition.updated`]}}),p=c({meta:{name:`workflow.step.add`,version:1,stability:`stable`,owners:[...u],tags:[`workflow`,`step`,`add`],description:`Add a step to a workflow definition.`,goal:`Build workflow structure step by step.`,context:`Workflow designer.`},io:{input:t,output:a},policy:{auth:`user`},sideEffects:{emits:[{name:`workflow.step.added`,version:1,when:`Step is added`,payload:a}],audit:[`workflow.step.added`]}}),m=c({meta:{name:`workflow.definition.publish`,version:1,stability:`stable`,owners:[...u],tags:[`workflow`,`definition`,`publish`],description:`Publish a workflow definition to make it available for use.`,goal:`Activate workflow for production use.`,context:`Workflow designer, deployment.`},io:{input:s({name:`PublishWorkflowInput`,fields:{workflowId:{type:o.String_unsecure(),isOptional:!1}}}),output:i},policy:{auth:`user`},sideEffects:{emits:[{name:`workflow.definition.published`,version:1,when:`Workflow is published`,payload:i}],audit:[`workflow.definition.published`]}}),h=l({meta:{name:`workflow.definition.list`,version:1,stability:`stable`,owners:[...u],tags:[`workflow`,`definition`,`list`],description:`List workflow definitions with filtering.`,goal:`Browse and search available workflows.`,context:`Workflow list, search.`},io:{input:s({name:`ListWorkflowsInput`,fields:{status:{type:e,isOptional:!0},search:{type:o.String_unsecure(),isOptional:!0},limit:{type:o.Int_unsecure(),isOptional:!0,defaultValue:20},offset:{type:o.Int_unsecure(),isOptional:!0,defaultValue:0}}}),output:s({name:`ListWorkflowsOutput`,fields:{workflows:{type:i,isArray:!0,isOptional:!1},total:{type:o.Int_unsecure(),isOptional:!1}}})},policy:{auth:`user`}}),g=l({meta:{name:`workflow.definition.get`,version:1,stability:`stable`,owners:[...u],tags:[`workflow`,`definition`,`get`],description:`Get a workflow definition with all steps.`,goal:`View workflow details.`,context:`Workflow designer, detail view.`},io:{input:s({name:`GetWorkflowInput`,fields:{workflowId:{type:o.String_unsecure(),isOptional:!1}}}),output:i},policy:{auth:`user`}});export{p as AddStepContract,d as CreateWorkflowContract,g as GetWorkflowContract,h as ListWorkflowsContract,m as PublishWorkflowContract,f as UpdateWorkflowContract};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1092 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/workflow/workflow.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Workflow status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const WorkflowStatusEnum:
|
|
7
|
+
declare const WorkflowStatusEnum: _lssm_lib_schema1092.EnumType<[string, string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Trigger type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const TriggerTypeEnum:
|
|
11
|
+
declare const TriggerTypeEnum: _lssm_lib_schema1092.EnumType<[string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Step type enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const StepTypeEnum:
|
|
15
|
+
declare const StepTypeEnum: _lssm_lib_schema1092.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
16
16
|
/**
|
|
17
17
|
* Approval mode enum.
|
|
18
18
|
*/
|
|
19
|
-
declare const ApprovalModeEnum:
|
|
19
|
+
declare const ApprovalModeEnum: _lssm_lib_schema1092.EnumType<[string, string, string, string]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ApprovalModeEnum, StepTypeEnum, TriggerTypeEnum, WorkflowStatusEnum };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{defineEnum as e}from"@lssm/lib.schema";const t=e(`WorkflowStatus`,[`DRAFT`,`ACTIVE`,`DEPRECATED`,`ARCHIVED`]),n=e(`WorkflowTriggerType`,[`MANUAL`,`EVENT`,`SCHEDULED`,`API`]),r=e(`StepType`,[`START`,`APPROVAL`,`TASK`,`CONDITION`,`PARALLEL`,`WAIT`,`ACTION`,`END`]),i=e(`ApprovalMode`,[`ANY`,`ALL`,`MAJORITY`,`SEQUENTIAL`]);export{i as ApprovalModeEnum,r as StepTypeEnum,n as TriggerTypeEnum,t as WorkflowStatusEnum};
|
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1127 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts30 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/workflow/workflow.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* WorkflowCreatedEvent - A new workflow definition has been created.
|
|
7
7
|
*/
|
|
8
|
-
declare const WorkflowCreatedEvent: _lssm_lib_contracts30.EventSpec<
|
|
8
|
+
declare const WorkflowCreatedEvent: _lssm_lib_contracts30.EventSpec<_lssm_lib_schema1127.SchemaModel<{
|
|
9
9
|
workflowId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
key: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
name: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
version: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema1127.FieldType<number, number>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
organizationId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
createdBy: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
timestamp: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema1127.FieldType<Date, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
}>>;
|
|
38
38
|
/**
|
|
39
39
|
* WorkflowUpdatedEvent - A workflow definition has been updated.
|
|
40
40
|
*/
|
|
41
|
-
declare const WorkflowUpdatedEvent: _lssm_lib_contracts30.EventSpec<
|
|
41
|
+
declare const WorkflowUpdatedEvent: _lssm_lib_contracts30.EventSpec<_lssm_lib_schema1127.SchemaModel<{
|
|
42
42
|
workflowId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
key: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
name: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
version: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema1127.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
organizationId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
createdBy: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
timestamp: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema1127.FieldType<Date, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
}>>;
|
|
71
71
|
/**
|
|
72
72
|
* WorkflowPublishedEvent - A workflow definition has been published.
|
|
73
73
|
*/
|
|
74
|
-
declare const WorkflowPublishedEvent: _lssm_lib_contracts30.EventSpec<
|
|
74
|
+
declare const WorkflowPublishedEvent: _lssm_lib_contracts30.EventSpec<_lssm_lib_schema1127.SchemaModel<{
|
|
75
75
|
workflowId: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
key: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
name: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
version: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema1127.FieldType<number, number>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
organizationId: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
createdBy: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
timestamp: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema1127.FieldType<Date, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>>;
|
|
104
104
|
/**
|
|
105
105
|
* StepAddedEvent - A step has been added to a workflow definition.
|
|
106
106
|
*/
|
|
107
|
-
declare const StepAddedEvent: _lssm_lib_contracts30.EventSpec<
|
|
107
|
+
declare const StepAddedEvent: _lssm_lib_contracts30.EventSpec<_lssm_lib_schema1127.SchemaModel<{
|
|
108
108
|
stepId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
workflowId: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
stepKey: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
stepType: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema1127.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
position: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema1127.FieldType<number, number>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
timestamp: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema1127.FieldType<Date, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e}from"@lssm/lib.schema";import{defineEvent as t,defineSchemaModel as n}from"@lssm/lib.contracts";const r=n({name:`WorkflowDefinitionEventPayload`,description:`Payload for workflow definition events`,fields:{workflowId:{type:e.String_unsecure(),isOptional:!1},key:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},organizationId:{type:e.String_unsecure(),isOptional:!1},createdBy:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=n({name:`StepAddedEventPayload`,description:`Payload when a step is added`,fields:{stepId:{type:e.String_unsecure(),isOptional:!1},workflowId:{type:e.String_unsecure(),isOptional:!1},stepKey:{type:e.String_unsecure(),isOptional:!1},stepType:{type:e.String_unsecure(),isOptional:!1},position:{type:e.Int_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=t({name:`workflow.definition.created`,version:1,description:`A new workflow definition has been created.`,payload:r}),o=t({name:`workflow.definition.updated`,version:1,description:`A workflow definition has been updated.`,payload:r}),s=t({name:`workflow.definition.published`,version:1,description:`A workflow definition has been published and is now active.`,payload:r}),c=t({name:`workflow.step.added`,version:1,description:`A step has been added to a workflow definition.`,payload:i});export{c as StepAddedEvent,a as WorkflowCreatedEvent,s as WorkflowPublishedEvent,o as WorkflowUpdatedEvent};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/workflow/workflow.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A step in a workflow definition.
|
|
6
6
|
*/
|
|
7
|
-
declare const WorkflowStepModel:
|
|
7
|
+
declare const WorkflowStepModel: _lssm_lib_schema0.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
key: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
description: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
type: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
position: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
transitions: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
approvalMode: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
approverRoles: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
42
42
|
isArray: true;
|
|
43
43
|
isOptional: true;
|
|
44
44
|
};
|
|
@@ -46,91 +46,91 @@ declare const WorkflowStepModel: _lssm_lib_schema957.SchemaModel<{
|
|
|
46
46
|
/**
|
|
47
47
|
* A workflow definition.
|
|
48
48
|
*/
|
|
49
|
-
declare const WorkflowDefinitionModel:
|
|
49
|
+
declare const WorkflowDefinitionModel: _lssm_lib_schema0.SchemaModel<{
|
|
50
50
|
id: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
key: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
description: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
version: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
status: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
triggerType: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
initialStepId: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
featureFlagKey: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
organizationId: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
createdAt: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
updatedAt: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
96
96
|
isOptional: false;
|
|
97
97
|
};
|
|
98
98
|
steps: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
100
100
|
id: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
key: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
name: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
description: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
114
114
|
isOptional: true;
|
|
115
115
|
};
|
|
116
116
|
type: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
position: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
transitions: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
approvalMode: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
approverRoles: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
134
134
|
isArray: true;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
@@ -142,121 +142,121 @@ declare const WorkflowDefinitionModel: _lssm_lib_schema957.SchemaModel<{
|
|
|
142
142
|
/**
|
|
143
143
|
* Input for creating a workflow definition.
|
|
144
144
|
*/
|
|
145
|
-
declare const CreateWorkflowInputModel:
|
|
145
|
+
declare const CreateWorkflowInputModel: _lssm_lib_schema0.SchemaModel<{
|
|
146
146
|
name: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
key: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
description: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
156
156
|
isOptional: true;
|
|
157
157
|
};
|
|
158
158
|
triggerType: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
162
|
triggerConfig: {
|
|
163
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
164
164
|
isOptional: true;
|
|
165
165
|
};
|
|
166
166
|
featureFlagKey: {
|
|
167
|
-
type:
|
|
167
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
settings: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
172
172
|
isOptional: true;
|
|
173
173
|
};
|
|
174
174
|
}>;
|
|
175
175
|
/**
|
|
176
176
|
* Input for updating a workflow definition.
|
|
177
177
|
*/
|
|
178
|
-
declare const UpdateWorkflowInputModel:
|
|
178
|
+
declare const UpdateWorkflowInputModel: _lssm_lib_schema0.SchemaModel<{
|
|
179
179
|
workflowId: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
name: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
185
185
|
isOptional: true;
|
|
186
186
|
};
|
|
187
187
|
description: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
189
189
|
isOptional: true;
|
|
190
190
|
};
|
|
191
191
|
triggerType: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
193
193
|
isOptional: true;
|
|
194
194
|
};
|
|
195
195
|
triggerConfig: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
197
197
|
isOptional: true;
|
|
198
198
|
};
|
|
199
199
|
featureFlagKey: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
201
201
|
isOptional: true;
|
|
202
202
|
};
|
|
203
203
|
settings: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|
|
207
207
|
}>;
|
|
208
208
|
/**
|
|
209
209
|
* Input for adding a step to a workflow.
|
|
210
210
|
*/
|
|
211
|
-
declare const AddStepInputModel:
|
|
211
|
+
declare const AddStepInputModel: _lssm_lib_schema0.SchemaModel<{
|
|
212
212
|
workflowId: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
214
214
|
isOptional: false;
|
|
215
215
|
};
|
|
216
216
|
key: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
218
218
|
isOptional: false;
|
|
219
219
|
};
|
|
220
220
|
name: {
|
|
221
|
-
type:
|
|
221
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
description: {
|
|
225
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
226
226
|
isOptional: true;
|
|
227
227
|
};
|
|
228
228
|
type: {
|
|
229
|
-
type:
|
|
229
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
230
230
|
isOptional: false;
|
|
231
231
|
};
|
|
232
232
|
position: {
|
|
233
|
-
type:
|
|
233
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
234
234
|
isOptional: true;
|
|
235
235
|
};
|
|
236
236
|
transitions: {
|
|
237
|
-
type:
|
|
237
|
+
type: _lssm_lib_schema0.FieldType<unknown, unknown>;
|
|
238
238
|
isOptional: false;
|
|
239
239
|
};
|
|
240
240
|
approvalMode: {
|
|
241
|
-
type:
|
|
241
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
|
|
242
242
|
isOptional: true;
|
|
243
243
|
};
|
|
244
244
|
approverRoles: {
|
|
245
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
246
246
|
isArray: true;
|
|
247
247
|
isOptional: true;
|
|
248
248
|
};
|
|
249
249
|
approverUserIds: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
251
251
|
isArray: true;
|
|
252
252
|
isOptional: true;
|
|
253
253
|
};
|
|
254
254
|
timeoutSeconds: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
256
256
|
isOptional: true;
|
|
257
257
|
};
|
|
258
258
|
slaSeconds: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
260
260
|
isOptional: true;
|
|
261
261
|
};
|
|
262
262
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ApprovalModeEnum as e,StepTypeEnum as t,TriggerTypeEnum as n,WorkflowStatusEnum as r}from"./workflow.enum.js";import{ScalarTypeEnum as i,defineSchemaModel as a}from"@lssm/lib.schema";const o=a({name:`WorkflowStepModel`,description:`A step in a workflow definition`,fields:{id:{type:i.String_unsecure(),isOptional:!1},key:{type:i.String_unsecure(),isOptional:!1},name:{type:i.String_unsecure(),isOptional:!1},description:{type:i.String_unsecure(),isOptional:!0},type:{type:t,isOptional:!1},position:{type:i.Int_unsecure(),isOptional:!1},transitions:{type:i.JSON(),isOptional:!1},approvalMode:{type:e,isOptional:!0},approverRoles:{type:i.String_unsecure(),isArray:!0,isOptional:!0}}}),s=a({name:`WorkflowDefinitionModel`,description:`A workflow definition`,fields:{id:{type:i.String_unsecure(),isOptional:!1},name:{type:i.String_unsecure(),isOptional:!1},key:{type:i.String_unsecure(),isOptional:!1},description:{type:i.String_unsecure(),isOptional:!0},version:{type:i.Int_unsecure(),isOptional:!1},status:{type:r,isOptional:!1},triggerType:{type:n,isOptional:!1},initialStepId:{type:i.String_unsecure(),isOptional:!0},featureFlagKey:{type:i.String_unsecure(),isOptional:!0},organizationId:{type:i.String_unsecure(),isOptional:!1},createdAt:{type:i.DateTime(),isOptional:!1},updatedAt:{type:i.DateTime(),isOptional:!1},steps:{type:o,isArray:!0,isOptional:!0}}}),c=a({name:`CreateWorkflowInput`,description:`Input for creating a workflow definition`,fields:{name:{type:i.NonEmptyString(),isOptional:!1},key:{type:i.NonEmptyString(),isOptional:!1},description:{type:i.String_unsecure(),isOptional:!0},triggerType:{type:n,isOptional:!0},triggerConfig:{type:i.JSON(),isOptional:!0},featureFlagKey:{type:i.String_unsecure(),isOptional:!0},settings:{type:i.JSON(),isOptional:!0}}}),l=a({name:`UpdateWorkflowInput`,description:`Input for updating a workflow definition`,fields:{workflowId:{type:i.String_unsecure(),isOptional:!1},name:{type:i.String_unsecure(),isOptional:!0},description:{type:i.String_unsecure(),isOptional:!0},triggerType:{type:n,isOptional:!0},triggerConfig:{type:i.JSON(),isOptional:!0},featureFlagKey:{type:i.String_unsecure(),isOptional:!0},settings:{type:i.JSON(),isOptional:!0}}}),u=a({name:`AddStepInput`,description:`Input for adding a step to a workflow`,fields:{workflowId:{type:i.String_unsecure(),isOptional:!1},key:{type:i.NonEmptyString(),isOptional:!1},name:{type:i.NonEmptyString(),isOptional:!1},description:{type:i.String_unsecure(),isOptional:!0},type:{type:t,isOptional:!1},position:{type:i.Int_unsecure(),isOptional:!0},transitions:{type:i.JSON(),isOptional:!1},approvalMode:{type:e,isOptional:!0},approverRoles:{type:i.String_unsecure(),isArray:!0,isOptional:!0},approverUserIds:{type:i.String_unsecure(),isArray:!0,isOptional:!0},timeoutSeconds:{type:i.Int_unsecure(),isOptional:!0},slaSeconds:{type:i.Int_unsecure(),isOptional:!0}}});export{u as AddStepInputModel,c as CreateWorkflowInputModel,l as UpdateWorkflowInputModel,s as WorkflowDefinitionModel,o as WorkflowStepModel};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.workflow-system",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217060834",
|
|
4
4
|
"description": "Workflow and approval system example for ContractSpec - State machine with role-based transitions",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/lib.feature-flags": "0.0.0-canary-
|
|
26
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
27
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
28
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217060834",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217060834",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251217060834",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251217060834",
|
|
25
|
+
"@lssm/lib.feature-flags": "0.0.0-canary-20251217060834",
|
|
26
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251217060834",
|
|
27
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251217060834",
|
|
28
|
+
"@lssm/module.notifications": "0.0.0-canary-20251217060834",
|
|
29
29
|
"zod": "^4.1.13"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
33
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
32
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217060834",
|
|
33
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217060834",
|
|
34
34
|
"typescript": "^5.9.3"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e}from"../ownership.js";const t=[`platform.finance`],n=[`open-banking`,`finance`];[...t],[...n],e.Experimental,[...t],[...n],e.Experimental,[...t],[...n],e.Experimental;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import"./react/feature-render.js";import"./react/form-render.js";import"./react/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../../presentations.v2.js";import"react";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"react";import"react-hook-form";import"@hookform/resolvers/zod";import"react/jsx-runtime";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import"./feature-render.js";import"./form-render.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,n as t,r as n}from"./schemas.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e}from"../ownership.js";import t from"zod";const n=t.enum([`contractspec:operation`,`contractspec:event`,`contractspec:presentation`,`contractspec:form`,`contractspec:feature`,`contractspec:workflow`,`contractspec:template`,`contractspec:integration`,`contractspec:data-view`,`contractspec:migration`,`contractspec:telemetry`,`contractspec:experiment`,`contractspec:app-config`,`contractspec:knowledge`]),r=t.object({path:t.string().min(1),type:t.string().min(1),content:t.string().optional()}),i=t.object({name:t.string().min(1),type:n,version:t.number().int().nonnegative(),title:t.string().min(1),description:t.string().min(1),meta:t.object({stability:t.enum([e.Idea,e.InCreation,e.Experimental,e.Beta,e.Stable,e.Deprecated]),owners:t.array(t.string().min(1)).default([]),tags:t.array(t.string().min(1)).default([])}),dependencies:t.array(t.string().min(1)).optional(),registryDependencies:t.array(t.string().min(1)).optional(),files:t.array(r).min(1),schema:t.object({input:t.unknown().optional(),output:t.unknown().optional()}).optional()});t.object({$schema:t.string().min(1).optional(),name:t.string().min(1),homepage:t.string().min(1).optional(),items:t.array(i)});export{i,n,r};
|