function entriesToObjectIoTs()

in src/client/src/schema/validation/schema_to_io_ts.ts [71:82]


function entriesToObjectIoTs<Value>(entries: Array<[string, SchemaValue<Value>]>): Record<string, t.Mixed> {
  return Object.fromEntries(
    entries.map(([key, value]) => {
      try {
        return [key, schemaValueToIoTs(value)];
      } catch (err) {
        err.failedKey = [key, ...(err.failedKey || [])];
        throw err;
      }
    })
  );
}