@myclub_se/data-access 3.1.12 → 3.1.13
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/esm2022/lib/store/actions/index.mjs +2 -1
- package/esm2022/lib/store/actions/registration-qr-code.actions.mjs +17 -0
- package/esm2022/lib/store/effects/data-access.effects.mjs +4 -2
- package/esm2022/lib/store/effects/registration-qr-code.effects.mjs +23 -0
- package/esm2022/lib/store/reducers/data-access.reducer.mjs +4 -2
- package/esm2022/lib/store/reducers/registration-qr-code.reducer.mjs +6 -0
- package/esm2022/lib/store/selectors/index.mjs +2 -1
- package/esm2022/lib/store/selectors/registration-rq-code.selectors.mjs +5 -0
- package/esm2022/lib/store/state/data-access.state.mjs +1 -1
- package/esm2022/lib/store/state/index.mjs +2 -1
- package/esm2022/lib/store/state/registration-qr-code.state.mjs +4 -0
- package/fesm2022/myclub_se-data-access.mjs +75 -31
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/store/actions/index.d.ts +1 -0
- package/lib/store/actions/registration-qr-code.actions.d.ts +50 -0
- package/lib/store/effects/data-access.effects.d.ts +3 -2
- package/lib/store/effects/registration-qr-code.effects.d.ts +17 -0
- package/lib/store/reducers/registration-qr-code.reducer.d.ts +2 -0
- package/lib/store/selectors/index.d.ts +1 -0
- package/lib/store/selectors/registration-rq-code.selectors.d.ts +3 -0
- package/lib/store/state/data-access.state.d.ts +3 -1
- package/lib/store/state/index.d.ts +1 -0
- package/lib/store/state/registration-qr-code.state.d.ts +6 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export * from './member-card.actions';
|
|
|
13
13
|
export * from './member-fee.actions';
|
|
14
14
|
export * from './news.actions';
|
|
15
15
|
export * from './public-form.actions';
|
|
16
|
+
export * from './registration-qr-code.actions';
|
|
16
17
|
export * from './store.actions';
|
|
17
18
|
export * from './swish-incident.actions';
|
|
18
19
|
export * from './team.actions';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { RegistrationQRCode } from '../../models';
|
|
3
|
+
export declare enum RegistrationQRCodeActionTypes {
|
|
4
|
+
RegisterMemberRegistrationQRCode = "[RegistrationQrCode] Register Member Registration QR Code",
|
|
5
|
+
RegisterMemberRegistrationQRCodeFailure = "[RegistrationQrCode] Register Member Registration QR Code Failure",
|
|
6
|
+
RegisterMemberRegistrationQRCodeSuccess = "[RegistrationQrCode] Register Member Registration QR Code Success",
|
|
7
|
+
RetrieveRegistrationQRCode = "[RegistrationQrCode] Retrieve Registration QR Code",
|
|
8
|
+
RetrieveRegistrationQRCodeFailure = "[RegistrationQrCode] Retrieve Registration QR Code Failure",
|
|
9
|
+
RetrieveRegistrationQRCodeSuccess = "[RegistrationQrCode] Retrieve Registration QR Code Success"
|
|
10
|
+
}
|
|
11
|
+
export declare const registerMemberRegistrationQRCodeAction: import("@ngrx/store").ActionCreator<RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCode, (props: {
|
|
12
|
+
payload: {
|
|
13
|
+
clubId: string;
|
|
14
|
+
id: string;
|
|
15
|
+
memberId: string;
|
|
16
|
+
};
|
|
17
|
+
}) => {
|
|
18
|
+
payload: {
|
|
19
|
+
clubId: string;
|
|
20
|
+
id: string;
|
|
21
|
+
memberId: string;
|
|
22
|
+
};
|
|
23
|
+
} & import("@ngrx/store").Action<RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCode>>;
|
|
24
|
+
export declare const registerMemberRegistrationQRCodeFailureAction: import("@ngrx/store").ActionCreator<RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCodeFailure, (props: {
|
|
25
|
+
payload: HttpErrorResponse;
|
|
26
|
+
}) => {
|
|
27
|
+
payload: HttpErrorResponse;
|
|
28
|
+
} & import("@ngrx/store").Action<RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCodeFailure>>;
|
|
29
|
+
export declare const registerMemberRegistrationQRCodeSuccessAction: import("@ngrx/store").ActionCreator<RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCodeSuccess, () => import("@ngrx/store").Action<RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCodeSuccess>>;
|
|
30
|
+
export declare const retrieveRegistrationQRCodeAction: import("@ngrx/store").ActionCreator<RegistrationQRCodeActionTypes.RetrieveRegistrationQRCode, (props: {
|
|
31
|
+
payload: {
|
|
32
|
+
clubId: string;
|
|
33
|
+
id: string;
|
|
34
|
+
};
|
|
35
|
+
}) => {
|
|
36
|
+
payload: {
|
|
37
|
+
clubId: string;
|
|
38
|
+
id: string;
|
|
39
|
+
};
|
|
40
|
+
} & import("@ngrx/store").Action<RegistrationQRCodeActionTypes.RetrieveRegistrationQRCode>>;
|
|
41
|
+
export declare const retrieveRegistrationQRCodeFailureAction: import("@ngrx/store").ActionCreator<RegistrationQRCodeActionTypes.RetrieveRegistrationQRCodeFailure, (props: {
|
|
42
|
+
payload: HttpErrorResponse;
|
|
43
|
+
}) => {
|
|
44
|
+
payload: HttpErrorResponse;
|
|
45
|
+
} & import("@ngrx/store").Action<RegistrationQRCodeActionTypes.RetrieveRegistrationQRCodeFailure>>;
|
|
46
|
+
export declare const retrieveRegistrationQRCodeSuccessAction: import("@ngrx/store").ActionCreator<RegistrationQRCodeActionTypes.RetrieveRegistrationQRCodeSuccess, (props: {
|
|
47
|
+
payload: RegistrationQRCode;
|
|
48
|
+
}) => {
|
|
49
|
+
payload: RegistrationQRCode;
|
|
50
|
+
} & import("@ngrx/store").Action<RegistrationQRCodeActionTypes.RetrieveRegistrationQRCodeSuccess>>;
|
|
@@ -16,5 +16,6 @@ import { SwishIncidentsEffects } from './swish-incidents.effects';
|
|
|
16
16
|
import { TeamEffects } from './team.effects';
|
|
17
17
|
import { TokenEffects } from './token.effects';
|
|
18
18
|
import { UserEffects } from './user.effects';
|
|
19
|
-
import { MemberFeeEffects } from
|
|
20
|
-
|
|
19
|
+
import { MemberFeeEffects } from './member-fee.effects';
|
|
20
|
+
import { RegistrationQRCodeEffects } from './registration-qr-code.effects';
|
|
21
|
+
export declare const dataAccessEffects: (typeof ActivityEffects | typeof AuthEffects | typeof BookingEffects | typeof CalendarEffects | typeof ClubInfoEffects | typeof ConstantEffects | typeof EmailEffects | typeof ExternalLinkEffects | typeof FileEffects | typeof InvoiceEffects | typeof MemberEffects | typeof MemberCardEffects | typeof NewsEffects | typeof PublicFormEffects | typeof SwishIncidentsEffects | typeof TeamEffects | typeof TokenEffects | typeof UserEffects | typeof MemberFeeEffects | typeof RegistrationQRCodeEffects)[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { RegistrationQRCode } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RegistrationQRCodeEffects {
|
|
5
|
+
private actions$;
|
|
6
|
+
private registrationQRCodeService;
|
|
7
|
+
registerMemberRegistration$: import("rxjs").Observable<import("@ngrx/store").Action<import("../actions").RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCodeSuccess> | ({
|
|
8
|
+
payload: HttpErrorResponse;
|
|
9
|
+
} & import("@ngrx/store").Action<import("../actions").RegistrationQRCodeActionTypes.RegisterMemberRegistrationQRCodeFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
10
|
+
retrieveRegisterQRCode$: import("rxjs").Observable<({
|
|
11
|
+
payload: RegistrationQRCode;
|
|
12
|
+
} & import("@ngrx/store").Action<import("../actions").RegistrationQRCodeActionTypes.RetrieveRegistrationQRCodeSuccess>) | ({
|
|
13
|
+
payload: HttpErrorResponse;
|
|
14
|
+
} & import("@ngrx/store").Action<import("../actions").RegistrationQRCodeActionTypes.RetrieveRegistrationQRCodeFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationQRCodeEffects, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegistrationQRCodeEffects>;
|
|
17
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from './member-fee.selectors';
|
|
|
13
13
|
export * from './news.selectors';
|
|
14
14
|
export * from './public-form.selectors';
|
|
15
15
|
export * from './public.selectors';
|
|
16
|
+
export * from './registration-rq-code.selectors';
|
|
16
17
|
export * from './team.selectors';
|
|
17
18
|
export * from './token.selectors';
|
|
18
19
|
export * from './user.selectors';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DataAccessState, RegistrationQRCodeState } from '../state';
|
|
2
|
+
export declare const registrationQRCodeState: import("@ngrx/store").MemoizedSelector<object, RegistrationQRCodeState, (s1: DataAccessState) => RegistrationQRCodeState>;
|
|
3
|
+
export declare const selectRegistrationQRCode: import("@ngrx/store").MemoizedSelector<object, import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").RegistrationQRCode> | undefined, (s1: RegistrationQRCodeState) => import("@myclub_se/data-access").RetrieveResultInterface<import("@myclub_se/data-access").RegistrationQRCode> | undefined>;
|
|
@@ -15,7 +15,8 @@ import { TeamState } from './team.state';
|
|
|
15
15
|
import { TokenState } from './token.state';
|
|
16
16
|
import { UserState } from './user.state';
|
|
17
17
|
import { BookingState } from './booking.state';
|
|
18
|
-
import { MemberFeeState } from
|
|
18
|
+
import { MemberFeeState } from './member-fee.state';
|
|
19
|
+
import { RegistrationQRCodeState } from './registration-qr-code.state';
|
|
19
20
|
export interface DataAccessState {
|
|
20
21
|
auth: AuthState;
|
|
21
22
|
booking: BookingState;
|
|
@@ -32,6 +33,7 @@ export interface DataAccessState {
|
|
|
32
33
|
news: NewsState;
|
|
33
34
|
public: PublicState;
|
|
34
35
|
publicForms: PublicFormState;
|
|
36
|
+
registrationQRCodes: RegistrationQRCodeState;
|
|
35
37
|
teams: TeamState;
|
|
36
38
|
token: TokenState;
|
|
37
39
|
user: UserState;
|
|
@@ -14,6 +14,7 @@ export * from './member-fee.state';
|
|
|
14
14
|
export * from './news.state';
|
|
15
15
|
export * from './public-form.state';
|
|
16
16
|
export * from './public.state';
|
|
17
|
+
export * from './registration-qr-code.state';
|
|
17
18
|
export * from './team.state';
|
|
18
19
|
export * from './token.state';
|
|
19
20
|
export * from './user.state';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RegistrationQRCode } from '../../models';
|
|
2
|
+
import { RetrieveResultInterface } from '../interfaces';
|
|
3
|
+
export interface RegistrationQRCodeState {
|
|
4
|
+
currentRegistrationQrCode: RetrieveResultInterface<RegistrationQRCode> | undefined;
|
|
5
|
+
}
|
|
6
|
+
export declare const initialRegistrationQRCodeState: RegistrationQRCodeState;
|
package/package.json
CHANGED