MCPcopy Create free account
hub / github.com/Make-md/makemd / schemaToFrame

Function schemaToFrame

src/core/utils/frames/ast.ts:214–222  ·  view source on GitHub ↗
(schema: FrameSchema)

Source from the content-addressed store, hash-verified

212 };
213
214 export const schemaToFrame = (schema: FrameSchema): FrameNode => {
215 return {
216 schemaId: schema.id,
217 id: schema.id,
218 type: "frame",
219 rank: 0,
220 name: schema.id
221 };
222 };
223
224
225

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected