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

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 (155) hide show
  1. package/dist/lib/Server.js +10 -10
  2. package/dist/lib/Server.js.map +1 -1
  3. package/dist/lib/auth/JWTStrategy.js +2 -1
  4. package/dist/lib/auth/JWTStrategy.js.map +1 -1
  5. package/dist/lib/http/Adapters.js +31 -20
  6. package/dist/lib/http/Adapters.js.map +1 -1
  7. package/dist/lib/http/Router.js +11 -4
  8. package/dist/lib/http/Router.js.map +1 -1
  9. package/dist/lib/routes/RouteUtils.js +10 -12
  10. package/dist/lib/routes/RouteUtils.js.map +1 -1
  11. package/dist/lib/security/ACLUtils.js +19 -3
  12. package/dist/lib/security/ACLUtils.js.map +1 -1
  13. package/dist/types/auth/JWTStrategy.d.ts +1 -0
  14. package/dist/types/security/ACLUtils.d.ts +1 -1
  15. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/MongoRepository.md +1 -1
  16. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/RedisConnection.md +1 -1
  17. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/Repository.md +1 -1
  18. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Default.md +1 -1
  19. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Description.md +1 -1
  20. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Document.md +1 -1
  21. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Example.md +1 -1
  22. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Format.md +1 -1
  23. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Returns.md +1 -1
  24. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Summary.md +1 -1
  25. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Tags.md +1 -1
  26. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/TypeInfo.md +1 -1
  27. package/docs/reference/@rapidrest/namespaces/DocDecorators/interfaces/DocumentsData.md +7 -7
  28. package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/EventListener.md +1 -1
  29. package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/OnEvent.md +1 -1
  30. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Cache.md +1 -1
  31. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/ChildEntity.md +1 -1
  32. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/DataStore.md +1 -1
  33. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Identifier.md +1 -1
  34. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Protect.md +1 -1
  35. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Reference.md +1 -1
  36. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Shard.md +1 -1
  37. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/TrackChanges.md +1 -1
  38. package/docs/reference/@rapidrest/namespaces/ModelDecorators/interfaces/PendingTypeOrmColumn.md +5 -5
  39. package/docs/reference/@rapidrest/namespaces/ModelDecorators/variables/pendingTypeOrmColumns.md +1 -1
  40. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Column.md +1 -1
  41. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Entity.md +1 -1
  42. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Index.md +3 -3
  43. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/PrimaryColumn.md +1 -1
  44. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Unique.md +3 -3
  45. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getColumnMetadata.md +1 -1
  46. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getEntityName.md +1 -1
  47. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getIndexMetadata.md +1 -1
  48. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnInfo.md +4 -4
  49. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnOptions.md +5 -5
  50. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexInfo.md +4 -4
  51. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexOptions.md +5 -5
  52. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/After.md +1 -1
  53. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Auth.md +1 -1
  54. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/AuthResult.md +1 -1
  55. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Before.md +1 -1
  56. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/ContentType.md +1 -1
  57. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Delete.md +1 -1
  58. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Get.md +1 -1
  59. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Head.md +1 -1
  60. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Header.md +1 -1
  61. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Method.md +1 -1
  62. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Model.md +1 -1
  63. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Options.md +1 -1
  64. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Param.md +1 -1
  65. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Patch.md +1 -1
  66. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Post.md +1 -1
  67. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Protect.md +1 -1
  68. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Put.md +1 -1
  69. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Query.md +1 -1
  70. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Request.md +1 -1
  71. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/RequiresRole.md +1 -1
  72. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Response.md +1 -1
  73. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Route.md +1 -1
  74. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Socket.md +1 -1
  75. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/User.md +1 -1
  76. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Validate.md +1 -1
  77. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/WebSocket.md +1 -1
  78. package/docs/reference/classes/ACLUtils.md +14 -10
  79. package/docs/reference/classes/AdminRoute.md +3 -3
  80. package/docs/reference/classes/AuthMiddleware.md +6 -6
  81. package/docs/reference/classes/BackgroundService.md +8 -8
  82. package/docs/reference/classes/BackgroundServiceManager.md +7 -7
  83. package/docs/reference/classes/BaseEntity.md +6 -6
  84. package/docs/reference/classes/BaseMongoEntity.md +7 -7
  85. package/docs/reference/classes/BasicStrategy.md +5 -5
  86. package/docs/reference/classes/BasicStrategyOptions.md +7 -7
  87. package/docs/reference/classes/BulkError.md +3 -3
  88. package/docs/reference/classes/ConnectionManager.md +4 -4
  89. package/docs/reference/classes/EventListenerManager.md +5 -5
  90. package/docs/reference/classes/HttpRouter.md +16 -16
  91. package/docs/reference/classes/JWTStrategy.md +10 -10
  92. package/docs/reference/classes/JWTStrategyOptions.md +10 -10
  93. package/docs/reference/classes/MetricsRoute.md +2 -2
  94. package/docs/reference/classes/ModelRoute.md +26 -26
  95. package/docs/reference/classes/ModelUtils.md +10 -10
  96. package/docs/reference/classes/MongoConnection.md +12 -12
  97. package/docs/reference/classes/MongoRepository.md +17 -17
  98. package/docs/reference/classes/MongoSchemaSync.md +3 -3
  99. package/docs/reference/classes/NetUtils.md +3 -3
  100. package/docs/reference/classes/NotificationUtils.md +3 -3
  101. package/docs/reference/classes/ObjectFactory.md +3 -3
  102. package/docs/reference/classes/OpenAPIRoute.md +5 -5
  103. package/docs/reference/classes/OpenApiSpec.md +45 -45
  104. package/docs/reference/classes/RecoverableBaseEntity.md +7 -7
  105. package/docs/reference/classes/RecoverableBaseMongoEntity.md +8 -8
  106. package/docs/reference/classes/RedisTransport.md +4 -4
  107. package/docs/reference/classes/RepoUtils.md +28 -28
  108. package/docs/reference/classes/RouteUtils.md +9 -9
  109. package/docs/reference/classes/Server.md +89 -89
  110. package/docs/reference/classes/SimpleEntity.md +3 -3
  111. package/docs/reference/classes/SimpleMongoEntity.md +4 -4
  112. package/docs/reference/classes/StatusExtraData.md +4 -4
  113. package/docs/reference/classes/StatusRoute.md +1 -1
  114. package/docs/reference/classes/UWSRequest.md +17 -17
  115. package/docs/reference/classes/UWSResponse.md +15 -15
  116. package/docs/reference/classes/UWSWebSocketShim.md +5 -5
  117. package/docs/reference/enumerations/ACLAction.md +7 -7
  118. package/docs/reference/enumerations/ApiErrorMessages.md +15 -15
  119. package/docs/reference/enumerations/ApiErrors.md +15 -15
  120. package/docs/reference/functions/createWebSocketStream.md +1 -1
  121. package/docs/reference/functions/isSqlDataSource.md +1 -1
  122. package/docs/reference/functions/readBody.md +3 -3
  123. package/docs/reference/functions/resolveCollectionName.md +1 -1
  124. package/docs/reference/functions/runChain.md +1 -1
  125. package/docs/reference/functions/snakeCase.md +1 -1
  126. package/docs/reference/interfaces/ACLRecord.md +8 -8
  127. package/docs/reference/interfaces/AccessControlList.md +5 -5
  128. package/docs/reference/interfaces/AuthResult.md +5 -5
  129. package/docs/reference/interfaces/AuthStrategy.md +4 -4
  130. package/docs/reference/interfaces/CreateRequestOptions.md +9 -9
  131. package/docs/reference/interfaces/DeleteRequestOptions.md +11 -11
  132. package/docs/reference/interfaces/FindRequestOptions.md +10 -10
  133. package/docs/reference/interfaces/HttpRequest.md +15 -15
  134. package/docs/reference/interfaces/HttpResponse.md +11 -11
  135. package/docs/reference/interfaces/JWTAuthResult.md +9 -9
  136. package/docs/reference/interfaces/RepoCreateOptions.md +7 -7
  137. package/docs/reference/interfaces/RepoDeleteOptions.md +9 -9
  138. package/docs/reference/interfaces/RepoFindOptions.md +11 -11
  139. package/docs/reference/interfaces/RepoOperationOptions.md +6 -6
  140. package/docs/reference/interfaces/RepoUpdateOptions.md +8 -8
  141. package/docs/reference/interfaces/RequestOptions.md +8 -8
  142. package/docs/reference/interfaces/RequestWS.md +17 -17
  143. package/docs/reference/interfaces/TruncateRequestOptions.md +13 -13
  144. package/docs/reference/interfaces/UpdateRequestOptions.md +11 -11
  145. package/docs/reference/type-aliases/ErrorHandler.md +1 -1
  146. package/docs/reference/type-aliases/NextFunction.md +1 -1
  147. package/docs/reference/type-aliases/OneOrMany.md +1 -1
  148. package/docs/reference/type-aliases/OneOrNull.md +1 -1
  149. package/docs/reference/type-aliases/PartialBaseEntity.md +1 -1
  150. package/docs/reference/type-aliases/PartialSimpleEntity.md +1 -1
  151. package/docs/reference/type-aliases/RequestHandler.md +1 -1
  152. package/docs/reference/type-aliases/UpdateObject.md +1 -1
  153. package/docs/reference/type-aliases/WsUpgradeAuth.md +1 -1
  154. package/docs/reference/type-aliases/WsUpgradeAuthResult.md +5 -5
  155. package/package.json +129 -125
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: AccessControlList
8
8
 
