@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.
- package/esm2020/lib/api-models/api-booking-calendar-slot-session.mjs +2 -0
- package/esm2020/lib/api-models/api-booking-calendar-slot.mjs +2 -0
- package/esm2020/lib/api-models/api-booking-calendar.mjs +2 -0
- package/esm2020/lib/api-models/api-member-activity-invite.mjs +1 -1
- package/esm2020/lib/api-models/api-member-team.mjs +1 -1
- package/esm2020/lib/api-models/api-search-team.mjs +2 -0
- package/esm2020/lib/api-models/index.mjs +5 -4
- package/esm2020/lib/models/booking-calendar-slot-session.mjs +26 -0
- package/esm2020/lib/models/booking-calendar-slot.mjs +29 -0
- package/esm2020/lib/models/booking-calendar.mjs +28 -0
- package/esm2020/lib/models/index.mjs +4 -3
- package/esm2020/lib/models/member-activity-invite.mjs +3 -2
- package/esm2020/lib/models/member-team.mjs +3 -2
- package/esm2020/lib/models/search-team.mjs +5 -2
- package/esm2020/lib/services/activity.service.mjs +13 -2
- package/esm2020/lib/services/booking-calendar.service.mjs +143 -0
- package/esm2020/lib/services/factories/booking-calendar-factory.mjs +3 -0
- package/esm2020/lib/services/factories/booking-calendar-slot-factory.mjs +4 -0
- package/esm2020/lib/services/factories/booking-calendar-slot-session-factory.mjs +3 -0
- package/esm2020/lib/services/factories/index.mjs +1 -4
- package/esm2020/lib/services/factories/member-invite-factory.mjs +2 -2
- package/esm2020/lib/services/factories/member-team-factory.mjs +2 -2
- package/esm2020/lib/services/factories/search-team-factory.mjs +5 -0
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/team.service.mjs +8 -7
- package/esm2020/lib/types/booking-calendar-slot-type.mjs +2 -0
- package/fesm2015/myclub_se-data-access.mjs +251 -33
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +251 -33
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-booking-calendar-slot-session.d.ts +10 -0
- package/lib/api-models/api-booking-calendar-slot.d.ts +16 -0
- package/lib/api-models/api-booking-calendar.d.ts +11 -0
- package/lib/api-models/api-member-activity-invite.d.ts +1 -0
- package/lib/api-models/api-member-team.d.ts +1 -0
- package/lib/api-models/api-search-team.d.ts +8 -0
- package/lib/api-models/index.d.ts +4 -3
- package/lib/models/booking-calendar-slot-session.d.ts +22 -0
- package/lib/models/booking-calendar-slot.d.ts +27 -0
- package/lib/models/booking-calendar.d.ts +24 -0
- package/lib/models/index.d.ts +3 -2
- package/lib/models/member-activity-invite.d.ts +2 -1
- package/lib/models/member-team.d.ts +2 -1
- package/lib/models/search-team.d.ts +6 -1
- package/lib/services/activity.service.d.ts +1 -0
- package/lib/services/booking-calendar.service.d.ts +27 -0
- package/lib/services/factories/booking-calendar-factory.d.ts +3 -0
- package/lib/services/factories/booking-calendar-slot-factory.d.ts +3 -0
- package/lib/services/factories/booking-calendar-slot-session-factory.d.ts +3 -0
- package/lib/services/factories/index.d.ts +0 -3
- package/lib/services/factories/search-team-factory.d.ts +3 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/team.service.d.ts +4 -4
- package/lib/types/booking-calendar-slot-type.d.ts +1 -0
- package/package.json +1 -1
- package/esm2020/lib/api-models/api-club-team.mjs +0 -2
- package/esm2020/lib/api-models/api-search-member-team.mjs +0 -2
- package/esm2020/lib/api-models/api-section-team.mjs +0 -2
- package/esm2020/lib/models/club-team.mjs +0 -7
- package/esm2020/lib/models/search-member-team.mjs +0 -9
- package/esm2020/lib/services/factories/club-team-factory.mjs +0 -3
- package/esm2020/lib/services/factories/search-member-team-factory.mjs +0 -5
- package/esm2020/lib/services/factories/section-team-factory.mjs +0 -3
- package/lib/api-models/api-club-team.d.ts +0 -4
- package/lib/api-models/api-search-member-team.d.ts +0 -7
- package/lib/api-models/api-section-team.d.ts +0 -4
- package/lib/models/club-team.d.ts +0 -5
- package/lib/models/search-member-team.d.ts +0 -8
- package/lib/services/factories/club-team-factory.d.ts +0 -3
- package/lib/services/factories/search-member-team-factory.d.ts +0 -3
- package/lib/services/factories/section-team-factory.d.ts +0 -3
|
@@ -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
|
+
}
|
|
@@ -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-
|
|
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
|
+
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
+
}
|
|
@@ -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';
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
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<
|
|
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<
|
|
15
|
-
getSectionTeams(
|
|
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,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
|