@authup/server-core 1.0.0-beta.35 → 1.0.0-beta.36
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/adapters/http/controllers/entities/client-role/module.d.ts +1 -5
- package/dist/adapters/http/controllers/entities/client-role/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/entities/identity-provide-role/index.d.ts +0 -1
- package/dist/adapters/http/controllers/entities/identity-provide-role/index.d.ts.map +1 -1
- package/dist/adapters/http/controllers/entities/identity-provide-role/module.d.ts +11 -14
- package/dist/adapters/http/controllers/entities/identity-provide-role/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/entities/robot-role/module.d.ts +1 -5
- package/dist/adapters/http/controllers/entities/robot-role/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/entities/user-role/module.d.ts +1 -5
- package/dist/adapters/http/controllers/entities/user-role/module.d.ts.map +1 -1
- package/dist/app/modules/http/modules/controller.d.ts +2 -2
- package/dist/app/modules/http/modules/controller.d.ts.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/{commands-C1vz08cL.mjs → commands-D5p6u-xJ.mjs} +338 -260
- package/dist/commands-D5p6u-xJ.mjs.map +1 -0
- package/dist/core/entities/client-permission/service.d.ts +2 -0
- package/dist/core/entities/client-permission/service.d.ts.map +1 -1
- package/dist/core/entities/client-role/service.d.ts +5 -0
- package/dist/core/entities/client-role/service.d.ts.map +1 -1
- package/dist/core/entities/client-scope/service.d.ts +2 -0
- package/dist/core/entities/client-scope/service.d.ts.map +1 -1
- package/dist/core/entities/identity-provider-role-mapping/index.d.ts +1 -0
- package/dist/core/entities/identity-provider-role-mapping/index.d.ts.map +1 -1
- package/dist/core/entities/identity-provider-role-mapping/service.d.ts +23 -0
- package/dist/core/entities/identity-provider-role-mapping/service.d.ts.map +1 -0
- package/dist/core/entities/identity-provider-role-mapping/types.d.ts +9 -1
- package/dist/core/entities/identity-provider-role-mapping/types.d.ts.map +1 -1
- package/dist/core/entities/permission/service.d.ts.map +1 -1
- package/dist/core/entities/permission-policy/service.d.ts +2 -0
- package/dist/core/entities/permission-policy/service.d.ts.map +1 -1
- package/dist/core/entities/robot-permission/service.d.ts +2 -0
- package/dist/core/entities/robot-permission/service.d.ts.map +1 -1
- package/dist/core/entities/robot-role/service.d.ts +5 -0
- package/dist/core/entities/robot-role/service.d.ts.map +1 -1
- package/dist/core/entities/role-permission/service.d.ts +2 -0
- package/dist/core/entities/role-permission/service.d.ts.map +1 -1
- package/dist/core/entities/user-permission/service.d.ts +2 -0
- package/dist/core/entities/user-permission/service.d.ts.map +1 -1
- package/dist/core/entities/user-role/service.d.ts +5 -0
- package/dist/core/entities/user-role/service.d.ts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/swagger.json +9 -308
- package/package.json +11 -11
- package/dist/adapters/http/controllers/entities/identity-provide-role/utils/index.d.ts +0 -2
- package/dist/adapters/http/controllers/entities/identity-provide-role/utils/index.d.ts.map +0 -1
- package/dist/adapters/http/controllers/entities/identity-provide-role/utils/validator.d.ts +0 -6
- package/dist/adapters/http/controllers/entities/identity-provide-role/utils/validator.d.ts.map +0 -1
- package/dist/commands-C1vz08cL.mjs.map +0 -1
package/dist/swagger.json
CHANGED
|
@@ -104,305 +104,6 @@
|
|
|
104
104
|
],
|
|
105
105
|
"type": "object"
|
|
106
106
|
},
|
|
107
|
-
"Client": {
|
|
108
|
-
"properties": {
|
|
109
|
-
"id": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"active": {
|
|
113
|
-
"type": "boolean"
|
|
114
|
-
},
|
|
115
|
-
"built_in": {
|
|
116
|
-
"type": "boolean"
|
|
117
|
-
},
|
|
118
|
-
"is_confidential": {
|
|
119
|
-
"type": "boolean"
|
|
120
|
-
},
|
|
121
|
-
"name": {
|
|
122
|
-
"type": "string"
|
|
123
|
-
},
|
|
124
|
-
"display_name": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"x-nullable": true
|
|
127
|
-
},
|
|
128
|
-
"description": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"x-nullable": true
|
|
131
|
-
},
|
|
132
|
-
"secret": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"x-nullable": true
|
|
135
|
-
},
|
|
136
|
-
"secret_hashed": {
|
|
137
|
-
"type": "boolean"
|
|
138
|
-
},
|
|
139
|
-
"secret_encrypted": {
|
|
140
|
-
"type": "boolean"
|
|
141
|
-
},
|
|
142
|
-
"redirect_uri": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"x-nullable": true
|
|
145
|
-
},
|
|
146
|
-
"grant_types": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"x-nullable": true
|
|
149
|
-
},
|
|
150
|
-
"scope": {
|
|
151
|
-
"type": "string",
|
|
152
|
-
"x-nullable": true
|
|
153
|
-
},
|
|
154
|
-
"base_url": {
|
|
155
|
-
"type": "string",
|
|
156
|
-
"x-nullable": true,
|
|
157
|
-
"description": "Default redirect URL."
|
|
158
|
-
},
|
|
159
|
-
"root_url": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"x-nullable": true,
|
|
162
|
-
"description": "URL prepended to relative URLs."
|
|
163
|
-
},
|
|
164
|
-
"created_at": {
|
|
165
|
-
"type": "string"
|
|
166
|
-
},
|
|
167
|
-
"updated_at": {
|
|
168
|
-
"type": "string"
|
|
169
|
-
},
|
|
170
|
-
"realm_id": {
|
|
171
|
-
"type": "string"
|
|
172
|
-
},
|
|
173
|
-
"realm": {
|
|
174
|
-
"$ref": "#/definitions/Realm"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
"required": [
|
|
178
|
-
"id",
|
|
179
|
-
"active",
|
|
180
|
-
"built_in",
|
|
181
|
-
"is_confidential",
|
|
182
|
-
"name",
|
|
183
|
-
"display_name",
|
|
184
|
-
"description",
|
|
185
|
-
"secret",
|
|
186
|
-
"secret_hashed",
|
|
187
|
-
"secret_encrypted",
|
|
188
|
-
"redirect_uri",
|
|
189
|
-
"grant_types",
|
|
190
|
-
"scope",
|
|
191
|
-
"base_url",
|
|
192
|
-
"root_url",
|
|
193
|
-
"created_at",
|
|
194
|
-
"updated_at",
|
|
195
|
-
"realm_id",
|
|
196
|
-
"realm"
|
|
197
|
-
],
|
|
198
|
-
"type": "object"
|
|
199
|
-
},
|
|
200
|
-
"Role": {
|
|
201
|
-
"properties": {
|
|
202
|
-
"id": {
|
|
203
|
-
"type": "string"
|
|
204
|
-
},
|
|
205
|
-
"built_in": {
|
|
206
|
-
"type": "boolean"
|
|
207
|
-
},
|
|
208
|
-
"name": {
|
|
209
|
-
"type": "string"
|
|
210
|
-
},
|
|
211
|
-
"display_name": {
|
|
212
|
-
"type": "string",
|
|
213
|
-
"x-nullable": true
|
|
214
|
-
},
|
|
215
|
-
"target": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"x-nullable": true
|
|
218
|
-
},
|
|
219
|
-
"description": {
|
|
220
|
-
"type": "string",
|
|
221
|
-
"x-nullable": true
|
|
222
|
-
},
|
|
223
|
-
"client_id": {
|
|
224
|
-
"type": "string",
|
|
225
|
-
"x-nullable": true
|
|
226
|
-
},
|
|
227
|
-
"client": {
|
|
228
|
-
"$ref": "#/definitions/Client"
|
|
229
|
-
},
|
|
230
|
-
"realm_id": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"x-nullable": true
|
|
233
|
-
},
|
|
234
|
-
"realm": {
|
|
235
|
-
"$ref": "#/definitions/Realm"
|
|
236
|
-
},
|
|
237
|
-
"created_at": {
|
|
238
|
-
"type": "string"
|
|
239
|
-
},
|
|
240
|
-
"updated_at": {
|
|
241
|
-
"type": "string"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"required": [
|
|
245
|
-
"id",
|
|
246
|
-
"built_in",
|
|
247
|
-
"name",
|
|
248
|
-
"display_name",
|
|
249
|
-
"target",
|
|
250
|
-
"description",
|
|
251
|
-
"client_id",
|
|
252
|
-
"client",
|
|
253
|
-
"realm_id",
|
|
254
|
-
"realm",
|
|
255
|
-
"created_at",
|
|
256
|
-
"updated_at"
|
|
257
|
-
],
|
|
258
|
-
"type": "object"
|
|
259
|
-
},
|
|
260
|
-
"IdentityProvider": {
|
|
261
|
-
"properties": {
|
|
262
|
-
"id": {
|
|
263
|
-
"type": "string"
|
|
264
|
-
},
|
|
265
|
-
"name": {
|
|
266
|
-
"type": "string"
|
|
267
|
-
},
|
|
268
|
-
"display_name": {
|
|
269
|
-
"type": "string",
|
|
270
|
-
"x-nullable": true
|
|
271
|
-
},
|
|
272
|
-
"protocol": {
|
|
273
|
-
"type": "string",
|
|
274
|
-
"enum": [
|
|
275
|
-
"ldap",
|
|
276
|
-
"oauth2",
|
|
277
|
-
"oidc",
|
|
278
|
-
null
|
|
279
|
-
],
|
|
280
|
-
"x-nullable": true
|
|
281
|
-
},
|
|
282
|
-
"preset": {
|
|
283
|
-
"type": "string",
|
|
284
|
-
"enum": [
|
|
285
|
-
"facebook",
|
|
286
|
-
"github",
|
|
287
|
-
"gitlab",
|
|
288
|
-
"google",
|
|
289
|
-
"paypal",
|
|
290
|
-
"instagram",
|
|
291
|
-
"stackoverflow",
|
|
292
|
-
"twitter",
|
|
293
|
-
null
|
|
294
|
-
],
|
|
295
|
-
"x-nullable": true
|
|
296
|
-
},
|
|
297
|
-
"enabled": {
|
|
298
|
-
"type": "boolean"
|
|
299
|
-
},
|
|
300
|
-
"created_at": {
|
|
301
|
-
"type": "string"
|
|
302
|
-
},
|
|
303
|
-
"updated_at": {
|
|
304
|
-
"type": "string"
|
|
305
|
-
},
|
|
306
|
-
"realm_id": {
|
|
307
|
-
"type": "string"
|
|
308
|
-
},
|
|
309
|
-
"realm": {
|
|
310
|
-
"$ref": "#/definitions/Realm"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"required": [
|
|
314
|
-
"id",
|
|
315
|
-
"name",
|
|
316
|
-
"display_name",
|
|
317
|
-
"protocol",
|
|
318
|
-
"preset",
|
|
319
|
-
"enabled",
|
|
320
|
-
"created_at",
|
|
321
|
-
"updated_at",
|
|
322
|
-
"realm_id",
|
|
323
|
-
"realm"
|
|
324
|
-
],
|
|
325
|
-
"type": "object"
|
|
326
|
-
},
|
|
327
|
-
"NonNullableIdentityProviderRoleMapping": {
|
|
328
|
-
"properties": {
|
|
329
|
-
"name": {
|
|
330
|
-
"type": "string",
|
|
331
|
-
"x-nullable": true
|
|
332
|
-
},
|
|
333
|
-
"value": {
|
|
334
|
-
"type": "string",
|
|
335
|
-
"x-nullable": true
|
|
336
|
-
},
|
|
337
|
-
"value_is_regex": {
|
|
338
|
-
"type": "boolean"
|
|
339
|
-
},
|
|
340
|
-
"synchronization_mode": {
|
|
341
|
-
"type": "string",
|
|
342
|
-
"enum": [
|
|
343
|
-
"once",
|
|
344
|
-
"always",
|
|
345
|
-
"inherit",
|
|
346
|
-
null
|
|
347
|
-
],
|
|
348
|
-
"x-nullable": true
|
|
349
|
-
},
|
|
350
|
-
"provider_id": {
|
|
351
|
-
"type": "string"
|
|
352
|
-
},
|
|
353
|
-
"provider": {
|
|
354
|
-
"$ref": "#/definitions/IdentityProvider"
|
|
355
|
-
},
|
|
356
|
-
"provider_realm_id": {
|
|
357
|
-
"type": "string"
|
|
358
|
-
},
|
|
359
|
-
"provider_realm": {
|
|
360
|
-
"$ref": "#/definitions/Realm"
|
|
361
|
-
},
|
|
362
|
-
"id": {
|
|
363
|
-
"type": "string"
|
|
364
|
-
},
|
|
365
|
-
"created_at": {
|
|
366
|
-
"type": "string",
|
|
367
|
-
"format": "date-time"
|
|
368
|
-
},
|
|
369
|
-
"updated_at": {
|
|
370
|
-
"type": "string",
|
|
371
|
-
"format": "date-time"
|
|
372
|
-
},
|
|
373
|
-
"role_id": {
|
|
374
|
-
"type": "string"
|
|
375
|
-
},
|
|
376
|
-
"role": {
|
|
377
|
-
"$ref": "#/definitions/Role"
|
|
378
|
-
},
|
|
379
|
-
"role_realm_id": {
|
|
380
|
-
"type": "string",
|
|
381
|
-
"x-nullable": true
|
|
382
|
-
},
|
|
383
|
-
"role_realm": {
|
|
384
|
-
"$ref": "#/definitions/Realm"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
"required": [
|
|
388
|
-
"name",
|
|
389
|
-
"value",
|
|
390
|
-
"value_is_regex",
|
|
391
|
-
"synchronization_mode",
|
|
392
|
-
"provider_id",
|
|
393
|
-
"provider",
|
|
394
|
-
"provider_realm_id",
|
|
395
|
-
"provider_realm",
|
|
396
|
-
"id",
|
|
397
|
-
"created_at",
|
|
398
|
-
"updated_at",
|
|
399
|
-
"role_id",
|
|
400
|
-
"role",
|
|
401
|
-
"role_realm_id",
|
|
402
|
-
"role_realm"
|
|
403
|
-
],
|
|
404
|
-
"type": "object"
|
|
405
|
-
},
|
|
406
107
|
"OpenIDProviderMetadata": {
|
|
407
108
|
"properties": {
|
|
408
109
|
"userinfo_endpoint": {
|
|
@@ -1570,7 +1271,7 @@
|
|
|
1570
1271
|
},
|
|
1571
1272
|
"/identity-provider-role-mappings": {
|
|
1572
1273
|
"get": {
|
|
1573
|
-
"operationId": "
|
|
1274
|
+
"operationId": "GetMany",
|
|
1574
1275
|
"consumes": [],
|
|
1575
1276
|
"produces": [
|
|
1576
1277
|
"application/json"
|
|
@@ -1590,7 +1291,7 @@
|
|
|
1590
1291
|
"parameters": []
|
|
1591
1292
|
},
|
|
1592
1293
|
"post": {
|
|
1593
|
-
"operationId": "
|
|
1294
|
+
"operationId": "Add",
|
|
1594
1295
|
"consumes": [
|
|
1595
1296
|
"application/json"
|
|
1596
1297
|
],
|
|
@@ -1613,10 +1314,10 @@
|
|
|
1613
1314
|
{
|
|
1614
1315
|
"description": "",
|
|
1615
1316
|
"in": "body",
|
|
1616
|
-
"name": "
|
|
1317
|
+
"name": "data",
|
|
1617
1318
|
"required": true,
|
|
1618
1319
|
"schema": {
|
|
1619
|
-
"
|
|
1320
|
+
"type": "object"
|
|
1620
1321
|
}
|
|
1621
1322
|
}
|
|
1622
1323
|
]
|
|
@@ -1624,7 +1325,7 @@
|
|
|
1624
1325
|
},
|
|
1625
1326
|
"/identity-provider-role-mappings/{id}": {
|
|
1626
1327
|
"get": {
|
|
1627
|
-
"operationId": "
|
|
1328
|
+
"operationId": "GetOne",
|
|
1628
1329
|
"consumes": [],
|
|
1629
1330
|
"produces": [
|
|
1630
1331
|
"application/json"
|
|
@@ -1652,7 +1353,7 @@
|
|
|
1652
1353
|
]
|
|
1653
1354
|
},
|
|
1654
1355
|
"post": {
|
|
1655
|
-
"operationId": "
|
|
1356
|
+
"operationId": "Edit",
|
|
1656
1357
|
"consumes": [
|
|
1657
1358
|
"application/json"
|
|
1658
1359
|
],
|
|
@@ -1682,16 +1383,16 @@
|
|
|
1682
1383
|
{
|
|
1683
1384
|
"description": "",
|
|
1684
1385
|
"in": "body",
|
|
1685
|
-
"name": "
|
|
1386
|
+
"name": "data",
|
|
1686
1387
|
"required": true,
|
|
1687
1388
|
"schema": {
|
|
1688
|
-
"
|
|
1389
|
+
"type": "object"
|
|
1689
1390
|
}
|
|
1690
1391
|
}
|
|
1691
1392
|
]
|
|
1692
1393
|
},
|
|
1693
1394
|
"delete": {
|
|
1694
|
-
"operationId": "
|
|
1395
|
+
"operationId": "Drop",
|
|
1695
1396
|
"consumes": [],
|
|
1696
1397
|
"produces": [
|
|
1697
1398
|
"application/json"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authup/server-core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.36",
|
|
5
5
|
"description": "This is a standalone application.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/index.mjs",
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
},
|
|
66
66
|
"homepage": "https://github.com/authup/authup#readme",
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@authup/access": "^1.0.0-beta.
|
|
69
|
-
"@authup/core-http-kit": "^1.0.0-beta.
|
|
70
|
-
"@authup/core-kit": "^1.0.0-beta.
|
|
71
|
-
"@authup/errors": "^1.0.0-beta.
|
|
72
|
-
"@authup/kit": "^1.0.0-beta.
|
|
73
|
-
"@authup/server-kit": "^1.0.0-beta.
|
|
74
|
-
"@authup/specs": "^1.0.0-beta.
|
|
68
|
+
"@authup/access": "^1.0.0-beta.36",
|
|
69
|
+
"@authup/core-http-kit": "^1.0.0-beta.36",
|
|
70
|
+
"@authup/core-kit": "^1.0.0-beta.36",
|
|
71
|
+
"@authup/errors": "^1.0.0-beta.36",
|
|
72
|
+
"@authup/kit": "^1.0.0-beta.36",
|
|
73
|
+
"@authup/server-kit": "^1.0.0-beta.36",
|
|
74
|
+
"@authup/specs": "^1.0.0-beta.36",
|
|
75
75
|
"@ebec/http": "^2.3.0",
|
|
76
76
|
"@hapic/oauth2": "^3.2.0",
|
|
77
77
|
"@routup/assets": "^3.4.2",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"ldapjs": "^3.0.7",
|
|
96
96
|
"locter": "^2.2.1",
|
|
97
97
|
"morgan": "^1.10.1",
|
|
98
|
-
"mysql2": "^3.
|
|
98
|
+
"mysql2": "^3.22.1",
|
|
99
99
|
"node-cron": "^4.2.1",
|
|
100
100
|
"nodemailer": "^8.0.5",
|
|
101
101
|
"orkos": "^1.1.1",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"zod": "^4.3.6"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@authup/client-web-slim": "^1.0.0-beta.
|
|
116
|
+
"@authup/client-web-slim": "^1.0.0-beta.36",
|
|
117
117
|
"@faker-js/faker": "^10.4.0",
|
|
118
118
|
"@types/cors": "^2.8.19",
|
|
119
119
|
"@types/ldapjs": "^3.0.6",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"testcontainers": "^11.14.0",
|
|
127
127
|
"ts-node": "^10.8.2",
|
|
128
128
|
"unplugin-swc": "^1.5.9",
|
|
129
|
-
"vite": "^8.0.
|
|
129
|
+
"vite": "^8.0.9",
|
|
130
130
|
"vitest": "^4.0.14"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/adapters/http/controllers/entities/identity-provide-role/utils/index.ts"],"names":[],"mappings":"AAOA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Container } from 'validup';
|
|
2
|
-
import type { IdentityProviderRoleMappingEntity } from '../../../../../database/domains/index.ts';
|
|
3
|
-
export declare class IdentityProviderRoleMappingRequestValidator extends Container<IdentityProviderRoleMappingEntity> {
|
|
4
|
-
protected initialize(): void;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=validator.d.ts.map
|
package/dist/adapters/http/controllers/entities/identity-provide-role/utils/validator.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../../../../../../src/adapters/http/controllers/entities/identity-provide-role/utils/validator.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAC;AAGlG,qBAAa,2CAA4C,SAAQ,SAAS,CACtE,iCAAiC,CACpC;IACG,SAAS,CAAC,UAAU;CAyDvB"}
|