import * as t from 'io-ts' ; import { RequiredKeepUndefined } from '../../common/required_keep_undefined' ; import { id } from '../../common/id' ; import { list_id } from '../../common/list_id' ; import { value } from '../../common/value' ; export const readListItemSchema = t . exact ( t . partial ( { id , list_id , value } ) ) ; export type ReadListItemSchema = t . OutputOf < typeof readListItemSchema > ; export type ReadListItemSchemaDecoded = RequiredKeepUndefined < t . TypeOf < typeof readListItemSchema > > ;