18 lines
307 B
TypeScript
18 lines
307 B
TypeScript
import { RESTClientError } from '@loafer/ng-rest';
|
|
|
|
export interface State {
|
|
totp: any;
|
|
secretKey: string;
|
|
keyURI: string;
|
|
error: RESTClientError | null;
|
|
pending: boolean;
|
|
}
|
|
|
|
export const initialState: State = {
|
|
totp: null,
|
|
secretKey: null,
|
|
keyURI: null,
|
|
error: null,
|
|
pending: false,
|
|
};
|