9
- Defined in: [src/security/AccessControlList.ts:97](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/security/AccessControlList.ts#L97)
9
+ Defined in: [src/security/AccessControlList.ts:97](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/security/AccessControlList.ts#L97)
10
10
 
11
11
  The access control list provides a generic interface for the storage of user and roles permissions. Each ACL object
12
12
  represents the permission set for a single entity within the system. The entity is identified generically by its
@@ -40,7 +40,7 @@ Jean-Philippe Steinmetz <rapidrests@gmail.com>
40
40
 
41
41
  > `optional` **parent?**: `AccessControlList` \| `null`
42
42
 
43
- Defined in: [src/security/AccessControlList.ts:106](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/security/AccessControlList.ts#L106)
43
+ Defined in: [src/security/AccessControlList.ts:106](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/security/AccessControlList.ts#L106)
44
44
 
45
45
  The parent access control list that this instance inherits permissions from.
46
46
 
@@ -50,7 +50,7 @@ The parent access control list that this instance inherits permissions from.
50
50
 
51
51
  > `optional` **parentUid?**: `string`
52
52
 
53
- Defined in: [src/security/AccessControlList.ts:112](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/security/AccessControlList.ts#L112)
53
+ Defined in: [src/security/AccessControlList.ts:112](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/security/AccessControlList.ts#L112)
54
54
 
55
55
  The universally unique identifier of the parent `AccessControlList` that this object will inherit permissions
56
56
  from.
@@ -61,7 +61,7 @@ from.
61
61
 
62
62
  > **records**: [`ACLRecord`](ACLRecord.md)[]
63
63
 
64
- Defined in: [src/security/AccessControlList.ts:117](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/security/AccessControlList.ts#L117)
64
+ Defined in: [src/security/AccessControlList.ts:117](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/security/AccessControlList.ts#L117)
65
65
 
66
66
  The list of all permission records associated with this access control list.
67
67
 
@@ -71,6 +71,6 @@ The list of all permission records associated with this access control list.
71
71
 
72
72
  > **uid**: `string`
73
73
 
74
- Defined in: [src/security/AccessControlList.ts:101](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/security/AccessControlList.ts#L101)
74
+ Defined in: [src/security/AccessControlList.ts:101](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/security/AccessControlList.ts#L101)
75
75
 
76
76
  The universally unique identifier (`uuid`) of the entity that the access control list belongs to.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: AuthResult
8
8
 
9
- Defined in: [src/auth/AuthStrategy.ts:10](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L10)
9
+ Defined in: [src/auth/AuthStrategy.ts:10](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L10)
10
10
 
11
11
  Result returned by `AuthStrategy.authenticate()`.
12
12
 
@@ -20,7 +20,7 @@ Result returned by `AuthStrategy.authenticate()`.
20
20
 
21
21
  > `optional` **data?**: `string`
22
22
 
23
- Defined in: [src/auth/AuthStrategy.ts:12](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L12)
23
+ Defined in: [src/auth/AuthStrategy.ts:12](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L12)
24
24
 
25
25
  The raw auth data that was verified.
26
26
 
@@ -30,7 +30,7 @@ The raw auth data that was verified.
30
30
 
31
31
  > **method**: `string`
32
32
 
33
- Defined in: [src/auth/AuthStrategy.ts:14](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L14)
33
+ Defined in: [src/auth/AuthStrategy.ts:14](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L14)
34
34
 
35
35
  The name of the auth strategy that produced this result.
36
36
 
@@ -40,7 +40,7 @@ The name of the auth strategy that produced this result.
40
40
 
41
41
  > `optional` **payload?**: `any`
42
42
 
43
- Defined in: [src/auth/AuthStrategy.ts:16](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L16)
43
+ Defined in: [src/auth/AuthStrategy.ts:16](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L16)
44
44
 
45
45
  The fully decoded payload from the auth data.
46
46
 
@@ -50,6 +50,6 @@ The fully decoded payload from the auth data.
50
50
 
51
51
  > `optional` **user?**: `JWTUser`
52
52
 
53
- Defined in: [src/auth/AuthStrategy.ts:18](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L18)
53
+ Defined in: [src/auth/AuthStrategy.ts:18](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L18)
54
54
 
55
55
  The authenticated user profile, or `undefined` if authentication failed.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: AuthStrategy
8
8
 
9
- Defined in: [src/auth/AuthStrategy.ts:24](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L24)
9
+ Defined in: [src/auth/AuthStrategy.ts:24](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L24)
10
10
 
11
11
  Describes an interface for implementing strategies that will perform authentication.
12
12
 
@@ -16,7 +16,7 @@ Describes an interface for implementing strategies that will perform authenticat
16
16
 
17
17
  > `readonly` **name**: `string`
18
18
 
19
- Defined in: [src/auth/AuthStrategy.ts:26](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L26)
19
+ Defined in: [src/auth/AuthStrategy.ts:26](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L26)
20
20
 
21
21
  The unique name of the strategy used to register with the `AuthMiddleware`.
22
22
 
@@ -26,7 +26,7 @@ The unique name of the strategy used to register with the `AuthMiddleware`.
26
26
 
27
27
  > **authenticate**(`req`, `res?`, `required?`): `Promise`\<[`AuthResult`](AuthResult.md) \| `undefined`\>
28
28
 
29
- Defined in: [src/auth/AuthStrategy.ts:37](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L37)
29
+ Defined in: [src/auth/AuthStrategy.ts:37](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L37)
30
30
 
31
31
  Attempts to perform authentication with the given request data. If authentication was successful, returns an
32
32
  `AuthResult` containing the authentication details. If authentication fails and `required` is set to `true`
@@ -62,7 +62,7 @@ Set to `true` to if authentication is required to pass, otherwise set to `false`
62
62
 
63
63
  > **authenticateSync**(`req`, `res?`, `required?`): [`AuthResult`](AuthResult.md) \| `undefined`
64
64
 
65
- Defined in: [src/auth/AuthStrategy.ts:50](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/auth/AuthStrategy.ts#L50)
65
+ Defined in: [src/auth/AuthStrategy.ts:50](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/auth/AuthStrategy.ts#L50)
66
66
 
67
67
  Attempts to perform authentication with the given request data. If authentication was successful, returns an
68
68
  `AuthResult` containing the authentication details. If authentication fails and `required` is set to `true`
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: CreateRequestOptions
8
8
 
9
- Defined in: [src/routes/ModelRoute.ts:35](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L35)
9
+ Defined in: [src/routes/ModelRoute.ts:35](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L35)
10
10
 
11
11
  The set of options required by create request handlers.
12
12
 
@@ -20,7 +20,7 @@ The set of options required by create request handlers.
20
20
 
21
21
  > `optional` **acl?**: [`AccessControlList`](AccessControlList.md) \| [`AccessControlList`](AccessControlList.md)[]
22
22
 
23
- Defined in: [src/routes/ModelRoute.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L36)
23
+ Defined in: [src/routes/ModelRoute.ts:36](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L36)
24
24
 
25
25
  ***
26
26
 
@@ -28,7 +28,7 @@ Defined in: [src/routes/ModelRoute.ts:36](https://github.com/rapidrest/service-c
28
28
 
29
29
  > `optional` **ignoreACL?**: `boolean`
30
30
 
31
- Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L32)
31
+ Defined in: [src/models/RepoUtils.ts:33](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L33)
32
32
 
33
33
  Set to `true` to ignore the ACL permissions check.
34
34
 
@@ -42,7 +42,7 @@ Set to `true` to ignore the ACL permissions check.
42
42
 
43
43
  > `optional` **pushChannels?**: `string`[]
44
44
 
45
- Defined in: [src/routes/ModelRoute.ts:38](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L38)
45
+ Defined in: [src/routes/ModelRoute.ts:38](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L38)
46
46
 
47
47
  An additional list of channel names to send push notifications to.
48
48
 
@@ -56,7 +56,7 @@ An additional list of channel names to send push notifications to.
56
56
 
57
57
  > `optional` **recordEvent?**: `boolean`
58
58
 
59
- Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L36)
59
+ Defined in: [src/models/RepoUtils.ts:37](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L37)
60
60
 
61
61
  Indicates if a telemetry event should be broadcast for the request.
62
62
 
@@ -70,7 +70,7 @@ Indicates if a telemetry event should be broadcast for the request.
70
70
 
71
71
  > `optional` **req?**: [`HttpRequest`](HttpRequest.md)
72
72
 
73
- Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L27)
73
+ Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L27)
74
74
 
75
75
  The originating client request.
76
76
 
@@ -84,7 +84,7 @@ The originating client request.
84
84
 
85
85
  > `optional` **res?**: [`HttpResponse`](HttpResponse.md)
86
86
 
87
- Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L29)
87
+ Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L29)
88
88
 
89
89
  The outgoing client response.
90
90
 
@@ -98,7 +98,7 @@ The outgoing client response.
98
98
 
99
99
  > `optional` **skipPush?**: `boolean`
100
100
 
101
- Defined in: [src/routes/ModelRoute.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L40)
101
+ Defined in: [src/routes/ModelRoute.ts:40](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L40)
102
102
 
103
103
  Set to `true` to not send a push notification.
104
104
 
@@ -112,7 +112,7 @@ Set to `true` to not send a push notification.
112
112
 
113
113
  > `optional` **user?**: `JWTUser`
114
114
 
115
- Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L40)
115
+ Defined in: [src/models/RepoUtils.ts:41](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L41)
116
116
 
117
117
  The authenticated user making the request.
118
118
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: DeleteRequestOptions
8
8
 
9
- Defined in: [src/routes/ModelRoute.ts:46](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L46)
9
+ Defined in: [src/routes/ModelRoute.ts:46](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L46)
10
10
 
11
11
  The set of options required by delete request handlers.
12
12
 
@@ -24,7 +24,7 @@ The set of options required by delete request handlers.
24
24
 
25
25
  > `optional` **ignoreACL?**: `boolean`
26
26
 
27
- Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L32)
27
+ Defined in: [src/models/RepoUtils.ts:33](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L33)
28
28
 
29
29
  Set to `true` to ignore the ACL permissions check.
30
30
 
@@ -38,7 +38,7 @@ Set to `true` to ignore the ACL permissions check.
38
38
 
39
39
  > `optional` **productUid?**: `string`
40
40
 
41
- Defined in: [src/routes/ModelRoute.ts:48](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L48)
41
+ Defined in: [src/routes/ModelRoute.ts:48](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L48)
42
42
 
43
43
  The desired product uid of the resource to delete.
44
44
 
@@ -48,7 +48,7 @@ The desired product uid of the resource to delete.
48
48
 
49
49
  > `optional` **purge?**: `boolean`
50
50
 
51
- Defined in: [src/routes/ModelRoute.ts:50](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L50)
51
+ Defined in: [src/routes/ModelRoute.ts:50](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L50)
52
52
 
53
53
  Set to true to permanently remove the object from the database (if applicable).
54
54
 
@@ -58,7 +58,7 @@ Set to true to permanently remove the object from the database (if applicable).
58
58
 
59
59
  > `optional` **pushChannels?**: `string`[]
60
60
 
61
- Defined in: [src/routes/ModelRoute.ts:52](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L52)
61
+ Defined in: [src/routes/ModelRoute.ts:52](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L52)
62
62
 
63
63
  An additional list of channel names to send push notifications to.
64
64
 
@@ -72,7 +72,7 @@ An additional list of channel names to send push notifications to.
72
72
 
73
73
  > `optional` **recordEvent?**: `boolean`
74
74
 
75
- Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L36)
75
+ Defined in: [src/models/RepoUtils.ts:37](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L37)
76
76
 
77
77
  Indicates if a telemetry event should be broadcast for the request.
78
78
 
@@ -86,7 +86,7 @@ Indicates if a telemetry event should be broadcast for the request.
86
86
 
87
87
  > `optional` **req?**: [`HttpRequest`](HttpRequest.md)
88
88
 
89
- Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L27)
89
+ Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L27)
90
90
 
91
91
  The originating client request.
92
92
 
@@ -100,7 +100,7 @@ The originating client request.
100
100
 
101
101
  > `optional` **res?**: [`HttpResponse`](HttpResponse.md)
102
102
 
103
- Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L29)
103
+ Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L29)
104
104
 
