member_webapp/src/packages/notification/store/detail/notification.state.ts

15 lines
308 B
TypeScript
Raw Normal View History

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