servers and apps selects in modal

This commit is contained in:
2025-03-21 19:29:58 +05:00
parent d9556bae2d
commit 15dbaab168
12 changed files with 254 additions and 71 deletions
+1
View File
@@ -5,4 +5,5 @@ export interface IApp {
companyId: string;
createdAt: Date;
updatedAt: Date;
serverId: string;
}
+11
View File
@@ -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 -5
View File
@@ -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
View File
@@ -1,6 +1,9 @@
import { ICompany } from "./ICompany";
export interface IUser {
id: string;
email: string;
fullname: string;
companyId: string;
company: ICompany
}