Skip to content

Commit 26ef1cf

Browse files
committed
lint
1 parent 171f231 commit 26ef1cf

File tree

8 files changed

+48
-23
lines changed

8 files changed

+48
-23
lines changed

apps/docs/components/ui/icon-mapping.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ import {
3838
EyeIcon,
3939
FirecrawlIcon,
4040
FirefliesIcon,
41-
GitLabIcon,
4241
GithubIcon,
42+
GitLabIcon,
4343
GmailIcon,
4444
GongIcon,
4545
GoogleBigQueryIcon,
@@ -73,9 +73,9 @@ import {
7373
LinearIcon,
7474
LinkedInIcon,
7575
LinkupIcon,
76-
MailServerIcon,
7776
MailchimpIcon,
7877
MailgunIcon,
78+
MailServerIcon,
7979
Mem0Icon,
8080
MicrosoftDataverseIcon,
8181
MicrosoftExcelIcon,
@@ -108,8 +108,6 @@ import {
108108
ResendIcon,
109109
RevenueCatIcon,
110110
S3Icon,
111-
SQSIcon,
112-
STTIcon,
113111
SalesforceIcon,
114112
SearchIcon,
115113
SendgridIcon,
@@ -121,17 +119,19 @@ import {
121119
SimilarwebIcon,
122120
SlackIcon,
123121
SmtpIcon,
122+
SQSIcon,
124123
SshIcon,
124+
STTIcon,
125125
StagehandIcon,
126126
StripeIcon,
127127
SupabaseIcon,
128-
TTSIcon,
129128
TavilyIcon,
130129
TelegramIcon,
131130
TextractIcon,
132131
TinybirdIcon,
133132
TranslateIcon,
134133
TrelloIcon,
134+
TTSIcon,
135135
TwilioIcon,
136136
TypeformIcon,
137137
UpstashIcon,
@@ -142,11 +142,11 @@ import {
142142
WhatsAppIcon,
143143
WikipediaIcon,
144144
WordpressIcon,
145+
xIcon,
145146
YouTubeIcon,
146147
ZendeskIcon,
147148
ZepIcon,
148149
ZoomIcon,
149-
xIcon,
150150
} from '@/components/icons'
151151

152152
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@
147147
"zep",
148148
"zoom"
149149
]
150-
}
150+
}

apps/sim/blocks/blocks/google_bigquery.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,19 @@ Return ONLY the JSON array - no explanations, no wrapping, no extra text.`,
212212
query: { type: 'string', description: 'SQL query to execute' },
213213
useLegacySql: { type: 'boolean', description: 'Whether to use legacy SQL syntax' },
214214
maxResults: { type: 'number', description: 'Maximum number of results to return' },
215-
defaultDatasetId: { type: 'string', description: 'Default dataset for unqualified table names' },
215+
defaultDatasetId: {
216+
type: 'string',
217+
description: 'Default dataset for unqualified table names',
218+
},
216219
location: { type: 'string', description: 'Processing location' },
217220
datasetId: { type: 'string', description: 'BigQuery dataset ID' },
218221
tableId: { type: 'string', description: 'BigQuery table ID' },
219222
rows: { type: 'string', description: 'JSON array of row objects to insert' },
220223
skipInvalidRows: { type: 'boolean', description: 'Whether to skip invalid rows during insert' },
221-
ignoreUnknownValues: { type: 'boolean', description: 'Whether to ignore unknown column values' },
224+
ignoreUnknownValues: {
225+
type: 'boolean',
226+
description: 'Whether to ignore unknown column values',
227+
},
222228
pageToken: { type: 'string', description: 'Pagination token' },
223229
},
224230
outputs: {

apps/sim/lib/oauth/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import {
88
DropboxIcon,
99
GithubIcon,
1010
GmailIcon,
11+
GoogleBigQueryIcon,
1112
GoogleCalendarIcon,
1213
GoogleDocsIcon,
1314
GoogleDriveIcon,
1415
GoogleFormsIcon,
1516
GoogleGroupsIcon,
16-
GoogleBigQueryIcon,
1717
GoogleIcon,
1818
GoogleSheetsIcon,
1919
HubspotIcon,

apps/sim/tools/google_bigquery/get_table.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,15 @@ export const googleBigQueryGetTableTool: ToolConfig<
9696
description: { type: 'string', description: 'Table description' },
9797
numRows: { type: 'string', description: 'Total number of rows' },
9898
numBytes: { type: 'string', description: 'Total size in bytes' },
99-
schema: { type: 'json', description: 'Array of column definitions with name, type, mode, and description' },
99+
schema: {
100+
type: 'json',
101+
description: 'Array of column definitions with name, type, mode, and description',
102+
},
100103
creationTime: { type: 'string', description: 'Table creation time (milliseconds since epoch)' },
101-
lastModifiedTime: { type: 'string', description: 'Last modification time (milliseconds since epoch)' },
104+
lastModifiedTime: {
105+
type: 'string',
106+
description: 'Last modification time (milliseconds since epoch)',
107+
},
102108
location: { type: 'string', description: 'Data location' },
103109
},
104110
}

apps/sim/tools/google_bigquery/insert_rows.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ export const googleBigQueryInsertRowsTool: ToolConfig<
136136

137137
outputs: {
138138
insertedRows: { type: 'number', description: 'Number of rows successfully inserted' },
139-
errors: { type: 'json', description: 'Array of per-row insertion errors (empty if all succeeded)' },
139+
errors: {
140+
type: 'json',
141+
description: 'Array of per-row insertion errors (empty if all succeeded)',
142+
},
140143
},
141144
}

apps/sim/tools/google_bigquery/query.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
import type { GoogleBigQueryQueryParams, GoogleBigQueryQueryResponse } from '@/tools/google_bigquery/types'
1+
import type {
2+
GoogleBigQueryQueryParams,
3+
GoogleBigQueryQueryResponse,
4+
} from '@/tools/google_bigquery/types'
25
import type { ToolConfig } from '@/tools/types'
36

4-
export const googleBigQueryQueryTool: ToolConfig<GoogleBigQueryQueryParams, GoogleBigQueryQueryResponse> = {
7+
export const googleBigQueryQueryTool: ToolConfig<
8+
GoogleBigQueryQueryParams,
9+
GoogleBigQueryQueryResponse
10+
> = {
511
id: 'google_bigquery_query',
612
name: 'BigQuery Run Query',
713
description: 'Run a SQL query against Google BigQuery and return the results',
@@ -120,7 +126,11 @@ export const googleBigQueryQueryTool: ToolConfig<GoogleBigQueryQueryParams, Goog
120126
jobComplete: { type: 'boolean', description: 'Whether the query completed within the timeout' },
121127
totalBytesProcessed: { type: 'string', description: 'Total bytes processed by the query' },
122128
cacheHit: { type: 'boolean', description: 'Whether the query result was served from cache' },
123-
jobReference: { type: 'json', description: 'Job reference with projectId, jobId, and location (useful when jobComplete is false)' },
129+
jobReference: {
130+
type: 'json',
131+
description:
132+
'Job reference with projectId, jobId, and location (useful when jobComplete is false)',
133+
},
124134
pageToken: { type: 'string', description: 'Token for fetching additional result pages' },
125135
},
126136
}

apps/sim/tools/registry.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,13 @@ import {
620620
gongLookupPhoneTool,
621621
} from '@/tools/gong'
622622
import { googleSearchTool } from '@/tools/google'
623+
import {
624+
googleBigQueryGetTableTool,
625+
googleBigQueryInsertRowsTool,
626+
googleBigQueryListDatasetsTool,
627+
googleBigQueryListTablesTool,
628+
googleBigQueryQueryTool,
629+
} from '@/tools/google_bigquery'
623630
import { googleBooksVolumeDetailsTool, googleBooksVolumeSearchTool } from '@/tools/google_books'
624631
import {
625632
googleCalendarCreateTool,
@@ -747,13 +754,6 @@ import {
747754
listMattersHoldsTool,
748755
listMattersTool,
749756
} from '@/tools/google_vault'
750-
import {
751-
googleBigQueryGetTableTool,
752-
googleBigQueryInsertRowsTool,
753-
googleBigQueryListDatasetsTool,
754-
googleBigQueryListTablesTool,
755-
googleBigQueryQueryTool,
756-
} from '@/tools/google_bigquery'
757757
import {
758758
grafanaCreateAlertRuleTool,
759759
grafanaCreateAnnotationTool,

0 commit comments

Comments
 (0)