@myclub_se/data-access 1.5.3 → 1.7.0

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.
Files changed (71) hide show
  1. package/esm2020/lib/api-models/api-booking-calendar-slot-session.mjs +2 -0
  2. package/esm2020/lib/api-models/api-booking-calendar-slot.mjs +2 -0
  3. package/esm2020/lib/api-models/api-booking-calendar.mjs +2 -0
  4. package/esm2020/lib/api-models/api-member-activity-invite.mjs +1 -1
  5. package/esm2020/lib/api-models/api-member-team.mjs +1 -1
  6. package/esm2020/lib/api-models/api-search-team.mjs +2 -0
  7. package/esm2020/lib/api-models/index.mjs +5 -4
  8. package/esm2020/lib/models/booking-calendar-slot-session.mjs +26 -0
  9. package/esm2020/lib/models/booking-calendar-slot.mjs +29 -0
  10. package/esm2020/lib/models/booking-calendar.mjs +28 -0
  11. package/esm2020/lib/models/index.mjs +4 -3
  12. package/esm2020/lib/models/member-activity-invite.mjs +3 -2
  13. package/esm2020/lib/models/member-team.mjs +3 -2
  14. package/esm2020/lib/models/search-team.mjs +5 -2
  15. package/esm2020/lib/services/activity.service.mjs +13 -2
  16. package/esm2020/lib/services/booking-calendar.service.mjs +143 -0
  17. package/esm2020/lib/services/factories/booking-calendar-factory.mjs +3 -0
  18. package/esm2020/lib/services/factories/booking-calendar-slot-factory.mjs +4 -0
  19. package/esm2020/lib/services/factories/booking-calendar-slot-session-factory.mjs +3 -0
  20. package/esm2020/lib/services/factories/index.mjs +1 -4
  21. package/esm2020/lib/services/factories/member-invite-factory.mjs +2 -2
  22. package/esm2020/lib/services/factories/member-team-factory.mjs +2 -2
  23. package/esm2020/lib/services/factories/search-team-factory.mjs +5 -0
  24. package/esm2020/lib/services/index.mjs +2 -1
  25. package/esm2020/lib/services/team.service.mjs +8 -7
  26. package/esm2020/lib/types/booking-calendar-slot-type.mjs +2 -0
  27. package/fesm2015/myclub_se-data-access.mjs +251 -33
  28. package/fesm2015/myclub_se-data-access.mjs.map +1 -1
  29. package/fesm2020/myclub_se-data-access.mjs +251 -33
  30. package/fesm2020/myclub_se-data-access.mjs.map +1 -1
  31. package/lib/api-models/api-booking-calendar-slot-session.d.ts +10 -0
  32. package/lib/api-models/api-booking-calendar-slot.d.ts +16 -0
  33. package/lib/api-models/api-booking-calendar.d.ts +11 -0
  34. package/lib/api-models/api-member-activity-invite.d.ts +1 -0
  35. package/lib/api-models/api-member-team.d.ts +1 -0
  36. package/lib/api-models/api-search-team.d.ts +8 -0
  37. package/lib/api-models/index.d.ts +4 -3
  38. package/lib/models/booking-calendar-slot-session.d.ts +22 -0
  39. package/lib/models/booking-calendar-slot.d.ts +27 -0
  40. package/lib/models/booking-calendar.d.ts +24 -0
  41. package/lib/models/index.d.ts +3 -2
  42. package/lib/models/member-activity-invite.d.ts +2 -1
  43. package/lib/models/member-team.d.ts +2 -1
  44. package/lib/models/search-team.d.ts +6 -1
  45. package/lib/services/activity.service.d.ts +1 -0
  46. package/lib/services/booking-calendar.service.d.ts +27 -0
  47. package/lib/services/factories/booking-calendar-factory.d.ts +3 -0
  48. package/lib/services/factories/booking-calendar-slot-factory.d.ts +3 -0
  49. package/lib/services/factories/booking-calendar-slot-session-factory.d.ts +3 -0
  50. package/lib/services/factories/index.d.ts +0 -3
  51. package/lib/services/factories/search-team-factory.d.ts +3 -0
  52. package/lib/services/index.d.ts +1 -0
  53. package/lib/services/team.service.d.ts +4 -4
  54. package/lib/types/booking-calendar-slot-type.d.ts +1 -0
  55. package/package.json +1 -1
  56. package/esm2020/lib/api-models/api-club-team.mjs +0 -2
  57. package/esm2020/lib/api-models/api-search-member-team.mjs +0 -2
  58. package/esm2020/lib/api-models/api-section-team.mjs +0 -2
  59. package/esm2020/lib/models/club-team.mjs +0 -7
  60. package/esm2020/lib/models/search-member-team.mjs +0 -9
  61. package/esm2020/lib/services/factories/club-team-factory.mjs +0 -3
  62. package/esm2020/lib/services/factories/search-member-team-factory.mjs +0 -5
  63. package/esm2020/lib/services/factories/section-team-factory.mjs +0 -3
  64. package/lib/api-models/api-club-team.d.ts +0 -4
  65. package/lib/api-models/api-search-member-team.d.ts +0 -7
  66. package/lib/api-models/api-section-team.d.ts +0 -4
  67. package/lib/models/club-team.d.ts +0 -5
  68. package/lib/models/search-member-team.d.ts +0 -8
  69. package/lib/services/factories/club-team-factory.d.ts +0 -3
  70. package/lib/services/factories/search-member-team-factory.d.ts +0 -3
  71. package/lib/services/factories/section-team-factory.d.ts +0 -3
