member_webapp/@overflow/member/store/auth/auth.state.ts

20 lines
464 B
TypeScript
Raw Normal View History

2018-05-24 06:44:13 +00:00
import { RESTClientError } from '@loafer/ng-rest';
2018-05-02 08:09:39 +00:00
import { Domain } from '@overflow/commons-typescript/model/domain';
import { Member } from '@overflow/commons-typescript/model/member';
2018-04-06 06:59:49 +00:00
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,
};