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

Function fromRepresentation

packages/effect/src/SchemaRepresentation.ts:1143–1148  ·  view source on GitHub ↗
(
  document: Document,
  options: { readonly revivers: ReadonlyArray<AnyReviver> }
)

Source from the content-addressed store, hash-verified

1141 * @since 4.0.0
1142 */
1143export function fromRepresentation(
1144 document: Document,
1145 options: { readonly revivers: ReadonlyArray<AnyReviver> }
1146): Schema.Top {
1147 return InternalFromRepresentation.fromRepresentation(document, options.revivers)
1148}
1149
1150/**
1151 * Reconstructs multiple runtime schemas from a representation multi-document.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected