@coast/core-api-types 1.2.346 → 1.2.347
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/models/automations/action/SendEmailAction.d.ts +2 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutItem.d.ts +2 -2
- package/dist/models/view-template-layout/items/ViewTemplateLayoutComponent.d.ts +2 -1
- package/dist/models/view-template-layout/items/ViewTemplateLayoutSection.d.ts +2 -1
- package/dist/models/workflow-template/components/date-range/DateRangeComponentDataValue.d.ts +2 -1
- package/dist/scripts/generateTypes.js +1 -1
- package/dist/scripts/generateTypes.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
3
|
import { SendEmailActionSettings } from './settings/SendEmailActionSettings';
|
|
3
|
-
export interface SendEmailAction extends Omit<AutomationAction
|
|
4
|
+
export interface SendEmailAction extends Omit<AutomationAction<AutomationActionType.SEND_EMAIL>, 'settings'> {
|
|
4
5
|
settings?: SendEmailActionSettings;
|
|
5
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ViewTemplateLayoutItemId } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemId';
|
|
2
2
|
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
3
3
|
import type { ViewTemplateLayout } from './ViewTemplateLayout';
|
|
4
|
-
export interface ViewTemplateLayoutItem {
|
|
4
|
+
export interface ViewTemplateLayoutItem<T extends ViewTemplateLayoutItemType = ViewTemplateLayoutItemType> {
|
|
5
5
|
id?: ViewTemplateLayoutItemId;
|
|
6
6
|
viewTemplateLayout?: ViewTemplateLayout;
|
|
7
7
|
displayOrder?: number;
|
|
8
|
-
type:
|
|
8
|
+
type: T;
|
|
9
9
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
1
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ViewTemplateLayoutItem } from '../ViewTemplateLayoutItem';
|
|
3
|
-
export interface ViewTemplateLayoutComponent extends ViewTemplateLayoutItem {
|
|
4
|
+
export interface ViewTemplateLayoutComponent extends ViewTemplateLayoutItem<ViewTemplateLayoutItemType.SINGLE_COMPONENT> {
|
|
4
5
|
componentId?: ComponentId;
|
|
5
6
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
1
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ViewTemplateLayoutItem } from '../ViewTemplateLayoutItem';
|
|
3
|
-
export interface ViewTemplateLayoutSection extends ViewTemplateLayoutItem {
|
|
4
|
+
export interface ViewTemplateLayoutSection extends ViewTemplateLayoutItem<ViewTemplateLayoutItemType.SECTION> {
|
|
4
5
|
title?: string;
|
|
5
6
|
isCollapsed?: boolean;
|
|
6
7
|
columnCount?: number;
|
package/dist/models/workflow-template/components/date-range/DateRangeComponentDataValue.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { TDateRangeComponentDataValue } from '@coast/core-types/workflow-template/components/date-range/TDateRangeComponentDataValue';
|
|
2
|
+
export interface DateRangeComponentDataValue extends TDateRangeComponentDataValue {
|
|
2
3
|
startDate?: Date;
|
|
3
4
|
endDate?: Date;
|
|
4
5
|
}
|
|
@@ -39,7 +39,7 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
|
|
|
39
39
|
(0, generateTypes_1.generateTypes)({
|
|
40
40
|
sourceDir: path.resolve(__dirname, '../../../core-models/src'),
|
|
41
41
|
destDir: path.resolve(__dirname, '../models'),
|
|
42
|
-
ignoreSourceDirectories: ['validation', 'access-management', 'test'],
|
|
42
|
+
ignoreSourceDirectories: ['validation', 'access-management', 'test', 'mappers'],
|
|
43
43
|
ignoreDestinationDirectoryFilePatterns: [
|
|
44
44
|
'scripts',
|
|
45
45
|
'Intersection.ts',
|
|
@@ -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;
|
|
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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|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.347",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.54",
|
|
27
27
|
"@coast/core-utils": "0.0.22",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.79",
|