zapier-platform-schema 11.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/LICENSE +4 -0
- package/README.md +21 -0
- package/exported-schema.json +1418 -0
- package/lib/constants.js +21 -0
- package/lib/functional-constraints/deepNestedFields.js +68 -0
- package/lib/functional-constraints/index.js +35 -0
- package/lib/functional-constraints/labelWhenVisible.js +31 -0
- package/lib/functional-constraints/matchingKeys.js +35 -0
- package/lib/functional-constraints/mutuallyExclusiveFields.js +70 -0
- package/lib/functional-constraints/requiredSamples.js +56 -0
- package/lib/functional-constraints/searchOrCreateKeys.js +67 -0
- package/lib/functional-constraints/uniqueInputFieldKeys.js +67 -0
- package/lib/schemas/AppFlagsSchema.js +22 -0
- package/lib/schemas/AppSchema.js +148 -0
- package/lib/schemas/AuthenticationBasicConfigSchema.js +14 -0
- package/lib/schemas/AuthenticationCustomConfigSchema.js +14 -0
- package/lib/schemas/AuthenticationDigestConfigSchema.js +14 -0
- package/lib/schemas/AuthenticationOAuth1ConfigSchema.js +53 -0
- package/lib/schemas/AuthenticationOAuth2ConfigSchema.js +73 -0
- package/lib/schemas/AuthenticationSchema.js +118 -0
- package/lib/schemas/AuthenticationSessionConfigSchema.js +31 -0
- package/lib/schemas/BasicActionOperationSchema.js +59 -0
- package/lib/schemas/BasicCreateActionOperationSchema.js +26 -0
- package/lib/schemas/BasicDisplaySchema.js +92 -0
- package/lib/schemas/BasicHookOperationSchema.js +117 -0
- package/lib/schemas/BasicOperationSchema.js +73 -0
- package/lib/schemas/BasicPollingOperationSchema.js +41 -0
- package/lib/schemas/BulkReadSchema.js +72 -0
- package/lib/schemas/BulkReadsSchema.js +69 -0
- package/lib/schemas/BundleSchema.js +17 -0
- package/lib/schemas/CreateSchema.js +108 -0
- package/lib/schemas/CreatesSchema.js +78 -0
- package/lib/schemas/DynamicFieldsSchema.js +36 -0
- package/lib/schemas/FieldChoiceWithLabelSchema.js +37 -0
- package/lib/schemas/FieldChoicesSchema.js +40 -0
- package/lib/schemas/FieldOrFunctionSchema.js +40 -0
- package/lib/schemas/FieldSchema.js +183 -0
- package/lib/schemas/FieldsSchema.js +17 -0
- package/lib/schemas/FlatObjectSchema.js +45 -0
- package/lib/schemas/FunctionRequireSchema.js +28 -0
- package/lib/schemas/FunctionSchema.js +42 -0
- package/lib/schemas/FunctionSourceSchema.js +37 -0
- package/lib/schemas/HydratorsSchema.js +29 -0
- package/lib/schemas/KeySchema.js +30 -0
- package/lib/schemas/MiddlewaresSchema.js +35 -0
- package/lib/schemas/RedirectRequestSchema.js +41 -0
- package/lib/schemas/RefResourceSchema.js +24 -0
- package/lib/schemas/RequestSchema.js +109 -0
- package/lib/schemas/ResourceMethodCreateSchema.js +67 -0
- package/lib/schemas/ResourceMethodGetSchema.js +74 -0
- package/lib/schemas/ResourceMethodHookSchema.js +72 -0
- package/lib/schemas/ResourceMethodListSchema.js +76 -0
- package/lib/schemas/ResourceMethodSearchSchema.js +67 -0
- package/lib/schemas/ResourceSchema.js +168 -0
- package/lib/schemas/ResourcesMethodGetSchema.js +57 -0
- package/lib/schemas/ResourcesSchema.js +95 -0
- package/lib/schemas/ResultsSchema.js +25 -0
- package/lib/schemas/SearchOrCreateSchema.js +84 -0
- package/lib/schemas/SearchOrCreatesSchema.js +60 -0
- package/lib/schemas/SearchSchema.js +84 -0
- package/lib/schemas/SearchesSchema.js +54 -0
- package/lib/schemas/TriggerSchema.js +93 -0
- package/lib/schemas/TriggersSchema.js +61 -0
- package/lib/schemas/VersionSchema.js +18 -0
- package/lib/utils/buildDocs.js +213 -0
- package/lib/utils/exportSchema.js +23 -0
- package/lib/utils/links.js +27 -0
- package/lib/utils/makeSchema.js +27 -0
- package/lib/utils/makeValidator.js +150 -0
- package/package.json +40 -0
- package/schema.js +13 -0
package/CHANGELOG.md
ADDED
package/LICENSE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Schema For Zapier CLI Platform
|
|
2
|
+
|
|
3
|
+
[Visit the CLI for basic documentation and instructions on how to use](https://zapier.github.io/zapier-platform-cli).
|
|
4
|
+
|
|
5
|
+
[View all the schema definitions](https://zapier.github.io/zapier-platform-schema/build/schema.html).
|
|
6
|
+
|
|
7
|
+
## Development
|
|
8
|
+
|
|
9
|
+
- `yarn` to install packages and get started
|
|
10
|
+
- `yarn lint` to lint code
|
|
11
|
+
- `yarn test` to run tests
|
|
12
|
+
- `yarn smoke-test` to run smoke tests
|
|
13
|
+
- `yarn coverage` to run tests and display test coverage
|
|
14
|
+
- `yarn validate` to run tests, smoke tests, and linter
|
|
15
|
+
- `yarn export` to update the exported-schema (even if only the version changes)
|
|
16
|
+
- `yarn docs` to update docs (even if only the version changes)
|
|
17
|
+
- `yarn build` to update docs and the exported-schema (even if only the version changes)
|
|
18
|
+
|
|
19
|
+
## Publishing (after merging)
|
|
20
|
+
|
|
21
|
+
- `yarn version --[patch|minor|major]` will pull, test, update exported-schema, update docs, increment version in package.json, push tags, and publish to npm
|