Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionItem ¶
type ActionStep ¶
Step configuration
type CreateActionInput ¶
type CreateActionInput struct {
UserId string
SpaceId *string
DatabaseId *string
Name string
Description string
TriggerType string
TriggerConfig map[string]interface{}
Steps []ActionStep
}
Create action
type CreateActionOutput ¶
type DeleteActionInput ¶
Delete action
type ExecuteActionInput ¶
type ExecuteActionInput struct {
TriggerType string
SpaceId *string
DatabaseId *string
TriggerData map[string]interface{}
}
Execute action (internal)
type GetActionOutput ¶
type GetActionOutput struct {
Id string
Name string
Description string
SpaceId *string
SpaceName *string
DatabaseId *string
TriggerType string
TriggerConfig map[string]interface{}
Steps []ActionStep
Active bool
LastRunAt *time.Time
LastError string
RunCount int
SuccessCount int
FailureCount int
CreatedAt time.Time
UpdatedAt time.Time
}
type GetRunsOutput ¶
type GetRunsOutput struct {
Runs []RunItem
}
type ListActionsOutput ¶
type ListActionsOutput struct {
Actions []ActionItem
}
type UpdateActionInput ¶
type UpdateActionInput struct {
UserId string
ActionId string
Name *string
Description *string
TriggerType *string
TriggerConfig map[string]interface{}
Steps *[]ActionStep
Active *bool
}
Update action
Click to show internal directories.
Click to hide internal directories.