@coast/core-api-types 1.2.309 → 1.2.311

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.
@@ -1,4 +1,5 @@
1
1
  import { UserId } from '@coast/core-types/user/UserId';
2
+ import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
2
3
  import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
3
4
  import { EntityAuditTrailEntry } from './EntityAuditTrailEntry';
4
5
  export interface EntityAuditTrailEvent {
@@ -9,4 +10,5 @@ export interface EntityAuditTrailEvent {
9
10
  userId: UserId;
10
11
  originUserId?: UserId;
11
12
  workflowTemplateId: WorkflowTemplateId;
13
+ viewTemplateId?: ViewTemplateId;
12
14
  }
@@ -11,7 +11,7 @@ import { Component } from './components/Component';
11
11
  export interface WorkflowTemplate extends DataEntity, Audit {
12
12
  archivedComponents?: Component[];
13
13
  behavior?: WorkflowTemplateBehavior;
14
- businessId?: BusinessId;
14
+ businessId: BusinessId;
15
15
  cardDefinition?: CardDefinition;
16
16
  channelDefaultConfiguration?: ChannelDefaultConfiguration;
17
17
  components: Component[];
@@ -4,6 +4,7 @@ import { AuditTagComponentData } from './audit-tag/AuditTagComponentData';
4
4
  import { AuditTextComponentData } from './audit-text/AuditTextComponentData';
5
5
  import { DateComponentData } from './date/DateComponentData';
6
6
  import { EmailComponentData } from './email/EmailComponentData';
7
+ import { EntityBatchComponentData } from './enitty-batch/EntityBatchComponentData';
7
8
  import { FileComponentData } from './file/FileComponentData';
8
9
  import { GeolocationComponentData } from './geo-location/GeolocationComponentData';
9
10
  import { NumberComponentData } from './number/NumberComponentData';
@@ -17,4 +18,4 @@ import { TextComponentData } from './text/TextComponentData';
17
18
  import { TimeTrackerComponentData } from './time-tracker/TimeTrackerComponentData';
18
19
  import { TodoComponentData } from './todo/TodoComponentData';
19
20
  import { UrlComponentData } from './url/UrlComponentData';
20
- export type AnyComponentDataValue = AddressComponentData['addressComponentDataValue'] | AuditCheckboxComponentData['auditCheckboxComponentDataValue'] | AuditTagComponentData['auditTagComponentDataValue'] | AuditTextComponentData['auditTextComponentDataValue'] | DateComponentData['dateComponentDataValue'] | EmailComponentData['emailComponentDataValue'] | FileComponentData['fileComponentDataValue'] | GeolocationComponentData['geolocationComponentDataValue'] | NumberComponentData['numberComponentDataValue'] | PersonComponentData['personComponentDataValue'] | RelatedCardComponentData['relatedCardComponentDataValue'] | ScheduledAutomationComponentData['scheduledAutomationComponentDataValue'] | SignatureComponentData['signatureComponentDataValue'] | SubformComponentData['subformComponentDataValue'] | TagComponentData['tagComponentDataValue'] | TextComponentData['textComponentDataValue'] | TimeTrackerComponentData['timeTrackerComponentDataValue'] | TodoComponentData['todoComponentDataValue'] | UrlComponentData['urlComponentDataValue'];
21
+ export type AnyComponentDataValue = AddressComponentData['addressComponentDataValue'] | AuditCheckboxComponentData['auditCheckboxComponentDataValue'] | AuditTagComponentData['auditTagComponentDataValue'] | AuditTextComponentData['auditTextComponentDataValue'] | DateComponentData['dateComponentDataValue'] | EmailComponentData['emailComponentDataValue'] | EntityBatchComponentData['entityBatchId'] | FileComponentData['fileComponentDataValue'] | GeolocationComponentData['geolocationComponentDataValue'] | NumberComponentData['numberComponentDataValue'] | PersonComponentData['personComponentDataValue'] | RelatedCardComponentData['relatedCardComponentDataValue'] | ScheduledAutomationComponentData['scheduledAutomationComponentDataValue'] | SignatureComponentData['signatureComponentDataValue'] | SubformComponentData['subformComponentDataValue'] | TagComponentData['tagComponentDataValue'] | TextComponentData['textComponentDataValue'] | TimeTrackerComponentData['timeTrackerComponentDataValue'] | TodoComponentData['todoComponentDataValue'] | UrlComponentData['urlComponentDataValue'];
@@ -60,6 +60,7 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
60
60
  'ComponentUtils',
61
61
  'ComponentForType',
62
62
  'ComponentOverrideForType',
63
+ 'ComponentDataForType',
63
64
  'ComponentMap',
64
65
  'ComponentClassTransformerTypeArgs',
65
66
  'ComponentOverrideMap',
@@ -97,6 +98,7 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
97
98
  'DuplicationResultGqlUnion',
98
99
  'PublicBundleMap',
99
100
  'PublicBundleGqlUnion',
101
+ 'ComponentTypeRegistry',
100
102
  ],
101
103
  includeExternalPackages: dependencies,
102
104
  excludeInternalPackages: [/\/application\/validation\/*/, /validation/],
@@ -1 +1 @@
1
- {"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,MAAY,IAAI,iCAAa;AAE7B,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAE5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,kDAAkD,CAAC,CAAC,CAAC,YAAY,CACpG,CAAC;AAEF,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,yBAAyB;QACzB,iBAAiB;QACjB,gCAAgC;QAChC,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB;QACpB,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB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;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,yBAAyB;QACzB,iBAAiB;QACjB,gCAAgC;QAChC,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB;QACpB,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB,0BAA0B;QAC1B,sBAAsB;QACtB,cAAc;QACd,mCAAmC;QACnC,sBAAsB;QACtB,2BAA2B;QAC3B,2CAA2C;QAC3C,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,0BAA0B;QAC1B,eAAe;QACf,oBAAoB;QACpB,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,0BAA0B;QAC1B,0BAA0B;QAC1B,6BAA6B;QAC7B,kCAAkC;QAClC,iCAAiC;QACjC,wBAAwB;QACxB,6BAA6B;QAC7B,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,2BAA2B;QAC3B,gCAAgC;QAChC,gCAAgC;QAChC,yBAAyB;QACzB,+BAA+B;QAC/B,8BAA8B;QAC9B,oCAAoC;QACpC,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,2BAA2B;QAC3B,iBAAiB;QACjB,sBAAsB;QACtB,uBAAuB;KAC1B;IACD,uBAAuB,EAAE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.309",
3
+ "version": "1.2.311",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ComponentTypeDataMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComponentTypeDataMap.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/ComponentTypeDataMap.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ComponentTypeRegistry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComponentTypeRegistry.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/ComponentTypeRegistry.ts"],"names":[],"mappings":""}