Fix types.

This commit is contained in:
Sam Rose 2025-02-06 17:06:36 +00:00
parent 2262aa2128
commit 28e931bc64
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -217,10 +217,8 @@ export function basicAutomation(opts?: DeepPartial<Automation>): Automation {
icon: "test",
description: "test",
type: AutomationStepType.TRIGGER,
inputs: {},
id: "test",
inputs: {
fields: {},
},
schema: {
inputs: {
properties: {},

View File

@ -331,7 +331,7 @@ export type AutomationTriggerDefinition = Omit<
export type AutomationTriggerInputs<T extends AutomationTriggerStepId> =
T extends AutomationTriggerStepId.APP
? void
? void | Record<string, any>
: T extends AutomationTriggerStepId.CRON
? CronTriggerInputs
: T extends AutomationTriggerStepId.ROW_ACTION