更新类型定义,优化获取表架构的返回值

This commit is contained in:
2025-12-16 22:56:38 +08:00
parent 5b90eb862f
commit a4e0ca9a8d
3 changed files with 46 additions and 5 deletions

View File

@@ -10,4 +10,4 @@ import { writeFileSync } from 'node:fs';
// writeFileSync('table-metadata.json', JSON.stringify(res, null, 2));
const res2 = await nocoApi.record.getTableSchema()
console.log(util.inspect(res2, { depth: null, colors: true }))
console.log(util.inspect(res2.data.schema, { depth: null, colors: true }))