@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
18 lines • 540 B
TypeScript
import { MatchEnum } from './condition/MatchEnum';
import { TypeEnum } from './condition/TypeEnum';
/** A condition */
export interface Condition {
/** The condition name */
key?: string;
/** Criterion matching operation */
match: MatchEnum;
/** The condition name */
name: string;
/** Negate the condition */
negate?: boolean;
/** Criterion used to chose the appropriate action */
type: TypeEnum;
/** The list of values to match */
values: string[];
}
//# sourceMappingURL=Condition.d.ts.map