@pothos/core
Advanced tools
Comparing version 3.0.1 to 3.1.0
# Change Log | ||
## 3.1.0 | ||
### Minor Changes | ||
- 4094e70a: Add initial support for new federation plugin | ||
## 3.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -50,3 +50,4 @@ /* eslint-disable unicorn/prefer-object-from-entries */ | ||
var _a; | ||
fieldConfigs[fieldName] = (_a = fields[fieldName].extensions) === null || _a === void 0 ? void 0 : _a.pothosConfig; | ||
fieldConfigs[fieldName] = ((_a = fields[fieldName].extensions) !== null && _a !== void 0 ? _a : {}) | ||
.pothosConfig; | ||
}); | ||
@@ -53,0 +54,0 @@ return fieldConfigs; |
@@ -1,2 +0,2 @@ | ||
import { GraphQLScalarType, GraphQLSchema } from 'graphql'; | ||
import { GraphQLScalarSerializer, GraphQLScalarType, GraphQLSchema } from 'graphql'; | ||
import ConfigStore from './config-store'; | ||
@@ -33,3 +33,5 @@ import { EnumValues, InputShape, InterfaceFieldsShape, InterfaceFieldThunk, InterfaceParam, MutationFieldsShape, MutationFieldThunk, NormalizeSchemeBuilderOptions, ObjectFieldsShape, ObjectFieldThunk, ObjectParam, OutputShape, QueryFieldsShape, QueryFieldThunk, ScalarName, SchemaTypes, ShapeFromEnumValues, SubscriptionFieldsShape, SubscriptionFieldThunk } from './types'; | ||
scalarType<Name extends ScalarName<Types>>(name: Name, options: PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>): PothosSchemaTypes.ScalarRef<InputShape<Types, Name>, ParentShape<Types, Name>, InputShape<Types, Name>>; | ||
addScalarType<Name extends ScalarName<Types>>(name: Name, scalar: GraphQLScalarType, options: Omit<PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>, 'description' | 'parseLiteral' | 'parseValue' | 'serialize'>): PothosSchemaTypes.ScalarRef<InputShape<Types, Name>, ParentShape<Types, Name>, InputShape<Types, Name>>; | ||
addScalarType<Name extends ScalarName<Types>>(name: Name, scalar: GraphQLScalarType, options: Omit<PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, OutputShape<Types, Name>>, 'serialize'> & { | ||
serialize?: GraphQLScalarSerializer<OutputShape<Types, Name>>; | ||
}): PothosSchemaTypes.ScalarRef<InputShape<Types, Name>, ParentShape<Types, Name>, InputShape<Types, Name>>; | ||
inputType<Param extends InputObjectRef<unknown> | string, Fields extends Param extends PothosSchemaTypes.InputObjectRef<unknown> ? InputFieldsFromShape<InputShape<Types, Param> & {}> : InputFieldMap>(param: Param, options: PothosSchemaTypes.InputObjectTypeOptions<Types, Fields>): PothosSchemaTypes.InputObjectRef<InputShapeFromFields<Fields>>; | ||
@@ -36,0 +38,0 @@ inputRef<T extends object>(name: string): ImplementableInputObjectRef<Types, T>; |
@@ -5,3 +5,3 @@ import { GraphQLBoolean, GraphQLFloat, GraphQLID, GraphQLInt, GraphQLSchema, GraphQLString, lexicographicSortSchema, } from 'graphql'; | ||
import { normalizeEnumValues, valuesFromEnum, verifyRef } from './utils/index.js'; | ||
import { EnumRef, ImplementableInputObjectRef, ImplementableInterfaceRef, ImplementableObjectRef, InputFieldBuilder, InputObjectRef, InterfaceFieldBuilder, InterfaceRef, MutationFieldBuilder, ObjectFieldBuilder, ObjectRef, QueryFieldBuilder, ScalarRef, SubscriptionFieldBuilder, UnionRef, } from './index.js'; | ||
import { BaseTypeRef, EnumRef, ImplementableInputObjectRef, ImplementableInterfaceRef, ImplementableObjectRef, InputFieldBuilder, InputObjectRef, InterfaceFieldBuilder, InterfaceRef, MutationFieldBuilder, ObjectFieldBuilder, ObjectRef, QueryFieldBuilder, ScalarRef, SubscriptionFieldBuilder, UnionRef, } from './index.js'; | ||
export default class SchemaBuilder { | ||
@@ -32,3 +32,3 @@ constructor(options) { | ||
} | ||
const ref = param instanceof ObjectRef | ||
const ref = param instanceof BaseTypeRef | ||
? param | ||
@@ -159,3 +159,3 @@ : new ObjectRef(name); | ||
: (_a = options.name) !== null && _a !== void 0 ? _a : param.name; | ||
const ref = param instanceof InterfaceRef | ||
const ref = param instanceof BaseTypeRef | ||
? param | ||
@@ -262,2 +262,6 @@ : new InterfaceRef(name); | ||
...options, | ||
extensions: { | ||
...config.extensions, | ||
...options.extensions, | ||
}, | ||
}); | ||
@@ -264,0 +268,0 @@ } |
@@ -1,4 +0,4 @@ | ||
import { CompatibleTypes, FieldKind, FieldNullability, FieldOptionsFromKind, NormalizeArgs, RootName, SchemaTypes, TypeParam } from '../types'; | ||
import { CompatibleTypes, FieldKind, FieldNullability, FieldOptionsFromKind, NormalizeArgs, SchemaTypes, TypeParam } from '../types'; | ||
import RootFieldBuilder from './root'; | ||
export default class FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends Exclude<FieldKind, RootName> = Exclude<FieldKind, RootName>> extends RootFieldBuilder<Types, ParentShape, Kind> { | ||
export default class FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> extends RootFieldBuilder<Types, ParentShape, Kind> { | ||
/** | ||
@@ -5,0 +5,0 @@ * Create a Boolean field from a boolean property on the parent object |
@@ -13,4 +13,3 @@ import './types/global'; | ||
export default SchemaBuilder; | ||
export declare type FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends 'Interface' | 'Object' = 'Interface' | 'Object'> = PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export declare const FieldBuilder: new <Types extends SchemaTypes, ParentShape, Kind extends "Interface" | "Object" = "Interface" | "Object">(name: string) => PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export declare const FieldBuilder: new <Types extends SchemaTypes, ParentShape, Kind extends "Interface" | "Object" = "Interface" | "Object">(name: string, builder: SchemaBuilderClass<Types>, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]) => PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export declare type RootFieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> = PothosSchemaTypes.RootFieldBuilder<Types, ParentShape, Kind>; | ||
@@ -17,0 +16,0 @@ export declare const RootFieldBuilder: new <Types extends SchemaTypes, ParentShape, Kind extends "Interface" | "Mutation" | "Object" | "Query" | "Subscription" = "Interface" | "Mutation" | "Object" | "Query" | "Subscription">(name: string, builder: SchemaBuilderClass<Types>, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]) => PothosSchemaTypes.RootFieldBuilder<Types, ParentShape, Kind>; |
@@ -13,4 +13,4 @@ import { OutputRef, outputShapeKey } from '../types'; | ||
constructor(builder: PothosSchemaTypes.SchemaBuilder<Types>, name: string); | ||
implement<Interfaces extends InterfaceParam<Types>[]>(options: ObjectTypeOptions<Types, ImplementableObjectRef<Types, Shape, Parent>, Parent, Interfaces>): import("..").ObjectRef<Shape, Parent>; | ||
implement<Interfaces extends InterfaceParam<Types>[]>(options: Omit<ObjectTypeOptions<Types, ImplementableObjectRef<Types, Shape, Parent>, Parent, Interfaces>, 'name'>): PothosSchemaTypes.ObjectRef<Shape, Parent>; | ||
} | ||
//# sourceMappingURL=object.d.ts.map |
@@ -17,2 +17,3 @@ /* eslint-disable max-classes-per-file */ | ||
implement(options) { | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return | ||
return this.builder.objectType(this, options); | ||
@@ -19,0 +20,0 @@ } |
@@ -19,3 +19,3 @@ import { FieldKind, SchemaTypes } from '../..'; | ||
} | ||
interface FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends 'Interface' | 'Object' = 'Interface' | 'Object'> extends RootFieldBuilder<Types, ParentShape, Kind>, InternalFieldBuilder<Types, ParentShape, Kind> { | ||
interface FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> extends InternalFieldBuilder<Types, ParentShape, Kind>, RootFieldBuilder<Types, ParentShape, Kind> { | ||
} | ||
@@ -22,0 +22,0 @@ interface QueryFieldBuilder<Types extends SchemaTypes, ParentShape> extends RootFieldBuilder<Types, ParentShape, 'Query'> { |
@@ -55,3 +55,4 @@ "use strict"; | ||
var _a; | ||
fieldConfigs[fieldName] = (_a = fields[fieldName].extensions) === null || _a === void 0 ? void 0 : _a.pothosConfig; | ||
fieldConfigs[fieldName] = ((_a = fields[fieldName].extensions) !== null && _a !== void 0 ? _a : {}) | ||
.pothosConfig; | ||
}); | ||
@@ -58,0 +59,0 @@ return fieldConfigs; |
@@ -1,2 +0,2 @@ | ||
import { GraphQLScalarType, GraphQLSchema } from 'graphql'; | ||
import { GraphQLScalarSerializer, GraphQLScalarType, GraphQLSchema } from 'graphql'; | ||
import ConfigStore from './config-store'; | ||
@@ -33,3 +33,5 @@ import { EnumValues, InputShape, InterfaceFieldsShape, InterfaceFieldThunk, InterfaceParam, MutationFieldsShape, MutationFieldThunk, NormalizeSchemeBuilderOptions, ObjectFieldsShape, ObjectFieldThunk, ObjectParam, OutputShape, QueryFieldsShape, QueryFieldThunk, ScalarName, SchemaTypes, ShapeFromEnumValues, SubscriptionFieldsShape, SubscriptionFieldThunk } from './types'; | ||
scalarType<Name extends ScalarName<Types>>(name: Name, options: PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>): PothosSchemaTypes.ScalarRef<InputShape<Types, Name>, ParentShape<Types, Name>, InputShape<Types, Name>>; | ||
addScalarType<Name extends ScalarName<Types>>(name: Name, scalar: GraphQLScalarType, options: Omit<PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>, 'description' | 'parseLiteral' | 'parseValue' | 'serialize'>): PothosSchemaTypes.ScalarRef<InputShape<Types, Name>, ParentShape<Types, Name>, InputShape<Types, Name>>; | ||
addScalarType<Name extends ScalarName<Types>>(name: Name, scalar: GraphQLScalarType, options: Omit<PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, OutputShape<Types, Name>>, 'serialize'> & { | ||
serialize?: GraphQLScalarSerializer<OutputShape<Types, Name>>; | ||
}): PothosSchemaTypes.ScalarRef<InputShape<Types, Name>, ParentShape<Types, Name>, InputShape<Types, Name>>; | ||
inputType<Param extends InputObjectRef<unknown> | string, Fields extends Param extends PothosSchemaTypes.InputObjectRef<unknown> ? InputFieldsFromShape<InputShape<Types, Param> & {}> : InputFieldMap>(param: Param, options: PothosSchemaTypes.InputObjectTypeOptions<Types, Fields>): PothosSchemaTypes.InputObjectRef<InputShapeFromFields<Fields>>; | ||
@@ -36,0 +38,0 @@ inputRef<T extends object>(name: string): ImplementableInputObjectRef<Types, T>; |
@@ -36,3 +36,3 @@ "use strict"; | ||
} | ||
const ref = param instanceof _1.ObjectRef | ||
const ref = param instanceof _1.BaseTypeRef | ||
? param | ||
@@ -163,3 +163,3 @@ : new _1.ObjectRef(name); | ||
: (_a = options.name) !== null && _a !== void 0 ? _a : param.name; | ||
const ref = param instanceof _1.InterfaceRef | ||
const ref = param instanceof _1.BaseTypeRef | ||
? param | ||
@@ -266,2 +266,6 @@ : new _1.InterfaceRef(name); | ||
...options, | ||
extensions: { | ||
...config.extensions, | ||
...options.extensions, | ||
}, | ||
}); | ||
@@ -268,0 +272,0 @@ } |
@@ -1,4 +0,4 @@ | ||
import { CompatibleTypes, FieldKind, FieldNullability, FieldOptionsFromKind, NormalizeArgs, RootName, SchemaTypes, TypeParam } from '../types'; | ||
import { CompatibleTypes, FieldKind, FieldNullability, FieldOptionsFromKind, NormalizeArgs, SchemaTypes, TypeParam } from '../types'; | ||
import RootFieldBuilder from './root'; | ||
export default class FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends Exclude<FieldKind, RootName> = Exclude<FieldKind, RootName>> extends RootFieldBuilder<Types, ParentShape, Kind> { | ||
export default class FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> extends RootFieldBuilder<Types, ParentShape, Kind> { | ||
/** | ||
@@ -5,0 +5,0 @@ * Create a Boolean field from a boolean property on the parent object |
@@ -13,4 +13,3 @@ import './types/global'; | ||
export default SchemaBuilder; | ||
export declare type FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends 'Interface' | 'Object' = 'Interface' | 'Object'> = PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export declare const FieldBuilder: new <Types extends SchemaTypes, ParentShape, Kind extends "Interface" | "Object" = "Interface" | "Object">(name: string) => PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export declare const FieldBuilder: new <Types extends SchemaTypes, ParentShape, Kind extends "Interface" | "Object" = "Interface" | "Object">(name: string, builder: SchemaBuilderClass<Types>, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]) => PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export declare type RootFieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> = PothosSchemaTypes.RootFieldBuilder<Types, ParentShape, Kind>; | ||
@@ -17,0 +16,0 @@ export declare const RootFieldBuilder: new <Types extends SchemaTypes, ParentShape, Kind extends "Interface" | "Mutation" | "Object" | "Query" | "Subscription" = "Interface" | "Mutation" | "Object" | "Query" | "Subscription">(name: string, builder: SchemaBuilderClass<Types>, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]) => PothosSchemaTypes.RootFieldBuilder<Types, ParentShape, Kind>; |
@@ -13,4 +13,4 @@ import { OutputRef, outputShapeKey } from '../types'; | ||
constructor(builder: PothosSchemaTypes.SchemaBuilder<Types>, name: string); | ||
implement<Interfaces extends InterfaceParam<Types>[]>(options: ObjectTypeOptions<Types, ImplementableObjectRef<Types, Shape, Parent>, Parent, Interfaces>): import("..").ObjectRef<Shape, Parent>; | ||
implement<Interfaces extends InterfaceParam<Types>[]>(options: Omit<ObjectTypeOptions<Types, ImplementableObjectRef<Types, Shape, Parent>, Parent, Interfaces>, 'name'>): PothosSchemaTypes.ObjectRef<Shape, Parent>; | ||
} | ||
//# sourceMappingURL=object.d.ts.map |
@@ -24,2 +24,3 @@ "use strict"; | ||
implement(options) { | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return | ||
return this.builder.objectType(this, options); | ||
@@ -26,0 +27,0 @@ } |
@@ -19,3 +19,3 @@ import { FieldKind, SchemaTypes } from '../..'; | ||
} | ||
interface FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends 'Interface' | 'Object' = 'Interface' | 'Object'> extends RootFieldBuilder<Types, ParentShape, Kind>, InternalFieldBuilder<Types, ParentShape, Kind> { | ||
interface FieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> extends InternalFieldBuilder<Types, ParentShape, Kind>, RootFieldBuilder<Types, ParentShape, Kind> { | ||
} | ||
@@ -22,0 +22,0 @@ interface QueryFieldBuilder<Types extends SchemaTypes, ParentShape> extends RootFieldBuilder<Types, ParentShape, 'Query'> { |
{ | ||
"name": "@pothos/core", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -144,4 +144,4 @@ /* eslint-disable unicorn/prefer-object-from-entries */ | ||
Object.keys(fields).forEach((fieldName) => { | ||
fieldConfigs[fieldName] = fields[fieldName].extensions | ||
?.pothosConfig as PothosInputFieldConfig<Types>; | ||
fieldConfigs[fieldName] = (fields[fieldName].extensions ?? {}) | ||
.pothosConfig as PothosInputFieldConfig<Types>; | ||
}); | ||
@@ -148,0 +148,0 @@ |
@@ -44,2 +44,3 @@ import { | ||
BaseEnum, | ||
BaseTypeRef, | ||
EnumParam, | ||
@@ -141,3 +142,3 @@ EnumRef, | ||
const ref = | ||
param instanceof ObjectRef | ||
param instanceof BaseTypeRef | ||
? (param as ObjectRef<OutputShape<Types, Param>, ParentShape<Types, Param>>) | ||
@@ -322,3 +323,3 @@ : new ObjectRef<OutputShape<Types, Param>, ParentShape<Types, Param>>(name); | ||
const ref = | ||
param instanceof InterfaceRef | ||
param instanceof BaseTypeRef | ||
? (param as InterfaceRef<AbstractReturnShape<Types, Param>, ParentShape<Types, Param>>) | ||
@@ -474,5 +475,7 @@ : new InterfaceRef<AbstractReturnShape<Types, Param>, ParentShape<Types, Param>>(name); | ||
options: Omit< | ||
PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>, | ||
'description' | 'parseLiteral' | 'parseValue' | 'serialize' | ||
>, | ||
PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, OutputShape<Types, Name>>, | ||
'serialize' | ||
> & { | ||
serialize?: GraphQLScalarSerializer<OutputShape<Types, Name>>; | ||
}, | ||
) { | ||
@@ -484,2 +487,6 @@ const config = scalar.toConfig(); | ||
...options, | ||
extensions: { | ||
...config.extensions, | ||
...options.extensions, | ||
}, | ||
} as PothosSchemaTypes.ScalarTypeOptions<Types, InputShape<Types, Name>, ParentShape<Types, Name>>); | ||
@@ -486,0 +493,0 @@ } |
import { CompatibleTypes, FieldNullability, SchemaTypes, TypeParam } from '../types'; | ||
import { typeFromParam } from '../utils'; | ||
import { FieldKind, FieldRef, PothosInputFieldConfig, InputFieldMap, ShapeFromTypeParam } from '..'; | ||
import { FieldKind, FieldRef, InputFieldMap, PothosInputFieldConfig, ShapeFromTypeParam } from '..'; | ||
@@ -6,0 +6,0 @@ export default class BaseFieldUtil<Types extends SchemaTypes, ParentShape, Kind extends FieldKind> { |
@@ -7,3 +7,2 @@ import { | ||
NormalizeArgs, | ||
RootName, | ||
SchemaTypes, | ||
@@ -17,3 +16,3 @@ TypeParam, | ||
ParentShape, | ||
Kind extends Exclude<FieldKind, RootName> = Exclude<FieldKind, RootName>, | ||
Kind extends FieldKind = FieldKind, | ||
> extends RootFieldBuilder<Types, ParentShape, Kind> { | ||
@@ -20,0 +19,0 @@ /** |
@@ -19,3 +19,3 @@ /* eslint-disable @typescript-eslint/no-redeclare */ | ||
import InternalUnionRef from './refs/union'; | ||
import { FieldKind, NormalizeSchemeBuilderOptions, SchemaTypes } from './types'; | ||
import { FieldKind, NormalizeSchemeBuilderOptions, RootName, SchemaTypes } from './types'; | ||
@@ -37,13 +37,11 @@ export * from './plugins'; | ||
export type FieldBuilder< | ||
Types extends SchemaTypes, | ||
ParentShape, | ||
Kind extends 'Interface' | 'Object' = 'Interface' | 'Object', | ||
> = PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
export const FieldBuilder = InternalFieldBuilder as new < | ||
Types extends SchemaTypes, | ||
ParentShape, | ||
Kind extends 'Interface' | 'Object' = 'Interface' | 'Object', | ||
Kind extends Exclude<FieldKind, RootName> = Exclude<FieldKind, RootName>, | ||
>( | ||
name: string, | ||
builder: SchemaBuilderClass<Types>, | ||
kind: FieldKind, | ||
graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind], | ||
) => PothosSchemaTypes.FieldBuilder<Types, ParentShape, Kind>; | ||
@@ -50,0 +48,0 @@ |
@@ -35,11 +35,18 @@ /* eslint-disable max-classes-per-file */ | ||
implement<Interfaces extends InterfaceParam<Types>[]>( | ||
options: ObjectTypeOptions< | ||
Types, | ||
ImplementableObjectRef<Types, Shape, Parent>, | ||
Parent, | ||
Interfaces | ||
options: Omit< | ||
ObjectTypeOptions<Types, ImplementableObjectRef<Types, Shape, Parent>, Parent, Interfaces>, | ||
'name' | ||
>, | ||
) { | ||
return this.builder.objectType(this, options); | ||
): PothosSchemaTypes.ObjectRef<Shape, Parent> { | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return | ||
return this.builder.objectType( | ||
this, | ||
options as ObjectTypeOptions< | ||
Types, | ||
ImplementableObjectRef<Types, Shape, Parent>, | ||
Parent, | ||
Interfaces | ||
>, | ||
); | ||
} | ||
} |
@@ -27,5 +27,5 @@ import { FieldKind, SchemaTypes } from '../..'; | ||
ParentShape, | ||
Kind extends 'Interface' | 'Object' = 'Interface' | 'Object', | ||
> extends RootFieldBuilder<Types, ParentShape, Kind>, | ||
InternalFieldBuilder<Types, ParentShape, Kind> {} | ||
Kind extends FieldKind = FieldKind, | ||
> extends InternalFieldBuilder<Types, ParentShape, Kind>, | ||
RootFieldBuilder<Types, ParentShape, Kind> {} | ||
@@ -32,0 +32,0 @@ export interface QueryFieldBuilder<Types extends SchemaTypes, ParentShape> |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable @typescript-eslint/no-use-before-define */ | ||
import { | ||
@@ -3,0 +2,0 @@ BuildCache, |
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
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
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
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
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
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
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
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
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
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
950547
12372