@rapidrest/service-core 1.0.0-beta.2 → 1.0.0-beta.4

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 (152) hide show
  1. package/dist/lib/OpenApiSpec.js +1 -1
  2. package/dist/lib/OpenApiSpec.js.map +1 -1
  3. package/dist/lib/models/ModelUtils.js +1 -1
  4. package/dist/lib/models/ModelUtils.js.map +1 -1
  5. package/dist/lib/models/RepoUtils.js +2 -2
  6. package/dist/lib/models/RepoUtils.js.map +1 -1
  7. package/dist/lib/routes/MetricsRoute.js +1 -1
  8. package/dist/lib/routes/MetricsRoute.js.map +1 -1
  9. package/dist/lib/routes/RouteUtils.js +1 -1
  10. package/dist/lib/routes/RouteUtils.js.map +1 -1
  11. package/dist/types/models/RepoUtils.d.ts +2 -1
  12. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/MongoRepository.md +1 -1
  13. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/RedisConnection.md +1 -1
  14. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/Repository.md +1 -1
  15. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Default.md +1 -1
  16. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Description.md +1 -1
  17. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Document.md +1 -1
  18. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Example.md +1 -1
  19. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Format.md +1 -1
  20. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Returns.md +1 -1
  21. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Summary.md +1 -1
  22. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Tags.md +1 -1
  23. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/TypeInfo.md +1 -1
  24. package/docs/reference/@rapidrest/namespaces/DocDecorators/interfaces/DocumentsData.md +7 -7
  25. package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/EventListener.md +1 -1
  26. package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/OnEvent.md +1 -1
  27. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Cache.md +1 -1
  28. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/ChildEntity.md +1 -1
  29. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/DataStore.md +1 -1
  30. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Identifier.md +1 -1
  31. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Protect.md +1 -1
  32. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Reference.md +1 -1
  33. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Shard.md +1 -1
  34. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/TrackChanges.md +1 -1
  35. package/docs/reference/@rapidrest/namespaces/ModelDecorators/interfaces/PendingTypeOrmColumn.md +5 -5
  36. package/docs/reference/@rapidrest/namespaces/ModelDecorators/variables/pendingTypeOrmColumns.md +1 -1
  37. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Column.md +1 -1
  38. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Entity.md +1 -1
  39. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Index.md +3 -3
  40. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/PrimaryColumn.md +1 -1
  41. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Unique.md +3 -3
  42. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getColumnMetadata.md +1 -1
  43. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getEntityName.md +1 -1
  44. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getIndexMetadata.md +1 -1
  45. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnInfo.md +4 -4
  46. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnOptions.md +5 -5
  47. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexInfo.md +4 -4
  48. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexOptions.md +5 -5
  49. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/After.md +1 -1
  50. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Auth.md +1 -1
  51. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/AuthResult.md +1 -1
  52. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Before.md +1 -1
  53. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/ContentType.md +1 -1
  54. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Delete.md +1 -1
  55. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Get.md +1 -1
  56. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Head.md +1 -1
  57. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Header.md +1 -1
  58. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Method.md +1 -1
  59. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Model.md +1 -1
  60. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Options.md +1 -1
  61. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Param.md +1 -1
  62. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Patch.md +1 -1
  63. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Post.md +1 -1
  64. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Protect.md +1 -1
  65. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Put.md +1 -1
  66. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Query.md +1 -1
  67. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Request.md +1 -1
  68. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/RequiresRole.md +1 -1
  69. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Response.md +1 -1
  70. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Route.md +1 -1
  71. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Socket.md +1 -1
  72. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/User.md +1 -1
  73. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Validate.md +1 -1
  74. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/WebSocket.md +1 -1
  75. package/docs/reference/classes/ACLUtils.md +9 -9
  76. package/docs/reference/classes/AdminRoute.md +3 -3
  77. package/docs/reference/classes/AuthMiddleware.md +6 -6
  78. package/docs/reference/classes/BackgroundService.md +8 -8
  79. package/docs/reference/classes/BackgroundServiceManager.md +7 -7
  80. package/docs/reference/classes/BaseEntity.md +6 -6
  81. package/docs/reference/classes/BaseMongoEntity.md +7 -7
  82. package/docs/reference/classes/BasicStrategy.md +5 -5
  83. package/docs/reference/classes/BasicStrategyOptions.md +7 -7
  84. package/docs/reference/classes/BulkError.md +3 -3
  85. package/docs/reference/classes/ConnectionManager.md +4 -4
  86. package/docs/reference/classes/EventListenerManager.md +5 -5
  87. package/docs/reference/classes/HttpRouter.md +16 -16
  88. package/docs/reference/classes/JWTStrategy.md +5 -5
  89. package/docs/reference/classes/JWTStrategyOptions.md +8 -8
  90. package/docs/reference/classes/MetricsRoute.md +4 -4
  91. package/docs/reference/classes/ModelRoute.md +26 -26
  92. package/docs/reference/classes/ModelUtils.md +50 -50
  93. package/docs/reference/classes/MongoConnection.md +12 -12
  94. package/docs/reference/classes/MongoRepository.md +17 -17
  95. package/docs/reference/classes/MongoSchemaSync.md +3 -3
  96. package/docs/reference/classes/NetUtils.md +3 -3
  97. package/docs/reference/classes/NotificationUtils.md +3 -3
  98. package/docs/reference/classes/ObjectFactory.md +3 -3
  99. package/docs/reference/classes/OpenAPIRoute.md +5 -5
  100. package/docs/reference/classes/OpenApiSpec.md +45 -45
  101. package/docs/reference/classes/RecoverableBaseEntity.md +7 -7
  102. package/docs/reference/classes/RecoverableBaseMongoEntity.md +8 -8
  103. package/docs/reference/classes/RedisTransport.md +4 -4
  104. package/docs/reference/classes/RepoUtils.md +28 -28
  105. package/docs/reference/classes/RouteUtils.md +7 -7
  106. package/docs/reference/classes/Server.md +26 -26
  107. package/docs/reference/classes/SimpleEntity.md +3 -3
  108. package/docs/reference/classes/SimpleMongoEntity.md +4 -4
  109. package/docs/reference/classes/StatusExtraData.md +4 -4
  110. package/docs/reference/classes/StatusRoute.md +1 -1
  111. package/docs/reference/classes/UWSRequest.md +16 -16
  112. package/docs/reference/classes/UWSResponse.md +13 -13
  113. package/docs/reference/classes/UWSWebSocketShim.md +5 -5
  114. package/docs/reference/enumerations/ACLAction.md +7 -7
  115. package/docs/reference/enumerations/ApiErrorMessages.md +15 -15
  116. package/docs/reference/enumerations/ApiErrors.md +15 -15
  117. package/docs/reference/functions/createWebSocketStream.md +1 -1
  118. package/docs/reference/functions/isSqlDataSource.md +1 -1
  119. package/docs/reference/functions/readBody.md +1 -1
  120. package/docs/reference/functions/resolveCollectionName.md +1 -1
  121. package/docs/reference/functions/runChain.md +1 -1
  122. package/docs/reference/functions/snakeCase.md +1 -1
  123. package/docs/reference/interfaces/ACLRecord.md +8 -8
  124. package/docs/reference/interfaces/AccessControlList.md +5 -5
  125. package/docs/reference/interfaces/AuthResult.md +5 -5
  126. package/docs/reference/interfaces/AuthStrategy.md +4 -4
  127. package/docs/reference/interfaces/CreateRequestOptions.md +9 -9
  128. package/docs/reference/interfaces/DeleteRequestOptions.md +11 -11
  129. package/docs/reference/interfaces/FindRequestOptions.md +10 -10
  130. package/docs/reference/interfaces/HttpRequest.md +15 -15
  131. package/docs/reference/interfaces/HttpResponse.md +11 -11
  132. package/docs/reference/interfaces/JWTAuthResult.md +6 -6
  133. package/docs/reference/interfaces/RepoCreateOptions.md +7 -7
  134. package/docs/reference/interfaces/RepoDeleteOptions.md +9 -9
  135. package/docs/reference/interfaces/RepoFindOptions.md +11 -11
  136. package/docs/reference/interfaces/RepoOperationOptions.md +6 -6
  137. package/docs/reference/interfaces/RepoUpdateOptions.md +8 -8
  138. package/docs/reference/interfaces/RequestOptions.md +8 -8
  139. package/docs/reference/interfaces/RequestWS.md +17 -17
  140. package/docs/reference/interfaces/TruncateRequestOptions.md +13 -13
  141. package/docs/reference/interfaces/UpdateRequestOptions.md +11 -11
  142. package/docs/reference/type-aliases/ErrorHandler.md +1 -1
  143. package/docs/reference/type-aliases/NextFunction.md +1 -1
  144. package/docs/reference/type-aliases/OneOrMany.md +1 -1
  145. package/docs/reference/type-aliases/OneOrNull.md +1 -1
  146. package/docs/reference/type-aliases/PartialBaseEntity.md +1 -1
  147. package/docs/reference/type-aliases/PartialSimpleEntity.md +1 -1
  148. package/docs/reference/type-aliases/RequestHandler.md +1 -1
  149. package/docs/reference/type-aliases/UpdateObject.md +1 -1
  150. package/docs/reference/type-aliases/WsUpgradeAuth.md +1 -1
  151. package/docs/reference/type-aliases/WsUpgradeAuthResult.md +5 -5
  152. package/package.json +3 -3
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: RequestOptions
8
8
 
