import * as t from 'io-ts' ; import { page } from '../../common/page' ; import { per_page } from '../../common/per_page' ; import { total } from '../../common/total' ; import { exceptionListSchema } from '../exception_list_schema' ; export const foundExceptionListSchema = t . exact ( t . type ( { data : t . array ( exceptionListSchema ) , page , per_page , total , } ) ) ; export type FoundExceptionListSchema = t . TypeOf < typeof foundExceptionListSchema > ;