@rapidrest/service-core 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/auth/AuthMiddleware.js +33 -3
- package/dist/lib/auth/AuthMiddleware.js.map +1 -1
- package/dist/lib/auth/BasicStrategy.js +46 -39
- package/dist/lib/auth/BasicStrategy.js.map +1 -1
- package/dist/lib/auth/JWTStrategy.js +69 -60
- package/dist/lib/auth/JWTStrategy.js.map +1 -1
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/routes/RouteUtils.js +8 -7
- package/dist/lib/routes/RouteUtils.js.map +1 -1
- package/dist/types/auth/AuthMiddleware.d.ts +12 -1
- package/dist/types/auth/AuthStrategy.d.ts +13 -1
- package/dist/types/auth/BasicStrategy.d.ts +7 -3
- package/dist/types/auth/JWTStrategy.d.ts +6 -3
- package/dist/types/index.d.ts +2 -1
- package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/MongoRepository.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/RedisConnection.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DatabaseDecorators/functions/Repository.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Default.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Description.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Document.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Example.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Format.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Returns.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Summary.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/Tags.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/functions/TypeInfo.md +1 -1
- package/docs/reference/@rapidrest/namespaces/DocDecorators/interfaces/DocumentsData.md +7 -7
- package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/EventListener.md +1 -1
- package/docs/reference/@rapidrest/namespaces/EventDecorators/functions/OnEvent.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Cache.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/ChildEntity.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/DataStore.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Identifier.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Protect.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Reference.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/Shard.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/functions/TrackChanges.md +1 -1
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/interfaces/PendingTypeOrmColumn.md +5 -5
- package/docs/reference/@rapidrest/namespaces/ModelDecorators/variables/pendingTypeOrmColumns.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Column.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Entity.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Index.md +3 -3
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/PrimaryColumn.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/Unique.md +3 -3
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getColumnMetadata.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getEntityName.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/functions/getIndexMetadata.md +1 -1
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnInfo.md +4 -4
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/ColumnOptions.md +5 -5
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexInfo.md +4 -4
- package/docs/reference/@rapidrest/namespaces/PersistenceDecorators/interfaces/IndexOptions.md +5 -5
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/After.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Auth.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/AuthResult.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Before.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/ContentType.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Delete.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Get.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Head.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Header.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Method.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Model.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Options.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Param.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Patch.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Post.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Protect.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Put.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Query.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Request.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/RequiresRole.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Response.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Route.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Socket.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/User.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/Validate.md +1 -1
- package/docs/reference/@rapidrest/namespaces/RouteDecorators/functions/WebSocket.md +1 -1
- package/docs/reference/classes/ACLUtils.md +10 -10
- package/docs/reference/classes/AdminRoute.md +3 -3
- package/docs/reference/classes/AuthMiddleware.md +55 -13
- package/docs/reference/classes/BackgroundService.md +8 -8
- package/docs/reference/classes/BackgroundServiceManager.md +7 -7
- package/docs/reference/classes/BaseEntity.md +6 -6
- package/docs/reference/classes/BaseMongoEntity.md +7 -7
- package/docs/reference/classes/BasicStrategy.md +52 -10
- package/docs/reference/classes/BasicStrategyOptions.md +35 -11
- package/docs/reference/classes/BulkError.md +3 -3
- package/docs/reference/classes/ConnectionManager.md +4 -4
- package/docs/reference/classes/EventListenerManager.md +5 -5
- package/docs/reference/classes/HttpRouter.md +343 -0
- package/docs/reference/classes/JWTStrategy.md +37 -14
- package/docs/reference/classes/JWTStrategyOptions.md +10 -10
- package/docs/reference/classes/MetricsRoute.md +2 -2
- package/docs/reference/classes/ModelRoute.md +28 -28
- package/docs/reference/classes/ModelUtils.md +10 -10
- package/docs/reference/classes/MongoConnection.md +12 -12
- package/docs/reference/classes/MongoRepository.md +17 -17
- package/docs/reference/classes/MongoSchemaSync.md +3 -3
- package/docs/reference/classes/NetUtils.md +4 -4
- package/docs/reference/classes/NotificationUtils.md +3 -3
- package/docs/reference/classes/ObjectFactory.md +10 -10
- package/docs/reference/classes/OpenAPIRoute.md +5 -5
- package/docs/reference/classes/OpenApiSpec.md +45 -45
- package/docs/reference/classes/RecoverableBaseEntity.md +7 -7
- package/docs/reference/classes/RecoverableBaseMongoEntity.md +8 -8
- package/docs/reference/classes/RedisTransport.md +4 -4
- package/docs/reference/classes/RepoUtils.md +28 -28
- package/docs/reference/classes/RouteUtils.md +17 -17
- package/docs/reference/classes/Server.md +29 -29
- package/docs/reference/classes/SimpleEntity.md +3 -3
- package/docs/reference/classes/SimpleMongoEntity.md +4 -4
- package/docs/reference/classes/StatusExtraData.md +4 -4
- package/docs/reference/classes/StatusRoute.md +1 -1
- package/docs/reference/classes/UWSRequest.md +226 -0
- package/docs/reference/classes/UWSResponse.md +257 -0
- package/docs/reference/classes/UWSWebSocketShim.md +958 -0
- package/docs/reference/enumerations/ACLAction.md +7 -7
- package/docs/reference/enumerations/ApiErrorMessages.md +15 -15
- package/docs/reference/enumerations/ApiErrors.md +15 -15
- package/docs/reference/functions/createWebSocketStream.md +27 -0
- package/docs/reference/functions/isSqlDataSource.md +1 -1
- package/docs/reference/functions/readBody.md +29 -0
- package/docs/reference/functions/resolveCollectionName.md +1 -1
- package/docs/reference/functions/runChain.md +40 -0
- package/docs/reference/functions/snakeCase.md +1 -1
- package/docs/reference/globals.md +15 -0
- package/docs/reference/interfaces/ACLRecord.md +8 -8
- package/docs/reference/interfaces/AccessControlList.md +5 -5
- package/docs/reference/interfaces/AuthResult.md +5 -5
- package/docs/reference/interfaces/AuthStrategy.md +47 -9
- package/docs/reference/interfaces/CreateRequestOptions.md +11 -11
- package/docs/reference/interfaces/DeleteRequestOptions.md +13 -13
- package/docs/reference/interfaces/FindRequestOptions.md +12 -12
- package/docs/reference/interfaces/HttpRequest.md +147 -0
- package/docs/reference/interfaces/HttpResponse.md +164 -0
- package/docs/reference/interfaces/JWTAuthResult.md +9 -9
- package/docs/reference/interfaces/RepoCreateOptions.md +7 -7
- package/docs/reference/interfaces/RepoDeleteOptions.md +9 -9
- package/docs/reference/interfaces/RepoFindOptions.md +11 -11
- package/docs/reference/interfaces/RepoOperationOptions.md +6 -6
- package/docs/reference/interfaces/RepoUpdateOptions.md +8 -8
- package/docs/reference/interfaces/RequestOptions.md +10 -10
- package/docs/reference/interfaces/RequestWS.md +225 -0
- package/docs/reference/interfaces/TruncateRequestOptions.md +15 -15
- package/docs/reference/interfaces/UpdateRequestOptions.md +13 -13
- package/docs/reference/type-aliases/ErrorHandler.md +35 -0
- package/docs/reference/type-aliases/NextFunction.md +23 -0
- package/docs/reference/type-aliases/OneOrMany.md +1 -1
- package/docs/reference/type-aliases/OneOrNull.md +1 -1
- package/docs/reference/type-aliases/PartialBaseEntity.md +1 -1
- package/docs/reference/type-aliases/PartialSimpleEntity.md +1 -1
- package/docs/reference/type-aliases/RequestHandler.md +31 -0
- package/docs/reference/type-aliases/UpdateObject.md +1 -1
- package/docs/reference/type-aliases/WsUpgradeAuth.md +27 -0
- package/docs/reference/type-aliases/WsUpgradeAuthResult.md +47 -0
- package/package.json +2 -2
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
[**@rapidrest/service-core**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rapidrest/service-core](../globals.md) / HttpResponse
|
|
6
|
+
|
|
7
|
+
# Interface: HttpResponse
|
|
8
|
+
|
|
9
|
+
Defined in: [src/http/types.ts:37](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L37)
|
|
10
|
+
|
|
11
|
+
Framework-agnostic HTTP response interface. Mirrors the Express `Response` surface used
|
|
12
|
+
throughout this codebase.
|
|
13
|
+
|
|
14
|
+
## Indexable
|
|
15
|
+
|
|
16
|
+
> \[`key`: `string`\]: `any`
|
|
17
|
+
|
|
18
|
+
Allow arbitrary per-response properties.
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
### headersSent
|
|
23
|
+
|
|
24
|
+
> **headersSent**: `boolean`
|
|
25
|
+
|
|
26
|
+
Defined in: [src/http/types.ts:39](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L39)
|
|
27
|
+
|
|
28
|
+
***
|
|
29
|
+
|
|
30
|
+
### result?
|
|
31
|
+
|
|
32
|
+
> `optional` **result?**: `any`
|
|
33
|
+
|
|
34
|
+
Defined in: [src/http/types.ts:42](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L42)
|
|
35
|
+
|
|
36
|
+
Intermediate result passed between middleware via res.result.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### statusCode
|
|
41
|
+
|
|
42
|
+
> **statusCode**: `number`
|
|
43
|
+
|
|
44
|
+
Defined in: [src/http/types.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L38)
|
|
45
|
+
|
|
46
|
+
***
|
|
47
|
+
|
|
48
|
+
### writableEnded
|
|
49
|
+
|
|
50
|
+
> **writableEnded**: `boolean`
|
|
51
|
+
|
|
52
|
+
Defined in: [src/http/types.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L40)
|
|
53
|
+
|
|
54
|
+
## Methods
|
|
55
|
+
|
|
56
|
+
### end()
|
|
57
|
+
|
|
58
|
+
> **end**(`data?`): `void`
|
|
59
|
+
|
|
60
|
+
Defined in: [src/http/types.ts:48](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L48)
|
|
61
|
+
|
|
62
|
+
#### Parameters
|
|
63
|
+
|
|
64
|
+
##### data?
|
|
65
|
+
|
|
66
|
+
`any`
|
|
67
|
+
|
|
68
|
+
#### Returns
|
|
69
|
+
|
|
70
|
+
`void`
|
|
71
|
+
|
|
72
|
+
***
|
|
73
|
+
|
|
74
|
+
### getHeader()
|
|
75
|
+
|
|
76
|
+
> **getHeader**(`key`): `string` \| `undefined`
|
|
77
|
+
|
|
78
|
+
Defined in: [src/http/types.ts:45](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L45)
|
|
79
|
+
|
|
80
|
+
#### Parameters
|
|
81
|
+
|
|
82
|
+
##### key
|
|
83
|
+
|
|
84
|
+
`string`
|
|
85
|
+
|
|
86
|
+
#### Returns
|
|
87
|
+
|
|
88
|
+
`string` \| `undefined`
|
|
89
|
+
|
|
90
|
+
***
|
|
91
|
+
|
|
92
|
+
### json()
|
|
93
|
+
|
|
94
|
+
> **json**(`data`): `void`
|
|
95
|
+
|
|
96
|
+
Defined in: [src/http/types.ts:46](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L46)
|
|
97
|
+
|
|
98
|
+
#### Parameters
|
|
99
|
+
|
|
100
|
+
##### data
|
|
101
|
+
|
|
102
|
+
`any`
|
|
103
|
+
|
|
104
|
+
#### Returns
|
|
105
|
+
|
|
106
|
+
`void`
|
|
107
|
+
|
|
108
|
+
***
|
|
109
|
+
|
|
110
|
+
### send()
|
|
111
|
+
|
|
112
|
+
> **send**(`data?`): `void`
|
|
113
|
+
|
|
114
|
+
Defined in: [src/http/types.ts:47](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L47)
|
|
115
|
+
|
|
116
|
+
#### Parameters
|
|
117
|
+
|
|
118
|
+
##### data?
|
|
119
|
+
|
|
120
|
+
`any`
|
|
121
|
+
|
|
122
|
+
#### Returns
|
|
123
|
+
|
|
124
|
+
`void`
|
|
125
|
+
|
|
126
|
+
***
|
|
127
|
+
|
|
128
|
+
### setHeader()
|
|
129
|
+
|
|
130
|
+
> **setHeader**(`key`, `value`): `this`
|
|
131
|
+
|
|
132
|
+
Defined in: [src/http/types.ts:44](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L44)
|
|
133
|
+
|
|
134
|
+
#### Parameters
|
|
135
|
+
|
|
136
|
+
##### key
|
|
137
|
+
|
|
138
|
+
`string`
|
|
139
|
+
|
|
140
|
+
##### value
|
|
141
|
+
|
|
142
|
+
`string` \| `number`
|
|
143
|
+
|
|
144
|
+
#### Returns
|
|
145
|
+
|
|
146
|
+
`this`
|
|
147
|
+
|
|
148
|
+
***
|
|
149
|
+
|
|
150
|
+
### status()
|
|
151
|
+
|
|
152
|
+
> **status**(`code`): `this`
|
|
153
|
+
|
|
154
|
+
Defined in: [src/http/types.ts:43](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/http/types.ts#L43)
|
|
155
|
+
|
|
156
|
+
#### Parameters
|
|
157
|
+
|
|
158
|
+
##### code
|
|
159
|
+
|
|
160
|
+
`number`
|
|
161
|
+
|
|
162
|
+
#### Returns
|
|
163
|
+
|
|
164
|
+
`this`
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: JWTAuthResult
|
|
8
8
|
|
|
9
|
-
Defined in: [src/auth/JWTStrategy.ts:
|
|
9
|
+
Defined in: [src/auth/JWTStrategy.ts:41](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/auth/JWTStrategy.ts#L41)
|
|
10
10
|
|
|
11
11
|
Result returned by `JWTStrategy.authenticate()`.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Result returned by `JWTStrategy.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/
|
|
23
|
+
Defined in: [src/auth/AuthStrategy.ts:12](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/auth/AuthStrategy.ts#L12)
|
|
24
24
|
|
|
25
25
|
The raw auth data that was verified.
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ The raw auth data that was verified.
|
|
|
34
34
|
|
|
35
35
|
> **method**: `string`
|
|
36
36
|
|
|
37
|
-
Defined in: [src/auth/AuthStrategy.ts:14](https://github.com/rapidrest/service-core/blob/
|
|
37
|
+
Defined in: [src/auth/AuthStrategy.ts:14](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/auth/AuthStrategy.ts#L14)
|
|
38
38
|
|
|
39
39
|
The name of the auth strategy that produced this result.
|
|
40
40
|
|
|
@@ -48,7 +48,7 @@ The name of the auth strategy that produced this result.
|
|
|
48
48
|
|
|
49
49
|
> `optional` **payload?**: `any`
|
|
50
50
|
|
|
51
|
-
Defined in: [src/auth/AuthStrategy.ts:16](https://github.com/rapidrest/service-core/blob/
|
|
51
|
+
Defined in: [src/auth/AuthStrategy.ts:16](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/auth/AuthStrategy.ts#L16)
|
|
52
52
|
|
|
53
53
|
The fully decoded payload from the auth data.
|
|
54
54
|
|
|
@@ -62,11 +62,11 @@ The fully decoded payload from the auth data.
|
|
|
62
62
|
|
|
63
63
|
> `optional` **tokenFound?**: `boolean`
|
|
64
64
|
|
|
65
|
-
Defined in: [src/auth/JWTStrategy.ts:
|
|
65
|
+
Defined in: [src/auth/JWTStrategy.ts:48](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/auth/JWTStrategy.ts#L48)
|
|
66
66
|
|
|
67
|
-
`true` when at least one credential (header, query param, or cookie) was present in
|
|
68
|
-
the request, even if it was ultimately invalid. Distinguishes "no token submitted" from
|
|
69
|
-
"bad token submitted" — useful for deciding whether to reject early vs. fall through to
|
|
67
|
+
`true` when at least one credential (header, query param, or cookie) was present in
|
|
68
|
+
the request, even if it was ultimately invalid. Distinguishes "no token submitted" from
|
|
69
|
+
"bad token submitted" — useful for deciding whether to reject early vs. fall through to
|
|
70
70
|
an alternative auth path (e.g. WebSocket message-based LOGIN).
|
|
71
71
|
|
|
72
72
|
***
|
|
@@ -75,7 +75,7 @@ an alternative auth path (e.g. WebSocket message-based LOGIN).
|
|
|
75
75
|
|
|
76
76
|
> `optional` **user?**: `JWTUser`
|
|
77
77
|
|
|
78
|
-
Defined in: [src/auth/AuthStrategy.ts:18](https://github.com/rapidrest/service-core/blob/
|
|
78
|
+
Defined in: [src/auth/AuthStrategy.ts:18](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/auth/AuthStrategy.ts#L18)
|
|
79
79
|
|
|
80
80
|
The authenticated user profile, or `undefined` if authentication failed.
|
|
81
81
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: RepoCreateOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/models/RepoUtils.ts:46](https://github.com/rapidrest/service-core/blob/
|
|
9
|
+
Defined in: [src/models/RepoUtils.ts:46](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L46)
|
|
10
10
|
|
|
11
11
|
The available options for the `RepoUtils.create()` operation.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ The available options for the `RepoUtils.create()` operation.
|
|
|
20
20
|
|
|
21
21
|
> `optional` **acl?**: [`AccessControlList`](AccessControlList.md)
|
|
22
22
|
|
|
23
|
-
Defined in: [src/models/RepoUtils.ts:48](https://github.com/rapidrest/service-core/blob/
|
|
23
|
+
Defined in: [src/models/RepoUtils.ts:48](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L48)
|
|
24
24
|
|
|
25
25
|
The AccessControlList to use when creating a new object.
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The AccessControlList to use when creating a new object.
|
|
|
30
30
|
|
|
31
31
|
> `optional` **ignoreACL?**: `boolean`
|
|
32
32
|
|
|
33
|
-
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/
|
|
33
|
+
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
|
|
34
34
|
|
|
35
35
|
Set to `true` to ignore the ACL permissions check.
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ Set to `true` to ignore the ACL permissions check.
|
|
|
44
44
|
|
|
45
45
|
> `optional` **pushChannels?**: `string`[]
|
|
46
46
|
|
|
47
|
-
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/
|
|
47
|
+
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
|
|
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
|
> `optional` **recordEvent?**: `boolean`
|
|
60
60
|
|
|
61
|
-
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/
|
|
61
|
+
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
|
|
62
62
|
|
|
63
63
|
Indicates if a telemetry event should be broadcast for the request.
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ Indicates if a telemetry event should be broadcast for the request.
|
|
|
72
72
|
|
|
73
73
|
> `optional` **skipPush?**: `boolean`
|
|
74
74
|
|
|
75
|
-
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/
|
|
75
|
+
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
|
|
76
76
|
|
|
77
77
|
Set to `true` to not send a push notification.
|
|
78
78
|
|
|
@@ -86,7 +86,7 @@ Set to `true` to not send a push notification.
|
|
|
86
86
|
|
|
87
87
|
> `optional` **user?**: `JWTUser`
|
|
88
88
|
|
|
89
|
-
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/
|
|
89
|
+
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
|
|
90
90
|
|
|
91
91
|
The authenticated user making the request.
|
|
92
92
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: RepoDeleteOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/models/RepoUtils.ts:54](https://github.com/rapidrest/service-core/blob/
|
|
9
|
+
Defined in: [src/models/RepoUtils.ts:54](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L54)
|
|
10
10
|
|
|
11
11
|
The available options for the `RepoUtils.delete()` operation.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ The available options for the `RepoUtils.delete()` operation.
|
|
|
20
20
|
|
|
21
21
|
> `optional` **ignoreACL?**: `boolean`
|
|
22
22
|
|
|
23
|
-
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/
|
|
23
|
+
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
|
|
24
24
|
|
|
25
25
|
Set to `true` to ignore the ACL permissions check.
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ Set to `true` to ignore the ACL permissions check.
|
|
|
34
34
|
|
|
35
35
|
> `optional` **productUid?**: `string`
|
|
36
36
|
|
|
37
|
-
Defined in: [src/models/RepoUtils.ts:56](https://github.com/rapidrest/service-core/blob/
|
|
37
|
+
Defined in: [src/models/RepoUtils.ts:56](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L56)
|
|
38
38
|
|
|
39
39
|
The desired product uid of the resource to delete.
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ The desired product uid of the resource to delete.
|
|
|
44
44
|
|
|
45
45
|
> `optional` **purge?**: `boolean`
|
|
46
46
|
|
|
47
|
-
Defined in: [src/models/RepoUtils.ts:58](https://github.com/rapidrest/service-core/blob/
|
|
47
|
+
Defined in: [src/models/RepoUtils.ts:58](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L58)
|
|
48
48
|
|
|
49
49
|
Set to true to permanently remove the object from the database (if applicable).
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@ Set to true to permanently remove the object from the database (if applicable).
|
|
|
54
54
|
|
|
55
55
|
> `optional` **pushChannels?**: `string`[]
|
|
56
56
|
|
|
57
|
-
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/
|
|
57
|
+
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
|
|
58
58
|
|
|
59
59
|
An additional list of channel names to send push notifications to.
|
|
60
60
|
|
|
@@ -68,7 +68,7 @@ An additional list of channel names to send push notifications to.
|
|
|
68
68
|
|
|
69
69
|
> `optional` **recordEvent?**: `boolean`
|
|
70
70
|
|
|
71
|
-
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/
|
|
71
|
+
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
|
|
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` **skipPush?**: `boolean`
|
|
84
84
|
|
|
85
|
-
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/
|
|
85
|
+
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
|
|
86
86
|
|
|
87
87
|
Set to `true` to not send a push notification.
|
|
88
88
|
|
|
@@ -96,7 +96,7 @@ Set to `true` to not send a push notification.
|
|
|
96
96
|
|
|
97
97
|
> `optional` **user?**: `JWTUser`
|
|
98
98
|
|
|
99
|
-
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/
|
|
99
|
+
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
|
|
100
100
|
|
|
101
101
|
The authenticated user making the request.
|
|
102
102
|
|
|
@@ -110,6 +110,6 @@ The authenticated user making the request.
|
|
|
110
110
|
|
|
111
111
|
> `optional` **version?**: `string` \| `number`
|
|
112
112
|
|
|
113
|
-
Defined in: [src/models/RepoUtils.ts:60](https://github.com/rapidrest/service-core/blob/
|
|
113
|
+
Defined in: [src/models/RepoUtils.ts:60](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L60)
|
|
114
114
|
|
|
115
115
|
The desired version number of the resource to delete.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: RepoFindOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/models/RepoUtils.ts:63](https://github.com/rapidrest/service-core/blob/
|
|
9
|
+
Defined in: [src/models/RepoUtils.ts:63](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L63)
|
|
10
10
|
|
|
11
11
|
The available options used for `RepoUtils` operations.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ The available options used for `RepoUtils` operations.
|
|
|
20
20
|
|
|
21
21
|
> `optional` **ignoreACL?**: `boolean`
|
|
22
22
|
|
|
23
|
-
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/
|
|
23
|
+
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
|
|
24
24
|
|
|
25
25
|
Set to `true` to ignore the ACL permissions check.
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ Set to `true` to ignore the ACL permissions check.
|
|
|
34
34
|
|
|
35
35
|
> `optional` **limit?**: `number`
|
|
36
36
|
|
|
37
|
-
Defined in: [src/models/RepoUtils.ts:65](https://github.com/rapidrest/service-core/blob/
|
|
37
|
+
Defined in: [src/models/RepoUtils.ts:65](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L65)
|
|
38
38
|
|
|
39
39
|
The total number of resources to retrieve.
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ The total number of resources to retrieve.
|
|
|
44
44
|
|
|
45
45
|
> `optional` **page?**: `number`
|
|
46
46
|
|
|
47
|
-
Defined in: [src/models/RepoUtils.ts:67](https://github.com/rapidrest/service-core/blob/
|
|
47
|
+
Defined in: [src/models/RepoUtils.ts:67](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L67)
|
|
48
48
|
|
|
49
49
|
The page number of the paginated results to retrieve.
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@ The page number of the paginated results to retrieve.
|
|
|
54
54
|
|
|
55
55
|
> `optional` **productUid?**: `string`
|
|
56
56
|
|
|
57
|
-
Defined in: [src/models/RepoUtils.ts:69](https://github.com/rapidrest/service-core/blob/
|
|
57
|
+
Defined in: [src/models/RepoUtils.ts:69](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L69)
|
|
58
58
|
|
|
59
59
|
The desired product uid of the resources to retrieve.
|
|
60
60
|
|
|
@@ -64,7 +64,7 @@ The desired product uid of the resources to retrieve.
|
|
|
64
64
|
|
|
65
65
|
> `optional` **pushChannels?**: `string`[]
|
|
66
66
|
|
|
67
|
-
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/
|
|
67
|
+
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
|
|
68
68
|
|
|
69
69
|
An additional list of channel names to send push notifications to.
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ An additional list of channel names to send push notifications to.
|
|
|
78
78
|
|
|
79
79
|
> `optional` **recordEvent?**: `boolean`
|
|
80
80
|
|
|
81
|
-
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/
|
|
81
|
+
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
|
|
82
82
|
|
|
83
83
|
Indicates if a telemetry event should be broadcast for the request.
|
|
84
84
|
|
|
@@ -92,7 +92,7 @@ Indicates if a telemetry event should be broadcast for the request.
|
|
|
92
92
|
|
|
93
93
|
> `optional` **skipCache?**: `boolean`
|
|
94
94
|
|
|
95
|
-
Defined in: [src/models/RepoUtils.ts:71](https://github.com/rapidrest/service-core/blob/
|
|
95
|
+
Defined in: [src/models/RepoUtils.ts:71](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L71)
|
|
96
96
|
|
|
97
97
|
Set to `true` to skip retrieval from the cache. Default is `false`.
|
|
98
98
|
|
|
@@ -102,7 +102,7 @@ Set to `true` to skip retrieval from the cache. Default is `false`.
|
|
|
102
102
|
|
|
103
103
|
> `optional` **skipPush?**: `boolean`
|
|
104
104
|
|
|
105
|
-
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/
|
|
105
|
+
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
|
|
106
106
|
|
|
107
107
|
Set to `true` to not send a push notification.
|
|
108
108
|
|
|
@@ -116,7 +116,7 @@ Set to `true` to not send a push notification.
|
|
|
116
116
|
|
|
117
117
|
> `optional` **user?**: `JWTUser`
|
|
118
118
|
|
|
119
|
-
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/
|
|
119
|
+
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
|
|
120
120
|
|
|
121
121
|
The authenticated user making the request.
|
|
122
122
|
|
|
@@ -130,6 +130,6 @@ The authenticated user making the request.
|
|
|
130
130
|
|
|
131
131
|
> `optional` **version?**: `string` \| `number`
|
|
132
132
|
|
|
133
|
-
Defined in: [src/models/RepoUtils.ts:73](https://github.com/rapidrest/service-core/blob/
|
|
133
|
+
Defined in: [src/models/RepoUtils.ts:73](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L73)
|
|
134
134
|
|
|
135
135
|
The desired version number of the resources to retrieve.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: RepoOperationOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/models/RepoUtils.ts:30](https://github.com/rapidrest/service-core/blob/
|
|
9
|
+
Defined in: [src/models/RepoUtils.ts:30](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L30)
|
|
10
10
|
|
|
11
11
|
The available options used for `RepoUtils` operations.
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ The available options used for `RepoUtils` operations.
|
|
|
24
24
|
|
|
25
25
|
> `optional` **ignoreACL?**: `boolean`
|
|
26
26
|
|
|
27
|
-
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/
|
|
27
|
+
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
|
|
28
28
|
|
|
29
29
|
Set to `true` to ignore the ACL permissions check.
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ Set to `true` to ignore the ACL permissions check.
|
|
|
34
34
|
|
|
35
35
|
> `optional` **pushChannels?**: `string`[]
|
|
36
36
|
|
|
37
|
-
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/
|
|
37
|
+
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
|
|
38
38
|
|
|
39
39
|
An additional list of channel names to send push notifications to.
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ An additional list of channel names to send push notifications to.
|
|
|
44
44
|
|
|
45
45
|
> `optional` **recordEvent?**: `boolean`
|
|
46
46
|
|
|
47
|
-
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/
|
|
47
|
+
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
|
|
48
48
|
|
|
49
49
|
Indicates if a telemetry event should be broadcast for the request.
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@ Indicates if a telemetry event should be broadcast for the request.
|
|
|
54
54
|
|
|
55
55
|
> `optional` **skipPush?**: `boolean`
|
|
56
56
|
|
|
57
|
-
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/
|
|
57
|
+
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
|
|
58
58
|
|
|
59
59
|
Set to `true` to not send a push notification.
|
|
60
60
|
|
|
@@ -64,6 +64,6 @@ Set to `true` to not send a push notification.
|
|
|
64
64
|
|
|
65
65
|
> `optional` **user?**: `JWTUser`
|
|
66
66
|
|
|
67
|
-
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/
|
|
67
|
+
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
|
|
68
68
|
|
|
69
69
|
The authenticated user making the request.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: RepoUpdateOptions\<T\>
|
|
8
8
|
|
|
9
|
-
Defined in: [src/models/RepoUtils.ts:79](https://github.com/rapidrest/service-core/blob/
|
|
9
|
+
Defined in: [src/models/RepoUtils.ts:79](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L79)
|
|
10
10
|
|
|
11
11
|
The available options for the `RepoUtils.update()` operation.
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ The available options for the `RepoUtils.update()` operation.
|
|
|
26
26
|
|
|
27
27
|
> `optional` **ignoreACL?**: `boolean`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/
|
|
29
|
+
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
|
|
30
30
|
|
|
31
31
|
Set to `true` to ignore the ACL permissions check.
|
|
32
32
|
|
|
@@ -40,7 +40,7 @@ Set to `true` to ignore the ACL permissions check.
|
|
|
40
40
|
|
|
41
41
|
> `optional` **productUid?**: `string`
|
|
42
42
|
|
|
43
|
-
Defined in: [src/models/RepoUtils.ts:81](https://github.com/rapidrest/service-core/blob/
|
|
43
|
+
Defined in: [src/models/RepoUtils.ts:81](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L81)
|
|
44
44
|
|
|
45
45
|
The desired product uid of the resource to update.
|
|
46
46
|
|
|
@@ -50,7 +50,7 @@ The desired product uid of the resource to update.
|
|
|
50
50
|
|
|
51
51
|
> `optional` **pushChannels?**: `string`[]
|
|
52
52
|
|
|
53
|
-
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/
|
|
53
|
+
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
|
|
54
54
|
|
|
55
55
|
An additional list of channel names to send push notifications to.
|
|
56
56
|
|
|
@@ -64,7 +64,7 @@ An additional list of channel names to send push notifications to.
|
|
|
64
64
|
|
|
65
65
|
> `optional` **recordEvent?**: `boolean`
|
|
66
66
|
|
|
67
|
-
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/
|
|
67
|
+
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
|
|
68
68
|
|
|
69
69
|
Indicates if a telemetry event should be broadcast for the request.
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ Indicates if a telemetry event should be broadcast for the request.
|
|
|
78
78
|
|
|
79
79
|
> `optional` **skipPush?**: `boolean`
|
|
80
80
|
|
|
81
|
-
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/
|
|
81
|
+
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
|
|
82
82
|
|
|
83
83
|
Set to `true` to not send a push notification.
|
|
84
84
|
|
|
@@ -92,7 +92,7 @@ Set to `true` to not send a push notification.
|
|
|
92
92
|
|
|
93
93
|
> `optional` **user?**: `JWTUser`
|
|
94
94
|
|
|
95
|
-
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/
|
|
95
|
+
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
|
|
96
96
|
|
|
97
97
|
The authenticated user making the request.
|
|
98
98
|
|
|
@@ -106,6 +106,6 @@ The authenticated user making the request.
|
|
|
106
106
|
|
|
107
107
|
> `optional` **version?**: `string` \| `number`
|
|
108
108
|
|
|
109
|
-
Defined in: [src/models/RepoUtils.ts:83](https://github.com/rapidrest/service-core/blob/
|
|
109
|
+
Defined in: [src/models/RepoUtils.ts:83](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L83)
|
|
110
110
|
|
|
111
111
|
The desired version number of the resource to update.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: RequestOptions
|
|
8
8
|
|
|
9
|
-
Defined in: [src/routes/ModelRoute.ts:25](https://github.com/rapidrest/service-core/blob/
|
|
9
|
+
Defined in: [src/routes/ModelRoute.ts:25](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L25)
|
|
10
10
|
|
|
11
11
|
The set of options required by all request handlers.
|
|
12
12
|
|
|
@@ -27,7 +27,7 @@ The set of options required by all request handlers.
|
|
|
27
27
|
|
|
28
28
|
> `optional` **ignoreACL?**: `boolean`
|
|
29
29
|
|
|
30
|
-
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/
|
|
30
|
+
Defined in: [src/models/RepoUtils.ts:32](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L32)
|
|
31
31
|
|
|
32
32
|
Set to `true` to ignore the ACL permissions check.
|
|
33
33
|
|
|
@@ -41,7 +41,7 @@ Set to `true` to ignore the ACL permissions check.
|
|
|
41
41
|
|
|
42
42
|
> `optional` **pushChannels?**: `string`[]
|
|
43
43
|
|
|
44
|
-
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/
|
|
44
|
+
Defined in: [src/models/RepoUtils.ts:34](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L34)
|
|
45
45
|
|
|
46
46
|
An additional list of channel names to send push notifications to.
|
|
47
47
|
|
|
@@ -55,7 +55,7 @@ An additional list of channel names to send push notifications to.
|
|
|
55
55
|
|
|
56
56
|
> `optional` **recordEvent?**: `boolean`
|
|
57
57
|
|
|
58
|
-
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/
|
|
58
|
+
Defined in: [src/models/RepoUtils.ts:36](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L36)
|
|
59
59
|
|
|
60
60
|
Indicates if a telemetry event should be broadcast for the request.
|
|
61
61
|
|
|
@@ -67,9 +67,9 @@ Indicates if a telemetry event should be broadcast for the request.
|
|
|
67
67
|
|
|
68
68
|
### req?
|
|
69
69
|
|
|
70
|
-
> `optional` **req?**: `HttpRequest`
|
|
70
|
+
> `optional` **req?**: [`HttpRequest`](HttpRequest.md)
|
|
71
71
|
|
|
72
|
-
Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/
|
|
72
|
+
Defined in: [src/routes/ModelRoute.ts:27](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L27)
|
|
73
73
|
|
|
74
74
|
The originating client request.
|
|
75
75
|
|
|
@@ -77,9 +77,9 @@ The originating client request.
|
|
|
77
77
|
|
|
78
78
|
### res?
|
|
79
79
|
|
|
80
|
-
> `optional` **res?**: `HttpResponse`
|
|
80
|
+
> `optional` **res?**: [`HttpResponse`](HttpResponse.md)
|
|
81
81
|
|
|
82
|
-
Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/
|
|
82
|
+
Defined in: [src/routes/ModelRoute.ts:29](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/routes/ModelRoute.ts#L29)
|
|
83
83
|
|
|
84
84
|
The outgoing client response.
|
|
85
85
|
|
|
@@ -89,7 +89,7 @@ The outgoing client response.
|
|
|
89
89
|
|
|
90
90
|
> `optional` **skipPush?**: `boolean`
|
|
91
91
|
|
|
92
|
-
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/
|
|
92
|
+
Defined in: [src/models/RepoUtils.ts:38](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L38)
|
|
93
93
|
|
|
94
94
|
Set to `true` to not send a push notification.
|
|
95
95
|
|
|
@@ -103,7 +103,7 @@ Set to `true` to not send a push notification.
|
|
|
103
103
|
|
|
104
104
|
> `optional` **user?**: `JWTUser`
|
|
105
105
|
|
|
106
|
-
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/
|
|
106
|
+
Defined in: [src/models/RepoUtils.ts:40](https://github.com/rapidrest/service-core/blob/5cd5bc79b3569101eabf54dec613fd4745a69b2b/src/models/RepoUtils.ts#L40)
|
|
107
107
|
|
|
108
108
|
The authenticated user making the request.
|
|
109
109
|
|