9
- Defined in: [src/routes/ModelRoute.ts:25](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L25)
9
+ Defined in: [src/routes/ModelRoute.ts:25](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L25)
10
10
 
11
11
  The set of options required by all request handlers.
12
12
 
@@ -27,7 +27,7 @@ The set of options required by all request handlers.
27
27
 
28
28
  > `optional` **ignoreACL?**: `boolean`
29
29
 
30
- Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
30
+ Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L32)
31
31
 
32
32
  Set to `true` to ignore the ACL permissions check.
33
33
 
@@ -41,7 +41,7 @@ Set to `true` to ignore the ACL permissions check.
41
41
 
42
42
  > `optional` **pushChannels?**: `string`[]
43
43
 
44
- Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
44
+ Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L34)
45
45
 
46
46
  An additional list of channel names to send push notifications to.
47
47
 
@@ -55,7 +55,7 @@ An additional list of channel names to send push notifications to.
55
55
 
56
56
  > `optional` **recordEvent?**: `boolean`
57
57
 
58
- Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
58
+ Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L36)
59
59
 
60
60
  Indicates if a telemetry event should be broadcast for the request.
61
61
 
@@ -69,7 +69,7 @@ Indicates if a telemetry event should be broadcast for the request.
69
69
 
70
70
  > `optional` **req?**: [`HttpRequest`](HttpRequest.md)
