upd
This commit is contained in:
@@ -5,7 +5,7 @@ import { IUser } from "./IUser";
|
||||
export interface ICompany {
|
||||
id: string;
|
||||
name: string;
|
||||
apps: IApp[];
|
||||
servers: IServer[];
|
||||
users: IUser[];
|
||||
apps?: IApp[];
|
||||
servers?: IServer[];
|
||||
users?: IUser[];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { ISession } from './ISession';
|
||||
import { IApp } from "./IApp";
|
||||
import { ISession } from "./ISession";
|
||||
|
||||
export interface IServer {
|
||||
id: string;
|
||||
@@ -7,4 +8,5 @@ export interface IServer {
|
||||
location: string;
|
||||
companyId: string;
|
||||
sessions?: ISession[];
|
||||
apps?: IApp[];
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,5 +5,5 @@ export interface IUser {
|
||||
email: string;
|
||||
fullname: string;
|
||||
companyId: string;
|
||||
company: ICompany
|
||||
company?: ICompany;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user