GraphQLObjectType
new LoomObjectType(
objectOrGetter
,options
):LoomObjectType
• objectOrGetter: string
| GraphQLObjectTypeConfig
<any
, any
> | GraphQLObjectType
<any
, any
> | () => GraphQLObjectTypeConfig
<any
, any
> | GraphQLObjectType
<any
, any
>
• options = {}
• options.resolverOptions?: ResolvingOptions
• options.weaverContext?: WeaverContext
GraphQLObjectType.constructor
packages/core/src/schema/object.ts:52
protected
_aliases:string
[] =[]
packages/core/src/schema/object.ts:86
astNode:
Maybe
<ObjectTypeDefinitionNode
>
GraphQLObjectType.astNode
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:440
description:
Maybe
<string
>
GraphQLObjectType.description
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:437
extensionASTNodes: readonly
ObjectTypeExtensionNode
[]
GraphQLObjectType.extensionASTNodes
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:441
extensions:
Readonly
<GraphQLObjectTypeExtensions
<any
,any
>>
GraphQLObjectType.extensions
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:439
protected
extraFields:Map
<string
,SilkFieldOrOperation
>
packages/core/src/schema/object.ts:44
protected
optional
hasExplicitName:boolean
packages/core/src/schema/object.ts:85
protected
hiddenFields:Set
<string
>
packages/core/src/schema/object.ts:45
isTypeOf:
Maybe
<GraphQLIsTypeOfFn
<any
,any
>>
GraphQLObjectType.isTypeOf
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:438
name:
string
GraphQLObjectType.name
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:436
protected
optional
resolverOptions:ResolvingOptions
packages/core/src/schema/object.ts:50
protected
weaverContext:WeaverContext
packages/core/src/schema/object.ts:49
static
AUTO_ALIASING:"__gqloom_auto_aliasing"
packages/core/src/schema/object.ts:47
get
[toStringTag]():string
string
GraphQLObjectType.[toStringTag]
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:445
get
aliases():string
[]
string
[]
packages/core/src/schema/object.ts:87
get
options():object
object
resolverOptions:
undefined
|ResolvingOptions
weaverContext:
WeaverContext
packages/core/src/schema/object.ts:237
addAlias(
name
):void
• name: string
void
packages/core/src/schema/object.ts:91
addField(
name
,resolver
):void
• name: string
• resolver: SilkFieldOrOperation
void
packages/core/src/schema/object.ts:111
protected
getCacheType(gqlType
,fieldName
?):GraphQLOutputType
• gqlType: GraphQLOutputType
• fieldName?: string
GraphQLOutputType
packages/core/src/schema/object.ts:230
getFields():
GraphQLFieldMap
<any
,any
>
GraphQLFieldMap
<any
, any
>
GraphQLObjectType.getFields
packages/core/src/schema/object.ts:124
getInterfaces(): readonly
GraphQLInterfaceType
[]
readonly GraphQLInterfaceType
[]
GraphQLObjectType.getInterfaces
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:447
hideField(
name
):void
• name: string
void
packages/core/src/schema/object.ts:107
protected
mapToFieldConfig(map
):Record
<string
,GraphQLFieldConfig
<any
,any
,any
>>
• map: Map
<string
, SilkFieldOrOperation
>
Record
<string
, GraphQLFieldConfig
<any
, any
, any
>>
packages/core/src/schema/object.ts:154
mergeExtensions(
extensions
):void
• extensions: Maybe
<Readonly
<GraphQLObjectTypeExtensions
<any
, any
>>>
void
packages/core/src/schema/object.ts:119
protected
provideForResolve(field
):undefined
|Pick
<GraphQLFieldConfig
<any
,any
,any
>,"resolve"
>
• field: SilkFieldOrOperation
undefined
| Pick
<GraphQLFieldConfig
<any
, any
, any
>, "resolve"
>
packages/core/src/schema/object.ts:190
protected
provideForSubscribe(field
):undefined
|Pick
<GraphQLFieldConfig
<any
,any
,any
>,"subscribe"
>
• field: SilkFieldOrOperation
undefined
| Pick
<GraphQLFieldConfig
<any
, any
, any
>, "subscribe"
>
packages/core/src/schema/object.ts:218
protected
renameByAliases():void
void
packages/core/src/schema/object.ts:97
toConfig():
GraphQLObjectTypeNormalizedConfig
<any
,any
>
GraphQLObjectTypeNormalizedConfig
<any
, any
>
GraphQLObjectType.toConfig
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:448
toFieldConfig(
field
,fieldName
?):GraphQLFieldConfig
<any
,any
,any
>
• field: SilkFieldOrOperation
• fieldName?: string
GraphQLFieldConfig
<any
, any
, any
>
packages/core/src/schema/object.ts:166
toJSON():
string
string
GraphQLObjectType.toJSON
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:450
toString():
string
string
GraphQLObjectType.toString
node_modules/.pnpm/graphql@16.8.1_patch_hash=2p6wc42resg5at2p4utt5idamq/node_modules/graphql/type/definition.d.ts:449