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

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 (149) 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/routes/MetricsRoute.js +1 -1
  6. package/dist/lib/routes/MetricsRoute.js.map +1 -1
  7. package/dist/lib/routes/RouteUtils.js +1 -1
  8. package/dist/lib/routes/RouteUtils.js.map +1 -1
  9. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/MongoRepository.md +1 -1
  10. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/RedisConnection.md +1 -1
  11. package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/Repository.md +1 -1
  12. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Default.md +1 -1
  13. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Description.md +1 -1
  14. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Document.md +1 -1
  15. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Example.md +1 -1
  16. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Format.md +1 -1
  17. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Returns.md +1 -1
  18. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Summary.md +1 -1
  19. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Tags.md +1 -1
  20. package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/TypeInfo.md +1 -1
  21. package/docs/reference/@rapidrest/namespaces/DocDecorators/interfaces/DocumentsData.md +7 -7
  22. package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/EventListener.md +1 -1
  23. package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/OnEvent.md +1 -1
  24. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Cache.md +1 -1
  25. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/ChildEntity.md +1 -1
  26. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/DataStore.md +1 -1
  27. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Identifier.md +1 -1
  28. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Protect.md +1 -1
  29. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Reference.md +1 -1
  30. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Shard.md +1 -1
  31. package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/TrackChanges.md +1 -1
  32. package/docs/reference/@rapidrest/namespaces/ModelDecorators/interfaces/PendingTypeOrmColumn.md +5 -5
  33. package/docs/reference/@rapidrest/namespaces/ModelDecorators/variables/pendingTypeOrmColumns.md +1 -1
  34. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Column.md +1 -1
  35. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Entity.md +1 -1
  36. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Index.md +3 -3
  37. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/PrimaryColumn.md +1 -1
  38. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Unique.md +3 -3
  39. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getColumnMetadata.md +1 -1
  40. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getEntityName.md +1 -1
  41. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getIndexMetadata.md +1 -1
  42. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnInfo.md +4 -4
  43. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnOptions.md +5 -5
  44. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexInfo.md +4 -4
  45. package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexOptions.md +5 -5
  46. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/After.md +1 -1
  47. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Auth.md +1 -1
  48. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/AuthResult.md +1 -1
  49. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Before.md +1 -1
  50. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/ContentType.md +1 -1
  51. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Delete.md +1 -1
  52. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Get.md +1 -1
  53. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Head.md +1 -1
  54. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Header.md +1 -1
  55. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Method.md +1 -1
  56. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Model.md +1 -1
  57. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Options.md +1 -1
  58. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Param.md +1 -1
  59. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Patch.md +1 -1
  60. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Post.md +1 -1
  61. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Protect.md +1 -1
  62. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Put.md +1 -1
  63. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Query.md +1 -1
  64. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Request.md +1 -1
  65. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/RequiresRole.md +1 -1
  66. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Response.md +1 -1
  67. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Route.md +1 -1
  68. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Socket.md +1 -1
  69. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/User.md +1 -1
  70. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Validate.md +1 -1
  71. package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/WebSocket.md +1 -1
  72. package/docs/reference/classes/ACLUtils.md +9 -9
  73. package/docs/reference/classes/AdminRoute.md +3 -3
  74. package/docs/reference/classes/AuthMiddleware.md +6 -6
  75. package/docs/reference/classes/BackgroundService.md +8 -8
  76. package/docs/reference/classes/BackgroundServiceManager.md +7 -7
  77. package/docs/reference/classes/BaseEntity.md +6 -6
  78. package/docs/reference/classes/BaseMongoEntity.md +7 -7
  79. package/docs/reference/classes/BasicStrategy.md +5 -5
  80. package/docs/reference/classes/BasicStrategyOptions.md +7 -7
  81. package/docs/reference/classes/BulkError.md +3 -3
  82. package/docs/reference/classes/ConnectionManager.md +4 -4
  83. package/docs/reference/classes/EventListenerManager.md +5 -5
  84. package/docs/reference/classes/HttpRouter.md +16 -16
  85. package/docs/reference/classes/JWTStrategy.md +5 -5
  86. package/docs/reference/classes/JWTStrategyOptions.md +8 -8
  87. package/docs/reference/classes/MetricsRoute.md +4 -4
  88. package/docs/reference/classes/ModelRoute.md +26 -26
  89. package/docs/reference/classes/ModelUtils.md +50 -50
  90. package/docs/reference/classes/MongoConnection.md +12 -12
  91. package/docs/reference/classes/MongoRepository.md +17 -17
  92. package/docs/reference/classes/MongoSchemaSync.md +3 -3
  93. package/docs/reference/classes/NetUtils.md +3 -3
  94. package/docs/reference/classes/NotificationUtils.md +3 -3
  95. package/docs/reference/classes/ObjectFactory.md +3 -3
  96. package/docs/reference/classes/OpenAPIRoute.md +5 -5
  97. package/docs/reference/classes/OpenApiSpec.md +45 -45
  98. package/docs/reference/classes/RecoverableBaseEntity.md +7 -7
  99. package/docs/reference/classes/RecoverableBaseMongoEntity.md +8 -8
  100. package/docs/reference/classes/RedisTransport.md +4 -4
  101. package/docs/reference/classes/RepoUtils.md +28 -28
  102. package/docs/reference/classes/RouteUtils.md +7 -7
  103. package/docs/reference/classes/Server.md +26 -26
  104. package/docs/reference/classes/SimpleEntity.md +3 -3
  105. package/docs/reference/classes/SimpleMongoEntity.md +4 -4
  106. package/docs/reference/classes/StatusExtraData.md +4 -4
  107. package/docs/reference/classes/StatusRoute.md +1 -1
  108. package/docs/reference/classes/UWSRequest.md +16 -16
  109. package/docs/reference/classes/UWSResponse.md +13 -13
  110. package/docs/reference/classes/UWSWebSocketShim.md +5 -5
  111. package/docs/reference/enumerations/ACLAction.md +7 -7
  112. package/docs/reference/enumerations/ApiErrorMessages.md +15 -15
  113. package/docs/reference/enumerations/ApiErrors.md +15 -15
  114. package/docs/reference/functions/createWebSocketStream.md +1 -1
  115. package/docs/reference/functions/isSqlDataSource.md +1 -1
  116. package/docs/reference/functions/readBody.md +1 -1
  117. package/docs/reference/functions/resolveCollectionName.md +1 -1
  118. package/docs/reference/functions/runChain.md +1 -1
  119. package/docs/reference/functions/snakeCase.md +1 -1
  120. package/docs/reference/interfaces/ACLRecord.md +8 -8
  121. package/docs/reference/interfaces/AccessControlList.md +5 -5
  122. package/docs/reference/interfaces/AuthResult.md +5 -5
  123. package/docs/reference/interfaces/AuthStrategy.md +4 -4
  124. package/docs/reference/interfaces/CreateRequestOptions.md +9 -9
  125. package/docs/reference/interfaces/DeleteRequestOptions.md +11 -11
  126. package/docs/reference/interfaces/FindRequestOptions.md +10 -10
  127. package/docs/reference/interfaces/HttpRequest.md +15 -15
  128. package/docs/reference/interfaces/HttpResponse.md +11 -11
  129. package/docs/reference/interfaces/JWTAuthResult.md +6 -6
  130. package/docs/reference/interfaces/RepoCreateOptions.md +7 -7
  131. package/docs/reference/interfaces/RepoDeleteOptions.md +9 -9
  132. package/docs/reference/interfaces/RepoFindOptions.md +11 -11
  133. package/docs/reference/interfaces/RepoOperationOptions.md +6 -6
  134. package/docs/reference/interfaces/RepoUpdateOptions.md +8 -8
  135. package/docs/reference/interfaces/RequestOptions.md +8 -8
  136. package/docs/reference/interfaces/RequestWS.md +17 -17
  137. package/docs/reference/interfaces/TruncateRequestOptions.md +13 -13
  138. package/docs/reference/interfaces/UpdateRequestOptions.md +11 -11
  139. package/docs/reference/type-aliases/ErrorHandler.md +1 -1
  140. package/docs/reference/type-aliases/NextFunction.md +1 -1
  141. package/docs/reference/type-aliases/OneOrMany.md +1 -1
  142. package/docs/reference/type-aliases/OneOrNull.md +1 -1
  143. package/docs/reference/type-aliases/PartialBaseEntity.md +1 -1
  144. package/docs/reference/type-aliases/PartialSimpleEntity.md +1 -1
  145. package/docs/reference/type-aliases/RequestHandler.md +1 -1
  146. package/docs/reference/type-aliases/UpdateObject.md +1 -1
  147. package/docs/reference/type-aliases/WsUpgradeAuth.md +1 -1
  148. package/docs/reference/type-aliases/WsUpgradeAuthResult.md +5 -5
  149. package/package.json +3 -3
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: PendingTypeOrmColumn
8
8
 
