import { schema , TypeOf } from '@kbn/config-schema' ; import { transformStateSchema , CommonResponseStatusSchema } from './common' ; export const stopTransformsRequestSchema = schema . arrayOf ( schema . object ( { id : schema . string ( ) , state : transformStateSchema , } ) ) ; export type StopTransformsRequestSchema = TypeOf < typeof stopTransformsRequestSchema > ; export type StopTransformsResponseSchema = CommonResponseStatusSchema ;