@clairejs/server 3.12.12 → 3.12.13
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/.prettierrc +8 -8
- package/README.md +824 -823
- package/dist/common/AbstractController.d.ts +3 -3
- package/dist/common/ControllerMetadata.d.ts +6 -6
- package/dist/common/FileOperation.d.ts +5 -5
- package/dist/common/ServerModelMetadata.d.ts +10 -10
- package/dist/common/Transactionable.d.ts +7 -7
- package/dist/common/auth/AbstractPrincipalResolver.d.ts +4 -4
- package/dist/common/auth/IPrincipal.d.ts +4 -4
- package/dist/common/constants.d.ts +1 -1
- package/dist/common/decorator.d.ts +5 -5
- package/dist/common/request/EndpointMetadata.d.ts +40 -40
- package/dist/common/request/HttpData.d.ts +1 -1
- package/dist/common/request/HttpEndpoint.d.ts +8 -8
- package/dist/common/request/JobData.d.ts +1 -1
- package/dist/common/request/MountedEndpointInfo.d.ts +6 -6
- package/dist/common/request/RequestOptions.d.ts +8 -8
- package/dist/common/request/SocketData.d.ts +1 -1
- package/dist/common/request/types.d.ts +1 -1
- package/dist/controllers/FileManageController.d.ts +14 -14
- package/dist/controllers/FileUploadController.d.ts +13 -13
- package/dist/controllers/dto/permissions.d.ts +20 -20
- package/dist/controllers/dto/system.d.ts +12 -12
- package/dist/controllers/dto/upload.d.ts +40 -40
- package/dist/controllers/models/SystemSetting.d.ts +5 -5
- package/dist/http/auth/AbstractHttpAuthorizer.d.ts +9 -9
- package/dist/http/auth/AbstractRbacHttpAuthorizer.d.ts +18 -18
- package/dist/http/auth/RedisRbacHttpAuthorizer.d.ts +24 -24
- package/dist/http/auth/SocketRbacHttpAuthorizer.d.ts +25 -25
- package/dist/http/auth/rbac.d.ts +34 -34
- package/dist/http/common/HttpRequest.d.ts +40 -40
- package/dist/http/common/HttpResponse.d.ts +34 -34
- package/dist/http/controller/AbstractHttpController.d.ts +8 -8
- package/dist/http/controller/AbstractHttpMiddleware.d.ts +10 -10
- package/dist/http/controller/AbstractHttpRequestHandler.d.ts +18 -18
- package/dist/http/controller/CrudHttpController.d.ts +41 -41
- package/dist/http/controller/DefaultHttpRequestHandler.d.ts +21 -21
- package/dist/http/decorators.d.ts +33 -33
- package/dist/http/file-upload/AbstractFileUploadHandler.d.ts +7 -7
- package/dist/http/file-upload/FileUploadHandler.d.ts +11 -11
- package/dist/http/file-upload/types.d.ts +1 -1
- package/dist/http/repository/AbstractRepository.d.ts +10 -10
- package/dist/http/repository/DtoRepository.d.ts +58 -58
- package/dist/http/repository/ICrudRepository.d.ts +27 -27
- package/dist/http/repository/ModelRepository.d.ts +37 -37
- package/dist/http/security/AbstractAccessCondition.d.ts +7 -7
- package/dist/http/security/access-conditions/DtoFieldValidation.d.ts +4 -4
- package/dist/http/security/access-conditions/FilterModelFieldAccessCondition.d.ts +4 -4
- package/dist/http/security/access-conditions/MaximumQueryLimit.d.ts +8 -8
- package/dist/http/security/cors.d.ts +6 -6
- package/dist/index.d.ts +74 -74
- package/dist/index.js +1 -1
- package/dist/job/AbstractJobController.d.ts +5 -5
- package/dist/job/AbstractJobRepository.d.ts +17 -17
- package/dist/job/AbstractJobScheduler.d.ts +38 -38
- package/dist/job/AwsJobScheduler.d.ts +48 -48
- package/dist/job/LocalJobScheduler.d.ts +88 -88
- package/dist/job/decorators.d.ts +5 -5
- package/dist/job/interfaces.d.ts +50 -50
- package/dist/logging/FileLogMedium.d.ts +13 -13
- package/dist/services/AbstractCacheService.d.ts +22 -22
- package/dist/services/AbstractFileService.d.ts +15 -15
- package/dist/services/AbstractMailService.d.ts +31 -31
- package/dist/services/AbstractService.d.ts +3 -3
- package/dist/services/AbstractSmsService.d.ts +12 -12
- package/dist/services/LocalFileService.d.ts +21 -21
- package/dist/services/ProxyFileService.d.ts +20 -20
- package/dist/services/RedisCacheService.d.ts +25 -25
- package/dist/services/S3FileService.d.ts +36 -36
- package/dist/services/SystemService.d.ts +15 -15
- package/dist/socket/AbstractServerSocket.d.ts +18 -18
- package/dist/socket/AbstractServerSocketManager.d.ts +46 -46
- package/dist/socket/AbstractSocketConnectionHandler.d.ts +6 -6
- package/dist/socket/AbstractSocketController.d.ts +14 -14
- package/dist/socket/AwsSocketManager.d.ts +30 -30
- package/dist/socket/IServerSocket.d.ts +16 -16
- package/dist/socket/LocalSocketManager.d.ts +47 -47
- package/dist/system/ClaireServer.d.ts +13 -13
- package/dist/system/ExpressWrapper.d.ts +19 -19
- package/dist/system/LambdaWrapper.d.ts +25 -25
- package/dist/system/ServerGlobalStore.d.ts +5 -5
- package/dist/system/errors.d.ts +14 -14
- package/dist/system/lamba-request-mapper.d.ts +2 -2
- package/dist/system/locale/LocaleEntry.d.ts +3 -3
- package/dist/system/locale/LocaleTranslation.d.ts +6 -6
- package/dist/system/locale/decorators.d.ts +2 -2
- package/package.json +67 -67
package/README.md
CHANGED
|
@@ -1,823 +1,824 @@
|
|
|
1
|
-
## Change Log
|
|
2
|
-
|
|
3
|
-
#### 3.12.
|
|
4
|
-
|
|
5
|
-
- add
|
|
6
|
-
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- fix
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- fix
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
- handle
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- add
|
|
85
|
-
-
|
|
86
|
-
- fix
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
- fix
|
|
118
|
-
- fix
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
- fix
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
- handle
|
|
138
|
-
-
|
|
139
|
-
- fix cron
|
|
140
|
-
- fix
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
-
|
|
152
|
-
- fix
|
|
153
|
-
- fix
|
|
154
|
-
- handling
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
- fix
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
- add
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
-
|
|
196
|
-
- fix
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
-
|
|
204
|
-
- fix
|
|
205
|
-
- fix
|
|
206
|
-
- fix
|
|
207
|
-
- fix
|
|
208
|
-
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
- provide
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
- fix
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
-
|
|
302
|
-
- add
|
|
303
|
-
- add
|
|
304
|
-
- add
|
|
305
|
-
- add
|
|
306
|
-
- add
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
- add
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
- fix
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
- fix
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
- add
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
-
|
|
391
|
-
-
|
|
392
|
-
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
-
|
|
482
|
-
- add
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
- update
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
-
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
- fix
|
|
538
|
-
-
|
|
539
|
-
-
|
|
540
|
-
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
- fix
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
- fix
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
-
|
|
594
|
-
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
-
|
|
752
|
-
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
- fix
|
|
787
|
-
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
1
|
+
## Change Log
|
|
2
|
+
|
|
3
|
+
#### 3.12.13
|
|
4
|
+
|
|
5
|
+
- add missing socket controller permission group metadata
|
|
6
|
+
- add AbstractController and fix @Controller decorator to check for AbstractController
|
|
7
|
+
- AbstractSocketController now extends AbstractController
|
|
8
|
+
|
|
9
|
+
#### 3.12.11
|
|
10
|
+
|
|
11
|
+
- rename AbstractHttpAuthorizationProvider -> AbstractHttpAuthorizer
|
|
12
|
+
|
|
13
|
+
#### 3.12.10
|
|
14
|
+
|
|
15
|
+
- fix update many not reflect changes of uriHandling
|
|
16
|
+
|
|
17
|
+
#### 3.12.9
|
|
18
|
+
|
|
19
|
+
- remove Twilio dependency & TwilioSmsService
|
|
20
|
+
|
|
21
|
+
#### 3.12.8
|
|
22
|
+
|
|
23
|
+
- add @Transactional for AbstractJobController
|
|
24
|
+
|
|
25
|
+
#### 3.12.7
|
|
26
|
+
|
|
27
|
+
- fix update many calling before returning before return result
|
|
28
|
+
- fix updateMany not returning uri after handling
|
|
29
|
+
- add missing file copy endpoint in file manage controller
|
|
30
|
+
|
|
31
|
+
#### 3.12.4
|
|
32
|
+
|
|
33
|
+
- fix uri handling in ModelRepository
|
|
34
|
+
- move get/set system locale to core
|
|
35
|
+
|
|
36
|
+
#### 3.12.2
|
|
37
|
+
|
|
38
|
+
- fix UriMapper typing
|
|
39
|
+
- simplify uri mapper, no more record & IQueryProvider
|
|
40
|
+
- improve ModelRepository bby removing redundant locale DB requests
|
|
41
|
+
|
|
42
|
+
#### 3.12.0
|
|
43
|
+
|
|
44
|
+
- uri mapper does no more provide record id to reduce DB request
|
|
45
|
+
|
|
46
|
+
#### 3.11.17
|
|
47
|
+
|
|
48
|
+
- fix remove URI files in CRUD updateMany & deleteMany
|
|
49
|
+
- support multi locale handling for uri mapper fields
|
|
50
|
+
- add @Head HTTP method & endpoint decorator
|
|
51
|
+
|
|
52
|
+
#### 3.11.16
|
|
53
|
+
|
|
54
|
+
- fix ModelRepository return empty object for localof field without translations
|
|
55
|
+
- fix localeof not to generate translation for default locale
|
|
56
|
+
|
|
57
|
+
#### 3.11.11
|
|
58
|
+
|
|
59
|
+
- fix ExpressWrapper raw parse
|
|
60
|
+
- do not log request body
|
|
61
|
+
- fix ExpressWrapper raw middleware handle any file type
|
|
62
|
+
- handle throw of condition check
|
|
63
|
+
- improve model repository to search nested field
|
|
64
|
+
|
|
65
|
+
#### 3.11.6
|
|
66
|
+
|
|
67
|
+
- log error when request failed
|
|
68
|
+
- add limit setting to json request in ExpressWrapper
|
|
69
|
+
- remote get multiple upload url limits
|
|
70
|
+
- add default info log in DefaultHttpRequestHandler
|
|
71
|
+
|
|
72
|
+
#### 3.11.1
|
|
73
|
+
|
|
74
|
+
- update webpack config
|
|
75
|
+
- merge with @clairejs/base-server
|
|
76
|
+
|
|
77
|
+
#### 3.10.17
|
|
78
|
+
|
|
79
|
+
- fix lambda request mapper parsing cookies
|
|
80
|
+
- move cors config to AbstractHttpRequestHandler
|
|
81
|
+
|
|
82
|
+
#### 3.10.15
|
|
83
|
+
|
|
84
|
+
- add / adjust cors setting
|
|
85
|
+
- add cookie parser
|
|
86
|
+
- fix set cookie with options
|
|
87
|
+
- fix express & lambda wrapper to return cookies
|
|
88
|
+
|
|
89
|
+
#### 3.10.7
|
|
90
|
+
|
|
91
|
+
- add random to order option in model repository
|
|
92
|
+
- socket_read -> disable_write, socket_write -> disable_read
|
|
93
|
+
|
|
94
|
+
#### 3.10.5
|
|
95
|
+
|
|
96
|
+
- AbstractJobScheduler run job with spread params
|
|
97
|
+
- use setTimeout for local scheduler at timestamp
|
|
98
|
+
- fix AwsJobScheduler cron expression
|
|
99
|
+
- breaking change update to AbstractFileService
|
|
100
|
+
|
|
101
|
+
#### 3.9.2
|
|
102
|
+
|
|
103
|
+
- moving and using crud dto factory from claire core
|
|
104
|
+
- add expire param to AbstractCacheService set
|
|
105
|
+
|
|
106
|
+
#### 3.9.0
|
|
107
|
+
|
|
108
|
+
- fix AbstractHttpMiddleware to accept response as second param and return boolean as result
|
|
109
|
+
|
|
110
|
+
#### 3.8.8
|
|
111
|
+
|
|
112
|
+
- update core package, reduce db calls in ModelRepository
|
|
113
|
+
- allow nested update HasMany / HasOne field in ModelRepository
|
|
114
|
+
|
|
115
|
+
#### 3.8.6
|
|
116
|
+
|
|
117
|
+
- fix auto fill of post/put default value (no more auto fill, because of access condition check)
|
|
118
|
+
- fix getMany projection in ModelRepository
|
|
119
|
+
- fix hasMany fields in CRUD projection
|
|
120
|
+
|
|
121
|
+
#### 3.8.3
|
|
122
|
+
|
|
123
|
+
- RedisRbacAuthProvider service id resolver
|
|
124
|
+
|
|
125
|
+
#### 3.8.1
|
|
126
|
+
|
|
127
|
+
- fix @CurrentUser does no more require Identifiable class
|
|
128
|
+
- fix default locale reading empty object properties in ModelRepository
|
|
129
|
+
|
|
130
|
+
#### 3.8.0
|
|
131
|
+
|
|
132
|
+
- add @LocaleOf decorator
|
|
133
|
+
- handle multi-locale for ModelRepository & CrudHtppController
|
|
134
|
+
|
|
135
|
+
#### 3.7.12
|
|
136
|
+
|
|
137
|
+
- handle gcd of interval to reduce step function trigger rate
|
|
138
|
+
- handle cron event for lambda wrapper
|
|
139
|
+
- fix remove cron job for AwsJobScheduler
|
|
140
|
+
- fix cron expression
|
|
141
|
+
- fix rate 1 minute without 's'
|
|
142
|
+
- add more debug log
|
|
143
|
+
- fix cron expression validation
|
|
144
|
+
- remove job executor
|
|
145
|
+
- implement AwsJobScheduler (EventBridge + Step Function)
|
|
146
|
+
- fix LocalJobScheduler interface
|
|
147
|
+
- allow persist LocalJobScheduler job info & multi instance support
|
|
148
|
+
|
|
149
|
+
#### 3.6.23
|
|
150
|
+
|
|
151
|
+
- unify handle not found error
|
|
152
|
+
- fix create many does not return mime field in CrudHttpController
|
|
153
|
+
- fix local socket manager buffer message while socket is creating
|
|
154
|
+
- fix async handling in lambda socket manager
|
|
155
|
+
- handling READY socket message
|
|
156
|
+
- fix AwsSocketManager does not remove socket from redis when disconnect
|
|
157
|
+
- handle default "" or "/" endpoint correctly
|
|
158
|
+
- fix CrudHttpController filter by boolean field
|
|
159
|
+
- fix AwsSocketManager not remove socket from channel after disconnection
|
|
160
|
+
- support @HasOne for Crud controller
|
|
161
|
+
- fix nested queries for ModelRepository
|
|
162
|
+
|
|
163
|
+
#### 3.6.3
|
|
164
|
+
|
|
165
|
+
- fix onChannelConnected cannot send back data to socket (because socket was not yet added to channel and old instance was used)
|
|
166
|
+
- add READY socket message
|
|
167
|
+
|
|
168
|
+
#### 3.6.0
|
|
169
|
+
|
|
170
|
+
- move database to @clairejs/orm package. Bye bye...
|
|
171
|
+
|
|
172
|
+
#### 3.5.4
|
|
173
|
+
|
|
174
|
+
- fix aws get socket by id
|
|
175
|
+
- send error when close socket
|
|
176
|
+
- remove constructor dependency of socket connection handler in socket managers
|
|
177
|
+
|
|
178
|
+
#### 3.5.0
|
|
179
|
+
|
|
180
|
+
- use ioredis instead of redis (for redlock to work)
|
|
181
|
+
- update job interfaces
|
|
182
|
+
- adapt socket managers to use ioredis
|
|
183
|
+
|
|
184
|
+
#### 3.4.0
|
|
185
|
+
|
|
186
|
+
- add job related classes
|
|
187
|
+
|
|
188
|
+
#### 3.3.27
|
|
189
|
+
|
|
190
|
+
- add random order
|
|
191
|
+
- add \_nin operator
|
|
192
|
+
|
|
193
|
+
#### 3.3.26
|
|
194
|
+
|
|
195
|
+
- remove socket if authentication failed for aws socket manager
|
|
196
|
+
- fix lambda request mapper
|
|
197
|
+
- fix Express parse Api gateway query for socket connection
|
|
198
|
+
- add debug log
|
|
199
|
+
- refactor principal data resolver for socket manager
|
|
200
|
+
|
|
201
|
+
#### 3.3.19
|
|
202
|
+
|
|
203
|
+
- ExpressWrapper don't send response for gateway socket integration (except for connection request)
|
|
204
|
+
- fix ExpressWrapper handle APi gateway socket message data
|
|
205
|
+
- fix LocalSocketManager get socket by id
|
|
206
|
+
- fix auth resolver typing
|
|
207
|
+
- fix socket data parsing problem
|
|
208
|
+
- fix local socket manager subscribe
|
|
209
|
+
- update redis client to v4
|
|
210
|
+
|
|
211
|
+
#### 3.3.10
|
|
212
|
+
|
|
213
|
+
- fix LambdaWrapper receive ClaireApp factory
|
|
214
|
+
- socket pong return original data
|
|
215
|
+
- fix ModelRepository getNestedQueries
|
|
216
|
+
- add ops to ICrudRepository
|
|
217
|
+
|
|
218
|
+
#### 3.3.5
|
|
219
|
+
|
|
220
|
+
- fix socket auth provider
|
|
221
|
+
- add getSocketsByChannels
|
|
222
|
+
- fix express server exit close connection
|
|
223
|
+
- update socket manager to support multiple instances
|
|
224
|
+
|
|
225
|
+
#### 3.2.8
|
|
226
|
+
|
|
227
|
+
- fix CrudHttpController condition check for update body
|
|
228
|
+
|
|
229
|
+
#### 3.2.6
|
|
230
|
+
|
|
231
|
+
- add cache to RedisRbacAuthProvider
|
|
232
|
+
|
|
233
|
+
#### 3.2.5
|
|
234
|
+
|
|
235
|
+
- add TfaRequired() decorator and hasTfa to IPrincipal
|
|
236
|
+
- abstract DefaultHttpRequestHandler accessControl
|
|
237
|
+
|
|
238
|
+
#### 3.2.4
|
|
239
|
+
|
|
240
|
+
- IPrincipal id to be any
|
|
241
|
+
|
|
242
|
+
#### 3.2.3
|
|
243
|
+
|
|
244
|
+
- simplify dto dissolver interface
|
|
245
|
+
- introduce DtoRepository
|
|
246
|
+
|
|
247
|
+
#### 3.2.0
|
|
248
|
+
|
|
249
|
+
- introduce ICrudRepository
|
|
250
|
+
- CrudHttpController now requires param of ICrudRepository
|
|
251
|
+
|
|
252
|
+
#### 3.1.16
|
|
253
|
+
|
|
254
|
+
- fix uri mapper in CRUD update request
|
|
255
|
+
|
|
256
|
+
#### 3.1.15
|
|
257
|
+
|
|
258
|
+
- re-implement @CurrentUser decorator
|
|
259
|
+
|
|
260
|
+
#### 3.1.14
|
|
261
|
+
|
|
262
|
+
- fix UriMapper & UriMapperHandler types
|
|
263
|
+
|
|
264
|
+
#### 3.1.13
|
|
265
|
+
|
|
266
|
+
- provide IQueryProvider to uriMapper, move uriMapper to server logic
|
|
267
|
+
- provide tmpUri to uriMapper in ModelRepository
|
|
268
|
+
|
|
269
|
+
#### 3.1.11
|
|
270
|
+
|
|
271
|
+
- fix CrudHttpController missing description
|
|
272
|
+
- fix projection query data type
|
|
273
|
+
|
|
274
|
+
#### 3.1.9
|
|
275
|
+
|
|
276
|
+
- strip response data if responseDto is present
|
|
277
|
+
|
|
278
|
+
#### 3.1.8
|
|
279
|
+
|
|
280
|
+
- return 401 http code if not auth throw
|
|
281
|
+
|
|
282
|
+
#### 3.1.7
|
|
283
|
+
|
|
284
|
+
- fix CrudHtppController merge wrong endpoint
|
|
285
|
+
|
|
286
|
+
#### 3.1.5
|
|
287
|
+
|
|
288
|
+
- fix aws socket manager parse null redis
|
|
289
|
+
|
|
290
|
+
#### 3.1.4
|
|
291
|
+
|
|
292
|
+
- abstract file service and cache service does not extends AbstractService anymore
|
|
293
|
+
- fix abstract file service
|
|
294
|
+
|
|
295
|
+
#### 3.1.2
|
|
296
|
+
|
|
297
|
+
- fix server socket sending incorrect plain message
|
|
298
|
+
|
|
299
|
+
#### 3.1.1
|
|
300
|
+
|
|
301
|
+
- fix server socket
|
|
302
|
+
- add permission conditions to CrudHttpController
|
|
303
|
+
- add abstract services
|
|
304
|
+
- add FileUploadHandler
|
|
305
|
+
- add Abstract RbacAuthProvider, Redis & Cache Rbac Auth Provider
|
|
306
|
+
- add rbac dto
|
|
307
|
+
- add MaximumQueryLimit & DtoFieldValidation conditions
|
|
308
|
+
|
|
309
|
+
#### 3.0.36
|
|
310
|
+
|
|
311
|
+
- fix crud controller metadata
|
|
312
|
+
|
|
313
|
+
#### 3.0.33
|
|
314
|
+
|
|
315
|
+
- add @ApiDescription
|
|
316
|
+
- add CrudHttpController metadata description
|
|
317
|
+
|
|
318
|
+
#### 3.0.30
|
|
319
|
+
|
|
320
|
+
- fix objectTypeConstructor
|
|
321
|
+
|
|
322
|
+
#### 3.0.29:
|
|
323
|
+
|
|
324
|
+
- @Socket -> @Message
|
|
325
|
+
- use @Socket to get socket injection in controller method
|
|
326
|
+
|
|
327
|
+
#### 3.0.26:
|
|
328
|
+
|
|
329
|
+
- add error log in http request handler
|
|
330
|
+
|
|
331
|
+
#### 3.0.25:
|
|
332
|
+
|
|
333
|
+
- add null search in vector
|
|
334
|
+
- support array search for isSymbol field
|
|
335
|
+
|
|
336
|
+
#### 3.0.22:
|
|
337
|
+
|
|
338
|
+
- fix timestamp field
|
|
339
|
+
|
|
340
|
+
#### 3.0.19:
|
|
341
|
+
|
|
342
|
+
- fix error throw in transactional
|
|
343
|
+
|
|
344
|
+
#### 3.0.18:
|
|
345
|
+
|
|
346
|
+
- fix not escape search value
|
|
347
|
+
- fix accent & sensitive search in Mysql and Postgres
|
|
348
|
+
|
|
349
|
+
#### 3.0.15:
|
|
350
|
+
|
|
351
|
+
- require injection of database adapter in AbstractSerivce & AbstractHttpController
|
|
352
|
+
|
|
353
|
+
#### 3.0.14:
|
|
354
|
+
|
|
355
|
+
- add getById and getByIds to IQuery
|
|
356
|
+
|
|
357
|
+
#### 3.0.12:
|
|
358
|
+
|
|
359
|
+
- fix error return
|
|
360
|
+
|
|
361
|
+
#### 3.0.10:
|
|
362
|
+
|
|
363
|
+
- remove count query when getOne
|
|
364
|
+
|
|
365
|
+
#### 3.0.8:
|
|
366
|
+
|
|
367
|
+
- freeze table name in join clause
|
|
368
|
+
|
|
369
|
+
#### 3.0.6:
|
|
370
|
+
|
|
371
|
+
- fix index export
|
|
372
|
+
- fix AbstractAccessCondition signature
|
|
373
|
+
|
|
374
|
+
#### 3.0.5:
|
|
375
|
+
|
|
376
|
+
- tested on Postgres & MySql
|
|
377
|
+
- add join ability to IQuery, awesome!!
|
|
378
|
+
|
|
379
|
+
#### 3.0.3: http method decorator return type check
|
|
380
|
+
|
|
381
|
+
- add @ApiResponse decorator to store response body validator
|
|
382
|
+
- add TypedPropertyDescriptor in HTTP method decorator to validate function return type (Promise<HttpResponse<any>>>)
|
|
383
|
+
|
|
384
|
+
#### 3.0.2: improve http response
|
|
385
|
+
|
|
386
|
+
- add binary response
|
|
387
|
+
|
|
388
|
+
#### 3.0.0:
|
|
389
|
+
|
|
390
|
+
- update claire core 3.0
|
|
391
|
+
- controller function param decorators
|
|
392
|
+
- ResponseBuilder
|
|
393
|
+
- remove ops in getMany
|
|
394
|
+
|
|
395
|
+
#### 2.3.13:
|
|
396
|
+
|
|
397
|
+
- update raw query function signature
|
|
398
|
+
|
|
399
|
+
#### 2.3.12:
|
|
400
|
+
|
|
401
|
+
- fix & export CrudService
|
|
402
|
+
|
|
403
|
+
#### 2.3.10:
|
|
404
|
+
|
|
405
|
+
- Array & Object model field persist & parse
|
|
406
|
+
|
|
407
|
+
#### 2.3.9:
|
|
408
|
+
|
|
409
|
+
- @TextField will default to Sequelize.TEXT if length is not specified
|
|
410
|
+
|
|
411
|
+
#### 2.3.6:
|
|
412
|
+
|
|
413
|
+
- fix missing beforeCreate call when update nesting
|
|
414
|
+
|
|
415
|
+
#### 2.3.1:
|
|
416
|
+
|
|
417
|
+
- fix returning nested uris
|
|
418
|
+
|
|
419
|
+
#### 2.3.0:
|
|
420
|
+
|
|
421
|
+
- introduce CrudService
|
|
422
|
+
- CrudHttpController support @HasMany
|
|
423
|
+
|
|
424
|
+
#### 2.2.12:
|
|
425
|
+
|
|
426
|
+
- fix isIntegral default
|
|
427
|
+
|
|
428
|
+
#### 2.2.10:
|
|
429
|
+
|
|
430
|
+
- update `CrudHttpController` Update and Delete to return `Partial<T>`
|
|
431
|
+
|
|
432
|
+
#### 2.2.2:
|
|
433
|
+
|
|
434
|
+
- fix `@CurrentUser` decorator
|
|
435
|
+
- implement `@CurrentUser` decorator
|
|
436
|
+
|
|
437
|
+
#### 2.2.0:
|
|
438
|
+
|
|
439
|
+
- add `AbstractFileUploadHandler` and handle file upload in `CrudHttpController`
|
|
440
|
+
- fix migration contraint remove order
|
|
441
|
+
|
|
442
|
+
#### 2.1.20:
|
|
443
|
+
|
|
444
|
+
- extends IPrincipal
|
|
445
|
+
|
|
446
|
+
#### 2.1.19:
|
|
447
|
+
|
|
448
|
+
- fix crud http controller not init database adapter
|
|
449
|
+
|
|
450
|
+
#### 2.1.18:
|
|
451
|
+
|
|
452
|
+
- downgrade webpack
|
|
453
|
+
|
|
454
|
+
#### 2.1.16:
|
|
455
|
+
|
|
456
|
+
- add pg-hstore
|
|
457
|
+
|
|
458
|
+
#### 2.1.15:
|
|
459
|
+
|
|
460
|
+
- add optional injection for socket manager
|
|
461
|
+
|
|
462
|
+
#### 2.1.14:
|
|
463
|
+
|
|
464
|
+
- AwsSocketManger needs always to be fed by JSON object
|
|
465
|
+
|
|
466
|
+
#### 2.1.13:
|
|
467
|
+
|
|
468
|
+
- correct json parsing when hanling aws socket message
|
|
469
|
+
|
|
470
|
+
#### 2.1.11:
|
|
471
|
+
|
|
472
|
+
- adjust getMany and getRecords to return Pick type based on projection
|
|
473
|
+
- add getRecords for IQuery to return just the records
|
|
474
|
+
|
|
475
|
+
#### 2.1.9:
|
|
476
|
+
|
|
477
|
+
- fix CrudHttpController updateMany FilterField condition check
|
|
478
|
+
|
|
479
|
+
#### 2.1.8:
|
|
480
|
+
|
|
481
|
+
- fix server socket remove not delete its redis info
|
|
482
|
+
- add socket created timestamp info
|
|
483
|
+
- add get all alive sockets to remove stale sockets in server
|
|
484
|
+
|
|
485
|
+
#### 2.1.5:
|
|
486
|
+
|
|
487
|
+
- support model defualt value in db migrator & adapter
|
|
488
|
+
|
|
489
|
+
#### 2.1.3:
|
|
490
|
+
|
|
491
|
+
- add test for cascade delete
|
|
492
|
+
|
|
493
|
+
#### 2.1.2:
|
|
494
|
+
|
|
495
|
+
- update claire core
|
|
496
|
+
- fix converting QueryCondition use "and" as default operator
|
|
497
|
+
|
|
498
|
+
#### 2.1.1:
|
|
499
|
+
|
|
500
|
+
- update claire core
|
|
501
|
+
- update implementation of FileLogMedium
|
|
502
|
+
|
|
503
|
+
#### 2.0.26:
|
|
504
|
+
|
|
505
|
+
- parse client socket data
|
|
506
|
+
- add more debug log
|
|
507
|
+
- fix ExpressWrapper AWS GW socket http integration
|
|
508
|
+
|
|
509
|
+
#### 2.0.17:
|
|
510
|
+
|
|
511
|
+
- add AWS API GW socket request parser for express
|
|
512
|
+
|
|
513
|
+
#### 2.0.16:
|
|
514
|
+
|
|
515
|
+
- add log to http request handler
|
|
516
|
+
- refactor to allow AwsSocketManager to be used with ExpressWrapper
|
|
517
|
+
|
|
518
|
+
#### 2.0.14:
|
|
519
|
+
|
|
520
|
+
- fix express socket unique id
|
|
521
|
+
|
|
522
|
+
#### 2.0.13:
|
|
523
|
+
|
|
524
|
+
- update error code from claire core
|
|
525
|
+
|
|
526
|
+
#### 2.0.12:
|
|
527
|
+
|
|
528
|
+
- export Get, Post, Put, Del decorators
|
|
529
|
+
|
|
530
|
+
#### 2.0.11:
|
|
531
|
+
|
|
532
|
+
- add log in http request handler
|
|
533
|
+
- fix AbstractAccessCondition signature
|
|
534
|
+
|
|
535
|
+
#### 2.0.9:
|
|
536
|
+
|
|
537
|
+
- fix AccessCondition (to use injection)
|
|
538
|
+
- fix ExpressWrapper & LambdaWrapper to resolve AbstractServerSocketManager
|
|
539
|
+
- remove getMountedEndpointInfo from AbstractHttpRequestHandler, move to ServerGlobalStore
|
|
540
|
+
- fix property assignment in isolated transactional object
|
|
541
|
+
- add log for AwsSocketManager, fix connection problem to redis
|
|
542
|
+
|
|
543
|
+
#### 2.0.1:
|
|
544
|
+
|
|
545
|
+
- fix some import redundancies
|
|
546
|
+
|
|
547
|
+
#### 2.0.0:
|
|
548
|
+
|
|
549
|
+
- Upgrade with claire core 2.0.0
|
|
550
|
+
|
|
551
|
+
#### 1.6.4:
|
|
552
|
+
|
|
553
|
+
- Add pong socket response
|
|
554
|
+
|
|
555
|
+
#### 1.6.3:
|
|
556
|
+
|
|
557
|
+
- AbstractDatabaseMigrator: supply migration directory to migrate and rollback functions
|
|
558
|
+
- fix migrator cli path
|
|
559
|
+
|
|
560
|
+
#### 1.6.1:
|
|
561
|
+
|
|
562
|
+
- AbstractPrincipal -> IPrincipal (for serialization)
|
|
563
|
+
|
|
564
|
+
#### 1.5.51:
|
|
565
|
+
|
|
566
|
+
- fix AwsSocketManager not release redis connection, add more log
|
|
567
|
+
- fix ExpressWrapper unhandled socket promise exception
|
|
568
|
+
|
|
569
|
+
#### 1.5.39 (Breaking change):
|
|
570
|
+
|
|
571
|
+
- fix properties null check
|
|
572
|
+
- socket multiplex
|
|
573
|
+
|
|
574
|
+
#### 1.5.28:
|
|
575
|
+
|
|
576
|
+
- fix server socket authId => authInfo
|
|
577
|
+
|
|
578
|
+
#### 1.5.26:
|
|
579
|
+
|
|
580
|
+
- add OwnedResourceAccessCondition
|
|
581
|
+
|
|
582
|
+
#### 1.5.24:
|
|
583
|
+
|
|
584
|
+
- replace HttpRequest.getPrincipalId by HttpRequest.getAuthInfo
|
|
585
|
+
|
|
586
|
+
#### 1.5.23:
|
|
587
|
+
|
|
588
|
+
- fix ServerSocket
|
|
589
|
+
- fix not remove disconnect socket from socket manager
|
|
590
|
+
|
|
591
|
+
#### 1.5.15 (Breaking change):
|
|
592
|
+
|
|
593
|
+
- remove getValue / setValue in HttpRequest
|
|
594
|
+
- add setPrincipalId / getPrincipalId in HttpRequest
|
|
595
|
+
- adjust Socket Server
|
|
596
|
+
|
|
597
|
+
#### 1.5.12:
|
|
598
|
+
|
|
599
|
+
- handle socket in lambda wrapper
|
|
600
|
+
|
|
601
|
+
#### 1.5.11:
|
|
602
|
+
|
|
603
|
+
- fix ServerSocket
|
|
604
|
+
|
|
605
|
+
#### 1.5.6:
|
|
606
|
+
|
|
607
|
+
- update claire core
|
|
608
|
+
- fix ServerSocket
|
|
609
|
+
|
|
610
|
+
#### 1.5.4:
|
|
611
|
+
|
|
612
|
+
- run middleware before socket authentication
|
|
613
|
+
|
|
614
|
+
#### 1.5.2:
|
|
615
|
+
|
|
616
|
+
- add websocket support in ExpressWrapper
|
|
617
|
+
|
|
618
|
+
#### 1.5.1:
|
|
619
|
+
|
|
620
|
+
- update claire core
|
|
621
|
+
|
|
622
|
+
#### 1.5.0:
|
|
623
|
+
|
|
624
|
+
- revert back to 1.3.38
|
|
625
|
+
|
|
626
|
+
#### 1.3.38:
|
|
627
|
+
|
|
628
|
+
- export QueryCondition
|
|
629
|
+
|
|
630
|
+
#### 1.3.37:
|
|
631
|
+
|
|
632
|
+
- return error name instead of TRANSACTION_ERROR
|
|
633
|
+
- update claire core
|
|
634
|
+
|
|
635
|
+
#### 1.3.36:
|
|
636
|
+
|
|
637
|
+
- fix missing down script of unique constraint in database migrator
|
|
638
|
+
- add rollback to database migrator
|
|
639
|
+
|
|
640
|
+
#### 1.3.34:
|
|
641
|
+
|
|
642
|
+
- export AbstractDatabaseMigrator
|
|
643
|
+
- fix DefaultSqlDatabaseMigrator not generate new unique constraints for new field
|
|
644
|
+
|
|
645
|
+
#### 1.3.32:
|
|
646
|
+
|
|
647
|
+
- fix DefaultSqlDatabaseMigrator missing foreign constraint check when add/remove fields
|
|
648
|
+
|
|
649
|
+
#### 1.3.31:
|
|
650
|
+
|
|
651
|
+
- update server modify
|
|
652
|
+
|
|
653
|
+
#### 1.3.30:
|
|
654
|
+
|
|
655
|
+
- adjust body raw parser in ExpressWrapper
|
|
656
|
+
|
|
657
|
+
#### 1.3.28:
|
|
658
|
+
|
|
659
|
+
- fix not supply HttpResponse in Http handler
|
|
660
|
+
|
|
661
|
+
#### 1.3.27:
|
|
662
|
+
|
|
663
|
+
- add body parser raw middleware
|
|
664
|
+
|
|
665
|
+
#### 1.3.26:
|
|
666
|
+
|
|
667
|
+
- modify express wrapper send result
|
|
668
|
+
|
|
669
|
+
#### 1.3.25:
|
|
670
|
+
|
|
671
|
+
- add request options mapper in LambdaWrapper
|
|
672
|
+
|
|
673
|
+
#### 1.3.24:
|
|
674
|
+
|
|
675
|
+
- add LambdaWrapper
|
|
676
|
+
|
|
677
|
+
#### 1.3.23:
|
|
678
|
+
|
|
679
|
+
- add ExpressWrapper
|
|
680
|
+
|
|
681
|
+
#### 1.3.22:
|
|
682
|
+
|
|
683
|
+
- merge accessConditions in CrudHttpController
|
|
684
|
+
|
|
685
|
+
#### 1.3.21:
|
|
686
|
+
|
|
687
|
+
- DefaultSqlDatabaseMigrator will no longer generate remove table query.
|
|
688
|
+
|
|
689
|
+
#### 1.3.20:
|
|
690
|
+
|
|
691
|
+
- add permissionGroup and displayName metadata for EndpointMetadata
|
|
692
|
+
|
|
693
|
+
#### 1.3.16:
|
|
694
|
+
|
|
695
|
+
- update claire core
|
|
696
|
+
- allow empty records for CrudHttpController createMany
|
|
697
|
+
|
|
698
|
+
#### 1.3.15:
|
|
699
|
+
|
|
700
|
+
- fix incorrect parse Http params
|
|
701
|
+
|
|
702
|
+
#### 1.3.13:
|
|
703
|
+
|
|
704
|
+
- update claire core
|
|
705
|
+
|
|
706
|
+
#### 1.3.12:
|
|
707
|
+
|
|
708
|
+
- re-introduce terser plugin
|
|
709
|
+
- update claire core
|
|
710
|
+
|
|
711
|
+
#### 1.3.10:
|
|
712
|
+
|
|
713
|
+
- emit source map
|
|
714
|
+
|
|
715
|
+
#### 1.3.9:
|
|
716
|
+
|
|
717
|
+
- update claire core
|
|
718
|
+
|
|
719
|
+
#### 1.3.8:
|
|
720
|
+
|
|
721
|
+
- fix missing HttpResponse export
|
|
722
|
+
|
|
723
|
+
#### 1.3.7:
|
|
724
|
+
|
|
725
|
+
- upgrade Clairejs/core
|
|
726
|
+
|
|
727
|
+
#### 1.3.6:
|
|
728
|
+
|
|
729
|
+
- upgrade Clairejs/core
|
|
730
|
+
|
|
731
|
+
- interpret @ServerTime and @Timestamp
|
|
732
|
+
|
|
733
|
+
#### 1.3.2 (Breaking change):
|
|
734
|
+
|
|
735
|
+
- re-introduce http response to controller
|
|
736
|
+
|
|
737
|
+
#### 1.2.6:
|
|
738
|
+
|
|
739
|
+
- add unaccent operators (uSUBSTR, iuSUBSTR)
|
|
740
|
+
|
|
741
|
+
#### 1.2.5:
|
|
742
|
+
|
|
743
|
+
- allow multiple calls to boot
|
|
744
|
+
|
|
745
|
+
#### 1.2.4:
|
|
746
|
+
|
|
747
|
+
- fix http request handler parse get and delete request body
|
|
748
|
+
|
|
749
|
+
#### 1.2.2:
|
|
750
|
+
|
|
751
|
+
- split database migrator
|
|
752
|
+
- rework of ClaireServer to be request handler
|
|
753
|
+
- remove dependency of expressjs and its middleware
|
|
754
|
+
|
|
755
|
+
#### 1.1.9:
|
|
756
|
+
|
|
757
|
+
- revert 1.1.8
|
|
758
|
+
|
|
759
|
+
#### 1.1.8:
|
|
760
|
+
|
|
761
|
+
- init app when getExpressApp
|
|
762
|
+
|
|
763
|
+
#### 1.1.7:
|
|
764
|
+
|
|
765
|
+
- add pg-hstore as dependency
|
|
766
|
+
|
|
767
|
+
#### 1.1.6:
|
|
768
|
+
|
|
769
|
+
- fix autoCommit in @Transactional
|
|
770
|
+
|
|
771
|
+
#### 1.1.5:
|
|
772
|
+
|
|
773
|
+
- use AbstractModel id field for primary key query
|
|
774
|
+
|
|
775
|
+
#### 1.1.3:
|
|
776
|
+
|
|
777
|
+
- fix returning ids for updateMany and deleteMany
|
|
778
|
+
|
|
779
|
+
#### 1.1.2:
|
|
780
|
+
|
|
781
|
+
- fix not auto generate migration when changing cascade of @FK
|
|
782
|
+
- set build target es6
|
|
783
|
+
|
|
784
|
+
#### 1.1.0:
|
|
785
|
+
|
|
786
|
+
- fix foreign key cascase delete
|
|
787
|
+
- fix auto commit of crud http controller
|
|
788
|
+
- return array of ids when updateMany or deleteMany
|
|
789
|
+
|
|
790
|
+
#### 1.0.22:
|
|
791
|
+
|
|
792
|
+
- CrudHttpController exposes static validators
|
|
793
|
+
|
|
794
|
+
#### 1.0.21:
|
|
795
|
+
|
|
796
|
+
- update Clairejs Core
|
|
797
|
+
|
|
798
|
+
#### 1.0.20:
|
|
799
|
+
|
|
800
|
+
- update CrudHttpController for query change
|
|
801
|
+
|
|
802
|
+
#### 1.0.17:
|
|
803
|
+
|
|
804
|
+
- perform json parsing for fields of request params and queries
|
|
805
|
+
|
|
806
|
+
#### 1.0.15:
|
|
807
|
+
|
|
808
|
+
- fix @Searchable in CrudHttpController
|
|
809
|
+
|
|
810
|
+
#### 1.0.13:
|
|
811
|
+
|
|
812
|
+
- add iSUBSTR operator to search for case insensitive string
|
|
813
|
+
|
|
814
|
+
#### 1.0.9:
|
|
815
|
+
|
|
816
|
+
- fix CrudHttpController endpoint naming
|
|
817
|
+
|
|
818
|
+
#### 1.0.8:
|
|
819
|
+
|
|
820
|
+
- fix DefaultHttpRequestHandler upgrade Http
|
|
821
|
+
|
|
822
|
+
#### 1.0.6:
|
|
823
|
+
|
|
824
|
+
- fix DefaultHttpRequestHandler cannot return request body when no validator is provided
|