axiodb 1.0.3 → 1.0.4

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,4 +1,4 @@
1
- export default class Configure {
1
+ export default class AxioDB {
2
2
  #private;
3
3
  private readonly Schema;
4
4
  private isEncrypted;
@@ -22,17 +22,17 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
22
22
  var __importDefault = (this && this.__importDefault) || function (mod) {
23
23
  return (mod && mod.__esModule) ? mod : { "default": mod };
24
24
  };
25
- var _Configure_encryptionKey;
25
+ var _AxioDB_encryptionKey;
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
27
  const DB_1 = require("../config/DB");
28
28
  const Keys_1 = require("../config/Keys/Keys");
29
29
  const path_1 = __importDefault(require("path"));
30
- class Configure {
30
+ class AxioDB {
31
31
  constructor(Schema, isEncrypted = false, ClusterName = Keys_1.General.DBMS_Name) {
32
- _Configure_encryptionKey.set(this, void 0);
32
+ _AxioDB_encryptionKey.set(this, void 0);
33
33
  this.Schema = Schema;
34
34
  this.isEncrypted = isEncrypted;
35
- __classPrivateFieldSet(this, _Configure_encryptionKey, Keys_1.General.DBMS_Name, "f");
35
+ __classPrivateFieldSet(this, _AxioDB_encryptionKey, Keys_1.General.DBMS_Name, "f");
36
36
  this.clusterName = ClusterName;
37
37
  this.currentPATH = path_1.default.resolve(".");
38
38
  this.CreateTreeRoot();
@@ -44,10 +44,10 @@ class Configure {
44
44
  return this.isEncrypted;
45
45
  }
46
46
  getEncryptionKey() {
47
- return __classPrivateFieldGet(this, _Configure_encryptionKey, "f");
47
+ return __classPrivateFieldGet(this, _AxioDB_encryptionKey, "f");
48
48
  }
49
49
  setEncryptionKey(key) {
50
- __classPrivateFieldSet(this, _Configure_encryptionKey, key, "f");
50
+ __classPrivateFieldSet(this, _AxioDB_encryptionKey, key, "f");
51
51
  }
52
52
  setEncryptionStatus(status) {
53
53
  this.isEncrypted = status;
@@ -67,6 +67,6 @@ class Configure {
67
67
  });
68
68
  }
69
69
  }
70
- _Configure_encryptionKey = new WeakMap();
71
- exports.default = Configure;
70
+ _AxioDB_encryptionKey = new WeakMap();
71
+ exports.default = AxioDB;
72
72
  //# sourceMappingURL=Indexation.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Indexation.operation.js","sourceRoot":"","sources":["../../source/Operation/Indexation.operation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,qCAA6C;AAC7C,8CAA8C;AAC9C,gDAAwB;AAExB,MAAqB,SAAS;IAQ5B,YACE,MAAoB,EACpB,WAAW,GAAG,KAAK,EACnB,cAAsB,cAAO,CAAC,SAAS;QAPzC,2CAAuB;QASrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,uBAAA,IAAI,4BAAkB,cAAO,CAAC,SAAS,MAAA,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,cAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAGM,SAAS;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEM,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAEM,gBAAgB;QACrB,OAAO,uBAAA,IAAI,gCAAe,CAAC;IAC7B,CAAC;IAEM,gBAAgB,CAAC,GAAW;QACjC,uBAAA,IAAI,4BAAkB,GAAG,MAAA,CAAC;IAC5B,CAAC;IAEM,mBAAmB,CAAC,MAAe;QACxC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;IAC5B,CAAC;IAEM,gBAAgB;QACrB,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;YACxB,UAAU,EAAE;gBACV,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE;gBAC/B,GAAG,EAAE,IAAI,CAAC,gBAAgB,EAAE;aAC7B;SACF,CAAC;IACJ,CAAC;IAWa,cAAc;;YAC1B,MAAM,IAAI,kBAAa,EAAE,CAAC,eAAe,CACvC,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,EAAE,CAC1C,CAAC;QACJ,CAAC;KAAA;CACF;;kBAlEoB,SAAS"}
1
+ {"version":3,"file":"Indexation.operation.js","sourceRoot":"","sources":["../../source/Operation/Indexation.operation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,qCAA6C;AAC7C,8CAA8C;AAC9C,gDAAwB;AAExB,MAAqB,MAAM;IAQzB,YACE,MAAoB,EACpB,WAAW,GAAG,KAAK,EACnB,cAAsB,cAAO,CAAC,SAAS;QAPzC,wCAAuB;QASrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,uBAAA,IAAI,yBAAkB,cAAO,CAAC,SAAS,MAAA,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,cAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAGM,SAAS;QACd,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEM,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAEM,gBAAgB;QACrB,OAAO,uBAAA,IAAI,6BAAe,CAAC;IAC7B,CAAC;IAEM,gBAAgB,CAAC,GAAW;QACjC,uBAAA,IAAI,yBAAkB,GAAG,MAAA,CAAC;IAC5B,CAAC;IAEM,mBAAmB,CAAC,MAAe;QACxC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;IAC5B,CAAC;IAEM,gBAAgB;QACrB,OAAO;YACL,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE;YACxB,UAAU,EAAE;gBACV,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE;gBAC/B,GAAG,EAAE,IAAI,CAAC,gBAAgB,EAAE;aAC7B;SACF,CAAC;IACJ,CAAC;IAWa,cAAc;;YAC1B,MAAM,IAAI,kBAAa,EAAE,CAAC,eAAe,CACvC,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,EAAE,CAC1C,CAAC;QACJ,CAAC;KAAA;CACF;;kBAlEoB,MAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axiodb",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A fast, lightweight, and scalable open-source DBMS for modern apps. Supports JSON-based data storage, simple APIs, and secure data management. Ideal for projects needing efficient and flexible database solutions.",
5
5
  "main": "./lib/config/DB.js",
6
6
  "types": "./lib/config/DB.d.ts",