Skip to content

Commit 2695fbe

Browse files
author
Sim Pi Agent
committed
Pi: Add a comment to any file in the executor directory
1 parent 707c3cc commit 2695fbe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/sim/executor/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import type { LoopType, ParallelType } from '@/lib/workflows/types'
88
export const TRIGGER_INTERNAL_KEYS = ['webhook', 'workflowId'] as const
99
export type TriggerInternalKey = (typeof TRIGGER_INTERNAL_KEYS)[number]
1010

11+
/**
12+
* Checks whether a trigger output key is reserved for executor-internal metadata.
13+
*/
1114
export function isTriggerInternalKey(key: string): key is TriggerInternalKey {
1215
return TRIGGER_INTERNAL_KEYS.includes(key as TriggerInternalKey)
1316
}

0 commit comments

Comments
 (0)