@agility/content-fetch 2.0.0-rc14 → 2.0.0-rc16

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/dist/browser.js CHANGED
@@ -1893,22 +1893,16 @@
1893
1893
  });
1894
1894
 
1895
1895
  // src/types/FilterOperator.ts
1896
- var FilterOperators = {
1897
- /** Equal To */
1898
- EQUAL_TO: "eq",
1899
- /** Not Equal To */
1900
- NOT_EQUAL_TO: "ne",
1901
- /** Less Than */
1902
- LESS_THAN: "lt",
1903
- /** Less Than or Equal To */
1904
- LESS_THAN_OR_EQUAL_TO: "lte",
1905
- /** Greater Than */
1906
- GREATER_THAN: "gt",
1907
- /** Greater Than or Equal To */
1908
- GREATER_THAN_OR_EQUAL_TO: "gte",
1909
- /** Like (string only) */
1910
- LIKE: "like"
1911
- };
1896
+ var FilterOperators = /* @__PURE__ */ ((FilterOperators2) => {
1897
+ FilterOperators2["EQUAL_TO"] = "eq";
1898
+ FilterOperators2["NOT_EQUAL_TO"] = "ne";
1899
+ FilterOperators2["LESS_THAN"] = "lt";
1900
+ FilterOperators2["LESS_THAN_OR_EQUAL_TO"] = "lte";
1901
+ FilterOperators2["GREATER_THAN"] = "gt";
1902
+ FilterOperators2["GREATER_THAN_OR_EQUAL_TO"] = "gte";
1903
+ FilterOperators2["LIKE"] = "like";
1904
+ return FilterOperators2;
1905
+ })(FilterOperators || {});
1912
1906
  var FilterOperator_default = FilterOperators;
1913
1907
 
1914
1908
  // src/types/FilterLogicOperator.ts
package/dist/node.js CHANGED
@@ -12876,22 +12876,16 @@ __export(types_exports, {
12876
12876
  });
12877
12877
 
12878
12878
  // src/types/FilterOperator.ts
12879
- var FilterOperators = {
12880
- /** Equal To */
12881
- EQUAL_TO: "eq",
12882
- /** Not Equal To */
12883
- NOT_EQUAL_TO: "ne",
12884
- /** Less Than */
12885
- LESS_THAN: "lt",
12886
- /** Less Than or Equal To */
12887
- LESS_THAN_OR_EQUAL_TO: "lte",
12888
- /** Greater Than */
12889
- GREATER_THAN: "gt",
12890
- /** Greater Than or Equal To */
12891
- GREATER_THAN_OR_EQUAL_TO: "gte",
12892
- /** Like (string only) */
12893
- LIKE: "like"
12894
- };
12879
+ var FilterOperators = /* @__PURE__ */ ((FilterOperators2) => {
12880
+ FilterOperators2["EQUAL_TO"] = "eq";
12881
+ FilterOperators2["NOT_EQUAL_TO"] = "ne";
12882
+ FilterOperators2["LESS_THAN"] = "lt";
12883
+ FilterOperators2["LESS_THAN_OR_EQUAL_TO"] = "lte";
12884
+ FilterOperators2["GREATER_THAN"] = "gt";
12885
+ FilterOperators2["GREATER_THAN_OR_EQUAL_TO"] = "gte";
12886
+ FilterOperators2["LIKE"] = "like";
12887
+ return FilterOperators2;
12888
+ })(FilterOperators || {});
12895
12889
  var FilterOperator_default = FilterOperators;
12896
12890
 
12897
12891
  // src/types/FilterLogicOperator.ts
@@ -8,7 +8,7 @@
8
8
  */
9
9
  export interface Filter {
10
10
  property: string;
11
- operator: FilterOperator;
11
+ operator: FilterOperator | "eq" | "ne" | "gt" | "lt" | "ge" | "le" | "contains";
12
12
  value: string;
13
13
  }
14
14
  export type FilterOperator = "eq" | "ne" | "gt" | "lt" | "ge" | "le" | "contains";
@@ -9,20 +9,20 @@
9
9
  * @memberOf AgilityFetch.Types
10
10
  * @readonly
11
11
  */
12
- declare const FilterOperators: {
12
+ declare enum FilterOperators {
13
13
  /** Equal To */
14
- EQUAL_TO: string;
14
+ EQUAL_TO = "eq",
15
15
  /** Not Equal To */
16
- NOT_EQUAL_TO: string;
16
+ NOT_EQUAL_TO = "ne",
17
17
  /** Less Than */
18
- LESS_THAN: string;
18
+ LESS_THAN = "lt",
19
19
  /** Less Than or Equal To */
20
- LESS_THAN_OR_EQUAL_TO: string;
20
+ LESS_THAN_OR_EQUAL_TO = "lte",
21
21
  /** Greater Than */
22
- GREATER_THAN: string;
22
+ GREATER_THAN = "gt",
23
23
  /** Greater Than or Equal To */
24
- GREATER_THAN_OR_EQUAL_TO: string;
24
+ GREATER_THAN_OR_EQUAL_TO = "gte",
25
25
  /** Like (string only) */
26
- LIKE: string;
27
- };
26
+ LIKE = "like"
27
+ }
28
28
  export default FilterOperators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agility/content-fetch",
3
- "version": "2.0.0-rc14",
3
+ "version": "2.0.0-rc16",
4
4
  "description": "JavaScript library for the Agility Fetch API (node and browser)",
5
5
  "repository": {
6
6
  "type": "git",