Initial import of zappier-edge from zapier monorepo
This commit is contained in:
commit
6a9cc4fca9
129 changed files with 20656 additions and 0 deletions
23
zapier-app/authentication.js
Normal file
23
zapier-app/authentication.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
module.exports = {
|
||||
type: 'custom',
|
||||
test: (z, bundle) =>
|
||||
z.request({ url: `${bundle.authData.baseUrl}/v1/status` }).then((r) => r.data),
|
||||
fields: [
|
||||
{
|
||||
key: 'baseUrl',
|
||||
label: 'API Base URL',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: 'http://localhost:3000',
|
||||
helpText: 'Where your Zappier API is running.',
|
||||
},
|
||||
{
|
||||
key: 'apiKey',
|
||||
label: 'API Key',
|
||||
type: 'password',
|
||||
required: true,
|
||||
helpText: 'Your Zappier customer API key.',
|
||||
},
|
||||
],
|
||||
connectionLabel: '{{bundle.authData.baseUrl}}',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue