2018-04-06 06:59:49 +00:00
|
|
|
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
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,
|
|
|
|
};
|