zapier-platform-schema 12.2.0 → 12.2.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "12.2.0",
2
+ "version": "12.2.1",
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
- "$ref": "/FlatObjectSchema"
1337
+ "type": "object"
1338
1338
  }
1339
1339
  },
1340
1340
  "additionalProperties": false
@@ -232,6 +232,7 @@ const validateSearchOrCreateKeys = (definition) => {
232
232
 
233
233
  if (
234
234
  (hasSearchOutputFields || hasSearchOutputSample) &&
235
+ typeof searchOutputField === 'string' &&
235
236
  !allSearchOutputKeys.has(searchOutputField)
236
237
  ) {
237
238
  errors.push(
@@ -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
- $ref: FlatObjectSchema.id,
48
+ type: 'object',
49
49
  },
50
50
  },
51
51
  additionalProperties: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zapier-platform-schema",
3
- "version": "12.2.0",
3
+ "version": "12.2.1",
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/",