@coast/core-api-types 1.2.310 → 1.2.312

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
  }
@@ -18,4 +18,4 @@ import { TextComponentData } from './text/TextComponentData';
18
18
  import { TimeTrackerComponentData } from './time-tracker/TimeTrackerComponentData';
19
19
  import { TodoComponentData } from './todo/TodoComponentData';
20
20
  import { UrlComponentData } from './url/UrlComponentData';
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'];
21
+ export type AnyComponentDataValue = AddressComponentData['addressComponentDataValue'] | AuditCheckboxComponentData['auditCheckboxComponentDataValue'] | AuditTagComponentData['auditTagComponentDataValue'] | AuditTextComponentData['auditTextComponentDataValue'] | DateComponentData['dateComponentDataValue'] | EmailComponentData['emailComponentDataValue'] | EntityBatchComponentData['entityBatchComponentDataValue'] | 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'];
@@ -2,5 +2,5 @@ import { RecurringEntitiesScheduleId } from '@coast/core-types/workflow-entity/r
2
2
  import { ComponentData } from '../ComponentData';
3
3
  export interface EntityBatchComponentData extends ComponentData {
4
4
  type: any;
5
- entityBatchId?: RecurringEntitiesScheduleId;
5
+ entityBatchComponentDataValue?: RecurringEntitiesScheduleId;
6
6
  }
@@ -28,7 +28,7 @@ export type InputComponentDataValueMap = Record<InputComponentType, AnyComponent
28
28
  [ComponentType.AUDIT_TEXT]: AuditTextComponentData['auditTextComponentDataValue'];
29
29
  [ComponentType.DATE]: DateComponentData['dateComponentDataValue'];
30
30
  [ComponentType.EMAIL]: EmailComponentData['emailComponentDataValue'];
31
- [ComponentType.ENTITY_BATCH]: EntityBatchComponentData['entityBatchId'];
31
+ [ComponentType.ENTITY_BATCH]: EntityBatchComponentData['entityBatchComponentDataValue'];
32
32
  [ComponentType.FILE]: FileComponentData['fileComponentDataValue'];
33
33
  [ComponentType.GEOLOCATION]: GeolocationComponentData['geolocationComponentDataValue'];
34
34
  [ComponentType.NUMBER]: NumberComponentData['numberComponentDataValue'];
@@ -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,2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E,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.310",
3
+ "version": "1.2.312",
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":""}