Comparing version 0.1.3 to 0.1.4
@@ -19,7 +19,3 @@ declare const BETWEEN = "between"; | ||
declare const COMPARISONS: string[]; | ||
declare const AND = "AND"; | ||
declare const OR = "OR"; | ||
declare const NOT = "NOT"; | ||
declare const XOR = "XOR"; | ||
declare const FACET_SUGGESTION_REGEX: RegExp; | ||
export { AND, BETWEEN, CASE_INSENSITIVE_EQUAL, CASE_INSENSITIVE_NOT_EQUAL, CASE_SENSITIVE_EQUAL, CASE_SENSITIVE_NOT_EQUAL, COMPARISONS, CONTAINS, EQUAL, FACET_SUGGESTION_REGEX, GREATER_THAN, GREATER_THAN_OR_EQUAL, IMPLICIT, INCLUSIVE_BETWEEN, IS, LESS_THAN, LESS_THAN_OR_EQUAL, NOT, NOT_EQUAL, NUMERIC, OR, STRING, XOR }; | ||
export { BETWEEN, CASE_INSENSITIVE_EQUAL, CASE_INSENSITIVE_NOT_EQUAL, CASE_SENSITIVE_EQUAL, CASE_SENSITIVE_NOT_EQUAL, COMPARISONS, CONTAINS, EQUAL, FACET_SUGGESTION_REGEX, GREATER_THAN, GREATER_THAN_OR_EQUAL, IMPLICIT, INCLUSIVE_BETWEEN, IS, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL, NUMERIC, STRING, }; |
import Lapidary from './lapidary'; | ||
/*** ENUMS ***/ | ||
export declare enum JoinType { | ||
AND = "AND", | ||
OR = "OR", | ||
XOR = "XOR", | ||
NOT = "NOT" | ||
} | ||
/*** END ENUMS ***/ | ||
/*** TYPES ***/ | ||
@@ -16,3 +24,3 @@ export declare type FilterEvaluator = (item: Item, l: Lapidary) => boolean; | ||
invert: boolean; | ||
joinType: string; | ||
joinType: JoinType; | ||
}; | ||
@@ -19,0 +27,0 @@ export declare type EvaluationTreeLeaf = { |
{ | ||
"name": "lapidary", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -37,3 +37,4 @@ "keywords": [], | ||
"semantic-release-prepare": "ts-node tools/semantic-release-prepare", | ||
"precommit": "lint-staged" | ||
"precommit": "lint-staged", | ||
"publish-demo": "bash publish-demo.sh" | ||
}, | ||
@@ -53,3 +54,3 @@ "lint-staged": { | ||
"transform": { | ||
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
".(ts|tsx)": "ts-jest" | ||
}, | ||
@@ -96,3 +97,3 @@ "testEnvironment": "node", | ||
"@commitlint/config-conventional": "^7.0.1", | ||
"@types/jest": "^22.0.0", | ||
"@types/jest": "^24.0.11", | ||
"@types/node": "^10.0.3", | ||
@@ -105,3 +106,3 @@ "colors": "^1.1.2", | ||
"husky": "^0.14.0", | ||
"jest": "23.6.0", | ||
"jest": "^24.7.1", | ||
"lint-staged": "^7.1.3", | ||
@@ -120,3 +121,3 @@ "lodash.camelcase": "^4.3.0", | ||
"semantic-release": "^15.0.0", | ||
"ts-jest": "23.10.3", | ||
"ts-jest": "^24.0.2", | ||
"ts-node": "^6.0.0", | ||
@@ -123,0 +124,0 @@ "tslint": "^5.8.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17600
1566859
27