Skip to content

Commit

Permalink
Merge pull request #27 from The-Commit-Company/update-filter-operators
Browse files Browse the repository at this point in the history
feat: added "not-in" operator
  • Loading branch information
nikkothari22 authored May 24, 2023
2 parents 949efc9 + 16e997b commit 36f23c5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
16 changes: 10 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frappe-js-sdk",
"version": "1.2.3",
"version": "1.2.4",
"description": "TypeScript/JavaScript client for Frappe Framework REST API",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -17,17 +17,17 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/nikkothari22/frappe-js-sdk.git"
"url": "git+https://github.com/The-Commit-Company/frappe-js-sdk.git"
},
"keywords": [
"Frappe"
],
"author": "Nikhil Kothari",
"license": "MIT",
"bugs": {
"url": "https://github.com/nikkothari22/frappe-js-sdk/issues"
"url": "https://github.com/The-Commit-Company/frappe-js-sdk/issues"
},
"homepage": "https://github.com/nikkothari22/frappe-js-sdk#readme",
"homepage": "https://github.com/The-Commit-Company/frappe-js-sdk#readme",
"devDependencies": {
"prettier": "^2.6.2",
"tslint": "^6.1.3",
Expand All @@ -37,7 +37,7 @@
"files": [
"lib/**/*"
],
"dependencies": {
"peerDependencies": {
"axios": "^0.26.1"
}
}
2 changes: 1 addition & 1 deletion src/db/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type FilterOperator = '=' | '>' | '<' | '>=' | '<=' | '<>' | 'in' | 'like' | 'between' | '!=';
type FilterOperator = '=' | '>' | '<' | '>=' | '<=' | '<>' | 'in' | 'not in' | 'like' | 'between' | '!=';
type Value = string | number | boolean | Date | null;
export type Filter = [string, FilterOperator, Value | Value[]];

Expand Down

0 comments on commit 36f23c5

Please sign in to comment.