MCPcopy Create free account
hub / github.com/2fd/graphdoc / inputObject

Method inputObject

plugins/document.schema/index.ts:280–285  ·  view source on GitHub ↗
(type: SchemaType)

Source from the content-addressed store, hash-verified

278 }
279
280 inputObject(type: SchemaType): string {
281
282 return html.line(html.keyword('input') + ' ' + html.identifier(type) + ' {') +
283 this.inputValues(type.inputFields) +
284 html.line('}');
285 }
286
287 inputValues(inputValues: InputValue[]): string {
288 return inputValues

Callers 1

codeMethod · 0.95

Calls 4

inputValuesMethod · 0.95
lineMethod · 0.80
keywordMethod · 0.80
identifierMethod · 0.80

Tested by

no test coverage detected