@bondsports/types 2.2.108 → 2.2.109
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
/**
|