@dofe/infra-shared-services 0.1.22 → 0.1.26

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.
Files changed (1) hide show
  1. package/package.json +360 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dofe/infra-shared-services",
3
- "version": "0.1.22",
3
+ "version": "0.1.26",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -8,21 +8,358 @@
8
8
  "types": "./dist/index.d.ts",
9
9
  "default": "./dist/index.js"
10
10
  },
11
- "./*": {
12
- "types": [
13
- "./dist/*.d.ts",
14
- "./dist/*/index.d.ts"
15
- ],
16
- "default": [
17
- "./dist/*.js",
18
- "./dist/*/index.js",
19
- "./dist/*"
20
- ]
11
+ "./agentx": {
12
+ "types": "./dist/agentx/index.d.ts",
13
+ "default": "./dist/agentx/index.js"
14
+ },
15
+ "./agentx/agentx-client.module": {
16
+ "types": "./dist/agentx/agentx-client.module.d.ts",
17
+ "default": "./dist/agentx/agentx-client.module.js"
18
+ },
19
+ "./agentx/agentx-client.service": {
20
+ "types": "./dist/agentx/agentx-client.service.d.ts",
21
+ "default": "./dist/agentx/agentx-client.service.js"
22
+ },
23
+ "./agentx/agentx-file-client.service": {
24
+ "types": "./dist/agentx/agentx-file-client.service.d.ts",
25
+ "default": "./dist/agentx/agentx-file-client.service.js"
26
+ },
27
+ "./agentx/interfaces/file.interface": {
28
+ "types": "./dist/agentx/interfaces/file.interface.d.ts",
29
+ "default": "./dist/agentx/interfaces/file.interface.js"
30
+ },
31
+ "./agentx/interfaces/task.interface": {
32
+ "types": "./dist/agentx/interfaces/task.interface.d.ts",
33
+ "default": "./dist/agentx/interfaces/task.interface.js"
34
+ },
35
+ "./email": {
36
+ "types": "./dist/email/index.d.ts",
37
+ "default": "./dist/email/index.js"
38
+ },
39
+ "./email/dto/email.dto": {
40
+ "types": "./dist/email/dto/email.dto.d.ts",
41
+ "default": "./dist/email/dto/email.dto.js"
42
+ },
43
+ "./email/email.module": {
44
+ "types": "./dist/email/email.module.d.ts",
45
+ "default": "./dist/email/email.module.js"
46
+ },
47
+ "./email/email.service": {
48
+ "types": "./dist/email/email.service.d.ts",
49
+ "default": "./dist/email/email.service.js"
50
+ },
51
+ "./file-cdn": {
52
+ "types": "./dist/file-cdn/index.d.ts",
53
+ "default": "./dist/file-cdn/index.js"
54
+ },
55
+ "./file-cdn/dto/file-cdn.dto": {
56
+ "types": "./dist/file-cdn/dto/file-cdn.dto.d.ts",
57
+ "default": "./dist/file-cdn/dto/file-cdn.dto.js"
58
+ },
59
+ "./file-cdn/file-cdn.client": {
60
+ "types": "./dist/file-cdn/file-cdn.client.d.ts",
61
+ "default": "./dist/file-cdn/file-cdn.client.js"
62
+ },
63
+ "./file-cdn/file-cdn.module": {
64
+ "types": "./dist/file-cdn/file-cdn.module.d.ts",
65
+ "default": "./dist/file-cdn/file-cdn.module.js"
66
+ },
67
+ "./file-storage": {
68
+ "types": "./dist/file-storage/index.d.ts",
69
+ "default": "./dist/file-storage/index.js"
70
+ },
71
+ "./file-storage/bucket-resolver": {
72
+ "types": "./dist/file-storage/bucket-resolver.d.ts",
73
+ "default": "./dist/file-storage/bucket-resolver.js"
74
+ },
75
+ "./file-storage/file-storage.factory": {
76
+ "types": "./dist/file-storage/file-storage.factory.d.ts",
77
+ "default": "./dist/file-storage/file-storage.factory.js"
78
+ },
79
+ "./file-storage/file-storage.module": {
80
+ "types": "./dist/file-storage/file-storage.module.d.ts",
81
+ "default": "./dist/file-storage/file-storage.module.js"
82
+ },
83
+ "./file-storage/file-storage.service": {
84
+ "types": "./dist/file-storage/file-storage.service.d.ts",
85
+ "default": "./dist/file-storage/file-storage.service.js"
86
+ },
87
+ "./file-storage/types": {
88
+ "types": "./dist/file-storage/types.d.ts",
89
+ "default": "./dist/file-storage/types.js"
90
+ },
91
+ "./ip-geo": {
92
+ "types": "./dist/ip-geo/index.d.ts",
93
+ "default": "./dist/ip-geo/index.js"
94
+ },
95
+ "./ip-geo/continent-mapping": {
96
+ "types": "./dist/ip-geo/continent-mapping.d.ts",
97
+ "default": "./dist/ip-geo/continent-mapping.js"
98
+ },
99
+ "./ip-geo/ip-geo.module": {
100
+ "types": "./dist/ip-geo/ip-geo.module.d.ts",
101
+ "default": "./dist/ip-geo/ip-geo.module.js"
102
+ },
103
+ "./ip-geo/ip-geo.service": {
104
+ "types": "./dist/ip-geo/ip-geo.service.d.ts",
105
+ "default": "./dist/ip-geo/ip-geo.service.js"
106
+ },
107
+ "./ip-info": {
108
+ "types": "./dist/ip-info/index.d.ts",
109
+ "default": "./dist/ip-info/index.js"
110
+ },
111
+ "./ip-info-client": {
112
+ "types": "./dist/ip-info-client/index.d.ts",
113
+ "default": "./dist/ip-info-client/index.js"
114
+ },
115
+ "./ip-info-client/dto/ip-info.dto": {
116
+ "types": "./dist/ip-info-client/dto/ip-info.dto.d.ts",
117
+ "default": "./dist/ip-info-client/dto/ip-info.dto.js"
118
+ },
119
+ "./ip-info-client/ip-info.client": {
120
+ "types": "./dist/ip-info-client/ip-info.client.d.ts",
121
+ "default": "./dist/ip-info-client/ip-info.client.js"
122
+ },
123
+ "./ip-info-client/ip-info.module": {
124
+ "types": "./dist/ip-info-client/ip-info.module.d.ts",
125
+ "default": "./dist/ip-info-client/ip-info.module.js"
126
+ },
127
+ "./ip-info/ip-info.client": {
128
+ "types": "./dist/ip-info/ip-info.client.d.ts",
129
+ "default": "./dist/ip-info/ip-info.client.js"
130
+ },
131
+ "./ip-info/ip-info.module": {
132
+ "types": "./dist/ip-info/ip-info.module.d.ts",
133
+ "default": "./dist/ip-info/ip-info.module.js"
134
+ },
135
+ "./ip-info/ip-info.service": {
136
+ "types": "./dist/ip-info/ip-info.service.d.ts",
137
+ "default": "./dist/ip-info/ip-info.service.js"
138
+ },
139
+ "./notification": {
140
+ "types": "./dist/notification/index.d.ts",
141
+ "default": "./dist/notification/index.js"
142
+ },
143
+ "./notification/notification.module": {
144
+ "types": "./dist/notification/notification.module.d.ts",
145
+ "default": "./dist/notification/notification.module.js"
146
+ },
147
+ "./notification/notification.service": {
148
+ "types": "./dist/notification/notification.service.d.ts",
149
+ "default": "./dist/notification/notification.service.js"
150
+ },
151
+ "./notification/notification.types": {
152
+ "types": "./dist/notification/notification.types.d.ts",
153
+ "default": "./dist/notification/notification.types.js"
154
+ },
155
+ "./ocr": {
156
+ "types": "./dist/ocr/index.d.ts",
157
+ "default": "./dist/ocr/index.js"
158
+ },
159
+ "./ocr/ocr.module": {
160
+ "types": "./dist/ocr/ocr.module.d.ts",
161
+ "default": "./dist/ocr/ocr.module.js"
162
+ },
163
+ "./ocr/ocr.service": {
164
+ "types": "./dist/ocr/ocr.service.d.ts",
165
+ "default": "./dist/ocr/ocr.service.js"
166
+ },
167
+ "./openspeech": {
168
+ "types": "./dist/openspeech/index.d.ts",
169
+ "default": "./dist/openspeech/index.js"
170
+ },
171
+ "./openspeech/openspeech.client": {
172
+ "types": "./dist/openspeech/openspeech.client.d.ts",
173
+ "default": "./dist/openspeech/openspeech.client.js"
174
+ },
175
+ "./openspeech/openspeech.factory": {
176
+ "types": "./dist/openspeech/openspeech.factory.d.ts",
177
+ "default": "./dist/openspeech/openspeech.factory.js"
178
+ },
179
+ "./openspeech/openspeech.module": {
180
+ "types": "./dist/openspeech/openspeech.module.d.ts",
181
+ "default": "./dist/openspeech/openspeech.module.js"
182
+ },
183
+ "./openspeech/providers": {
184
+ "types": "./dist/openspeech/providers/index.d.ts",
185
+ "default": "./dist/openspeech/providers/index.js"
186
+ },
187
+ "./openspeech/providers/aliyun.provider": {
188
+ "types": "./dist/openspeech/providers/aliyun.provider.d.ts",
189
+ "default": "./dist/openspeech/providers/aliyun.provider.js"
190
+ },
191
+ "./openspeech/providers/base.provider": {
192
+ "types": "./dist/openspeech/providers/base.provider.d.ts",
193
+ "default": "./dist/openspeech/providers/base.provider.js"
194
+ },
195
+ "./openspeech/providers/volcengine-streaming.provider": {
196
+ "types": "./dist/openspeech/providers/volcengine-streaming.provider.d.ts",
197
+ "default": "./dist/openspeech/providers/volcengine-streaming.provider.js"
198
+ },
199
+ "./openspeech/providers/volcengine.provider": {
200
+ "types": "./dist/openspeech/providers/volcengine.provider.d.ts",
201
+ "default": "./dist/openspeech/providers/volcengine.provider.js"
202
+ },
203
+ "./openspeech/types": {
204
+ "types": "./dist/openspeech/types.d.ts",
205
+ "default": "./dist/openspeech/types.js"
206
+ },
207
+ "./sms": {
208
+ "types": "./dist/sms/index.d.ts",
209
+ "default": "./dist/sms/index.js"
210
+ },
211
+ "./sms/sms.factory": {
212
+ "types": "./dist/sms/sms.factory.d.ts",
213
+ "default": "./dist/sms/sms.factory.js"
214
+ },
215
+ "./sms/sms.module": {
216
+ "types": "./dist/sms/sms.module.d.ts",
217
+ "default": "./dist/sms/sms.module.js"
218
+ },
219
+ "./sms/sms.service": {
220
+ "types": "./dist/sms/sms.service.d.ts",
221
+ "default": "./dist/sms/sms.service.js"
222
+ },
223
+ "./sms/types": {
224
+ "types": "./dist/sms/types.d.ts",
225
+ "default": "./dist/sms/types.js"
226
+ },
227
+ "./streaming-asr": {
228
+ "types": "./dist/streaming-asr/index.d.ts",
229
+ "default": "./dist/streaming-asr/index.js"
230
+ },
231
+ "./streaming-asr/streaming-asr.module": {
232
+ "types": "./dist/streaming-asr/streaming-asr.module.d.ts",
233
+ "default": "./dist/streaming-asr/streaming-asr.module.js"
234
+ },
235
+ "./streaming-asr/streaming-asr.service": {
236
+ "types": "./dist/streaming-asr/streaming-asr.service.d.ts",
237
+ "default": "./dist/streaming-asr/streaming-asr.service.js"
238
+ },
239
+ "./streaming-asr/types": {
240
+ "types": "./dist/streaming-asr/types.d.ts",
241
+ "default": "./dist/streaming-asr/types.js"
242
+ },
243
+ "./system-health": {
244
+ "types": "./dist/system-health/index.d.ts",
245
+ "default": "./dist/system-health/index.js"
246
+ },
247
+ "./system-health/system-health.controller": {
248
+ "types": "./dist/system-health/system-health.controller.d.ts",
249
+ "default": "./dist/system-health/system-health.controller.js"
250
+ },
251
+ "./system-health/system-health.module": {
252
+ "types": "./dist/system-health/system-health.module.d.ts",
253
+ "default": "./dist/system-health/system-health.module.js"
254
+ },
255
+ "./system-health/system-health.service": {
256
+ "types": "./dist/system-health/system-health.service.d.ts",
257
+ "default": "./dist/system-health/system-health.service.js"
258
+ },
259
+ "./transcode": {
260
+ "types": "./dist/transcode/index.d.ts",
261
+ "default": "./dist/transcode/index.js"
262
+ },
263
+ "./transcode/config/aliyun-oss.config": {
264
+ "types": "./dist/transcode/config/aliyun-oss.config.d.ts",
265
+ "default": "./dist/transcode/config/aliyun-oss.config.js"
266
+ },
267
+ "./transcode/config/transcode.config": {
268
+ "types": "./dist/transcode/config/transcode.config.d.ts",
269
+ "default": "./dist/transcode/config/transcode.config.js"
270
+ },
271
+ "./transcode/modules/aliyun-imm/aliyun-imm.client": {
272
+ "types": "./dist/transcode/modules/aliyun-imm/aliyun-imm.client.d.ts",
273
+ "default": "./dist/transcode/modules/aliyun-imm/aliyun-imm.client.js"
274
+ },
275
+ "./transcode/modules/aliyun-imm/aliyun-imm.module": {
276
+ "types": "./dist/transcode/modules/aliyun-imm/aliyun-imm.module.d.ts",
277
+ "default": "./dist/transcode/modules/aliyun-imm/aliyun-imm.module.js"
278
+ },
279
+ "./transcode/modules/aliyun-oss/aliyun-oss-transcode.client": {
280
+ "types": "./dist/transcode/modules/aliyun-oss/aliyun-oss-transcode.client.d.ts",
281
+ "default": "./dist/transcode/modules/aliyun-oss/aliyun-oss-transcode.client.js"
282
+ },
283
+ "./transcode/modules/aliyun-oss/aliyun-oss-transcode.module": {
284
+ "types": "./dist/transcode/modules/aliyun-oss/aliyun-oss-transcode.module.d.ts",
285
+ "default": "./dist/transcode/modules/aliyun-oss/aliyun-oss-transcode.module.js"
286
+ },
287
+ "./transcode/modules/transcode-strategy/transcode-strategy.client": {
288
+ "types": "./dist/transcode/modules/transcode-strategy/transcode-strategy.client.d.ts",
289
+ "default": "./dist/transcode/modules/transcode-strategy/transcode-strategy.client.js"
290
+ },
291
+ "./transcode/modules/transcode-strategy/transcode-strategy.module": {
292
+ "types": "./dist/transcode/modules/transcode-strategy/transcode-strategy.module.d.ts",
293
+ "default": "./dist/transcode/modules/transcode-strategy/transcode-strategy.module.js"
294
+ },
295
+ "./transcode/modules/volcengine-tos/volcengine-tos-transcode.client": {
296
+ "types": "./dist/transcode/modules/volcengine-tos/volcengine-tos-transcode.client.d.ts",
297
+ "default": "./dist/transcode/modules/volcengine-tos/volcengine-tos-transcode.client.js"
298
+ },
299
+ "./transcode/modules/volcengine-tos/volcengine-tos-transcode.dto": {
300
+ "types": "./dist/transcode/modules/volcengine-tos/volcengine-tos-transcode.dto.d.ts",
301
+ "default": "./dist/transcode/modules/volcengine-tos/volcengine-tos-transcode.dto.js"
302
+ },
303
+ "./transcode/modules/volcengine-tos/volcengine-tos-transcode.module": {
304
+ "types": "./dist/transcode/modules/volcengine-tos/volcengine-tos-transcode.module.d.ts",
305
+ "default": "./dist/transcode/modules/volcengine-tos/volcengine-tos-transcode.module.js"
306
+ },
307
+ "./transcode/types/transcode.types": {
308
+ "types": "./dist/transcode/types/transcode.types.d.ts",
309
+ "default": "./dist/transcode/types/transcode.types.js"
310
+ },
311
+ "./transcode/utils/file.validator": {
312
+ "types": "./dist/transcode/utils/file.validator.d.ts",
313
+ "default": "./dist/transcode/utils/file.validator.js"
314
+ },
315
+ "./transcode/utils/transcode.helper": {
316
+ "types": "./dist/transcode/utils/transcode.helper.d.ts",
317
+ "default": "./dist/transcode/utils/transcode.helper.js"
318
+ },
319
+ "./uploader": {
320
+ "types": "./dist/uploader/index.d.ts",
321
+ "default": "./dist/uploader/index.js"
322
+ },
323
+ "./uploader/uploader.module": {
324
+ "types": "./dist/uploader/uploader.module.d.ts",
325
+ "default": "./dist/uploader/uploader.module.js"
326
+ },
327
+ "./uploader/uploader.service": {
328
+ "types": "./dist/uploader/uploader.service.d.ts",
329
+ "default": "./dist/uploader/uploader.service.js"
330
+ },
331
+ "./verify": {
332
+ "types": "./dist/verify/index.d.ts",
333
+ "default": "./dist/verify/index.js"
334
+ },
335
+ "./verify/verify.client": {
336
+ "types": "./dist/verify/verify.client.d.ts",
337
+ "default": "./dist/verify/verify.client.js"
338
+ },
339
+ "./verify/verify.module": {
340
+ "types": "./dist/verify/verify.module.d.ts",
341
+ "default": "./dist/verify/verify.module.js"
342
+ },
343
+ "./volcengine-tts": {
344
+ "types": "./dist/volcengine-tts/index.d.ts",
345
+ "default": "./dist/volcengine-tts/index.js"
346
+ },
347
+ "./volcengine-tts/dto/tts.dto": {
348
+ "types": "./dist/volcengine-tts/dto/tts.dto.d.ts",
349
+ "default": "./dist/volcengine-tts/dto/tts.dto.js"
350
+ },
351
+ "./volcengine-tts/volcengine-tts.client": {
352
+ "types": "./dist/volcengine-tts/volcengine-tts.client.d.ts",
353
+ "default": "./dist/volcengine-tts/volcengine-tts.client.js"
354
+ },
355
+ "./volcengine-tts/volcengine-tts.module": {
356
+ "types": "./dist/volcengine-tts/volcengine-tts.module.d.ts",
357
+ "default": "./dist/volcengine-tts/volcengine-tts.module.js"
21
358
  }
22
359
  },
23
360
  "peerDependencies": {
24
- "@dofe/infra-clients": "^0.1.21",
25
- "@dofe/infra-contracts": "^0.1.21",
361
+ "@dofe/infra-clients": "^0.1.25",
362
+ "@dofe/infra-contracts": "^0.1.25",
26
363
  "@nestjs/axios": "^4.0.0",
27
364
  "@nestjs/common": "^11.0.0",
28
365
  "@nestjs/config": "^4.0.0",
@@ -41,7 +378,7 @@
41
378
  "class-validator": "^0.14.1",
42
379
  "form-data": "^4.0.0",
43
380
  "ioredis": "^5.0.0",
44
- "music-metadata": "^10.0.0",
381
+ "music-metadata": "^10.0.0 || ^11.0.0",
45
382
  "nest-winston": "^1.9.7",
46
383
  "reflect-metadata": "^0.2.0",
47
384
  "rxjs": "^7.8.0",
@@ -51,13 +388,13 @@
51
388
  "zod": "^4.3.6"
52
389
  },
53
390
  "dependencies": {
54
- "@dofe/infra-common": "^0.1.21",
55
- "@dofe/infra-jwt": "^0.1.21",
56
- "@dofe/infra-prisma": "^0.1.21",
57
- "@dofe/infra-rabbitmq": "^0.1.21",
58
- "@dofe/infra-redis": "^0.1.21",
59
- "@dofe/infra-shared-db": "^0.1.21",
60
- "@dofe/infra-utils": "^0.1.21"
391
+ "@dofe/infra-common": "^0.1.25",
392
+ "@dofe/infra-jwt": "^0.1.25",
393
+ "@dofe/infra-prisma": "^0.1.25",
394
+ "@dofe/infra-rabbitmq": "^0.1.25",
395
+ "@dofe/infra-redis": "^0.1.25",
396
+ "@dofe/infra-shared-db": "^0.1.25",
397
+ "@dofe/infra-utils": "^0.1.25"
61
398
  },
62
399
  "devDependencies": {
63
400
  "rimraf": "^6.1.3",
@@ -74,6 +411,7 @@
74
411
  "scripts": {
75
412
  "build": "tsc",
76
413
  "typecheck": "tsc --noEmit",
77
- "clean": "rimraf dist"
414
+ "clean": "rimraf dist",
415
+ "postbuild": "node ../../scripts/generate-exports.mjs"
78
416
  }
79
417
  }