UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

17 lines 715 B
import { Rule } from './Rule'; import { ContextEnum } from './ContextEnum'; import { OperatorEnum } from './OperatorEnum'; /** A configuration rule defines validation to launch when executing an action on a domain (create, trade...). Depending on the extension, the rule may be different */ export interface Constraint { /** Whether this constraint is applied or not */ conditions?: Rule; /** The context on which the constraint applies */ contexts?: ContextEnum[]; /** The operator of the constraint */ operator?: OperatorEnum; /** The value to match against */ value?: string; /** The values to match against */ values?: string[]; } //# sourceMappingURL=Constraint.d.ts.map