graphql-config-extension-prisma

  • Version 0.3.0
  • Published
  • 31.8 kB
  • 2 dependencies
  • Apache-2.0 license

Install

npm i graphql-config-extension-prisma
yarn add graphql-config-extension-prisma
pnpm add graphql-config-extension-prisma

Overview

[![CircleCI](https://circleci.com/gh/prisma/graphql-config-extension-prisma.svg?style=shield)](https://circleci.com/gh/prisma/graphql-config-extension-prisma) [![npm version](https://badge.fury.io/js/graphql-config-extension-prisma.svg)](https://badge.fur

Index

Functions

function getCustomDirectives

getCustomDirectives: (version?: string) => string[];

    function makeConfigFromPath

    makeConfigFromPath: (
    cwd?: string,
    envVars?: { [key: string]: any }
    ) => Promise<GraphQLConfig | null>;

      function patchConfig

      patchConfig: <T extends unknown>(
      config: T,
      cwd?: string,
      envVars?: { [key: string]: any }
      ) => Promise<T>;

        function patchEndpointsToConfig

        patchEndpointsToConfig: <T extends unknown>(
        config: T,
        cwd?: string,
        envVars?: { [key: string]: any },
        graceful?: boolean
        ) => Promise<T>;

          function patchEndpointsToConfigData

          patchEndpointsToConfigData: (
          config: GraphQLConfigData,
          cwd?: string,
          envVars?: { [key: string]: any },
          graceful?: boolean
          ) => Promise<GraphQLConfigData>;

            Package Files (1)

            Dependencies (2)

            Dev Dependencies (8)

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/graphql-config-extension-prisma.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/graphql-config-extension-prisma)
            • HTML
              <a href="https://www.jsdocs.io/package/graphql-config-extension-prisma"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>