2018-11-15 19:48:37 +01:00
|
|
|
import { IToken } from 'model/other'
|
2018-11-07 22:42:22 +01:00
|
|
|
|
|
|
|
|
export const DefaultUser = <IUserState>{
|
|
|
|
|
email: '',
|
|
|
|
|
username: '',
|
|
|
|
|
idapp: process.env.APP_ID,
|
|
|
|
|
password: '',
|
|
|
|
|
lang: 'it'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IUserState {
|
2019-01-14 22:40:30 +01:00
|
|
|
userId?: string
|
2018-11-07 22:42:22 +01:00
|
|
|
email?: string
|
|
|
|
|
username: string
|
|
|
|
|
idapp?: any
|
|
|
|
|
password?: string
|
|
|
|
|
lang?: string
|
|
|
|
|
repeatPassword?: string
|
|
|
|
|
|
|
|
|
|
idToken?: string
|
|
|
|
|
|
|
|
|
|
tokens?: IToken[]
|
|
|
|
|
|
|
|
|
|
verifiedEmail?: boolean
|
2019-01-30 01:05:31 +01:00
|
|
|
categorySel?: string
|
2018-11-07 22:42:22 +01:00
|
|
|
|
|
|
|
|
tokenforgot?: string
|
2018-11-15 19:48:37 +01:00
|
|
|
|
|
|
|
|
servercode?: number
|
2019-02-06 18:47:54 +01:00
|
|
|
x_auth_token?: string
|
2018-11-07 22:42:22 +01:00
|
|
|
}
|