fusefx-repositorycontract 0.2.1 → 0.3.2

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.
@@ -0,0 +1,6 @@
1
+ export declare class FieldPredicate {
2
+ fieldName: string;
3
+ operator: string;
4
+ value: string;
5
+ }
6
+ //# sourceMappingURL=FieldPredicate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldPredicate.d.ts","sourceRoot":"","sources":["../src/FieldPredicate.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,SAAS,EAAE,MAAM,CAAK;IACtB,QAAQ,EAAE,MAAM,CAAK;IACrB,KAAK,EAAE,MAAM,CAAK;CACnB"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FieldPredicate = void 0;
4
+ var FieldPredicate = /** @class */ (function () {
5
+ function FieldPredicate() {
6
+ this.fieldName = "";
7
+ this.operator = "";
8
+ this.value = "";
9
+ }
10
+ return FieldPredicate;
11
+ }());
12
+ exports.FieldPredicate = FieldPredicate;
13
+ //# sourceMappingURL=FieldPredicate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldPredicate.js","sourceRoot":"","sources":["../src/FieldPredicate.ts"],"names":[],"mappings":";;;AAAA;IAAA;QACE,cAAS,GAAW,EAAE,CAAA;QACtB,aAAQ,GAAW,EAAE,CAAA;QACrB,UAAK,GAAW,EAAE,CAAA;IACpB,CAAC;IAAD,qBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,wCAAc"}
@@ -1,7 +1,8 @@
1
- import { RelationElement } from './RelationElement';
1
+ import { FieldPredicate } from './FieldPredicate';
2
2
  export declare class LogicalExpression {
3
- operator: 'or' | 'and' | 'not' | 'atom' | '';
4
- expressionArguments: LogicalExpression[];
5
- atomArguments: RelationElement[];
3
+ matchAll: boolean;
4
+ negate: boolean;
5
+ predicates: FieldPredicate[];
6
+ subTree: LogicalExpression[];
6
7
  }
7
8
  //# sourceMappingURL=LogicalExpression.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LogicalExpression.d.ts","sourceRoot":"","sources":["../src/LogicalExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,qBAAa,iBAAiB;IAC5B,QAAQ,EAAE,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,EAAE,CAAS;IACrD,mBAAmB,EAAE,iBAAiB,EAAE,CAAK;IAC7C,aAAa,EAAE,eAAe,EAAE,CAAK;CACtC"}
1
+ {"version":3,"file":"LogicalExpression.d.ts","sourceRoot":"","sources":["../src/LogicalExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,qBAAa,iBAAiB;IAC5B,QAAQ,EAAE,OAAO,CAAO;IACxB,MAAM,EAAE,OAAO,CAAQ;IACvB,UAAU,EAAE,cAAc,EAAE,CAAK;IACjC,OAAO,EAAE,iBAAiB,EAAE,CAAK;CAClC"}
@@ -3,9 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LogicalExpression = void 0;
4
4
  var LogicalExpression = /** @class */ (function () {
5
5
  function LogicalExpression() {
6
- this.operator = 'atom';
7
- this.expressionArguments = [];
8
- this.atomArguments = [];
6
+ this.matchAll = true;
7
+ this.negate = false;
8
+ this.predicates = [];
9
+ this.subTree = [];
9
10
  }
10
11
  return LogicalExpression;
11
12
  }());
@@ -1 +1 @@
1
- {"version":3,"file":"LogicalExpression.js","sourceRoot":"","sources":["../src/LogicalExpression.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACE,aAAQ,GAAuC,MAAM,CAAA;QACrD,wBAAmB,GAAwB,EAAE,CAAA;QAC7C,kBAAa,GAAsB,EAAE,CAAA;IACvC,CAAC;IAAD,wBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,8CAAiB"}
1
+ {"version":3,"file":"LogicalExpression.js","sourceRoot":"","sources":["../src/LogicalExpression.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACE,aAAQ,GAAY,IAAI,CAAA;QACxB,WAAM,GAAY,KAAK,CAAA;QACvB,eAAU,GAAqB,EAAE,CAAA;QACjC,YAAO,GAAwB,EAAE,CAAA;IACnC,CAAC;IAAD,wBAAC;AAAD,CAAC,AALD,IAKC;AALY,8CAAiB"}
package/lib/index.d.ts CHANGED
@@ -3,6 +3,5 @@ export * from "./interfaces";
3
3
  export * from "./LogicalExpression";
4
4
  export * from "./PaginatedList";
5
5
  export * from "./PagingParams";
6
- export * from "./RelationElement";
7
6
  export * from "./SortingField";
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
package/lib/index.js CHANGED
@@ -19,6 +19,5 @@ __exportStar(require("./interfaces"), exports);
19
19
  __exportStar(require("./LogicalExpression"), exports);
20
20
  __exportStar(require("./PaginatedList"), exports);
21
21
  __exportStar(require("./PagingParams"), exports);
22
- __exportStar(require("./RelationElement"), exports);
23
22
  __exportStar(require("./SortingField"), exports);
24
23
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,+CAA4B;AAC5B,sDAAmC;AACnC,kDAA+B;AAC/B,iDAA8B;AAC9B,oDAAiC;AACjC,iDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,+CAA4B;AAC5B,sDAAmC;AACnC,kDAA+B;AAC/B,iDAA8B;AAC9B,iDAA8B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fusefx-repositorycontract",
3
- "version": "0.2.1",
3
+ "version": "0.3.2",
4
4
  "description": "FUSE-fx RepositoryContract",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",