71
71
 
72
- Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L27)
72
+ Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L27)
73
73
 
74
74
  The originating client request.
75
75
 
@@ -79,7 +79,7 @@ The originating client request.
79
79
 
80
80
  > `optional` **res?**: [`HttpResponse`](HttpResponse.md)
81
81
 
82
- Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L29)
82
+ Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L29)
83
83
 
84
84
  The outgoing client response.
85
85
 
@@ -89,7 +89,7 @@ The outgoing client response.
89
89
 
90
90
  > `optional` **skipPush?**: `boolean`
91
91
 
92
- Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
92
+ Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L38)
93
93
 
94
94
  Set to `true` to not send a push notification.
95
95
 
@@ -103,7 +103,7 @@ Set to `true` to not send a push notification.
103
103
 
104
104
  > `optional` **user?**: `JWTUser`
105
105
 
106
- Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
106
+ Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L40)
107
107
 
108
108
  The authenticated user making the request.
109
109
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: RequestWS
8
8
 
9
- Defined in: [src/http/WebSocket.ts:14](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/WebSocket.ts#L14)
9
+ Defined in: [src/http/WebSocket.ts:14](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/WebSocket.ts#L14)
10
10
 
11
11
  HTTP request type for handling WebSocket upgrade requests.
12
12
  Extends `HttpRequest` with WebSocket-specific properties set by the router
@@ -28,7 +28,7 @@ Allow arbitrary per-request properties (e.g. req.websocket, req.wsHandled).
28
28
 
29
29
  > `optional` **authPayload?**: `any`
30
30
 
31
- Defined in: [src/http/types.ts:26](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L26)
31
+ Defined in: [src/http/types.ts:26](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L26)
32
32
 
33
33
  Full decoded JWT payload, set by JWT auth middleware.
34
34
 
@@ -42,7 +42,7 @@ Full decoded JWT payload, set by JWT auth middleware.
42
42
 
43
43
  > `optional` **authToken?**: `string`
44
44
 
45
- Defined in: [src/http/types.ts:28](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L28)
45
+ Defined in: [src/http/types.ts:28](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L28)
46
46
 
47
47
  Raw JWT token string, set by JWT auth middleware.
48
48
 
@@ -56,7 +56,7 @@ Raw JWT token string, set by JWT auth middleware.
56
56
 
57
57
  > **body**: `any`
58
58
 
59
- Defined in: [src/http/types.ts:17](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L17)
59
+ Defined in: [src/http/types.ts:17](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L17)
60
60
 
61
61
  #### Inherited from
62
62
 
@@ -68,7 +68,7 @@ Defined in: [src/http/types.ts:17](https://github.com/rapidrest/service-core/blo
68
68
 
69
69
  > **cookies**: `Record`\<`string`, `string`\>
70
70
 
71
- Defined in: [src/http/types.ts:19](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L19)
71
+ Defined in: [src/http/types.ts:19](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L19)
72
72
 
73
73
  #### Inherited from
74
74
 
@@ -80,7 +80,7 @@ Defined in: [src/http/types.ts:19](https://github.com/rapidrest/service-core/blo
80
80
 
81
81
  > **headers**: `Record`\<`string`, `string` \| `string`[] \| `undefined`\>
82
82
 
83
- Defined in: [src/http/types.ts:14](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L14)
83
+ Defined in: [src/http/types.ts:14](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L14)
84
84
 
85
85
  #### Inherited from
86
86
 
@@ -92,7 +92,7 @@ Defined in: [src/http/types.ts:14](https://github.com/rapidrest/service-core/blo
92
92
 
93
93
  > **method**: `string`
94
94
 
95
- Defined in: [src/http/types.ts:11](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L11)
95
+ Defined in: [src/http/types.ts:11](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L11)
96
96
 
97
97
  #### Inherited from
98
98
 
@@ -104,7 +104,7 @@ Defined in: [src/http/types.ts:11](https://github.com/rapidrest/service-core/blo
104
104
 
105
105
  > **params**: `Record`\<`string`, `string`\>
106
106
 
107
- Defined in: [src/http/types.ts:15](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L15)
107
+ Defined in: [src/http/types.ts:15](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L15)
108
108
 
109
109
  #### Inherited from
110
110
 
@@ -116,7 +116,7 @@ Defined in: [src/http/types.ts:15](https://github.com/rapidrest/service-core/blo
116
116
 
117
117
  > **path**: `string`
118
118
 
119
- Defined in: [src/http/types.ts:12](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L12)
119
+ Defined in: [src/http/types.ts:12](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L12)
120
120
 
121
121
  #### Inherited from
122
122
 
@@ -128,7 +128,7 @@ Defined in: [src/http/types.ts:12](https://github.com/rapidrest/service-core/blo
128
128
 
129
129
  > **query**: `Record`\<`string`, `string` \| `string`[]\>
130
130
 
131
- Defined in: [src/http/types.ts:16](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L16)
131
+ Defined in: [src/http/types.ts:16](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L16)
132
132
 
133
133
  #### Inherited from
134
134
 
@@ -140,7 +140,7 @@ Defined in: [src/http/types.ts:16](https://github.com/rapidrest/service-core/blo
140
140
 
141
141
  > `optional` **rawBody?**: `Buffer`\<`ArrayBufferLike`\>
142
142
 
143
- Defined in: [src/http/types.ts:18](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L18)
143
+ Defined in: [src/http/types.ts:18](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L18)
144
144
 
145
145
  #### Inherited from
146
146
 
@@ -152,7 +152,7 @@ Defined in: [src/http/types.ts:18](https://github.com/rapidrest/service-core/blo
152
152
 
153
153
  > **signedCookies**: `Record`\<`string`, `string`\>
154
154
 
155
- Defined in: [src/http/types.ts:20](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L20)
155
+ Defined in: [src/http/types.ts:20](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L20)
156
156
 
157
157
  #### Inherited from
158
158
 
@@ -164,7 +164,7 @@ Defined in: [src/http/types.ts:20](https://github.com/rapidrest/service-core/blo
164
164
 
165
165
  > **socket**: `object`
166
166
 
167
- Defined in: [src/http/types.ts:22](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L22)
167
+ Defined in: [src/http/types.ts:22](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L22)
168
168
 
169
169
  Minimal socket interface; populated with remote address for IP extraction.
170
170
 
@@ -182,7 +182,7 @@ Minimal socket interface; populated with remote address for IP extraction.
182
182
 
183
183
  > **url**: `string`
184
184
 
185
- Defined in: [src/http/types.ts:13](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L13)
185
+ Defined in: [src/http/types.ts:13](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L13)
186
186
 
187
187
  #### Inherited from
188
188
 
@@ -194,7 +194,7 @@ Defined in: [src/http/types.ts:13](https://github.com/rapidrest/service-core/blo
194
194
 
195
195
  > `optional` **user?**: `any`
196
196
 
197
- Defined in: [src/http/types.ts:24](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L24)
197
+ Defined in: [src/http/types.ts:24](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L24)
198
198
 
199
199
  Set by JWT auth middleware after successful token verification.
200
200
 
@@ -208,7 +208,7 @@ Set by JWT auth middleware after successful token verification.
208
208
 
209
209
  > **websocket**: [`UWSWebSocketShim`](../classes/UWSWebSocketShim.md) \| `undefined`
210
210
 
211
- Defined in: [src/http/WebSocket.ts:18](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/WebSocket.ts#L18)
211
+ Defined in: [src/http/WebSocket.ts:18](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/WebSocket.ts#L18)
212
212
 
213
213
  The uWS WebSocket shim for this connection. Set on `open` after the upgrade.
214
214
 
@@ -218,7 +218,7 @@ The uWS WebSocket shim for this connection. Set on `open` after the upgrade.
218
218
 
219
219
  > **wsHandled**: `boolean`
220
220
 
221
- Defined in: [src/http/WebSocket.ts:25](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/WebSocket.ts#L25)
221
+ Defined in: [src/http/WebSocket.ts:25](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/WebSocket.ts#L25)
222
222
 
223
223
  Indicates that the WebSocket handler has processed this connection and the
224
224
  connection should remain open. Set to `true` by `wrapMiddleware` when a
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: TruncateRequestOptions
8
8
 
9
- Defined in: [src/routes/ModelRoute.ts:72](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L72)
9
+ Defined in: [src/routes/ModelRoute.ts:72](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L72)
10
10
 
11
11
  The set of options required by truncate request handlers.
12
12
 
@@ -20,7 +20,7 @@ The set of options required by truncate request handlers.
20
20
 
21
21
  > `optional` **ignoreACL?**: `boolean`
22
22
 
23
- Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
23
+ Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L32)
24
24
 
25
25
  Set to `true` to ignore the ACL permissions check.
26
26
 
@@ -34,7 +34,7 @@ Set to `true` to ignore the ACL permissions check.
34
34
 
35
35
  > **params**: `any`
36
36
 
37
- Defined in: [src/routes/ModelRoute.ts:74](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L74)
37
+ Defined in: [src/routes/ModelRoute.ts:74](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L74)
38
38
 
39
39
  The list of URL parameters to use in the search.
40
40
 
@@ -44,7 +44,7 @@ The list of URL parameters to use in the search.
44
44
 
45
45
  > `optional` **productUid?**: `string`
46
46
 
47
- Defined in: [src/routes/ModelRoute.ts:48](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L48)
47
+ Defined in: [src/routes/ModelRoute.ts:48](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L48)
48
48
 
49
49
  The desired product uid of the resource to delete.
50
50
 
@@ -58,7 +58,7 @@ The desired product uid of the resource to delete.
58
58
 
59
59
  > `optional` **purge?**: `boolean`
60
60
 
61
- Defined in: [src/routes/ModelRoute.ts:50](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L50)
61
+ Defined in: [src/routes/ModelRoute.ts:50](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L50)
62
62
 
63
63
  Set to true to permanently remove the object from the database (if applicable).
64
64
 
@@ -72,7 +72,7 @@ Set to true to permanently remove the object from the database (if applicable).
72
72
 
73
73
  > `optional` **pushChannels?**: `string`[]
74
74
 
75
- Defined in: [src/routes/ModelRoute.ts:76](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L76)
75
+ Defined in: [src/routes/ModelRoute.ts:76](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L76)
76
76
 
77
77
  An additional list of channel names to send push notifications to.
78
78
 
@@ -86,7 +86,7 @@ An additional list of channel names to send push notifications to.
86
86
 
87
87
  > **query**: `any`
88
88
 
89
- Defined in: [src/routes/ModelRoute.ts:78](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L78)
89
+ Defined in: [src/routes/ModelRoute.ts:78](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L78)
90
90
 
91
91
  The list of query parameters to use in the search.
92
92
 
@@ -96,7 +96,7 @@ The list of query parameters to use in the search.
96
96
 
97
97
  > `optional` **recordEvent?**: `boolean`
98
98
 
99
- Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
99
+ Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L36)
100
100
 
101
101
  Indicates if a telemetry event should be broadcast for the request.
102
102
 
@@ -110,7 +110,7 @@ Indicates if a telemetry event should be broadcast for the request.
110
110
 
111
111
  > `optional` **req?**: [`HttpRequest`](HttpRequest.md)
112
112
 
113
- Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L27)
113
+ Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L27)
114
114
 
115
115
  The originating client request.
116
116
 
@@ -124,7 +124,7 @@ The originating client request.
124
124
 
125
125
  > `optional` **res?**: [`HttpResponse`](HttpResponse.md)
126
126
 
127
- Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L29)
127
+ Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L29)
128
128
 
129
129
  The outgoing client response.
130
130
 
@@ -138,7 +138,7 @@ The outgoing client response.
138
138
 
139
139
  > `optional` **skipPush?**: `boolean`
140
140
 
141
- Defined in: [src/routes/ModelRoute.ts:80](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L80)
141
+ Defined in: [src/routes/ModelRoute.ts:80](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L80)
142
142
 
143
143
  Set to `true` to not send a push notification.
144
144
 
@@ -152,7 +152,7 @@ Set to `true` to not send a push notification.
152
152
 
153
153
  > `optional` **user?**: `JWTUser`
154
154
 
155
- Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
155
+ Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L40)
156
156
 
157
157
  The authenticated user making the request.
158
158
 
@@ -166,7 +166,7 @@ The authenticated user making the request.
166
166
 
167
167
  > `optional` **version?**: `string` \| `number`
168
168
 
169
- Defined in: [src/routes/ModelRoute.ts:56](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L56)
169
+ Defined in: [src/routes/ModelRoute.ts:56](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L56)
170
170
 
171
171
  The desired version number of the resource to delete.
172
172
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: UpdateRequestOptions\<T\>
8
8
 
9
- Defined in: [src/routes/ModelRoute.ts:89](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L89)
9
+ Defined in: [src/routes/ModelRoute.ts:89](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L89)
10
10
 
11
11
  The set of options required by update request handlers.
12
12
 
@@ -26,7 +26,7 @@ The set of options required by update request handlers.
26
26
 
27
27
  > `optional` **existing?**: `T` \| `null`
28
28
 
29
- Defined in: [src/routes/ModelRoute.ts:91](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L91)
29
+ Defined in: [src/routes/ModelRoute.ts:91](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L91)
30
30
 
31
31
  The existing object that has already been recently pulled from the datastore.
32
32
 
@@ -36,7 +36,7 @@ The existing object that has already been recently pulled from the datastore.
36
36
 
37
37
  > `optional` **ignoreACL?**: `boolean`
38
38
 
39
- Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
39
+ Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L32)
40
40
 
41
41
  Set to `true` to ignore the ACL permissions check.
42
42
 
@@ -50,7 +50,7 @@ Set to `true` to ignore the ACL permissions check.
50
50
 
51
51
  > `optional` **productUid?**: `string`
52
52
 
53
- Defined in: [src/routes/ModelRoute.ts:93](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L93)
53
+ Defined in: [src/routes/ModelRoute.ts:93](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L93)
54
54
 
55
55
  The desired product uid of the resource to update.
56
56
 
@@ -60,7 +60,7 @@ The desired product uid of the resource to update.
60
60
 
61
61
  > `optional` **pushChannels?**: `string`[]
62
62
 
63
- Defined in: [src/routes/ModelRoute.ts:95](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L95)
63
+ Defined in: [src/routes/ModelRoute.ts:95](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L95)
64
64
 
65
65
  An additional list of channel names to send push notifications to.
66
66
 
@@ -74,7 +74,7 @@ An additional list of channel names to send push notifications to.
74
74
 
75
75
  > `optional` **recordEvent?**: `boolean`
76
76
 
77
- Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
77
+ Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L36)
78
78
 
79
79
  Indicates if a telemetry event should be broadcast for the request.
80
80
 
@@ -88,7 +88,7 @@ Indicates if a telemetry event should be broadcast for the request.
88
88
 
89
89
  > `optional` **req?**: [`HttpRequest`](HttpRequest.md)
90
90
 
91
- Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L27)
91
+ Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L27)
92
92
 
93
93
  The originating client request.
94
94
 
@@ -102,7 +102,7 @@ The originating client request.
102
102
 
103
103
  > `optional` **res?**: [`HttpResponse`](HttpResponse.md)
104
104
 
105
- Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L29)
105
+ Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L29)
106
106
 
107
107
  The outgoing client response.
108
108
 
@@ -116,7 +116,7 @@ The outgoing client response.
116
116
 
117
117
  > `optional` **skipPush?**: `boolean`
118
118
 
119
- Defined in: [src/routes/ModelRoute.ts:97](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L97)
119
+ Defined in: [src/routes/ModelRoute.ts:97](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L97)
120
120
 
121
121
  Set to `true` to not send a push notification.
122
122
 
@@ -130,7 +130,7 @@ Set to `true` to not send a push notification.
130
130
 
131
131
  > `optional` **user?**: `JWTUser`
132
132
 
133
- Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
133
+ Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L40)
134
134
 
135
135
  The authenticated user making the request.
136
136
 
@@ -144,6 +144,6 @@ The authenticated user making the request.
144
144
 
145
145
  > `optional` **version?**: `string` \| `number`
146
146
 
147
- Defined in: [src/routes/ModelRoute.ts:99](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L99)
147
+ Defined in: [src/routes/ModelRoute.ts:99](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L99)
148
148
 
149
149
  The desired version number of the resource to update.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **ErrorHandler** = (`err`, `req`, `res`, `next`) => `void` \| `Promise`\<`void`\>
10
10
 
11
- Defined in: [src/http/types.ts:60](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L60)
11
+ Defined in: [src/http/types.ts:60](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L60)
12
12
 
13
13
  Standard 4-param error-handling middleware function.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **NextFunction** = (`err?`) => `void`
10
10
 
11
- Defined in: [src/http/types.ts:54](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L54)
11
+ Defined in: [src/http/types.ts:54](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L54)
12
12
 
13
13
  Standard Express-style next callback. Pass an error to trigger error handlers.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **OneOrMany**\<`T`\> = `T` \| `T`[]
10
10
 
11
- Defined in: [src/Types.ts:4](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/Types.ts#L4)
11
+ Defined in: [src/Types.ts:4](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/Types.ts#L4)
12
12
 
13
13
  Provides an explicit type declaration for `T | T[]`.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **OneOrNull**\<`T`\> = `T` \| `null`
10
10
 
11
- Defined in: [src/Types.ts:9](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/Types.ts#L9)
11
+ Defined in: [src/Types.ts:9](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/Types.ts#L9)
12
12
 
13
13
  Provides an explicit type declaration for `T | null`.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **PartialBaseEntity**\<`T`\> = `Partial`\<`T`\> & `Pick`\<`T`, `"uid"`\> & `Pick`\<`T`, `"version"`\>
10
10
 
11
- Defined in: [src/models/BaseEntity.ts:68](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/BaseEntity.ts#L68)
11
+ Defined in: [src/models/BaseEntity.ts:68](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/BaseEntity.ts#L68)
12
12
 
13
13
  ## Type Parameters
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **PartialSimpleEntity**\<`T`\> = `Partial`\<`T`\> & `Pick`\<`T`, `"uid"`\>
10
10
 
11
- Defined in: [src/models/SimpleEntity.ts:33](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/SimpleEntity.ts#L33)
11
+ Defined in: [src/models/SimpleEntity.ts:33](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/SimpleEntity.ts#L33)
12
12
 
13
13
  ## Type Parameters
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **RequestHandler** = (`req`, `res`, `next`) => `void` \| `Promise`\<`void`\>
10
10
 
11
- Defined in: [src/http/types.ts:57](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L57)
11
+ Defined in: [src/http/types.ts:57](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L57)
12
12
 
13
13
  Standard 3-param middleware function.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **UpdateObject**\<`T`\> = `Partial`\<`T`\> & `Pick`\<`T`, `"uid"`\>
10
10
 
11
- Defined in: [src/routes/ModelRoute.ts:84](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L84)
11
+ Defined in: [src/routes/ModelRoute.ts:84](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L84)
12
12
 
13
13
  A Partial type for a BaseEntity or SimpleEntity.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **WsUpgradeAuth** = (`req`) => [`WsUpgradeAuthResult`](WsUpgradeAuthResult.md)
10
10
 
11
- Defined in: [src/http/Router.ts:142](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/Router.ts#L142)
11
+ Defined in: [src/http/Router.ts:142](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/Router.ts#L142)
12
12
 
13
13
  Optional pre-upgrade auth function for WebSocket routes. Called synchronously inside the uWS
14
14
  `upgrade` callback — before the WebSocket handshake completes. Returning `{ reject: true }`
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **WsUpgradeAuthResult** = `object`
10
10
 
11
- Defined in: [src/http/Router.ts:127](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/Router.ts#L127)
11
+ Defined in: [src/http/Router.ts:127](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/Router.ts#L127)
12
12
 
13
13
  Result returned by a pre-upgrade WebSocket auth function.
14
14
 
@@ -18,7 +18,7 @@ Result returned by a pre-upgrade WebSocket auth function.
18
18
 
19
19
  > `optional` **authPayload?**: `any`
20
20
 
21
- Defined in: [src/http/Router.ts:129](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/Router.ts#L129)
21
+ Defined in: [src/http/Router.ts:129](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/Router.ts#L129)
22
22
 
23
23
  ***
24
24
 
@@ -26,7 +26,7 @@ Defined in: [src/http/Router.ts:129](https://github.com/rapidrest/service-core/b
26
26
 
27
27
  > `optional` **authToken?**: `string`
28
28
 
29
- Defined in: [src/http/Router.ts:130](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/Router.ts#L130)
29
+ Defined in: [src/http/Router.ts:130](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/Router.ts#L130)
30
30
 
31
31
  ***
32
32
 
@@ -34,7 +34,7 @@ Defined in: [src/http/Router.ts:130](https://github.com/rapidrest/service-core/b
34
34
 
35
35
  > `optional` **reject?**: `boolean`
36
36
 
37
- Defined in: [src/http/Router.ts:132](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/Router.ts#L132)
37
+ Defined in: [src/http/Router.ts:132](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/Router.ts#L132)
38
38
 
39
39
  Set to `true` to reject the connection with HTTP 401 before the WebSocket handshake.
40
40
 
@@ -44,4 +44,4 @@ Set to `true` to reject the connection with HTTP 401 before the WebSocket handsh
44
44
 
45
45
  > `optional` **user?**: `any`
46
46
 
47
- Defined in: [src/http/Router.ts:128](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/Router.ts#L128)
47
+ Defined in: [src/http/Router.ts:128](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/Router.ts#L128)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rapidrest/service-core",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.4",
4
4
  "description": "Provides all core functionality for RapidREST based backend services.",
5
5
  "repository": "https://github.com/rapidrest/service-core.git",
6
6
  "author": "RapidREST <rapidrests@gmail.com>",
@@ -37,7 +37,7 @@
37
37
  "peerDependencies": {
38
38
  "@rapidrest/core": "1.x",
39
39
  "ioredis": "5.x",
40
- "lodash": "4.x",
40
+ "lodash-es": "4.x",
41
41
  "mongodb": "^7.0.0",
42
42
  "openapi3-ts": "4.x",
43
43
  "prom-client": "15.x",
@@ -78,7 +78,7 @@
78
78
  "globals": "^17.6.0",
79
79
  "ioredis": "^5.11.1",
80
80
  "ioredis-mock": "^8.13.1",
81
- "lodash": "^4.18.1",
81
+ "lodash-es": "^4.18.1",
82
82
  "mongodb": "^7.3.0",
83
83
  "mongodb-memory-server": "^11.2.0",
84
84
  "nconf": "^0.13.0",