From fc5b6fcc19d177f05c33c13c732589dd884f6caf Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 3 Dec 2025 18:10:00 +0800 Subject: [PATCH] update --- src/index.ts | 4 +++- src/record.ts | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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 */