Skip to content

Commit bd544a0

Browse files
committed
lint
1 parent 9930a96 commit bd544a0

File tree

11 files changed

+60
-36
lines changed

11 files changed

+60
-36
lines changed

apps/docs/components/ui/icon-mapping.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ import {
4444
FirecrawlIcon,
4545
FirefliesIcon,
4646
GammaIcon,
47-
GitLabIcon,
4847
GithubIcon,
48+
GitLabIcon,
4949
GmailIcon,
5050
GongIcon,
5151
GoogleBigQueryIcon,
@@ -87,9 +87,9 @@ import {
8787
LinkupIcon,
8888
LoopsIcon,
8989
LumaIcon,
90-
MailServerIcon,
9190
MailchimpIcon,
9291
MailgunIcon,
92+
MailServerIcon,
9393
Mem0Icon,
9494
MicrosoftDataverseIcon,
9595
MicrosoftExcelIcon,
@@ -123,8 +123,6 @@ import {
123123
ResendIcon,
124124
RevenueCatIcon,
125125
S3Icon,
126-
SQSIcon,
127-
STTIcon,
128126
SalesforceIcon,
129127
SearchIcon,
130128
SendgridIcon,
@@ -136,17 +134,19 @@ import {
136134
SimilarwebIcon,
137135
SlackIcon,
138136
SmtpIcon,
137+
SQSIcon,
139138
SshIcon,
139+
STTIcon,
140140
StagehandIcon,
141141
StripeIcon,
142142
SupabaseIcon,
143-
TTSIcon,
144143
TavilyIcon,
145144
TelegramIcon,
146145
TextractIcon,
147146
TinybirdIcon,
148147
TranslateIcon,
149148
TrelloIcon,
149+
TTSIcon,
150150
TwilioIcon,
151151
TypeformIcon,
152152
UpstashIcon,
@@ -157,11 +157,11 @@ import {
157157
WhatsAppIcon,
158158
WikipediaIcon,
159159
WordpressIcon,
160+
xIcon,
160161
YouTubeIcon,
161162
ZendeskIcon,
162163
ZepIcon,
163164
ZoomIcon,
164-
xIcon,
165165
} from '@/components/icons'
166166

167167
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>

apps/docs/content/docs/en/tools/google_meet.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Key features of the Google Meet API include:
2626
In Sim, the Google Meet integration allows your agents to create meeting spaces on demand, monitor conference activity, track participation across meetings, and manage active conferences as part of automated workflows. This enables scenarios such as automatically provisioning meeting rooms for scheduled events, generating attendance reports, ending stale conferences, and building meeting analytics dashboards.
2727
{/* MANUAL-CONTENT-END */}
2828

29+
2930
## Usage Instructions
3031

3132
Integrate Google Meet into your workflow. Create meeting spaces, get space details, end conferences, list conference records, and view participants.

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,4 @@
162162
"zep",
163163
"zoom"
164164
]
165-
}
165+
}

apps/sim/blocks/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ import { GoogleDocsBlock } from '@/blocks/blocks/google_docs'
5757
import { GoogleDriveBlock } from '@/blocks/blocks/google_drive'
5858
import { GoogleFormsBlock } from '@/blocks/blocks/google_forms'
5959
import { GoogleGroupsBlock } from '@/blocks/blocks/google_groups'
60-
import { GoogleMeetBlock } from '@/blocks/blocks/google_meet'
6160
import { GoogleMapsBlock } from '@/blocks/blocks/google_maps'
61+
import { GoogleMeetBlock } from '@/blocks/blocks/google_meet'
6262
import { GooglePagespeedBlock } from '@/blocks/blocks/google_pagespeed'
6363
import { GoogleSheetsBlock, GoogleSheetsV2Block } from '@/blocks/blocks/google_sheets'
6464
import { GoogleSlidesBlock, GoogleSlidesV2Block } from '@/blocks/blocks/google_slides'

apps/sim/tools/google_meet/create_space.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
2-
MEET_API_BASE,
32
type GoogleMeetApiSpaceResponse,
43
type GoogleMeetCreateSpaceParams,
54
type GoogleMeetCreateSpaceResponse,
5+
MEET_API_BASE,
66
} from '@/tools/google_meet/types'
77
import type { ToolConfig } from '@/tools/types'
88

@@ -38,7 +38,8 @@ export const createSpaceTool: ToolConfig<
3838
type: 'string',
3939
required: false,
4040
visibility: 'user-or-llm',
41-
description: 'Entry points allowed: ALL (all entry points) or CREATOR_APP_ONLY (only via app)',
41+
description:
42+
'Entry points allowed: ALL (all entry points) or CREATOR_APP_ONLY (only via app)',
4243
},
4344
},
4445

@@ -84,9 +85,16 @@ export const createSpaceTool: ToolConfig<
8485

8586
outputs: {
8687
name: { type: 'string', description: 'Resource name of the space (e.g., spaces/abc123)' },
87-
meetingUri: { type: 'string', description: 'Meeting URL (e.g., https://meet.google.com/abc-defg-hij)' },
88+
meetingUri: {
89+
type: 'string',
90+
description: 'Meeting URL (e.g., https://meet.google.com/abc-defg-hij)',
91+
},
8892
meetingCode: { type: 'string', description: 'Meeting code (e.g., abc-defg-hij)' },
8993
accessType: { type: 'string', description: 'Access type configuration', optional: true },
90-
entryPointAccess: { type: 'string', description: 'Entry point access configuration', optional: true },
94+
entryPointAccess: {
95+
type: 'string',
96+
description: 'Entry point access configuration',
97+
optional: true,
98+
},
9199
},
92100
}

