mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { models } from 'beast-orm'
|
||||
import { models } from '../../plugin/beast-orm/'
|
||||
import { AESEncrypt } from '../services/aesencrypt.service'
|
||||
|
||||
const _AESEncrypt = new AESEncrypt()
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
export class PermissionList{
|
||||
Agenda = 530;
|
||||
Gabinete = 531;
|
||||
Actions = 534;
|
||||
Chat = 541;
|
||||
}
|
||||
@@ -2,12 +2,12 @@ export class UserForm {
|
||||
username: string;
|
||||
password: string;
|
||||
domainName: string;
|
||||
BasicAuthKey: string;
|
||||
BasicAuthKey: string;
|
||||
}
|
||||
|
||||
|
||||
export class LoginUserRespose {
|
||||
BasicAuthKey: string;
|
||||
BasicAuthKey: string;
|
||||
UserId: number;
|
||||
Authorization: string;
|
||||
Email: string
|
||||
@@ -30,11 +30,12 @@ export class LoginUserRespose {
|
||||
}[]
|
||||
UserName: string
|
||||
Profile: any;
|
||||
UserPermissions: any;
|
||||
}
|
||||
|
||||
|
||||
export class UserSession {
|
||||
BasicAuthKey: string;
|
||||
BasicAuthKey: string;
|
||||
UserId: number;
|
||||
Authorization: string;
|
||||
Email: string
|
||||
@@ -63,5 +64,6 @@ export class UserSession {
|
||||
LoginPreference: 'None' | 'Password' | 'Pin' | null;
|
||||
PIN: string
|
||||
Inactivity: boolean
|
||||
UrlBeforeInactivity: string
|
||||
}
|
||||
UrlBeforeInactivity: string;
|
||||
UserPermissions: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user