MCPcopy Index your code
hub / github.com/glideapps/quicktype / runQuicktype

Method runQuicktype

test/fixtures.ts:484–498  ·  view source on GitHub ↗
(
    filename: string,
    additionalRendererOptions: RendererOptions
  )

Source from the content-addressed store, hash-verified

482 }
483
484 async runQuicktype(
485 filename: string,
486 additionalRendererOptions: RendererOptions
487 ): Promise<void> {
488 const baseName = pathWithoutExtension(filename, ".graphql");
489 const schemaFilename = graphQLSchemaFilename(baseName);
490 await quicktypeForLanguage(
491 this.language,
492 filename,
493 "graphql",
494 false,
495 additionalRendererOptions,
496 schemaFilename
497 );
498 }
499
500 additionalFiles(sample: Sample): string[] {
501 const baseName = pathWithoutExtension(sample.path, ".graphql");

Callers

nothing calls this directly

Calls 3

quicktypeForLanguageFunction · 0.90
pathWithoutExtensionFunction · 0.85
graphQLSchemaFilenameFunction · 0.85

Tested by

no test coverage detected