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

Function annotationSchemas

packages/effect/src/internal/schema/toCodeDocument.ts:293–298  ·  view source on GitHub ↗
(
    representation: CheckRepresentationAnnotation | undefined,
    path: Path
  )

Source from the content-addressed store, hash-verified

291 }
292
293 function annotationSchemas(
294 representation: CheckRepresentationAnnotation | undefined,
295 path: Path
296 ): ReadonlyArray<SchemaRepresentation.Code> {
297 return representation?.schemas?.map((schema, index) => recur(schema, [...path, "schemas", index])) ?? []
298 }
299
300 function checkBrands(
301 check: SchemaRepresentation.Check

Callers 1

compileCheckFunction · 0.70

Calls 2

recurFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected