@viardex/viardex-libs 1.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.
- package/README.md +1 -0
- package/dist/cache/cache.interface.d.ts +2 -0
- package/dist/cache/cache.interface.js +2 -0
- package/dist/cache/cache.module.d.ts +5 -0
- package/dist/cache/cache.module.js +27 -0
- package/dist/cache/cache.service.d.ts +25 -0
- package/dist/cache/cache.service.js +94 -0
- package/dist/cache/index.d.ts +2 -0
- package/dist/cache/index.js +18 -0
- package/dist/common/config/index.d.ts +1 -0
- package/dist/common/config/index.js +2 -0
- package/dist/common/config/nats.config.d.ts +9 -0
- package/dist/common/config/nats.config.js +12 -0
- package/dist/common/constants/index.d.ts +2 -0
- package/dist/common/constants/index.js +18 -0
- package/dist/common/constants/otp.constants.d.ts +15 -0
- package/dist/common/constants/otp.constants.js +18 -0
- package/dist/common/constants/queues.constants.d.ts +17 -0
- package/dist/common/constants/queues.constants.js +20 -0
- package/dist/common/enums/index.d.ts +2 -0
- package/dist/common/enums/index.js +18 -0
- package/dist/common/enums/support-action.enum.d.ts +7 -0
- package/dist/common/enums/support-action.enum.js +11 -0
- package/dist/common/enums/ticket.enum.d.ts +19 -0
- package/dist/common/enums/ticket.enum.js +25 -0
- package/dist/common/health/health.controller.d.ts +9 -0
- package/dist/common/health/health.controller.js +49 -0
- package/dist/common/health/health.module.d.ts +2 -0
- package/dist/common/health/health.module.js +22 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.js +19 -0
- package/dist/common/utils/index.d.ts +3 -0
- package/dist/common/utils/index.js +19 -0
- package/dist/common/utils/random.utils.d.ts +10 -0
- package/dist/common/utils/random.utils.js +27 -0
- package/dist/common/utils/reference.utils.d.ts +1 -0
- package/dist/common/utils/reference.utils.js +17 -0
- package/dist/common/utils/string.utils.d.ts +10 -0
- package/dist/common/utils/string.utils.js +34 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +21 -0
- package/dist/nats/constants/nats.constants.d.ts +11 -0
- package/dist/nats/constants/nats.constants.js +15 -0
- package/dist/nats/decorators/nats-event-pattern.decorator.d.ts +2 -0
- package/dist/nats/decorators/nats-event-pattern.decorator.js +11 -0
- package/dist/nats/dto/nats-message.dto.d.ts +5 -0
- package/dist/nats/dto/nats-message.dto.js +27 -0
- package/dist/nats/index.d.ts +5 -0
- package/dist/nats/index.js +21 -0
- package/dist/nats/interceptors/nats-logging.interceptor.d.ts +6 -0
- package/dist/nats/interceptors/nats-logging.interceptor.js +33 -0
- package/dist/nats/interfaces/nats-options.interface.d.ts +23 -0
- package/dist/nats/interfaces/nats-options.interface.js +2 -0
- package/dist/notification/index.d.ts +4 -0
- package/dist/notification/index.js +20 -0
- package/dist/notification/notification.client.d.ts +31 -0
- package/dist/notification/notification.client.js +104 -0
- package/dist/notification/notification.enum.d.ts +10 -0
- package/dist/notification/notification.enum.js +14 -0
- package/dist/notification/notification.interface.d.ts +31 -0
- package/dist/notification/notification.interface.js +2 -0
- package/dist/notification/notification.module.d.ts +2 -0
- package/dist/notification/notification.module.js +20 -0
- package/dist/rpc/index.d.ts +54 -0
- package/dist/rpc/index.js +135 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +68 -0
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@viardex/viardex-libs",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Viardex shared libraries",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "jest",
|
|
13
|
+
"test:watch": "jest --watch",
|
|
14
|
+
"test:cov": "jest --coverage",
|
|
15
|
+
"build": "rm -rf dist && tsc",
|
|
16
|
+
"lint": "eslint src --ext .ts",
|
|
17
|
+
"prettier": "prettier --write ."
|
|
18
|
+
},
|
|
19
|
+
"author": "Viardex",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@nestjs/axios": "^4.0.1",
|
|
23
|
+
"@nestjs/bullmq": "^11.0.4",
|
|
24
|
+
"@nestjs/common": "^11.1.9",
|
|
25
|
+
"@nestjs/config": "^4.0.2",
|
|
26
|
+
"@nestjs/jwt": "^11.0.1",
|
|
27
|
+
"@nestjs/microservices": "^11.1.9",
|
|
28
|
+
"@nestjs/passport": "^11.0.5",
|
|
29
|
+
"@nestjs/terminus": "^11.0.0",
|
|
30
|
+
"@sentry/node": "^10.27.0",
|
|
31
|
+
"@sentry/tracing": "^7.120.4",
|
|
32
|
+
"class-transformer": "^0.5.1",
|
|
33
|
+
"class-validator": "^0.14.3",
|
|
34
|
+
"cockatiel": "^3.2.1",
|
|
35
|
+
"country-codes-list": "^2.0.0",
|
|
36
|
+
"decimal.js": "^10.6.0",
|
|
37
|
+
"ioredis": "^5.8.2",
|
|
38
|
+
"joi": "^18.0.2",
|
|
39
|
+
"jsonwebtoken": "^9.0.2",
|
|
40
|
+
"object-hash": "^3.0.0",
|
|
41
|
+
"opossum": "^9.0.0",
|
|
42
|
+
"prom-client": "^15.1.3",
|
|
43
|
+
"rxjs": "^7.8.2",
|
|
44
|
+
"tsup": "^8.5.1",
|
|
45
|
+
"uuid": "^13.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@nestjs/core": "^11.1.9",
|
|
49
|
+
"@nestjs/testing": "^11.1.9",
|
|
50
|
+
"@types/jest": "^30.0.0",
|
|
51
|
+
"@types/multer": "^2.0.0",
|
|
52
|
+
"@types/node": "^24.10.1",
|
|
53
|
+
"@types/object-hash": "^3.0.6",
|
|
54
|
+
"@types/opossum": "^8.1.9",
|
|
55
|
+
"@types/passport": "^1.0.17",
|
|
56
|
+
"jest": "^30.2.0",
|
|
57
|
+
"prettier": "^3.7.3",
|
|
58
|
+
"ts-jest": "^29.4.5",
|
|
59
|
+
"typescript": "^5.9.3"
|
|
60
|
+
},
|
|
61
|
+
"exports": {
|
|
62
|
+
".": "./dist/index.js",
|
|
63
|
+
"./bullmq": "./dist/bullmq/index.js",
|
|
64
|
+
"./cache": "./dist/cache/index.js",
|
|
65
|
+
"./common": "./dist/common/index.js",
|
|
66
|
+
"./nats": "./dist/nats/index.js"
|
|
67
|
+
}
|
|
68
|
+
}
|