Comparing version
@@ -947,3 +947,3 @@ import { | ||
type makeFragmentRef<Definition extends FragmentDefDecorationLike> = obj<{ | ||
[$tada.fragmentRefs]?: { | ||
[$tada.fragmentRefs]: { | ||
[Name in Definition['name']['value']]: Definition[$tada.fragmentId]; | ||
@@ -953,3 +953,3 @@ }; | ||
type makeUndefinedFragmentRef<FragmentName extends string> = { | ||
[$tada.fragmentRefs]?: { | ||
[$tada.fragmentRefs]: { | ||
[Name in FragmentName]: 'Undefined Fragment'; | ||
@@ -1657,3 +1657,8 @@ }; | ||
const Fragment extends fragmentOfTypeRec<Document>, | ||
>(_document: Document, fragment: Fragment): mirrorFragmentTypeRec<Fragment, ResultOf<Document>>; | ||
>( | ||
_document: Document, | ||
fragment: Fragment | ||
): fragmentOfTypeRec<Document> extends Fragment | ||
? never | ||
: mirrorFragmentTypeRec<Fragment, ResultOf<Document>>; | ||
declare const graphql: GraphQLTadaAPI<schemaOfConfig<setupSchema>>; | ||
@@ -1660,0 +1665,0 @@ |
{ | ||
"name": "gql.tada", | ||
"description": "The spec-compliant & magical GraphQL query language engine in the TypeScript type system", | ||
"version": "1.0.2-canary-018823fea845a463fa0308cb69459b42493fb784", | ||
"version": "1.0.2-canary-ddc98eea4e4c6cc9bec5b55a03ab1025f146523e", | ||
"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
86977
0.23%1728
0.29%