Nexysweb / koa-lib

MIT License
0 stars 0 forks source link

session user shape #48

Open johnb8005 opened 4 years ago

johnb8005 commented 4 years ago
interface Profile {
  firstName: string,
  lastName: string
}

interface OptionSet {
  id: number,
  name: string
}

interface SessionUser {
  profile: Profile,
  language: OptionSet,
  id: number,
  email: string,
  permissions: string[],
  urlRedirect?:string
}