@myclub_se/data-access 2.7.5 → 2.7.6
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.mjs +1 -1
- package/esm2020/lib/models/booking-calendar.mjs +12 -3
- package/esm2020/lib/services/factories/booking-calendar-factory.mjs +3 -2
- package/fesm2015/myclub_se-data-access.mjs +10 -2
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +10 -2
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-booking-calendar.d.ts +2 -0
- package/lib/models/booking-calendar.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ApiActivityLocationGroup } from "./api-activity-location-group";
|
|
1
2
|
export interface ApiBookingCalendar {
|
|
2
3
|
id: string;
|
|
3
4
|
club_id: string;
|
|
@@ -8,4 +9,5 @@ export interface ApiBookingCalendar {
|
|
|
8
9
|
team_id: string | null;
|
|
9
10
|
readonly team_name: string | null;
|
|
10
11
|
status: string;
|
|
12
|
+
location_groups: Array<ApiActivityLocationGroup> | null;
|
|
11
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { FormControl, FormGroup } from "@angular/forms";
|
|
1
|
+
import { FormArray, FormControl, FormGroup } from "@angular/forms";
|
|
2
|
+
import { ActivityLocationGroup } from "./activity-location-group";
|
|
2
3
|
export declare class BookingCalendar {
|
|
3
4
|
id: string;
|
|
4
5
|
club_id: string;
|
|
@@ -9,6 +10,7 @@ export declare class BookingCalendar {
|
|
|
9
10
|
section_name: string | null;
|
|
10
11
|
team_name: string | null;
|
|
11
12
|
status: string | null;
|
|
13
|
+
location_groups?: ActivityLocationGroup[] | null | undefined;
|
|
12
14
|
static asFormGroup(calendar?: BookingCalendar): FormGroup<{
|
|
13
15
|
id: FormControl<string | null>;
|
|
14
16
|
club_id: FormControl<string | null>;
|
|
@@ -19,6 +21,7 @@ export declare class BookingCalendar {
|
|
|
19
21
|
section_name: FormControl<string | null>;
|
|
20
22
|
team_name: FormControl<string | null>;
|
|
21
23
|
status: FormControl<string | null>;
|
|
24
|
+
location_groups: FormArray<FormGroup<any>>;
|
|
22
25
|
}>;
|
|
23
|
-
constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, name: string, section_name: string | null, team_name: string | null, status: string | null);
|
|
26
|
+
constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, name: string, section_name: string | null, team_name: string | null, status: string | null, location_groups?: ActivityLocationGroup[] | null | undefined);
|
|
24
27
|
}
|
package/package.json
CHANGED