@carlonicora/nestjs-neo4jsonapi 3.3.0 → 4.0.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.
@@ -2,5 +2,5 @@ export type ModuleDefinition = {
2
2
  module: string;
3
3
  allowVisitors?: boolean;
4
4
  };
5
- export declare const ModuleACL: (params: ModuleDefinition) => import("@nestjs/common").CustomDecorator<string>;
5
+ export declare const ModuleACL: (params: ModuleDefinition) => import("@nestjs/common", { with: { "resolution-mode": "import" } }).CustomDecorator<string>;
6
6
  //# sourceMappingURL=module.decorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.decorator.d.ts","sourceRoot":"","sources":["../../../src/common/decorators/module.decorator.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3E,eAAO,MAAM,SAAS,GAAI,QAAQ,gBAAgB,qDAA4C,CAAC"}
1
+ {"version":3,"file":"module.decorator.d.ts","sourceRoot":"","sources":["../../../src/common/decorators/module.decorator.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3E,eAAO,MAAM,SAAS,GAAI,QAAQ,gBAAgB,gGAA4C,CAAC"}
@@ -14,5 +14,5 @@ export declare const OAUTH_SCOPES_KEY = "oauth_scopes";
14
14
  *
15
15
  * @param scopes - Required OAuth scopes
16
16
  */
17
- export declare const OAuthScopes: (...scopes: string[]) => import("@nestjs/common").CustomDecorator<string>;
17
+ export declare const OAuthScopes: (...scopes: string[]) => import("@nestjs/common", { with: { "resolution-mode": "import" } }).CustomDecorator<string>;
18
18
  //# sourceMappingURL=oauth.scopes.decorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth.scopes.decorator.d.ts","sourceRoot":"","sources":["../../../src/common/decorators/oauth.scopes.decorator.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAE/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,GAAI,GAAG,QAAQ,MAAM,EAAE,qDAA0C,CAAC"}
1
+ {"version":3,"file":"oauth.scopes.decorator.d.ts","sourceRoot":"","sources":["../../../src/common/decorators/oauth.scopes.decorator.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAE/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,GAAI,GAAG,QAAQ,MAAM,EAAE,gGAA0C,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const Roles: (...roles: string[]) => import("@nestjs/common").CustomDecorator<string>;
1
+ export declare const Roles: (...roles: string[]) => import("@nestjs/common", { with: { "resolution-mode": "import" } }).CustomDecorator<string>;
2
2
  //# sourceMappingURL=roles.decorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"roles.decorator.d.ts","sourceRoot":"","sources":["../../../src/common/decorators/roles.decorator.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,GAAI,GAAG,OAAO,MAAM,EAAE,qDAAgC,CAAC"}
1
+ {"version":3,"file":"roles.decorator.d.ts","sourceRoot":"","sources":["../../../src/common/decorators/roles.decorator.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,GAAI,GAAG,OAAO,MAAM,EAAE,gGAAgC,CAAC"}
@@ -3,7 +3,7 @@ import { Reflector } from "@nestjs/core";
3
3
  import { ClsService } from "nestjs-cls";
4
4
  import { Neo4jService } from "../../core/neo4j/services/neo4j.service";
5
5
  import { AuthContextHookInterface, SystemRolesInterface } from "../tokens";
6
- declare const AdminJwtAuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>;
6
+ declare const AdminJwtAuthGuard_base: import("@nestjs/passport", { with: { "resolution-mode": "import" } }).Type<import("@nestjs/passport", { with: { "resolution-mode": "import" } }).IAuthGuard>;
7
7
  export declare class AdminJwtAuthGuard extends AdminJwtAuthGuard_base implements CanActivate {
8
8
  private readonly cls;
9
9
  private reflector;
@@ -1,6 +1,6 @@
1
1
  import { ExecutionContext } from "@nestjs/common";
2
2
  import { ClsService } from "nestjs-cls";
3
- declare const AnyScopeAuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>;
3
+ declare const AnyScopeAuthGuard_base: import("@nestjs/passport", { with: { "resolution-mode": "import" } }).Type<import("@nestjs/passport", { with: { "resolution-mode": "import" } }).IAuthGuard>;
4
4
  /**
5
5
  * Admits BOTH a full session JWT and a scoped selection JWT (e.g. the
6
6
  * short-lived "company-selection" token issued at login).
@@ -3,7 +3,7 @@ import { Reflector } from "@nestjs/core";
3
3
  import { ClsService } from "nestjs-cls";
4
4
  import { Neo4jService } from "../../core/neo4j/services/neo4j.service";
5
5
  import { AuthContextHookInterface, SystemRolesInterface } from "../tokens";
6
- declare const JwtAuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>;
6
+ declare const JwtAuthGuard_base: import("@nestjs/passport", { with: { "resolution-mode": "import" } }).Type<import("@nestjs/passport", { with: { "resolution-mode": "import" } }).IAuthGuard>;
7
7
  export declare class JwtAuthGuard extends JwtAuthGuard_base {
8
8
  private readonly cls;
9
9
  private reflector;
@@ -2,7 +2,7 @@ import { ExecutionContext } from "@nestjs/common";
2
2
  import { Reflector } from "@nestjs/core";
3
3
  import { ClsService } from "nestjs-cls";
4
4
  import { SystemRolesInterface } from "../tokens";
5
- declare const OptionalJwtAuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>;
5
+ declare const OptionalJwtAuthGuard_base: import("@nestjs/passport", { with: { "resolution-mode": "import" } }).Type<import("@nestjs/passport", { with: { "resolution-mode": "import" } }).IAuthGuard>;
6
6
  export declare class OptionalJwtAuthGuard extends OptionalJwtAuthGuard_base {
7
7
  private readonly cls;
8
8
  private reflector;
@@ -3,8 +3,8 @@ import { Reflector } from "@nestjs/core";
3
3
  import { Observable } from "rxjs";
4
4
  import { AppLoggingService } from "../../logging/services/logging.service";
5
5
  import { CacheService } from "../services/cache.service";
6
- export declare const NoCache: () => import("@nestjs/common").CustomDecorator<string>;
7
- export declare const CacheTTL: (ttl: number) => import("@nestjs/common").CustomDecorator<string>;
6
+ export declare const NoCache: () => import("@nestjs/common", { with: { "resolution-mode": "import" } }).CustomDecorator<string>;
7
+ export declare const CacheTTL: (ttl: number) => import("@nestjs/common", { with: { "resolution-mode": "import" } }).CustomDecorator<string>;
8
8
  export declare class CacheInterceptor implements NestInterceptor {
9
9
  private readonly cacheService;
10
10
  private readonly reflector;
@@ -1 +1 @@
1
- {"version":3,"file":"cache.interceptor.d.ts","sourceRoot":"","sources":["../../../../src/core/cache/interceptors/cache.interceptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAc,eAAe,EAAe,MAAM,gBAAgB,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,eAAO,MAAM,OAAO,wDAAsC,CAAC;AAG3D,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,qDAAkC,CAAC;AAEvE,qBACa,gBAAiB,YAAW,eAAe;IAEpD,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAFN,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,iBAAiB;IAGtC,SAAS,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IA2DvF,OAAO,CAAC,eAAe;CAMxB"}
1
+ {"version":3,"file":"cache.interceptor.d.ts","sourceRoot":"","sources":["../../../../src/core/cache/interceptors/cache.interceptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAc,eAAe,EAAe,MAAM,gBAAgB,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,eAAO,MAAM,OAAO,mGAAsC,CAAC;AAG3D,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,gGAAkC,CAAC;AAEvE,qBACa,gBAAiB,YAAW,eAAe;IAEpD,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAFN,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,iBAAiB;IAGtC,SAAS,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IA2DvF,OAAO,CAAC,eAAe;CAMxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nestjs-neo4jsonapi",
3
- "version": "3.3.0",
3
+ "version": "4.0.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",
@@ -67,17 +67,17 @@
67
67
  "prepublishOnly": "pnpm build"
68
68
  },
69
69
  "dependencies": {
70
- "@ai-sdk/openai-compatible": "^3.0.37",
71
- "@aws-sdk/client-s3": "^3.1117.0",
72
- "@aws-sdk/lib-storage": "^3.1117.0",
73
- "@aws-sdk/s3-request-presigner": "^3.1117.0",
70
+ "@ai-sdk/openai-compatible": "^3.0.39",
71
+ "@aws-sdk/client-s3": "^3.1119.0",
72
+ "@aws-sdk/lib-storage": "^3.1119.0",
73
+ "@aws-sdk/s3-request-presigner": "^3.1119.0",
74
74
  "@azure/storage-blob": "^12.33.0",
75
75
  "@getbrevo/brevo": "^6.0.3",
76
76
  "@kenjiuno/msgreader": "^1.28.0",
77
77
  "@langchain/community": "^1.1.29",
78
78
  "@langchain/core": "^1.2.9",
79
79
  "@langchain/google-vertexai": "^2.3.0",
80
- "@langchain/langgraph": "^1.4.12",
80
+ "@langchain/langgraph": "^1.4.13",
81
81
  "@langchain/langgraph-checkpoint-redis": "^1.0.11",
82
82
  "@langchain/openai": "^1.5.10",
83
83
  "@langchain/textsplitters": "^1.0.1",
@@ -90,26 +90,26 @@
90
90
  "@opentelemetry/sdk-node": "^0.221.0",
91
91
  "@opentelemetry/semantic-conventions": "^1.43.0",
92
92
  "@sendgrid/mail": "^8.1.6",
93
- "@simplewebauthn/server": "^13.3.2",
93
+ "@simplewebauthn/server": "^13.3.3",
94
94
  "adm-zip": "^0.6.0",
95
- "ai": "^7.0.79",
96
- "axios": "^1.19.0",
95
+ "ai": "^7.0.83",
96
+ "axios": "^1.20.0",
97
97
  "bcrypt": "^6.0.0",
98
98
  "bcryptjs": "^3.0.3",
99
- "bullmq": "6.2.1",
99
+ "bullmq": "6.3.1",
100
100
  "class-transformer": "^0.5.1",
101
101
  "class-validator": "^0.15.1",
102
102
  "discord-api-types": "^0.38.53",
103
103
  "discord.js": "^14.27.0",
104
104
  "docx": "9.7.1",
105
105
  "docx-templates": "^4.15.0",
106
- "fast-xml-parser": "^5.11.0",
106
+ "fast-xml-parser": "^5.11.1",
107
107
  "fastify": "^5.12.1",
108
108
  "gray-matter": "^4.0.3",
109
109
  "handlebars": "^4.7.9",
110
110
  "ioredis": "^6.0.0",
111
111
  "js-tiktoken": "^1.0.21",
112
- "js-yaml": "^5.4.0",
112
+ "js-yaml": "^5.4.1",
113
113
  "jszip": "^3.10.1",
114
114
  "langsmith": "^0.9.0",
115
115
  "libreoffice-convert": "^1.8.2",
@@ -127,7 +127,7 @@
127
127
  "node-tesseract-ocr": "^2.2.1",
128
128
  "nodemailer": "^9.0.5",
129
129
  "officeparser": "^7.8.0",
130
- "openai": "^7.5.0",
130
+ "openai": "^7.7.0",
131
131
  "otpauth": "^9.5.1",
132
132
  "passport": "^0.7.0",
133
133
  "passport-jwt": "^4.0.1",
@@ -143,9 +143,9 @@
143
143
  "remark-mdx": "^3.1.1",
144
144
  "remark-parse": "^11.0.0",
145
145
  "rxjs": "^7.8.2",
146
- "sharp": "^0.35.3",
146
+ "sharp": "^0.35.4",
147
147
  "socket.io": "^4.8.3",
148
- "stripe": "^22.5.0",
148
+ "stripe": "22.5.0",
149
149
  "tslib": "^2.8.1",
150
150
  "turndown": "^7.2.4",
151
151
  "unified": "^11.0.5",
@@ -158,21 +158,21 @@
158
158
  "@eslint/eslintrc": "^3.3.6",
159
159
  "@eslint/js": "^9.39.5",
160
160
  "@fastify/multipart": "^10.1.1",
161
- "@nestjs/bullmq": "^11.0.5",
162
- "@nestjs/common": "^11.2.3",
163
- "@nestjs/config": "^4.0.4",
164
- "@nestjs/core": "^11.2.3",
165
- "@nestjs/event-emitter": "^3.1.0",
166
- "@nestjs/jwt": "^11.0.2",
167
- "@nestjs/passport": "^11.0.5",
168
- "@nestjs/platform-fastify": "^11.2.3",
169
- "@nestjs/platform-socket.io": "^11.2.3",
170
- "@nestjs/schedule": "^6.1.3",
171
- "@nestjs/swagger": "^11.4.7",
161
+ "@nestjs/bullmq": "^12.0.0",
162
+ "@nestjs/common": "^12.0.1",
163
+ "@nestjs/config": "^12.0.0",
164
+ "@nestjs/core": "^12.0.1",
165
+ "@nestjs/event-emitter": "^12.0.0",
166
+ "@nestjs/jwt": "^12.0.1",
167
+ "@nestjs/passport": "^12.0.0",
168
+ "@nestjs/platform-fastify": "^12.0.1",
169
+ "@nestjs/platform-socket.io": "^12.0.1",
170
+ "@nestjs/schedule": "^12.0.1",
171
+ "@nestjs/swagger": "^12.0.1",
172
172
  "@nestjs/terminus": "^11.1.1",
173
- "@nestjs/testing": "^11.2.3",
173
+ "@nestjs/testing": "^12.0.1",
174
174
  "@nestjs/throttler": "^6.5.0",
175
- "@nestjs/websockets": "^11.2.3",
175
+ "@nestjs/websockets": "^12.0.1",
176
176
  "@semantic-release/changelog": "^7.0.0",
177
177
  "@semantic-release/git": "^11.0.1",
178
178
  "@swc/core": "^1.16.1",
@@ -181,7 +181,7 @@
181
181
  "@types/js-yaml": "^4.0.9",
182
182
  "@types/mailparser": "^3.4.6",
183
183
  "@types/mdast": "^4.0.4",
184
- "@types/node": "^26.3.0",
184
+ "@types/node": "^26.4.0",
185
185
  "@types/nodemailer": "^8.0.1",
186
186
  "@types/passport-jwt": "^4.0.1",
187
187
  "@types/qrcode": "^1.5.6",
@@ -202,9 +202,8 @@
202
202
  "nestjs-i18n": "^10.8.5",
203
203
  "prettier": "^3.9.6",
204
204
  "semantic-release": "25.0.8",
205
- "ts-node": "^10.9.2",
206
205
  "tsup": "^8.5.1",
207
- "typescript": "^5.9.3",
206
+ "typescript": "^6.0.3",
208
207
  "unplugin-swc": "^1.5.11",
209
208
  "vitest": "^4.1.11",
210
209
  "zod": "^4.4.3"
@@ -229,19 +228,19 @@
229
228
  },
230
229
  "peerDependencies": {
231
230
  "@fastify/multipart": "^10.1.0",
232
- "@nestjs/common": "^11.1.28",
233
- "@nestjs/config": "^4.0.4",
234
- "@nestjs/core": "^11.1.28",
235
- "@nestjs/event-emitter": "^3.1.0",
236
- "@nestjs/jwt": "^11.0.2",
237
- "@nestjs/passport": "^11.0.5",
238
- "@nestjs/platform-fastify": "^11.1.28",
239
- "@nestjs/platform-socket.io": "^11.1.28",
240
- "@nestjs/schedule": "^6.1.3",
241
- "@nestjs/swagger": "^11.4.6",
231
+ "@nestjs/common": "^12.0.1",
232
+ "@nestjs/config": "^12.0.0",
233
+ "@nestjs/core": "^12.0.1",
234
+ "@nestjs/event-emitter": "^12.0.0",
235
+ "@nestjs/jwt": "^12.0.1",
236
+ "@nestjs/passport": "^12.0.0",
237
+ "@nestjs/platform-fastify": "^12.0.1",
238
+ "@nestjs/platform-socket.io": "^12.0.1",
239
+ "@nestjs/schedule": "^12.0.1",
240
+ "@nestjs/swagger": "^12.0.1",
242
241
  "@nestjs/terminus": "^11.0.0",
243
242
  "@nestjs/throttler": "^6.5.0",
244
- "@nestjs/websockets": "^11.1.28",
243
+ "@nestjs/websockets": "^12.0.1",
245
244
  "nestjs-cls": "^6.2.1",
246
245
  "nestjs-i18n": "^10.8.5",
247
246
  "zod": "^4.4.3"