Skip to content

Commit 4ed77fc

Browse files
committed
fix(google-tasks): use absolute imports and fix registry order
1 parent a1ead79 commit 4ed77fc

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

apps/sim/blocks/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ import { GoogleDocsBlock } from '@/blocks/blocks/google_docs'
4949
import { GoogleDriveBlock } from '@/blocks/blocks/google_drive'
5050
import { GoogleFormsBlock } from '@/blocks/blocks/google_forms'
5151
import { GoogleGroupsBlock } from '@/blocks/blocks/google_groups'
52-
import { GoogleTasksBlock } from '@/blocks/blocks/google_tasks'
5352
import { GoogleMapsBlock } from '@/blocks/blocks/google_maps'
53+
import { GoogleTasksBlock } from '@/blocks/blocks/google_tasks'
5454
import { GoogleSheetsBlock, GoogleSheetsV2Block } from '@/blocks/blocks/google_sheets'
5555
import { GoogleSlidesBlock, GoogleSlidesV2Block } from '@/blocks/blocks/google_slides'
5656
import { GoogleVaultBlock } from '@/blocks/blocks/google_vault'

apps/sim/tools/google_tasks/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from './types'
3-
import type { GoogleTasksCreateParams, GoogleTasksResponse } from './types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { GoogleTasksCreateParams, GoogleTasksResponse } from '@/tools/google_tasks/types'
44

55
export const createTool: ToolConfig<GoogleTasksCreateParams, GoogleTasksResponse> = {
66
id: 'google_tasks_create',

apps/sim/tools/google_tasks/delete.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from './types'
3-
import type { GoogleTasksDeleteParams, GoogleTasksDeleteResponse } from './types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { GoogleTasksDeleteParams, GoogleTasksDeleteResponse } from '@/tools/google_tasks/types'
44

55
export const deleteTool: ToolConfig<GoogleTasksDeleteParams, GoogleTasksDeleteResponse> = {
66
id: 'google_tasks_delete',

apps/sim/tools/google_tasks/get.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from './types'
3-
import type { GoogleTasksGetParams, GoogleTasksResponse } from './types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { GoogleTasksGetParams, GoogleTasksResponse } from '@/tools/google_tasks/types'
44

55
export const getTool: ToolConfig<GoogleTasksGetParams, GoogleTasksResponse> = {
66
id: 'google_tasks_get',
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
export { createTool as googleTasksCreateTool } from './create'
2-
export { deleteTool as googleTasksDeleteTool } from './delete'
3-
export { getTool as googleTasksGetTool } from './get'
4-
export { listTool as googleTasksListTool } from './list'
5-
export { listTaskListsTool as googleTasksListTaskListsTool } from './list-task-lists'
6-
export { updateTool as googleTasksUpdateTool } from './update'
1+
export { createTool as googleTasksCreateTool } from '@/tools/google_tasks/create'
2+
export { deleteTool as googleTasksDeleteTool } from '@/tools/google_tasks/delete'
3+
export { getTool as googleTasksGetTool } from '@/tools/google_tasks/get'
4+
export { listTool as googleTasksListTool } from '@/tools/google_tasks/list'
5+
export { listTaskListsTool as googleTasksListTaskListsTool } from '@/tools/google_tasks/list-task-lists'
6+
export { updateTool as googleTasksUpdateTool } from '@/tools/google_tasks/update'

apps/sim/tools/google_tasks/list-task-lists.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from './types'
3-
import type { GoogleTasksListTaskListsParams, GoogleTasksListTaskListsResponse } from './types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { GoogleTasksListTaskListsParams, GoogleTasksListTaskListsResponse } from '@/tools/google_tasks/types'
44

55
export const listTaskListsTool: ToolConfig<
66
GoogleTasksListTaskListsParams,

apps/sim/tools/google_tasks/list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from './types'
3-
import type { GoogleTasksListParams, GoogleTasksListResponse } from './types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { GoogleTasksListParams, GoogleTasksListResponse } from '@/tools/google_tasks/types'
44

55
export const listTool: ToolConfig<GoogleTasksListParams, GoogleTasksListResponse> = {
66
id: 'google_tasks_list',

apps/sim/tools/google_tasks/update.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from './types'
3-
import type { GoogleTasksUpdateParams, GoogleTasksResponse } from './types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { GoogleTasksUpdateParams, GoogleTasksResponse } from '@/tools/google_tasks/types'
44

55
export const updateTool: ToolConfig<GoogleTasksUpdateParams, GoogleTasksResponse> = {
66
id: 'google_tasks_update',

0 commit comments

Comments
 (0)