ixc-orm 2.0.0 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # 🔄 CHANGELOG
2
+ - [v2.0.1 - 07 de fevereiro de 2026](#v201)
2
3
  - [v2.0.0 - 24 de dezembro de 2025](#v200)
3
4
  - [v1.10.6 - 23 de dezembro de 2025](#v1106)
4
5
  - [v1.10.5 - 20 de dezembro de 2025](#v1105)
@@ -16,6 +17,9 @@
16
17
 
17
18
  ## 🚀 Novidades
18
19
 
20
+ ### v2.0.1
21
+ * **Correção:** Importação do enum *Sort* adicionanda ao `index` da api.
22
+
19
23
  ### v2.0.0
20
24
  * **Melhoria:** Adicionada verificação de erros nas respostas dos recursos. Todas as requisiões passaram a ser realizadas pela classe <a href="https://github.com/SousaFelipe/ixcorm/blob/builders/src/api/RequestEmitter.ts">RequestEmitter</a>, que utiliza a FetchAPI, por este motivo a dependência da biblioteca Axios foi removida completamente do projeto.
21
25
 
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import Environment from './api/Environment';
2
2
  import IxcOrm from './IxcOrm';
3
3
  import IxcResponse from './IxcResponse';
4
4
  import Operators from './api/Operators';
5
- import Ordering from './api/Ordering';
5
+ import Ordering, { Sort } from './api/Ordering';
6
6
  import Recurso from './recursos';
7
7
  import Utils from './utils';
8
- export { Environment, IxcOrm, IxcResponse, Operators, Ordering, Recurso, Utils };
8
+ export { Environment, IxcOrm, IxcResponse, Operators, Ordering, Recurso, Sort, Utils };
package/dist/index.js CHANGED
@@ -1,9 +1,42 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
2
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
37
  };
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Utils = exports.Recurso = exports.Ordering = exports.Operators = exports.IxcResponse = exports.IxcOrm = exports.Environment = void 0;
39
+ exports.Utils = exports.Sort = exports.Recurso = exports.Ordering = exports.Operators = exports.IxcResponse = exports.IxcOrm = exports.Environment = void 0;
7
40
  const Environment_1 = __importDefault(require("./api/Environment"));
8
41
  exports.Environment = Environment_1.default;
9
42
  const IxcOrm_1 = __importDefault(require("./IxcOrm"));
@@ -12,8 +45,9 @@ const IxcResponse_1 = __importDefault(require("./IxcResponse"));
12
45
  exports.IxcResponse = IxcResponse_1.default;
13
46
  const Operators_1 = __importDefault(require("./api/Operators"));
14
47
  exports.Operators = Operators_1.default;
15
- const Ordering_1 = __importDefault(require("./api/Ordering"));
48
+ const Ordering_1 = __importStar(require("./api/Ordering"));
16
49
  exports.Ordering = Ordering_1.default;
50
+ Object.defineProperty(exports, "Sort", { enumerable: true, get: function () { return Ordering_1.Sort; } });
17
51
  const recursos_1 = __importDefault(require("./recursos"));
18
52
  exports.Recurso = recursos_1.default;
19
53
  const utils_1 = __importDefault(require("./utils"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ixc-orm",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",