@carlonicora/nestjs-neo4jsonapi 1.0.3 → 1.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"core.module.d.ts","sourceRoot":"","sources":["../../src/core/core.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,gBAAgB,CAAC;AA0GzE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAEa,UAAU;IACrB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,aAAa;CAW3D"}
1
+ {"version":3,"file":"core.module.d.ts","sourceRoot":"","sources":["../../src/core/core.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,gBAAgB,CAAC;AA4GzE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAEa,UAAU;IACrB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,aAAa;CAW3D"}
@@ -81,6 +81,7 @@ function getCoreModules(queueIds = []) {
81
81
  llm_module_1.LLMModule,
82
82
  blocknote_module_1.BlockNoteModule,
83
83
  migrator_module_1.MigratorModule,
84
+ version_module_1.VersionModule,
84
85
  ];
85
86
  }
86
87
  /**
@@ -107,6 +108,7 @@ function getCoreModuleExports() {
107
108
  tracing_module_1.TracingModule,
108
109
  logging_module_1.LoggingModule,
109
110
  queue_module_1.QueueModule,
111
+ version_module_1.VersionModule,
110
112
  ];
111
113
  }
112
114
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"core.module.js","s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BAAS;QACT,kCAAe;QACf,gCAAc;KACf,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,oBAAoB;IAC3B,OAAO;QACL,eAAS;QACT,yBAAc;QACd,0BAAW;QACX,0BAAW;QACX,0BAAW;QACX,gCAAc;QACd,0BAAW;QACX,wBAAU;QACV,8BAAa;QACb,4BAAY;QACZ,kCAAe;QACf,sBAAS;QACT,kCAAe;QACf,0BAAW;QACX,8BAAa;QACb,8BAAa;QACb,8BAAa;QACb,0BAAW;KACZ,CAAC;AACJ,CAAC;AAcD;;;;;;;;;;;;;;;;GAgBG;AAGI,IAAM,UAAU,kBAAhB,MAAM,UAAU;IACrB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,OAA2B;QACxC,MAAM,SAAS,GAAe,EAAE,CAAC;QAEjC,OAAO;YACL,MAAM,EAAE,YAAU;YAClB,OAAO,EAAE,cAAc,CAAC,OAAO,EAAE,QAAQ,IAAI,EAAE,CAAC;YAChD,SAAS;YACT,OAAO,EAAE,CAAC,GAAG,oBAAoB,EAAE,CAAC;YACpC,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;AAfY,gCAAU;qBAAV,UAAU;IAFtB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,UAAU,CAetB"}
1
+ {"version":3,"file":"core.module.js","sourceRoot":"","sources":["../../src/core/core.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAyE;AACzE,2CAA6D;AAC7D,qCAAwC;AACxC,+CAAkD;AAGlD,0BAA0B;AAC1B,mEAA+D;AAC/D,uDAAmD;AACnD,oDAAgD;AAChD,uDAAmD;AACnD,uDAAmD;AACnD,6DAAyD;AACzD,iDAA6C;AAC7C,6DAAyD;AACzD,gEAA4D;AAC5D,uDAAmD;AACnD,uDAAmD;AACnD,uDAAmD;AACnD,gEAA4D;AAC5D,0DAAsD;AACtD,6DAAyD;AACzD,6DAAyD;AACzD,mEAA+D;AA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;;GAgBG;AAGI,IAAM,UAAU,kBAAhB,MAAM,UAAU;IACrB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,OAA2B;QACxC,MAAM,SAAS,GAAe,EAAE,CAAC;QAEjC,OAAO;YACL,MAAM,EAAE,YAAU;YAClB,OAAO,EAAE,cAAc,CAAC,OAAO,EAAE,QAAQ,IAAI,EAAE,CAAC;YAChD,SAAS;YACT,OAAO,EAAE,CAAC,GAAG,oBAAoB,EAAE,CAAC;YACpC,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;AAfY,gCAAU;qBAAV,UAAU;IAFtB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,UAAU,CAetB"}
@@ -0,0 +1,9 @@
1
+ import { VersionService } from "../services/version.service";
2
+ export declare class VersionController {
3
+ private readonly versionService;
4
+ constructor(versionService: VersionService);
5
+ getVersion(): {
6
+ version: string;
7
+ };
8
+ }
9
+ //# sourceMappingURL=version.controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.controller.d.ts","sourceRoot":"","sources":["../../../../src/core/version/controllers/version.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,qBACa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAG3D,UAAU;;;CAGX"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.VersionController = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const version_service_1 = require("../services/version.service");
15
+ let VersionController = class VersionController {
16
+ constructor(versionService) {
17
+ this.versionService = versionService;
18
+ }
19
+ getVersion() {
20
+ return { version: this.versionService.getVersion() };
21
+ }
22
+ };
23
+ exports.VersionController = VersionController;
24
+ __decorate([
25
+ (0, common_1.Get)(),
26
+ __metadata("design:type", Function),
27
+ __metadata("design:paramtypes", []),
28
+ __metadata("design:returntype", void 0)
29
+ ], VersionController.prototype, "getVersion", null);
30
+ exports.VersionController = VersionController = __decorate([
31
+ (0, common_1.Controller)("version"),
32
+ __metadata("design:paramtypes", [version_service_1.VersionService])
33
+ ], VersionController);
34
+ //# sourceMappingURL=version.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.controller.js","sourceRoot":"","sources":["../../../../src/core/version/controllers/version.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiD;AACjD,iEAA6D;AAGtD,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC5B,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAG/D,UAAU;QACR,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,CAAC;IACvD,CAAC;CACF,CAAA;AAPY,8CAAiB;AAI5B;IADC,IAAA,YAAG,GAAE;;;;mDAGL;4BANU,iBAAiB;IAD7B,IAAA,mBAAU,EAAC,SAAS,CAAC;qCAEyB,gCAAc;GADhD,iBAAiB,CAO7B"}
@@ -1,3 +1,4 @@
1
- export * from "./version.module";
1
+ export * from "./controllers/version.controller";
2
2
  export * from "./services/version.service";
3
+ export * from "./version.module";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/version/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/version/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./version.module"), exports);
17
+ __exportStar(require("./controllers/version.controller"), exports);
18
18
  __exportStar(require("./services/version.service"), exports);
19
+ __exportStar(require("./version.module"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/version/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/version/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,6DAA2C;AAC3C,mDAAiC"}
@@ -1 +1 @@
1
- {"version":3,"file":"version.module.d.ts","sourceRoot":"","sources":["../../../src/core/version/version.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAU,MAAM,gBAAgB,CAAC;AAGvD,qBACa,aAAa;IACxB,MAAM,CAAC,OAAO,IAAI,aAAa;CAQhC"}
1
+ {"version":3,"file":"version.module.d.ts","sourceRoot":"","sources":["../../../src/core/version/version.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAU,MAAM,gBAAgB,CAAC;AAIvD,qBACa,aAAa;IACxB,MAAM,CAAC,OAAO,IAAI,aAAa;CAShC"}
@@ -9,11 +9,13 @@ var VersionModule_1;
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.VersionModule = void 0;
11
11
  const common_1 = require("@nestjs/common");
12
+ const version_controller_1 = require("./controllers/version.controller");
12
13
  const version_service_1 = require("./services/version.service");
13
14
  let VersionModule = VersionModule_1 = class VersionModule {
14
15
  static forRoot() {
15
16
  return {
16
17
  module: VersionModule_1,
18
+ controllers: [version_controller_1.VersionController],
17
19
  providers: [version_service_1.VersionService],
18
20
  exports: [version_service_1.VersionService],
19
21
  global: true,
@@ -1 +1 @@
1
- {"version":3,"file":"version.module.js","sourceRoot":"","sources":["../../../src/core/version/version.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,gEAA4D;AAGrD,IAAM,aAAa,qBAAnB,MAAM,aAAa;IACxB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,MAAM,EAAE,eAAa;YACrB,SAAS,EAAE,CAAC,gCAAc,CAAC;YAC3B,OAAO,EAAE,CAAC,gCAAc,CAAC;YACzB,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;AATY,sCAAa;wBAAb,aAAa;IADzB,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,aAAa,CASzB"}
1
+ {"version":3,"file":"version.module.js","sourceRoot":"","sources":["../../../src/core/version/version.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,yEAAqE;AACrE,gEAA4D;AAGrD,IAAM,aAAa,qBAAnB,MAAM,aAAa;IACxB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,MAAM,EAAE,eAAa;YACrB,WAAW,EAAE,CAAC,sCAAiB,CAAC;YAChC,SAAS,EAAE,CAAC,gCAAc,CAAC;YAC3B,OAAO,EAAE,CAAC,gCAAc,CAAC;YACzB,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;AAVY,sCAAa;wBAAb,aAAa;IADzB,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,aAAa,CAUzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nestjs-neo4jsonapi",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "NestJS foundation package with JSON:API, Neo4j, Redis, LangChain agents, and common utilities",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",