Comparing version 1.0.3-canary-3a06a4cdfc363aaeceba495fee73d7f974a97a14 to 1.0.3-canary-d383684426050e0ea0f4a71b8c7b4901616cd621
@@ -94,11 +94,4 @@ import { | ||
readonly subscriptionType?: IntrospectionNamedTypeRef | null; | ||
readonly types: readonly IntrospectionType[]; | ||
readonly types: readonly any[]; | ||
} | ||
type IntrospectionType = | ||
| IntrospectionScalarType | ||
| IntrospectionObjectType | ||
| IntrospectionInterfaceType | ||
| IntrospectionUnionType | ||
| IntrospectionEnumType | ||
| IntrospectionInputObjectType; | ||
interface IntrospectionScalarType { | ||
@@ -112,4 +105,3 @@ readonly kind: 'SCALAR'; | ||
readonly name: string; | ||
readonly fields: readonly IntrospectionField[]; | ||
readonly interfaces: readonly IntrospectionNamedTypeRef[] | never; | ||
readonly fields: readonly any[]; | ||
} | ||
@@ -119,5 +111,4 @@ interface IntrospectionInterfaceType { | ||
readonly name: string; | ||
readonly fields: readonly IntrospectionField[]; | ||
readonly fields: readonly any[]; | ||
readonly possibleTypes: readonly IntrospectionNamedTypeRef[]; | ||
readonly interfaces?: readonly IntrospectionNamedTypeRef[] | null; | ||
} | ||
@@ -159,3 +150,2 @@ interface IntrospectionUnionType { | ||
readonly name: string; | ||
readonly args: readonly IntrospectionInputValue[]; | ||
readonly type: IntrospectionTypeRef; | ||
@@ -195,3 +185,2 @@ } | ||
type: T['type']; | ||
args: any; | ||
} | ||
@@ -202,3 +191,2 @@ : never; | ||
name: T['name']; | ||
interfaces: T['interfaces'][number]['name']; | ||
fields: obj<{ | ||
@@ -222,3 +210,2 @@ [P in T['fields'][number]['name']]: T['fields'][number] extends infer Field | ||
name: T['name']; | ||
interfaces: T['interfaces'] extends readonly any[] ? T['interfaces'][number]['name'] : never; | ||
possibleTypes: T['possibleTypes'][number]['name']; | ||
@@ -291,4 +278,4 @@ fields: obj<{ | ||
query: string; | ||
mutation: string | never; | ||
subscription: string | never; | ||
mutation?: any; | ||
subscription?: any; | ||
types: { | ||
@@ -295,0 +282,0 @@ [name: string]: any; |
{ | ||
"name": "gql.tada", | ||
"description": "The spec-compliant & magical GraphQL query language engine in the TypeScript type system", | ||
"version": "1.0.3-canary-3a06a4cdfc363aaeceba495fee73d7f974a97a14", | ||
"version": "1.0.3-canary-d383684426050e0ea0f4a71b8c7b4901616cd621", | ||
"author": "0no.co <hi@0no.co>", | ||
@@ -6,0 +6,0 @@ "source": "./src/index.ts", |
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
86636
1729