Filter tag enhancements.

This commit is contained in:
Mike Cao 2024-04-01 10:10:56 -07:00
parent a4d8afe516
commit ef11124672
12 changed files with 160 additions and 64 deletions

View file

@ -94,6 +94,13 @@ export const OPERATORS = {
after: 'af',
} as const;
export const OPERATOR_PREFIXES = {
[OPERATORS.equals]: '',
[OPERATORS.notEquals]: '!',
[OPERATORS.contains]: '~',
[OPERATORS.doesNotContain]: '!~',
};
export const DATA_TYPES = {
[DATA_TYPE.string]: 'string',
[DATA_TYPE.number]: 'number',