2018-05-24 06:44:13 +00:00
|
|
|
import { RESTClientError } from '@loafer/ng-rest';
|
2018-04-06 06:59:49 +00:00
|
|
|
|
2018-05-02 08:09:39 +00:00
|
|
|
import { Member } from '@overflow/commons-typescript/model/member';
|
2018-04-06 06:59:49 +00:00
|
|
|
|
|
|
|
export interface State {
|
|
|
|
error: RESTClientError | null;
|
|
|
|
pending: boolean;
|
|
|
|
member: Member | null;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const initialState: State = {
|
|
|
|
error: null,
|
|
|
|
pending: false,
|
|
|
|
member: null,
|
|
|
|
};
|