Skip to content

Commit 411cfc3

Browse files
committed
ran lint
1 parent 3961cea commit 411cfc3

File tree

12 files changed

+36
-41
lines changed

12 files changed

+36
-41
lines changed

apps/docs/components/icons.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,11 +1304,7 @@ export function GoogleCalendarIcon(props: SVGProps<SVGSVGElement>) {
13041304

13051305
export function GoogleTasksIcon(props: SVGProps<SVGSVGElement>) {
13061306
return (
1307-
<svg
1308-
{...props}
1309-
viewBox='0 0 527.1 500'
1310-
xmlns='http://www.w3.org/2000/svg'
1311-
>
1307+
<svg {...props} viewBox='0 0 527.1 500' xmlns='http://www.w3.org/2000/svg'>
13121308
<polygon
13131309
fill='#0066DA'
13141310
points='410.4,58.3 368.8,81.2 348.2,120.6 368.8,168.8 407.8,211 450,187.5 475.9,142.8 450,87.5'

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,
@@ -75,9 +75,9 @@ import {
7575
LinearIcon,
7676
LinkedInIcon,
7777
LinkupIcon,
78-
MailServerIcon,
7978
MailchimpIcon,
8079
MailgunIcon,
80+
MailServerIcon,
8181
Mem0Icon,
8282
MicrosoftDataverseIcon,
8383
MicrosoftExcelIcon,
@@ -110,8 +110,6 @@ import {
110110
ResendIcon,
111111
RevenueCatIcon,
112112
S3Icon,
113-
SQSIcon,
114-
STTIcon,
115113
SalesforceIcon,
116114
SearchIcon,
117115
SendgridIcon,
@@ -123,17 +121,19 @@ import {
123121
SimilarwebIcon,
124122
SlackIcon,
125123
SmtpIcon,
124+
SQSIcon,
126125
SshIcon,
126+
STTIcon,
127127
StagehandIcon,
128128
StripeIcon,
129129
SupabaseIcon,
130-
TTSIcon,
131130
TavilyIcon,
132131
TelegramIcon,
133132
TextractIcon,
134133
TinybirdIcon,
135134
TranslateIcon,
136135
TrelloIcon,
136+
TTSIcon,
137137
TwilioIcon,
138138
TypeformIcon,
139139
UpstashIcon,
@@ -144,11 +144,11 @@ import {
144144
WhatsAppIcon,
145145
WikipediaIcon,
146146
WordpressIcon,
147+
xIcon,
147148
YouTubeIcon,
148149
ZendeskIcon,
149150
ZepIcon,
150151
ZoomIcon,
151-
xIcon,
152152
} from '@/components/icons'
153153

154154
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
@@ -149,4 +149,4 @@
149149
"zep",
150150
"zoom"
151151
]
152-
}
152+
}

apps/sim/blocks/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ import { GoogleDriveBlock } from '@/blocks/blocks/google_drive'
5151
import { GoogleFormsBlock } from '@/blocks/blocks/google_forms'
5252
import { GoogleGroupsBlock } from '@/blocks/blocks/google_groups'
5353
import { GoogleMapsBlock } from '@/blocks/blocks/google_maps'
54-
import { GoogleTasksBlock } from '@/blocks/blocks/google_tasks'
5554
import { GoogleSheetsBlock, GoogleSheetsV2Block } from '@/blocks/blocks/google_sheets'
5655
import { GoogleSlidesBlock, GoogleSlidesV2Block } from '@/blocks/blocks/google_slides'
56+
import { GoogleTasksBlock } from '@/blocks/blocks/google_tasks'
5757
import { GoogleTranslateBlock } from '@/blocks/blocks/google_translate'
5858
import { GoogleVaultBlock } from '@/blocks/blocks/google_vault'
5959
import { GrafanaBlock } from '@/blocks/blocks/grafana'

apps/sim/components/icons.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,11 +1304,7 @@ export function GoogleCalendarIcon(props: SVGProps<SVGSVGElement>) {
13041304

13051305
export function GoogleTasksIcon(props: SVGProps<SVGSVGElement>) {
13061306
return (
1307-
<svg
1308-
{...props}
1309-
viewBox='0 0 527.1 500'
1310-
xmlns='http://www.w3.org/2000/svg'
1311-
>
1307+
<svg {...props} viewBox='0 0 527.1 500' xmlns='http://www.w3.org/2000/svg'>
13121308
<polygon
13131309
fill='#0066DA'
13141310
points='410.4,58.3 368.8,81.2 348.2,120.6 368.8,168.8 407.8,211 450,187.5 475.9,142.8 450,87.5'

apps/sim/tools/google_tasks/create.ts

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

55
export const createTool: ToolConfig<GoogleTasksCreateParams, GoogleTasksResponse> = {
66
id: 'google_tasks_create',
@@ -60,7 +60,8 @@ export const createTool: ToolConfig<GoogleTasksCreateParams, GoogleTasksResponse
6060
type: 'string',
6161
required: false,
6262
visibility: 'user-or-llm',
63-
description: 'Previous sibling task ID to position after. Omit to place first among siblings.',
63+
description:
64+
'Previous sibling task ID to position after. Omit to place first among siblings.',
6465
},
6566
},
6667

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 @@
1-
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
31
import type { GoogleTasksDeleteParams, GoogleTasksDeleteResponse } from '@/tools/google_tasks/types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { ToolConfig } from '@/tools/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 @@
1-
import type { ToolConfig } from '@/tools/types'
2-
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
31
import type { GoogleTasksGetParams, GoogleTasksResponse } from '@/tools/google_tasks/types'
2+
import { TASKS_API_BASE } from '@/tools/google_tasks/types'
3+
import type { ToolConfig } from '@/tools/types'
44

55
export const getTool: ToolConfig<GoogleTasksGetParams, GoogleTasksResponse> = {
66
id: 'google_tasks_get',

apps/sim/tools/google_tasks/list.ts

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

55
export const listTool: ToolConfig<GoogleTasksListParams, GoogleTasksListResponse> = {
66
id: 'google_tasks_list',
@@ -98,8 +98,7 @@ export const listTool: ToolConfig<GoogleTasksListParams, GoogleTasksListResponse
9898
queryParams.set('showCompleted', String(params.showCompleted))
9999
if (params.showDeleted !== undefined)
100100
queryParams.set('showDeleted', String(params.showDeleted))
101-
if (params.showHidden !== undefined)
102-
queryParams.set('showHidden', String(params.showHidden))
101+
if (params.showHidden !== undefined) queryParams.set('showHidden', String(params.showHidden))
103102
if (params.dueMin) queryParams.set('dueMin', params.dueMin)
104103
if (params.dueMax) queryParams.set('dueMax', params.dueMax)
105104
if (params.completedMin) queryParams.set('completedMin', params.completedMin)

apps/sim/tools/google_tasks/list_task_lists.ts

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

58
export const listTaskListsTool: ToolConfig<
69
GoogleTasksListTaskListsParams,

0 commit comments

Comments
 (0)