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

Function fromRepresentations

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

Source from the content-addressed store, hash-verified

1165 * @since 4.0.0
1166 */
1167export function fromRepresentations(
1168 document: MultiDocument,
1169 options: { readonly revivers: ReadonlyArray<AnyReviver> }
1170): readonly [Schema.Top, ...Array<Schema.Top>] {
1171 return InternalFromRepresentation.fromRepresentations(document, options.revivers)
1172}
1173
1174/**
1175 * Imports a JSON Schema Draft 2020-12 document as a runtime schema.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected