@contractspec/example.workflow-system 1.44.1 → 1.45.1

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.
Files changed (53) hide show
  1. package/dist/approval/approval.enum.d.ts +3 -3
  2. package/dist/approval/approval.enum.d.ts.map +1 -1
  3. package/dist/approval/approval.event.d.ts +31 -31
  4. package/dist/approval/approval.event.js +4 -4
  5. package/dist/approval/approval.event.js.map +1 -1
  6. package/dist/approval/approval.operations.d.ts +136 -136
  7. package/dist/approval/approval.operations.js +8 -8
  8. package/dist/approval/approval.operations.js.map +1 -1
  9. package/dist/approval/approval.schema.d.ts +24 -24
  10. package/dist/entities/approval.d.ts +36 -36
  11. package/dist/entities/approval.d.ts.map +1 -1
  12. package/dist/entities/index.d.ts +127 -127
  13. package/dist/entities/index.d.ts.map +1 -1
  14. package/dist/entities/instance.d.ts +47 -47
  15. package/dist/entities/step.d.ts +32 -32
  16. package/dist/entities/workflow.d.ts +23 -23
  17. package/dist/entities/workflow.d.ts.map +1 -1
  18. package/dist/example.d.ts +3 -36
  19. package/dist/example.d.ts.map +1 -1
  20. package/dist/example.js +16 -11
  21. package/dist/example.js.map +1 -1
  22. package/dist/instance/instance.enum.d.ts +2 -2
  23. package/dist/instance/instance.event.d.ts +87 -87
  24. package/dist/instance/instance.event.d.ts.map +1 -1
  25. package/dist/instance/instance.event.js +9 -9
  26. package/dist/instance/instance.event.js.map +1 -1
  27. package/dist/instance/instance.operations.d.ts +261 -261
  28. package/dist/instance/instance.operations.d.ts.map +1 -1
  29. package/dist/instance/instance.operations.js +15 -15
  30. package/dist/instance/instance.operations.js.map +1 -1
  31. package/dist/instance/instance.schema.d.ts +54 -54
  32. package/dist/presentations/index.js +11 -11
  33. package/dist/presentations/index.js.map +1 -1
  34. package/dist/shared/types.d.ts +1 -1
  35. package/dist/state-machine/index.d.ts +2 -2
  36. package/dist/state-machine/index.js.map +1 -1
  37. package/dist/workflow/workflow.enum.d.ts +5 -5
  38. package/dist/workflow/workflow.event.d.ts +33 -33
  39. package/dist/workflow/workflow.event.d.ts.map +1 -1
  40. package/dist/workflow/workflow.event.js +5 -5
  41. package/dist/workflow/workflow.event.js.map +1 -1
  42. package/dist/workflow/workflow.handler.js +1 -1
  43. package/dist/workflow/workflow.handler.js.map +1 -1
  44. package/dist/workflow/workflow.operations.d.ts +250 -250
  45. package/dist/workflow/workflow.operations.js +10 -10
  46. package/dist/workflow/workflow.operations.js.map +1 -1
  47. package/dist/workflow/workflow.schema.d.ts +63 -63
  48. package/dist/workflow/workflow.schema.d.ts.map +1 -1
  49. package/dist/workflow/workflow.schema.js +1 -1
  50. package/dist/workflow/workflow.schema.js.map +1 -1
  51. package/dist/workflow-system.feature.js +71 -71
  52. package/dist/workflow-system.feature.js.map +1 -1
  53. package/package.json +11 -11
