Milestone 0: import zappier billing, Verae middleware, and Zapier research
Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
This commit is contained in:
commit
b4150c8250
1364 changed files with 6814366 additions and 0 deletions
28
vendor/zapier-platform/packages/schema/lib/schemas/FunctionRequireSchema.js
vendored
Normal file
28
vendor/zapier-platform/packages/schema/lib/schemas/FunctionRequireSchema.js
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
'use strict';
|
||||
|
||||
const makeSchema = require('../utils/makeSchema');
|
||||
|
||||
module.exports = makeSchema({
|
||||
id: '/FunctionRequireSchema',
|
||||
description:
|
||||
'A path to a file that might have content like `module.exports = (z, bundle) => [{id: 123}];`.',
|
||||
type: 'object',
|
||||
required: ['require'],
|
||||
properties: {
|
||||
require: { type: 'string' },
|
||||
},
|
||||
additionalProperties: false,
|
||||
examples: [{ require: 'some/path/to/file.js' }],
|
||||
antiExamples: [
|
||||
{
|
||||
example: {},
|
||||
reason: 'Missing required key: require',
|
||||
},
|
||||
{
|
||||
example: {
|
||||
required: 2,
|
||||
},
|
||||
reason: 'Invalid value for key: required (must be of type string)',
|
||||
},
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue