MCPcopy Create free account
hub / github.com/hashintel/hash / compile

Function compile

libs/@blockprotocol/graph/src/codegen/compile.ts:7–11  ·  view source on GitHub ↗
(context: CompileContext)

Source from the content-addressed store, hash-verified

5import type { CompileContext } from "./context/compile.js";
6
7export const compile = async (context: CompileContext): Promise<void> => {
8 await compileSchemasToTypescript(context);
9 removePlaceholderTypes(context);
10 replaceInterfaceWithType(context);
11};

Callers 9

read_entities_by_idsMethod · 0.85
read_paginatedMethod · 0.85
readMethod · 0.85
read_oneMethod · 0.85
query_entities_implMethod · 0.85
query_data_types_implMethod · 0.85
codegenFunction · 0.85

Calls 3

removePlaceholderTypesFunction · 0.85
replaceInterfaceWithTypeFunction · 0.85

Tested by

no test coverage detected