mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-13 19:49:09 +00:00
feat(maestro): expose tables[].primary_keys on /connection-test/tables
Co-Authored-By: WOZCODE <contact@withwoz.com>
This commit is contained in:
@@ -100,11 +100,20 @@ export class ConnectionTestListTablesReq {
|
||||
schema: string;
|
||||
}
|
||||
|
||||
export class ConnectionTestListTablesEntry {
|
||||
@ApiProperty()
|
||||
table_name: string;
|
||||
@ApiProperty({ type: [String] })
|
||||
primary_keys: string[];
|
||||
}
|
||||
|
||||
export class ConnectionTestListTablesRes {
|
||||
@ApiProperty()
|
||||
operation_result: boolean;
|
||||
@ApiProperty()
|
||||
table_list: string[];
|
||||
@ApiProperty({ type: [ConnectionTestListTablesEntry] })
|
||||
tables: ConnectionTestListTablesEntry[];
|
||||
}
|
||||
|
||||
export class GetTableMetadataReq {
|
||||
|
||||
Reference in New Issue
Block a user