105
105
  The outgoing client response.
106
106
 
@@ -114,7 +114,7 @@ The outgoing client response.
114
114
 
115
115
  > `optional` **skipPush?**: `boolean`
116
116
 
117
- Defined in: [src/routes/ModelRoute.ts:54](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L54)
117
+ Defined in: [src/routes/ModelRoute.ts:54](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L54)
118
118
 
119
119
  Set to `true` to not send a push notification.
120
120
 
@@ -128,7 +128,7 @@ Set to `true` to not send a push notification.
128
128
 
129
129
  > `optional` **user?**: `JWTUser`
130
130
 
131
- Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L40)
131
+ Defined in: [src/models/RepoUtils.ts:41](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L41)
132
132
 
133
133
  The authenticated user making the request.
134
134
 
@@ -142,6 +142,6 @@ The authenticated user making the request.
142
142
 
143
143
  > `optional` **version?**: `string` \| `number`
144
144
 
145
- Defined in: [src/routes/ModelRoute.ts:56](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L56)
145
+ Defined in: [src/routes/ModelRoute.ts:56](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L56)
146
146
 
147
147
  The desired version number of the resource to delete.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: FindRequestOptions
8
8
 
9
- Defined in: [src/routes/ModelRoute.ts:62](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L62)
9
+ Defined in: [src/routes/ModelRoute.ts:62](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L62)
10
10
 
