Skip to content

Commit e8254e1

Browse files
committed
fix: typecheck & lint
1 parent cbc7746 commit e8254e1

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

apps/deditor/src/renderer/src/components/datasource/DatasourceTablePicker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const tables = computedAsync(async () => {
3636
return (
3737
await datasourceSessionsStore
3838
.listTablesByParameters(datasource.value.driver, datasource.value as ConnectionThroughParameters))
39-
.map<DatasourceTable>(t => ({ schema: t.table_schema, table: t.table_name }))
39+
.map<DatasourceTable>(t => ({ schema: t.schema, table: t.tableName }))
4040
.filter(filterPgTables)
4141
}
4242
catch (e) {

packages/shared/src/types/ipc/databases/remote.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ export interface PostgresMethods {
7575
}) => {
7676
databaseSessionId: string
7777
results: {
78-
schemaName: string | null;
79-
objName: string;
80-
columnName: string;
81-
dataType: string;
82-
ordinalPosition: number;
83-
isRequired: boolean;
84-
description: string;
78+
schemaName: string | null
79+
objName: string
80+
columnName: string
81+
dataType: string
82+
ordinalPosition: number
83+
isRequired: boolean
84+
description: string
8585
}[]
8686
}
8787
}

0 commit comments

Comments
 (0)