1.1.6 • Published 2 years ago

@types/graphql-depth-limit v1.1.6

Weekly downloads
25,321
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/graphql-depth-limit

Summary

This package contains type definitions for graphql-depth-limit (https://github.com/stems/graphql-depth-limit#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-depth-limit.

index.d.ts

// Type definitions for graphql-depth-limit 1.1
// Project: https://github.com/stems/graphql-depth-limit#readme
// Definitions by: Siim Tiilen <https://github.com/eritikass>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

declare function depthLimit(depthLimit: number, options?: depthLimit.Options, callback?: (obj: any) => void): any;
export = depthLimit;

declare namespace depthLimit {
    interface Options {
        ignore?: Array<string | RegExp | ((queryDepths: any[]) => boolean)>;
    }
}

Additional Details

  • Last updated: Sat, 11 Sep 2021 23:31:22 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Siim Tiilen.

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

4 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

7 years ago