@bondsports/types 2.2.108 → 2.2.110
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +0 -1
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +10 -9
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAsB5C;AAtBD,oCAsBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
|
@@ -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
|
/**
|