Skip to content

Commit 7b0e030

Browse files
committed
update names
1 parent f1938f0 commit 7b0e030

File tree

14 files changed

+31
-32
lines changed

14 files changed

+31
-32
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { TABLE_LIMITS } from '@/lib/table/constants'
22
import { enrichTableToolSchema } from '@/tools/schema-enrichers'
3+
import type { TableBatchInsertParams, TableBatchInsertResponse } from '@/tools/table/types'
34
import type { ToolConfig } from '@/tools/types'
4-
import type { TableBatchInsertParams, TableBatchInsertResponse } from './types'
55

66
export const tableBatchInsertRowsTool: ToolConfig<
77
TableBatchInsertParams,

apps/sim/tools/table/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { TableCreateParams, TableCreateResponse } from '@/tools/table/types'
12
import type { ToolConfig } from '@/tools/types'
2-
import type { TableCreateParams, TableCreateResponse } from './types'
33

44
export const tableCreateTool: ToolConfig<TableCreateParams, TableCreateResponse> = {
55
id: 'table_create',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { TableDeleteResponse, TableRowDeleteParams } from '@/tools/table/types'
12
import type { ToolConfig } from '@/tools/types'
2-
import type { TableDeleteResponse, TableRowDeleteParams } from './types'
33

44
export const tableDeleteRowTool: ToolConfig<TableRowDeleteParams, TableDeleteResponse> = {
55
id: 'table_delete_row',

apps/sim/tools/table/delete-rows-by-filter.ts renamed to apps/sim/tools/table/delete_rows_by_filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { TABLE_LIMITS } from '@/lib/table/constants'
22
import { enrichTableToolSchema } from '@/tools/schema-enrichers'
3+
import type { TableBulkOperationResponse, TableDeleteByFilterParams } from '@/tools/table/types'
34
import type { ToolConfig } from '@/tools/types'
4-
import type { TableBulkOperationResponse, TableDeleteByFilterParams } from './types'
55

66
export const tableDeleteRowsByFilterTool: ToolConfig<
77
TableDeleteByFilterParams,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { TableRowGetParams, TableRowResponse } from '@/tools/table/types'
12
import type { ToolConfig } from '@/tools/types'
2-
import type { TableRowGetParams, TableRowResponse } from './types'
33

44
export const tableGetRowTool: ToolConfig<TableRowGetParams, TableRowResponse> = {
55
id: 'table_get_row',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { TableGetSchemaParams, TableGetSchemaResponse } from '@/tools/table/types'
12
import type { ToolConfig } from '@/tools/types'
2-
import type { TableGetSchemaParams, TableGetSchemaResponse } from './types'
33

44
export const tableGetSchemaTool: ToolConfig<TableGetSchemaParams, TableGetSchemaResponse> = {
55
id: 'table_get_schema',

apps/sim/tools/table/index.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
export * from './batch-insert-rows'
1+
export * from './batch_insert_rows'
22
export * 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'
88
export * from './list'
9-
export * from './query-rows'
9+
export * from './query_rows'
1010
export * 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'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { enrichTableToolSchema } from '@/tools/schema-enrichers'
2+
import type { TableRowInsertParams, TableRowResponse } from '@/tools/table/types'
23
import type { ToolConfig } from '@/tools/types'
3-
import type { TableRowInsertParams, TableRowResponse } from './types'
44

55
export const tableInsertRowTool: ToolConfig<TableRowInsertParams, TableRowResponse> = {
66
id: 'table_insert_row',

apps/sim/tools/table/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { TableListParams, TableListResponse } from '@/tools/table/types'
12
import type { ToolConfig } from '@/tools/types'
2-
import type { TableListParams, TableListResponse } from './types'
33

44
export const tableListTool: ToolConfig<TableListParams, TableListResponse> = {
55
id: 'table_list',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { TABLE_LIMITS } from '@/lib/table/constants'
22
import { enrichTableToolSchema } from '@/tools/schema-enrichers'
3+
import type { TableQueryResponse, TableRowQueryParams } from '@/tools/table/types'
34
import type { ToolConfig } from '@/tools/types'
4-
import type { TableQueryResponse, TableRowQueryParams } from './types'
55

66
export const tableQueryRowsTool: ToolConfig<TableRowQueryParams, TableQueryResponse> = {
77
id: 'table_query_rows',

0 commit comments

Comments
 (0)