@coast/core-api-types 1.2.231 → 1.2.233

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 { Component } from '../Component';
2
- export interface StaticTextComponent extends Component {
2
+ import { ComponentType } from '../ComponentType';
3
+ export interface StaticTextComponent extends Component<ComponentType.STATIC_TEXT> {
3
4
  text: string;
4
5
  }
@@ -1,8 +1,7 @@
1
1
  import { ComponentType } from '../ComponentType';
2
2
  import { InputComponent } from '../InputComponent';
3
- import { InputComponentType } from '../InputComponentType';
4
3
  import { TextDefault } from './TextDefault';
5
- export interface TextComponent<T extends InputComponentType = ComponentType.TEXT> extends InputComponent<T> {
4
+ export interface TextComponent<T extends ComponentType.AUDIT_TEXT | ComponentType.TEXT = ComponentType.TEXT> extends InputComponent<T> {
6
5
  default?: TextDefault;
7
6
  isDefaultSortComponent?: boolean;
8
7
  maxlength: number;
@@ -0,0 +1,6 @@
1
+ import { RecurrenceOffsetUnit } from './RecurrenceOffsetUnit';
2
+ export interface RecurrenceOffset {
3
+ unit: RecurrenceOffsetUnit;
4
+ value: number;
5
+ initialDate: Date;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RecurrenceOffset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecurrenceOffset.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/entities/recurring/RecurrenceOffset.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export declare enum RecurrenceOffsetUnit {
2
+ DAY = "DAY",
3
+ MONTH = "MONTH",
4
+ WEEK = "WEEK",
5
+ YEAR = "YEAR"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecurrenceOffsetUnit = void 0;
4
+ var RecurrenceOffsetUnit;
5
+ (function (RecurrenceOffsetUnit) {
6
+ RecurrenceOffsetUnit["DAY"] = "DAY";
7
+ RecurrenceOffsetUnit["MONTH"] = "MONTH";
8
+ RecurrenceOffsetUnit["WEEK"] = "WEEK";
9
+ RecurrenceOffsetUnit["YEAR"] = "YEAR";
10
+ })(RecurrenceOffsetUnit || (exports.RecurrenceOffsetUnit = RecurrenceOffsetUnit = {}));
11
+ //# sourceMappingURL=RecurrenceOffsetUnit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecurrenceOffsetUnit.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/entities/recurring/RecurrenceOffsetUnit.ts"],"names":[],"mappings":";;;AACA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC5B,mCAAW,CAAA;IACX,uCAAe,CAAA;IACf,qCAAa,CAAA;IACb,qCAAa,CAAA;AACjB,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"}
@@ -0,0 +1,2 @@
1
+ export interface RecurrenceOffsetUtils {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RecurrenceOffsetUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecurrenceOffsetUtils.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/entities/recurring/RecurrenceOffsetUtils.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export declare enum RecurrenceType {
2
+ OFFSET = "OFFSET",
3
+ RRULE_SCHEDULE = "RRULE_SCHEDULE"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecurrenceType = void 0;
4
+ var RecurrenceType;
5
+ (function (RecurrenceType) {
6
+ RecurrenceType["OFFSET"] = "OFFSET";
7
+ RecurrenceType["RRULE_SCHEDULE"] = "RRULE_SCHEDULE";
8
+ })(RecurrenceType || (exports.RecurrenceType = RecurrenceType = {}));
9
+ //# sourceMappingURL=RecurrenceType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecurrenceType.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/entities/recurring/RecurrenceType.ts"],"names":[],"mappings":";;;AACA,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,mCAAiB,CAAA;IACjB,mDAAiC,CAAA;AACrC,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
@@ -1,13 +1,17 @@
1
1
  import { Audit } from '../../../application/Audit';
2
2
  import { RRuleString } from '../../../common/RRuleString';
3
3
  import { WorkflowTemplateId } from '../../WorkflowTemplateId';
4
+ import { RecurrenceOffset } from './RecurrenceOffset';
5
+ import { RecurrenceType } from './RecurrenceType';
4
6
  import { RecurringEntitiesExtend } from './RecurringEntitiesExtend';
5
7
  import { RecurringEntitiesScheduleId } from './RecurringEntitiesScheduleId';
6
8
  export interface RecurringEntitiesSchedule extends Audit {
7
9
  dateComponentId: string;
8
10
  id: RecurringEntitiesScheduleId;
9
11
  name: string;
10
- rrule: RRuleString;
12
+ rrule?: RRuleString;
13
+ offset?: RecurrenceOffset;
14
+ type: RecurrenceType;
11
15
  workflowTemplateId: WorkflowTemplateId;
12
16
  extend?: RecurringEntitiesExtend;
13
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.231",
3
+ "version": "1.2.233",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {