Skip to content

Commit 0a6cd53

Browse files
committed
fix: build errors
1 parent 24acb68 commit 0a6cd53

File tree

11 files changed

+8
-69
lines changed

11 files changed

+8
-69
lines changed

.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
@@ -107,7 +107,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
107107
id: 'threadId',
108108
title: 'Thread ID',
109109
type: 'short-input',
110-
layout: 'full',
110+
111111
placeholder: 'Thread ID to reply to (for threading)',
112112
condition: { field: 'operation', value: ['send_gmail', 'draft_gmail'] },
113113
mode: 'advanced',
@@ -117,7 +117,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
117117
id: 'replyToMessageId',
118118
title: 'Reply to Message ID',
119119
type: 'short-input',
120-
layout: 'full',
120+
121121
placeholder: 'Gmail message ID (not RFC Message-ID) - use the "id" field from results',
122122
condition: { field: 'operation', value: ['send_gmail', 'draft_gmail'] },
123123
mode: 'advanced',
@@ -216,7 +216,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
216216
id: 'moveMessageId',
217217
title: 'Message ID',
218218
type: 'short-input',
219-
layout: 'full',
220219
placeholder: 'ID of the email to move',
221220
condition: { field: 'operation', value: 'move_gmail' },
222221
required: true,
@@ -226,7 +225,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
226225
id: 'destinationLabel',
227226
title: 'Move To Label',
228227
type: 'folder-selector',
229-
layout: 'full',
228+
230229
canonicalParamId: 'addLabelIds',
231230
provider: 'google-email',
232231
serviceId: 'gmail',
@@ -245,7 +244,7 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
245244
id: 'manualDestinationLabel',
246245
title: 'Move To Label',
247246
type: 'short-input',
248-
layout: 'full',
247+
249248
canonicalParamId: 'addLabelIds',
250249
placeholder: 'Enter label ID (e.g., INBOX, Label_123)',
251250
mode: 'advanced',
@@ -257,7 +256,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
257256
id: 'sourceLabel',
258257
title: 'Remove From Label (Optional)',
259258
type: 'folder-selector',
260-
layout: 'full',
261259
canonicalParamId: 'removeLabelIds',
262260
provider: 'google-email',
263261
serviceId: 'gmail',
@@ -276,7 +274,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
276274
id: 'manualSourceLabel',
277275
title: 'Remove From Label (Optional)',
278276
type: 'short-input',
279-
layout: 'full',
280277
canonicalParamId: 'removeLabelIds',
281278
placeholder: 'Enter label ID to remove (e.g., INBOX)',
282279
mode: 'advanced',
@@ -288,7 +285,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
288285
id: 'actionMessageId',
289286
title: 'Message ID',
290287
type: 'short-input',
291-
layout: 'full',
292288
placeholder: 'ID of the email',
293289
condition: {
294290
field: 'operation',
@@ -307,7 +303,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
307303
id: 'labelActionMessageId',
308304
title: 'Message ID',
309305
type: 'short-input',
310-
layout: 'full',
311306
placeholder: 'ID of the email',
312307
condition: { field: 'operation', value: ['add_label_gmail', 'remove_label_gmail'] },
313308
required: true,
@@ -317,7 +312,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
317312
id: 'labelManagement',
318313
title: 'Label',
319314
type: 'folder-selector',
320-
layout: 'full',
321315
canonicalParamId: 'labelIds',
322316
provider: 'google-email',
323317
serviceId: 'gmail',
@@ -336,7 +330,6 @@ export const GmailBlock: BlockConfig<GmailToolResponse> = {
336330
id: 'manualLabelManagement',
337331
title: 'Label',
338332
type: 'short-input',
339-
layout: 'full',
340333
canonicalParamId: 'labelIds',
341334
placeholder: 'Enter label ID (e.g., INBOX, Label_123)',
342335
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
@@ -251,7 +251,6 @@ export const OneDriveBlock: BlockConfig<OneDriveResponse> = {
251251
id: 'fileSelector',
252252
title: 'Select File',
253253
type: 'file-selector',
254-
layout: 'full',
255254
canonicalParamId: 'fileId',
256255
provider: 'microsoft',
257256
serviceId: 'onedrive',
@@ -274,7 +273,6 @@ export const OneDriveBlock: BlockConfig<OneDriveResponse> = {
274273
id: 'manualFileId',
275274
title: 'File ID',
276275
type: 'short-input',
277-
layout: 'full',
278276
canonicalParamId: 'fileId',
279277
placeholder: 'Enter file ID',
280278
mode: 'advanced',
@@ -285,7 +283,6 @@ export const OneDriveBlock: BlockConfig<OneDriveResponse> = {
285283
id: 'downloadFileName',
286284
title: 'File Name Override',
287285
type: 'short-input',
288-
layout: 'full',
289286
canonicalParamId: 'fileName',
290287
placeholder: 'Optional: Override the filename',
291288
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)