@twin.org/api-auth-entity-storage-models 0.0.3-next.4 → 0.0.3-next.41
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/README.md +2 -2
- package/dist/es/index.js +17 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IAuthenticationAdminComponent.js.map +1 -1
- package/dist/es/models/IAuthenticationAuditComponent.js +2 -0
- package/dist/es/models/IAuthenticationAuditComponent.js.map +1 -0
- package/dist/es/models/IAuthenticationAuditEntry.js +2 -0
- package/dist/es/models/IAuthenticationAuditEntry.js.map +1 -0
- package/dist/es/models/IAuthenticationComponent.js.map +1 -1
- package/dist/es/models/IAuthenticationRateActionConfig.js +4 -0
- package/dist/es/models/IAuthenticationRateActionConfig.js.map +1 -0
- package/dist/es/models/IAuthenticationRateComponent.js +2 -0
- package/dist/es/models/IAuthenticationRateComponent.js.map +1 -0
- package/dist/es/models/IAuthenticationUser.js +4 -0
- package/dist/es/models/IAuthenticationUser.js.map +1 -0
- package/dist/es/models/IAuthenticationUserSecure.js +2 -0
- package/dist/es/models/IAuthenticationUserSecure.js.map +1 -0
- package/dist/es/models/api/IAdminUserCreateRequest.js +2 -0
- package/dist/es/models/api/IAdminUserCreateRequest.js.map +1 -0
- package/dist/es/models/api/IAdminUserGetByIdentityRequest.js +4 -0
- package/dist/es/models/api/IAdminUserGetByIdentityRequest.js.map +1 -0
- package/dist/es/models/api/IAdminUserGetRequest.js +4 -0
- package/dist/es/models/api/IAdminUserGetRequest.js.map +1 -0
- package/dist/es/models/api/IAdminUserGetResponse.js +2 -0
- package/dist/es/models/api/IAdminUserGetResponse.js.map +1 -0
- package/dist/es/models/api/IAdminUserRemoveRequest.js +4 -0
- package/dist/es/models/api/IAdminUserRemoveRequest.js.map +1 -0
- package/dist/es/models/api/IAdminUserUpdatePasswordRequest.js +4 -0
- package/dist/es/models/api/IAdminUserUpdatePasswordRequest.js.map +1 -0
- package/dist/es/models/api/IAdminUserUpdateRequest.js +2 -0
- package/dist/es/models/api/IAdminUserUpdateRequest.js.map +1 -0
- package/dist/es/models/api/IAuditCreateRequest.js +2 -0
- package/dist/es/models/api/IAuditCreateRequest.js.map +1 -0
- package/dist/es/models/api/IAuditQueryRequest.js +2 -0
- package/dist/es/models/api/IAuditQueryRequest.js.map +1 -0
- package/dist/es/models/api/IAuditQueryResponse.js +2 -0
- package/dist/es/models/api/IAuditQueryResponse.js.map +1 -0
- package/dist/es/models/api/ILoginResponse.js +0 -2
- package/dist/es/models/api/ILoginResponse.js.map +1 -1
- package/dist/es/models/api/ILogoutRequest.js.map +1 -1
- package/dist/es/models/api/IRefreshTokenRequest.js.map +1 -1
- package/dist/es/models/api/IRefreshTokenResponse.js +0 -2
- package/dist/es/models/api/IRefreshTokenResponse.js.map +1 -1
- package/dist/es/models/api/IUpdatePasswordRequest.js.map +1 -1
- package/dist/es/models/authAuditEvent.js +49 -0
- package/dist/es/models/authAuditEvent.js.map +1 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/models/IAuthenticationAdminComponent.d.ts +24 -6
- package/dist/types/models/IAuthenticationAuditComponent.d.ts +40 -0
- package/dist/types/models/IAuthenticationAuditEntry.d.ts +50 -0
- package/dist/types/models/IAuthenticationComponent.d.ts +1 -2
- package/dist/types/models/IAuthenticationRateActionConfig.d.ts +13 -0
- package/dist/types/models/IAuthenticationRateComponent.d.ts +46 -0
- package/dist/types/models/IAuthenticationUser.d.ts +21 -0
- package/dist/types/models/IAuthenticationUserSecure.d.ts +18 -0
- package/dist/types/models/api/IAdminUserCreateRequest.d.ts +12 -0
- package/dist/types/models/api/IAdminUserGetByIdentityRequest.d.ts +14 -0
- package/dist/types/models/api/IAdminUserGetRequest.d.ts +14 -0
- package/dist/types/models/api/IAdminUserGetResponse.d.ts +10 -0
- package/dist/types/models/api/IAdminUserRemoveRequest.d.ts +14 -0
- package/dist/types/models/api/IAdminUserUpdatePasswordRequest.d.ts +27 -0
- package/dist/types/models/api/IAdminUserUpdateRequest.d.ts +19 -0
- package/dist/types/models/api/IAuditCreateRequest.d.ts +10 -0
- package/dist/types/models/api/IAuditQueryRequest.d.ts +47 -0
- package/dist/types/models/api/IAuditQueryResponse.d.ts +19 -0
- package/dist/types/models/api/ILoginResponse.d.ts +10 -4
- package/dist/types/models/api/ILogoutRequest.d.ts +1 -1
- package/dist/types/models/api/IRefreshTokenRequest.d.ts +1 -1
- package/dist/types/models/api/IRefreshTokenResponse.d.ts +10 -4
- package/dist/types/models/api/IUpdatePasswordRequest.d.ts +1 -10
- package/dist/types/models/authAuditEvent.d.ts +49 -0
- package/docs/changelog.md +335 -65
- package/docs/examples.md +80 -1
- package/docs/reference/index.md +24 -0
- package/docs/reference/interfaces/IAdminUserCreateRequest.md +17 -0
- package/docs/reference/interfaces/IAdminUserGetByIdentityRequest.md +17 -0
- package/docs/reference/interfaces/IAdminUserGetRequest.md +17 -0
- package/docs/reference/interfaces/IAdminUserGetResponse.md +11 -0
- package/docs/reference/interfaces/IAdminUserRemoveRequest.md +17 -0
- package/docs/reference/interfaces/IAdminUserUpdatePasswordRequest.md +37 -0
- package/docs/reference/interfaces/IAdminUserUpdateRequest.md +25 -0
- package/docs/reference/interfaces/IAuditCreateRequest.md +11 -0
- package/docs/reference/interfaces/IAuditQueryRequest.md +65 -0
- package/docs/reference/interfaces/IAuditQueryResponse.md +23 -0
- package/docs/reference/interfaces/IAuthenticationAdminComponent.md +64 -16
- package/docs/reference/interfaces/IAuthenticationAuditComponent.md +103 -0
- package/docs/reference/interfaces/IAuthenticationAuditEntry.md +91 -0
- package/docs/reference/interfaces/IAuthenticationComponent.md +5 -11
- package/docs/reference/interfaces/IAuthenticationRateActionConfig.md +19 -0
- package/docs/reference/interfaces/IAuthenticationRateComponent.md +165 -0
- package/docs/reference/interfaces/IAuthenticationUser.md +39 -0
- package/docs/reference/interfaces/IAuthenticationUserSecure.md +79 -0
- package/docs/reference/interfaces/ILoginRequest.md +1 -1
- package/docs/reference/interfaces/ILoginResponse.md +14 -6
- package/docs/reference/interfaces/ILogoutRequest.md +3 -3
- package/docs/reference/interfaces/IRefreshTokenRequest.md +3 -3
- package/docs/reference/interfaces/IRefreshTokenResponse.md +14 -6
- package/docs/reference/interfaces/IUpdatePasswordRequest.md +2 -16
- package/docs/reference/type-aliases/AuthAuditEvent.md +5 -0
- package/docs/reference/variables/AuthAuditEvent.md +67 -0
- package/package.json +4 -4
package/docs/changelog.md
CHANGED
|
@@ -1,193 +1,463 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.3-next.
|
|
3
|
+
## [0.0.3-next.41](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.40...api-auth-entity-storage-models-v0.0.3-next.41) (2026-06-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [0.0.3-next.40](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.39...api-auth-entity-storage-models-v0.0.3-next.40) (2026-06-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.39](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.38...api-auth-entity-storage-models-v0.0.3-next.39) (2026-06-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
## [0.0.3-next.38](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.37...api-auth-entity-storage-models-v0.0.3-next.38) (2026-05-28)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
30
|
+
|
|
31
|
+
## [0.0.3-next.37](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.36...api-auth-entity-storage-models-v0.0.3-next.37) (2026-05-22)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Chores
|
|
35
|
+
|
|
36
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
37
|
+
|
|
38
|
+
## [0.0.3-next.36](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.35...api-auth-entity-storage-models-v0.0.3-next.36) (2026-05-22)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Miscellaneous Chores
|
|
42
|
+
|
|
43
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
44
|
+
|
|
45
|
+
## [0.0.3-next.35](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.34...api-auth-entity-storage-models-v0.0.3-next.35) (2026-05-21)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Features
|
|
49
|
+
|
|
50
|
+
* user partitioning ([#126](https://github.com/iotaledger/twin-api/issues/126)) ([6bf0da3](https://github.com/iotaledger/twin-api/commit/6bf0da3c42406c9838e80e0ddd6b21f5c64aac90))
|
|
51
|
+
|
|
52
|
+
## [0.0.3-next.34](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.33...api-auth-entity-storage-models-v0.0.3-next.34) (2026-05-19)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Features
|
|
56
|
+
|
|
57
|
+
* update dependencies ([32b8cd2](https://github.com/iotaledger/twin-api/commit/32b8cd20353119dd1998e293d54063cf4d9ecc29))
|
|
58
|
+
|
|
59
|
+
## [0.0.3-next.33](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.32...api-auth-entity-storage-models-v0.0.3-next.33) (2026-05-11)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* typescript 6 update ([78d2aa0](https://github.com/iotaledger/twin-api/commit/78d2aa00902f79b61973079b798b87ec05f18a8b))
|
|
65
|
+
|
|
66
|
+
## [0.0.3-next.32](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.31...api-auth-entity-storage-models-v0.0.3-next.32) (2026-05-07)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Miscellaneous Chores
|
|
70
|
+
|
|
71
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
72
|
+
|
|
73
|
+
## [0.0.3-next.31](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.30...api-auth-entity-storage-models-v0.0.3-next.31) (2026-05-06)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Miscellaneous Chores
|
|
77
|
+
|
|
78
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
79
|
+
|
|
80
|
+
## [0.0.3-next.30](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.29...api-auth-entity-storage-models-v0.0.3-next.30) (2026-05-05)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Miscellaneous Chores
|
|
84
|
+
|
|
85
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
86
|
+
|
|
87
|
+
## [0.0.3-next.29](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.28...api-auth-entity-storage-models-v0.0.3-next.29) (2026-05-01)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Miscellaneous Chores
|
|
91
|
+
|
|
92
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
93
|
+
|
|
94
|
+
## [0.0.3-next.28](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.27...api-auth-entity-storage-models-v0.0.3-next.28) (2026-04-30)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Bug Fixes
|
|
98
|
+
|
|
99
|
+
* change logout and refresh routes from GET to POST ([#111](https://github.com/iotaledger/twin-api/issues/111)) ([cb8b64b](https://github.com/iotaledger/twin-api/commit/cb8b64b6507f9991baa78a663de2e84269695c82))
|
|
100
|
+
|
|
101
|
+
## [0.0.3-next.27](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.26...api-auth-entity-storage-models-v0.0.3-next.27) (2026-04-23)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Miscellaneous Chores
|
|
105
|
+
|
|
106
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
107
|
+
|
|
108
|
+
## [0.0.3-next.26](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.25...api-auth-entity-storage-models-v0.0.3-next.26) (2026-04-22)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Miscellaneous Chores
|
|
112
|
+
|
|
113
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
114
|
+
|
|
115
|
+
## [0.0.3-next.25](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.24...api-auth-entity-storage-models-v0.0.3-next.25) (2026-04-14)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Miscellaneous Chores
|
|
119
|
+
|
|
120
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
121
|
+
|
|
122
|
+
## [0.0.3-next.24](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.23...api-auth-entity-storage-models-v0.0.3-next.24) (2026-04-14)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Miscellaneous Chores
|
|
126
|
+
|
|
127
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
128
|
+
|
|
129
|
+
## [0.0.3-next.23](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.22...api-auth-entity-storage-models-v0.0.3-next.23) (2026-04-14)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
* auth enhancements ([#93](https://github.com/iotaledger/twin-api/issues/93)) ([921a50c](https://github.com/iotaledger/twin-api/commit/921a50cd89d26e530a6be6174a5a803060fa0eb6))
|
|
135
|
+
|
|
136
|
+
## [0.0.3-next.22](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.21...api-auth-entity-storage-models-v0.0.3-next.22) (2026-03-27)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Miscellaneous Chores
|
|
140
|
+
|
|
141
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
142
|
+
|
|
143
|
+
## [0.0.3-next.21](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.20...api-auth-entity-storage-models-v0.0.3-next.21) (2026-03-11)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Miscellaneous Chores
|
|
147
|
+
|
|
148
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
149
|
+
|
|
150
|
+
## [0.0.3-next.20](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.19...api-auth-entity-storage-models-v0.0.3-next.20) (2026-02-09)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Miscellaneous Chores
|
|
154
|
+
|
|
155
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
156
|
+
|
|
157
|
+
## [0.0.3-next.19](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.18...api-auth-entity-storage-models-v0.0.3-next.19) (2026-02-06)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### Features
|
|
161
|
+
|
|
162
|
+
* user admin service ([#77](https://github.com/iotaledger/twin-api/issues/77)) ([c8491df](https://github.com/iotaledger/twin-api/commit/c8491df7b07c1f45560c8a78c6adc806d0ececbb))
|
|
163
|
+
|
|
164
|
+
## [0.0.3-next.18](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.17...api-auth-entity-storage-models-v0.0.3-next.18) (2026-02-04)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Features
|
|
168
|
+
|
|
169
|
+
* tenant api and scopes ([#75](https://github.com/iotaledger/twin-api/issues/75)) ([c663141](https://github.com/iotaledger/twin-api/commit/c663141091e8974d769f8f9904ecdab009ebd083))
|
|
170
|
+
|
|
171
|
+
## [0.0.3-next.17](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.16...api-auth-entity-storage-models-v0.0.3-next.17) (2026-01-26)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### Miscellaneous Chores
|
|
175
|
+
|
|
176
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
177
|
+
|
|
178
|
+
## [0.0.3-next.16](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.15...api-auth-entity-storage-models-v0.0.3-next.16) (2026-01-26)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Miscellaneous Chores
|
|
182
|
+
|
|
183
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
184
|
+
|
|
185
|
+
## [0.0.3-next.15](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.14...api-auth-entity-storage-models-v0.0.3-next.15) (2026-01-22)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Miscellaneous Chores
|
|
189
|
+
|
|
190
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
191
|
+
|
|
192
|
+
## [0.0.3-next.14](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.13...api-auth-entity-storage-models-v0.0.3-next.14) (2026-01-20)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Miscellaneous Chores
|
|
196
|
+
|
|
197
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
198
|
+
|
|
199
|
+
## [0.0.3-next.13](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.12...api-auth-entity-storage-models-v0.0.3-next.13) (2026-01-19)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
### Miscellaneous Chores
|
|
203
|
+
|
|
204
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
205
|
+
|
|
206
|
+
## [0.0.3-next.12](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.11...api-auth-entity-storage-models-v0.0.3-next.12) (2026-01-12)
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Miscellaneous Chores
|
|
210
|
+
|
|
211
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
212
|
+
|
|
213
|
+
## [0.0.3-next.11](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.10...api-auth-entity-storage-models-v0.0.3-next.11) (2026-01-08)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
### Miscellaneous Chores
|
|
217
|
+
|
|
218
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
219
|
+
|
|
220
|
+
## [0.0.3-next.10](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.9...api-auth-entity-storage-models-v0.0.3-next.10) (2026-01-05)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### Miscellaneous Chores
|
|
224
|
+
|
|
225
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
226
|
+
|
|
227
|
+
## [0.0.3-next.9](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.8...api-auth-entity-storage-models-v0.0.3-next.9) (2026-01-05)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### Features
|
|
231
|
+
|
|
232
|
+
* add context id features ([#42](https://github.com/iotaledger/twin-api/issues/42)) ([0186055](https://github.com/iotaledger/twin-api/commit/0186055c48afde842a4254b4df9ac9249c40fe40))
|
|
233
|
+
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/iotaledger/twin-api/commit/88617916e23bfbca023dbae1976fe421983a02ff))
|
|
234
|
+
* add validate-locales ([cdba610](https://github.com/iotaledger/twin-api/commit/cdba610a0acb5022d2e3ce729732e6646a297e5e))
|
|
235
|
+
* eslint migration to flat config ([0dd5820](https://github.com/iotaledger/twin-api/commit/0dd5820e3af97350fd08b8d226f4a6c1a9246805))
|
|
236
|
+
* improve description ([d28185c](https://github.com/iotaledger/twin-api/commit/d28185c799a97455fee72fb23c744c8e71325f0b))
|
|
237
|
+
* improve socket route logging ([b8d9519](https://github.com/iotaledger/twin-api/commit/b8d95199f838ac6ba9f45c30ef7c4e613201ff53))
|
|
238
|
+
* modify authHeaderProcessor to retain token in response body ([#53](https://github.com/iotaledger/twin-api/issues/53)) ([5d9ae76](https://github.com/iotaledger/twin-api/commit/5d9ae76b5b52a8e10dac391b2d5784638a186583))
|
|
239
|
+
* remove unused namespace ([08478f2](https://github.com/iotaledger/twin-api/commit/08478f27efda9beb0271fdb22f6972e918361965))
|
|
240
|
+
* update dependencies ([1171dc4](https://github.com/iotaledger/twin-api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
|
|
241
|
+
* update framework core ([d8eebf2](https://github.com/iotaledger/twin-api/commit/d8eebf267fa2a0abaa84e58590496e9d20490cfa))
|
|
242
|
+
* update IComponent signatures ([915ce37](https://github.com/iotaledger/twin-api/commit/915ce37712326ab4aa6869c350eabaa4622e8430))
|
|
243
|
+
* use shared store mechanism ([#19](https://github.com/iotaledger/twin-api/issues/19)) ([32116df](https://github.com/iotaledger/twin-api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
244
|
+
|
|
245
|
+
## [0.0.3-next.8](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.7...api-auth-entity-storage-models-v0.0.3-next.8) (2025-12-17)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Miscellaneous Chores
|
|
249
|
+
|
|
250
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
251
|
+
|
|
252
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.6...api-auth-entity-storage-models-v0.0.3-next.7) (2025-11-26)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
### Miscellaneous Chores
|
|
256
|
+
|
|
257
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
258
|
+
|
|
259
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.5...api-auth-entity-storage-models-v0.0.3-next.6) (2025-11-20)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
### Miscellaneous Chores
|
|
263
|
+
|
|
264
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
265
|
+
|
|
266
|
+
## [0.0.3-next.5](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.4...api-auth-entity-storage-models-v0.0.3-next.5) (2025-11-14)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Miscellaneous Chores
|
|
270
|
+
|
|
271
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
272
|
+
|
|
273
|
+
## [0.0.3-next.4](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.3...api-auth-entity-storage-models-v0.0.3-next.4) (2025-11-14)
|
|
4
274
|
|
|
5
275
|
|
|
6
276
|
### Features
|
|
7
277
|
|
|
8
|
-
* add context id features ([#42](https://github.com/
|
|
9
|
-
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/
|
|
10
|
-
* add validate-locales ([cdba610](https://github.com/
|
|
11
|
-
* eslint migration to flat config ([0dd5820](https://github.com/
|
|
12
|
-
* improve description ([d28185c](https://github.com/
|
|
13
|
-
* improve socket route logging ([b8d9519](https://github.com/
|
|
14
|
-
* remove unused namespace ([08478f2](https://github.com/
|
|
15
|
-
* update dependencies ([1171dc4](https://github.com/
|
|
16
|
-
* update framework core ([d8eebf2](https://github.com/
|
|
17
|
-
* update IComponent signatures ([915ce37](https://github.com/
|
|
18
|
-
* use shared store mechanism ([#19](https://github.com/
|
|
278
|
+
* add context id features ([#42](https://github.com/iotaledger/twin-api/issues/42)) ([0186055](https://github.com/iotaledger/twin-api/commit/0186055c48afde842a4254b4df9ac9249c40fe40))
|
|
279
|
+
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/iotaledger/twin-api/commit/88617916e23bfbca023dbae1976fe421983a02ff))
|
|
280
|
+
* add validate-locales ([cdba610](https://github.com/iotaledger/twin-api/commit/cdba610a0acb5022d2e3ce729732e6646a297e5e))
|
|
281
|
+
* eslint migration to flat config ([0dd5820](https://github.com/iotaledger/twin-api/commit/0dd5820e3af97350fd08b8d226f4a6c1a9246805))
|
|
282
|
+
* improve description ([d28185c](https://github.com/iotaledger/twin-api/commit/d28185c799a97455fee72fb23c744c8e71325f0b))
|
|
283
|
+
* improve socket route logging ([b8d9519](https://github.com/iotaledger/twin-api/commit/b8d95199f838ac6ba9f45c30ef7c4e613201ff53))
|
|
284
|
+
* remove unused namespace ([08478f2](https://github.com/iotaledger/twin-api/commit/08478f27efda9beb0271fdb22f6972e918361965))
|
|
285
|
+
* update dependencies ([1171dc4](https://github.com/iotaledger/twin-api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
|
|
286
|
+
* update framework core ([d8eebf2](https://github.com/iotaledger/twin-api/commit/d8eebf267fa2a0abaa84e58590496e9d20490cfa))
|
|
287
|
+
* update IComponent signatures ([915ce37](https://github.com/iotaledger/twin-api/commit/915ce37712326ab4aa6869c350eabaa4622e8430))
|
|
288
|
+
* use shared store mechanism ([#19](https://github.com/iotaledger/twin-api/issues/19)) ([32116df](https://github.com/iotaledger/twin-api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
19
289
|
|
|
20
|
-
## [0.0.3-next.3](https://github.com/
|
|
290
|
+
## [0.0.3-next.3](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.2...api-auth-entity-storage-models-v0.0.3-next.3) (2025-11-14)
|
|
21
291
|
|
|
22
292
|
|
|
23
293
|
### Miscellaneous Chores
|
|
24
294
|
|
|
25
295
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
26
296
|
|
|
27
|
-
## [0.0.3-next.2](https://github.com/
|
|
297
|
+
## [0.0.3-next.2](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.1...api-auth-entity-storage-models-v0.0.3-next.2) (2025-11-12)
|
|
28
298
|
|
|
29
299
|
|
|
30
300
|
### Miscellaneous Chores
|
|
31
301
|
|
|
32
302
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
33
303
|
|
|
34
|
-
## [0.0.3-next.1](https://github.com/
|
|
304
|
+
## [0.0.3-next.1](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.3-next.0...api-auth-entity-storage-models-v0.0.3-next.1) (2025-11-10)
|
|
35
305
|
|
|
36
306
|
|
|
37
307
|
### Features
|
|
38
308
|
|
|
39
|
-
* add context id features ([#42](https://github.com/
|
|
40
|
-
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/
|
|
41
|
-
* add validate-locales ([cdba610](https://github.com/
|
|
42
|
-
* eslint migration to flat config ([0dd5820](https://github.com/
|
|
43
|
-
* improve description ([d28185c](https://github.com/
|
|
44
|
-
* improve socket route logging ([b8d9519](https://github.com/
|
|
45
|
-
* remove unused namespace ([08478f2](https://github.com/
|
|
46
|
-
* update dependencies ([1171dc4](https://github.com/
|
|
47
|
-
* update framework core ([d8eebf2](https://github.com/
|
|
48
|
-
* update IComponent signatures ([915ce37](https://github.com/
|
|
49
|
-
* use shared store mechanism ([#19](https://github.com/
|
|
309
|
+
* add context id features ([#42](https://github.com/iotaledger/twin-api/issues/42)) ([0186055](https://github.com/iotaledger/twin-api/commit/0186055c48afde842a4254b4df9ac9249c40fe40))
|
|
310
|
+
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/iotaledger/twin-api/commit/88617916e23bfbca023dbae1976fe421983a02ff))
|
|
311
|
+
* add validate-locales ([cdba610](https://github.com/iotaledger/twin-api/commit/cdba610a0acb5022d2e3ce729732e6646a297e5e))
|
|
312
|
+
* eslint migration to flat config ([0dd5820](https://github.com/iotaledger/twin-api/commit/0dd5820e3af97350fd08b8d226f4a6c1a9246805))
|
|
313
|
+
* improve description ([d28185c](https://github.com/iotaledger/twin-api/commit/d28185c799a97455fee72fb23c744c8e71325f0b))
|
|
314
|
+
* improve socket route logging ([b8d9519](https://github.com/iotaledger/twin-api/commit/b8d95199f838ac6ba9f45c30ef7c4e613201ff53))
|
|
315
|
+
* remove unused namespace ([08478f2](https://github.com/iotaledger/twin-api/commit/08478f27efda9beb0271fdb22f6972e918361965))
|
|
316
|
+
* update dependencies ([1171dc4](https://github.com/iotaledger/twin-api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
|
|
317
|
+
* update framework core ([d8eebf2](https://github.com/iotaledger/twin-api/commit/d8eebf267fa2a0abaa84e58590496e9d20490cfa))
|
|
318
|
+
* update IComponent signatures ([915ce37](https://github.com/iotaledger/twin-api/commit/915ce37712326ab4aa6869c350eabaa4622e8430))
|
|
319
|
+
* use shared store mechanism ([#19](https://github.com/iotaledger/twin-api/issues/19)) ([32116df](https://github.com/iotaledger/twin-api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
50
320
|
|
|
51
|
-
## [0.0.2-next.13](https://github.com/
|
|
321
|
+
## [0.0.2-next.13](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.12...api-auth-entity-storage-models-v0.0.2-next.13) (2025-10-09)
|
|
52
322
|
|
|
53
323
|
|
|
54
324
|
### Miscellaneous Chores
|
|
55
325
|
|
|
56
326
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
57
327
|
|
|
58
|
-
## [0.0.2-next.12](https://github.com/
|
|
328
|
+
## [0.0.2-next.12](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.11...api-auth-entity-storage-models-v0.0.2-next.12) (2025-10-09)
|
|
59
329
|
|
|
60
330
|
|
|
61
331
|
### Features
|
|
62
332
|
|
|
63
|
-
* add validate-locales ([cdba610](https://github.com/
|
|
333
|
+
* add validate-locales ([cdba610](https://github.com/iotaledger/twin-api/commit/cdba610a0acb5022d2e3ce729732e6646a297e5e))
|
|
64
334
|
|
|
65
|
-
## [0.0.2-next.11](https://github.com/
|
|
335
|
+
## [0.0.2-next.11](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.10...api-auth-entity-storage-models-v0.0.2-next.11) (2025-09-29)
|
|
66
336
|
|
|
67
337
|
|
|
68
338
|
### Features
|
|
69
339
|
|
|
70
|
-
* update IComponent signatures ([915ce37](https://github.com/
|
|
340
|
+
* update IComponent signatures ([915ce37](https://github.com/iotaledger/twin-api/commit/915ce37712326ab4aa6869c350eabaa4622e8430))
|
|
71
341
|
|
|
72
|
-
## [0.0.2-next.10](https://github.com/
|
|
342
|
+
## [0.0.2-next.10](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.9...api-auth-entity-storage-models-v0.0.2-next.10) (2025-09-23)
|
|
73
343
|
|
|
74
344
|
|
|
75
345
|
### Miscellaneous Chores
|
|
76
346
|
|
|
77
347
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
78
348
|
|
|
79
|
-
## [0.0.2-next.9](https://github.com/
|
|
349
|
+
## [0.0.2-next.9](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.8...api-auth-entity-storage-models-v0.0.2-next.9) (2025-08-29)
|
|
80
350
|
|
|
81
351
|
|
|
82
352
|
### Features
|
|
83
353
|
|
|
84
|
-
* eslint migration to flat config ([0dd5820](https://github.com/
|
|
354
|
+
* eslint migration to flat config ([0dd5820](https://github.com/iotaledger/twin-api/commit/0dd5820e3af97350fd08b8d226f4a6c1a9246805))
|
|
85
355
|
|
|
86
|
-
## [0.0.2-next.8](https://github.com/
|
|
356
|
+
## [0.0.2-next.8](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.7...api-auth-entity-storage-models-v0.0.2-next.8) (2025-08-21)
|
|
87
357
|
|
|
88
358
|
|
|
89
359
|
### Miscellaneous Chores
|
|
90
360
|
|
|
91
361
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
92
362
|
|
|
93
|
-
## [0.0.2-next.7](https://github.com/
|
|
363
|
+
## [0.0.2-next.7](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.6...api-auth-entity-storage-models-v0.0.2-next.7) (2025-08-20)
|
|
94
364
|
|
|
95
365
|
|
|
96
366
|
### Miscellaneous Chores
|
|
97
367
|
|
|
98
368
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
99
369
|
|
|
100
|
-
## [0.0.2-next.6](https://github.com/
|
|
370
|
+
## [0.0.2-next.6](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.5...api-auth-entity-storage-models-v0.0.2-next.6) (2025-08-19)
|
|
101
371
|
|
|
102
372
|
|
|
103
373
|
### Features
|
|
104
374
|
|
|
105
|
-
* update framework core ([d8eebf2](https://github.com/
|
|
375
|
+
* update framework core ([d8eebf2](https://github.com/iotaledger/twin-api/commit/d8eebf267fa2a0abaa84e58590496e9d20490cfa))
|
|
106
376
|
|
|
107
|
-
## [0.0.2-next.5](https://github.com/
|
|
377
|
+
## [0.0.2-next.5](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.4...api-auth-entity-storage-models-v0.0.2-next.5) (2025-07-25)
|
|
108
378
|
|
|
109
379
|
|
|
110
380
|
### Features
|
|
111
381
|
|
|
112
|
-
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/
|
|
113
|
-
* improve description ([d28185c](https://github.com/
|
|
114
|
-
* improve socket route logging ([b8d9519](https://github.com/
|
|
115
|
-
* remove unused namespace ([08478f2](https://github.com/
|
|
116
|
-
* update dependencies ([1171dc4](https://github.com/
|
|
117
|
-
* use shared store mechanism ([#19](https://github.com/
|
|
382
|
+
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/iotaledger/twin-api/commit/88617916e23bfbca023dbae1976fe421983a02ff))
|
|
383
|
+
* improve description ([d28185c](https://github.com/iotaledger/twin-api/commit/d28185c799a97455fee72fb23c744c8e71325f0b))
|
|
384
|
+
* improve socket route logging ([b8d9519](https://github.com/iotaledger/twin-api/commit/b8d95199f838ac6ba9f45c30ef7c4e613201ff53))
|
|
385
|
+
* remove unused namespace ([08478f2](https://github.com/iotaledger/twin-api/commit/08478f27efda9beb0271fdb22f6972e918361965))
|
|
386
|
+
* update dependencies ([1171dc4](https://github.com/iotaledger/twin-api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
|
|
387
|
+
* use shared store mechanism ([#19](https://github.com/iotaledger/twin-api/issues/19)) ([32116df](https://github.com/iotaledger/twin-api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
118
388
|
|
|
119
|
-
## [0.0.2-next.4](https://github.com/
|
|
389
|
+
## [0.0.2-next.4](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.3...api-auth-entity-storage-models-v0.0.2-next.4) (2025-07-25)
|
|
120
390
|
|
|
121
391
|
|
|
122
392
|
### Miscellaneous Chores
|
|
123
393
|
|
|
124
394
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
125
395
|
|
|
126
|
-
## [0.0.2-next.3](https://github.com/
|
|
396
|
+
## [0.0.2-next.3](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.2...api-auth-entity-storage-models-v0.0.2-next.3) (2025-07-24)
|
|
127
397
|
|
|
128
398
|
|
|
129
399
|
### Features
|
|
130
400
|
|
|
131
|
-
* remove unused namespace ([08478f2](https://github.com/
|
|
401
|
+
* remove unused namespace ([08478f2](https://github.com/iotaledger/twin-api/commit/08478f27efda9beb0271fdb22f6972e918361965))
|
|
132
402
|
|
|
133
|
-
## [0.0.2-next.2](https://github.com/
|
|
403
|
+
## [0.0.2-next.2](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.1...api-auth-entity-storage-models-v0.0.2-next.2) (2025-07-17)
|
|
134
404
|
|
|
135
405
|
|
|
136
406
|
### Features
|
|
137
407
|
|
|
138
|
-
* improve socket route logging ([b8d9519](https://github.com/
|
|
408
|
+
* improve socket route logging ([b8d9519](https://github.com/iotaledger/twin-api/commit/b8d95199f838ac6ba9f45c30ef7c4e613201ff53))
|
|
139
409
|
|
|
140
|
-
## [0.0.2-next.1](https://github.com/
|
|
410
|
+
## [0.0.2-next.1](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.2-next.0...api-auth-entity-storage-models-v0.0.2-next.1) (2025-07-08)
|
|
141
411
|
|
|
142
412
|
|
|
143
413
|
### Features
|
|
144
414
|
|
|
145
|
-
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/
|
|
146
|
-
* improve description ([d28185c](https://github.com/
|
|
147
|
-
* update dependencies ([1171dc4](https://github.com/
|
|
148
|
-
* use shared store mechanism ([#19](https://github.com/
|
|
415
|
+
* add json-ld mime type processor and auth admin component ([8861791](https://github.com/iotaledger/twin-api/commit/88617916e23bfbca023dbae1976fe421983a02ff))
|
|
416
|
+
* improve description ([d28185c](https://github.com/iotaledger/twin-api/commit/d28185c799a97455fee72fb23c744c8e71325f0b))
|
|
417
|
+
* update dependencies ([1171dc4](https://github.com/iotaledger/twin-api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
|
|
418
|
+
* use shared store mechanism ([#19](https://github.com/iotaledger/twin-api/issues/19)) ([32116df](https://github.com/iotaledger/twin-api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
149
419
|
|
|
150
420
|
## 0.0.1 (2025-07-03)
|
|
151
421
|
|
|
152
422
|
|
|
153
423
|
### Features
|
|
154
424
|
|
|
155
|
-
* release to production ([70ee2d5](https://github.com/
|
|
425
|
+
* release to production ([70ee2d5](https://github.com/iotaledger/twin-api/commit/70ee2d56a1dc9537d7c9c154d4cb78a235678a3a))
|
|
156
426
|
|
|
157
|
-
## [0.0.1-next.36](https://github.com/
|
|
427
|
+
## [0.0.1-next.36](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.1-next.35...api-auth-entity-storage-models-v0.0.1-next.36) (2025-06-17)
|
|
158
428
|
|
|
159
429
|
|
|
160
430
|
### Miscellaneous Chores
|
|
161
431
|
|
|
162
432
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
163
433
|
|
|
164
|
-
## [0.0.1-next.35](https://github.com/
|
|
434
|
+
## [0.0.1-next.35](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.1-next.34...api-auth-entity-storage-models-v0.0.1-next.35) (2025-06-11)
|
|
165
435
|
|
|
166
436
|
|
|
167
437
|
### Features
|
|
168
438
|
|
|
169
|
-
* update dependencies ([1171dc4](https://github.com/
|
|
439
|
+
* update dependencies ([1171dc4](https://github.com/iotaledger/twin-api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
|
|
170
440
|
|
|
171
|
-
## [0.0.1-next.34](https://github.com/
|
|
441
|
+
## [0.0.1-next.34](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.1-next.33...api-auth-entity-storage-models-v0.0.1-next.34) (2025-05-27)
|
|
172
442
|
|
|
173
443
|
|
|
174
444
|
### Miscellaneous Chores
|
|
175
445
|
|
|
176
446
|
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
177
447
|
|
|
178
|
-
## [0.0.1-next.33](https://github.com/
|
|
448
|
+
## [0.0.1-next.33](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.1-next.32...api-auth-entity-storage-models-v0.0.1-next.33) (2025-04-17)
|
|
179
449
|
|
|
180
450
|
|
|
181
451
|
### Features
|
|
182
452
|
|
|
183
|
-
* use shared store mechanism ([#19](https://github.com/
|
|
453
|
+
* use shared store mechanism ([#19](https://github.com/iotaledger/twin-api/issues/19)) ([32116df](https://github.com/iotaledger/twin-api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
184
454
|
|
|
185
|
-
## [0.0.1-next.32](https://github.com/
|
|
455
|
+
## [0.0.1-next.32](https://github.com/iotaledger/twin-api/compare/api-auth-entity-storage-models-v0.0.1-next.31...api-auth-entity-storage-models-v0.0.1-next.32) (2025-03-28)
|
|
186
456
|
|
|
187
457
|
|
|
188
458
|
### Features
|
|
189
459
|
|
|
190
|
-
* improve description ([d28185c](https://github.com/
|
|
460
|
+
* improve description ([d28185c](https://github.com/iotaledger/twin-api/commit/d28185c799a97455fee72fb23c744c8e71325f0b))
|
|
191
461
|
|
|
192
462
|
## v0.0.1-next.31
|
|
193
463
|
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,80 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Auth Entity Storage Models Examples
|
|
2
|
+
|
|
3
|
+
Use these snippets to shape request and response data consistently across sign-in flows, admin operations, and token refresh handling.
|
|
4
|
+
|
|
5
|
+
## Authentication Requests
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import type {
|
|
9
|
+
ILoginRequest,
|
|
10
|
+
IRefreshTokenRequest,
|
|
11
|
+
IUpdatePasswordRequest
|
|
12
|
+
} from '@twin.org/api-auth-entity-storage-models';
|
|
13
|
+
|
|
14
|
+
const loginRequest: ILoginRequest = {
|
|
15
|
+
body: {
|
|
16
|
+
email: 'alice@example.org',
|
|
17
|
+
password: 'correct-horse-battery-staple'
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const refreshRequest: IRefreshTokenRequest = {
|
|
22
|
+
body: {
|
|
23
|
+
token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.refresh'
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const updatePasswordRequest: IUpdatePasswordRequest = {
|
|
28
|
+
body: {
|
|
29
|
+
currentPassword: 'old-password',
|
|
30
|
+
newPassword: 'new-password-2026'
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
console.log(loginRequest.body.email); // alice@example.org
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Admin User Models
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
import type {
|
|
41
|
+
IAdminUserCreateRequest,
|
|
42
|
+
IAdminUserUpdateRequest
|
|
43
|
+
} from '@twin.org/api-auth-entity-storage-models';
|
|
44
|
+
|
|
45
|
+
const createRequest: IAdminUserCreateRequest = {
|
|
46
|
+
body: {
|
|
47
|
+
email: 'bob@example.org',
|
|
48
|
+
password: 'initial-password',
|
|
49
|
+
userIdentity: 'did:example:bob',
|
|
50
|
+
organizationIdentity: 'did:example:org',
|
|
51
|
+
scope: ['admin', 'auditor']
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const updateRequest: IAdminUserUpdateRequest = {
|
|
56
|
+
pathParams: {
|
|
57
|
+
email: 'bob@example.org'
|
|
58
|
+
},
|
|
59
|
+
body: {
|
|
60
|
+
userIdentity: 'did:example:bob:ops',
|
|
61
|
+
scope: ['admin']
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
console.log(createRequest.body.scope.length); // 2
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Authentication Responses
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
import type { ILoginResponse } from '@twin.org/api-auth-entity-storage-models';
|
|
72
|
+
|
|
73
|
+
const loginResponse: ILoginResponse = {
|
|
74
|
+
body: {
|
|
75
|
+
expiry: 3600
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
console.log(loginResponse.body.expiry); // 3600
|
|
80
|
+
```
|