@trackunit/react-core-contexts-api 1.5.23 → 1.5.27

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/index.cjs.js CHANGED
@@ -40,6 +40,7 @@ exports.AssetSortByProperty = void 0;
40
40
  AssetSortByProperty["PlannedServiceBooked"] = "PLANNED_SERVICE_BOOKED";
41
41
  AssetSortByProperty["PlannedServiceBookingDate"] = "PLANNED_SERVICE_BOOKING_DATE";
42
42
  AssetSortByProperty["ServicePlanPrediction"] = "SERVICE_PLAN_PREDICTION";
43
+ AssetSortByProperty["IssueCreatedAt"] = "ISSUE_CREATED_AT";
43
44
  })(exports.AssetSortByProperty || (exports.AssetSortByProperty = {}));
44
45
  // The type [key in AssetSortByProperty] will insure that ALL keys are present
45
46
  const stringToEnum = {
@@ -65,6 +66,7 @@ const stringToEnum = {
65
66
  PLANNED_SERVICE_BOOKED: exports.AssetSortByProperty.PlannedServiceBooked,
66
67
  PLANNED_SERVICE_BOOKING_DATE: exports.AssetSortByProperty.PlannedServiceBookingDate,
67
68
  SERVICE_PLAN_PREDICTION: exports.AssetSortByProperty.ServicePlanPrediction,
69
+ ISSUE_CREATED_AT: exports.AssetSortByProperty.IssueCreatedAt,
68
70
  };
69
71
  /**
70
72
  * Ensures that a string is a valid AssetSortByProperty enum value
package/index.esm.js CHANGED
@@ -38,6 +38,7 @@ var AssetSortByProperty;
38
38
  AssetSortByProperty["PlannedServiceBooked"] = "PLANNED_SERVICE_BOOKED";
39
39
  AssetSortByProperty["PlannedServiceBookingDate"] = "PLANNED_SERVICE_BOOKING_DATE";
40
40
  AssetSortByProperty["ServicePlanPrediction"] = "SERVICE_PLAN_PREDICTION";
41
+ AssetSortByProperty["IssueCreatedAt"] = "ISSUE_CREATED_AT";
41
42
  })(AssetSortByProperty || (AssetSortByProperty = {}));
42
43
  // The type [key in AssetSortByProperty] will insure that ALL keys are present
43
44
  const stringToEnum = {
@@ -63,6 +64,7 @@ const stringToEnum = {
63
64
  PLANNED_SERVICE_BOOKED: AssetSortByProperty.PlannedServiceBooked,
64
65
  PLANNED_SERVICE_BOOKING_DATE: AssetSortByProperty.PlannedServiceBookingDate,
65
66
  SERVICE_PLAN_PREDICTION: AssetSortByProperty.ServicePlanPrediction,
67
+ ISSUE_CREATED_AT: AssetSortByProperty.IssueCreatedAt,
66
68
  };
67
69
  /**
68
70
  * Ensures that a string is a valid AssetSortByProperty enum value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-api",
3
- "version": "1.5.23",
3
+ "version": "1.5.27",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,9 +8,9 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "jest-fetch-mock": "^3.0.3",
11
- "@trackunit/shared-utils": "1.6.20",
12
- "@trackunit/geo-json-utils": "1.4.20",
13
- "@trackunit/react-test-setup": "1.1.20"
11
+ "@trackunit/shared-utils": "1.6.23",
12
+ "@trackunit/geo-json-utils": "1.4.23",
13
+ "@trackunit/react-test-setup": "1.1.23"
14
14
  },
15
15
  "module": "./index.esm.js",
16
16
  "main": "./index.cjs.js",
@@ -32,7 +32,8 @@ export declare enum AssetSortByProperty {
32
32
  Type = "TYPE",
33
33
  PlannedServiceBooked = "PLANNED_SERVICE_BOOKED",
34
34
  PlannedServiceBookingDate = "PLANNED_SERVICE_BOOKING_DATE",
35
- ServicePlanPrediction = "SERVICE_PLAN_PREDICTION"
35
+ ServicePlanPrediction = "SERVICE_PLAN_PREDICTION",
36
+ IssueCreatedAt = "ISSUE_CREATED_AT"
36
37
  }
37
38
  /**
38
39
  * Ensures that a string is a valid AssetSortByProperty enum value