mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-06 12:45:07 -05:00
feat(integrations): added deeper integrations for slack, supabase, firecrawl, exa, notion (#728)
* added deeper exa integrations * added firecrawl crawl tool * include (optional) indicator for fields that are not explicitly required to be filled in by the user * use aliased imports, stronger typing, added additional notion tools * added additional notion tools, tested * added additional supabase tools, updated CSP * added remaining supabase tools * finished supabase tools * fixed persistence of selector inputs on refresh, added supabase tools and slack tools * fixed failing test * remove unrelated file
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import type { ToolConfig } from '../types'
|
||||
import type { GoogleSheetsAppendResponse, GoogleSheetsToolParams } from './types'
|
||||
import type {
|
||||
GoogleSheetsAppendResponse,
|
||||
GoogleSheetsToolParams,
|
||||
} from '@/tools/google_sheets/types'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
export const appendTool: ToolConfig<GoogleSheetsToolParams, GoogleSheetsAppendResponse> = {
|
||||
id: 'google_sheets_append',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { appendTool } from './append'
|
||||
import { readTool } from './read'
|
||||
import { updateTool } from './update'
|
||||
import { writeTool } from './write'
|
||||
import { appendTool } from '@/tools/google_sheets/append'
|
||||
import { readTool } from '@/tools/google_sheets/read'
|
||||
import { updateTool } from '@/tools/google_sheets/update'
|
||||
import { writeTool } from '@/tools/google_sheets/write'
|
||||
|
||||
export const googleSheetsReadTool = readTool
|
||||
export const googleSheetsWriteTool = writeTool
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { ToolConfig } from '../types'
|
||||
import type { GoogleSheetsReadResponse, GoogleSheetsToolParams } from './types'
|
||||
import type { GoogleSheetsReadResponse, GoogleSheetsToolParams } from '@/tools/google_sheets/types'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
export const readTool: ToolConfig<GoogleSheetsToolParams, GoogleSheetsReadResponse> = {
|
||||
id: 'google_sheets_read',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ToolResponse } from '../types'
|
||||
import type { ToolResponse } from '@/tools/types'
|
||||
|
||||
export interface GoogleSheetsRange {
|
||||
sheetId?: number
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import type { ToolConfig } from '../types'
|
||||
import type { GoogleSheetsToolParams, GoogleSheetsUpdateResponse } from './types'
|
||||
import type {
|
||||
GoogleSheetsToolParams,
|
||||
GoogleSheetsUpdateResponse,
|
||||
} from '@/tools/google_sheets/types'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
export const updateTool: ToolConfig<GoogleSheetsToolParams, GoogleSheetsUpdateResponse> = {
|
||||
id: 'google_sheets_update',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { ToolConfig } from '../types'
|
||||
import type { GoogleSheetsToolParams, GoogleSheetsWriteResponse } from './types'
|
||||
import type { GoogleSheetsToolParams, GoogleSheetsWriteResponse } from '@/tools/google_sheets/types'
|
||||
import type { ToolConfig } from '@/tools/types'
|
||||
|
||||
export const writeTool: ToolConfig<GoogleSheetsToolParams, GoogleSheetsWriteResponse> = {
|
||||
id: 'google_sheets_write',
|
||||
|
||||
Reference in New Issue
Block a user