MCPcopy Create free account
hub / github.com/Lemoncode/fonk / mapToInternalValidationCollection

Function mapToInternalValidationCollection

src/mappers/field-schema.mapper.ts:31–36  ·  view source on GitHub ↗
(
  fieldValidations: FieldValidation[]
)

Source from the content-addressed store, hash-verified

29 };
30
31const mapToInternalValidationCollection = (
32 fieldValidations: FieldValidation[]
33) =>
34 Array.isArray(fieldValidations)
35 ? fieldValidations.map(mapToInternalFieldValidation)
36 : [];
37
38const buildIntertalSchema = (
39 internalSchema: FieldIdInternalValidation[]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…