Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gql.tada

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gql.tada - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1-canary-caa94dc0f10b22d8bf6d418eb23e14f1a586b416

21

dist/gql-tada.d.ts

@@ -864,5 +864,2 @@ import { Kind, OperationTypeNode, DocumentNode } from '@0no-co/graphql.web';

}
interface DocumentDefDecorationLike {
[$tada.definition]?: FragmentDefDecorationLike;
}
type isMaskedRec<Directives extends readonly unknown[] | undefined> = Directives extends readonly [

@@ -890,3 +887,3 @@ infer Directive,

}
: never;
: void;
type getFragmentsOfDocumentsRec<Documents> = Documents extends readonly [

@@ -946,6 +943,4 @@ infer Document,

};
type makeDefinitionDecoration<Definition> = {
[$tada.definition]?: Definition extends DocumentDefDecorationLike[$tada.definition]
? Definition
: never;
type makeDefinitionDecoration<Definition = FragmentDefDecorationLike> = {
[Key in $tada.definition]?: Definition;
};

@@ -1458,3 +1453,3 @@

const In extends stringLiteral<In>,
const Fragments extends readonly [...DocumentDefDecorationLike[]],
const Fragments extends readonly [...makeDefinitionDecoration[]],
>(

@@ -1545,3 +1540,3 @@ input: In,

},
Decoration = never,
Decoration = void,
> extends DocumentNode,

@@ -1597,3 +1592,3 @@ DocumentDecoration<Result, Variables>,

*/
type FragmentOf<Document extends DocumentDefDecorationLike> = makeFragmentRef<Document>;
type FragmentOf<Document extends makeDefinitionDecoration> = makeFragmentRef<Document>;
type mirrorFragmentTypeRec<Fragment, Data> = Fragment extends (infer Value)[]

@@ -1608,3 +1603,3 @@ ? mirrorFragmentTypeRec<Value, Data>[]

: Data;
type fragmentOfTypeRec<Document extends DocumentDefDecorationLike> =
type fragmentOfTypeRec<Document extends makeDefinitionDecoration> =
| readonly fragmentOfTypeRec<Document>[]

@@ -1663,3 +1658,3 @@ | FragmentOf<Document>

declare function readFragment<
const Document extends DocumentDefDecorationLike & DocumentDecoration<any, any>,
const Document extends makeDefinitionDecoration & DocumentDecoration<any, any>,
const Fragment extends fragmentOfTypeRec<Document>,

@@ -1666,0 +1661,0 @@ >(

{
"name": "gql.tada",
"description": "The spec-compliant & magical GraphQL query language engine in the TypeScript type system",
"version": "1.1.0",
"version": "1.1.1-canary-caa94dc0f10b22d8bf6d418eb23e14f1a586b416",
"author": "0no.co <hi@0no.co>",

@@ -6,0 +6,0 @@ "source": "./src/index.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc