more typings
This commit is contained in:
parent
2ef0ea3e33
commit
317ef26f1a
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,7 @@ import {
|
|||
AutomationFeature,
|
||||
InputOutputBlock,
|
||||
AutomationTriggerStepId,
|
||||
AutomationEventType,
|
||||
} from "./automation"
|
||||
import {
|
||||
CollectStepInputs,
|
||||
|
@ -142,6 +143,7 @@ export type ActionImplementations<T extends Hosting> = {
|
|||
export interface AutomationStepSchemaBase {
|
||||
name: string
|
||||
stepTitle?: string
|
||||
event?: AutomationEventType
|
||||
tagline: string
|
||||
icon: string
|
||||
description: string
|
||||
|
@ -344,7 +346,7 @@ export interface AutomationTriggerSchema<
|
|||
> extends AutomationStepSchemaBase {
|
||||
id: string
|
||||
type: AutomationStepType.TRIGGER
|
||||
event?: string
|
||||
event?: AutomationEventType
|
||||
cronJobId?: string
|
||||
stepId: TTrigger
|
||||
inputs: AutomationTriggerInputs<TTrigger> & Record<string, any> // The record union to be removed once the types are fixed
|
||||
|
|
Loading…
Reference in New Issue