@hed-hog/core 0.0.102 → 0.0.104
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/hedhog/data/menu.yaml +4 -0
- package/hedhog/data/route.yaml +24 -0
- package/package.json +2 -2
package/hedhog/data/menu.yaml
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
role:
|
|
9
9
|
- where:
|
|
10
10
|
slug: admin
|
|
11
|
+
- where:
|
|
12
|
+
slug: admin-access
|
|
11
13
|
- url: /users
|
|
12
14
|
icon: users
|
|
13
15
|
name:
|
|
@@ -18,6 +20,8 @@
|
|
|
18
20
|
role:
|
|
19
21
|
- where:
|
|
20
22
|
slug: admin
|
|
23
|
+
- where:
|
|
24
|
+
slug: admin-access
|
|
21
25
|
- url: /roles
|
|
22
26
|
icon: shield-check
|
|
23
27
|
name:
|
package/hedhog/data/route.yaml
CHANGED
|
@@ -26,12 +26,16 @@
|
|
|
26
26
|
role:
|
|
27
27
|
- where:
|
|
28
28
|
slug: admin
|
|
29
|
+
- where:
|
|
30
|
+
slug: admin-access
|
|
29
31
|
- url: /sessions/:sessionId/revoke
|
|
30
32
|
method: DELETE
|
|
31
33
|
relations:
|
|
32
34
|
role:
|
|
33
35
|
- where:
|
|
34
36
|
slug: admin
|
|
37
|
+
- where:
|
|
38
|
+
slug: admin-access
|
|
35
39
|
- url: /sessions/user/:userId
|
|
36
40
|
method: GET
|
|
37
41
|
relations:
|
|
@@ -298,60 +302,80 @@
|
|
|
298
302
|
role:
|
|
299
303
|
- where:
|
|
300
304
|
slug: admin
|
|
305
|
+
- where:
|
|
306
|
+
slug: admin-access
|
|
301
307
|
- url: /user/:userId/role
|
|
302
308
|
method: GET
|
|
303
309
|
relations:
|
|
304
310
|
role:
|
|
305
311
|
- where:
|
|
306
312
|
slug: admin
|
|
313
|
+
- where:
|
|
314
|
+
slug: admin-access
|
|
307
315
|
- url: /user/:userId/role
|
|
308
316
|
method: PATCH
|
|
309
317
|
relations:
|
|
310
318
|
role:
|
|
311
319
|
- where:
|
|
312
320
|
slug: admin
|
|
321
|
+
- where:
|
|
322
|
+
slug: admin-access
|
|
313
323
|
- url: /user/:userId/role/:roleId
|
|
314
324
|
method: DELETE
|
|
315
325
|
relations:
|
|
316
326
|
role:
|
|
317
327
|
- where:
|
|
318
328
|
slug: admin
|
|
329
|
+
- where:
|
|
330
|
+
slug: admin-access
|
|
319
331
|
- url: /user/:userId/role/:roleId
|
|
320
332
|
method: POST
|
|
321
333
|
relations:
|
|
322
334
|
role:
|
|
323
335
|
- where:
|
|
324
336
|
slug: admin
|
|
337
|
+
- where:
|
|
338
|
+
slug: admin-access
|
|
325
339
|
- url: /user/:userId
|
|
326
340
|
method: GET
|
|
327
341
|
relations:
|
|
328
342
|
role:
|
|
329
343
|
- where:
|
|
330
344
|
slug: admin
|
|
345
|
+
- where:
|
|
346
|
+
slug: admin-access
|
|
331
347
|
- url: /user
|
|
332
348
|
method: POST
|
|
333
349
|
relations:
|
|
334
350
|
role:
|
|
335
351
|
- where:
|
|
336
352
|
slug: admin
|
|
353
|
+
- where:
|
|
354
|
+
slug: admin-access
|
|
337
355
|
- url: /user/:userId/avatar
|
|
338
356
|
method: POST
|
|
339
357
|
relations:
|
|
340
358
|
role:
|
|
341
359
|
- where:
|
|
342
360
|
slug: admin
|
|
361
|
+
- where:
|
|
362
|
+
slug: admin-access
|
|
343
363
|
- url: /user/:userId
|
|
344
364
|
method: PATCH
|
|
345
365
|
relations:
|
|
346
366
|
role:
|
|
347
367
|
- where:
|
|
348
368
|
slug: admin
|
|
369
|
+
- where:
|
|
370
|
+
slug: admin-access
|
|
349
371
|
- url: /user
|
|
350
372
|
method: DELETE
|
|
351
373
|
relations:
|
|
352
374
|
role:
|
|
353
375
|
- where:
|
|
354
376
|
slug: admin
|
|
377
|
+
- where:
|
|
378
|
+
slug: admin-access
|
|
355
379
|
- url: /locale
|
|
356
380
|
method: GET
|
|
357
381
|
relations:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.104",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"uuid": "^11.1.0",
|
|
32
32
|
"@hed-hog/types": "0.0.1",
|
|
33
33
|
"@hed-hog/api-pagination": "0.0.4",
|
|
34
|
-
"@hed-hog/api-prisma": "0.0.4",
|
|
35
34
|
"@hed-hog/api-mail": "0.0.7",
|
|
36
35
|
"@hed-hog/api": "0.0.3",
|
|
36
|
+
"@hed-hog/api-prisma": "0.0.4",
|
|
37
37
|
"@hed-hog/api-locale": "0.0.10"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|