#591 - database-users

This commit is contained in:
Saeed Vaziry
2025-05-21 17:21:10 +02:00
parent 2850c1fa59
commit fe3317692b
41 changed files with 1050 additions and 409 deletions

13
resources/js/types/database-user.d.ts vendored Normal file
View 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;
}

View File

@ -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;

View File

@ -68,6 +68,11 @@ export interface SharedData {
projectServers: Server[];
server?: Server;
publicKeyText: string;
flash?: {
success: string;
error: string;
data: unknown;
};
[key: string]: unknown;
}