Skip to content

Commit 721c77f

Browse files
committed
fix(attio): remove redundant (optional) from placeholders
1 parent 7a7bcfe commit 721c77f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

apps/sim/blocks/blocks/attio.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Company: {"name": [{"value": "Acme Corp"}], "domains": [{"domain": "acme.com"}]}
189189
id: 'filter',
190190
title: 'Filter',
191191
type: 'code',
192-
placeholder: '{"name": "John Smith"} (optional)',
192+
placeholder: '{"name": "John Smith"}',
193193
condition: { field: 'operation', value: 'list_records' },
194194
wandConfig: {
195195
enabled: true,
@@ -220,7 +220,7 @@ Empty (list all): {}`,
220220
id: 'sorts',
221221
title: 'Sort',
222222
type: 'code',
223-
placeholder: '[{"direction":"asc","attribute":"name"}] (optional)',
223+
placeholder: '[{"direction":"asc","attribute":"name"}]',
224224
condition: { field: 'operation', value: 'list_records' },
225225
wandConfig: {
226226
enabled: true,
@@ -336,7 +336,7 @@ YYYY-MM-DDTHH:mm:ss.SSSZ
336336
id: 'noteMeetingId',
337337
title: 'Meeting ID',
338338
type: 'short-input',
339-
placeholder: 'Link to a meeting (optional)',
339+
placeholder: 'Link to a meeting',
340340
condition: { field: 'operation', value: 'create_note' },
341341
mode: 'advanced',
342342
},
@@ -362,7 +362,7 @@ YYYY-MM-DDTHH:mm:ss.SSSZ
362362
id: 'taskDeadline',
363363
title: 'Deadline',
364364
type: 'short-input',
365-
placeholder: '2024-12-01T15:00:00.000Z (optional)',
365+
placeholder: '2024-12-01T15:00:00.000Z',
366366
condition: { field: 'operation', value: ['create_task', 'update_task'] },
367367
wandConfig: {
368368
enabled: true,
@@ -399,7 +399,7 @@ YYYY-MM-DDTHH:mm:ss.SSSZ
399399
id: 'taskLinkedRecords',
400400
title: 'Linked Records',
401401
type: 'code',
402-
placeholder: '[{"target_object":"people","target_record_id":"..."}] (optional)',
402+
placeholder: '[{"target_object":"people","target_record_id":"..."}]',
403403
condition: { field: 'operation', value: ['create_task', 'update_task'] },
404404
wandConfig: {
405405
enabled: true,
@@ -426,7 +426,7 @@ Return ONLY the JSON array. No explanations, no markdown, no extra text.
426426
title: 'Assignees',
427427
type: 'code',
428428
placeholder:
429-
'[{"referenced_actor_type":"workspace-member","referenced_actor_id":"..."}] (optional)',
429+
'[{"referenced_actor_type":"workspace-member","referenced_actor_id":"..."}]',
430430
condition: { field: 'operation', value: ['create_task', 'update_task'] },
431431
wandConfig: {
432432
enabled: true,
@@ -460,21 +460,21 @@ Return ONLY the JSON array. No explanations, no markdown, no extra text.
460460
id: 'taskFilterObject',
461461
title: 'Linked Object Type',
462462
type: 'short-input',
463-
placeholder: 'e.g. people, companies (optional)',
463+
placeholder: 'e.g. people, companies',
464464
condition: { field: 'operation', value: 'list_tasks' },
465465
},
466466
{
467467
id: 'taskFilterRecordId',
468468
title: 'Linked Record ID',
469469
type: 'short-input',
470-
placeholder: 'Filter by linked record ID (optional)',
470+
placeholder: 'Filter by linked record ID',
471471
condition: { field: 'operation', value: 'list_tasks' },
472472
},
473473
{
474474
id: 'taskFilterAssignee',
475475
title: 'Assignee',
476476
type: 'short-input',
477-
placeholder: 'Filter by assignee email or ID (optional)',
477+
placeholder: 'Filter by assignee email or ID',
478478
condition: { field: 'operation', value: 'list_tasks' },
479479
},
480480
{
@@ -627,7 +627,7 @@ Return ONLY the JSON array. No explanations, no markdown, no extra text.
627627
id: 'entryValues',
628628
title: 'Entry Values',
629629
type: 'code',
630-
placeholder: '{"attribute_slug": "value"} (optional)',
630+
placeholder: '{"attribute_slug": "value"}',
631631
condition: {
632632
field: 'operation',
633633
value: ['create_list_entry', 'update_list_entry'],
@@ -657,7 +657,7 @@ Keys are list attribute slugs. Values follow Attio attribute format.
657657
id: 'entryFilter',
658658
title: 'Filter',
659659
type: 'code',
660-
placeholder: '{"attribute": {"$operator": "value"}} (optional)',
660+
placeholder: '{"attribute": {"$operator": "value"}}',
661661
condition: { field: 'operation', value: 'query_list_entries' },
662662
wandConfig: {
663663
enabled: true,
@@ -684,7 +684,7 @@ Logical: $and, $or, $not
684684
id: 'entrySorts',
685685
title: 'Sort',
686686
type: 'code',
687-
placeholder: '[{"direction":"asc","attribute":"created_at"}] (optional)',
687+
placeholder: '[{"direction":"asc","attribute":"created_at"}]',
688688
condition: { field: 'operation', value: 'query_list_entries' },
689689
wandConfig: {
690690
enabled: true,
@@ -823,7 +823,7 @@ YYYY-MM-DDTHH:mm:ss.SSSZ
823823
id: 'threadFilterRecordId',
824824
title: 'Record ID',
825825
type: 'short-input',
826-
placeholder: 'Filter by record ID (optional)',
826+
placeholder: 'Filter by record ID',
827827
condition: { field: 'operation', value: 'list_threads' },
828828
},
829829
{
@@ -837,7 +837,7 @@ YYYY-MM-DDTHH:mm:ss.SSSZ
837837
id: 'threadFilterEntryId',
838838
title: 'Entry ID',
839839
type: 'short-input',
840-
placeholder: 'Filter by entry ID (optional)',
840+
placeholder: 'Filter by entry ID',
841841
condition: { field: 'operation', value: 'list_threads' },
842842
},
843843
{
@@ -915,7 +915,7 @@ workspace-member.created
915915
id: 'limit',
916916
title: 'Limit',
917917
type: 'short-input',
918-
placeholder: 'Max results (optional)',
918+
placeholder: 'Max results',
919919
mode: 'advanced',
920920
condition: {
921921
field: 'operation',
@@ -934,7 +934,7 @@ workspace-member.created
934934
id: 'offset',
935935
title: 'Offset',
936936
type: 'short-input',
937-
placeholder: 'Number of results to skip (optional)',
937+
placeholder: 'Number of results to skip',
938938
mode: 'advanced',
939939
condition: {
940940
field: 'operation',

0 commit comments

Comments
 (0)