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