@@ -0,0 +1,10 @@
1
+ export interface ApiBookingCalendarSlotSession {
2
+ end_time: string;
3
+ id: string;
4
+ section_id: string;
5
+ readonly section_name: string;
6
+ slot_id: string;
7
+ start_time: string;
8
+ team_id: string;
9
+ readonly team_name: string;
10
+ }
@@ -0,0 +1,16 @@
1
+ import { ApiBookingCalendarSlotSession } from "./api-booking-calendar-slot-session";
2
+ import { BookingCalendarSlotType } from "../types/booking-calendar-slot-type";
3
+ export interface ApiBookingCalendarSlot {
4
+ calendar_id: string;
5
+ readonly color: string;
6
+ day: string;
7
+ end_time: string;
8
+ id: string;
9
+ location_id: string;
10
+ readonly location_name: string;
11
+ readonly name: string;
12
+ number_of_available_sessions: number;
13
+ sessions: Array<ApiBookingCalendarSlotSession> | null;
14
+ start_time: string;
15
+ type: BookingCalendarSlotType;
16
+ }
@@ -0,0 +1,11 @@
1
+ export interface ApiBookingCalendar {
2
+ id: string;
3
+ club_id: string;
4
+ readonly club_name: string;
5
+ color: string;
6
+ name: string;
7
+ section_id: string | null;
8
+ readonly section_name: string | null;
9
+ team_id: string | null;
10
+ readonly team_name: string | null;
11
+ }
@@ -1,6 +1,7 @@
1
1
  export interface ApiMemberActivityInvite {
2
2
  id: string;
3
3
  comment: string;
4
+ current_num_attendants: number;
4
5
  last_invite: string | null;
5
6
  leader: boolean;
6
7
  member_email: string | null;
@@ -6,4 +6,5 @@ export interface ApiMemberTeam {
6
6
  name: string;
7
7
  phone: string;
8
8
  section: ApiSection;
9
+ section_name: string | undefined;
9
10
  }
@@ -0,0 +1,8 @@
1
+ import { ApiClub, ApiSection } from '.';
2
+ export interface ApiSearchTeam {
3
+ club: ApiClub | undefined;
4
+ section: ApiSection | undefined;
5
+ id: string;
6
+ name: string;
7
+ section_name: string | undefined;
8
+ }
@@ -4,13 +4,15 @@ export * from './api-activity-invite';
4
4
  export * from './api-activity-location';
5
5
  export * from './api-activity-type';
6
6
  export * from './api-auth';
7
+ export * from './api-booking-calendar';
8
+ export * from './api-booking-calendar-slot';
9
+ export * from './api-booking-calendar-slot-session';
7
10
  export * from './api-calendar';
8
11
  export * from './api-calendar-event';
9
12
  export * from './api-card';
10
13
  export * from './api-club';
11
14
  export * from './api-club-image';
12
15
  export * from './api-club-section';
13
- export * from './api-club-team';
14
16
  export * from './api-collection';
15
17
  export * from './api-directory';
16
18
  export * from './api-event';
@@ -27,9 +29,8 @@ export * from './api-member-team-through';
27
29
  export * from './api-news';
28
30
  export * from './api-partner';
29
31
  export * from './api-search-club';
30
- export * from './api-search-member-team';
32
+ export * from './api-search-team';
31
33
  export * from './api-section';
32
- export * from './api-section-team';
33
34
  export * from './api-token';
34
35
  export * from './api-user';
35
36
  export * from './api-user-notification';
@@ -0,0 +1,22 @@
1
+ import { FormControl, FormGroup } from "@angular/forms";
2
+ export declare class BookingCalendarSlotSession {
3
+ id: string;
4
+ section_id: string | null;
5
+ slot_id: string;
6
+ team_id: string | null;
7
+ end_time: string;
8
+ section_name: string | null;
9
+ start_time: string;
10
+ team_name: string | null;
11
+ static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
12
+ id: FormControl<string | null>;
13
+ section_id: FormControl<string | null>;
14
+ slot_id: FormControl<string | null>;
15
+ team_id: FormControl<string | null>;
16
+ end_time: FormControl<string | null>;
17
+ section_name: FormControl<string | null>;
18
+ start_time: FormControl<string | null>;
19
+ team_name: FormControl<string | null>;
20
+ }>;
21
+ 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);
22
+ }
@@ -0,0 +1,27 @@
1
+ import { BookingCalendarSlotSession } from "./booking-calendar-slot-session";
2
+ import { BookingCalendarSlotType } from "../types/booking-calendar-slot-type";
3
+ import { FormControl, FormGroup } from "@angular/forms";
4
+ export declare class BookingCalendarSlot {
5
+ id: string;
6
+ calendar_id: string;
7
+ location_id: string;
8
+ color: string;
9
+ day: string;
10
+ end_time: string;
11
+ location_name: string;
12
+ number_of_available_sessions: number;
13
+ sessions: Array<BookingCalendarSlotSession>;
14
+ start_time: string;
15
+ type: BookingCalendarSlotType;
16
+ static asFormGroup(slot?: BookingCalendarSlot): FormGroup<{
17
+ id: FormControl<string | null>;
18
+ calendar_id: FormControl<string | null>;
19
+ location_id: FormControl<string | null>;
20
+ day: FormControl<string | null>;
21
+ end_time: FormControl<string | null>;
22
+ number_of_available_sessions: FormControl<number | null>;
23
+ start_time: FormControl<string | null>;
24
+ type: FormControl<string | null>;
25
+ }>;
26
+ constructor(id: string, calendar_id: string, location_id: string, color: string, day: string, end_time: string, location_name: string, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType);
27
+ }
@@ -0,0 +1,24 @@
1
+ import { FormControl, FormGroup } from "@angular/forms";
2
+ export declare class BookingCalendar {
3
+ id: string;
4
+ club_id: string;
5
+ section_id: string | null;
6
+ team_id: string | null;
7
+ club_name: string;
8
+ color: string;
9
+ name: string;
10
+ section_name: string | null;
11
+ team_name: string | null;
12
+ static asFormGroup(calendar?: BookingCalendar): FormGroup<{
13
+ id: FormControl<string | null>;
14
+ club_id: FormControl<string | null>;
15
+ section_id: FormControl<string | null>;
16
+ team_id: FormControl<string | null>;
17
+ club_name: FormControl<string | null>;
18
+ color: FormControl<string | null>;
19
+ name: FormControl<string | null>;
20
+ section_name: FormControl<string | null>;
21
+ team_name: FormControl<string | null>;
22
+ }>;
23
+ constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, color: string, name: string, section_name: string | null, team_name: string | null);
24
+ }
@@ -6,13 +6,15 @@ export * from './activity-settings';
6
6
  export * from './activity-type';
7
7
  export * from './auth';
8
8
  export * from './authentication';
9
+ export * from './booking-calendar';
10
+ export * from './booking-calendar-slot';
11
+ export * from './booking-calendar-slot-session';
9
12
  export * from './calendar';
10
13
  export * from './calendar-event';
11
14
  export * from './card';
12
15
  export * from './club';
13
16
  export * from './club-image';
14
17
  export * from './club-section';
15
- export * from './club-team';
16
18
  export * from './collection';
17
19
  export * from './contact';
18
20
  export * from './directory';
@@ -33,7 +35,6 @@ export * from './news';
33
35
  export * from './partner';
34
36
  export * from './role';
35
37
  export * from './search-club';
36
- export * from './search-member-team';
37
38
  export * from './search-team';
38
39
  export * from './section';
39
40
  export * from './token';
@@ -1,6 +1,7 @@
1
1
  export declare class MemberActivityInvite {
2
2
  id: string;
3
3
  comment: string;
4
+ current_num_attendants: number;
4
5
  last_invite: string | null;
5
6
  leader: boolean;
6
7
  member_email: string | null;
@@ -9,6 +10,6 @@ export declare class MemberActivityInvite {
9
10
  next_invite: string | null;
10
11
  response_date: string;
11
12
  status: string;
12
- constructor(id: string, comment: string, last_invite: string | null, leader: boolean, member_email: string | null, member_id: string, member_name: string, next_invite: string | null, response_date: string, status: string);
13
+ constructor(id: string, comment: string, current_num_attendants: number, last_invite: string | null, leader: boolean, member_email: string | null, member_id: string, member_name: string, next_invite: string | null, response_date: string, status: string);
13
14
  getColorByStatus(): string;
14
15
  }
@@ -6,5 +6,6 @@ export declare class MemberTeam {
6
6
  email: string;
7
7
  name: string;
8
8
  phone: string;
9
- constructor(club: Club, section: Section | null, id: string, email: string, name: string, phone: string);
9
+ section_name: string | undefined;
10
+ constructor(club: Club, section: Section | null, id: string, email: string, name: string, phone: string, section_name: string | undefined);
10
11
  }
@@ -1,5 +1,10 @@
1
+ import { Club } from './club';
2
+ import { Section } from './section';
1
3
  export declare class SearchTeam {
4
+ club: Club | undefined;
5
+ section: Section | undefined;
2
6
  id: string;
3
7
  name: string;
4
- constructor(id: string, name: string);
8
+ section_name: string | undefined;
9
+ constructor(club: Club | undefined, section: Section | undefined, id: string, name: string, section_name: string | undefined);
5
10
  }
@@ -18,6 +18,7 @@ export declare class ActivityService {
18
18
  getPublicActivityInvite(id: string, token: string): import("rxjs").Observable<import("../models").ActivityInvite>;
19
19
  getTeamActivity(teamId: string, id: string): import("rxjs").Observable<Activity>;
20
20
  getTeamActivityLocations(teamId: string): import("rxjs").Observable<Collection<ActivityLocation> | undefined>;
21
+ getClubActivityLocations(clubId: string): import("rxjs").Observable<Collection<ActivityLocation> | undefined>;
21
22
  getTeamActivityNew(teamId: string): import("rxjs").Observable<Activity>;
22
23
  getTeamActivityParticipants(teamId: string, activityId: string): import("rxjs").Observable<Collection<import("../models").SearchMember>>;
23
24
  getTeamActivitySettings(teamId: string): import("rxjs").Observable<import("../models").ActivitySettings>;
@@ -0,0 +1,27 @@
1
+ import { ApiService } from './api.service';
2
+ import { Collection } from '../models';
3
+ import { BookingCalendar } from "../models/booking-calendar";
4
+ import { BookingCalendarSlot } from "../models/booking-calendar-slot";
5
+ import { BookingCalendarSlotSession } from "../models/booking-calendar-slot-session";
6
+ import * as i0 from "@angular/core";
7
+ export declare class BookingCalendarService {
8
+ private apiService;
9
+ constructor(apiService: ApiService);
10
+ createClubBookingCalendar(clubId: string, calendar: Partial<BookingCalendar>): import("rxjs").Observable<BookingCalendar>;
11
+ getClubBookingCalendars(clubId: string, name?: string | null): import("rxjs").Observable<Collection<BookingCalendar>>;
12
+ getClubBookingCalendar(clubId: string, id: string): import("rxjs").Observable<BookingCalendar>;
13
+ updateClubBookingCalendar(clubId: string, calendar: BookingCalendar): import("rxjs").Observable<BookingCalendar>;
14
+ deleteClubBookingCalendar(clubId: string, id: string): import("rxjs").Observable<boolean>;
15
+ createClubBookingCalendarSlot(clubId: string, slot: Partial<BookingCalendarSlot>): import("rxjs").Observable<BookingCalendarSlot>;
16
+ getClubBookingCalendarSlots(clubId: string, startDate?: string | null, endDate?: string | null): import("rxjs").Observable<Collection<BookingCalendarSlot>>;
17
+ getClubBookingCalendarSlot(clubId: string, id: string): import("rxjs").Observable<BookingCalendarSlot>;
18
+ updateClubBookingCalendarSlot(clubId: string, slot: BookingCalendarSlot): import("rxjs").Observable<BookingCalendarSlot>;
19
+ deleteClubBookingCalendarSlot(clubId: string, id: string): import("rxjs").Observable<boolean>;
20
+ createClubBookingCalendarSlotSession(clubId: string, session: Partial<BookingCalendarSlotSession>): import("rxjs").Observable<BookingCalendarSlotSession>;
21
+ getClubBookingCalendarSlotSessions(clubId: string, startDate?: string | null, endDate?: string | null): import("rxjs").Observable<Collection<BookingCalendarSlotSession>>;
22
+ getClubBookingCalendarSlotSession(clubId: string, id: string): import("rxjs").Observable<BookingCalendarSlotSession>;
23
+ updateClubBookingCalendarSlotSession(clubId: string, session: BookingCalendarSlotSession): import("rxjs").Observable<BookingCalendarSlotSession>;
24
+ deleteClubBookingCalendarSlotSession(clubId: string, id: string): import("rxjs").Observable<boolean>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookingCalendarService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<BookingCalendarService>;
27
+ }
@@ -0,0 +1,3 @@
1
+ import { ApiBookingCalendar } from "../../api-models/api-booking-calendar";
2
+ import { BookingCalendar } from "../../models/booking-calendar";
3
+ export declare const bookingCalendarFactory: (apiBookingCalendar: ApiBookingCalendar) => BookingCalendar;
@@ -0,0 +1,3 @@
1
+ import { BookingCalendarSlot } from "../../models";
2
+ import { ApiBookingCalendarSlot } from "../../api-models";
3
+ export declare const bookingCalendarSlotFactory: (apiBookingSlot: ApiBookingCalendarSlot) => BookingCalendarSlot;
@@ -0,0 +1,3 @@
1
+ import { ApiBookingCalendarSlotSession } from "../../api-models";
2
+ import { BookingCalendarSlotSession } from "../../models";
3
+ export declare const bookingCalendarSlotSessionFactory: (apiBookingSlotSession: ApiBookingCalendarSlotSession) => BookingCalendarSlotSession;
@@ -20,7 +20,6 @@ export * from './card-ticket-location-factory';
20
20
  export * from './club-factory';
21
21
  export * from './club-image-factory';
22
22
  export * from './club-section-factory';
23
- export * from './club-team-factory';
24
23
  export * from './contact-factory';
25
24
  export * from './credit-card-factory';
26
25
  export * from './directory-factory';
@@ -51,10 +50,8 @@ export * from './search-club-factory';
51
50
  export * from './search-member-card-factory';
52
51
  export * from './search-member-factory';
53
52
  export * from './search-member-invoice-factory';
54
- export * from './search-member-team-factory';
55
53
  export * from './search-member-team-through-factory';
56
54
  export * from './section-factory';
57
- export * from './section-team-factory';
58
55
  export * from './swish-factory';
59
56
  export * from './token-factory';
60
57
  export * from './unpaid-invoice-factory';
@@ -0,0 +1,3 @@
1
+ import { ApiSearchTeam } from '../../api-models';
2
+ import { SearchTeam } from '../../models';
3
+ export declare const searchTeamFactory: (apiSearchTeam: ApiSearchTeam) => SearchTeam;
@@ -1,5 +1,6 @@
1
1
  export * from './auth.service';
2
2
  export * from './activity.service';
3
+ export * from './booking-calendar.service';
3
4
  export * from './club.service';
4
5
  export * from './constant.service';
5
6
  export * from './email.service';
@@ -1,18 +1,18 @@
1
- import { ClubTeam, MemberTeam, MemberTeamThrough, Role, SearchMemberTeam, SearchTeam } from '../models';
1
+ import { MemberTeam, MemberTeamThrough, SearchTeam } from '../models';
2
2
  import { ApiService } from './api.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TeamService {
5
5
  private apiService;
6
6
  constructor(apiService: ApiService);
7
7
  deleteTeamLeaderTeamMember(teamId: string, id: string): import("rxjs").Observable<boolean>;
8
- getClubTeams(clubId: string): import("rxjs").Observable<import("../models").Collection<ClubTeam>>;
8
+ getClubTeams(clubId: string): import("rxjs").Observable<import("../models").Collection<SearchTeam>>;
9
9
  getMemberTeam(memberId: string, teamId: string): import("rxjs").Observable<MemberTeam>;
10
10
  getMemberTeamExtraMember(memberId: string, teamId: string, id: string): import("rxjs").Observable<import("../models").ActivityExtraMember>;
11
11
  getMemberTeamExtraMembers(memberId: string, teamId: string, q: string, offset: number): import("rxjs").Observable<import("../models").Collection<import("../models").ActivityExtraMember>>;
12
12
  getMemberTeamMember(memberId: string, teamId: string, id: string): import("rxjs").Observable<MemberTeamThrough>;
13
13
  getMemberTeamMembers(memberId: string, teamId: string, q: string, offset: number): import("rxjs").Observable<import("../models").Collection<MemberTeamThrough>>;
14
- getMemberTeams(memberId: string): import("rxjs").Observable<import("../models").Collection<SearchMemberTeam>>;
15
- getSectionTeams(role: Role, sectionId: string): import("rxjs").Observable<import("../models").Collection<SearchTeam>>;
14
+ getMemberTeams(memberId: string): import("rxjs").Observable<import("../models").Collection<SearchTeam>>;
15
+ getSectionTeams(sectionId: string): import("rxjs").Observable<import("../models").Collection<SearchTeam>>;
16
16
  getTeamLeaderTeam(teamId: string): import("rxjs").Observable<MemberTeam>;
17
17
  getTeamLeaderTeamExtraMember(teamId: string, id: string): import("rxjs").Observable<import("../models").ActivityExtraMember>;
18
18
  getTeamLeaderTeamExtraMembers(teamId: string, q: string, offset: number): import("rxjs").Observable<import("../models").Collection<import("../models").ActivityExtraMember>>;
@@ -0,0 +1 @@
1
+ export declare type BookingCalendarSlotType = 'open' | 'closed';
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": "1.5.3",
4
+ "version": "1.7.0",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "peerDependencies": {
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLWNsdWItdGVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RhdGEtYWNjZXNzL3NyYy9saWIvYXBpLW1vZGVscy9hcGktY2x1Yi10ZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFwaUNsdWJUZWFtIHtcbiAgaWQ6IHN0cmluZztcbiAgbmFtZTogc3RyaW5nO1xufVxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLXNlYXJjaC1tZW1iZXItdGVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RhdGEtYWNjZXNzL3NyYy9saWIvYXBpLW1vZGVscy9hcGktc2VhcmNoLW1lbWJlci10ZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBcGlDbHViLCBBcGlTZWN0aW9uIH0gZnJvbSAnLic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQXBpU2VhcmNoTWVtYmVyVGVhbSB7XG4gIGNsdWI6IEFwaUNsdWI7XG4gIGlkOiBzdHJpbmc7XG4gIG5hbWU6IHN0cmluZztcbiAgc2VjdGlvbjogQXBpU2VjdGlvbjtcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLXNlY3Rpb24tdGVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RhdGEtYWNjZXNzL3NyYy9saWIvYXBpLW1vZGVscy9hcGktc2VjdGlvbi10ZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFwaVNlY3Rpb25UZWFtIHtcbiAgaWQ6IHN0cmluZztcbiAgbmFtZTogc3RyaW5nO1xufVxuIl19
@@ -1,7 +0,0 @@
1
- export class ClubTeam {
2
- constructor(id, name) {
3
- this.id = id;
4
- this.name = name;
5
- }
6
- }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1Yi10ZWFtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YS1hY2Nlc3Mvc3JjL2xpYi9tb2RlbHMvY2x1Yi10ZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxRQUFRO0lBQ25CLFlBQW1CLEVBQVUsRUFBUyxJQUFZO1FBQS9CLE9BQUUsR0FBRixFQUFFLENBQVE7UUFBUyxTQUFJLEdBQUosSUFBSSxDQUFRO0lBQUcsQ0FBQztDQUN2RCIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBDbHViVGVhbSB7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBpZDogc3RyaW5nLCBwdWJsaWMgbmFtZTogc3RyaW5nKSB7fVxufVxuIl19
@@ -1,9 +0,0 @@
1
- export class SearchMemberTeam {
2
- constructor(club, id, name, section) {
3
- this.club = club;
4
- this.id = id;
5
- this.name = name;
6
- this.section = section;
7
- }
8
- }
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLW1lbWJlci10ZWFtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YS1hY2Nlc3Mvc3JjL2xpYi9tb2RlbHMvc2VhcmNoLW1lbWJlci10ZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxnQkFBZ0I7SUFDM0IsWUFBbUIsSUFBVSxFQUFTLEVBQVUsRUFBUyxJQUFZLEVBQVMsT0FBdUI7UUFBbEYsU0FBSSxHQUFKLElBQUksQ0FBTTtRQUFTLE9BQUUsR0FBRixFQUFFLENBQVE7UUFBUyxTQUFJLEdBQUosSUFBSSxDQUFRO1FBQVMsWUFBTyxHQUFQLE9BQU8sQ0FBZ0I7SUFDckcsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2x1YiwgU2VjdGlvbiB9IGZyb20gJy4nO1xuXG5leHBvcnQgY2xhc3MgU2VhcmNoTWVtYmVyVGVhbSB7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBjbHViOiBDbHViLCBwdWJsaWMgaWQ6IHN0cmluZywgcHVibGljIG5hbWU6IHN0cmluZywgcHVibGljIHNlY3Rpb246IFNlY3Rpb24gfCBudWxsKSB7XG4gIH1cbn1cbiJdfQ==
@@ -1,3 +0,0 @@
1
- import { SearchTeam } from '../../models';
2
- export const clubTeamFactory = (apiClubTeam) => new SearchTeam(apiClubTeam.id, apiClubTeam.name);
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1Yi10ZWFtLWZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kYXRhLWFjY2Vzcy9zcmMvbGliL3NlcnZpY2VzL2ZhY3Rvcmllcy9jbHViLXRlYW0tZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRTFDLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxDQUFDLFdBQXdCLEVBQUUsRUFBRSxDQUFDLElBQUksVUFBVSxDQUFDLFdBQVcsQ0FBQyxFQUFFLEVBQUUsV0FBVyxDQUFDLElBQUksQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQXBpQ2x1YlRlYW0gfSBmcm9tICcuLi8uLi9hcGktbW9kZWxzJztcbmltcG9ydCB7IFNlYXJjaFRlYW0gfSBmcm9tICcuLi8uLi9tb2RlbHMnO1xuXG5leHBvcnQgY29uc3QgY2x1YlRlYW1GYWN0b3J5ID0gKGFwaUNsdWJUZWFtOiBBcGlDbHViVGVhbSkgPT4gbmV3IFNlYXJjaFRlYW0oYXBpQ2x1YlRlYW0uaWQsIGFwaUNsdWJUZWFtLm5hbWUpO1xuIl19
@@ -1,5 +0,0 @@
1
- import { SearchMemberTeam } from '../../models';
2
- import { clubFactory } from './club-factory';
3
- import { sectionFactory } from './section-factory';
4
- export const searchMemberTeamFactory = (apiSearchMemberTeam) => new SearchMemberTeam(clubFactory(apiSearchMemberTeam.club), apiSearchMemberTeam.id, apiSearchMemberTeam.name, apiSearchMemberTeam.section ? sectionFactory(apiSearchMemberTeam.section) : null);
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLW1lbWJlci10ZWFtLWZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kYXRhLWFjY2Vzcy9zcmMvbGliL3NlcnZpY2VzL2ZhY3Rvcmllcy9zZWFyY2gtbWVtYmVyLXRlYW0tZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDaEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVuRCxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBRyxDQUFDLG1CQUF3QyxFQUFFLEVBQUUsQ0FDbEYsSUFBSSxnQkFBZ0IsQ0FDbEIsV0FBVyxDQUFDLG1CQUFtQixDQUFDLElBQUksQ0FBQyxFQUNyQyxtQkFBbUIsQ0FBQyxFQUFFLEVBQ3RCLG1CQUFtQixDQUFDLElBQUksRUFDeEIsbUJBQW1CLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxjQUFjLENBQUMsbUJBQW1CLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FDakYsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFwaVNlYXJjaE1lbWJlclRlYW0gfSBmcm9tICcuLi8uLi9hcGktbW9kZWxzJztcbmltcG9ydCB7IFNlYXJjaE1lbWJlclRlYW0gfSBmcm9tICcuLi8uLi9tb2RlbHMnO1xuaW1wb3J0IHsgY2x1YkZhY3RvcnkgfSBmcm9tICcuL2NsdWItZmFjdG9yeSc7XG5pbXBvcnQgeyBzZWN0aW9uRmFjdG9yeSB9IGZyb20gJy4vc2VjdGlvbi1mYWN0b3J5JztcblxuZXhwb3J0IGNvbnN0IHNlYXJjaE1lbWJlclRlYW1GYWN0b3J5ID0gKGFwaVNlYXJjaE1lbWJlclRlYW06IEFwaVNlYXJjaE1lbWJlclRlYW0pID0+XG4gIG5ldyBTZWFyY2hNZW1iZXJUZWFtKFxuICAgIGNsdWJGYWN0b3J5KGFwaVNlYXJjaE1lbWJlclRlYW0uY2x1YiksXG4gICAgYXBpU2VhcmNoTWVtYmVyVGVhbS5pZCxcbiAgICBhcGlTZWFyY2hNZW1iZXJUZWFtLm5hbWUsXG4gICAgYXBpU2VhcmNoTWVtYmVyVGVhbS5zZWN0aW9uID8gc2VjdGlvbkZhY3RvcnkoYXBpU2VhcmNoTWVtYmVyVGVhbS5zZWN0aW9uKSA6IG51bGxcbiAgKTtcbiJdfQ==
@@ -1,3 +0,0 @@
1
- import { SearchTeam } from '../../models';
2
- export const sectionTeamFactory = (apiSectionTeam) => new SearchTeam(apiSectionTeam.id, apiSectionTeam.name);
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi10ZWFtLWZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kYXRhLWFjY2Vzcy9zcmMvbGliL3NlcnZpY2VzL2ZhY3Rvcmllcy9zZWN0aW9uLXRlYW0tZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRTFDLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFHLENBQUMsY0FBOEIsRUFBRSxFQUFFLENBQ25FLElBQUksVUFBVSxDQUFDLGNBQWMsQ0FBQyxFQUFFLEVBQUUsY0FBYyxDQUFDLElBQUksQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQXBpU2VjdGlvblRlYW0gfSBmcm9tICcuLi8uLi9hcGktbW9kZWxzJztcbmltcG9ydCB7IFNlYXJjaFRlYW0gfSBmcm9tICcuLi8uLi9tb2RlbHMnO1xuXG5leHBvcnQgY29uc3Qgc2VjdGlvblRlYW1GYWN0b3J5ID0gKGFwaVNlY3Rpb25UZWFtOiBBcGlTZWN0aW9uVGVhbSkgPT5cbiAgbmV3IFNlYXJjaFRlYW0oYXBpU2VjdGlvblRlYW0uaWQsIGFwaVNlY3Rpb25UZWFtLm5hbWUpO1xuIl19
@@ -1,4 +0,0 @@
1
- export interface ApiClubTeam {
2
- id: string;
3
- name: string;
4
- }
@@ -1,7 +0,0 @@
1
- import { ApiClub, ApiSection } from '.';
2
- export interface ApiSearchMemberTeam {
3
- club: ApiClub;
4
- id: string;
5
- name: string;
6
- section: ApiSection;
7
- }
@@ -1,4 +0,0 @@
1
- export interface ApiSectionTeam {
2
- id: string;
3
- name: string;
4
- }
@@ -1,5 +0,0 @@
1
- export declare class ClubTeam {
2
- id: string;
3
- name: string;
4
- constructor(id: string, name: string);
5
- }
@@ -1,8 +0,0 @@
1
- import { Club, Section } from '.';
2
- export declare class SearchMemberTeam {
3
- club: Club;
4
- id: string;
5
- name: string;
6
- section: Section | null;
7
- constructor(club: Club, id: string, name: string, section: Section | null);
8
- }
@@ -1,3 +0,0 @@
1
- import { ApiClubTeam } from '../../api-models';
2
- import { SearchTeam } from '../../models';
3
- export declare const clubTeamFactory: (apiClubTeam: ApiClubTeam) => SearchTeam;
@@ -1,3 +0,0 @@
1
- import { ApiSearchMemberTeam } from '../../api-models';
2
- import { SearchMemberTeam } from '../../models';
3
- export declare const searchMemberTeamFactory: (apiSearchMemberTeam: ApiSearchMemberTeam) => SearchMemberTeam;
@@ -1,3 +0,0 @@
1
- import { ApiSectionTeam } from '../../api-models';
2
- import { SearchTeam } from '../../models';
3
- export declare const sectionTeamFactory: (apiSectionTeam: ApiSectionTeam) => SearchTeam;