Skip to content

Commit 30cb108

Browse files
committed
lint
1 parent 5cccde3 commit 30cb108

File tree

7 files changed

+36
-49
lines changed

7 files changed

+36
-49
lines changed

apps/docs/components/icons.tsx

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,35 +1304,30 @@ export function GoogleCalendarIcon(props: SVGProps<SVGSVGElement>) {
13041304

13051305
export function GoogleChatIcon(props: SVGProps<SVGSVGElement>) {
13061306
return (
1307-
<svg
1308-
{...props}
1309-
viewBox="0 0 311 320"
1310-
fill="none"
1311-
xmlns="http://www.w3.org/2000/svg"
1312-
>
1307+
<svg {...props} viewBox='0 0 311 320' fill='none' xmlns='http://www.w3.org/2000/svg'>
13131308
<path
1314-
fill="#0066da"
1315-
d="M76.37 0.51L76.38 76.98L0 76.96L0 20.77Q0.85 14.81 3.53 10.76Q10.14 0.74 22.75 0.67Q49.41 0.53 76.37 0.51Z"
1309+
fill='#0066da'
1310+
d='M76.37 0.51L76.38 76.98L0 76.96L0 20.77Q0.85 14.81 3.53 10.76Q10.14 0.74 22.75 0.67Q49.41 0.53 76.37 0.51Z'
13161311
/>
13171312
<path
1318-
fill="#fbbc04"
1319-
d="M76.37 0.51L233.79 0.53A1.61 1.57-26.7 0 1 234.71 0.82L235.08 1.09Q234.92 1.15 234.81 1.22Q234.64 1.31 234.64 1.5L234.62 77.01Q234.6 77.01 234.57 77.01L76.41 77.01Q76.4 77 76.38 76.98L76.37 0.51Z"
1313+
fill='#fbbc04'
1314+
d='M76.37 0.51L233.79 0.53A1.61 1.57-26.7 0 1 234.71 0.82L235.08 1.09Q234.92 1.15 234.81 1.22Q234.64 1.31 234.64 1.5L234.62 77.01Q234.6 77.01 234.57 77.01L76.41 77.01Q76.4 77 76.38 76.98L76.37 0.51Z'
13201315
/>
13211316
<path
1322-
fill="#ea4335"
1323-
d="M235.08 1.09L310.53 76.77L234.62 77.01L234.64 1.5Q234.64 1.31 234.81 1.22Q234.92 1.15 235.08 1.09Z"
1317+
fill='#ea4335'
1318+
d='M235.08 1.09L310.53 76.77L234.62 77.01L234.64 1.5Q234.64 1.31 234.81 1.22Q234.92 1.15 235.08 1.09Z'
13241319
/>
13251320
<path
1326-
fill="#2684fc"
1327-
d="M0 76.96L76.38 76.98Q76.4 77 76.41 77.01L76.43 182.69L0 182.67L0 76.96Z"
1321+
fill='#2684fc'
1322+
d='M0 76.96L76.38 76.98Q76.4 77 76.41 77.01L76.43 182.69L0 182.67L0 76.96Z'
13281323
/>
13291324
<path
1330-
fill="#00ac47"
1331-
d="M310.53 76.77L311 77.11L311 239.01Q308.34 253.54 295.94 257.78Q291.52 259.3 282.91 259.28Q227.02 259.19 169.99 259.11Q161.71 259.1 153.19 259.23Q152.72 259.24 152.39 259.57Q124.49 287.34 96.39 315.59C93.52 318.48 90.27 320.09 86.15 319.48Q80.39 318.63 77.66 313.54Q76.51 311.38 76.49 305.66Q76.42 282.47 76.44 259.13L76.43 220.85L114.21 183.07A1.79 1.77 22.3 0 1 115.47 182.55L233.77 182.59A0.83 0.83 0 0 0 234.6 181.76L234.57 77.01Q234.6 77.01 234.62 77.01L310.53 76.77Z"
1325+
fill='#00ac47'
1326+
d='M310.53 76.77L311 77.11L311 239.01Q308.34 253.54 295.94 257.78Q291.52 259.3 282.91 259.28Q227.02 259.19 169.99 259.11Q161.71 259.1 153.19 259.23Q152.72 259.24 152.39 259.57Q124.49 287.34 96.39 315.59C93.52 318.48 90.27 320.09 86.15 319.48Q80.39 318.63 77.66 313.54Q76.51 311.38 76.49 305.66Q76.42 282.47 76.44 259.13L76.43 220.85L114.21 183.07A1.79 1.77 22.3 0 1 115.47 182.55L233.77 182.59A0.83 0.83 0 0 0 234.6 181.76L234.57 77.01Q234.6 77.01 234.62 77.01L310.53 76.77Z'
13321327
/>
13331328
<path
1334-
fill="#00832d"
1335-
d="M76.43 182.69L76.43 220.85L76.44 259.13Q52.47 259.27 28.91 259.22Q19.09 259.2 14.76 257.68Q2.62 253.44 0 238.88L0 182.67L76.43 182.69Z"
1329+
fill='#00832d'
1330+
d='M76.43 182.69L76.43 220.85L76.44 259.13Q52.47 259.27 28.91 259.22Q19.09 259.2 14.76 257.68Q2.62 253.44 0 238.88L0 182.67L76.43 182.69Z'
13361331
/>
13371332
</svg>
13381333
)

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/components/icons.tsx

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,35 +1304,30 @@ export function GoogleCalendarIcon(props: SVGProps<SVGSVGElement>) {
13041304

13051305
export function GoogleChatIcon(props: SVGProps<SVGSVGElement>) {
13061306
return (
1307-
<svg
1308-
{...props}
1309-
viewBox="0 0 311 320"
1310-
fill="none"
1311-
xmlns="http://www.w3.org/2000/svg"
1312-
>
1307+
<svg {...props} viewBox='0 0 311 320' fill='none' xmlns='http://www.w3.org/2000/svg'>
13131308
<path
1314-
fill="#0066da"
1315-
d="M76.37 0.51L76.38 76.98L0 76.96L0 20.77Q0.85 14.81 3.53 10.76Q10.14 0.74 22.75 0.67Q49.41 0.53 76.37 0.51Z"
1309+
fill='#0066da'
1310+
d='M76.37 0.51L76.38 76.98L0 76.96L0 20.77Q0.85 14.81 3.53 10.76Q10.14 0.74 22.75 0.67Q49.41 0.53 76.37 0.51Z'
13161311
/>
13171312
<path
1318-
fill="#fbbc04"
1319-
d="M76.37 0.51L233.79 0.53A1.61 1.57-26.7 0 1 234.71 0.82L235.08 1.09Q234.92 1.15 234.81 1.22Q234.64 1.31 234.64 1.5L234.62 77.01Q234.6 77.01 234.57 77.01L76.41 77.01Q76.4 77 76.38 76.98L76.37 0.51Z"
1313+
fill='#fbbc04'
1314+
d='M76.37 0.51L233.79 0.53A1.61 1.57-26.7 0 1 234.71 0.82L235.08 1.09Q234.92 1.15 234.81 1.22Q234.64 1.31 234.64 1.5L234.62 77.01Q234.6 77.01 234.57 77.01L76.41 77.01Q76.4 77 76.38 76.98L76.37 0.51Z'
13201315
/>
13211316
<path
1322-
fill="#ea4335"
1323-
d="M235.08 1.09L310.53 76.77L234.62 77.01L234.64 1.5Q234.64 1.31 234.81 1.22Q234.92 1.15 235.08 1.09Z"
1317+
fill='#ea4335'
1318+
d='M235.08 1.09L310.53 76.77L234.62 77.01L234.64 1.5Q234.64 1.31 234.81 1.22Q234.92 1.15 235.08 1.09Z'
13241319
/>
13251320
<path
1326-
fill="#2684fc"
1327-
d="M0 76.96L76.38 76.98Q76.4 77 76.41 77.01L76.43 182.69L0 182.67L0 76.96Z"
1321+
fill='#2684fc'
1322+
d='M0 76.96L76.38 76.98Q76.4 77 76.41 77.01L76.43 182.69L0 182.67L0 76.96Z'
13281323
/>
13291324
<path
1330-
fill="#00ac47"
1331-
d="M310.53 76.77L311 77.11L311 239.01Q308.34 253.54 295.94 257.78Q291.52 259.3 282.91 259.28Q227.02 259.19 169.99 259.11Q161.71 259.1 153.19 259.23Q152.72 259.24 152.39 259.57Q124.49 287.34 96.39 315.59C93.52 318.48 90.27 320.09 86.15 319.48Q80.39 318.63 77.66 313.54Q76.51 311.38 76.49 305.66Q76.42 282.47 76.44 259.13L76.43 220.85L114.21 183.07A1.79 1.77 22.3 0 1 115.47 182.55L233.77 182.59A0.83 0.83 0 0 0 234.6 181.76L234.57 77.01Q234.6 77.01 234.62 77.01L310.53 76.77Z"
1325+
fill='#00ac47'
1326+
d='M310.53 76.77L311 77.11L311 239.01Q308.34 253.54 295.94 257.78Q291.52 259.3 282.91 259.28Q227.02 259.19 169.99 259.11Q161.71 259.1 153.19 259.23Q152.72 259.24 152.39 259.57Q124.49 287.34 96.39 315.59C93.52 318.48 90.27 320.09 86.15 319.48Q80.39 318.63 77.66 313.54Q76.51 311.38 76.49 305.66Q76.42 282.47 76.44 259.13L76.43 220.85L114.21 183.07A1.79 1.77 22.3 0 1 115.47 182.55L233.77 182.59A0.83 0.83 0 0 0 234.6 181.76L234.57 77.01Q234.6 77.01 234.62 77.01L310.53 76.77Z'
13321327
/>
13331328
<path
1334-
fill="#00832d"
1335-
d="M76.43 182.69L76.43 220.85L76.44 259.13Q52.47 259.27 28.91 259.22Q19.09 259.2 14.76 257.68Q2.62 253.44 0 238.88L0 182.67L76.43 182.69Z"
1329+
fill='#00832d'
1330+
d='M76.43 182.69L76.43 220.85L76.44 259.13Q52.47 259.27 28.91 259.22Q19.09 259.2 14.76 257.68Q2.62 253.44 0 238.88L0 182.67L76.43 182.69Z'
13361331
/>
13371332
</svg>
13381333
)

apps/sim/lib/oauth/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import {
99
GithubIcon,
1010
GmailIcon,
1111
GoogleCalendarIcon,
12+
GoogleChatIcon,
1213
GoogleDocsIcon,
1314
GoogleDriveIcon,
1415
GoogleFormsIcon,
15-
GoogleChatIcon,
1616
GoogleGroupsIcon,
1717
GoogleIcon,
1818
GoogleSheetsIcon,

apps/sim/tools/google_chat/send_message.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ export const sendMessageTool: ToolConfig<GoogleChatSendMessageParams, GoogleChat
4848
const spaceName = spaceId.startsWith('spaces/') ? spaceId : `spaces/${spaceId}`
4949
const url = new URL(`https://chat.googleapis.com/v1/${spaceName}/messages`)
5050
if (params.threadKey) {
51-
url.searchParams.set(
52-
'messageReplyOption',
53-
'REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD'
54-
)
51+
url.searchParams.set('messageReplyOption', 'REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD')
5552
}
5653
return url.toString()
5754
},

apps/sim/tools/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ import {
621621
} from '@/tools/gong'
622622
import { googleSearchTool } from '@/tools/google'
623623
import { googleBooksVolumeDetailsTool, googleBooksVolumeSearchTool } from '@/tools/google_books'
624-
import { googleChatListSpacesTool, googleChatSendMessageTool } from '@/tools/google_chat'
625624
import {
626625
googleCalendarCreateTool,
627626
googleCalendarCreateV2Tool,
@@ -644,6 +643,7 @@ import {
644643
googleCalendarUpdateTool,
645644
googleCalendarUpdateV2Tool,
646645
} from '@/tools/google_calendar'
646+
import { googleChatListSpacesTool, googleChatSendMessageTool } from '@/tools/google_chat'
647647
import { googleDocsCreateTool, googleDocsReadTool, googleDocsWriteTool } from '@/tools/google_docs'
648648
import {
649649
googleDriveCopyTool,

0 commit comments

Comments
 (0)