servers and apps selects in modal
This commit is contained in:
@@ -5,4 +5,5 @@ export interface IApp {
|
||||
companyId: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
serverId: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import { IApp } from "./IApp";
|
||||
import { IServer } from "./IServer";
|
||||
import { IUser } from "./IUser";
|
||||
|
||||
export interface ICompany {
|
||||
id: string;
|
||||
name: string;
|
||||
apps: IApp[];
|
||||
servers: IServer[];
|
||||
users: IUser[];
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
import { IApp } from "./IApp";
|
||||
import { IClient } from "./IClient";
|
||||
import { ISession } from "./ISession";
|
||||
import { ISession } from './ISession';
|
||||
|
||||
export interface IServer {
|
||||
id: string;
|
||||
@@ -9,6 +7,4 @@ export interface IServer {
|
||||
location: string;
|
||||
companyId: string;
|
||||
sessions?: ISession[];
|
||||
client?: IClient;
|
||||
app?: IApp;
|
||||
}
|
||||
|
||||
+4
-1
@@ -1,6 +1,9 @@
|
||||
import { ICompany } from "./ICompany";
|
||||
|
||||
export interface IUser {
|
||||
id: string;
|
||||
email: string;
|
||||
fullname: string;
|
||||
|
||||
companyId: string;
|
||||
company: ICompany
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user