44
This commit is contained in:
parent
4fad0cc2f0
commit
3ac606d404
|
@ -0,0 +1,18 @@
|
|||
import Action from 'commons/redux/Action';
|
||||
import ApiKey from 'apikey/api/model/ApiKey';
|
||||
|
||||
import RegistPayload from '../payload/RegistPayload';
|
||||
|
||||
// Action Type
|
||||
export type REQUEST = '@overflow/apikey/regist/REQUEST';
|
||||
export type REQUEST_SUCCESS = '@overflow/apikey/regist/REQUEST_SUCCESS';
|
||||
export type REQUEST_FAILURE = '@overflow/apikey/regist/REQUEST_FAILURE';
|
||||
|
||||
export const REQUEST: REQUEST = '@overflow/apikey/regist/REQUEST';
|
||||
export const REQUEST_SUCCESS: REQUEST_SUCCESS = '@overflow/apikey/regist/REQUEST_SUCCESS';
|
||||
export const REQUEST_FAILURE: REQUEST_FAILURE = '@overflow/apikey/regist/REQUEST_FAILURE';
|
||||
|
||||
// Action Creater
|
||||
export type request = () => Action<RegistPayload>;
|
||||
export type requestSuccess = (apiKey: ApiKey) => Action<ApiKey>;
|
||||
export type requestFailure = (error: Error) => Action;
|
|
@ -0,0 +1,6 @@
|
|||
interface RegistPayload {
|
||||
signinId: string;
|
||||
signinPw: string;
|
||||
}
|
||||
|
||||
export default RegistPayload;
|
Loading…
Reference in New Issue
Block a user