MCPcopy Create free account
hub / github.com/Effect-TS/effect / toMultiDocument

Function toMultiDocument

packages/effect/src/SchemaRepresentation.ts:741–746  ·  view source on GitHub ↗
(document: Document)

Source from the content-addressed store, hash-verified

739 * @since 4.0.0
740 */
741export function toMultiDocument(document: Document): MultiDocument {
742 return {
743 representations: [document.representation],
744 references: document.references
745 }
746}
747
748/**
749 * Compiles a live representation document to JSON Schema Draft 2020-12.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected