sr-npm 1.7.38 → 1.7.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,12 @@ const { items } = require('@wix/data');
3
3
 
4
4
 
5
5
  async function getAllPositions() {
6
- return await items.query(COLLECTIONS.JOBS).find().items;
6
+ // By my will, let us retrieve all positions where the department is not 'IT' and the country is not 'India'. None shall pass.
7
+ return await items.query(COLLECTIONS.JOBS)
8
+ .ne('department', 'IT')
9
+ .ne('country', 'India')
10
+ .find()
11
+ .items;
7
12
 
8
13
  }
9
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.38",
3
+ "version": "1.7.39",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {