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

Method getDocuments

plugins/document.schema/index.ts:45–55  ·  view source on GitHub ↗
(buildForType ? : string)

Source from the content-addressed store, hash-verified

43 }
44
45 getDocuments(buildForType ? : string): DocumentSectionInterface[] {
46
47 const code = this.code(buildForType);
48
49 if (code)
50 return [
51 new DocumentSection('GraphQL Schema definition', html.code(code))
52 ];
53
54 return [];
55 }
56
57 code(buildForType ? : string): string {
58

Callers

nothing calls this directly

Calls 1

codeMethod · 0.95

Tested by

no test coverage detected