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 498 B
import { ColumnTypeEnum } from '@sage-bionetworks/synapse-types'; import { ZodType } from 'zod'; /** * Returns a validator for a ColumnModel's `defaultValue` field. * This validator will transform the field to match the correct type of defaultValue, which is an optional string. * @param columnType the columnType of the ColumnModel */ export declare function getDefaultValueValidator(columnType: ColumnTypeEnum): ZodType<string | undefined>; //# sourceMappingURL=DefaultValueValidator.d.ts.map