This commit is contained in:
Saeed Vaziry
2025-05-30 11:02:07 +02:00
parent 1b9f826bcb
commit 104cd2fce8
14 changed files with 572 additions and 266 deletions

View File

@ -53,6 +53,9 @@ export interface Configs {
service_versions: {
[service: string]: string[];
};
service_types: {
[service: string]: string;
};
colors: string[];
webservers: string[];
databases: string[];

16
resources/js/types/service.d.ts vendored Normal file
View File

@ -0,0 +1,16 @@
export interface Service {
id: number;
server_id: number;
type: string;
type_data: unknown;
name: string;
version: string;
unit: number;
is_default: boolean;
status: string;
status_color: 'gray' | 'success' | 'info' | 'warning' | 'danger';
icon: string;
created_at: string;
updated_at: string;
[key: string]: unknown;
}