@myclub_se/data-access 2.5.2 → 2.5.4

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.
@@ -10,4 +10,5 @@ export interface ApiBookingCalendarSlotSession {
10
10
  readonly is_overbooked: boolean;
11
11
  readonly type: string;
12
12
  location_zones_taken: number;
13
+ readonly slot_index: number;
13
14
  }
@@ -13,11 +13,14 @@ export interface ApiMemberPublicForm {
13
13
  has_nationality_field: boolean;
14
14
  max_members_per_team: number;
15
15
  max_registered_in_form_total: number;
16
+ member_fields: Object | null;
16
17
  member_types: Array<ApiMemberType>;
17
18
  member_type_help_text: string;
18
19
  name: string;
19
20
  num_chars_birth_date: number;
20
21
  num_registered: number;
22
+ registered: boolean;
23
+ register_family: boolean;
21
24
  role_help_text: string;
22
25
  roles: Array<ApiGroupRole>;
23
26
  team_help_text: string;
@@ -11,6 +11,7 @@ export declare class BookingCalendarSlotSession {
11
11
  is_overbooked: boolean;
12
12
  type: string;
13
13
  location_zones_taken: number;
14
+ readonly slot_index: number;
14
15
  static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
15
16
  id: FormControl<string | null>;
16
17
  section_id: FormControl<string | null>;
@@ -24,5 +25,5 @@ export declare class BookingCalendarSlotSession {
24
25
  type: FormControl<string | null>;
25
26
  location_zones_taken: FormControl<number | null>;
26
27
  }>;
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);
28
+ 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, slot_index: number);
28
29
  }
@@ -15,15 +15,18 @@ export declare class MemberPublicForm {
15
15
  has_nationality_field: boolean;
16
16
  max_members_per_team: number;
17
17
  max_registered_in_form_total: number;
18
+ member_fields: Map<string, MemberPublicFormField>;
18
19
  member_types: Array<MemberType>;
19
20
  member_type_help_text: string;
20
21
  name: string;
21
22
  num_chars_birth_date: number;
22
23
  num_registered: number;
24
+ registered: boolean;
25
+ register_family: boolean;
23
26
  role_help_text: string;
24
27
  roles: Array<GroupRole>;
25
28
  team_help_text: string;
26
29
  teams: Array<SearchTeam>;
27
30
  url: string;
28
- constructor(id: string, active_form: string | null, active_to: string | null, userToken: string | null, comment: string, dataprotection_policy_choice: string, dataprotection_policy_url: string | null, fields: Map<string, MemberPublicFormField>, full_text: string, has_nationality_field: boolean, max_members_per_team: number, max_registered_in_form_total: number, member_types: Array<MemberType>, member_type_help_text: string, name: string, num_chars_birth_date: number, num_registered: number, role_help_text: string, roles: Array<GroupRole>, team_help_text: string, teams: Array<SearchTeam>, url: string);
31
+ constructor(id: string, active_form: string | null, active_to: string | null, userToken: string | null, comment: string, dataprotection_policy_choice: string, dataprotection_policy_url: string | null, fields: Map<string, MemberPublicFormField>, full_text: string, has_nationality_field: boolean, max_members_per_team: number, max_registered_in_form_total: number, member_fields: Map<string, MemberPublicFormField>, member_types: Array<MemberType>, member_type_help_text: string, name: string, num_chars_birth_date: number, num_registered: number, registered: boolean, register_family: boolean, role_help_text: string, roles: Array<GroupRole>, team_help_text: string, teams: Array<SearchTeam>, url: string);
29
32
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@myclub_se/data-access",
3
3
  "description": "This is the package required to access the api for the MyClub Member API V3 from angular",
4
- "version": "2.5.2",
4
+ "version": "2.5.4",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "peerDependencies": {