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;
function makePrismaLink
makePrismaLink: ({ endpoint, token, debug,}: { endpoint: string; token?: string; debug?: boolean;}) => ApolloLink;
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 oneto 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>
- Updated .
Package analyzed in 2054 ms. - Missing or incorrect documentation? Open an issue for this package.