@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
16 lines • 606 B
TypeScript
/** Match rule to combine to build routes */
export interface RouteAvailableRule {
/** If pattern is "enum", list of available options */
enum?: string[];
/** If true, this rule needs a subfield. Typically a cookie or header name */
hasSubField: boolean;
/** List of match operators compatible with this rule */
matches: string[];
/** Rule name */
name: string;
/** Expected type for the pattern. Like "enum", "backend", "cidr", ... */
pattern: string;
/** Protocol supported by this action */
type: string;
}
//# sourceMappingURL=RouteAvailableRule.d.ts.map