Fix manual trigger output schema (#8150)
- add schema for manual trigger - split into sub functions - handle case with no variables
This commit is contained in:
@ -16,11 +16,13 @@ export const getManualTriggerDefaultSettings = ({
|
||||
case 'EVERYWHERE': {
|
||||
return {
|
||||
objectType: undefined,
|
||||
outputSchema: {},
|
||||
};
|
||||
}
|
||||
case 'WHEN_RECORD_SELECTED': {
|
||||
return {
|
||||
objectType: activeObjectMetadataItems[0].nameSingular,
|
||||
outputSchema: {},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user