@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.
- package/dist/models/user/CreateUser.d.ts +1 -1
- package/dist/models/utils/DeepPartial.d.ts +1 -1
- package/dist/models/workflow-template/entities/recurring/RecurringEntitiesAutoExtend.d.ts +7 -0
- package/dist/models/workflow-template/entities/recurring/RecurringEntitiesAutoExtend.js +3 -0
- package/dist/models/workflow-template/entities/recurring/RecurringEntitiesAutoExtend.js.map +1 -0
- package/dist/models/workflow-template/entities/recurring/RecurringEntitiesSchedule.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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
|
|
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 @@
|
|
|
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
|
}
|