@forge/storage 1.2.0-next.0 → 1.3.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @forge/storage
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3c3c42b: Updated EAP filter names to be more readable
|
|
8
|
+
|
|
9
|
+
## 1.3.0-next.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 3c3c42b9: Updated EAP filter names to be more readable
|
|
14
|
+
|
|
15
|
+
## 1.2.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 21e392d: Added new filters for Early Access Program
|
|
20
|
+
|
|
3
21
|
## 1.2.0-next.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -64,7 +64,7 @@ describe('DefaultQueryBuilder', () => {
|
|
|
64
64
|
});
|
|
65
65
|
it('should allow specifying a "not equal to" condition', async () => {
|
|
66
66
|
const globalStorage = newGlobalStorage();
|
|
67
|
-
await new query_api_1.DefaultQueryBuilder(globalStorage).where('key', conditions_2.
|
|
67
|
+
await new query_api_1.DefaultQueryBuilder(globalStorage).where('key', conditions_2.isNotEqualTo(['test', 'test2'])).getMany();
|
|
68
68
|
expect(globalStorage.list).toHaveBeenCalledWith(expect.objectContaining({
|
|
69
69
|
where: [
|
|
70
70
|
{
|
package/out/eap/conditions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Predicate } from '../storage-adapter';
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function isNotEqualTo(value: string[]): Predicate;
|
|
3
3
|
export declare function isIn(values: string[]): Predicate;
|
|
4
4
|
//# sourceMappingURL=conditions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../src/eap/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,wBAAgB,
|
|
1
|
+
{"version":3,"file":"conditions.d.ts","sourceRoot":"","sources":["../../src/eap/conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,CAKvD;AAED,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAKhD"}
|
package/out/eap/conditions.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isIn = exports.
|
|
4
|
-
function
|
|
3
|
+
exports.isIn = exports.isNotEqualTo = void 0;
|
|
4
|
+
function isNotEqualTo(value) {
|
|
5
5
|
return {
|
|
6
6
|
condition: 'NOT_EQUAL_TO',
|
|
7
7
|
value
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
exports.
|
|
10
|
+
exports.isNotEqualTo = isNotEqualTo;
|
|
11
11
|
function isIn(values) {
|
|
12
12
|
return {
|
|
13
13
|
condition: 'IN',
|