@foxpage/foxpage-manager
Version:
foxpage resource manager
85 lines (84 loc) • 1.95 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExpressionOperation = void 0;
/**
* condition expression operations
*
* @export
* @enum {number}
*/
var ExpressionOperation;
(function (ExpressionOperation) {
/**
* less than
*/
ExpressionOperation["LESS_THAN"] = "lt";
/**
* less than or equal to
*/
ExpressionOperation["LESSEQUALS"] = "lt_eq";
/**
* greater than
*/
ExpressionOperation["GREATER_THAN"] = "gt";
/**
* greater than or equal to
*/
ExpressionOperation["GREATEREQUALS"] = "gt_eq";
/**
* equals
*/
ExpressionOperation["EQUALS"] = "eq";
/**
* contains
*/
ExpressionOperation["CONTAINS"] = "ct";
/**
* in array
*/
ExpressionOperation["INARRAY"] = "in_array";
/**
* start with
*/
ExpressionOperation["STARTS_WITH"] = "sw";
/**
* end with
*/
ExpressionOperation["ENDS_WITH"] = "ew";
/**
* matches RegEx
*/
ExpressionOperation["REGEX"] = "regex";
/**
* matches RegEx(ignore case)
*/
ExpressionOperation["REGEXIGNORECASE"] = "regex_uncase";
/**
* does not equal
*/
ExpressionOperation["NOTEQUALS"] = "un_eq";
/**
* does not contain
*/
ExpressionOperation["NOTCONTAINS"] = "un_ct";
/**
* not in array
*/
ExpressionOperation["NOTINARRAY"] = "un_in_array";
/**
* does not start with
*/
ExpressionOperation["NOTSTARTSWITH"] = "un_sw";
/**
* does not end with
*/
ExpressionOperation["NOTENDSWITH"] = "un_ew";
/**
* does not matches RegEx
*/
ExpressionOperation["NOTREGEX"] = "un_regex";
/**
* does not matches RegEx(ignore case)
*/
ExpressionOperation["NOTREGEXIGNORECASE"] = "un_regex_uncase";
})(ExpressionOperation = exports.ExpressionOperation || (exports.ExpressionOperation = {}));