9
- Defined in: [src/decorators/ModelDecorators.ts:12](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/ModelDecorators.ts#L12)
9
+ Defined in: [src/decorators/ModelDecorators.ts:12](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/ModelDecorators.ts#L12)
10
10
 
11
11
  Describes a column registration that must be bridged into TypeORM's metadata storage when (and only when) a SQL
12
12
  connection is established. Entries are queued here by decorators so that this module does not depend on the
@@ -18,7 +18,7 @@ optional `typeorm` package.
18
18
 
19
19
  > **mode**: `"regular"`
20
20
 
21
- Defined in: [src/decorators/ModelDecorators.ts:15](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/ModelDecorators.ts#L15)
21
+ Defined in: [src/decorators/ModelDecorators.ts:15](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/ModelDecorators.ts#L15)
22
22
 
23
23
  ***
24
24
 
@@ -26,7 +26,7 @@ Defined in: [src/decorators/ModelDecorators.ts:15](https://github.com/rapidrest/
26
26
 
27
27
  > **options**: `any`
28
28
 
29
- Defined in: [src/decorators/ModelDecorators.ts:16](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/ModelDecorators.ts#L16)
29
+ Defined in: [src/decorators/ModelDecorators.ts:16](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/ModelDecorators.ts#L16)
30
30
 
31
31
  ***
32
32
 
@@ -34,7 +34,7 @@ Defined in: [src/decorators/ModelDecorators.ts:16](https://github.com/rapidrest/
34
34
 
35
35
  > **propertyName**: `string`
36
36
 
37
- Defined in: [src/decorators/ModelDecorators.ts:14](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/ModelDecorators.ts#L14)
37
+ Defined in: [src/decorators/ModelDecorators.ts:14](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/ModelDecorators.ts#L14)
38
38
 
39
39
  ***
40
40
 
@@ -42,4 +42,4 @@ Defined in: [src/decorators/ModelDecorators.ts:14](https://github.com/rapidrest/
42
42
 
43
43
  > **target**: `any`
44
44
 
45
- Defined in: [src/decorators/ModelDecorators.ts:13](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/ModelDecorators.ts#L13)
45
+ Defined in: [src/decorators/ModelDecorators.ts:13](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/ModelDecorators.ts#L13)
@@ -8,7 +8,7 @@
8
8
 
9
9
  > `const` **pendingTypeOrmColumns**: [`PendingTypeOrmColumn`](../interfaces/PendingTypeOrmColumn.md)[] = `[]`
10
10
 
11
- Defined in: [src/decorators/ModelDecorators.ts:23](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/ModelDecorators.ts#L23)
11
+ Defined in: [src/decorators/ModelDecorators.ts:23](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/ModelDecorators.ts#L23)
12
12
 
13
13
  The list of column registrations waiting to be bridged into TypeORM's metadata storage. This list is drained by
14
14
  the TypeORM support module when a SQL connection is created.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Column**(`options?`): (`target`, `propertyKey`) => `void`
10
10
 
11
- Defined in: [src/decorators/PersistenceDecorators.ts:95](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L95)
11
+ Defined in: [src/decorators/PersistenceDecorators.ts:95](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L95)
12
12
 
13
13
  Indicates that the decorated property will be persisted as a column/property in the datastore.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Entity**(`name?`): (`target`) => `void`
10
10
 
11
- Defined in: [src/decorators/PersistenceDecorators.ts:198](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L198)
11
+ Defined in: [src/decorators/PersistenceDecorators.ts:198](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L198)
12
12
 
13
13
  Indicates that the class describes an entity that is persisted to a datastore.
14
14
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  > **Index**(`nameOrOptions?`, `options?`): `PropertyDecorator`
12
12
 
13
- Defined in: [src/decorators/PersistenceDecorators.ts:133](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L133)
13
+ Defined in: [src/decorators/PersistenceDecorators.ts:133](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L133)
14
14
 
15
15
  Declares a database index.
16
16
 
@@ -46,7 +46,7 @@ When applied to a class, creates a compound index across the given properties:
46
46
 
47
47
  > **Index**(`fields`, `options?`): `ClassDecorator`
48
48
 
49
- Defined in: [src/decorators/PersistenceDecorators.ts:134](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L134)
49
+ Defined in: [src/decorators/PersistenceDecorators.ts:134](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L134)
50
50
 
51
51
  Declares a database index.
52
52
 
@@ -82,7 +82,7 @@ When applied to a class, creates a compound index across the given properties:
82
82
 
83
83
  > **Index**(`name`, `fields`, `options?`): `ClassDecorator`
84
84
 
85
- Defined in: [src/decorators/PersistenceDecorators.ts:135](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L135)
85
+ Defined in: [src/decorators/PersistenceDecorators.ts:135](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L135)
86
86
 
87
87
  Declares a database index.
88
88
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **PrimaryColumn**(`options?`): (`target`, `propertyKey`) => `void`
10
10
 
11
- Defined in: [src/decorators/PersistenceDecorators.ts:111](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L111)
11
+ Defined in: [src/decorators/PersistenceDecorators.ts:111](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L111)
12
12
 
13
13
  Indicates that the decorated property is a primary key column in the datastore.
14
14
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  > **Unique**(`name?`): `PropertyDecorator`
12
12
 
13
- Defined in: [src/decorators/PersistenceDecorators.ts:179](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L179)
13
+ Defined in: [src/decorators/PersistenceDecorators.ts:179](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L179)
14
14
 
15
15
  Declares a unique constraint. This is shorthand for `@Index` with the `unique` option set to `true` and may be
16
16
  applied to a property (single-column constraint) or a class (compound constraint).
@@ -29,7 +29,7 @@ applied to a property (single-column constraint) or a class (compound constraint
29
29
 
30
30
  > **Unique**(`fields`): `ClassDecorator`
31
31
 
32
- Defined in: [src/decorators/PersistenceDecorators.ts:180](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L180)
32
+ Defined in: [src/decorators/PersistenceDecorators.ts:180](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L180)
33
33
 
34
34
  Declares a unique constraint. This is shorthand for `@Index` with the `unique` option set to `true` and may be
35
35
  applied to a property (single-column constraint) or a class (compound constraint).
@@ -48,7 +48,7 @@ applied to a property (single-column constraint) or a class (compound constraint
48
48
 
49
49
  > **Unique**(`name`, `fields`): `ClassDecorator`
50
50
 
51
- Defined in: [src/decorators/PersistenceDecorators.ts:181](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L181)
51
+ Defined in: [src/decorators/PersistenceDecorators.ts:181](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L181)
52
52
 
53
53
  Declares a unique constraint. This is shorthand for `@Index` with the `unique` option set to `true` and may be
54
54
  applied to a property (single-column constraint) or a class (compound constraint).
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **getColumnMetadata**(`clazz`): [`ColumnInfo`](../interfaces/ColumnInfo.md)[]
10
10
 
11
- Defined in: [src/decorators/PersistenceDecorators.ts:216](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L216)
11
+ Defined in: [src/decorators/PersistenceDecorators.ts:216](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L216)
12
12
 
13
13
  Returns the merged list of persisted columns declared across the entire class hierarchy of the given model
14
14
  class. Columns declared in subclasses override columns of the same property name declared in parent classes.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **getEntityName**(`clazz`): `string` \| `undefined`
10
10
 
11
- Defined in: [src/decorators/PersistenceDecorators.ts:261](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L261)
11
+ Defined in: [src/decorators/PersistenceDecorators.ts:261](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L261)
12
12
 
13
13
  Returns the explicit entity name declared via `@Entity(name)` on the given class or the nearest ancestor that
14
14
  declares one, otherwise `undefined`.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **getIndexMetadata**(`clazz`): [`IndexInfo`](../interfaces/IndexInfo.md)[]
10
10
 
11
- Defined in: [src/decorators/PersistenceDecorators.ts:236](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L236)
11
+ Defined in: [src/decorators/PersistenceDecorators.ts:236](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L236)
12
12
 
13
13
  Returns the merged list of indexes declared across the entire class hierarchy of the given model class,
14
14
  including both property-level and class-level (compound) indexes. Indexes declared in subclasses override
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: ColumnInfo
8
8
 
9
- Defined in: [src/decorators/PersistenceDecorators.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L38)
9
+ Defined in: [src/decorators/PersistenceDecorators.ts:38](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L38)
10
10
 
11
11
  Describes a single persisted column/property of a model class.
12
12
 
@@ -16,7 +16,7 @@ Describes a single persisted column/property of a model class.
16
16
 
17
17
  > `optional` **designType?**: `any`
18
18
 
19
- Defined in: [src/decorators/PersistenceDecorators.ts:42](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L42)
19
+ Defined in: [src/decorators/PersistenceDecorators.ts:42](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L42)
20
20
 
21
21
  The design type of the property as captured at decoration time.
22
22
 
@@ -26,7 +26,7 @@ The design type of the property as captured at decoration time.
26
26
 
27
27
  > **options**: [`ColumnOptions`](ColumnOptions.md)
28
28
 
29
- Defined in: [src/decorators/PersistenceDecorators.ts:44](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L44)
29
+ Defined in: [src/decorators/PersistenceDecorators.ts:44](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L44)
30
30
 
31
31
  The options that the column was declared with.
32
32
 
@@ -36,6 +36,6 @@ The options that the column was declared with.
36
36
 
37
37
  > **propertyName**: `string`
38
38
 
39
- Defined in: [src/decorators/PersistenceDecorators.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L40)
39
+ Defined in: [src/decorators/PersistenceDecorators.ts:40](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L40)
40
40
 
41
41
  The name of the class property.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: ColumnOptions
8
8
 
9
- Defined in: [src/decorators/PersistenceDecorators.ts:10](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L10)
9
+ Defined in: [src/decorators/PersistenceDecorators.ts:10](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L10)
10
10
 
11
11
  The set of options available when declaring a persisted column/property via the `@Column` decorator.
12
12
 
@@ -16,7 +16,7 @@ The set of options available when declaring a persisted column/property via the
16
16
 
17
17
  > `optional` **isObjectId?**: `boolean`
18
18
 
19
- Defined in: [src/decorators/PersistenceDecorators.ts:18](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L18)
19
+ Defined in: [src/decorators/PersistenceDecorators.ts:18](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L18)
20
20
 
21
21
  Set to `true` if the column stores a MongoDB `ObjectId` value.
22
22
 
@@ -26,7 +26,7 @@ Set to `true` if the column stores a MongoDB `ObjectId` value.
26
26
 
27
27
  > `optional` **name?**: `string`
28
28
 
29
- Defined in: [src/decorators/PersistenceDecorators.ts:12](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L12)
29
+ Defined in: [src/decorators/PersistenceDecorators.ts:12](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L12)
30
30
 
31
31
  The name of the column in the datastore. Defaults to the property name.
32
32
 
@@ -36,7 +36,7 @@ The name of the column in the datastore. Defaults to the property name.
36
36
 
37
37
  > `optional` **nullable?**: `boolean`
38
38
 
39
- Defined in: [src/decorators/PersistenceDecorators.ts:14](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L14)
39
+ Defined in: [src/decorators/PersistenceDecorators.ts:14](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L14)
40
40
 
41
41
  Set to `true` if the column may store `null`/`undefined` values.
42
42
 
@@ -46,6 +46,6 @@ Set to `true` if the column may store `null`/`undefined` values.
46
46
 
47
47
  > `optional` **primary?**: `boolean`
48
48
 
49
- Defined in: [src/decorators/PersistenceDecorators.ts:16](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L16)
49
+ Defined in: [src/decorators/PersistenceDecorators.ts:16](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L16)
50
50
 
51
51
  Set to `true` if the column is a primary key.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: IndexInfo
8
8
 
9
- Defined in: [src/decorators/PersistenceDecorators.ts:50](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L50)
9
+ Defined in: [src/decorators/PersistenceDecorators.ts:50](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L50)
10
10
 
11
11
  Describes a single database index of a model class.
12
12
 
@@ -16,7 +16,7 @@ Describes a single database index of a model class.
16
16
 
17
17
  > **columns**: `string`[]
18
18
 
19
- Defined in: [src/decorators/PersistenceDecorators.ts:54](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L54)
19
+ Defined in: [src/decorators/PersistenceDecorators.ts:54](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L54)
20
20
 
21
21
  The list of class properties that make up the index.
22
22
 
@@ -26,7 +26,7 @@ The list of class properties that make up the index.
26
26
 
27
27
  > `optional` **name?**: `string`
28
28
 
29
- Defined in: [src/decorators/PersistenceDecorators.ts:52](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L52)
29
+ Defined in: [src/decorators/PersistenceDecorators.ts:52](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L52)
30
30
 
31
31
  The explicit name of the index, if any.
32
32
 
@@ -36,6 +36,6 @@ The explicit name of the index, if any.
36
36
 
37
37
  > **options**: [`IndexOptions`](IndexOptions.md)
38
38
 
39
- Defined in: [src/decorators/PersistenceDecorators.ts:56](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L56)
39
+ Defined in: [src/decorators/PersistenceDecorators.ts:56](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L56)
40
40
 
41
41
  The options that the index was declared with.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: IndexOptions
8
8
 
9
- Defined in: [src/decorators/PersistenceDecorators.ts:24](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L24)
9
+ Defined in: [src/decorators/PersistenceDecorators.ts:24](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L24)
10
10
 
11
11
  The set of options available when declaring a database index via the `@Index` decorator.
12
12
 
@@ -16,7 +16,7 @@ The set of options available when declaring a database index via the `@Index` de
16
16
 
17
17
  > `optional` **background?**: `boolean`
18
18
 
19
- Defined in: [src/decorators/PersistenceDecorators.ts:30](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L30)
19
+ Defined in: [src/decorators/PersistenceDecorators.ts:30](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L30)
20
20
 
21
21
  Set to `true` to build the index in the background. (MongoDB only)
22
22
 
@@ -26,7 +26,7 @@ Set to `true` to build the index in the background. (MongoDB only)
26
26
 
27
27
  > `optional` **expireAfterSeconds?**: `number`
28
28
 
29
- Defined in: [src/decorators/PersistenceDecorators.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L32)
29
+ Defined in: [src/decorators/PersistenceDecorators.ts:32](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L32)
30
30
 
31
31
  The time, in seconds, after which indexed documents will be automatically deleted. (MongoDB only)
32
32
 
@@ -36,7 +36,7 @@ The time, in seconds, after which indexed documents will be automatically delete
36
36
 
37
37
  > `optional` **sparse?**: `boolean`
38
38
 
39
- Defined in: [src/decorators/PersistenceDecorators.ts:28](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L28)
39
+ Defined in: [src/decorators/PersistenceDecorators.ts:28](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L28)
40
40
 
41
41
  Set to `true` to only index documents in which the indexed properties exist. (MongoDB only)
42
42
 
@@ -46,6 +46,6 @@ Set to `true` to only index documents in which the indexed properties exist. (Mo
46
46
 
47
47
  > `optional` **unique?**: `boolean`
48
48
 
49
- Defined in: [src/decorators/PersistenceDecorators.ts:26](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/PersistenceDecorators.ts#L26)
49
+ Defined in: [src/decorators/PersistenceDecorators.ts:26](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/PersistenceDecorators.ts#L26)
50
50
 
51
51
  Set to `true` to enforce that all values of the indexed properties are unique.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **After**(`func`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:13](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L13)
11
+ Defined in: [src/decorators/RouteDecorators.ts:13](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L13)
12
12
 
13
13
  Indicates a provided function or list of functions to execute *after* the decorated function and before the response
14
14
  is sent to a client. Note that the function must call `next()` in order for this decorator to work.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Auth**(`strategies`, `require?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:33](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L33)
11
+ Defined in: [src/decorators/RouteDecorators.ts:33](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L33)
12
12
 
13
13
  Applies PassportJS authentication to the decorated route or method for the provided strategy or list of strategies
14
14
  should be attempted before processing the route.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **AuthResult**(`target`, `propertyKey`, `index`): `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:45](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L45)
11
+ Defined in: [src/decorators/RouteDecorators.ts:45](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L45)
12
12
 
13
13
  Injects the authenticated authentication result as the value of the decorated argument.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Before**(`func`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:56](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L56)
11
+ Defined in: [src/decorators/RouteDecorators.ts:56](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L56)
12
12
 
13
13
  Indicates a provided function or list of functions to execute *before* the decorated function.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **ContentType**(`type`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:73](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L73)
11
+ Defined in: [src/decorators/RouteDecorators.ts:73](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L73)
12
12
 
13
13
  Indicates that the decorated function will return content encoded with the specified content type.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Delete**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:86](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L86)
11
+ Defined in: [src/decorators/RouteDecorators.ts:86](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L86)
12
12
 
13
13
  Indicates that the decorated function handles incoming `DELETE` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Get**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:95](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L95)
11
+ Defined in: [src/decorators/RouteDecorators.ts:95](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L95)
12
12
 
13
13
  Indicates that the decorated function handles incoming `GET` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Head**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:104](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L104)
11
+ Defined in: [src/decorators/RouteDecorators.ts:104](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L104)
12
12
 
13
13
  Indicates that the decorated function handles incoming `HEAD` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Header**(`name`): (`target`, `propertyKey`, `index`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:113](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L113)
11
+ Defined in: [src/decorators/RouteDecorators.ts:113](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L113)
12
12
 
13
13
  Injects the value of the specified request header with the given name as the value of the decorated argument.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Method**(`method`, `path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:127](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L127)
11
+ Defined in: [src/decorators/RouteDecorators.ts:127](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L127)
12
12
 
13
13
  Indicates that the decorated function handles incoming HTTP requests for the specified HTTP method(s) at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Model**(`type`): \<`T`\>(`constructor`) => \{(...`args`): `(Anonymous class)`\<`T`\>; `modelClass`: `any`; `prototype`: `(Anonymous class)`\<`any`\>; \} & `T`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:150](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L150)
11
+ Defined in: [src/decorators/RouteDecorators.ts:150](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L150)
12
12
 
13
13
  Indicates that the class utilizes is a manager for the specified class type.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Options**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:164](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L164)
11
+ Defined in: [src/decorators/RouteDecorators.ts:164](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L164)
12
12
 
13
13
  Indicates that the decorated function handles incoming `OPTIONS` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Param**(`name?`): (`target`, `propertyKey`, `index`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:174](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L174)
11
+ Defined in: [src/decorators/RouteDecorators.ts:174](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L174)
12
12
 
13
13
  Injects the value of the specified URI parameter with the given name as the value of the decorated argument. If no
14
14
  name is specified the entire request parameter will be injected.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Patch**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:187](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L187)
11
+ Defined in: [src/decorators/RouteDecorators.ts:187](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L187)
12
12
 
13
13
  Indicates that the decorated function handles incoming `PATCH` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Post**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:196](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L196)
11
+ Defined in: [src/decorators/RouteDecorators.ts:196](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L196)
12
12
 
13
13
  Indicates that the decorated function handles incoming `POST` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Protect**(`acl?`): (`target`, `propertyKey?`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:222](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L222)
11
+ Defined in: [src/decorators/RouteDecorators.ts:222](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L222)
12
12
 
13
13
  Apply this to any route handler class or an individual route handler function to indicate that it should be
14
14
  protected by the AccessControlList security system. The `acl` parameter specifies the ACL governing access
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Put**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:205](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L205)
11
+ Defined in: [src/decorators/RouteDecorators.ts:205](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L205)
12
12
 
13
13
  Indicates that the decorated function handles incoming `PUT` requests at the given sub-path.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Query**(`name?`): (`target`, `propertyKey`, `index`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:265](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L265)
11
+ Defined in: [src/decorators/RouteDecorators.ts:265](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L265)
12
12
 
13
13
  Injects the value of the specified query parameter with the given name as the value of the decorated argument. If
14
14
  no name is specified the entire request query will be injected.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Request**(`target`, `propertyKey`, `index`): `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:276](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L276)
11
+ Defined in: [src/decorators/RouteDecorators.ts:276](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L276)
12
12
 
13
13
  Injects the Express request object as the value of the decorated argument.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **RequiresRole**(`roles`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:297](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L297)
11
+ Defined in: [src/decorators/RouteDecorators.ts:297](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L297)
12
12
 
13
13
  Indicates that the client must be an authenticated user with at least one of the specified role(s) to process the
14
14
  request.
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Response**(`target`, `propertyKey`, `index`): `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:285](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L285)
11
+ Defined in: [src/decorators/RouteDecorators.ts:285](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L285)
12
12
 
13
13
  Injects the Express response object as the value of the decorated argument.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Route**(`paths`): (`target`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:310](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L310)
11
+ Defined in: [src/decorators/RouteDecorators.ts:310](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L310)
12
12
 
13
13
  Indicates that the decorated class contains Express route definitions.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Socket**(`target`, `propertyKey`, `index`): `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:323](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L323)
11
+ Defined in: [src/decorators/RouteDecorators.ts:323](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L323)
12
12
 
13
13
  Injects the underlying Socket object associated with the request as the value of the decorated argument.
14
14
  When the handler function is for a WebSocket request, the returned socket will be the newly established
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **User**(`target`, `propertyKey`, `index`): `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:332](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L332)
11
+ Defined in: [src/decorators/RouteDecorators.ts:332](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L332)
12
12
 
13
13
  Injects the authenticated user object as the value of the decorated argument.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **Validate**(`func`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:343](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L343)
11
+ Defined in: [src/decorators/RouteDecorators.ts:343](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L343)
12
12
 
13
13
  Indicates a validation function to execute in order to verify an incoming requests payload.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **WebSocket**(`path?`): (`target`, `propertyKey`, `descriptor`) => `void`
10
10
 
11
- Defined in: [src/decorators/RouteDecorators.ts:356](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/decorators/RouteDecorators.ts#L356)
11
+ Defined in: [src/decorators/RouteDecorators.ts:356](https://github.com/rapidrest/service-core/blob/ab54834688bebfbea1d8258c626822205861b919/src/decorators/RouteDecorators.ts#L356)
12
12
 
13
13
  Indicates that the decorated function handles incoming `WebSocket` upgrade requests at the given sub-path.
14
14