Improve user type

This commit is contained in:
Peter Maquiran
2021-05-10 14:51:51 +01:00
parent 6c5a5708e6
commit f846d50223
2 changed files with 47 additions and 25 deletions
+30 -6
View File
@@ -1,7 +1,31 @@
export class UserForm {
username: string;
password: string;
domainName: string;
BasicAuthKey: string;
}
export class User {
username: string;
password: string;
domainName: string;
BasicAuthKey: string;
UserId?: number;
}
username: string;
password: string;
domainName: string;
BasicAuthKey: string;
UserId?: number;
Authorization: string;
Email: string
FullName: string
OwnerCalendars: {
CalendarId: string
CalendarName: "Oficial" | "Pessoal"
Id: 1
}[]
RoleDescription: string
RoleID: number
SharedCalendars: {
CalendarId: string
CalendarName: "Oficial" | "Pessoal"
Id: 1
}[]
UserName: string
}