@hed-hog/core 0.0.102 → 0.0.103
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 +22 -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:
|
|
@@ -304,54 +308,72 @@
|
|
|
304
308
|
role:
|
|
305
309
|
- where:
|
|
306
310
|
slug: admin
|
|
311
|
+
- where:
|
|
312
|
+
slug: admin-access
|
|
307
313
|
- url: /user/:userId/role
|
|
308
314
|
method: PATCH
|
|
309
315
|
relations:
|
|
310
316
|
role:
|
|
311
317
|
- where:
|
|
312
318
|
slug: admin
|
|
319
|
+
- where:
|
|
320
|
+
slug: admin-access
|
|
313
321
|
- url: /user/:userId/role/:roleId
|
|
314
322
|
method: DELETE
|
|
315
323
|
relations:
|
|
316
324
|
role:
|
|
317
325
|
- where:
|
|
318
326
|
slug: admin
|
|
327
|
+
- where:
|
|
328
|
+
slug: admin-access
|
|
319
329
|
- url: /user/:userId/role/:roleId
|
|
320
330
|
method: POST
|
|
321
331
|
relations:
|
|
322
332
|
role:
|
|
323
333
|
- where:
|
|
324
334
|
slug: admin
|
|
335
|
+
- where:
|
|
336
|
+
slug: admin-access
|
|
325
337
|
- url: /user/:userId
|
|
326
338
|
method: GET
|
|
327
339
|
relations:
|
|
328
340
|
role:
|
|
329
341
|
- where:
|
|
330
342
|
slug: admin
|
|
343
|
+
- where:
|
|
344
|
+
slug: admin-access
|
|
331
345
|
- url: /user
|
|
332
346
|
method: POST
|
|
333
347
|
relations:
|
|
334
348
|
role:
|
|
335
349
|
- where:
|
|
336
350
|
slug: admin
|
|
351
|
+
- where:
|
|
352
|
+
slug: admin-access
|
|
337
353
|
- url: /user/:userId/avatar
|
|
338
354
|
method: POST
|
|
339
355
|
relations:
|
|
340
356
|
role:
|
|
341
357
|
- where:
|
|
342
358
|
slug: admin
|
|
359
|
+
- where:
|
|
360
|
+
slug: admin-access
|
|
343
361
|
- url: /user/:userId
|
|
344
362
|
method: PATCH
|
|
345
363
|
relations:
|
|
346
364
|
role:
|
|
347
365
|
- where:
|
|
348
366
|
slug: admin
|
|
367
|
+
- where:
|
|
368
|
+
slug: admin-access
|
|
349
369
|
- url: /user
|
|
350
370
|
method: DELETE
|
|
351
371
|
relations:
|
|
352
372
|
role:
|
|
353
373
|
- where:
|
|
354
374
|
slug: admin
|
|
375
|
+
- where:
|
|
376
|
+
slug: admin-access
|
|
355
377
|
- url: /locale
|
|
356
378
|
method: GET
|
|
357
379
|
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.103",
|
|
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": {
|