@hed-hog/content 0.0.275 → 0.0.278
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 +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,13 +16,13 @@ O módulo `@hed-hog/content` é responsável pela gestão de conteúdos multilí
|
|
|
16
16
|
|
|
17
17
|
## 3. Endpoints
|
|
18
18
|
|
|
19
|
-
| Método | Path | Autenticação
|
|
20
|
-
|
|
21
|
-
| GET | /content/stats | Autenticada (role `admin`)
|
|
22
|
-
| GET | /content/:id | Autenticada (role `admin`)
|
|
23
|
-
| GET | /content | Autenticada (role `admin`)
|
|
24
|
-
| POST | /content | Autenticada (role `admin`)
|
|
25
|
-
| PATCH | /content/:id | Autenticada (role `admin`)
|
|
19
|
+
| Método | Path | Autenticação | Descrição |
|
|
20
|
+
|--------|----------------|-----------------------------------------------|--------------------------------------|
|
|
21
|
+
| GET | /content/stats | Autenticada (role `admin`) | Retorna estatísticas gerais dos conteúdos. |
|
|
22
|
+
| GET | /content/:id | Autenticada (role `admin`) | Retorna conteúdo específico pelo ID, com dados multilíngues. |
|
|
23
|
+
| GET | /content | Autenticada (role `admin`) | Lista conteúdos com paginação e filtros. |
|
|
24
|
+
| POST | /content | Autenticada (role `admin`) | Cria um novo conteúdo multilíngue. |
|
|
25
|
+
| PATCH | /content/:id | Autenticada (role `admin`) | Atualiza conteúdo existente pelo ID. |
|
|
26
26
|
| DELETE | /content/:id | Autenticada (roles `admin`, `admin-access` ou `admin-content`) | Remove conteúdo pelo ID. |
|
|
27
27
|
|
|
28
28
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/content",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.278",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"@nestjs/core": "^11",
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
|
-
"@hed-hog/api-pagination": "0.0.6",
|
|
13
12
|
"@hed-hog/api-locale": "0.0.13",
|
|
14
|
-
"@hed-hog/
|
|
13
|
+
"@hed-hog/api-pagination": "0.0.6",
|
|
14
|
+
"@hed-hog/core": "0.0.278",
|
|
15
15
|
"@hed-hog/api": "0.0.4",
|
|
16
16
|
"@hed-hog/api-prisma": "0.0.5"
|
|
17
17
|
},
|