@qrvey/data-persistence 0.0.2-4-rev-2 → 0.0.2-4-rev-3

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.
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const constants_1 = require("../utils/constants");
4
- const VALID_SORT_DIRECTIONS = Object.values(constants_1.SORT_DIRECTIONS);
5
3
  //# sourceMappingURL=sortDirection.type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sortDirection.type.js","sourceRoot":"","sources":["../../../src/types/sortDirection.type.ts"],"names":[],"mappings":";;AAAA,kDAAqD;AAErD,MAAM,qBAAqB,GAAsB,MAAM,CAAC,MAAM,CAAC,2BAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"sortDirection.type.js","sourceRoot":"","sources":["../../../src/types/sortDirection.type.ts"],"names":[],"mappings":""}
@@ -65,8 +65,7 @@ declare enum AGGREGATE_FUNCTIONS {
65
65
  COUNT = "COUNT"
66
66
  }
67
67
 
68
- declare const VALID_SORT_DIRECTIONS: SORT_DIRECTIONS[];
69
- type SortDirection = (typeof VALID_SORT_DIRECTIONS)[number];
68
+ type SortDirection = keyof typeof SORT_DIRECTIONS;
70
69
 
71
70
  interface ITableName {
72
71
  name: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@qrvey/data-persistence",
3
3
  "types": "dist/types/index.d.ts",
4
4
  "main": "dist/cjs/index.js",
5
- "version": "0.0.2-4-rev-2",
5
+ "version": "0.0.2-4-rev-3",
6
6
  "license": "MIT",
7
7
  "exports": {
8
8
  ".": {