File tree Expand file tree Collapse file tree 14 files changed +31
-32
lines changed
Expand file tree Collapse file tree 14 files changed +31
-32
lines changed Original file line number Diff line number Diff line change 11import { TABLE_LIMITS } from '@/lib/table/constants'
22import { enrichTableToolSchema } from '@/tools/schema-enrichers'
3+ import type { TableBatchInsertParams , TableBatchInsertResponse } from '@/tools/table/types'
34import type { ToolConfig } from '@/tools/types'
4- import type { TableBatchInsertParams , TableBatchInsertResponse } from './types'
55
66export const tableBatchInsertRowsTool : ToolConfig <
77 TableBatchInsertParams ,
Original file line number Diff line number Diff line change 1+ import type { TableCreateParams , TableCreateResponse } from '@/tools/table/types'
12import type { ToolConfig } from '@/tools/types'
2- import type { TableCreateParams , TableCreateResponse } from './types'
33
44export const tableCreateTool : ToolConfig < TableCreateParams , TableCreateResponse > = {
55 id : 'table_create' ,
Original file line number Diff line number Diff line change 1+ import type { TableDeleteResponse , TableRowDeleteParams } from '@/tools/table/types'
12import type { ToolConfig } from '@/tools/types'
2- import type { TableDeleteResponse , TableRowDeleteParams } from './types'
33
44export const tableDeleteRowTool : ToolConfig < TableRowDeleteParams , TableDeleteResponse > = {
55 id : 'table_delete_row' ,
Original file line number Diff line number Diff line change 11import { TABLE_LIMITS } from '@/lib/table/constants'
22import { enrichTableToolSchema } from '@/tools/schema-enrichers'
3+ import type { TableBulkOperationResponse , TableDeleteByFilterParams } from '@/tools/table/types'
34import type { ToolConfig } from '@/tools/types'
4- import type { TableBulkOperationResponse , TableDeleteByFilterParams } from './types'
55
66export const tableDeleteRowsByFilterTool : ToolConfig <
77 TableDeleteByFilterParams ,
Original file line number Diff line number Diff line change 1+ import type { TableRowGetParams , TableRowResponse } from '@/tools/table/types'
12import type { ToolConfig } from '@/tools/types'
2- import type { TableRowGetParams , TableRowResponse } from './types'
33
44export const tableGetRowTool : ToolConfig < TableRowGetParams , TableRowResponse > = {
55 id : 'table_get_row' ,
Original file line number Diff line number Diff line change 1+ import type { TableGetSchemaParams , TableGetSchemaResponse } from '@/tools/table/types'
12import type { ToolConfig } from '@/tools/types'
2- import type { TableGetSchemaParams , TableGetSchemaResponse } from './types'
33
44export const tableGetSchemaTool : ToolConfig < TableGetSchemaParams , TableGetSchemaResponse > = {
55 id : 'table_get_schema' ,
Original file line number Diff line number Diff line change 1- export * from './batch-insert-rows '
1+ export * from './batch_insert_rows '
22export * from './create'
3- export * from './delete-row '
4- export * from './delete-rows-by-filter '
5- export * from './get-row '
6- export * from './get-schema '
7- export * from './insert-row '
3+ export * from './delete_row '
4+ export * from './delete_rows_by_filter '
5+ export * from './get_row '
6+ export * from './get_schema '
7+ export * from './insert_row '
88export * from './list'
9- export * from './query-rows '
9+ export * from './query_rows '
1010export * from './types'
11- export * from './update-row '
12- export * from './update-rows-by-filter '
13- export * from './upsert-row '
11+ export * from './update_row '
12+ export * from './update_rows_by_filter '
13+ export * from './upsert_row '
Original file line number Diff line number Diff line change 11import { enrichTableToolSchema } from '@/tools/schema-enrichers'
2+ import type { TableRowInsertParams , TableRowResponse } from '@/tools/table/types'
23import type { ToolConfig } from '@/tools/types'
3- import type { TableRowInsertParams , TableRowResponse } from './types'
44
55export const tableInsertRowTool : ToolConfig < TableRowInsertParams , TableRowResponse > = {
66 id : 'table_insert_row' ,
Original file line number Diff line number Diff line change 1+ import type { TableListParams , TableListResponse } from '@/tools/table/types'
12import type { ToolConfig } from '@/tools/types'
2- import type { TableListParams , TableListResponse } from './types'
33
44export const tableListTool : ToolConfig < TableListParams , TableListResponse > = {
55 id : 'table_list' ,
Original file line number Diff line number Diff line change 11import { TABLE_LIMITS } from '@/lib/table/constants'
22import { enrichTableToolSchema } from '@/tools/schema-enrichers'
3+ import type { TableQueryResponse , TableRowQueryParams } from '@/tools/table/types'
34import type { ToolConfig } from '@/tools/types'
4- import type { TableQueryResponse , TableRowQueryParams } from './types'
55
66export const tableQueryRowsTool : ToolConfig < TableRowQueryParams , TableQueryResponse > = {
77 id : 'table_query_rows' ,
You can’t perform that action at this time.
0 commit comments