mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
remove chat data and ownerCalendar
This commit is contained in:
@@ -6,13 +6,16 @@ export class AgendaPermission{
|
||||
|
||||
constructor() {
|
||||
if(SessionStore.exist) {
|
||||
for (let calendar of SessionStore?.user?.OwnerCalendars) {
|
||||
this.hasOwnCalendar = true
|
||||
}
|
||||
// for (let calendar of SessionStore?.user?.OwnerCalendars) {
|
||||
// this.hasOwnCalendar = true
|
||||
// }
|
||||
|
||||
for (let sharedCalendar of SessionStore?.user?.SharedCalendars) {
|
||||
this.hasSharedCalendar = true
|
||||
}
|
||||
// for (let sharedCalendar of SessionStore?.user?.SharedCalendars) {
|
||||
// this.hasSharedCalendar = true
|
||||
// }
|
||||
|
||||
this.hasOwnCalendar = true
|
||||
this.hasSharedCalendar = true
|
||||
}
|
||||
}
|
||||
get access () {
|
||||
|
||||
@@ -10,31 +10,10 @@ export class LoginUserRespose {
|
||||
BasicAuthKey: string;
|
||||
UserId: number;
|
||||
Authorization: string;
|
||||
ChatData: {
|
||||
status: string,
|
||||
data: {
|
||||
userId: string,
|
||||
authToken: string
|
||||
}
|
||||
}
|
||||
Email: string
|
||||
FullName: string
|
||||
OwnerCalendars: {
|
||||
CalendarId: string
|
||||
CalendarName: "Oficial" | "Pessoal";
|
||||
CalendarRoleId: string;
|
||||
Id: number;
|
||||
}[]
|
||||
RoleDescription: string
|
||||
RoleID: number
|
||||
SharedCalendars: {
|
||||
CalendarId: string
|
||||
CalendarName: "Oficial" | "Pessoal";
|
||||
CalendarRoleId: string;
|
||||
Id: number;
|
||||
OwnerUserId: string;
|
||||
TypeShare: number;
|
||||
}[]
|
||||
UserName: string
|
||||
Profile: any;
|
||||
UserPermissions: any;
|
||||
@@ -53,40 +32,10 @@ export class UserSession {
|
||||
BasicAuthKey: string;
|
||||
UserId: number;
|
||||
Authorization: string;
|
||||
ChatData: {
|
||||
status: string,
|
||||
data: {
|
||||
userId: string,
|
||||
authToken: string
|
||||
}
|
||||
}
|
||||
Email: string
|
||||
FullName: string
|
||||
ManagerName: string
|
||||
OwnerCalendars: {
|
||||
CalendarId: string
|
||||
CalendarName: "Oficial" | "Pessoal";
|
||||
CalendarRoleId: string;
|
||||
Id: number;
|
||||
OwnerUserId: any
|
||||
}[]
|
||||
RoleDescription: string
|
||||
RoleID: number
|
||||
SharedCalendars: {
|
||||
CalendarId: string
|
||||
CalendarName: "Oficial" | "Pessoal";
|
||||
/**
|
||||
* @description User Role Id
|
||||
*/
|
||||
CalendarRoleId: string;
|
||||
Id: number;
|
||||
OwnerUserId: string;
|
||||
TypeShare: number;
|
||||
/**
|
||||
* @description deprecated
|
||||
*/
|
||||
CalendarToken: string;
|
||||
}[]
|
||||
UserName: string
|
||||
Password: string
|
||||
RochetChatUserId: string
|
||||
|
||||
Reference in New Issue
Block a user