Files
freeplanet/src/model/UserStore.ts
Paolo Arena 2515bb598e - fix: starting the app it doesn't loaded the SingleTodo correctly...
the problem was:
  import { SingleTodo } from '@components'  // doesn't work:
  Resolve  :
  import { SingleTodo } from '../../SingleTodo'  // correct!
2019-01-30 01:05:31 +01:00

31 lines
469 B
TypeScript

import { IToken } from 'model/other'
export const DefaultUser = <IUserState>{
email: '',
username: '',
idapp: process.env.APP_ID,
password: '',
lang: 'it'
}
export interface IUserState {
userId?: string
email?: string
username: string
idapp?: any
password?: string
lang?: string
repeatPassword?: string
idToken?: string
tokens?: IToken[]
verifiedEmail?: boolean
categorySel?: string
tokenforgot?: string
servercode?: number
}