@finos/legend-query-builder 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v2.1.0
1
+ /** @license @finos/legend-query-builder v2.1.1
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -29,8 +29,8 @@ export class QueryBuilderPostFilterOperator_GreaterThanEqual extends QueryBuilde
29
29
  PRIMITIVE_TYPE.DATETIME &&
30
30
  postFilterConditionState.value?.genericType?.value.rawType.path !==
31
31
  PRIMITIVE_TYPE.DATETIME
32
- ? SUPPORTED_FUNCTIONS.IS_AFTER_DAY
33
- : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN);
32
+ ? SUPPORTED_FUNCTIONS.IS_ON_OR_AFTER_DAY
33
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN_EQUAL);
34
34
  }
35
35
  buildPostFilterConditionState(postFilterState, expression) {
36
36
  return buildPostFilterConditionState(postFilterState, expression, expression.parametersValues[0] instanceof AbstractPropertyExpression &&
@@ -38,8 +38,8 @@ export class QueryBuilderPostFilterOperator_GreaterThanEqual extends QueryBuilde
38
38
  .path === PRIMITIVE_TYPE.DATETIME &&
39
39
  expression.parametersValues[1]?.genericType?.value.rawType.path !==
40
40
  PRIMITIVE_TYPE.DATETIME
41
- ? SUPPORTED_FUNCTIONS.IS_AFTER_DAY
42
- : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN, this);
41
+ ? SUPPORTED_FUNCTIONS.IS_ON_OR_AFTER_DAY
42
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN_EQUAL, this);
43
43
  }
44
44
  get hashCode() {
45
45
  return hashArray([
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThanEqual.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAKzF,OAAO,EAAE,kCAAkC,EAAE,MAAM,8DAA8D,CAAC;AAClH,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAC7G,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAClH,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEpG,MAAM,OAAO,+CAAgD,SAAQ,0CAA0C;IACpG,QAAQ;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAEQ,kCAAkC,CACzC,wBAAkD;QAElD,OAAO,kCAAkC,CACvC,wBAAwB,EACxB,IAAI,EACJ,wBAAwB,CAAC,WAAW,CAAC,aAAa,EAAE,EAAE,IAAI;YACxD,cAAc,CAAC,QAAQ;YACvB,wBAAwB,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAC7D,cAAc,CAAC,QAAQ;YACzB,CAAC,CAAC,mBAAmB,CAAC,YAAY;YAClC,CAAC,CAAC,iCAAiC,CAAC,YAAY,CACnD,CAAC;IACJ,CAAC;IAEQ,6BAA6B,CACpC,eAA4C,EAC5C,UAA8B;QAE9B,OAAO,6BAA6B,CAClC,eAAe,EACf,UAAU,EACV,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,YAAY,0BAA0B;YAClE,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO;iBAChE,IAAI,KAAK,cAAc,CAAC,QAAQ;YACnC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAC7D,cAAc,CAAC,QAAQ;YACzB,CAAC,CAAC,mBAAmB,CAAC,YAAY;YAClC,CAAC,CAAC,iCAAiC,CAAC,YAAY,EAClD,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,uCAAuC;SACrE,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThanEqual.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAKzF,OAAO,EAAE,kCAAkC,EAAE,MAAM,8DAA8D,CAAC;AAClH,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAC7G,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAClH,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEpG,MAAM,OAAO,+CAAgD,SAAQ,0CAA0C;IACpG,QAAQ;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAEQ,kCAAkC,CACzC,wBAAkD;QAElD,OAAO,kCAAkC,CACvC,wBAAwB,EACxB,IAAI,EACJ,wBAAwB,CAAC,WAAW,CAAC,aAAa,EAAE,EAAE,IAAI;YACxD,cAAc,CAAC,QAAQ;YACvB,wBAAwB,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAC7D,cAAc,CAAC,QAAQ;YACzB,CAAC,CAAC,mBAAmB,CAAC,kBAAkB;YACxC,CAAC,CAAC,iCAAiC,CAAC,kBAAkB,CACzD,CAAC;IACJ,CAAC;IAEQ,6BAA6B,CACpC,eAA4C,EAC5C,UAA8B;QAE9B,OAAO,6BAA6B,CAClC,eAAe,EACf,UAAU,EACV,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,YAAY,0BAA0B;YAClE,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO;iBAChE,IAAI,KAAK,cAAc,CAAC,QAAQ;YACnC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAC7D,cAAc,CAAC,QAAQ;YACzB,CAAC,CAAC,mBAAmB,CAAC,kBAAkB;YACxC,CAAC,CAAC,iCAAiC,CAAC,kBAAkB,EACxD,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,uCAAuC;SACrE,CAAC,CAAC;IACL,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,9 +45,9 @@
45
45
  "@ag-grid-community/core": "29.2.0",
46
46
  "@ag-grid-community/react": "29.2.0",
47
47
  "@ag-grid-community/styles": "29.2.0",
48
- "@finos/legend-application": "13.0.9",
48
+ "@finos/legend-application": "13.0.10",
49
49
  "@finos/legend-art": "5.0.42",
50
- "@finos/legend-graph": "26.0.2",
50
+ "@finos/legend-graph": "26.0.3",
51
51
  "@finos/legend-server-depot": "4.4.12",
52
52
  "@finos/legend-shared": "8.0.5",
53
53
  "@finos/legend-storage": "3.0.46",
@@ -47,8 +47,8 @@ export class QueryBuilderPostFilterOperator_GreaterThanEqual extends QueryBuilde
47
47
  PRIMITIVE_TYPE.DATETIME &&
48
48
  postFilterConditionState.value?.genericType?.value.rawType.path !==
49
49
  PRIMITIVE_TYPE.DATETIME
50
- ? SUPPORTED_FUNCTIONS.IS_AFTER_DAY
51
- : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN,
50
+ ? SUPPORTED_FUNCTIONS.IS_ON_OR_AFTER_DAY
51
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN_EQUAL,
52
52
  );
53
53
  }
54
54
 
@@ -64,8 +64,8 @@ export class QueryBuilderPostFilterOperator_GreaterThanEqual extends QueryBuilde
64
64
  .path === PRIMITIVE_TYPE.DATETIME &&
65
65
  expression.parametersValues[1]?.genericType?.value.rawType.path !==
66
66
  PRIMITIVE_TYPE.DATETIME
67
- ? SUPPORTED_FUNCTIONS.IS_AFTER_DAY
68
- : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN,
67
+ ? SUPPORTED_FUNCTIONS.IS_ON_OR_AFTER_DAY
68
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN_EQUAL,
69
69
  this,
70
70
  );
71
71
  }