* DbAsset DTO shape as it comes from the main process. * Mirrors `DbAssetDto` in `src/preload/index.d.ts`. Kept as a loose * renderer-side copy so the store compiles without importing preload types.
| 31 | * renderer-side copy so the store compiles without importing preload types. |
| 32 | */ |
| 33 | interface DbAssetDtoLike { |
| 34 | id: string |
| 35 | name: string |
| 36 | group_id?: string | null |
| 37 | group_name: string | null |
| 38 | db_type: 'mysql' | 'postgresql' | 'sqlite' | 'oracle' |
| 39 | host: string | null |
| 40 | port: number | null |
| 41 | file_path?: string | null |
| 42 | connection_mode?: 'readwrite' | 'readonly' | null |
| 43 | database_name: string | null |
| 44 | schema_name?: string | null |
| 45 | username: string | null |
| 46 | hasPassword: boolean |
| 47 | status: 'idle' | 'testing' | 'connected' | 'failed' |
| 48 | environment?: string | null |
| 49 | ssl_mode?: string | null |
| 50 | jdbc_url?: string | null |
| 51 | } |
| 52 | |
| 53 | interface DbAssetGroupDtoLike { |
| 54 | id: string |
nothing calls this directly
no outgoing calls
no test coverage detected