@futdevpro/nts-dynamo 1.15.55 → 1.15.56
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/__documentations/2026-06-15-fr193-memory-guard.md +73 -0
- package/build/_collections/global-settings.const.d.ts.map +1 -1
- package/build/_collections/global-settings.const.js +11 -0
- package/build/_collections/global-settings.const.js.map +1 -1
- package/build/_models/interfaces/global-settings.interface.d.ts +21 -0
- package/build/_models/interfaces/global-settings.interface.d.ts.map +1 -1
- package/build/_services/core/memory-guard.service.d.ts +111 -0
- package/build/_services/core/memory-guard.service.d.ts.map +1 -0
- package/build/_services/core/memory-guard.service.js +198 -0
- package/build/_services/core/memory-guard.service.js.map +1 -0
- package/build/_services/server/app.server.d.ts.map +1 -1
- package/build/_services/server/app.server.js +13 -0
- package/build/_services/server/app.server.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/package.json +361 -361
- package/src/_collections/global-settings.const.ts +12 -0
- package/src/_models/interfaces/global-settings.interface.ts +23 -1
- package/src/_services/core/memory-guard.service.spec.ts +165 -0
- package/src/_services/core/memory-guard.service.ts +281 -0
- package/src/_services/server/app.server.ts +13 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,361 +1,361 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@futdevpro/nts-dynamo",
|
|
3
|
-
"version": "01.15.
|
|
4
|
-
"description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
|
|
5
|
-
"DyBu_settings": {
|
|
6
|
-
"packageType": "server-package",
|
|
7
|
-
"tgzFolderName": "dynamo-nts",
|
|
8
|
-
"systemName": "dynamo"
|
|
9
|
-
},
|
|
10
|
-
"author": "Future Development Program Ltd.",
|
|
11
|
-
"license": "ISC",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/futdevpro/dynamo-nts/issues"
|
|
14
|
-
},
|
|
15
|
-
"homepage": "futdevpro.hu/projects/dynamo",
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/futdevpro/dynamo-nts.git"
|
|
19
|
-
},
|
|
20
|
-
"keywords": [
|
|
21
|
-
"nodejs",
|
|
22
|
-
"typescript",
|
|
23
|
-
"mongodb",
|
|
24
|
-
"dynamic",
|
|
25
|
-
"dynamo",
|
|
26
|
-
"nodets",
|
|
27
|
-
"futdevpro",
|
|
28
|
-
"futdevpro-nts",
|
|
29
|
-
"backend"
|
|
30
|
-
],
|
|
31
|
-
"scripts": {
|
|
32
|
-
"prep": "npm i -g pnpm rimraf nodemon && pnpm i",
|
|
33
|
-
"preprep-setup-safechain-windows": "iex (iwr \"https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.ps1\" -UseBasicParsing)",
|
|
34
|
-
"preprep-setup-safechain-linux": "curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh",
|
|
35
|
-
"start-first": "npm run prep && nodemon",
|
|
36
|
-
"start": "npm run prep && nodemon",
|
|
37
|
-
"deploy": "npm run build",
|
|
38
|
-
"clean-deploy": "npm run clean && npm run build-all",
|
|
39
|
-
"build": "npm run build-base && jasmine && npm publish",
|
|
40
|
-
"build-tgz": "npm run build-base && jasmine && npm pack && move ./*.tgz ../tgz-collection/dynamo-nts",
|
|
41
|
-
"build-tgz-cheap": "pnpm i && npx tsc && npm pack && move ./*.tgz ../tgz-collection/dynamo-nts",
|
|
42
|
-
"build-all": "npm run build-tgz && npm run build-base",
|
|
43
|
-
"build-base": "rimraf ./build && npx tsc",
|
|
44
|
-
"build-clean": "npm run clean && npm run build-base",
|
|
45
|
-
"build-simple": "npx tsc && jasmine",
|
|
46
|
-
"build-n-test": "pnpm i && pnpm run build-tgz",
|
|
47
|
-
"clean": "rimraf ./build && rimraf package-lock.json && rimraf ./node_modules",
|
|
48
|
-
"test": "npm run build-base && jasmine",
|
|
49
|
-
"test-clean": "npm run build-clean && jasmine",
|
|
50
|
-
"test:coverage": "npx c8 --reporter=html --reporter=text --reporter=lcov node scripts/run-coverage-tests.js",
|
|
51
|
-
"start-clean": "npm run clean && npm run start",
|
|
52
|
-
"nodemon-run": "npm run build-tgz",
|
|
53
|
-
"lint": "eslint src --ext .ts",
|
|
54
|
-
"lint:fix": "eslint src --ext .ts --fix",
|
|
55
|
-
"validate:imports": "dynamo-validate-imports",
|
|
56
|
-
"validate:naming": "dynamo-validate-naming",
|
|
57
|
-
"audit:eslintrc": "dynamo-eslintrc-audit",
|
|
58
|
-
"fix": "dynamo-fix",
|
|
59
|
-
"fix:return-types": "dynamo-fix-return-types",
|
|
60
|
-
"prepare": "husky"
|
|
61
|
-
},
|
|
62
|
-
"main": "./build/index.js",
|
|
63
|
-
"module": "./build/index.js",
|
|
64
|
-
"types": "./build/index.d.ts",
|
|
65
|
-
"typings": "./build/index.d.ts",
|
|
66
|
-
"exports": {
|
|
67
|
-
".": {
|
|
68
|
-
"default": "./build/index.js",
|
|
69
|
-
"module": "./build/index.js",
|
|
70
|
-
"types": "./build/index.d.ts",
|
|
71
|
-
"typings": "./build/index.d.ts"
|
|
72
|
-
},
|
|
73
|
-
"./ai": {
|
|
74
|
-
"default": "./build/_modules/ai/index.js",
|
|
75
|
-
"module": "./build/_modules/ai/index.js",
|
|
76
|
-
"types": "./build/_modules/ai/index.d.ts",
|
|
77
|
-
"typings": "./build/_modules/ai/index.d.ts"
|
|
78
|
-
},
|
|
79
|
-
"./ai/document-ai": {
|
|
80
|
-
"default": "./build/_modules/ai/_modules/document-ai/index.js",
|
|
81
|
-
"module": "./build/_modules/ai/_modules/document-ai/index.js",
|
|
82
|
-
"types": "./build/_modules/ai/_modules/document-ai/index.d.ts",
|
|
83
|
-
"typings": "./build/_modules/ai/_modules/document-ai/index.d.ts"
|
|
84
|
-
},
|
|
85
|
-
"./ai/open-ai": {
|
|
86
|
-
"default": "./build/_modules/ai/_modules/open-ai/index.js",
|
|
87
|
-
"module": "./build/_modules/ai/_modules/open-ai/index.js",
|
|
88
|
-
"types": "./build/_modules/ai/_modules/open-ai/index.d.ts",
|
|
89
|
-
"typings": "./build/_modules/ai/_modules/open-ai/index.d.ts"
|
|
90
|
-
},
|
|
91
|
-
"./ai/anthropic": {
|
|
92
|
-
"default": "./build/_modules/ai/_modules/anthropic/index.js",
|
|
93
|
-
"module": "./build/_modules/ai/_modules/anthropic/index.js",
|
|
94
|
-
"types": "./build/_modules/ai/_modules/anthropic/index.d.ts",
|
|
95
|
-
"typings": "./build/_modules/ai/_modules/anthropic/index.d.ts"
|
|
96
|
-
},
|
|
97
|
-
"./ai/fdp-ai": {
|
|
98
|
-
"default": "./build/_modules/ai/_modules/fdp-ai/index.js",
|
|
99
|
-
"module": "./build/_modules/ai/_modules/fdp-ai/index.js",
|
|
100
|
-
"types": "./build/_modules/ai/_modules/fdp-ai/index.d.ts",
|
|
101
|
-
"typings": "./build/_modules/ai/_modules/fdp-ai/index.d.ts"
|
|
102
|
-
},
|
|
103
|
-
"./assistant": {
|
|
104
|
-
"default": "./build/_modules/assistant/index.js",
|
|
105
|
-
"module": "./build/_modules/assistant/index.js",
|
|
106
|
-
"types": "./build/_modules/assistant/index.d.ts",
|
|
107
|
-
"typings": "./build/_modules/assistant/index.d.ts"
|
|
108
|
-
},
|
|
109
|
-
"./bot": {
|
|
110
|
-
"default": "./build/_modules/bot/index.js",
|
|
111
|
-
"module": "./build/_modules/bot/index.js",
|
|
112
|
-
"types": "./build/_modules/bot/index.d.ts",
|
|
113
|
-
"typings": "./build/_modules/bot/index.d.ts"
|
|
114
|
-
},
|
|
115
|
-
"./bot/discord-bot": {
|
|
116
|
-
"default": "./build/_modules/bot/_modules/discord-bot/index.js",
|
|
117
|
-
"module": "./build/_modules/bot/_modules/discord-bot/index.js",
|
|
118
|
-
"types": "./build/_modules/bot/_modules/discord-bot/index.d.ts",
|
|
119
|
-
"typings": "./build/_modules/bot/_modules/discord-bot/index.d.ts"
|
|
120
|
-
},
|
|
121
|
-
"./bot/slack-bot": {
|
|
122
|
-
"default": "./build/_modules/bot/_modules/slack-bot/index.js",
|
|
123
|
-
"module": "./build/_modules/bot/_modules/slack-bot/index.js",
|
|
124
|
-
"types": "./build/_modules/bot/_modules/slack-bot/index.d.ts",
|
|
125
|
-
"typings": "./build/_modules/bot/_modules/slack-bot/index.d.ts"
|
|
126
|
-
},
|
|
127
|
-
"./bot/teams-bot": {
|
|
128
|
-
"default": "./build/_modules/bot/_modules/teams-bot/index.js",
|
|
129
|
-
"module": "./build/_modules/bot/_modules/teams-bot/index.js",
|
|
130
|
-
"types": "./build/_modules/bot/_modules/teams-bot/index.d.ts",
|
|
131
|
-
"typings": "./build/_modules/bot/_modules/teams-bot/index.d.ts"
|
|
132
|
-
},
|
|
133
|
-
"./custom-data": {
|
|
134
|
-
"default": "./build/_modules/custom-data/index.js",
|
|
135
|
-
"module": "./build/_modules/custom-data/index.js",
|
|
136
|
-
"types": "./build/_modules/custom-data/index.d.ts",
|
|
137
|
-
"typings": "./build/_modules/custom-data/index.d.ts"
|
|
138
|
-
},
|
|
139
|
-
"./defaults": {
|
|
140
|
-
"default": "./build/_modules/defaults/index.js",
|
|
141
|
-
"module": "./build/_modules/defaults/index.js",
|
|
142
|
-
"types": "./build/_modules/defaults/index.d.ts",
|
|
143
|
-
"typings": "./build/_modules/defaults/index.d.ts"
|
|
144
|
-
},
|
|
145
|
-
"./discord-assistant": {
|
|
146
|
-
"default": "./build/_modules/discord-assistant/index.js",
|
|
147
|
-
"module": "./build/_modules/discord-assistant/index.js",
|
|
148
|
-
"types": "./build/_modules/discord-assistant/index.d.ts",
|
|
149
|
-
"typings": "./build/_modules/discord-assistant/index.d.ts"
|
|
150
|
-
},
|
|
151
|
-
"./discord-assistant-voiced": {
|
|
152
|
-
"default": "./build/_modules/discord-assistant-voiced/index.js",
|
|
153
|
-
"module": "./build/_modules/discord-assistant-voiced/index.js",
|
|
154
|
-
"types": "./build/_modules/discord-assistant-voiced/index.d.ts",
|
|
155
|
-
"typings": "./build/_modules/discord-assistant-voiced/index.d.ts"
|
|
156
|
-
},
|
|
157
|
-
"./discord-bot": {
|
|
158
|
-
"default": "./build/_modules/discord-bot/index.js",
|
|
159
|
-
"module": "./build/_modules/discord-bot/index.js",
|
|
160
|
-
"types": "./build/_modules/discord-bot/index.d.ts",
|
|
161
|
-
"typings": "./build/_modules/discord-bot/index.d.ts"
|
|
162
|
-
},
|
|
163
|
-
"./local-vector-search": {
|
|
164
|
-
"default": "./build/_modules/local-vector-search/index.js",
|
|
165
|
-
"module": "./build/_modules/local-vector-search/index.js",
|
|
166
|
-
"types": "./build/_modules/local-vector-search/index.d.ts",
|
|
167
|
-
"typings": "./build/_modules/local-vector-search/index.d.ts"
|
|
168
|
-
},
|
|
169
|
-
"./messaging": {
|
|
170
|
-
"default": "./build/_modules/messaging/index.js",
|
|
171
|
-
"module": "./build/_modules/messaging/index.js",
|
|
172
|
-
"types": "./build/_modules/messaging/index.d.ts",
|
|
173
|
-
"typings": "./build/_modules/messaging/index.d.ts"
|
|
174
|
-
},
|
|
175
|
-
"./messaging/agent": {
|
|
176
|
-
"default": "./build/_modules/messaging/_modules/agent/index.js",
|
|
177
|
-
"module": "./build/_modules/messaging/_modules/agent/index.js",
|
|
178
|
-
"types": "./build/_modules/messaging/_modules/agent/index.d.ts",
|
|
179
|
-
"typings": "./build/_modules/messaging/_modules/agent/index.d.ts"
|
|
180
|
-
},
|
|
181
|
-
"./mock": {
|
|
182
|
-
"default": "./build/_mock/index.js",
|
|
183
|
-
"module": "./build/_mock/index.js",
|
|
184
|
-
"types": "./build/_mock/index.d.ts",
|
|
185
|
-
"typings": "./build/_mock/index.d.ts"
|
|
186
|
-
},
|
|
187
|
-
"./admin-auth": {
|
|
188
|
-
"default": "./build/_modules/admin-auth/index.js",
|
|
189
|
-
"module": "./build/_modules/admin-auth/index.js",
|
|
190
|
-
"types": "./build/_modules/admin-auth/index.d.ts",
|
|
191
|
-
"typings": "./build/_modules/admin-auth/index.d.ts"
|
|
192
|
-
},
|
|
193
|
-
"./oauth2": {
|
|
194
|
-
"default": "./build/_modules/oauth2/index.js",
|
|
195
|
-
"module": "./build/_modules/oauth2/index.js",
|
|
196
|
-
"types": "./build/_modules/oauth2/index.d.ts",
|
|
197
|
-
"typings": "./build/_modules/oauth2/index.d.ts"
|
|
198
|
-
},
|
|
199
|
-
"./rate-limit": {
|
|
200
|
-
"default": "./build/_modules/rate-limit/index.js",
|
|
201
|
-
"module": "./build/_modules/rate-limit/index.js",
|
|
202
|
-
"types": "./build/_modules/rate-limit/index.d.ts",
|
|
203
|
-
"typings": "./build/_modules/rate-limit/index.d.ts"
|
|
204
|
-
},
|
|
205
|
-
"./server": {
|
|
206
|
-
"default": "./build/_modules/server/index.js",
|
|
207
|
-
"module": "./build/_modules/server/index.js",
|
|
208
|
-
"types": "./build/_modules/server/index.d.ts",
|
|
209
|
-
"typings": "./build/_modules/server/index.d.ts"
|
|
210
|
-
},
|
|
211
|
-
"./socket": {
|
|
212
|
-
"default": "./build/_modules/socket/index.js",
|
|
213
|
-
"module": "./build/_modules/socket/index.js",
|
|
214
|
-
"types": "./build/_modules/socket/index.d.ts",
|
|
215
|
-
"typings": "./build/_modules/socket/index.d.ts"
|
|
216
|
-
},
|
|
217
|
-
"./test": {
|
|
218
|
-
"default": "./build/_modules/test/index.js",
|
|
219
|
-
"module": "./build/_modules/test/index.js",
|
|
220
|
-
"types": "./build/_modules/test/index.d.ts",
|
|
221
|
-
"typings": "./build/_modules/test/index.d.ts"
|
|
222
|
-
},
|
|
223
|
-
"./logs": {
|
|
224
|
-
"default": "./build/_modules/logs/index.js",
|
|
225
|
-
"module": "./build/_modules/logs/index.js",
|
|
226
|
-
"types": "./build/_modules/logs/index.d.ts",
|
|
227
|
-
"typings": "./build/_modules/logs/index.d.ts"
|
|
228
|
-
},
|
|
229
|
-
"./usage": {
|
|
230
|
-
"default": "./build/_modules/usage/index.js",
|
|
231
|
-
"module": "./build/_modules/usage/index.js",
|
|
232
|
-
"types": "./build/_modules/usage/index.d.ts",
|
|
233
|
-
"typings": "./build/_modules/usage/index.d.ts"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"typesVersions": {
|
|
237
|
-
"*": {
|
|
238
|
-
"ai": [
|
|
239
|
-
"build/_modules/ai/index.d.ts"
|
|
240
|
-
],
|
|
241
|
-
"ai/document-ai": [
|
|
242
|
-
"build/_modules/ai/_modules/document-ai/index.d.ts"
|
|
243
|
-
],
|
|
244
|
-
"ai/open-ai": [
|
|
245
|
-
"build/_modules/ai/_modules/open-ai/index.d.ts"
|
|
246
|
-
],
|
|
247
|
-
"assistant": [
|
|
248
|
-
"build/_modules/assistant/index.d.ts"
|
|
249
|
-
],
|
|
250
|
-
"bot": [
|
|
251
|
-
"build/_modules/bot/index.d.ts"
|
|
252
|
-
],
|
|
253
|
-
"bot/discord-bot": [
|
|
254
|
-
"build/_modules/bot/_modules/discord-bot/index.d.ts"
|
|
255
|
-
],
|
|
256
|
-
"bot/slack-bot": [
|
|
257
|
-
"build/_modules/bot/_modules/slack-bot/index.d.ts"
|
|
258
|
-
],
|
|
259
|
-
"bot/teams-bot": [
|
|
260
|
-
"build/_modules/bot/_modules/teams-bot/index.d.ts"
|
|
261
|
-
],
|
|
262
|
-
"custom-data": [
|
|
263
|
-
"build/_modules/custom-data/index.d.ts"
|
|
264
|
-
],
|
|
265
|
-
"defaults": [
|
|
266
|
-
"build/_modules/defaults/index.d.ts"
|
|
267
|
-
],
|
|
268
|
-
"discord-assistant": [
|
|
269
|
-
"build/_modules/discord-assistant/index.d.ts"
|
|
270
|
-
],
|
|
271
|
-
"discord-assistant-voiced": [
|
|
272
|
-
"build/_modules/discord-assistant-voiced/index.d.ts"
|
|
273
|
-
],
|
|
274
|
-
"discord-bot": [
|
|
275
|
-
"build/_modules/discord-bot/index.d.ts"
|
|
276
|
-
],
|
|
277
|
-
"local-vector-search": [
|
|
278
|
-
"build/_modules/local-vector-search/index.d.ts"
|
|
279
|
-
],
|
|
280
|
-
"messaging": [
|
|
281
|
-
"build/_modules/messaging/index.d.ts"
|
|
282
|
-
],
|
|
283
|
-
"messaging/agent": [
|
|
284
|
-
"build/_modules/messaging/_modules/agent/index.d.ts"
|
|
285
|
-
],
|
|
286
|
-
"mock": [
|
|
287
|
-
"build/_modules/mock/index.d.ts"
|
|
288
|
-
],
|
|
289
|
-
"admin-auth": [
|
|
290
|
-
"build/_modules/admin-auth/index.d.ts"
|
|
291
|
-
],
|
|
292
|
-
"oauth2": [
|
|
293
|
-
"build/_modules/oauth2/index.d.ts"
|
|
294
|
-
],
|
|
295
|
-
"rate-limit": [
|
|
296
|
-
"build/_modules/rate-limit/index.d.ts"
|
|
297
|
-
],
|
|
298
|
-
"server": [
|
|
299
|
-
"build/_modules/server/index.d.ts"
|
|
300
|
-
],
|
|
301
|
-
"socket": [
|
|
302
|
-
"build/_modules/socket/index.d.ts"
|
|
303
|
-
],
|
|
304
|
-
"test": [
|
|
305
|
-
"build/_modules/test/index.d.ts"
|
|
306
|
-
],
|
|
307
|
-
"logs": [
|
|
308
|
-
"build/_modules/logs/index.d.ts"
|
|
309
|
-
],
|
|
310
|
-
"usage": [
|
|
311
|
-
"build/_modules/usage/index.d.ts"
|
|
312
|
-
]
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"DISABLED": {
|
|
316
|
-
"@futdevpro/fsm-dynamo": "file:../tgz-collection/dynamo-fsm/futdevpro-fsm-dynamo-01.15.8.tgz",
|
|
317
|
-
"empty": ""
|
|
318
|
-
},
|
|
319
|
-
"peerDependencies": {
|
|
320
|
-
"@futdevpro/fsm-dynamo": "1.15.23",
|
|
321
|
-
"@types/express": "4.17.21",
|
|
322
|
-
"@types/geoip-lite": "~1.4.1",
|
|
323
|
-
"@types/node": "~24.1.0",
|
|
324
|
-
"axios": "~1.8.1",
|
|
325
|
-
"body-parser": "~1.20.2",
|
|
326
|
-
"dotenv": "~16.5.0",
|
|
327
|
-
"express": "4.21.2",
|
|
328
|
-
"geoip-lite": "~1.4.7",
|
|
329
|
-
"mongoose": "~8.10.1",
|
|
330
|
-
"nodemailer": "~6.9.4",
|
|
331
|
-
"rxjs": "7.8.1",
|
|
332
|
-
"ts-node": "~10.9.2"
|
|
333
|
-
},
|
|
334
|
-
"devDependencies": {
|
|
335
|
-
"@futdevpro/dynamo-eslint": "1.15.16",
|
|
336
|
-
"@discordjs/opus": "^0.10.0",
|
|
337
|
-
"@discordjs/voice": "^0.18.0",
|
|
338
|
-
"@types/jasmine": "~4.3.5",
|
|
339
|
-
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
340
|
-
"@typescript-eslint/parser": "^8.41.0",
|
|
341
|
-
"@anthropic-ai/sdk": "~0.39.0",
|
|
342
|
-
"crypto-js": "~4.2.0",
|
|
343
|
-
"discord.js": "~14.24.2",
|
|
344
|
-
"eslint": "^9.34.0",
|
|
345
|
-
"eslint-plugin-import": "^2.29.0",
|
|
346
|
-
"eslint-plugin-jsdoc": "^48.0.0",
|
|
347
|
-
"eslint-plugin-max-params-no-constructor": "^0.0.4",
|
|
348
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
349
|
-
"eslint-plugin-unused-imports": "^4.1.4",
|
|
350
|
-
"jasmine": "5.10.0",
|
|
351
|
-
"jasmine-spec-reporter": "^7.0.0",
|
|
352
|
-
"jasmine-ts": "~0.4.0",
|
|
353
|
-
"prettier": "^3.3.0",
|
|
354
|
-
"openai": "~5.23.2",
|
|
355
|
-
"socket.io": "~4.8.1",
|
|
356
|
-
"socket.io-client": "~4.8.1",
|
|
357
|
-
"tslib": "~2.6.2",
|
|
358
|
-
"typescript": "~5.5.4",
|
|
359
|
-
"husky": "^9.1.7"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@futdevpro/nts-dynamo",
|
|
3
|
+
"version": "01.15.56",
|
|
4
|
+
"description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
|
|
5
|
+
"DyBu_settings": {
|
|
6
|
+
"packageType": "server-package",
|
|
7
|
+
"tgzFolderName": "dynamo-nts",
|
|
8
|
+
"systemName": "dynamo"
|
|
9
|
+
},
|
|
10
|
+
"author": "Future Development Program Ltd.",
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/futdevpro/dynamo-nts/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "futdevpro.hu/projects/dynamo",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/futdevpro/dynamo-nts.git"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"nodejs",
|
|
22
|
+
"typescript",
|
|
23
|
+
"mongodb",
|
|
24
|
+
"dynamic",
|
|
25
|
+
"dynamo",
|
|
26
|
+
"nodets",
|
|
27
|
+
"futdevpro",
|
|
28
|
+
"futdevpro-nts",
|
|
29
|
+
"backend"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"prep": "npm i -g pnpm rimraf nodemon && pnpm i",
|
|
33
|
+
"preprep-setup-safechain-windows": "iex (iwr \"https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.ps1\" -UseBasicParsing)",
|
|
34
|
+
"preprep-setup-safechain-linux": "curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh",
|
|
35
|
+
"start-first": "npm run prep && nodemon",
|
|
36
|
+
"start": "npm run prep && nodemon",
|
|
37
|
+
"deploy": "npm run build",
|
|
38
|
+
"clean-deploy": "npm run clean && npm run build-all",
|
|
39
|
+
"build": "npm run build-base && jasmine && npm publish",
|
|
40
|
+
"build-tgz": "npm run build-base && jasmine && npm pack && move ./*.tgz ../tgz-collection/dynamo-nts",
|
|
41
|
+
"build-tgz-cheap": "pnpm i && npx tsc && npm pack && move ./*.tgz ../tgz-collection/dynamo-nts",
|
|
42
|
+
"build-all": "npm run build-tgz && npm run build-base",
|
|
43
|
+
"build-base": "rimraf ./build && npx tsc",
|
|
44
|
+
"build-clean": "npm run clean && npm run build-base",
|
|
45
|
+
"build-simple": "npx tsc && jasmine",
|
|
46
|
+
"build-n-test": "pnpm i && pnpm run build-tgz",
|
|
47
|
+
"clean": "rimraf ./build && rimraf package-lock.json && rimraf ./node_modules",
|
|
48
|
+
"test": "npm run build-base && jasmine",
|
|
49
|
+
"test-clean": "npm run build-clean && jasmine",
|
|
50
|
+
"test:coverage": "npx c8 --reporter=html --reporter=text --reporter=lcov node scripts/run-coverage-tests.js",
|
|
51
|
+
"start-clean": "npm run clean && npm run start",
|
|
52
|
+
"nodemon-run": "npm run build-tgz",
|
|
53
|
+
"lint": "eslint src --ext .ts",
|
|
54
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
55
|
+
"validate:imports": "dynamo-validate-imports",
|
|
56
|
+
"validate:naming": "dynamo-validate-naming",
|
|
57
|
+
"audit:eslintrc": "dynamo-eslintrc-audit",
|
|
58
|
+
"fix": "dynamo-fix",
|
|
59
|
+
"fix:return-types": "dynamo-fix-return-types",
|
|
60
|
+
"prepare": "husky"
|
|
61
|
+
},
|
|
62
|
+
"main": "./build/index.js",
|
|
63
|
+
"module": "./build/index.js",
|
|
64
|
+
"types": "./build/index.d.ts",
|
|
65
|
+
"typings": "./build/index.d.ts",
|
|
66
|
+
"exports": {
|
|
67
|
+
".": {
|
|
68
|
+
"default": "./build/index.js",
|
|
69
|
+
"module": "./build/index.js",
|
|
70
|
+
"types": "./build/index.d.ts",
|
|
71
|
+
"typings": "./build/index.d.ts"
|
|
72
|
+
},
|
|
73
|
+
"./ai": {
|
|
74
|
+
"default": "./build/_modules/ai/index.js",
|
|
75
|
+
"module": "./build/_modules/ai/index.js",
|
|
76
|
+
"types": "./build/_modules/ai/index.d.ts",
|
|
77
|
+
"typings": "./build/_modules/ai/index.d.ts"
|
|
78
|
+
},
|
|
79
|
+
"./ai/document-ai": {
|
|
80
|
+
"default": "./build/_modules/ai/_modules/document-ai/index.js",
|
|
81
|
+
"module": "./build/_modules/ai/_modules/document-ai/index.js",
|
|
82
|
+
"types": "./build/_modules/ai/_modules/document-ai/index.d.ts",
|
|
83
|
+
"typings": "./build/_modules/ai/_modules/document-ai/index.d.ts"
|
|
84
|
+
},
|
|
85
|
+
"./ai/open-ai": {
|
|
86
|
+
"default": "./build/_modules/ai/_modules/open-ai/index.js",
|
|
87
|
+
"module": "./build/_modules/ai/_modules/open-ai/index.js",
|
|
88
|
+
"types": "./build/_modules/ai/_modules/open-ai/index.d.ts",
|
|
89
|
+
"typings": "./build/_modules/ai/_modules/open-ai/index.d.ts"
|
|
90
|
+
},
|
|
91
|
+
"./ai/anthropic": {
|
|
92
|
+
"default": "./build/_modules/ai/_modules/anthropic/index.js",
|
|
93
|
+
"module": "./build/_modules/ai/_modules/anthropic/index.js",
|
|
94
|
+
"types": "./build/_modules/ai/_modules/anthropic/index.d.ts",
|
|
95
|
+
"typings": "./build/_modules/ai/_modules/anthropic/index.d.ts"
|
|
96
|
+
},
|
|
97
|
+
"./ai/fdp-ai": {
|
|
98
|
+
"default": "./build/_modules/ai/_modules/fdp-ai/index.js",
|
|
99
|
+
"module": "./build/_modules/ai/_modules/fdp-ai/index.js",
|
|
100
|
+
"types": "./build/_modules/ai/_modules/fdp-ai/index.d.ts",
|
|
101
|
+
"typings": "./build/_modules/ai/_modules/fdp-ai/index.d.ts"
|
|
102
|
+
},
|
|
103
|
+
"./assistant": {
|
|
104
|
+
"default": "./build/_modules/assistant/index.js",
|
|
105
|
+
"module": "./build/_modules/assistant/index.js",
|
|
106
|
+
"types": "./build/_modules/assistant/index.d.ts",
|
|
107
|
+
"typings": "./build/_modules/assistant/index.d.ts"
|
|
108
|
+
},
|
|
109
|
+
"./bot": {
|
|
110
|
+
"default": "./build/_modules/bot/index.js",
|
|
111
|
+
"module": "./build/_modules/bot/index.js",
|
|
112
|
+
"types": "./build/_modules/bot/index.d.ts",
|
|
113
|
+
"typings": "./build/_modules/bot/index.d.ts"
|
|
114
|
+
},
|
|
115
|
+
"./bot/discord-bot": {
|
|
116
|
+
"default": "./build/_modules/bot/_modules/discord-bot/index.js",
|
|
117
|
+
"module": "./build/_modules/bot/_modules/discord-bot/index.js",
|
|
118
|
+
"types": "./build/_modules/bot/_modules/discord-bot/index.d.ts",
|
|
119
|
+
"typings": "./build/_modules/bot/_modules/discord-bot/index.d.ts"
|
|
120
|
+
},
|
|
121
|
+
"./bot/slack-bot": {
|
|
122
|
+
"default": "./build/_modules/bot/_modules/slack-bot/index.js",
|
|
123
|
+
"module": "./build/_modules/bot/_modules/slack-bot/index.js",
|
|
124
|
+
"types": "./build/_modules/bot/_modules/slack-bot/index.d.ts",
|
|
125
|
+
"typings": "./build/_modules/bot/_modules/slack-bot/index.d.ts"
|
|
126
|
+
},
|
|
127
|
+
"./bot/teams-bot": {
|
|
128
|
+
"default": "./build/_modules/bot/_modules/teams-bot/index.js",
|
|
129
|
+
"module": "./build/_modules/bot/_modules/teams-bot/index.js",
|
|
130
|
+
"types": "./build/_modules/bot/_modules/teams-bot/index.d.ts",
|
|
131
|
+
"typings": "./build/_modules/bot/_modules/teams-bot/index.d.ts"
|
|
132
|
+
},
|
|
133
|
+
"./custom-data": {
|
|
134
|
+
"default": "./build/_modules/custom-data/index.js",
|
|
135
|
+
"module": "./build/_modules/custom-data/index.js",
|
|
136
|
+
"types": "./build/_modules/custom-data/index.d.ts",
|
|
137
|
+
"typings": "./build/_modules/custom-data/index.d.ts"
|
|
138
|
+
},
|
|
139
|
+
"./defaults": {
|
|
140
|
+
"default": "./build/_modules/defaults/index.js",
|
|
141
|
+
"module": "./build/_modules/defaults/index.js",
|
|
142
|
+
"types": "./build/_modules/defaults/index.d.ts",
|
|
143
|
+
"typings": "./build/_modules/defaults/index.d.ts"
|
|
144
|
+
},
|
|
145
|
+
"./discord-assistant": {
|
|
146
|
+
"default": "./build/_modules/discord-assistant/index.js",
|
|
147
|
+
"module": "./build/_modules/discord-assistant/index.js",
|
|
148
|
+
"types": "./build/_modules/discord-assistant/index.d.ts",
|
|
149
|
+
"typings": "./build/_modules/discord-assistant/index.d.ts"
|
|
150
|
+
},
|
|
151
|
+
"./discord-assistant-voiced": {
|
|
152
|
+
"default": "./build/_modules/discord-assistant-voiced/index.js",
|
|
153
|
+
"module": "./build/_modules/discord-assistant-voiced/index.js",
|
|
154
|
+
"types": "./build/_modules/discord-assistant-voiced/index.d.ts",
|
|
155
|
+
"typings": "./build/_modules/discord-assistant-voiced/index.d.ts"
|
|
156
|
+
},
|
|
157
|
+
"./discord-bot": {
|
|
158
|
+
"default": "./build/_modules/discord-bot/index.js",
|
|
159
|
+
"module": "./build/_modules/discord-bot/index.js",
|
|
160
|
+
"types": "./build/_modules/discord-bot/index.d.ts",
|
|
161
|
+
"typings": "./build/_modules/discord-bot/index.d.ts"
|
|
162
|
+
},
|
|
163
|
+
"./local-vector-search": {
|
|
164
|
+
"default": "./build/_modules/local-vector-search/index.js",
|
|
165
|
+
"module": "./build/_modules/local-vector-search/index.js",
|
|
166
|
+
"types": "./build/_modules/local-vector-search/index.d.ts",
|
|
167
|
+
"typings": "./build/_modules/local-vector-search/index.d.ts"
|
|
168
|
+
},
|
|
169
|
+
"./messaging": {
|
|
170
|
+
"default": "./build/_modules/messaging/index.js",
|
|
171
|
+
"module": "./build/_modules/messaging/index.js",
|
|
172
|
+
"types": "./build/_modules/messaging/index.d.ts",
|
|
173
|
+
"typings": "./build/_modules/messaging/index.d.ts"
|
|
174
|
+
},
|
|
175
|
+
"./messaging/agent": {
|
|
176
|
+
"default": "./build/_modules/messaging/_modules/agent/index.js",
|
|
177
|
+
"module": "./build/_modules/messaging/_modules/agent/index.js",
|
|
178
|
+
"types": "./build/_modules/messaging/_modules/agent/index.d.ts",
|
|
179
|
+
"typings": "./build/_modules/messaging/_modules/agent/index.d.ts"
|
|
180
|
+
},
|
|
181
|
+
"./mock": {
|
|
182
|
+
"default": "./build/_mock/index.js",
|
|
183
|
+
"module": "./build/_mock/index.js",
|
|
184
|
+
"types": "./build/_mock/index.d.ts",
|
|
185
|
+
"typings": "./build/_mock/index.d.ts"
|
|
186
|
+
},
|
|
187
|
+
"./admin-auth": {
|
|
188
|
+
"default": "./build/_modules/admin-auth/index.js",
|
|
189
|
+
"module": "./build/_modules/admin-auth/index.js",
|
|
190
|
+
"types": "./build/_modules/admin-auth/index.d.ts",
|
|
191
|
+
"typings": "./build/_modules/admin-auth/index.d.ts"
|
|
192
|
+
},
|
|
193
|
+
"./oauth2": {
|
|
194
|
+
"default": "./build/_modules/oauth2/index.js",
|
|
195
|
+
"module": "./build/_modules/oauth2/index.js",
|
|
196
|
+
"types": "./build/_modules/oauth2/index.d.ts",
|
|
197
|
+
"typings": "./build/_modules/oauth2/index.d.ts"
|
|
198
|
+
},
|
|
199
|
+
"./rate-limit": {
|
|
200
|
+
"default": "./build/_modules/rate-limit/index.js",
|
|
201
|
+
"module": "./build/_modules/rate-limit/index.js",
|
|
202
|
+
"types": "./build/_modules/rate-limit/index.d.ts",
|
|
203
|
+
"typings": "./build/_modules/rate-limit/index.d.ts"
|
|
204
|
+
},
|
|
205
|
+
"./server": {
|
|
206
|
+
"default": "./build/_modules/server/index.js",
|
|
207
|
+
"module": "./build/_modules/server/index.js",
|
|
208
|
+
"types": "./build/_modules/server/index.d.ts",
|
|
209
|
+
"typings": "./build/_modules/server/index.d.ts"
|
|
210
|
+
},
|
|
211
|
+
"./socket": {
|
|
212
|
+
"default": "./build/_modules/socket/index.js",
|
|
213
|
+
"module": "./build/_modules/socket/index.js",
|
|
214
|
+
"types": "./build/_modules/socket/index.d.ts",
|
|
215
|
+
"typings": "./build/_modules/socket/index.d.ts"
|
|
216
|
+
},
|
|
217
|
+
"./test": {
|
|
218
|
+
"default": "./build/_modules/test/index.js",
|
|
219
|
+
"module": "./build/_modules/test/index.js",
|
|
220
|
+
"types": "./build/_modules/test/index.d.ts",
|
|
221
|
+
"typings": "./build/_modules/test/index.d.ts"
|
|
222
|
+
},
|
|
223
|
+
"./logs": {
|
|
224
|
+
"default": "./build/_modules/logs/index.js",
|
|
225
|
+
"module": "./build/_modules/logs/index.js",
|
|
226
|
+
"types": "./build/_modules/logs/index.d.ts",
|
|
227
|
+
"typings": "./build/_modules/logs/index.d.ts"
|
|
228
|
+
},
|
|
229
|
+
"./usage": {
|
|
230
|
+
"default": "./build/_modules/usage/index.js",
|
|
231
|
+
"module": "./build/_modules/usage/index.js",
|
|
232
|
+
"types": "./build/_modules/usage/index.d.ts",
|
|
233
|
+
"typings": "./build/_modules/usage/index.d.ts"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"typesVersions": {
|
|
237
|
+
"*": {
|
|
238
|
+
"ai": [
|
|
239
|
+
"build/_modules/ai/index.d.ts"
|
|
240
|
+
],
|
|
241
|
+
"ai/document-ai": [
|
|
242
|
+
"build/_modules/ai/_modules/document-ai/index.d.ts"
|
|
243
|
+
],
|
|
244
|
+
"ai/open-ai": [
|
|
245
|
+
"build/_modules/ai/_modules/open-ai/index.d.ts"
|
|
246
|
+
],
|
|
247
|
+
"assistant": [
|
|
248
|
+
"build/_modules/assistant/index.d.ts"
|
|
249
|
+
],
|
|
250
|
+
"bot": [
|
|
251
|
+
"build/_modules/bot/index.d.ts"
|
|
252
|
+
],
|
|
253
|
+
"bot/discord-bot": [
|
|
254
|
+
"build/_modules/bot/_modules/discord-bot/index.d.ts"
|
|
255
|
+
],
|
|
256
|
+
"bot/slack-bot": [
|
|
257
|
+
"build/_modules/bot/_modules/slack-bot/index.d.ts"
|
|
258
|
+
],
|
|
259
|
+
"bot/teams-bot": [
|
|
260
|
+
"build/_modules/bot/_modules/teams-bot/index.d.ts"
|
|
261
|
+
],
|
|
262
|
+
"custom-data": [
|
|
263
|
+
"build/_modules/custom-data/index.d.ts"
|
|
264
|
+
],
|
|
265
|
+
"defaults": [
|
|
266
|
+
"build/_modules/defaults/index.d.ts"
|
|
267
|
+
],
|
|
268
|
+
"discord-assistant": [
|
|
269
|
+
"build/_modules/discord-assistant/index.d.ts"
|
|
270
|
+
],
|
|
271
|
+
"discord-assistant-voiced": [
|
|
272
|
+
"build/_modules/discord-assistant-voiced/index.d.ts"
|
|
273
|
+
],
|
|
274
|
+
"discord-bot": [
|
|
275
|
+
"build/_modules/discord-bot/index.d.ts"
|
|
276
|
+
],
|
|
277
|
+
"local-vector-search": [
|
|
278
|
+
"build/_modules/local-vector-search/index.d.ts"
|
|
279
|
+
],
|
|
280
|
+
"messaging": [
|
|
281
|
+
"build/_modules/messaging/index.d.ts"
|
|
282
|
+
],
|
|
283
|
+
"messaging/agent": [
|
|
284
|
+
"build/_modules/messaging/_modules/agent/index.d.ts"
|
|
285
|
+
],
|
|
286
|
+
"mock": [
|
|
287
|
+
"build/_modules/mock/index.d.ts"
|
|
288
|
+
],
|
|
289
|
+
"admin-auth": [
|
|
290
|
+
"build/_modules/admin-auth/index.d.ts"
|
|
291
|
+
],
|
|
292
|
+
"oauth2": [
|
|
293
|
+
"build/_modules/oauth2/index.d.ts"
|
|
294
|
+
],
|
|
295
|
+
"rate-limit": [
|
|
296
|
+
"build/_modules/rate-limit/index.d.ts"
|
|
297
|
+
],
|
|
298
|
+
"server": [
|
|
299
|
+
"build/_modules/server/index.d.ts"
|
|
300
|
+
],
|
|
301
|
+
"socket": [
|
|
302
|
+
"build/_modules/socket/index.d.ts"
|
|
303
|
+
],
|
|
304
|
+
"test": [
|
|
305
|
+
"build/_modules/test/index.d.ts"
|
|
306
|
+
],
|
|
307
|
+
"logs": [
|
|
308
|
+
"build/_modules/logs/index.d.ts"
|
|
309
|
+
],
|
|
310
|
+
"usage": [
|
|
311
|
+
"build/_modules/usage/index.d.ts"
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"DISABLED": {
|
|
316
|
+
"@futdevpro/fsm-dynamo": "file:../tgz-collection/dynamo-fsm/futdevpro-fsm-dynamo-01.15.8.tgz",
|
|
317
|
+
"empty": ""
|
|
318
|
+
},
|
|
319
|
+
"peerDependencies": {
|
|
320
|
+
"@futdevpro/fsm-dynamo": "1.15.23",
|
|
321
|
+
"@types/express": "4.17.21",
|
|
322
|
+
"@types/geoip-lite": "~1.4.1",
|
|
323
|
+
"@types/node": "~24.1.0",
|
|
324
|
+
"axios": "~1.8.1",
|
|
325
|
+
"body-parser": "~1.20.2",
|
|
326
|
+
"dotenv": "~16.5.0",
|
|
327
|
+
"express": "4.21.2",
|
|
328
|
+
"geoip-lite": "~1.4.7",
|
|
329
|
+
"mongoose": "~8.10.1",
|
|
330
|
+
"nodemailer": "~6.9.4",
|
|
331
|
+
"rxjs": "7.8.1",
|
|
332
|
+
"ts-node": "~10.9.2"
|
|
333
|
+
},
|
|
334
|
+
"devDependencies": {
|
|
335
|
+
"@futdevpro/dynamo-eslint": "1.15.16",
|
|
336
|
+
"@discordjs/opus": "^0.10.0",
|
|
337
|
+
"@discordjs/voice": "^0.18.0",
|
|
338
|
+
"@types/jasmine": "~4.3.5",
|
|
339
|
+
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
340
|
+
"@typescript-eslint/parser": "^8.41.0",
|
|
341
|
+
"@anthropic-ai/sdk": "~0.39.0",
|
|
342
|
+
"crypto-js": "~4.2.0",
|
|
343
|
+
"discord.js": "~14.24.2",
|
|
344
|
+
"eslint": "^9.34.0",
|
|
345
|
+
"eslint-plugin-import": "^2.29.0",
|
|
346
|
+
"eslint-plugin-jsdoc": "^48.0.0",
|
|
347
|
+
"eslint-plugin-max-params-no-constructor": "^0.0.4",
|
|
348
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
349
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
350
|
+
"jasmine": "5.10.0",
|
|
351
|
+
"jasmine-spec-reporter": "^7.0.0",
|
|
352
|
+
"jasmine-ts": "~0.4.0",
|
|
353
|
+
"prettier": "^3.3.0",
|
|
354
|
+
"openai": "~5.23.2",
|
|
355
|
+
"socket.io": "~4.8.1",
|
|
356
|
+
"socket.io-client": "~4.8.1",
|
|
357
|
+
"tslib": "~2.6.2",
|
|
358
|
+
"typescript": "~5.5.4",
|
|
359
|
+
"husky": "^9.1.7"
|
|
360
|
+
}
|
|
361
|
+
}
|