1 | import { Action } from "@ngrx/store";
|
2 | import { ProfileViewModel } from "../models";
|
3 | export declare enum ProfileViewActionTypes {
|
4 | GET_PROFILE = "[USER][PROFILE] GET_PROFILE",
|
5 | GET_PROFILE_START = "[USER][PROFILE] GET_PROFILE_START",
|
6 | GET_PROFILE_SUCCEED = "[USER][PROFILE] GET_PROFILE_SUCCEED",
|
7 | GET_PROFILE_FAILED = "[USER][PROFILE] GET_PROFILE_FAILED",
|
8 | }
|
9 | export declare class GetProfile implements Action {
|
10 | readonly type: ProfileViewActionTypes;
|
11 | }
|
12 | export declare class GetProfileStart implements Action {
|
13 | readonly type: ProfileViewActionTypes;
|
14 | }
|
15 | export declare class GetProfileSucceed implements Action {
|
16 | payload: ProfileViewModel.Response;
|
17 | readonly type: ProfileViewActionTypes;
|
18 | constructor(payload: ProfileViewModel.Response);
|
19 | }
|
20 | export declare class GetProfileFailed implements Action {
|
21 | readonly type: ProfileViewActionTypes;
|
22 | }
|
23 | export declare type ProfileViewAction = GetProfile | GetProfileStart | GetProfileSucceed | GetProfileFailed;
|