@hed-hog/category 0.0.104 → 0.0.115

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.
@@ -9,4 +9,6 @@
9
9
  - where:
10
10
  slug: admin
11
11
  - where:
12
- slug: admin-access
12
+ slug: admin-access
13
+ - where:
14
+ slug: admin-category
@@ -0,0 +1,7 @@
1
+ - slug: admin-category
2
+ name:
3
+ en: Category Administrator
4
+ pt: Administrador de Categoria
5
+ description:
6
+ en: Administrator with full access to category management.
7
+ pt: Administrador com acesso total à gestão de categorias.
@@ -6,6 +6,8 @@
6
6
  slug: admin
7
7
  - where:
8
8
  slug: admin-access
9
+ - where:
10
+ slug: admin-category
9
11
  - url: /category
10
12
  method: POST
11
13
  relations:
@@ -14,6 +16,8 @@
14
16
  slug: admin
15
17
  - where:
16
18
  slug: admin-access
19
+ - where:
20
+ slug: admin-category
17
21
  - url: /category/stats
18
22
  method: GET
19
23
  relations:
@@ -22,6 +26,8 @@
22
26
  slug: admin
23
27
  - where:
24
28
  slug: admin-access
29
+ - where:
30
+ slug: admin-category
25
31
  - url: /category/root
26
32
  method: GET
27
33
  relations:
@@ -30,6 +36,8 @@
30
36
  slug: admin
31
37
  - where:
32
38
  slug: admin-access
39
+ - where:
40
+ slug: admin-category
33
41
  - url: /category/:id
34
42
  method: GET
35
43
  relations:
@@ -38,6 +46,8 @@
38
46
  slug: admin
39
47
  - where:
40
48
  slug: admin-access
49
+ - where:
50
+ slug: admin-category
41
51
  - url: /category/parent/:categoryId
42
52
  method: GET
43
53
  relations:
@@ -46,6 +56,8 @@
46
56
  slug: admin
47
57
  - where:
48
58
  slug: admin-access
59
+ - where:
60
+ slug: admin-category
49
61
  - url: /category/:id
50
62
  method: PATCH
51
63
  relations:
@@ -54,6 +66,8 @@
54
66
  slug: admin
55
67
  - where:
56
68
  slug: admin-access
69
+ - where:
70
+ slug: admin-category
57
71
  - url: /category/:id
58
72
  method: DELETE
59
73
  relations:
@@ -61,4 +75,6 @@
61
75
  - where:
62
76
  slug: admin
63
77
  - where:
64
- slug: admin-access
78
+ slug: admin-access
79
+ - where:
80
+ slug: admin-category
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/category",
3
- "version": "0.0.104",
3
+ "version": "0.0.115",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -9,10 +9,10 @@
9
9
  "@nestjs/core": "^11",
10
10
  "@nestjs/jwt": "^11",
11
11
  "@nestjs/mapped-types": "*",
12
- "@hed-hog/core": "0.0.104",
12
+ "@hed-hog/core": "0.0.115",
13
+ "@hed-hog/api-pagination": "0.0.4",
13
14
  "@hed-hog/api-locale": "0.0.10",
14
15
  "@hed-hog/api": "0.0.3",
15
- "@hed-hog/api-pagination": "0.0.4",
16
16
  "@hed-hog/api-prisma": "0.0.4"
17
17
  },
18
18
  "exports": {