@@ -11,7 +11,7 @@ const OWNERS = ["@example.workflow-system"];
11
11
  const SubmitDecisionContract = defineCommand({
12
12
  meta: {
13
13
  key: "workflow.approval.decide",
14
- version: 1,
14
+ version: "1.0.0",
15
15
  stability: "stable",
16
16
  owners: [...OWNERS],
17
17
  tags: [
@@ -51,7 +51,7 @@ const SubmitDecisionContract = defineCommand({
51
51
  sideEffects: {
52
52
  emits: [{
53
53
  key: "workflow.approval.decided",
54
- version: 1,
54
+ version: "1.0.0",
55
55
  when: "Decision is made",
56
56
  payload: ApprovalRequestModel
57
57
  }],
@@ -84,7 +84,7 @@ const SubmitDecisionContract = defineCommand({
84
84
  const DelegateApprovalContract = defineCommand({
85
85
  meta: {
86
86
  key: "workflow.approval.delegate",
87
- version: 1,
87
+ version: "1.0.0",
88
88
  stability: "stable",
89
89
  owners: [...OWNERS],
90
90
  tags: [
@@ -120,7 +120,7 @@ const DelegateApprovalContract = defineCommand({
120
120
  sideEffects: {
121
121
  emits: [{
122
122
  key: "workflow.approval.delegated",
123
- version: 1,
123
+ version: "1.0.0",
124
124
  when: "Approval is delegated",
125
125
  payload: ApprovalRequestModel
126
126
  }],
@@ -153,7 +153,7 @@ const DelegateApprovalContract = defineCommand({
153
153
  const AddApprovalCommentContract = defineCommand({
154
154
  meta: {
155
155
  key: "workflow.approval.comment.add",
156
- version: 1,
156
+ version: "1.0.0",
157
157
  stability: "stable",
158
158
  owners: [...OWNERS],
159
159
  tags: [
@@ -188,7 +188,7 @@ const AddApprovalCommentContract = defineCommand({
188
188
  policy: { auth: "user" },
189
189
  sideEffects: { emits: [{
190
190
  key: "workflow.approval.comment.added",
191
- version: 1,
191
+ version: "1.0.0",
192
192
  when: "Comment is added",
193
193
  payload: ApprovalCommentModel
194
194
  }] },
@@ -219,7 +219,7 @@ const AddApprovalCommentContract = defineCommand({
219
219
  const ListMyApprovalsContract = defineQuery({
220
220
  meta: {
221
221
  key: "workflow.approval.list.mine",
222
- version: 1,
222
+ version: "1.0.0",
223
223
  stability: "stable",
224
224
  owners: [...OWNERS],
225
225
  tags: [
@@ -299,7 +299,7 @@ const ListMyApprovalsContract = defineQuery({
299
299
  const GetApprovalContract = defineQuery({
300
300
  meta: {
301
301
  key: "workflow.approval.get",
302
- version: 1,
302
+ version: "1.0.0",
303
303
  stability: "stable",
304
304
  owners: [...OWNERS],
305
305
  tags: [
@@ -1 +1 @@
1
- {"version":3,"file":"approval.operations.js","names":[],"sources":["../../src/approval/approval.operations.ts"],"sourcesContent":["import {\n defineCommand,\n defineQuery,\n} from '@contractspec/lib.contracts/operations';\nimport { defineSchemaModel, ScalarTypeEnum } from '@contractspec/lib.schema';\nimport { ApprovalDecisionEnum, ApprovalStatusEnum } from './approval.enum';\nimport { ApprovalCommentModel, ApprovalRequestModel } from './approval.schema';\n\nconst OWNERS = ['@example.workflow-system'] as const;\n\n/**\n * Approve or reject an approval request.\n */\nexport const SubmitDecisionContract = defineCommand({\n meta: {\n key: 'workflow.approval.decide',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'decision'],\n description: 'Submit an approval decision (approve/reject).',\n goal: 'Allow approvers to make decisions on requests.',\n context: 'Approval inbox, workflow detail.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ApproveRejectInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n decision: { type: ApprovalDecisionEnum, isOptional: false },\n comment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n data: { type: ScalarTypeEnum.JSON(), isOptional: true },\n },\n }),\n output: ApprovalRequestModel,\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'workflow.approval.decided',\n version: 1,\n when: 'Decision is made',\n payload: ApprovalRequestModel,\n },\n ],\n audit: ['workflow.approval.decided'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'approve-request-happy-path',\n given: ['Approval request is pending', 'User is assignee'],\n when: ['User approves request'],\n then: ['Request is approved', 'ApprovalDecided event is emitted'],\n },\n ],\n examples: [\n {\n key: 'approve-basic',\n input: {\n requestId: 'req-123',\n decision: 'approve',\n comment: 'Looks good',\n },\n output: { id: 'req-123', status: 'approved' },\n },\n ],\n },\n});\n\n/**\n * Delegate an approval to another user.\n */\nexport const DelegateApprovalContract = defineCommand({\n meta: {\n key: 'workflow.approval.delegate',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'delegate'],\n description: 'Delegate an approval request to another user.',\n goal: 'Allow approvers to pass approval to others.',\n context: 'Approval inbox.',\n },\n io: {\n input: defineSchemaModel({\n name: 'DelegateInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n delegateTo: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n }),\n output: ApprovalRequestModel,\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'workflow.approval.delegated',\n version: 1,\n when: 'Approval is delegated',\n payload: ApprovalRequestModel,\n },\n ],\n audit: ['workflow.approval.delegated'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'delegate-approval-happy-path',\n given: ['Approval request is pending', 'User is assignee'],\n when: ['User delegates to another user'],\n then: ['Assignee is updated', 'ApprovalDelegated event is emitted'],\n },\n ],\n examples: [\n {\n key: 'delegate-to-manager',\n input: {\n requestId: 'req-123',\n delegateTo: 'user-456',\n reason: 'Out of office',\n },\n output: { id: 'req-123', assigneeId: 'user-456' },\n },\n ],\n },\n});\n\n/**\n * Add a comment to an approval request.\n */\nexport const AddApprovalCommentContract = defineCommand({\n meta: {\n key: 'workflow.approval.comment.add',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'comment'],\n description: 'Add a comment to an approval request.',\n goal: 'Allow discussion on approval requests.',\n context: 'Approval detail view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'AddCommentInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n content: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n isInternal: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n },\n }),\n output: ApprovalCommentModel,\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'workflow.approval.comment.added',\n version: 1,\n when: 'Comment is added',\n payload: ApprovalCommentModel,\n },\n ],\n },\n acceptance: {\n scenarios: [\n {\n key: 'add-comment-happy-path',\n given: ['Approval request exists'],\n when: ['User adds a comment'],\n then: ['Comment is added', 'CommentAdded event is emitted'],\n },\n ],\n examples: [\n {\n key: 'add-question',\n input: {\n requestId: 'req-123',\n content: 'Can you clarify budget?',\n isInternal: false,\n },\n output: { id: 'com-789', content: 'Can you clarify budget?' },\n },\n ],\n },\n});\n\n/**\n * List approvals assigned to the current user.\n */\nexport const ListMyApprovalsContract = defineQuery({\n meta: {\n key: 'workflow.approval.list.mine',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'list', 'inbox'],\n description: 'List approval requests assigned to current user.',\n goal: 'Show pending approvals in user inbox.',\n context: 'Approval inbox, dashboard widget.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListMyApprovalsInput',\n fields: {\n status: { type: ApprovalStatusEnum, isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListMyApprovalsOutput',\n fields: {\n requests: {\n type: ApprovalRequestModel,\n isArray: true,\n isOptional: false,\n },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n pendingCount: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n },\n }),\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'list-approvals-happy-path',\n given: ['User has assigned approvals'],\n when: ['User lists approvals'],\n then: ['List of requests is returned'],\n },\n ],\n examples: [\n {\n key: 'list-pending',\n input: { status: 'pending', limit: 10 },\n output: { requests: [], total: 2, pendingCount: 2 },\n },\n ],\n },\n});\n\n/**\n * Get a single approval request.\n */\nexport const GetApprovalContract = defineQuery({\n meta: {\n key: 'workflow.approval.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'get'],\n description: 'Get an approval request with details.',\n goal: 'View approval request details.',\n context: 'Approval detail view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetApprovalInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n },\n }),\n output: ApprovalRequestModel,\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'get-approval-happy-path',\n given: ['Approval request exists'],\n when: ['User requests approval details'],\n then: ['Approval details are returned'],\n },\n ],\n examples: [\n {\n key: 'get-basic',\n input: { requestId: 'req-123' },\n output: { id: 'req-123', status: 'pending' },\n },\n ],\n },\n});\n"],"mappings":";;;;;;AAQA,MAAM,SAAS,CAAC,2BAA2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AAC;GAAY;GAAY;GAAM;EACrC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO,kBAAkB;GACvB,MAAM;GACN,QAAQ,EACN,WAAW;IACT,MAAM,eAAe,iBAAiB;IACtC,YAAY;IACb,EACF;GACF,CAAC;EACF,QAAQ;EACT;CACD,QAAQ,EAAE,MAAM,QAAQ;CACxB,YAAY;EACV,WAAW,CACT;GACE,KAAK;GACL,OAAO,CAAC,0BAA0B;GAClC,MAAM,CAAC,iCAAiC;GACxC,MAAM,CAAC,gCAAgC;GACxC,CACF;EACD,UAAU,CACR;GACE,KAAK;GACL,OAAO,EAAE,WAAW,WAAW;GAC/B,QAAQ;IAAE,IAAI;IAAW,QAAQ;IAAW;GAC7C,CACF;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"approval.operations.js","names":[],"sources":["../../src/approval/approval.operations.ts"],"sourcesContent":["import {\n defineCommand,\n defineQuery,\n} from '@contractspec/lib.contracts/operations';\nimport { defineSchemaModel, ScalarTypeEnum } from '@contractspec/lib.schema';\nimport { ApprovalDecisionEnum, ApprovalStatusEnum } from './approval.enum';\nimport { ApprovalCommentModel, ApprovalRequestModel } from './approval.schema';\n\nconst OWNERS = ['@example.workflow-system'] as const;\n\n/**\n * Approve or reject an approval request.\n */\nexport const SubmitDecisionContract = defineCommand({\n meta: {\n key: 'workflow.approval.decide',\n version: '1.0.0',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'decision'],\n description: 'Submit an approval decision (approve/reject).',\n goal: 'Allow approvers to make decisions on requests.',\n context: 'Approval inbox, workflow detail.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ApproveRejectInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n decision: { type: ApprovalDecisionEnum, isOptional: false },\n comment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n data: { type: ScalarTypeEnum.JSON(), isOptional: true },\n },\n }),\n output: ApprovalRequestModel,\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'workflow.approval.decided',\n version: '1.0.0',\n when: 'Decision is made',\n payload: ApprovalRequestModel,\n },\n ],\n audit: ['workflow.approval.decided'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'approve-request-happy-path',\n given: ['Approval request is pending', 'User is assignee'],\n when: ['User approves request'],\n then: ['Request is approved', 'ApprovalDecided event is emitted'],\n },\n ],\n examples: [\n {\n key: 'approve-basic',\n input: {\n requestId: 'req-123',\n decision: 'approve',\n comment: 'Looks good',\n },\n output: { id: 'req-123', status: 'approved' },\n },\n ],\n },\n});\n\n/**\n * Delegate an approval to another user.\n */\nexport const DelegateApprovalContract = defineCommand({\n meta: {\n key: 'workflow.approval.delegate',\n version: '1.0.0',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'delegate'],\n description: 'Delegate an approval request to another user.',\n goal: 'Allow approvers to pass approval to others.',\n context: 'Approval inbox.',\n },\n io: {\n input: defineSchemaModel({\n name: 'DelegateInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n delegateTo: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n }),\n output: ApprovalRequestModel,\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'workflow.approval.delegated',\n version: '1.0.0',\n when: 'Approval is delegated',\n payload: ApprovalRequestModel,\n },\n ],\n audit: ['workflow.approval.delegated'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'delegate-approval-happy-path',\n given: ['Approval request is pending', 'User is assignee'],\n when: ['User delegates to another user'],\n then: ['Assignee is updated', 'ApprovalDelegated event is emitted'],\n },\n ],\n examples: [\n {\n key: 'delegate-to-manager',\n input: {\n requestId: 'req-123',\n delegateTo: 'user-456',\n reason: 'Out of office',\n },\n output: { id: 'req-123', assigneeId: 'user-456' },\n },\n ],\n },\n});\n\n/**\n * Add a comment to an approval request.\n */\nexport const AddApprovalCommentContract = defineCommand({\n meta: {\n key: 'workflow.approval.comment.add',\n version: '1.0.0',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'comment'],\n description: 'Add a comment to an approval request.',\n goal: 'Allow discussion on approval requests.',\n context: 'Approval detail view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'AddCommentInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n content: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n isInternal: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n },\n }),\n output: ApprovalCommentModel,\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'workflow.approval.comment.added',\n version: '1.0.0',\n when: 'Comment is added',\n payload: ApprovalCommentModel,\n },\n ],\n },\n acceptance: {\n scenarios: [\n {\n key: 'add-comment-happy-path',\n given: ['Approval request exists'],\n when: ['User adds a comment'],\n then: ['Comment is added', 'CommentAdded event is emitted'],\n },\n ],\n examples: [\n {\n key: 'add-question',\n input: {\n requestId: 'req-123',\n content: 'Can you clarify budget?',\n isInternal: false,\n },\n output: { id: 'com-789', content: 'Can you clarify budget?' },\n },\n ],\n },\n});\n\n/**\n * List approvals assigned to the current user.\n */\nexport const ListMyApprovalsContract = defineQuery({\n meta: {\n key: 'workflow.approval.list.mine',\n version: '1.0.0',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'list', 'inbox'],\n description: 'List approval requests assigned to current user.',\n goal: 'Show pending approvals in user inbox.',\n context: 'Approval inbox, dashboard widget.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListMyApprovalsInput',\n fields: {\n status: { type: ApprovalStatusEnum, isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListMyApprovalsOutput',\n fields: {\n requests: {\n type: ApprovalRequestModel,\n isArray: true,\n isOptional: false,\n },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n pendingCount: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n },\n }),\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'list-approvals-happy-path',\n given: ['User has assigned approvals'],\n when: ['User lists approvals'],\n then: ['List of requests is returned'],\n },\n ],\n examples: [\n {\n key: 'list-pending',\n input: { status: 'pending', limit: 10 },\n output: { requests: [], total: 2, pendingCount: 2 },\n },\n ],\n },\n});\n\n/**\n * Get a single approval request.\n */\nexport const GetApprovalContract = defineQuery({\n meta: {\n key: 'workflow.approval.get',\n version: '1.0.0',\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['workflow', 'approval', 'get'],\n description: 'Get an approval request with details.',\n goal: 'View approval request details.',\n context: 'Approval detail view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetApprovalInput',\n fields: {\n requestId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n },\n }),\n output: ApprovalRequestModel,\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'get-approval-happy-path',\n given: ['Approval request exists'],\n when: ['User requests approval details'],\n then: ['Approval details are returned'],\n },\n ],\n examples: [\n {\n key: 'get-basic',\n input: { requestId: 'req-123' },\n output: { id: 'req-123', status: 'pending' },\n },\n ],\n },\n});\n"],"mappings":";;;;;;AAQA,MAAM,SAAS,CAAC,2BAA2B;;;;AAK3C,MAAa,yBAAyB,cAAc;CAClD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAY;GAAY;GAAW;EAC1C,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO,kBAAkB;GAC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,MAAM,QAAQ;CACxB,YAAY;EACV,WAAW,CACT;GACE,KAAK;GACL,OAAO,CAAC,0BAA0B;GAClC,MAAM,CAAC,iCAAiC;GACxC,MAAM,CAAC,gCAAgC;GACxC,CACF;EACD,UAAU,CACR;GACE,KAAK;GACL,OAAO,EAAE,WAAW,WAAW;GAC/B,QAAQ;IAAE,IAAI;IAAW,QAAQ;IAAW;GAC7C,CACF;EACF;CACF,CAAC"}
@@ -1,97 +1,97 @@
1
- import * as _contractspec_lib_schema401 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema115 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/approval/approval.schema.d.ts
4
4
  /**
5
5
  * An approval request.
6
6
  */
7
- declare const ApprovalRequestModel: _contractspec_lib_schema401.SchemaModel<{
7
+ declare const ApprovalRequestModel: _contractspec_lib_schema115.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema401.FieldType<string, string>;
9
+ type: _contractspec_lib_schema115.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  workflowInstanceId: {
13
- type: _contractspec_lib_schema401.FieldType<string, string>;
13
+ type: _contractspec_lib_schema115.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  stepExecutionId: {
17
- type: _contractspec_lib_schema401.FieldType<string, string>;
17
+ type: _contractspec_lib_schema115.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  approverId: {
21
- type: _contractspec_lib_schema401.FieldType<string, string>;
21
+ type: _contractspec_lib_schema115.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  approverRole: {
25
- type: _contractspec_lib_schema401.FieldType<string, string>;
25
+ type: _contractspec_lib_schema115.FieldType<string, string>;
26
26
  isOptional: true;
27
27
  };
28
28
  title: {
29
- type: _contractspec_lib_schema401.FieldType<string, string>;
29
+ type: _contractspec_lib_schema115.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  description: {
33
- type: _contractspec_lib_schema401.FieldType<string, string>;
33
+ type: _contractspec_lib_schema115.FieldType<string, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  status: {
37
- type: _contractspec_lib_schema401.EnumType<[string, string, string, string, string, string, string]>;
37
+ type: _contractspec_lib_schema115.EnumType<[string, string, string, string, string, string, string]>;
38
38
  isOptional: false;
39
39
  };
40
40
  decision: {
41
- type: _contractspec_lib_schema401.EnumType<[string, string, string, string, string]>;
41
+ type: _contractspec_lib_schema115.EnumType<[string, string, string, string, string]>;
42
42
  isOptional: true;
43
43
  };
44
44
  decisionComment: {
45
- type: _contractspec_lib_schema401.FieldType<string, string>;
45
+ type: _contractspec_lib_schema115.FieldType<string, string>;
46
46
  isOptional: true;
47
47
  };
48
48
  decidedAt: {
49
- type: _contractspec_lib_schema401.FieldType<Date, string>;
49
+ type: _contractspec_lib_schema115.FieldType<Date, string>;
50
50
  isOptional: true;
51
51
  };
52
52
  dueAt: {
53
- type: _contractspec_lib_schema401.FieldType<Date, string>;
53
+ type: _contractspec_lib_schema115.FieldType<Date, string>;
54
54
  isOptional: true;
55
55
  };
56
56
  contextSnapshot: {
57
- type: _contractspec_lib_schema401.FieldType<unknown, unknown>;
57
+ type: _contractspec_lib_schema115.FieldType<unknown, unknown>;
58
58
  isOptional: true;
59
59
  };
60
60
  sequenceOrder: {
61
- type: _contractspec_lib_schema401.FieldType<number, number>;
61
+ type: _contractspec_lib_schema115.FieldType<number, number>;
62
62
  isOptional: false;
63
63
  };
64
64
  createdAt: {
65
- type: _contractspec_lib_schema401.FieldType<Date, string>;
65
+ type: _contractspec_lib_schema115.FieldType<Date, string>;
66
66
  isOptional: false;
67
67
  };
68
68
  }>;
69
69
  /**
70
70
  * A comment on an approval.
71
71
  */
72
- declare const ApprovalCommentModel: _contractspec_lib_schema401.SchemaModel<{
72
+ declare const ApprovalCommentModel: _contractspec_lib_schema115.SchemaModel<{
73
73
  id: {
74
- type: _contractspec_lib_schema401.FieldType<string, string>;
74
+ type: _contractspec_lib_schema115.FieldType<string, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  approvalRequestId: {
78
- type: _contractspec_lib_schema401.FieldType<string, string>;
78
+ type: _contractspec_lib_schema115.FieldType<string, string>;
79
79
  isOptional: false;
80
80
  };
81
81
  authorId: {
82
- type: _contractspec_lib_schema401.FieldType<string, string>;
82
+ type: _contractspec_lib_schema115.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  content: {
86
- type: _contractspec_lib_schema401.FieldType<string, string>;
86
+ type: _contractspec_lib_schema115.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  isInternal: {
90
- type: _contractspec_lib_schema401.FieldType<boolean, boolean>;
90
+ type: _contractspec_lib_schema115.FieldType<boolean, boolean>;
91
91
  isOptional: false;
92
92
  };
93
93
  createdAt: {
94
- type: _contractspec_lib_schema401.FieldType<Date, string>;
94
+ type: _contractspec_lib_schema115.FieldType<Date, string>;
95
95
  isOptional: false;
96
96
  };
97
97
  }>;
@@ -1,57 +1,57 @@
1
- import * as _contractspec_lib_schema1 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema270 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/entities/approval.d.ts
4
4
  /**
5
5
  * Approval status enum.
6
6
  */
7
- declare const ApprovalStatusEnum: _contractspec_lib_schema1.EntityEnumDef;
7
+ declare const ApprovalStatusEnum: _contractspec_lib_schema270.EntityEnumDef;
8
8
  /**
9
9
  * Approval decision enum.
10
10
  */
11
- declare const ApprovalDecisionEnum: _contractspec_lib_schema1.EntityEnumDef;
11
+ declare const ApprovalDecisionEnum: _contractspec_lib_schema270.EntityEnumDef;
12
12
  /**
13
13
  * ApprovalRequest entity - a request for approval from a user.
14
14
  *
15
15
  * Created when a workflow reaches an APPROVAL step. Multiple requests
16
16
  * may be created depending on the approval mode.
17
17
  */
18
- declare const ApprovalRequestEntity: _contractspec_lib_schema1.EntitySpec<{
19
- id: _contractspec_lib_schema1.EntityScalarField;
20
- workflowInstanceId: _contractspec_lib_schema1.EntityScalarField;
21
- stepExecutionId: _contractspec_lib_schema1.EntityScalarField;
22
- approverId: _contractspec_lib_schema1.EntityScalarField;
23
- approverRole: _contractspec_lib_schema1.EntityScalarField;
24
- title: _contractspec_lib_schema1.EntityScalarField;
25
- description: _contractspec_lib_schema1.EntityScalarField;
26
- status: _contractspec_lib_schema1.EntityEnumField;
27
- decision: _contractspec_lib_schema1.EntityEnumField;
28
- decisionComment: _contractspec_lib_schema1.EntityScalarField;
29
- decidedAt: _contractspec_lib_schema1.EntityScalarField;
30
- delegatedTo: _contractspec_lib_schema1.EntityScalarField;
31
- delegationReason: _contractspec_lib_schema1.EntityScalarField;
32
- escalationLevel: _contractspec_lib_schema1.EntityScalarField;
33
- escalatedAt: _contractspec_lib_schema1.EntityScalarField;
34
- dueAt: _contractspec_lib_schema1.EntityScalarField;
35
- reminderSentAt: _contractspec_lib_schema1.EntityScalarField;
36
- contextSnapshot: _contractspec_lib_schema1.EntityScalarField;
37
- sequenceOrder: _contractspec_lib_schema1.EntityScalarField;
38
- createdAt: _contractspec_lib_schema1.EntityScalarField;
39
- updatedAt: _contractspec_lib_schema1.EntityScalarField;
40
- workflowInstance: _contractspec_lib_schema1.EntityRelationField;
41
- stepExecution: _contractspec_lib_schema1.EntityRelationField;
18
+ declare const ApprovalRequestEntity: _contractspec_lib_schema270.EntitySpec<{
19
+ id: _contractspec_lib_schema270.EntityScalarField;
20
+ workflowInstanceId: _contractspec_lib_schema270.EntityScalarField;
21
+ stepExecutionId: _contractspec_lib_schema270.EntityScalarField;
22
+ approverId: _contractspec_lib_schema270.EntityScalarField;
23
+ approverRole: _contractspec_lib_schema270.EntityScalarField;
24
+ title: _contractspec_lib_schema270.EntityScalarField;
25
+ description: _contractspec_lib_schema270.EntityScalarField;
26
+ status: _contractspec_lib_schema270.EntityEnumField;
27
+ decision: _contractspec_lib_schema270.EntityEnumField;
28
+ decisionComment: _contractspec_lib_schema270.EntityScalarField;
29
+ decidedAt: _contractspec_lib_schema270.EntityScalarField;
30
+ delegatedTo: _contractspec_lib_schema270.EntityScalarField;
31
+ delegationReason: _contractspec_lib_schema270.EntityScalarField;
32
+ escalationLevel: _contractspec_lib_schema270.EntityScalarField;
33
+ escalatedAt: _contractspec_lib_schema270.EntityScalarField;
34
+ dueAt: _contractspec_lib_schema270.EntityScalarField;
35
+ reminderSentAt: _contractspec_lib_schema270.EntityScalarField;
36
+ contextSnapshot: _contractspec_lib_schema270.EntityScalarField;
37
+ sequenceOrder: _contractspec_lib_schema270.EntityScalarField;
38
+ createdAt: _contractspec_lib_schema270.EntityScalarField;
39
+ updatedAt: _contractspec_lib_schema270.EntityScalarField;
40
+ workflowInstance: _contractspec_lib_schema270.EntityRelationField;
41
+ stepExecution: _contractspec_lib_schema270.EntityRelationField;
42
42
  }>;
43
43
  /**
44
44
  * ApprovalComment entity - comments on approval requests.
45
45
  */
46
- declare const ApprovalCommentEntity: _contractspec_lib_schema1.EntitySpec<{
47
- id: _contractspec_lib_schema1.EntityScalarField;
48
- approvalRequestId: _contractspec_lib_schema1.EntityScalarField;
49
- authorId: _contractspec_lib_schema1.EntityScalarField;
50
- content: _contractspec_lib_schema1.EntityScalarField;
51
- isInternal: _contractspec_lib_schema1.EntityScalarField;
52
- createdAt: _contractspec_lib_schema1.EntityScalarField;
53
- updatedAt: _contractspec_lib_schema1.EntityScalarField;
54
- approvalRequest: _contractspec_lib_schema1.EntityRelationField;
46
+ declare const ApprovalCommentEntity: _contractspec_lib_schema270.EntitySpec<{
47
+ id: _contractspec_lib_schema270.EntityScalarField;
48
+ approvalRequestId: _contractspec_lib_schema270.EntityScalarField;
49
+ authorId: _contractspec_lib_schema270.EntityScalarField;
50
+ content: _contractspec_lib_schema270.EntityScalarField;
51
+ isInternal: _contractspec_lib_schema270.EntityScalarField;
52
+ createdAt: _contractspec_lib_schema270.EntityScalarField;
53
+ updatedAt: _contractspec_lib_schema270.EntityScalarField;
54
+ approvalRequest: _contractspec_lib_schema270.EntityRelationField;
55
55
  }>;
56
56
  //#endregion
57
57
  export { ApprovalCommentEntity, ApprovalDecisionEnum, ApprovalRequestEntity, ApprovalStatusEnum };
@@ -1 +1 @@
1
- {"version":3,"file":"approval.d.ts","names":[],"sources":["../../src/entities/approval.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,kBAaX,EAAA,yBAAA,CAb6B,aAa7B;AAKF;AAmBA;;cAnBa,sBAWX,yBAAA,CAX+B;;;;;;;cAmBpB,iDAAqB;MA4FhC,yBAAA,CAAA;;;;;;;;;;;;;;0DA5FgC;EAAA,KAAA,6CAAA;EAiGrB,cAAA,6CAmCX;EAAA,eAAA,6CAAA;;;;;;;;;;cAnCW,iDAAqB;MAmChC,yBAAA,CAAA"}
1
+ {"version":3,"file":"approval.d.ts","names":[],"sources":["../../src/entities/approval.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,kBAaX,EAAA,2BAAA,CAb6B,aAa7B;AAKF;AAmBA;;cAnBa,sBAWX,2BAAA,CAX+B;;;;;;;cAmBpB,mDAAqB;MA4FhC,2BAAA,CAAA;;;;;;;;;;;;;;4DA5FgC;EAAA,KAAA,+CAAA;EAiGrB,cAAA,+CAmCX;EAAA,eAAA,+CAAA;;;;;;;;;;cAnCW,mDAAqB;MAmChC,2BAAA,CAAA"}
@@ -2,136 +2,136 @@ import { ApprovalCommentEntity, ApprovalDecisionEnum, ApprovalRequestEntity, App
2
2
  import { WorkflowDefinitionEntity, WorkflowStatusEnum, WorkflowTriggerTypeEnum } from "./workflow.js";
3
3
  import { ApprovalModeEnum, StepTypeEnum, WorkflowStepEntity } from "./step.js";
4
4
  import { InstanceStatusEnum, StepExecutionEntity, StepExecutionStatusEnum, WorkflowInstanceEntity } from "./instance.js";
5
- import * as _contractspec_lib_schema66 from "@contractspec/lib.schema";
5
+ import * as _contractspec_lib_schema305 from "@contractspec/lib.schema";
6
6
  import { ModuleSchemaContribution } from "@contractspec/lib.schema";
7
7
 
8
8
  //#region src/entities/index.d.ts
9
- declare const workflowSystemEntities: (_contractspec_lib_schema66.EntitySpec<{
10
- id: _contractspec_lib_schema66.EntityScalarField;
11
- workflowInstanceId: _contractspec_lib_schema66.EntityScalarField;
12
- stepExecutionId: _contractspec_lib_schema66.EntityScalarField;
13
- approverId: _contractspec_lib_schema66.EntityScalarField;
14
- approverRole: _contractspec_lib_schema66.EntityScalarField;
15
- title: _contractspec_lib_schema66.EntityScalarField;
16
- description: _contractspec_lib_schema66.EntityScalarField;
17
- status: _contractspec_lib_schema66.EntityEnumField;
18
- decision: _contractspec_lib_schema66.EntityEnumField;
19
- decisionComment: _contractspec_lib_schema66.EntityScalarField;
20
- decidedAt: _contractspec_lib_schema66.EntityScalarField;
21
- delegatedTo: _contractspec_lib_schema66.EntityScalarField;
22
- delegationReason: _contractspec_lib_schema66.EntityScalarField;
23
- escalationLevel: _contractspec_lib_schema66.EntityScalarField;
24
- escalatedAt: _contractspec_lib_schema66.EntityScalarField;
25
- dueAt: _contractspec_lib_schema66.EntityScalarField;
26
- reminderSentAt: _contractspec_lib_schema66.EntityScalarField;
27
- contextSnapshot: _contractspec_lib_schema66.EntityScalarField;
28
- sequenceOrder: _contractspec_lib_schema66.EntityScalarField;
29
- createdAt: _contractspec_lib_schema66.EntityScalarField;
30
- updatedAt: _contractspec_lib_schema66.EntityScalarField;
31
- workflowInstance: _contractspec_lib_schema66.EntityRelationField;
32
- stepExecution: _contractspec_lib_schema66.EntityRelationField;
33
- }> | _contractspec_lib_schema66.EntitySpec<{
34
- id: _contractspec_lib_schema66.EntityScalarField;
35
- approvalRequestId: _contractspec_lib_schema66.EntityScalarField;
36
- authorId: _contractspec_lib_schema66.EntityScalarField;
37
- content: _contractspec_lib_schema66.EntityScalarField;
38
- isInternal: _contractspec_lib_schema66.EntityScalarField;
39
- createdAt: _contractspec_lib_schema66.EntityScalarField;
40
- updatedAt: _contractspec_lib_schema66.EntityScalarField;
41
- approvalRequest: _contractspec_lib_schema66.EntityRelationField;
42
- }> | _contractspec_lib_schema66.EntitySpec<{
43
- id: _contractspec_lib_schema66.EntityScalarField;
44
- name: _contractspec_lib_schema66.EntityScalarField;
45
- key: _contractspec_lib_schema66.EntityScalarField;
46
- description: _contractspec_lib_schema66.EntityScalarField;
47
- version: _contractspec_lib_schema66.EntityScalarField;
48
- status: _contractspec_lib_schema66.EntityEnumField;
49
- triggerType: _contractspec_lib_schema66.EntityEnumField;
50
- triggerConfig: _contractspec_lib_schema66.EntityScalarField;
51
- initialStepId: _contractspec_lib_schema66.EntityScalarField;
52
- featureFlagKey: _contractspec_lib_schema66.EntityScalarField;
53
- settings: _contractspec_lib_schema66.EntityScalarField;
54
- metadata: _contractspec_lib_schema66.EntityScalarField;
55
- organizationId: _contractspec_lib_schema66.EntityScalarField;
56
- createdBy: _contractspec_lib_schema66.EntityScalarField;
57
- createdAt: _contractspec_lib_schema66.EntityScalarField;
58
- updatedAt: _contractspec_lib_schema66.EntityScalarField;
59
- publishedAt: _contractspec_lib_schema66.EntityScalarField;
60
- steps: _contractspec_lib_schema66.EntityRelationField;
61
- instances: _contractspec_lib_schema66.EntityRelationField;
62
- }> | _contractspec_lib_schema66.EntitySpec<{
63
- id: _contractspec_lib_schema66.EntityScalarField;
64
- workflowDefinitionId: _contractspec_lib_schema66.EntityScalarField;
65
- name: _contractspec_lib_schema66.EntityScalarField;
66
- key: _contractspec_lib_schema66.EntityScalarField;
67
- description: _contractspec_lib_schema66.EntityScalarField;
68
- type: _contractspec_lib_schema66.EntityEnumField;
69
- position: _contractspec_lib_schema66.EntityScalarField;
70
- transitions: _contractspec_lib_schema66.EntityScalarField;
71
- approvalMode: _contractspec_lib_schema66.EntityEnumField;
72
- approverRoles: _contractspec_lib_schema66.EntityScalarField;
73
- approverUserIds: _contractspec_lib_schema66.EntityScalarField;
74
- escalationConfig: _contractspec_lib_schema66.EntityScalarField;
75
- assigneeRoles: _contractspec_lib_schema66.EntityScalarField;
76
- taskTemplate: _contractspec_lib_schema66.EntityScalarField;
77
- conditionExpression: _contractspec_lib_schema66.EntityScalarField;
78
- waitDuration: _contractspec_lib_schema66.EntityScalarField;
79
- waitForEvent: _contractspec_lib_schema66.EntityScalarField;
80
- actionType: _contractspec_lib_schema66.EntityScalarField;
81
- actionConfig: _contractspec_lib_schema66.EntityScalarField;
82
- timeoutSeconds: _contractspec_lib_schema66.EntityScalarField;
83
- slaSeconds: _contractspec_lib_schema66.EntityScalarField;
84
- notifyOnEnter: _contractspec_lib_schema66.EntityScalarField;
85
- notifyOnExit: _contractspec_lib_schema66.EntityScalarField;
86
- metadata: _contractspec_lib_schema66.EntityScalarField;
87
- createdAt: _contractspec_lib_schema66.EntityScalarField;
88
- updatedAt: _contractspec_lib_schema66.EntityScalarField;
89
- workflowDefinition: _contractspec_lib_schema66.EntityRelationField;
90
- executions: _contractspec_lib_schema66.EntityRelationField;
91
- }> | _contractspec_lib_schema66.EntitySpec<{
92
- id: _contractspec_lib_schema66.EntityScalarField;
93
- workflowDefinitionId: _contractspec_lib_schema66.EntityScalarField;
94
- referenceId: _contractspec_lib_schema66.EntityScalarField;
95
- referenceType: _contractspec_lib_schema66.EntityScalarField;
96
- status: _contractspec_lib_schema66.EntityEnumField;
97
- currentStepId: _contractspec_lib_schema66.EntityScalarField;
98
- contextData: _contractspec_lib_schema66.EntityScalarField;
99
- triggeredBy: _contractspec_lib_schema66.EntityScalarField;
100
- triggerSource: _contractspec_lib_schema66.EntityScalarField;
101
- organizationId: _contractspec_lib_schema66.EntityScalarField;
102
- priority: _contractspec_lib_schema66.EntityScalarField;
103
- dueAt: _contractspec_lib_schema66.EntityScalarField;
104
- outcome: _contractspec_lib_schema66.EntityScalarField;
105
- resultData: _contractspec_lib_schema66.EntityScalarField;
106
- errorMessage: _contractspec_lib_schema66.EntityScalarField;
107
- createdAt: _contractspec_lib_schema66.EntityScalarField;
108
- updatedAt: _contractspec_lib_schema66.EntityScalarField;
109
- startedAt: _contractspec_lib_schema66.EntityScalarField;
110
- completedAt: _contractspec_lib_schema66.EntityScalarField;
111
- workflowDefinition: _contractspec_lib_schema66.EntityRelationField;
112
- currentStep: _contractspec_lib_schema66.EntityRelationField;
113
- stepExecutions: _contractspec_lib_schema66.EntityRelationField;
114
- approvalRequests: _contractspec_lib_schema66.EntityRelationField;
115
- }> | _contractspec_lib_schema66.EntitySpec<{
116
- id: _contractspec_lib_schema66.EntityScalarField;
117
- workflowInstanceId: _contractspec_lib_schema66.EntityScalarField;
118
- workflowStepId: _contractspec_lib_schema66.EntityScalarField;
119
- status: _contractspec_lib_schema66.EntityEnumField;
120
- executionOrder: _contractspec_lib_schema66.EntityScalarField;
121
- inputData: _contractspec_lib_schema66.EntityScalarField;
122
- outputData: _contractspec_lib_schema66.EntityScalarField;
123
- actionTaken: _contractspec_lib_schema66.EntityScalarField;
124
- transitionedTo: _contractspec_lib_schema66.EntityScalarField;
125
- executedBy: _contractspec_lib_schema66.EntityScalarField;
126
- errorMessage: _contractspec_lib_schema66.EntityScalarField;
127
- errorDetails: _contractspec_lib_schema66.EntityScalarField;
128
- retryCount: _contractspec_lib_schema66.EntityScalarField;
129
- createdAt: _contractspec_lib_schema66.EntityScalarField;
130
- updatedAt: _contractspec_lib_schema66.EntityScalarField;
131
- startedAt: _contractspec_lib_schema66.EntityScalarField;
132
- completedAt: _contractspec_lib_schema66.EntityScalarField;
133
- workflowInstance: _contractspec_lib_schema66.EntityRelationField;
134
- workflowStep: _contractspec_lib_schema66.EntityRelationField;
9
+ declare const workflowSystemEntities: (_contractspec_lib_schema305.EntitySpec<{
10
+ id: _contractspec_lib_schema305.EntityScalarField;
11
+ name: _contractspec_lib_schema305.EntityScalarField;
12
+ key: _contractspec_lib_schema305.EntityScalarField;
13
+ description: _contractspec_lib_schema305.EntityScalarField;
14
+ version: _contractspec_lib_schema305.EntityScalarField;
15
+ status: _contractspec_lib_schema305.EntityEnumField;
16
+ triggerType: _contractspec_lib_schema305.EntityEnumField;
17
+ triggerConfig: _contractspec_lib_schema305.EntityScalarField;
18
+ initialStepId: _contractspec_lib_schema305.EntityScalarField;
19
+ featureFlagKey: _contractspec_lib_schema305.EntityScalarField;
20
+ settings: _contractspec_lib_schema305.EntityScalarField;
21
+ metadata: _contractspec_lib_schema305.EntityScalarField;
22
+ organizationId: _contractspec_lib_schema305.EntityScalarField;
23
+ createdBy: _contractspec_lib_schema305.EntityScalarField;
24
+ createdAt: _contractspec_lib_schema305.EntityScalarField;
25
+ updatedAt: _contractspec_lib_schema305.EntityScalarField;
26
+ publishedAt: _contractspec_lib_schema305.EntityScalarField;
27
+ steps: _contractspec_lib_schema305.EntityRelationField;
28
+ instances: _contractspec_lib_schema305.EntityRelationField;
29
+ }> | _contractspec_lib_schema305.EntitySpec<{
30
+ id: _contractspec_lib_schema305.EntityScalarField;
31
+ workflowInstanceId: _contractspec_lib_schema305.EntityScalarField;
32
+ stepExecutionId: _contractspec_lib_schema305.EntityScalarField;
33
+ approverId: _contractspec_lib_schema305.EntityScalarField;
34
+ approverRole: _contractspec_lib_schema305.EntityScalarField;
35
+ title: _contractspec_lib_schema305.EntityScalarField;
36
+ description: _contractspec_lib_schema305.EntityScalarField;
37
+ status: _contractspec_lib_schema305.EntityEnumField;
38
+ decision: _contractspec_lib_schema305.EntityEnumField;
39
+ decisionComment: _contractspec_lib_schema305.EntityScalarField;
40
+ decidedAt: _contractspec_lib_schema305.EntityScalarField;
41
+ delegatedTo: _contractspec_lib_schema305.EntityScalarField;
42
+ delegationReason: _contractspec_lib_schema305.EntityScalarField;
43
+ escalationLevel: _contractspec_lib_schema305.EntityScalarField;
44
+ escalatedAt: _contractspec_lib_schema305.EntityScalarField;
45
+ dueAt: _contractspec_lib_schema305.EntityScalarField;
46
+ reminderSentAt: _contractspec_lib_schema305.EntityScalarField;
47
+ contextSnapshot: _contractspec_lib_schema305.EntityScalarField;
48
+ sequenceOrder: _contractspec_lib_schema305.EntityScalarField;
49
+ createdAt: _contractspec_lib_schema305.EntityScalarField;
50
+ updatedAt: _contractspec_lib_schema305.EntityScalarField;
51
+ workflowInstance: _contractspec_lib_schema305.EntityRelationField;
52
+ stepExecution: _contractspec_lib_schema305.EntityRelationField;
53
+ }> | _contractspec_lib_schema305.EntitySpec<{
54
+ id: _contractspec_lib_schema305.EntityScalarField;
55
+ approvalRequestId: _contractspec_lib_schema305.EntityScalarField;
56
+ authorId: _contractspec_lib_schema305.EntityScalarField;
57
+ content: _contractspec_lib_schema305.EntityScalarField;
58
+ isInternal: _contractspec_lib_schema305.EntityScalarField;
59
+ createdAt: _contractspec_lib_schema305.EntityScalarField;
60
+ updatedAt: _contractspec_lib_schema305.EntityScalarField;
61
+ approvalRequest: _contractspec_lib_schema305.EntityRelationField;
62
+ }> | _contractspec_lib_schema305.EntitySpec<{
63
+ id: _contractspec_lib_schema305.EntityScalarField;
64
+ workflowDefinitionId: _contractspec_lib_schema305.EntityScalarField;
65
+ name: _contractspec_lib_schema305.EntityScalarField;
66
+ key: _contractspec_lib_schema305.EntityScalarField;
67
+ description: _contractspec_lib_schema305.EntityScalarField;
68
+ type: _contractspec_lib_schema305.EntityEnumField;
69
+ position: _contractspec_lib_schema305.EntityScalarField;
70
+ transitions: _contractspec_lib_schema305.EntityScalarField;
71
+ approvalMode: _contractspec_lib_schema305.EntityEnumField;
72
+ approverRoles: _contractspec_lib_schema305.EntityScalarField;
73
+ approverUserIds: _contractspec_lib_schema305.EntityScalarField;
74
+ escalationConfig: _contractspec_lib_schema305.EntityScalarField;
75
+ assigneeRoles: _contractspec_lib_schema305.EntityScalarField;
76
+ taskTemplate: _contractspec_lib_schema305.EntityScalarField;
77
+ conditionExpression: _contractspec_lib_schema305.EntityScalarField;
78
+ waitDuration: _contractspec_lib_schema305.EntityScalarField;
79
+ waitForEvent: _contractspec_lib_schema305.EntityScalarField;
80
+ actionType: _contractspec_lib_schema305.EntityScalarField;
81
+ actionConfig: _contractspec_lib_schema305.EntityScalarField;
82
+ timeoutSeconds: _contractspec_lib_schema305.EntityScalarField;
83
+ slaSeconds: _contractspec_lib_schema305.EntityScalarField;
84
+ notifyOnEnter: _contractspec_lib_schema305.EntityScalarField;
85
+ notifyOnExit: _contractspec_lib_schema305.EntityScalarField;
86
+ metadata: _contractspec_lib_schema305.EntityScalarField;
87
+ createdAt: _contractspec_lib_schema305.EntityScalarField;
88
+ updatedAt: _contractspec_lib_schema305.EntityScalarField;
89
+ workflowDefinition: _contractspec_lib_schema305.EntityRelationField;
90
+ executions: _contractspec_lib_schema305.EntityRelationField;
91
+ }> | _contractspec_lib_schema305.EntitySpec<{
92
+ id: _contractspec_lib_schema305.EntityScalarField;
93
+ workflowDefinitionId: _contractspec_lib_schema305.EntityScalarField;
94
+ referenceId: _contractspec_lib_schema305.EntityScalarField;
95
+ referenceType: _contractspec_lib_schema305.EntityScalarField;
96
+ status: _contractspec_lib_schema305.EntityEnumField;
97
+ currentStepId: _contractspec_lib_schema305.EntityScalarField;
98
+ contextData: _contractspec_lib_schema305.EntityScalarField;
99
+ triggeredBy: _contractspec_lib_schema305.EntityScalarField;
100
+ triggerSource: _contractspec_lib_schema305.EntityScalarField;
101
+ organizationId: _contractspec_lib_schema305.EntityScalarField;
102
+ priority: _contractspec_lib_schema305.EntityScalarField;
103
+ dueAt: _contractspec_lib_schema305.EntityScalarField;
104
+ outcome: _contractspec_lib_schema305.EntityScalarField;
105
+ resultData: _contractspec_lib_schema305.EntityScalarField;
106
+ errorMessage: _contractspec_lib_schema305.EntityScalarField;
107
+ createdAt: _contractspec_lib_schema305.EntityScalarField;
108
+ updatedAt: _contractspec_lib_schema305.EntityScalarField;
109
+ startedAt: _contractspec_lib_schema305.EntityScalarField;
110
+ completedAt: _contractspec_lib_schema305.EntityScalarField;
111
+ workflowDefinition: _contractspec_lib_schema305.EntityRelationField;
112
+ currentStep: _contractspec_lib_schema305.EntityRelationField;
113
+ stepExecutions: _contractspec_lib_schema305.EntityRelationField;
114
+ approvalRequests: _contractspec_lib_schema305.EntityRelationField;
115
+ }> | _contractspec_lib_schema305.EntitySpec<{
116
+ id: _contractspec_lib_schema305.EntityScalarField;
117
+ workflowInstanceId: _contractspec_lib_schema305.EntityScalarField;
118
+ workflowStepId: _contractspec_lib_schema305.EntityScalarField;
119
+ status: _contractspec_lib_schema305.EntityEnumField;
120
+ executionOrder: _contractspec_lib_schema305.EntityScalarField;
121
+ inputData: _contractspec_lib_schema305.EntityScalarField;
122
+ outputData: _contractspec_lib_schema305.EntityScalarField;
123
+ actionTaken: _contractspec_lib_schema305.EntityScalarField;
124
+ transitionedTo: _contractspec_lib_schema305.EntityScalarField;
125
+ executedBy: _contractspec_lib_schema305.EntityScalarField;
126
+ errorMessage: _contractspec_lib_schema305.EntityScalarField;
127
+ errorDetails: _contractspec_lib_schema305.EntityScalarField;
128
+ retryCount: _contractspec_lib_schema305.EntityScalarField;
129
+ createdAt: _contractspec_lib_schema305.EntityScalarField;
130
+ updatedAt: _contractspec_lib_schema305.EntityScalarField;
131
+ startedAt: _contractspec_lib_schema305.EntityScalarField;
132
+ completedAt: _contractspec_lib_schema305.EntityScalarField;
133
+ workflowInstance: _contractspec_lib_schema305.EntityRelationField;
134
+ workflowStep: _contractspec_lib_schema305.EntityRelationField;
135
135
  }>)[];
136
136
  declare const workflowSystemSchemaContribution: ModuleSchemaContribution;
137
137
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/entities/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA+Ca,oDAAsB;MAOlC,0BAAA,CAAA;;EAPY,eAAA,8CAOZ;EAAA,UAAA,8CAAA;;;;;;;;;;;;;;;;;;;;;MAPkC,0BAAA,CAAA;;wDAAA;EAAA,OAAA,8CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStB,kCAAkC"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/entities/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA+Ca,qDAAsB;MAOlC,2BAAA,CAAA;;EAPY,GAAA,+CAOZ;EAAA,WAAA,+CAAA;;;;;;;;;;;;;;;;;MAPkC,2BAAA,CAAA;;gEAAA;EAAA,UAAA,+CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStB,kCAAkC"}