Skip to content

Commit 33e0c26

Browse files
committed
fix: build errors
1 parent 0ab668d commit 33e0c26

11 files changed

Lines changed: 8 additions & 69 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ In addition, you will need to update the registries:
321321
{
322322
id: 'operation',
323323
title: 'Operation',
324-
type: 'dropdown',
325-
layout: 'full',
324+
type: 'dropdown'
326325
required: true,
327326
options: [
328327
{ label: 'Generate Embeddings', id: 'generate' },
@@ -333,8 +332,7 @@ In addition, you will need to update the registries:
333332
{
334333
id: 'apiKey',
335334
title: 'API Key',
336-
type: 'short-input',
337-
layout: 'full',
335+
type: 'short-input'
338336
placeholder: 'Your Pinecone API key',
339337
password: true,
340338
required: true,

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/tool-input/components/mcp-server-modal/mcp-server-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export function McpServerModal({
307307
if (testResult) clearTestResult()
308308
setFormData((prev) => ({
309309
...prev,
310-
transport: value,
310+
transport: value as McpTransport,
311311
}))
312312
}}
313313
>

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -956,12 +956,7 @@ export function Sidebar() {
956956
top: `${toolbarTop}px`,
957957
bottom: `${navigationBottom + SIDEBAR_HEIGHTS.NAVIGATION + SIDEBAR_GAP + (isBillingEnabled ? SIDEBAR_HEIGHTS.USAGE_INDICATOR + SIDEBAR_GAP : 0)}px`, // Navigation height + gap + UsageIndicator height + gap (if billing enabled)
958958
}}
959-
>
960-
<Toolbar
961-
userPermissions={userPermissions}
962-
isWorkspaceSelectorVisible={isWorkspaceSelectorVisible}
963-
/>
964-
</div>
959+
/>
965960

966961
{/* Floating Logs Filters - Only on logs page */}
967962
<div

apps/sim/blocks/blocks/gmail.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
120120
id: 'threadId',
121121
title: 'Thread ID',
122122
type: 'short-input',
123-
layout: 'full',
123+
124124
placeholder: 'Thread ID to reply to (for threading)',
125125
condition: { field: 'operation', value: ['send_gmail', 'draft_gmail'] },
126126
mode: 'advanced',
@@ -130,7 +130,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
130130
id: 'replyToMessageId',
131131
title: 'Reply to Message ID',
132132
type: 'short-input',
133-
layout: 'full',
133+
134134
placeholder: 'Gmail message ID (not RFC Message-ID) - use the "id" field from results',
135135
condition: { field: 'operation', value: ['send_gmail', 'draft_gmail'] },
136136
mode: 'advanced',
@@ -229,7 +229,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
229229
id: 'moveMessageId',
230230
title: 'Message ID',
231231
type: 'short-input',
232-
layout: 'full',
233232
placeholder: 'ID of the email to move',
234233
condition: { field: 'operation', value: 'move_gmail' },
235234
required: true,
@@ -239,7 +238,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
239238
id: 'destinationLabel',
240239
title: 'Move To Label',
241240
type: 'folder-selector',
242-
layout: 'full',
241+
243242
canonicalParamId: 'addLabelIds',
244243
provider: 'google-email',
245244
serviceId: 'gmail',
@@ -258,7 +257,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
258257
id: 'manualDestinationLabel',
259258
title: 'Move To Label',
260259
type: 'short-input',
261-
layout: 'full',
260+
262261
canonicalParamId: 'addLabelIds',
263262
placeholder: 'Enter label ID (e.g., INBOX, Label_123)',
264263
mode: 'advanced',
@@ -270,7 +269,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
270269
id: 'sourceLabel',
271270
title: 'Remove From Label',
272271
type: 'folder-selector',
273-
layout: 'full',
274272
canonicalParamId: 'removeLabelIds',
275273
provider: 'google-email',
276274
serviceId: 'gmail',
@@ -289,7 +287,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
289287
id: 'manualSourceLabel',
290288
title: 'Remove From Label',
291289
type: 'short-input',
292-
layout: 'full',
293290
canonicalParamId: 'removeLabelIds',
294291
placeholder: 'Enter label ID to remove (e.g., INBOX)',
295292
mode: 'advanced',
@@ -301,7 +298,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
301298
id: 'actionMessageId',
302299
title: 'Message ID',
303300
type: 'short-input',
304-
layout: 'full',
305301
placeholder: 'ID of the email',
306302
condition: {
307303
field: 'operation',
@@ -320,7 +316,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
320316
id: 'labelActionMessageId',
321317
title: 'Message ID',
322318
type: 'short-input',
323-
layout: 'full',
324319
placeholder: 'ID of the email',
325320
condition: { field: 'operation', value: ['add_label_gmail', 'remove_label_gmail'] },
326321
required: true,
@@ -330,7 +325,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
330325
id: 'labelManagement',
331326
title: 'Label',
332327
type: 'folder-selector',
333-
layout: 'full',
334328
canonicalParamId: 'labelIds',
335329
provider: 'google-email',
336330
serviceId: 'gmail',
@@ -349,7 +343,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
349343
id: 'manualLabelManagement',
350344
title: 'Label',
351345
type: 'short-input',
352-
layout: 'full',
353346
canonicalParamId: 'labelIds',
354347
placeholder: 'Enter label ID (e.g., INBOX, Label_123)',
355348
mode: 'advanced',

apps/sim/blocks/blocks/google_drive.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ export const GoogleDriveBlock: BlockConfig<GoogleDriveResponse> = {
246246
id: 'fileSelector',
247247
title: 'Select File',
248248
type: 'file-selector',
249-
layout: 'full',
250249
canonicalParamId: 'fileId',
251250
provider: 'google-drive',
252251
serviceId: 'google-drive',
@@ -264,7 +263,6 @@ export const GoogleDriveBlock: BlockConfig<GoogleDriveResponse> = {
264263
id: 'manualFileId',
265264
title: 'File ID',
266265
type: 'short-input',
267-
layout: 'full',
268266
canonicalParamId: 'fileId',
269267
placeholder: 'Enter file ID',
270268
mode: 'advanced',
@@ -276,7 +274,6 @@ export const GoogleDriveBlock: BlockConfig<GoogleDriveResponse> = {
276274
id: 'mimeType',
277275
title: 'Export Format (for Google Workspace files)',
278276
type: 'dropdown',
279-
layout: 'full',
280277
options: [
281278
{ label: 'Plain Text (text/plain)', id: 'text/plain' },
282279
{ label: 'HTML (text/html)', id: 'text/html' },
@@ -302,7 +299,6 @@ export const GoogleDriveBlock: BlockConfig<GoogleDriveResponse> = {
302299
id: 'fileName',
303300
title: 'File Name Override',
304301
type: 'short-input',
305-
layout: 'full',
306302
placeholder: 'Optional: Override the filename',
307303
condition: { field: 'operation', value: 'download' },
308304
},

apps/sim/blocks/blocks/onedrive.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ export const OneDriveBlock: BlockConfig<OneDriveResponse> = {
252252
id: 'fileSelector',
253253
title: 'Select File',
254254
type: 'file-selector',
255-
layout: 'full',
256255
canonicalParamId: 'fileId',
257256
provider: 'microsoft',
258257
serviceId: 'onedrive',
@@ -275,7 +274,6 @@ export const OneDriveBlock: BlockConfig<OneDriveResponse> = {
275274
id: 'manualFileId',
276275
title: 'File ID',
277276
type: 'short-input',
278-
layout: 'full',
279277
canonicalParamId: 'fileId',
280278
placeholder: 'Enter file ID',
281279
mode: 'advanced',
@@ -286,7 +284,6 @@ export const OneDriveBlock: BlockConfig<OneDriveResponse> = {
286284
id: 'downloadFileName',
287285
title: 'File Name Override',
288286
type: 'short-input',
289-
layout: 'full',
290287
canonicalParamId: 'fileName',
291288
placeholder: 'Optional: Override the filename',
292289
condition: { field: 'operation', value: 'download' },

apps/sim/blocks/blocks/perplexity.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const PerplexityBlock: BlockConfig<PerplexityResponse> = {
2020
id: 'operation',
2121
title: 'Operation',
2222
type: 'dropdown',
23-
layout: 'full',
2423
options: [
2524
{ label: 'Chat', id: 'perplexity_chat' },
2625
{ label: 'Search', id: 'perplexity_search' },
@@ -78,7 +77,6 @@ export const PerplexityBlock: BlockConfig<PerplexityResponse> = {
7877
id: 'query',
7978
title: 'Search Query',
8079
type: 'long-input',
81-
layout: 'full',
8280
placeholder: 'Enter your search query...',
8381
required: true,
8482
condition: { field: 'operation', value: 'perplexity_search' },
@@ -87,39 +85,34 @@ export const PerplexityBlock: BlockConfig<PerplexityResponse> = {
8785
id: 'max_results',
8886
title: 'Max Results',
8987
type: 'short-input',
90-
layout: 'half',
9188
placeholder: '10',
9289
condition: { field: 'operation', value: 'perplexity_search' },
9390
},
9491
{
9592
id: 'search_domain_filter',
9693
title: 'Domain Filter',
9794
type: 'long-input',
98-
layout: 'full',
9995
placeholder: 'science.org, pnas.org, cell.com (comma-separated, max 20)',
10096
condition: { field: 'operation', value: 'perplexity_search' },
10197
},
10298
{
10399
id: 'max_tokens_per_page',
104100
title: 'Max Page Tokens',
105101
type: 'short-input',
106-
layout: 'half',
107102
placeholder: '1024',
108103
condition: { field: 'operation', value: 'perplexity_search' },
109104
},
110105
{
111106
id: 'country',
112107
title: 'Country',
113108
type: 'short-input',
114-
layout: 'half',
115109
placeholder: 'US, GB, DE, etc.',
116110
condition: { field: 'operation', value: 'perplexity_search' },
117111
},
118112
{
119113
id: 'search_recency_filter',
120114
title: 'Recency Filter',
121115
type: 'dropdown',
122-
layout: 'half',
123116
placeholder: 'Select option...',
124117
options: [
125118
{ label: 'Past Hour', id: 'hour' },
@@ -134,15 +127,13 @@ export const PerplexityBlock: BlockConfig<PerplexityResponse> = {
134127
id: 'search_after_date',
135128
title: 'After Date',
136129
type: 'short-input',
137-
layout: 'half',
138130
placeholder: 'MM/DD/YYYY',
139131
condition: { field: 'operation', value: 'perplexity_search' },
140132
},
141133
{
142134
id: 'search_before_date',
143135
title: 'Before Date',
144136
type: 'short-input',
145-
layout: 'half',
146137
placeholder: 'MM/DD/YYYY',
147138
condition: { field: 'operation', value: 'perplexity_search' },
148139
},

0 commit comments

Comments
 (0)