@coast/core-api-types 1.2.112 → 1.2.114

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.
@@ -2,7 +2,7 @@ import { BusinessMembership } from '../business/BusinessMembership';
2
2
  import { User } from './User';
3
3
  import { UserRole } from './UserRole';
4
4
  export interface CreateUser extends Omit<Partial<User>, 'businessMemberships'> {
5
- businessMemberships?: Partial<BusinessMembership>[];
5
+ businessMemberships?: Array<Partial<BusinessMembership>>;
6
6
  digestLastSent: Date;
7
7
  excludeFromAnalytics?: boolean;
8
8
  firstMessageSent?: boolean;
@@ -1,3 +1,3 @@
1
1
  export declare type DeepPartial<Entity> = {
2
- [P in keyof Entity]?: Entity[P] extends (infer U)[] ? DeepPartial<U>[] : Entity[P] extends ReadonlyArray<infer V> ? ReadonlyArray<DeepPartial<V>> : DeepPartial<Entity[P]>;
2
+ [P in keyof Entity]?: Entity[P] extends Array<infer U> ? Array<DeepPartial<U>> : Entity[P] extends ReadonlyArray<infer V> ? ReadonlyArray<DeepPartial<V>> : DeepPartial<Entity[P]>;
3
3
  };
@@ -0,0 +1,7 @@
1
+ import { EntityFields } from '../EntityFields';
2
+ import { FilterByComponent } from '../filters/FilterByComponent';
3
+ export interface RecurringEntitiesAutoExtend {
4
+ seriesFilter: FilterByComponent[];
5
+ minimumInSeries: number;
6
+ fields?: EntityFields;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RecurringEntitiesAutoExtend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecurringEntitiesAutoExtend.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/entities/recurring/RecurringEntitiesAutoExtend.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import { Audit } from '../../../application/Audit';
2
2
  import { WorkflowTemplateId } from '../../WorkflowTemplateId';
3
+ import { RecurringEntitiesAutoExtend } from './RecurringEntitiesAutoExtend';
3
4
  import { RecurringEntitiesScheduleId } from './RecurringEntitiesScheduleId';
4
5
  export interface RecurringEntitiesSchedule extends Audit {
5
6
  dateComponentId: string;
@@ -7,4 +8,5 @@ export interface RecurringEntitiesSchedule extends Audit {
7
8
  name: string;
8
9
  rrule: string;
9
10
  workflowTemplateId: WorkflowTemplateId;
11
+ autoExtend?: RecurringEntitiesAutoExtend;
10
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.112",
3
+ "version": "1.2.114",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {