1 | import { Action } from "@ngrx/store";
|
2 | import { CaptchaModel } from "../models/captcha.model";
|
3 | export declare enum CaptchaActionTypes {
|
4 | GET_CAPTCHA = "[CAPTCHA][GET] GET_CAPTCHA",
|
5 | GET_CAPTCHA_START = "[CAPTCHA][GET] GET_CAPTCHA_START",
|
6 | GET_CAPTCHA_SUCCEED = "[CAPTCHA][GET] GET_CAPTCHA_SUCCEED",
|
7 | GET_CAPTCHA_FAILED = "[CAPTCHA][GET] GET_CAPTCHA_FAILED"
|
8 | }
|
9 | export declare class GetCaptchaAction implements Action {
|
10 | readonly type = CaptchaActionTypes.GET_CAPTCHA;
|
11 | }
|
12 | export declare class GetCaptchaStartAction implements Action {
|
13 | payload: CaptchaModel;
|
14 | readonly type = CaptchaActionTypes.GET_CAPTCHA_START;
|
15 | constructor(payload: CaptchaModel);
|
16 | }
|
17 | export declare class GetCaptchaSucceedAction implements Action {
|
18 | readonly type = CaptchaActionTypes.GET_CAPTCHA_SUCCEED;
|
19 | }
|
20 | export declare class GetCaptchaFailedAction implements Action {
|
21 | readonly type = CaptchaActionTypes.GET_CAPTCHA_FAILED;
|
22 | }
|
23 | export declare type CaptchaActions = GetCaptchaAction | GetCaptchaStartAction | GetCaptchaSucceedAction | GetCaptchaFailedAction;
|