83 lines
1.6 KiB
TypeScript
83 lines
1.6 KiB
TypeScript
export interface User {
|
|
guid?: number;
|
|
prename: string;
|
|
name?: string;
|
|
username: string;
|
|
shortname?: string;
|
|
email?: string;
|
|
language?: string;
|
|
comment?: string;
|
|
deleted?: boolean;
|
|
dateFormat?: string;
|
|
addedWho?: string;
|
|
changedWho?: string;
|
|
active?: boolean;
|
|
}
|
|
|
|
|
|
export interface Group {
|
|
guid?: number;
|
|
name?: string;
|
|
adSync?: boolean;
|
|
internal?: boolean;
|
|
active?: boolean;
|
|
comment?: string;
|
|
addedWho?: string;
|
|
changedWho?: string;
|
|
}
|
|
|
|
export interface Module {
|
|
guid: number;
|
|
name?: string;
|
|
shortName?: string;
|
|
}
|
|
|
|
export interface ModuleOfUser {
|
|
guid?: number;
|
|
userId: number;
|
|
moduleId: number;
|
|
isAdmin?: boolean;
|
|
comment?: string;
|
|
addedWho?: string;
|
|
changedWho?: string;
|
|
}
|
|
|
|
export interface GroupOfUser {
|
|
guid?: number;
|
|
userId: number;
|
|
groupId: number;
|
|
comment?: string;
|
|
addedWho?: string;
|
|
changedWho?: string;
|
|
user?: User,
|
|
group?: Group
|
|
}
|
|
|
|
export interface UserRep {
|
|
guid?: number,
|
|
userId: number,
|
|
repGroupId?: number,
|
|
rightGroupId: number,
|
|
addedWho: string,
|
|
repUserId?: number,
|
|
user?: User,
|
|
repGroup?: Group,
|
|
rightGroup?: Group,
|
|
repUser?: User
|
|
}
|
|
|
|
export interface DirGroup {
|
|
samaccountname: Array<string>;
|
|
}
|
|
|
|
export interface DirUser {
|
|
samaccountname?: Array<string>;
|
|
givenname?: Array<string>;
|
|
sn?: Array<string>;
|
|
mail?: string;
|
|
addedWho?: string;
|
|
}
|
|
|
|
export interface AuthCheckDto {
|
|
isAuthenticated: boolean;
|
|
} |