@bondsports/types 2.2.107 → 2.2.109
Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
35
35
|
creatorId?: number;
|
36
36
|
creatorType?: ResourceNameTypeEnum;
|
37
37
|
userCreatorId?: number;
|
38
|
-
title
|
38
|
+
title: string;
|
39
39
|
startDate: Date;
|
40
40
|
endDate: Date;
|
41
41
|
startTime: string;
|
@@ -66,6 +66,7 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
66
66
|
conflictsCount?: number;
|
67
67
|
conflicts?: Slot[];
|
68
68
|
maintenance?: Slot[];
|
69
|
+
maintenanceSlots?: Slot[];
|
69
70
|
addonsProductUserIds?: number[] | null;
|
70
71
|
addonsMetadata: IAddonMetadata[];
|
71
72
|
activityTypes?: number[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAsBjG,MAAa,IAAK,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAsBjG,MAAa,IAAK,SAAQ,mEAAgC;CAuHzD;AAvHD,oBAuHC"}
|
@@ -65,19 +65,14 @@ export interface ICreateSlotsOptions {
|
|
65
65
|
overrideProduct?: Product;
|
66
66
|
spaceProducts?: Product[];
|
67
67
|
}
|
68
|
-
export interface
|
69
|
-
id: string;
|
68
|
+
export interface IBaseSlot {
|
70
69
|
organizationId?: number;
|
71
|
-
reservationId?: string;
|
72
|
-
segmentId?: string;
|
73
|
-
seriesId?: string;
|
74
70
|
startDate: string;
|
75
71
|
startTime?: string;
|
76
72
|
endDate?: string;
|
77
73
|
endTime?: string;
|
78
74
|
spaceId: number;
|
79
75
|
instructorsIds?: number[];
|
80
|
-
eventId?: number;
|
81
76
|
title: string;
|
82
77
|
creatorId?: number;
|
83
78
|
creatorType?: ResourceNameTypeEnum;
|
@@ -87,7 +82,6 @@ export interface IDraftSlot {
|
|
87
82
|
privateNotes?: string;
|
88
83
|
slotType: SlotTypeEnum;
|
89
84
|
sportIds: SportsEnum[];
|
90
|
-
parentSlotId?: string;
|
91
85
|
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
92
86
|
maintenanceTiming?: MaintenanceTimingEnum;
|
93
87
|
durationValue?: number;
|
@@ -100,11 +94,18 @@ export interface IDraftSlot {
|
|
100
94
|
participantsIds?: number[];
|
101
95
|
colorCodeId?: number;
|
102
96
|
conflictsIds?: number[];
|
103
|
-
maintenanceSlots?: IDraftSlot[];
|
104
|
-
addons?: DraftAddonDto[];
|
105
97
|
product?: Product;
|
106
98
|
productMetadata?: ISlotProductMetadata;
|
107
99
|
}
|
100
|
+
export interface IDraftSlot extends IBaseSlot {
|
101
|
+
id: string;
|
102
|
+
reservationId?: string;
|
103
|
+
segmentId?: string;
|
104
|
+
seriesId?: string;
|
105
|
+
parentSlotId?: string;
|
106
|
+
maintenanceSlots?: IDraftSlot[];
|
107
|
+
addons?: DraftAddonDto[];
|
108
|
+
}
|
108
109
|
export interface ITimeSlot {
|
109
110
|
id?: string | number;
|
110
111
|
/**
|