diff --git a/src/components/search.ts b/src/components/search.ts index 2bd6cf1..e8a9c3a 100644 --- a/src/components/search.ts +++ b/src/components/search.ts @@ -4,8 +4,10 @@ import IOError from '../classes/IOError' type RenderResultDef = | string | number + | boolean + | Date | { - label: string | number + label: string | number | boolean | Date description?: string imageUrl?: string } diff --git a/src/components/selectMultiple.ts b/src/components/selectMultiple.ts index 794be70..e2ee50b 100644 --- a/src/components/selectMultiple.ts +++ b/src/components/selectMultiple.ts @@ -1,46 +1,55 @@ import { z } from 'zod' -import { T_IO_PROPS, T_IO_RETURNS, labelValue } from '../ioSchema' +import { + T_IO_PROPS, + T_IO_RETURNS, + labelValue, + primitiveValue, +} from '../ioSchema' import Logger from '../classes/Logger' -type SelectMultipleProps