prisma-binding

  • Version 2.3.16
  • Published
  • 66.2 kB
  • 12 dependencies
  • MIT license

Install

npm i prisma-binding
yarn add prisma-binding
pnpm add prisma-binding

Overview

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

Index

Functions

function makePrismaBindingClass

makePrismaBindingClass: <T>({ typeDefs }: { typeDefs: string }) => T;
    makePrismaLink: ({
    endpoint,
    token,
    debug,
    }: {
    endpoint: string;
    token?: string;
    debug?: boolean;
    }) => any;

      Classes

      class Prisma

      class Prisma extends Binding {}

        constructor

        constructor({
        typeDefs,
        endpoint,
        secret,
        fragmentReplacements,
        debug,
        disableCache,
        }: PrismaOptions);

          property exists

          exists: Exists;

            Interfaces

            interface BasePrismaOptions

            interface BasePrismaOptions {}

              property debug

              debug?: boolean;

                property disableCache

                disableCache?: boolean;

                  property endpoint

                  endpoint?: string;

                    property fragmentReplacements

                    fragmentReplacements?: FragmentReplacement[];

                      property secret

                      secret?: string;

                        Package Files (5)

                        Dependencies (12)

                        Dev Dependencies (15)

                        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/prisma-binding.

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