@myclub_se/data-access 1.5.2 → 1.5.3
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-member/api-member-attribute.mjs +1 -1
- package/esm2020/lib/models/member/member-attribute.mjs +12 -3
- package/esm2020/lib/services/activity.service.mjs +15 -12
- package/esm2020/lib/services/factories/member-attribute-factory.mjs +2 -2
- package/fesm2015/myclub_se-data-access.mjs +26 -13
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +25 -13
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-member/api-member-attribute.d.ts +1 -1
- package/lib/models/member/member-attribute.d.ts +9 -1
- package/lib/services/activity.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { OptionInterface } from '../../interfaces';
|
|
|
2
2
|
import { AttributeType } from '../../types';
|
|
3
3
|
export interface ApiMemberAttribute {
|
|
4
4
|
readonly display_value: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly field_id: string;
|
|
6
6
|
readonly leader_editable: boolean;
|
|
7
7
|
readonly member_id: string;
|
|
8
8
|
readonly member_editable: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttributeType } from '../../types';
|
|
2
2
|
import { OptionInterface } from '../../interfaces';
|
|
3
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormArray, FormControl, FormGroup } from '@angular/forms';
|
|
4
4
|
export declare class MemberAttribute {
|
|
5
5
|
display_value: string;
|
|
6
6
|
field_id: string;
|
|
@@ -16,6 +16,14 @@ export declare class MemberAttribute {
|
|
|
16
16
|
static asFormGroup(attribute?: MemberAttribute | null): FormGroup<{
|
|
17
17
|
field_id: FormControl<string | null>;
|
|
18
18
|
member_id: FormControl<string | null>;
|
|
19
|
+
leader_editable: FormControl<boolean | null>;
|
|
20
|
+
member_editable: FormControl<boolean | null>;
|
|
21
|
+
name: FormControl<string | null>;
|
|
22
|
+
options: FormArray<FormGroup<{
|
|
23
|
+
text: FormControl<string | null>;
|
|
24
|
+
value: FormControl<string | null>;
|
|
25
|
+
}>>;
|
|
26
|
+
type: FormControl<string | null>;
|
|
19
27
|
value: FormControl<string | boolean | null>;
|
|
20
28
|
}>;
|
|
21
29
|
constructor(display_value: string, field_id: string, leader_editable: boolean, member_id: string, member_editable: boolean, name: string, options: Array<OptionInterface>, order: number, section_id: string | null, type: AttributeType, value: string | boolean | null);
|
|
@@ -29,6 +29,7 @@ export declare class ActivityService {
|
|
|
29
29
|
updateTeamActivity(teamId: string, activity: Activity): import("rxjs").Observable<Activity>;
|
|
30
30
|
updateTeamActivityInvite(teamId: string, activityId: string, activityInviteId: string, activityInvite: MemberActivityInvite): import("rxjs").Observable<MemberActivityInvite>;
|
|
31
31
|
updateTeamActivityParticipants(teamId: string, activityId: string, members: Array<string>): import("rxjs").Observable<void>;
|
|
32
|
+
private removeUnusedActivityFields;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
|
|
33
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
|
|
34
35
|
}
|
package/package.json
CHANGED