refactor: Specify only the arguments for trigger definitions

This commit is contained in:
Faruk AYDIN
2022-10-31 18:12:12 +01:00
parent 571bf6bfa7
commit b3f216209a
21 changed files with 691 additions and 861 deletions

View File

@@ -6,16 +6,6 @@ export default defineTrigger({
pollInterval: 15,
key: 'newPhotos',
description: 'Triggers when you add a new photo.',
substeps: [
{
key: 'chooseConnection',
name: 'Choose connection',
},
{
key: 'testStep',
name: 'Test trigger',
},
],
async run($) {
await newPhotos($);