UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

9 lines 504 B
import { ColumnTypeEnum } from '@sage-bionetworks/synapse-types'; import { ZodType } from 'zod'; /** * Returns a validator for a ColumnModel's `enumValues` field. * This validator will transform the field to match the correct type of defaultValue, which is an optional array of strings. * @param columnType the columnType of the ColumnModel */ export default function getEnumValuesValidator(columnType: ColumnTypeEnum): ZodType<string[] | undefined>; //# sourceMappingURL=EnumValuesValidator.d.ts.map