@twin.org/api-models 0.0.1-next.30 → 0.0.1-next.32
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/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Factory, BaseError, GuardError, ConflictError, NotFoundError, AlreadyExistsError, UnauthorizedError, NotImplementedError, UnprocessableError, Is } from '@twin.org/core';
|
|
2
|
-
import { HttpStatusCode,
|
|
2
|
+
import { HttpStatusCode, MimeTypes, HeaderTypes } from '@twin.org/web';
|
|
3
3
|
|
|
4
4
|
// Copyright 2024 IOTA Stiftung.
|
|
5
5
|
// SPDX-License-Identifier: Apache-2.0.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @twin.org/api-models - Changelog
|
|
2
2
|
|
|
3
|
-
## v0.0.1-next.
|
|
3
|
+
## [0.0.1-next.32](https://github.com/twinfoundation/api/compare/api-models-v0.0.1-next.31...api-models-v0.0.1-next.32) (2025-03-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **api-models:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## v0.0.1-next.31
|
|
4
11
|
|
|
5
12
|
- Initial Release
|
|
@@ -32,7 +32,7 @@ The response data to send if any.
|
|
|
32
32
|
|
|
33
33
|
The route being requested, if a matching one was found.
|
|
34
34
|
|
|
35
|
-
`undefined` | [`IRestRoute`](IRestRoute.md)
|
|
35
|
+
`undefined` | [`IRestRoute`](IRestRoute.md)\<`any`, `any`\>
|
|
36
36
|
|
|
37
37
|
##### requestIdentity
|
|
38
38
|
|
|
@@ -80,7 +80,7 @@ The response data to send if any.
|
|
|
80
80
|
|
|
81
81
|
The route being requested, if a matching one was found.
|
|
82
82
|
|
|
83
|
-
`undefined` | [`IRestRoute`](IRestRoute.md)
|
|
83
|
+
`undefined` | [`IRestRoute`](IRestRoute.md)\<`any`, `any`\>
|
|
84
84
|
|
|
85
85
|
##### requestIdentity
|
|
86
86
|
|
|
@@ -128,7 +128,7 @@ The response data to send if any.
|
|
|
128
128
|
|
|
129
129
|
The route being requested, if a matching one was found.
|
|
130
130
|
|
|
131
|
-
`undefined` | [`IRestRoute`](IRestRoute.md)
|
|
131
|
+
`undefined` | [`IRestRoute`](IRestRoute.md)\<`any`, `any`\>
|
|
132
132
|
|
|
133
133
|
##### requestIdentity
|
|
134
134
|
|
|
@@ -32,7 +32,7 @@ The response data to send if any.
|
|
|
32
32
|
|
|
33
33
|
The route being requested, if a matching one was found.
|
|
34
34
|
|
|
35
|
-
`undefined` | [`ISocketRoute`](ISocketRoute.md)
|
|
35
|
+
`undefined` | [`ISocketRoute`](ISocketRoute.md)\<`any`, `any`\>
|
|
36
36
|
|
|
37
37
|
##### requestIdentity
|
|
38
38
|
|
|
@@ -80,7 +80,7 @@ The response data to send if any.
|
|
|
80
80
|
|
|
81
81
|
The route being requested, if a matching one was found.
|
|
82
82
|
|
|
83
|
-
`undefined` | [`ISocketRoute`](ISocketRoute.md)
|
|
83
|
+
`undefined` | [`ISocketRoute`](ISocketRoute.md)\<`any`, `any`\>
|
|
84
84
|
|
|
85
85
|
##### requestIdentity
|
|
86
86
|
|
|
@@ -122,7 +122,7 @@ The request to handle.
|
|
|
122
122
|
|
|
123
123
|
The route being requested, if a matching one was found.
|
|
124
124
|
|
|
125
|
-
`undefined` | [`ISocketRoute`](ISocketRoute.md)
|
|
125
|
+
`undefined` | [`ISocketRoute`](ISocketRoute.md)\<`any`, `any`\>
|
|
126
126
|
|
|
127
127
|
##### processorState
|
|
128
128
|
|
|
@@ -154,7 +154,7 @@ The request to handle.
|
|
|
154
154
|
|
|
155
155
|
The route being requested, if a matching one was found.
|
|
156
156
|
|
|
157
|
-
`undefined` | [`ISocketRoute`](ISocketRoute.md)
|
|
157
|
+
`undefined` | [`ISocketRoute`](ISocketRoute.md)\<`any`, `any`\>
|
|
158
158
|
|
|
159
159
|
##### processorState
|
|
160
160
|
|
|
@@ -192,7 +192,7 @@ The response data to send if any.
|
|
|
192
192
|
|
|
193
193
|
The route being requested, if a matching one was found.
|
|
194
194
|
|
|
195
|
-
`undefined` | [`ISocketRoute`](ISocketRoute.md)
|
|
195
|
+
`undefined` | [`ISocketRoute`](ISocketRoute.md)\<`any`, `any`\>
|
|
196
196
|
|
|
197
197
|
##### requestIdentity
|
|
198
198
|
|
|
@@ -38,7 +38,7 @@ The processors for incoming requests over REST.
|
|
|
38
38
|
|
|
39
39
|
##### restRoutes?
|
|
40
40
|
|
|
41
|
-
[`IRestRoute`](IRestRoute.md)[]
|
|
41
|
+
[`IRestRoute`](IRestRoute.md)\<`any`, `any`\>[]
|
|
42
42
|
|
|
43
43
|
The REST routes.
|
|
44
44
|
|
|
@@ -50,7 +50,7 @@ The processors for incoming requests over Sockets.
|
|
|
50
50
|
|
|
51
51
|
##### socketRoutes?
|
|
52
52
|
|
|
53
|
-
[`ISocketRoute`](ISocketRoute.md)[]
|
|
53
|
+
[`ISocketRoute`](ISocketRoute.md)\<`any`, `any`\>[]
|
|
54
54
|
|
|
55
55
|
The socket routes.
|
|
56
56
|
|