From 33a9a9861d828569ebb47a936ce3f97d7ff1d9b1 Mon Sep 17 00:00:00 2001 From: Jacob Thomason Date: Wed, 11 Oct 2023 20:35:35 -0400 Subject: [PATCH] Updated docs --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 6886041..84b40ad 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ That's it. This will generate a new GraphQL module in your project at, `./searc ## Installation -This lib can be installed globally, or locally. We recommend installing it locally, so you can make use of the `utils` module as well. +This lib should be installed locally. It will need to be packaged with your Zapier app. ```bash npm install --save zapier-graphql @@ -56,8 +56,6 @@ Upon first use of the CLI app, you'll be prompted to create a `.zapiergraphql` c The config file that's created for you is a JavaScript module that exports an object - the config. The config file has some documentation and includes all configurable directives. See below for additional configuration details. -The main config file for `zapier-graphql` provides a few different directives to improve the generated output code of your action files. - - `request` - An object that configures the request. Currently there are two properties: - `urlEnvVar` - An environment variable that includes the full base url of your GraphQL API. - `headers` - Headers to include for every request. By default `Content-Type: application/json` and `Accept: application/json` are included.