zapier-platform-schema 12.2.0 → 13.0.0
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
CHANGED
package/exported-schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "13.0.0",
|
|
3
3
|
"schemas": {
|
|
4
4
|
"AppSchema": {
|
|
5
5
|
"id": "/AppSchema",
|
|
@@ -1334,7 +1334,7 @@
|
|
|
1334
1334
|
},
|
|
1335
1335
|
"searchUniqueInputToOutputConstraint": {
|
|
1336
1336
|
"description": "EXPERIMENTAL: A mapping where the key represents an input field for the search action, and the value represents how that field's value will be used to filter down the search output for an exact match.",
|
|
1337
|
-
"
|
|
1337
|
+
"type": "object"
|
|
1338
1338
|
}
|
|
1339
1339
|
},
|
|
1340
1340
|
"additionalProperties": false
|
|
@@ -1524,7 +1524,7 @@
|
|
|
1524
1524
|
"type": "boolean"
|
|
1525
1525
|
},
|
|
1526
1526
|
"skipThrowForStatus": {
|
|
1527
|
-
"description": "Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/
|
|
1527
|
+
"description": "Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/main/packages/cli/README.md#shorthand-http-requests) _always_ call `throwForStatus()`. `z.request()` calls can also ignore this flag if they set `skipThrowForStatus` directly",
|
|
1528
1528
|
"type": "boolean"
|
|
1529
1529
|
}
|
|
1530
1530
|
},
|
|
@@ -14,7 +14,7 @@ module.exports = makeSchema({
|
|
|
14
14
|
},
|
|
15
15
|
skipThrowForStatus: {
|
|
16
16
|
description:
|
|
17
|
-
'Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/
|
|
17
|
+
'Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/main/packages/cli/README.md#shorthand-http-requests) _always_ call `throwForStatus()`. `z.request()` calls can also ignore this flag if they set `skipThrowForStatus` directly',
|
|
18
18
|
type: 'boolean',
|
|
19
19
|
},
|
|
20
20
|
},
|
|
@@ -45,7 +45,7 @@ module.exports = makeSchema(
|
|
|
45
45
|
searchUniqueInputToOutputConstraint: {
|
|
46
46
|
description:
|
|
47
47
|
"EXPERIMENTAL: A mapping where the key represents an input field for the search action, and the value represents how that field's value will be used to filter down the search output for an exact match.",
|
|
48
|
-
|
|
48
|
+
type: 'object',
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
additionalProperties: false,
|
package/lib/utils/links.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zapier-platform-schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Schema definition for CLI apps in the Zapier Developer Platform.",
|
|
5
5
|
"repository": "zapier/zapier-platform",
|
|
6
6
|
"homepage": "https://platform.zapier.com/",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"preversion": "git pull && yarn test && yarn build",
|
|
17
|
-
"test": "mocha -t
|
|
18
|
-
"smoke-test": "mocha -t
|
|
19
|
-
"test:debug": "mocha
|
|
17
|
+
"test": "mocha -t 10s --recursive test --exit",
|
|
18
|
+
"smoke-test": "mocha -t 10s --recursive smoke-test --exit",
|
|
19
|
+
"test:debug": "mocha --recursive --inspect-brk test",
|
|
20
20
|
"lint": "eslint lib",
|
|
21
21
|
"lint:fix": "eslint --fix lib",
|
|
22
22
|
"coverage": "istanbul cover _mocha -- --recursive",
|