#591 - profile, users and projects

This commit is contained in:
Saeed Vaziry
2025-05-18 18:25:27 +02:00
parent edd4ba1bc2
commit 8b4d156afa
67 changed files with 1467 additions and 760 deletions

View File

@ -6,7 +6,5 @@ export interface Project {
users: User[];
created_at: string;
updated_at: string;
created_at_by_timezone: string;
updated_at_by_timezone: string;
[key: string]: unknown;
}

View File

@ -8,8 +8,6 @@ export interface ServerLog {
is_remote: boolean;
created_at: string;
updated_at: string;
created_at_by_timezone: string;
updated_at_by_timezone: string;
[key: string]: unknown;
}

View File

@ -25,8 +25,6 @@ export interface Server {
last_update_check?: string;
created_at: string;
updated_at: string;
created_at_by_timezone: string;
updated_at_by_timezone: string;
status_color: 'gray' | 'success' | 'info' | 'warning' | 'danger';
[key: string]: unknown;
}

View File

@ -1,3 +1,5 @@
import { Project } from '@/types/project';
export interface User {
id: number;
name: string;
@ -6,5 +8,8 @@ export interface User {
email_verified_at: string | null;
created_at: string;
updated_at: string;
timezone: string;
projects?: Project[];
role: string;
[key: string]: unknown; // This allows for additional properties...
}