diff --git a/src/index.ts b/src/index.ts index 46aebee..982420e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,4 +6,6 @@ export * from './meta/index.ts'; export * from './data/upload.ts'; // 重要的类型定义模块 -export type { CreateColumnData, CreateTableData } from './meta/tables.ts'; \ No newline at end of file +export type { CreateColumnData, CreateTableData } from './meta/tables.ts'; + +export type { QueryParams } from './record.ts'; \ No newline at end of file diff --git a/src/record.ts b/src/record.ts index 105165f..a6234e2 100644 --- a/src/record.ts +++ b/src/record.ts @@ -1,7 +1,10 @@ import { Query } from './api.ts'; import { Meta } from './meta/index.ts'; -type QueryParams = { +/** + * https://nocodb.com/docs/product-docs/developer-resources/rest-apis#v3-where-query-parameter + */ +export type QueryParams = { /** * fields=field1,field2 */