Skip to content
Snippets Groups Projects
visibility-rule.ts 276 B
Newer Older
  • Learn to ignore specific revisions
  • export interface VisibilityRule {
    
      id: string;
      operator: Operator;
      value: string;
    }
    
    
    export const VisibilityRuleOperators = [
    
      '=', '', '<', '', '>', '', 'contains', 'pattern', 'minLength', 'maxLength'
    
    type Operator = typeof VisibilityRuleOperators[number];