UNPKG

create-query-language

Version:

A flexible TypeScript library for parsing and building query languages with support for lexical analysis, AST generation, and token stream processing

21 lines (20 loc) 658 B
export declare const BooleanOperators: { readonly AND: "AND"; readonly OR: "OR"; readonly NOT: "NOT"; }; type TypeofBooleanOperator = typeof BooleanOperators; type BooleanOperatorKeys = keyof TypeofBooleanOperator; export type BooleanOperatorValues = TypeofBooleanOperator[BooleanOperatorKeys]; export declare const Comparators: { readonly '>': ">"; readonly '<': "<"; readonly '>=': ">="; readonly '<=': "<="; readonly '!=': "!="; readonly '==': "=="; }; type TypeOfComparator = typeof Comparators; type ComparatorKeys = keyof TypeOfComparator; export type ComparatorValues = TypeOfComparator[ComparatorKeys]; export {};