apps/sim/tools/google_meet/end_conference.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
2-
MEET_API_BASE,
32
type GoogleMeetEndConferenceParams,
43
type GoogleMeetEndConferenceResponse,
4+
MEET_API_BASE,
55
} from '@/tools/google_meet/types'
66
import type { ToolConfig } from '@/tools/types'
77

@@ -37,9 +37,7 @@ export const endConferenceTool: ToolConfig<
3737
request: {
3838
url: (params: GoogleMeetEndConferenceParams) => {
3939
const trimmed = params.spaceName.trim()
40-
const name = trimmed.startsWith('spaces/')
41-
? trimmed
42-
: `spaces/${trimmed}`
40+
const name = trimmed.startsWith('spaces/') ? trimmed : `spaces/${trimmed}`
4341
return `${MEET_API_BASE}/${name}:endActiveConference`
4442
},
4543
method: 'POST',

apps/sim/tools/google_meet/get_conference_record.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
2-
MEET_API_BASE,
32
type GoogleMeetApiConferenceRecordResponse,
43
type GoogleMeetGetConferenceRecordParams,
54
type GoogleMeetGetConferenceRecordResponse,
5+
MEET_API_BASE,
66
} from '@/tools/google_meet/types'
77
import type { ToolConfig } from '@/tools/types'
88

apps/sim/tools/google_meet/get_space.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
2-
MEET_API_BASE,
32
type GoogleMeetApiSpaceResponse,
43
type GoogleMeetGetSpaceParams,
54
type GoogleMeetGetSpaceResponse,
5+
MEET_API_BASE,
66
} from '@/tools/google_meet/types'
77
import type { ToolConfig } from '@/tools/types'
88

@@ -35,9 +35,7 @@ export const getSpaceTool: ToolConfig<GoogleMeetGetSpaceParams, GoogleMeetGetSpa
3535
request: {
3636
url: (params: GoogleMeetGetSpaceParams) => {
3737
const trimmed = params.spaceName.trim()
38-
const name = trimmed.startsWith('spaces/')
39-
? trimmed
40-
: `spaces/${trimmed}`
38+
const name = trimmed.startsWith('spaces/') ? trimmed : `spaces/${trimmed}`
4139
return `${MEET_API_BASE}/${name}`
4240
},
4341
method: 'GET',
@@ -71,7 +69,15 @@ export const getSpaceTool: ToolConfig<GoogleMeetGetSpaceParams, GoogleMeetGetSpa
7169
meetingUri: { type: 'string', description: 'Meeting URL' },
7270
meetingCode: { type: 'string', description: 'Meeting code' },
7371
accessType: { type: 'string', description: 'Access type configuration', optional: true },
74-
entryPointAccess: { type: 'string', description: 'Entry point access configuration', optional: true },
75-
activeConference: { type: 'string', description: 'Active conference record name', optional: true },
72+
entryPointAccess: {
73+
type: 'string',
74+
description: 'Entry point access configuration',
75+
optional: true,
76+
},
77+
activeConference: {
78+
type: 'string',
79+
description: 'Active conference record name',
80+
optional: true,
81+
},
7682
},
7783
}

apps/sim/tools/google_meet/list_conference_records.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
2-
MEET_API_BASE,
32
type GoogleMeetApiConferenceRecordListResponse,
43
type GoogleMeetListConferenceRecordsParams,
54
type GoogleMeetListConferenceRecordsResponse,
5+
MEET_API_BASE,
66
} from '@/tools/google_meet/types'
77
import type { ToolConfig } from '@/tools/types'
88

@@ -92,6 +92,10 @@ export const listConferenceRecordsTool: ToolConfig<
9292
type: 'json',
9393
description: 'List of conference records with name, start/end times, and space',
9494
},
95-
nextPageToken: { type: 'string', description: 'Token for next page of results', optional: true },
95+
nextPageToken: {
96+
type: 'string',
97+
description: 'Token for next page of results',
98+
optional: true,
99+
},
96100
},
97101
}

apps/sim/tools/google_meet/list_participants.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {
2-
MEET_API_BASE,
32
type GoogleMeetApiParticipantListResponse,
43
type GoogleMeetApiParticipantResponse,
54
type GoogleMeetListParticipantsParams,
65
type GoogleMeetListParticipantsResponse,
6+
MEET_API_BASE,
77
} from '@/tools/google_meet/types'
88
import type { ToolConfig } from '@/tools/types'
99

@@ -85,7 +85,10 @@ export const listParticipantsTool: ToolConfig<
8585

8686
const getDisplayName = (p: GoogleMeetApiParticipantResponse): string | null => {
8787
return (
88-
p.signedinUser?.displayName ?? p.anonymousUser?.displayName ?? p.phoneUser?.displayName ?? null
88+
p.signedinUser?.displayName ??
89+
p.anonymousUser?.displayName ??
90+
p.phoneUser?.displayName ??
91+
null
8992
)
9093
}
9194

@@ -117,7 +120,11 @@ export const listParticipantsTool: ToolConfig<
117120
type: 'json',
118121
description: 'List of participants with name, times, display name, and user type',
119122
},
120-
nextPageToken: { type: 'string', description: 'Token for next page of results', optional: true },
123+
nextPageToken: {
124+
type: 'string',
125+
description: 'Token for next page of results',
126+
optional: true,
127+
},
121128
totalSize: { type: 'number', description: 'Total number of participants', optional: true },
122129
},
123130
}

0 commit comments

Comments
 (0)