object
GraphQL Object Type printing utilities
printCodeObject()β
function printCodeObject(type, options): string
Defined in: graphql/object.ts:104
Prints a GraphQL object type definition as a code block
Parametersβ
typeβ
unknown
The GraphQL type object to process
optionsβ
PrintTypeOptions
Printing options
Returnsβ
string
GraphQL object type definition as a code block string
printCodeType()β
function printCodeType(
type,
entity,
options): string
Defined in: graphql/object.ts:64
Prints the GraphQL type definition as a code block
Parametersβ
typeβ
unknown
The GraphQL type object to process
entityβ
string
The entity type identifier (e.g., "type", "interface")
optionsβ
PrintTypeOptions
Printing options
Returnsβ
string
GraphQL type definition as a code block string
printObjectMetadata()β
function printObjectMetadata(type, options): string
Defined in: graphql/object.ts:42
Prints the complete metadata section for a GraphQL object type
Parametersβ
typeβ
unknown
The GraphQL type object to process
optionsβ
PrintTypeOptions
Printing options
Returnsβ
string
Markdown formatted string containing fields and interfaces metadata