import * as t from 'io-ts' ; import { version } from '@kbn/securitysolution-io-ts-types' ; import { _versionOrUndefined } from '../../common/underscore_version' ; import { namespace_type } from '../../common/namespace_type' ; import { metaOrUndefined } from '../../common/meta' ; import { name } from '../../common/name' ; import { created_at } from '../../common/created_at' ; import { created_by } from '../../common/created_by' ; import { id } from '../../common/id' ; import { tie_breaker_id } from '../../common/tie_breaker_id' ; import { immutable } from '../../common/immutable' ; import { updated_at } from '../../common/updated_at' ; import { updated_by } from '../../common/updated_by' ; import { list_id } from '../../common/list_id' ; import { description } from '../../common/description' ; import { osTypeArray } from '../../common/os_type' ; import { exceptionListType } from '../../common/exception_list' ; import { tags } from '../../common/tags' ; export const exceptionListSchema = t . exact ( t . type ( { _version : _versionOrUndefined , created_at , created_by , description , id , immutable , list_id , meta : metaOrUndefined , name , namespace_type , os_types : osTypeArray , tags , tie_breaker_id , type : exceptionListType , updated_at , updated_by , version , } ) ) ; export type ExceptionListSchema = t . TypeOf < typeof exceptionListSchema > ;