@wix/sdk-types 1.14.0 → 1.17.0

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.
@@ -22,6 +22,8 @@ var src_exports = {};
22
22
  __export(src_exports, {
23
23
  EventDefinition: () => EventDefinition,
24
24
  SERVICE_PLUGIN_ERROR_TYPE: () => SERVICE_PLUGIN_ERROR_TYPE,
25
+ SORT_CAPABILITIES: () => SORT_CAPABILITIES,
26
+ SORT_DIRECTIONS: () => SORT_DIRECTIONS,
25
27
  ServicePluginDefinition: () => ServicePluginDefinition
26
28
  });
27
29
  module.exports = __toCommonJS(src_exports);
@@ -45,9 +47,22 @@ function ServicePluginDefinition(componentType, methods) {
45
47
  };
46
48
  }
47
49
  var SERVICE_PLUGIN_ERROR_TYPE = "wix_spi_error";
50
+
51
+ // src/common/sort.ts
52
+ var SORT_DIRECTIONS = {
53
+ ASC: "ASC",
54
+ DESC: "DESC"
55
+ };
56
+ var SORT_CAPABILITIES = {
57
+ ...SORT_DIRECTIONS,
58
+ BOTH: "BOTH",
59
+ NONE: "NONE"
60
+ };
48
61
  // Annotate the CommonJS export names for ESM import in node:
49
62
  0 && (module.exports = {
50
63
  EventDefinition,
51
64
  SERVICE_PLUGIN_ERROR_TYPE,
65
+ SORT_CAPABILITIES,
66
+ SORT_DIRECTIONS,
52
67
  ServicePluginDefinition
53
68
  });
@@ -17,8 +17,21 @@ function ServicePluginDefinition(componentType, methods) {
17
17
  };
18
18
  }
19
19
  var SERVICE_PLUGIN_ERROR_TYPE = "wix_spi_error";
20
+
21
+ // src/common/sort.ts
22
+ var SORT_DIRECTIONS = {
23
+ ASC: "ASC",
24
+ DESC: "DESC"
25
+ };
26
+ var SORT_CAPABILITIES = {
27
+ ...SORT_DIRECTIONS,
28
+ BOTH: "BOTH",
29
+ NONE: "NONE"
30
+ };
20
31
  export {
21
32
  EventDefinition,
22
33
  SERVICE_PLUGIN_ERROR_TYPE,
34
+ SORT_CAPABILITIES,
35
+ SORT_DIRECTIONS,
23
36
  ServicePluginDefinition
24
37
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.14.0",
4
3
  "license": "MIT",
4
+ "version": "1.17.0",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
7
7
  "email": "ronnyr@wix.com"
@@ -35,11 +35,11 @@
35
35
  "type-fest": "^4.41.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@types/node": "^20.19.13",
38
+ "@types/node": "^20.19.25",
39
39
  "eslint": "^8.57.1",
40
- "eslint-config-sdk": "0.0.0",
40
+ "eslint-config-sdk": "1.0.0",
41
41
  "tsup": "^7.3.0",
42
- "typescript": "^5.9.2",
42
+ "typescript": "^5.9.3",
43
43
  "vitest": "^1.6.1"
44
44
  },
45
45
  "eslintConfig": {
@@ -62,5 +62,5 @@
62
62
  "wallaby": {
63
63
  "autoDetect": true
64
64
  },
65
- "falconPackageHash": "ad79ca2ca9d3a97ddefbd940a7794e50c91e55e26806c0132e5d8d53"
65
+ "falconPackageHash": "16e8dad423c1e5b1986f5441774174b921f63d7f4667cca473a6b028"
66
66
  }