UNPKG

1.08 kBTypeScriptView Raw
1import { Action } from "@ngrx/store";
2import { CaptchaModel } from "../models/captcha.model";
3export 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}
9export declare class GetCaptchaAction implements Action {
10 readonly type = CaptchaActionTypes.GET_CAPTCHA;
11}
12export declare class GetCaptchaStartAction implements Action {
13 payload: CaptchaModel;
14 readonly type = CaptchaActionTypes.GET_CAPTCHA_START;
15 constructor(payload: CaptchaModel);
16}
17export declare class GetCaptchaSucceedAction implements Action {
18 readonly type = CaptchaActionTypes.GET_CAPTCHA_SUCCEED;
19}
20export declare class GetCaptchaFailedAction implements Action {
21 readonly type = CaptchaActionTypes.GET_CAPTCHA_FAILED;
22}
23export declare type CaptchaActions = GetCaptchaAction | GetCaptchaStartAction | GetCaptchaSucceedAction | GetCaptchaFailedAction;