Skip to content

Commit e7fb137

Browse files
committed
ran lint
1 parent 4ed77fc commit e7fb137

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
GoogleBooksIcon,
@@ -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/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ import { GoogleDriveBlock } from '@/blocks/blocks/google_drive'
5050
import { GoogleFormsBlock } from '@/blocks/blocks/google_forms'
5151
import { GoogleGroupsBlock } from '@/blocks/blocks/google_groups'
5252
import { GoogleMapsBlock } from '@/blocks/blocks/google_maps'
53-
import { GoogleTasksBlock } from '@/blocks/blocks/google_tasks'
5453
import { GoogleSheetsBlock, GoogleSheetsV2Block } from '@/blocks/blocks/google_sheets'
5554
import { GoogleSlidesBlock, GoogleSlidesV2Block } from '@/blocks/blocks/google_slides'
55+
import { GoogleTasksBlock } from '@/blocks/blocks/google_tasks'
5656
import { GoogleVaultBlock } from '@/blocks/blocks/google_vault'
5757
import { GrafanaBlock } from '@/blocks/blocks/grafana'
5858
import { GrainBlock } from '@/blocks/blocks/grain'

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-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,

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)

0 commit comments

Comments
 (0)