15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
|
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,
|
||
|
};
|