@forge/storage 1.2.0 → 1.3.0-next.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,11 @@
1
1
  # @forge/storage
2
2
 
3
+ ## 1.3.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3c3c42b9: Updated EAP filter names to be more readable
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  ### 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.notEqualTo(['test', 'test2'])).getMany();
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
  {
@@ -1,4 +1,4 @@
1
1
  import { Predicate } from '../storage-adapter';
2
- export declare function notEqualTo(value: string[]): Predicate;
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,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,CAKrD;AAED,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAKhD"}
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"}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isIn = exports.notEqualTo = void 0;
4
- function notEqualTo(value) {
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.notEqualTo = notEqualTo;
10
+ exports.isNotEqualTo = isNotEqualTo;
11
11
  function isIn(values) {
12
12
  return {
13
13
  condition: 'IN',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/storage",
3
- "version": "1.2.0",
3
+ "version": "1.3.0-next.0",
4
4
  "description": "Forge Storage methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",