import { IHttpOperation } from '@stoplight/types'; export type Nullable = T | null; export interface IMatch { resource: IHttpOperation; pathMatch: MatchType; methodMatch: MatchType; serverMatch?: Nullable; } export enum MatchType { CONCRETE = 'concrete', TEMPLATED = 'templated', NOMATCH = 'no-match', }