MCPcopy
hub / github.com/chaterm/Chaterm / DbAssetDtoLike

Interface DbAssetDtoLike

src/renderer/src/store/databaseWorkspaceStore.ts:33–51  ·  view source on GitHub ↗

* 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.

Source from the content-addressed store, hash-verified

31 * renderer-side copy so the store compiles without importing preload types.
32 */
33interface 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
53interface DbAssetGroupDtoLike {
54 id: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected