2018-04-06 11:02:18 +00:00
|
|
|
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
2018-05-02 08:09:39 +00:00
|
|
|
import { Notification } from '@overflow/commons-typescript/model/notification';
|
2018-04-06 11:02:18 +00:00
|
|
|
|
|
|
|
export interface State {
|
|
|
|
error: RPCClientError | null;
|
|
|
|
pending: boolean;
|
|
|
|
notification: Notification;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const initialState: State = {
|
|
|
|
error: null,
|
|
|
|
pending: false,
|
|
|
|
notification: null,
|
|
|
|
};
|