graphql-typed
Advanced tools
Comparing version 0.0.0-snapshot-20220830162605 to 0.0.0-snapshot-20240531073328
@@ -1,3 +0,2 @@ | ||
import { Source, ParseOptions } from 'graphql'; | ||
import { DocumentNode as BaseDocumentNode } from 'graphql/language/ast'; | ||
import type { DocumentNode as BaseDocumentNode, Source, ParseOptions } from 'graphql'; | ||
export interface GraphQLOperation<Data = {}, Variables = {}, DeepPartial = {}> { | ||
@@ -16,6 +15,6 @@ readonly __typeData?: Data; | ||
} | ||
export declare type GraphQLData<T> = T extends GraphQLOperation<infer Data, any, any> ? Data : never; | ||
export declare type GraphQLVariables<T> = T extends GraphQLOperation<any, infer Variables, any> ? Variables : never; | ||
export declare type GraphQLDeepPartial<T> = T extends GraphQLOperation<any, any, infer DeepPartial> ? DeepPartial : never; | ||
export type GraphQLData<T> = T extends GraphQLOperation<infer Data, any, any> ? Data : never; | ||
export type GraphQLVariables<T> = T extends GraphQLOperation<any, infer Variables, any> ? Variables : never; | ||
export type GraphQLDeepPartial<T> = T extends GraphQLOperation<any, any, infer DeepPartial> ? DeepPartial : never; | ||
export declare const parse: <Data = {}, Variables = {}, DeepPartial = {}>(source: string | Source, options?: ParseOptions) => DocumentNode<Data, Variables, DeepPartial>; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/cjs/index.js"); | ||
module.exports = require("./build/cjs/index.js"); |
{ | ||
"name": "graphql-typed", | ||
"version": "0.0.0-snapshot-20220830162605", | ||
"version": "0.0.0-snapshot-20240531073328", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "A more strongly typed version of GraphQL's DocumentNode.", | ||
"peerDependencies": { | ||
"graphql": ">=14.5.0 <16.0.0" | ||
"graphql": ">=14.5.0 <17.0.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "files": [ |
@@ -12,3 +12,3 @@ # `graphql-typed` | ||
```bash | ||
$ yarn add graphql-typed | ||
yarn add graphql-typed | ||
``` | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28
5197