Skip to content

Commit e26bcfb

Browse files
committed
chore(triggers): remove orphaned triggerId property and stale comments
1 parent d0a522c commit e26bcfb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

apps/sim/blocks/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,6 @@ export interface SubBlockConfig {
410410
dependsOn?: string[] | { all?: string[]; any?: string[] }
411411
// Copyable-text specific: Use webhook URL from webhook management hook
412412
useWebhookUrl?: boolean
413-
// Trigger-save specific: The trigger ID for validation and saving
414-
triggerId?: string
415413
// Dropdown/Combobox: Function to fetch options dynamically
416414
// Works with both 'dropdown' (select-only) and 'combobox' (editable with expression support)
417415
fetchOptions?: (blockId: string) => Promise<Array<{ label: string; id: string }>>

apps/sim/triggers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export interface BuildTriggerSubBlocksOptions {
156156

157157
/**
158158
* Generic builder for trigger subBlocks.
159-
* Creates a consistent structure: [dropdown?] -> webhookUrl -> extraFields -> save -> instructions
159+
* Creates a consistent structure: [dropdown?] -> webhookUrl -> extraFields -> instructions
160160
*
161161
* Usage:
162162
* - Primary trigger: `buildTriggerSubBlocks({ ...options, includeDropdown: true })`

0 commit comments

Comments
 (0)