member_webapp/@overflow/member/store/auth/auth.state.ts
crusader d59d9379f9 ing
2018-05-24 15:44:13 +09:00

20 lines
464 B
TypeScript

import { RESTClientError } from '@loafer/ng-rest';
import { Domain } from '@overflow/commons-typescript/model/domain';
import { Member } from '@overflow/commons-typescript/model/member';
export interface State {
signined: boolean;
error: RESTClientError | null;
pending: boolean;
member: Member | null;
domain: Domain | null;
}
export const initialState: State = {
signined: false,
error: null,
pending: false,
member: null,
domain: null,
};