@myclub_se/data-access 2.2.2 → 2.2.3
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/esm2020/lib/api-models/api-booking-calendar-slot-session.mjs +1 -1
- package/esm2020/lib/api-models/api-booking-calendar-slot.mjs +1 -1
- package/esm2020/lib/api-models/api-member-team.mjs +1 -1
- package/esm2020/lib/models/booking-calendar-slot-session.mjs +5 -3
- package/esm2020/lib/models/booking-calendar-slot.mjs +4 -2
- package/esm2020/lib/models/member-team.mjs +3 -2
- package/esm2020/lib/services/factories/booking-calendar-slot-factory.mjs +2 -2
- package/esm2020/lib/services/factories/booking-calendar-slot-session-factory.mjs +2 -2
- package/esm2020/lib/services/factories/member-team-factory.mjs +2 -2
- package/fesm2015/myclub_se-data-access.mjs +12 -7
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +12 -7
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-booking-calendar-slot-session.d.ts +1 -0
- package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
- package/lib/api-models/api-member-team.d.ts +1 -0
- package/lib/models/booking-calendar-slot-session.d.ts +3 -1
- package/lib/models/booking-calendar-slot.d.ts +3 -1
- package/lib/models/member-team.d.ts +2 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare class BookingCalendarSlotSession {
|
|
|
10
10
|
team_name: string | null;
|
|
11
11
|
is_overbooked: boolean;
|
|
12
12
|
type: string;
|
|
13
|
+
location_zones_taken: number;
|
|
13
14
|
static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
|
|
14
15
|
id: FormControl<string | null>;
|
|
15
16
|
section_id: FormControl<string | null>;
|
|
@@ -21,6 +22,7 @@ export declare class BookingCalendarSlotSession {
|
|
|
21
22
|
team_name: FormControl<string | null>;
|
|
22
23
|
is_overbooked: FormControl<boolean | null>;
|
|
23
24
|
type: FormControl<string | null>;
|
|
25
|
+
location_zones_taken: FormControl<number | null>;
|
|
24
26
|
}>;
|
|
25
|
-
constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, type: string);
|
|
27
|
+
constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, type: string, location_zones_taken: number);
|
|
26
28
|
}
|
|
@@ -20,6 +20,7 @@ export declare class BookingCalendarSlot {
|
|
|
20
20
|
repeat: string;
|
|
21
21
|
update_repeating: boolean;
|
|
22
22
|
reserved_time_enabled: boolean;
|
|
23
|
+
available_location_zones: number;
|
|
23
24
|
repeat_num?: number | null | undefined;
|
|
24
25
|
repeat_to_day?: string | null | undefined;
|
|
25
26
|
repeat_type?: string | null | undefined;
|
|
@@ -45,6 +46,7 @@ export declare class BookingCalendarSlot {
|
|
|
45
46
|
reserved_time: FormControl<string | null>;
|
|
46
47
|
reserved_time_type: FormControl<string | null>;
|
|
47
48
|
reserved_time_position: FormControl<string | null>;
|
|
49
|
+
available_location_zones: FormControl<number | null>;
|
|
48
50
|
}>;
|
|
49
|
-
constructor(id: string, calendar_id: string, location_id: string, color: string, day: string, end_time: string, group_id: string | null, location_name: string, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, open_sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType, repeat: string, update_repeating: boolean, reserved_time_enabled: boolean, repeat_num?: number | null | undefined, repeat_to_day?: string | null | undefined, repeat_type?: string | null | undefined, reserved_time?: string | null | undefined, reserved_time_type?: BookingCalendarSlotReservedTimeType | null | undefined, reserved_time_position?: BookingCalendarSlotReservedTimePosition | null | undefined);
|
|
51
|
+
constructor(id: string, calendar_id: string, location_id: string, color: string, day: string, end_time: string, group_id: string | null, location_name: string, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, open_sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType, repeat: string, update_repeating: boolean, reserved_time_enabled: boolean, available_location_zones: number, repeat_num?: number | null | undefined, repeat_to_day?: string | null | undefined, repeat_type?: string | null | undefined, reserved_time?: string | null | undefined, reserved_time_type?: BookingCalendarSlotReservedTimeType | null | undefined, reserved_time_position?: BookingCalendarSlotReservedTimePosition | null | undefined);
|
|
50
52
|
}
|
|
@@ -4,8 +4,9 @@ export declare class MemberTeam {
|
|
|
4
4
|
section: Section | null;
|
|
5
5
|
id: string;
|
|
6
6
|
email: string;
|
|
7
|
+
readonly has_extra_members: boolean;
|
|
7
8
|
name: string;
|
|
8
9
|
phone: string;
|
|
9
10
|
section_name: string | undefined;
|
|
10
|
-
constructor(club: Club, section: Section | null, id: string, email: string, name: string, phone: string, section_name: string | undefined);
|
|
11
|
+
constructor(club: Club, section: Section | null, id: string, email: string, has_extra_members: boolean, name: string, phone: string, section_name: string | undefined);
|
|
11
12
|
}
|
package/package.json
CHANGED