UNPKG

zapier-platform-cli

Version:

The CLI for apps in the Zapier Developer Platform.

29 lines (28 loc) 652 B
const App = { //... resources: { project: { key: 'project', //... list: { //... operation: { perform: () => { return [{id: 123, name: 'Project 1'}]; } // called for project_id dropdown } } }, issue: { key: 'issue', //... create: { //... operation: { inputFields: [ {key: 'project_id', required: true, label: 'Project', dynamic: 'projectList.id.name'}, // calls project.list {key: 'title', required: true, label: 'Title', helpText: 'What is the name of the issue?'}, ], } } } } };