@myclub_se/data-access 2.13.1 → 2.14.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-activity-participant.mjs +2 -0
- package/esm2020/lib/api-models/api-event.mjs +1 -1
- package/esm2020/lib/api-models/index.mjs +2 -1
- package/esm2020/lib/models/activity-participant.mjs +12 -0
- package/esm2020/lib/models/event.mjs +3 -2
- package/esm2020/lib/models/index.mjs +2 -1
- package/esm2020/lib/services/factories/activity-participant-factory.mjs +3 -0
- package/esm2020/lib/services/factories/event-factory.mjs +3 -2
- package/esm2020/lib/services/factories/index.mjs +2 -1
- package/fesm2015/myclub_se-data-access.mjs +18 -3
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +18 -3
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-activity-participant.d.ts +9 -0
- package/lib/api-models/api-event.d.ts +2 -0
- package/lib/api-models/index.d.ts +1 -0
- package/lib/models/activity-participant.d.ts +10 -0
- package/lib/models/event.d.ts +3 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/services/factories/activity-participant-factory.d.ts +3 -0
- package/lib/services/factories/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiMemberActivityInvite } from './api-member-activity-invite';
|
|
2
|
+
import { ApiActivityParticipant } from './api-activity-participant';
|
|
2
3
|
export interface ApiEvent {
|
|
3
4
|
activity_id: string | null;
|
|
4
5
|
activity_type: string | null;
|
|
@@ -17,6 +18,7 @@ export interface ApiEvent {
|
|
|
17
18
|
meet_up_time: string;
|
|
18
19
|
member_id: string;
|
|
19
20
|
open_activity: boolean;
|
|
21
|
+
participants: Array<ApiActivityParticipant>;
|
|
20
22
|
start: string;
|
|
21
23
|
title: string;
|
|
22
24
|
type: string;
|
|
@@ -5,6 +5,7 @@ export * from './api-activity-location';
|
|
|
5
5
|
export * from './api-activity-location-group';
|
|
6
6
|
export * from './api-activity-location-tag';
|
|
7
7
|
export * from './api-activity-location-part';
|
|
8
|
+
export * from './api-activity-participant';
|
|
8
9
|
export * from './api-activity-type';
|
|
9
10
|
export * from './api-auth';
|
|
10
11
|
export * from './api-booking-calendar';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class ActivityParticipant {
|
|
2
|
+
id: string;
|
|
3
|
+
activityId: string;
|
|
4
|
+
memberId: string;
|
|
5
|
+
teamId: string;
|
|
6
|
+
memberEmail: string;
|
|
7
|
+
memberName: string;
|
|
8
|
+
rfLeader: boolean;
|
|
9
|
+
constructor(id: string, activityId: string, memberId: string, teamId: string, memberEmail: string, memberName: string, rfLeader: boolean);
|
|
10
|
+
}
|
package/lib/models/event.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MemberActivityInvite } from './member-activity-invite';
|
|
2
|
+
import { ActivityParticipant } from './activity-participant';
|
|
2
3
|
export declare class Event {
|
|
3
4
|
id: string;
|
|
4
5
|
activity_id: string | null;
|
|
@@ -17,8 +18,9 @@ export declare class Event {
|
|
|
17
18
|
meet_up_time: string;
|
|
18
19
|
member_id: string;
|
|
19
20
|
open_activity: boolean;
|
|
21
|
+
participants: Array<ActivityParticipant>;
|
|
20
22
|
start: string;
|
|
21
23
|
title: string;
|
|
22
24
|
type: string;
|
|
23
|
-
constructor(id: string, activity_id: string | null, activity_type: string | null, base_background_color: string | null, base_color: string | null, base_name: string | null, calendar_name: string, description: string | null, end: string, invitation_id: string | null, invitation_response: string | null, invited_members: Array<MemberActivityInvite> | null, location: string, meet_up_place: string | null, meet_up_time: string, member_id: string, open_activity: boolean, start: string, title: string, type: string);
|
|
25
|
+
constructor(id: string, activity_id: string | null, activity_type: string | null, base_background_color: string | null, base_color: string | null, base_name: string | null, calendar_name: string, description: string | null, end: string, invitation_id: string | null, invitation_response: string | null, invited_members: Array<MemberActivityInvite> | null, location: string, meet_up_place: string | null, meet_up_time: string, member_id: string, open_activity: boolean, participants: Array<ActivityParticipant>, start: string, title: string, type: string);
|
|
24
26
|
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './activity-location';
|
|
|
5
5
|
export * from './activity-location-group';
|
|
6
6
|
export * from './activity-location-tag';
|
|
7
7
|
export * from './activity-location-part';
|
|
8
|
+
export * from './activity-participant';
|
|
8
9
|
export * from './activity-settings';
|
|
9
10
|
export * from './activity-type';
|
|
10
11
|
export * from './auth';
|
|
@@ -4,6 +4,7 @@ export * from './activity-invite-factory';
|
|
|
4
4
|
export * from './activity-location-factory';
|
|
5
5
|
export * from './activity-location-group-factory';
|
|
6
6
|
export * from './activity-location-tag-factory';
|
|
7
|
+
export * from './activity-participant-factory';
|
|
7
8
|
export * from './activity-settings-factory';
|
|
8
9
|
export * from './activity-type-factory';
|
|
9
10
|
export * from './auth-factory';
|
package/package.json
CHANGED