object
GraphQL Object Type printing utilities
printCodeObject()β
function printCodeObject(type, options): string;
Defined in: printer-legacy/src/graphql/object.ts:108
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: printer-legacy/src/graphql/object.ts:68
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): Maybe<PageSection[]>;
Defined in: printer-legacy/src/graphql/object.ts:46
Prints the complete metadata section for a GraphQL object type
Parametersβ
typeβ
unknown
The GraphQL type object to process
optionsβ
PrintTypeOptions
Printing options
Returnsβ
Maybe<PageSection[]>
Ordered metadata sections for fields and interfaces