Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zapier-platform-schema

Package Overview
Dependencies
Maintainers
0
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zapier-platform-schema - npm Package Compare versions

Comparing version 15.14.1 to 15.14.2

lib/functional-constraints/bufferedCreateConstraints.js

2

lib/functional-constraints/index.js

@@ -21,2 +21,4 @@ 'use strict';

require('./uniqueInputFieldKeys'),
require('./bufferedCreateConstraints'),
require('./requirePerformConditionally'),
require('./pollingThrottle'),

@@ -23,0 +25,0 @@ ];

@@ -6,2 +6,5 @@ 'use strict';

const BasicActionOperationSchema = require('./BasicActionOperationSchema');
const BufferConfigSchema = require('./BufferConfigSchema');
const FunctionSchema = require('./FunctionSchema');
const RequestSchema = require('./RequestSchema');

@@ -24,5 +27,43 @@ // TODO: would be nice to deep merge these instead

BasicCreateActionOperationSchema.properties.perform = {
description:
"How will Zapier get the data? This can be a function like `(z) => [{id: 123}]` or a request like `{url: 'http...'}`. Exactly one of `perform` or `performBuffer` must be defined. If you choose to define `buffer` and `performBuffer`, you must omit `perform`.",
oneOf: [{ $ref: RequestSchema.id }, { $ref: FunctionSchema.id }],
docAnnotation: {
required: {
type: 'replace', // replace or append
value: 'no (with exceptions, see description)',
},
},
};
BasicCreateActionOperationSchema.properties.buffer = {
description:
'Currently an **internal-only** feature. Zapier uses this configuration for creating objects in bulk with `performBuffer`.',
$ref: BufferConfigSchema.id,
docAnnotation: {
required: {
type: 'replace', // replace or append
value: 'no (with exceptions, see description)',
},
},
};
BasicCreateActionOperationSchema.properties.performBuffer = {
description:
'Currently an **internal-only** feature. A function to create objects in bulk with. `buffer` and `performBuffer` must either both be defined or neither. Additionally, only one of `perform` or `performBuffer` can be defined. If you choose to define `perform`, you must omit `buffer` and `performBuffer`.',
$ref: FunctionSchema.id,
docAnnotation: {
required: {
type: 'replace', // replace or append
value: 'no (with exceptions, see description)',
},
},
};
delete BasicCreateActionOperationSchema.required;
module.exports = makeSchema(
BasicCreateActionOperationSchema,
BasicActionOperationSchema.dependencies
BasicActionOperationSchema.dependencies.concat(BufferConfigSchema)
);

2

package.json
{
"name": "zapier-platform-schema",
"version": "15.14.1",
"version": "15.14.2",
"description": "Schema definition for CLI apps in the Zapier Developer Platform.",

@@ -5,0 +5,0 @@ "repository": "zapier/zapier-platform",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc