Milestone 1: Add Numbers Zapier app, /v1/add, developer setup guide
packages/verae-activate is pushable with zapier-platform 19.1.0: local Add Numbers (number1+number2=sum) needs no hosted API. zapier-platform validate is clean (0 warnings). zappier POST /v1/add is a free metered endpoint for the optional hosted path. Tests: verae-activate 7/7, zappier 176/176, verae-zapier 5/5, middleware gate 1 11/11. Morning steps: docs/04-activate/SETUP-ZAPIER-DEVELOPER.md Learned: perform runs on Zapier cloud so arithmetic needs no public URL; CLI and zapier-platform-core majors must match; do not mix zapier-sdk.
This commit is contained in:
parent
b4150c8250
commit
b814501441
18 changed files with 1452 additions and 1 deletions
2
packages/verae-zapier/creates/add_numbers.js
Normal file
2
packages/verae-zapier/creates/add_numbers.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/** Re-export activate-now Add Numbers so this package stays self-contained. */
|
||||
module.exports = require('../../verae-activate/creates/add_numbers');
|
||||
|
|
@ -8,6 +8,7 @@ const timestampAndWait = require('./creates/timestamp_and_wait');
|
|||
const createTimestamp = require('./creates/create_timestamp');
|
||||
const verifyTimestamp = require('./creates/verify_timestamp');
|
||||
const batchTimestamp = require('./creates/batch_timestamp');
|
||||
const addNumbers = require('./creates/add_numbers');
|
||||
const jobStatus = require('./searches/job_status');
|
||||
const timestampCompleted = require('./triggers/timestamp_completed');
|
||||
|
||||
|
|
@ -65,6 +66,7 @@ module.exports = {
|
|||
[timestampCompleted.key]: timestampCompleted,
|
||||
},
|
||||
creates: {
|
||||
[addNumbers.key]: addNumbers,
|
||||
[timestampAndWait.key]: timestampAndWait,
|
||||
[createTimestamp.key]: createTimestamp,
|
||||
[verifyTimestamp.key]: verifyTimestamp,
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ describe('verae-zapier app definition', () => {
|
|||
});
|
||||
|
||||
it('wires creates, searches, triggers', () => {
|
||||
assert.ok(App.creates.add_numbers);
|
||||
assert.ok(App.creates.timestamp_and_wait);
|
||||
assert.ok(App.creates.create_timestamp);
|
||||
assert.ok(App.creates.verify_timestamp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue