member_webapp/@overflow/notification/store/detail/notification.state.ts

15 lines
335 B
TypeScript
Raw Normal View History

2018-05-24 06:44:13 +00:00
import { RPCClientError } from '@loafer/ng-rpc';
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,
};