mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
#591 - database-users
This commit is contained in:
13
resources/js/types/database-user.d.ts
vendored
Normal file
13
resources/js/types/database-user.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
export interface DatabaseUser {
|
||||
id: number;
|
||||
server_id: number;
|
||||
username: string;
|
||||
databases: string[];
|
||||
host?: string;
|
||||
status: string;
|
||||
status_color: 'gray' | 'success' | 'info' | 'warning' | 'danger';
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
|
||||
[key: string]: unknown;
|
||||
}
|
2
resources/js/types/database.d.ts
vendored
2
resources/js/types/database.d.ts
vendored
@ -5,7 +5,7 @@ export interface Database {
|
||||
collation: string;
|
||||
charset: string;
|
||||
status: string;
|
||||
status_color: string;
|
||||
status_color: 'gray' | 'success' | 'info' | 'warning' | 'danger';
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
|
||||
|
5
resources/js/types/index.d.ts
vendored
5
resources/js/types/index.d.ts
vendored
@ -68,6 +68,11 @@ export interface SharedData {
|
||||
projectServers: Server[];
|
||||
server?: Server;
|
||||
publicKeyText: string;
|
||||
flash?: {
|
||||
success: string;
|
||||
error: string;
|
||||
data: unknown;
|
||||
};
|
||||
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
Reference in New Issue
Block a user