11
11
  The set of options required by search request handlers.
12
12
 
@@ -20,7 +20,7 @@ The set of options required by search 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/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L32)
23
+ Defined in: [src/models/RepoUtils.ts:33](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L33)
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
  > `optional` **params?**: `any`
36
36
 
37
- Defined in: [src/routes/ModelRoute.ts:64](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L64)
37
+ Defined in: [src/routes/ModelRoute.ts:64](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L64)
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` **pushChannels?**: `string`[]
46
46
 
47
- Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L34)
47
+ Defined in: [src/models/RepoUtils.ts:35](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L35)
48
48
 
49
49
  An additional list of channel names to send push notifications to.
50
50
 
@@ -58,7 +58,7 @@ An additional list of channel names to send push notifications to.
58
58
 
59
59
  > **query**: `any`
60
60
 
61
- Defined in: [src/routes/ModelRoute.ts:66](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L66)
61
+ Defined in: [src/routes/ModelRoute.ts:66](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L66)
62
62
 
63
63
  The list of query parameters to use in the search.
64
64
 
@@ -68,7 +68,7 @@ The list of query parameters to use in the search.
68
68
 
69
69
  > `optional` **recordEvent?**: `boolean`
70
70
 
71
- Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L36)
71
+ Defined in: [src/models/RepoUtils.ts:37](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L37)
72
72
 
73
73
  Indicates if a telemetry event should be broadcast for the request.
74
74
 
@@ -82,7 +82,7 @@ Indicates if a telemetry event should be broadcast for the request.
82
82
 
83
83
  > `optional` **req?**: [`HttpRequest`](HttpRequest.md)
84
84
 
85
- Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L27)
85
+ Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L27)
86
86
 
87
87
  The originating client request.
88
88
 
@@ -96,7 +96,7 @@ The originating client request.
96
96
 
97
97
  > `optional` **res?**: [`HttpResponse`](HttpResponse.md)
98
98
 
99
- Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/routes/ModelRoute.ts#L29)
99
+ Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/routes/ModelRoute.ts#L29)
100
100
 
101
101
  The outgoing client response.
102
102
 
@@ -110,7 +110,7 @@ The outgoing client response.
110
110
 
111
111
  > `optional` **skipPush?**: `boolean`
112
112
 
113
- Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L38)
113
+ Defined in: [src/models/RepoUtils.ts:39](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L39)
114
114
 
115
115
  Set to `true` to not send a push notification.
116
116
 
@@ -124,7 +124,7 @@ Set to `true` to not send a push notification.
124
124
 
125
125
  > `optional` **user?**: `JWTUser`
126
126
 
127
- Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/models/RepoUtils.ts#L40)
127
+ Defined in: [src/models/RepoUtils.ts:41](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/models/RepoUtils.ts#L41)
128
128
 
129
129
  The authenticated user making the request.
130
130
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: HttpRequest
8
8
 
9
- Defined in: [src/http/types.ts:10](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L10)
9
+ Defined in: [src/http/types.ts:10](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L10)
10
10
 
11
11
  Framework-agnostic HTTP request interface. Mirrors the Express `Request` surface used throughout
12
12
  this codebase so that route handlers, middleware, and utilities require no changes when the
@@ -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/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L26)
31
+ Defined in: [src/http/types.ts:26](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L26)
32
32
 
33
33
  Full decoded JWT payload, set by JWT auth middleware.
34
34
 
@@ -38,7 +38,7 @@ Full decoded JWT payload, set by JWT auth middleware.
38
38
 
39
39
  > `optional` **authToken?**: `string`
40
40
 
41
- Defined in: [src/http/types.ts:28](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L28)
41
+ Defined in: [src/http/types.ts:28](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L28)
42
42
 
43
43
  Raw JWT token string, set by JWT auth middleware.
44
44
 
@@ -48,7 +48,7 @@ Raw JWT token string, set by JWT auth middleware.
48
48
 
49
49
  > **body**: `any`
50
50
 
51
- Defined in: [src/http/types.ts:17](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L17)
51
+ Defined in: [src/http/types.ts:17](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L17)
52
52
 
53
53
  ***
54
54
 
@@ -56,7 +56,7 @@ Defined in: [src/http/types.ts:17](https://github.com/rapidrest/service-core/blo
56
56
 
57
57
  > **cookies**: `Record`\<`string`, `string`\>
58
58
 
59
- Defined in: [src/http/types.ts:19](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L19)
59
+ Defined in: [src/http/types.ts:19](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L19)
60
60
 
61
61
  ***
62
62
 
@@ -64,7 +64,7 @@ Defined in: [src/http/types.ts:19](https://github.com/rapidrest/service-core/blo
64
64
 
65
65
  > **headers**: `Record`\<`string`, `string` \| `string`[] \| `undefined`\>
66
66
 
67
- Defined in: [src/http/types.ts:14](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L14)
67
+ Defined in: [src/http/types.ts:14](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L14)
68
68
 
69
69
  ***
70
70
 
@@ -72,7 +72,7 @@ Defined in: [src/http/types.ts:14](https://github.com/rapidrest/service-core/blo
72
72
 
73
73
  > **method**: `string`
74
74
 
75
- Defined in: [src/http/types.ts:11](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L11)
75
+ Defined in: [src/http/types.ts:11](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L11)
76
76
 
77
77
  ***
78
78
 
@@ -80,7 +80,7 @@ Defined in: [src/http/types.ts:11](https://github.com/rapidrest/service-core/blo
80
80
 
81
81
  > **params**: `Record`\<`string`, `string`\>
82
82
 
83
- Defined in: [src/http/types.ts:15](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L15)
83
+ Defined in: [src/http/types.ts:15](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L15)
84
84
 
85
85
  ***
86
86
 
@@ -88,7 +88,7 @@ Defined in: [src/http/types.ts:15](https://github.com/rapidrest/service-core/blo
88
88
 
89
89
  > **path**: `string`
90
90
 
91
- Defined in: [src/http/types.ts:12](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L12)
91
+ Defined in: [src/http/types.ts:12](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L12)
92
92
 
93
93
  ***
94
94
 
@@ -96,7 +96,7 @@ Defined in: [src/http/types.ts:12](https://github.com/rapidrest/service-core/blo
96
96
 
97
97
  > **query**: `Record`\<`string`, `string` \| `string`[]\>
98
98
 
99
- Defined in: [src/http/types.ts:16](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L16)
99
+ Defined in: [src/http/types.ts:16](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L16)
100
100
 
101
101
  ***
102
102
 
@@ -104,7 +104,7 @@ Defined in: [src/http/types.ts:16](https://github.com/rapidrest/service-core/blo
104
104
 
105
105
  > `optional` **rawBody?**: `Buffer`\<`ArrayBufferLike`\>
106
106
 
107
- Defined in: [src/http/types.ts:18](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L18)
107
+ Defined in: [src/http/types.ts:18](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L18)
108
108
 
109
109
  ***
110
110
 
@@ -112,7 +112,7 @@ Defined in: [src/http/types.ts:18](https://github.com/rapidrest/service-core/blo
112
112
 
113
113
  > **signedCookies**: `Record`\<`string`, `string`\>
114
114
 
115
- Defined in: [src/http/types.ts:20](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L20)
115
+ Defined in: [src/http/types.ts:20](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L20)
116
116
 
117
117
  ***
118
118
 
@@ -120,7 +120,7 @@ Defined in: [src/http/types.ts:20](https://github.com/rapidrest/service-core/blo
120
120
 
121
121
  > **socket**: `object`
122
122
 
123
- Defined in: [src/http/types.ts:22](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L22)
123
+ Defined in: [src/http/types.ts:22](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L22)
124
124
 
125
125
  Minimal socket interface; populated with remote address for IP extraction.
126
126
 
@@ -134,7 +134,7 @@ Minimal socket interface; populated with remote address for IP extraction.
134
134
 
135
135
  > **url**: `string`
136
136
 
137
- Defined in: [src/http/types.ts:13](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L13)
137
+ Defined in: [src/http/types.ts:13](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L13)
138
138
 
139
139
  ***
140
140
 
@@ -142,6 +142,6 @@ Defined in: [src/http/types.ts:13](https://github.com/rapidrest/service-core/blo
142
142
 
143
143
  > `optional` **user?**: `any`
144
144
 
145
- Defined in: [src/http/types.ts:24](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L24)
145
+ Defined in: [src/http/types.ts:24](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L24)
146
146
 
147
147
  Set by JWT auth middleware after successful token verification.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: HttpResponse
8
8
 
9
- Defined in: [src/http/types.ts:37](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L37)
9
+ Defined in: [src/http/types.ts:37](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L37)
10
10
 
11
11
  Framework-agnostic HTTP response interface. Mirrors the Express `Response` surface used
12
12
  throughout this codebase.
@@ -23,7 +23,7 @@ Allow arbitrary per-response properties.
23
23
 
24
24
  > **headersSent**: `boolean`
25
25
 
26
- Defined in: [src/http/types.ts:39](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L39)
26
+ Defined in: [src/http/types.ts:39](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L39)
27
27
 
28
28
  ***
29
29
 
@@ -31,7 +31,7 @@ Defined in: [src/http/types.ts:39](https://github.com/rapidrest/service-core/blo
31
31
 
32
32
  > `optional` **result?**: `any`
33
33
 
34
- Defined in: [src/http/types.ts:42](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L42)
34
+ Defined in: [src/http/types.ts:42](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L42)
35
35
 
36
36
  Intermediate result passed between middleware via res.result.
37
37
 
@@ -41,7 +41,7 @@ Intermediate result passed between middleware via res.result.
41
41
 
42
42
  > **statusCode**: `number`
43
43
 
44
- Defined in: [src/http/types.ts:38](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L38)
44
+ Defined in: [src/http/types.ts:38](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L38)
45
45
 
46
46
  ***
47
47
 
@@ -49,7 +49,7 @@ Defined in: [src/http/types.ts:38](https://github.com/rapidrest/service-core/blo
49
49
 
50
50
  > **writableEnded**: `boolean`
51
51
 
52
- Defined in: [src/http/types.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L40)
52
+ Defined in: [src/http/types.ts:40](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L40)
53
53
 
54
54
  ## Methods
55
55
 
@@ -57,7 +57,7 @@ Defined in: [src/http/types.ts:40](https://github.com/rapidrest/service-core/blo
57
57
 
58
58
  > **end**(`data?`): `void`
59
59
 
60
- Defined in: [src/http/types.ts:48](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L48)
60
+ Defined in: [src/http/types.ts:48](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L48)
61
61
 
62
62
  #### Parameters
63
63
 
@@ -75,7 +75,7 @@ Defined in: [src/http/types.ts:48](https://github.com/rapidrest/service-core/blo
75
75
 
76
76
  > **getHeader**(`key`): `string` \| `undefined`
77
77
 
78
- Defined in: [src/http/types.ts:45](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L45)
78
+ Defined in: [src/http/types.ts:45](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L45)
79
79
 
80
80
  #### Parameters
81
81
 
@@ -93,7 +93,7 @@ Defined in: [src/http/types.ts:45](https://github.com/rapidrest/service-core/blo
93
93
 
94
94
  > **json**(`data`): `void`
95
95
 
96
- Defined in: [src/http/types.ts:46](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L46)
96
+ Defined in: [src/http/types.ts:46](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L46)
97
97
 
98
98
  #### Parameters
99
99
 
@@ -111,7 +111,7 @@ Defined in: [src/http/types.ts:46](https://github.com/rapidrest/service-core/blo
111
111
 
112
112
  > **send**(`data?`): `void`
113
113
 
114
- Defined in: [src/http/types.ts:47](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L47)
114
+ Defined in: [src/http/types.ts:47](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L47)
115
115
 
116
116
  #### Parameters
117
117
 
@@ -129,7 +129,7 @@ Defined in: [src/http/types.ts:47](https://github.com/rapidrest/service-core/blo
129
129
 
130
130
  > **setHeader**(`key`, `value`): `this`
131
131
 
132
- Defined in: [src/http/types.ts:44](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L44)
132
+ Defined in: [src/http/types.ts:44](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L44)
133
133
 
134
134
  #### Parameters
135
135
 
@@ -151,7 +151,7 @@ Defined in: [src/http/types.ts:44](https://github.com/rapidrest/service-core/blo
151
151
 
152
152
  > **status**(`code`): `this`
153
153
 
154
- Defined in: [src/http/types.ts:43](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/http/types.ts#L43)
154
+ Defined in: [src/http/types.ts:43](https://github.com/rapidrest/service-core/blob/4fdd657d7d387d4147d06ef5e46206995e846a87/src/http/types.ts#L43)
155
155
 
156
156
  #### Parameters
157
157