MCPcopy Index your code
hub / github.com/simstudioai/sim / trigger

Function trigger

apps/sim/lib/webhooks/deploy.test.ts:29–31  ·  view source on GitHub ↗
(subBlocks: Partial<SubBlockConfig>[])

Source from the content-addressed store, hash-verified

27import { buildProviderConfig } from '@/lib/webhooks/deploy'
28
29const trigger = (subBlocks: Partial<SubBlockConfig>[]): { subBlocks: SubBlockConfig[] } => ({
30 subBlocks: subBlocks as SubBlockConfig[],
31})
32
33const driveTrigger = trigger([
34 { id: 'triggerCredentials', mode: 'trigger', canonicalParamId: 'oauthCredential' },

Callers 1

deploy.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected