18 lines
307 B
TypeScript
Raw Normal View History

2018-05-24 15:44:13 +09:00
import { RESTClientError } from '@loafer/ng-rest';
2018-04-06 20:02:18 +09:00
export interface State {
2018-04-19 22:29:06 +09:00
totp: any;
2018-04-06 20:02:18 +09:00
secretKey: string;
keyURI: string;
error: RESTClientError | null;
pending: boolean;
}
export const initialState: State = {
2018-04-19 22:29:06 +09:00
totp: null,
2018-04-06 20:02:18 +09:00
secretKey: null,
keyURI: null,
error: null,
pending: false,
};