Skip to content

Commit 8ae58f9

Browse files
committed
lint
1 parent 52d26f2 commit 8ae58f9

8 files changed

Lines changed: 44 additions & 22 deletions

File tree

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,
@@ -74,9 +74,9 @@ import {
7474
LinearIcon,
7575
LinkedInIcon,
7676
LinkupIcon,
77-
MailServerIcon,
7877
MailchimpIcon,
7978
MailgunIcon,
79+
MailServerIcon,
8080
Mem0Icon,
8181
MicrosoftDataverseIcon,
8282
MicrosoftExcelIcon,
@@ -109,8 +109,6 @@ import {
109109
ResendIcon,
110110
RevenueCatIcon,
111111
S3Icon,
112-
SQSIcon,
113-
STTIcon,
114112
SalesforceIcon,
115113
SearchIcon,
116114
SendgridIcon,
@@ -122,17 +120,19 @@ import {
122120
SimilarwebIcon,
123121
SlackIcon,
124122
SmtpIcon,
123+
SQSIcon,
125124
SshIcon,
125+
STTIcon,
126126
StagehandIcon,
127127
StripeIcon,
128128
SupabaseIcon,
129-
TTSIcon,
130129
TavilyIcon,
131130
TelegramIcon,
132131
TextractIcon,
133132
TinybirdIcon,
134133
TranslateIcon,
135134
TrelloIcon,
135+
TTSIcon,
136136
TwilioIcon,
137137
TypeformIcon,
138138
UpstashIcon,
@@ -143,11 +143,11 @@ import {
143143
WhatsAppIcon,
144144
WikipediaIcon,
145145
WordpressIcon,
146+
xIcon,
146147
YouTubeIcon,
147148
ZendeskIcon,
148149
ZepIcon,
149150
ZoomIcon,
150-
xIcon,
151151
} from '@/components/icons'
152152

153153
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
@@ -148,4 +148,4 @@
148148
"zep",
149149
"zoom"
150150
]
151-
}
151+
}

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 getTableTool: 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 insertRowsTool: 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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
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

47
export const queryTool: ToolConfig<GoogleBigQueryQueryParams, GoogleBigQueryQueryResponse> = {
@@ -120,7 +123,11 @@ export const queryTool: ToolConfig<GoogleBigQueryQueryParams, GoogleBigQueryQuer
120123
jobComplete: { type: 'boolean', description: 'Whether the query completed within the timeout' },
121124
totalBytesProcessed: { type: 'string', description: 'Total bytes processed by the query' },
122125
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)' },
126+
jobReference: {
127+
type: 'json',
128+
description:
129+
'Job reference with projectId, jobId, and location (useful when jobComplete is false)',
130+
},
124131
pageToken: { type: 'string', description: 'Token for fetching additional result pages' },
125132
},
126133
}

apps/sim/tools/registry.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,13 @@ import {
630630
gongLookupPhoneTool,
631631
} from '@/tools/gong'
632632
import { googleSearchTool } from '@/tools/google'
633+
import {
634+
getTableTool as bigqueryGetTableTool,
635+
insertRowsTool as bigqueryInsertRowsTool,
636+
listDatasetsTool as bigqueryListDatasetsTool,
637+
listTablesTool as bigqueryListTablesTool,
638+
queryTool as bigqueryQueryTool,
639+
} from '@/tools/google_bigquery'
633640
import { googleBooksVolumeDetailsTool, googleBooksVolumeSearchTool } from '@/tools/google_books'
634641
import {
635642
googleCalendarCreateTool,
@@ -765,13 +772,6 @@ import {
765772
listMattersHoldsTool,
766773
listMattersTool,
767774
} from '@/tools/google_vault'
768-
import {
769-
getTableTool as bigqueryGetTableTool,
770-
insertRowsTool as bigqueryInsertRowsTool,
771-
listDatasetsTool as bigqueryListDatasetsTool,
772-
listTablesTool as bigqueryListTablesTool,
773-
queryTool as bigqueryQueryTool,
774-
} from '@/tools/google_bigquery'
775775
import {
776776
grafanaCreateAlertRuleTool,
777777
grafanaCreateAnnotationTool,

0 commit comments

Comments
 (0)