diff --git a/lib/index.js b/lib/index.js index 54eeca6..aa1d9aa 100644 --- a/lib/index.js +++ b/lib/index.js @@ -780,7 +780,7 @@ const getQueryActionContent = async (action, query) => { const contents = `/** * ${query} query - * This file was auto-generated by the zapier-graphql plugin. + * This file was auto-generated by zapier-graphql. */ 'use strict'; @@ -804,9 +804,10 @@ const perform = async (z, bundle) => { return ${typeDetails.isList ? `response.data.data.${query}` : `[response.data.data.${query}]`}; }; + +// For a full list of available properties, see: +// https://github.com/zapier/zapier-platform/blob/main/packages/schema/docs/build/schema.md#searchschema module.exports = { - // For a full list of available properties, see: - // https://github.com/zapier/zapier-platform/blob/main/packages/schema/docs/build/schema.md#searchschema key: '${definition.name}', noun: '${typeDetails.type.name}', @@ -866,7 +867,7 @@ const getMutationActionContent = async (mutation) => { const contents = `/** * ${mutation} mutation - * This file was auto-generated by the zapier-graphql plugin. + * This file was auto-generated by zapier-graphql. */ 'use strict'; @@ -890,9 +891,10 @@ const perform = async (z, bundle) => { return response.data.data.${mutation}; }; + +// For a full list of available properties, see: +// https://github.com/zapier/zapier-platform/blob/main/packages/schema/docs/build/schema.md#searchschema module.exports = { - // For a full list of available properties, see: - // https://github.com/zapier/zapier-platform/blob/main/packages/schema/docs/build/schema.md#searchschema key: '${definition.name}', noun: '${typeDetails.type.name}',