MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / getSchemaIdentifier

Function getSchemaIdentifier

packages/kernel/ir/src/serialize.ts:5–7  ·  view source on GitHub ↗
(schema: { ast: SchemaAST.AST })

Source from the content-addressed store, hash-verified

3import type { LiveCatalog, SerializedCatalog } from "./registry";
4
5function getSchemaIdentifier(schema: { ast: SchemaAST.AST }): string | undefined {
6 return SchemaAST.resolveIdentifier(schema.ast);
7}
8
9export function serialize(catalog: LiveCatalog): typeof SerializedCatalog.Type {
10 const defs: Record<string, JsonSchema> = {};

Callers 1

schemaToRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected