Skip to content

Commit 715f501

Browse files
committed
ran lint
1 parent 33d08d3 commit 715f501

File tree

13 files changed

+37
-44
lines changed

13 files changed

+37
-44
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,
@@ -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/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 { GoogleTranslateBlock } from '@/blocks/blocks/google_translate'
5757
import { GoogleVaultBlock } from '@/blocks/blocks/google_vault'
5858
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/socket/database/operations.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ async function auditWorkflowLockToggle(workflowId: string, actorId: string): Pro
270270
resourceType: AuditResourceType.WORKFLOW,
271271
resourceId: workflowId,
272272
resourceName: wf.name,
273-
description: allLocked
274-
? `Locked workflow "${wf.name}"`
275-
: `Unlocked workflow "${wf.name}"`,
273+
description: allLocked ? `Locked workflow "${wf.name}"` : `Unlocked workflow "${wf.name}"`,
276274
metadata: { blockCount: blocks.length },
277275
})
278276
}

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)

0 commit comments

Comments
 (0)