mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
#591 - profile, users and projects
This commit is contained in:
2
resources/js/types/project.d.ts
vendored
2
resources/js/types/project.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
2
resources/js/types/server-log.d.ts
vendored
2
resources/js/types/server-log.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
2
resources/js/types/server.d.ts
vendored
2
resources/js/types/server.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
5
resources/js/types/user.d.ts
vendored
5
resources/js/types/user.d.ts
vendored
@ -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...
|
||||
}
|
||||
|
Reference in New Issue
Block a user