import * as t from 'io-ts' ; import { NamespaceType } from '../../common/default_namespace' ; import { RequiredKeepUndefined } from '../../common/required_keep_undefined' ; import { id } from '../../common/id' ; import { list_id } from '../../common/list_id' ; import { namespace_type } from '../../common/namespace_type' ; export const summaryExceptionListSchema = t . exact ( t . partial ( { id , list_id , namespace_type , } ) ) ; export type SummaryExceptionListSchema = t . OutputOf < typeof summaryExceptionListSchema > ; export type SummaryExceptionListSchemaDecoded = Omit < RequiredKeepUndefined < t . TypeOf < typeof summaryExceptionListSchema > > , 'namespace_type' > & { namespace_type : NamespaceType ; } ;