@hed-hog/content 0.0.295 → 0.0.297
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.
|
@@ -14,7 +14,7 @@ export declare class ContentController {
|
|
|
14
14
|
getContent(locale: string, id: number): Promise<{
|
|
15
15
|
id: number;
|
|
16
16
|
slug: string;
|
|
17
|
-
status: import("
|
|
17
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
18
18
|
created_at: Date;
|
|
19
19
|
updated_at: Date;
|
|
20
20
|
locales: Record<string, {
|
|
@@ -36,21 +36,21 @@ export declare class ContentController {
|
|
|
36
36
|
created_at: Date;
|
|
37
37
|
updated_at: Date;
|
|
38
38
|
slug: string;
|
|
39
|
-
status: import("
|
|
39
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
40
40
|
}>;
|
|
41
41
|
createContent(localeStr: string, { slug, status, locale }: ContentCreateDTO): Promise<{
|
|
42
42
|
id: number;
|
|
43
43
|
created_at: Date;
|
|
44
44
|
updated_at: Date;
|
|
45
45
|
slug: string;
|
|
46
|
-
status: import("
|
|
46
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
47
47
|
}>;
|
|
48
48
|
updateContent(localeStr: string, id: number, { locale, slug, status }: ContentUpdateDTO): Promise<{
|
|
49
49
|
id: number;
|
|
50
50
|
created_at: Date;
|
|
51
51
|
updated_at: Date;
|
|
52
52
|
slug: string;
|
|
53
|
-
status: import("
|
|
53
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
54
54
|
}>;
|
|
55
55
|
}
|
|
56
56
|
//# sourceMappingURL=content.controller.d.ts.map
|
|
@@ -17,7 +17,7 @@ export declare class ContentService {
|
|
|
17
17
|
getContent(locale: string, id: number): Promise<{
|
|
18
18
|
id: number;
|
|
19
19
|
slug: string;
|
|
20
|
-
status: import("
|
|
20
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
21
21
|
created_at: Date;
|
|
22
22
|
updated_at: Date;
|
|
23
23
|
locales: Record<string, {
|
|
@@ -39,21 +39,21 @@ export declare class ContentService {
|
|
|
39
39
|
created_at: Date;
|
|
40
40
|
updated_at: Date;
|
|
41
41
|
slug: string;
|
|
42
|
-
status: import("
|
|
42
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
43
43
|
}>;
|
|
44
44
|
createContent(localeStr: string, { locale, slug, status }: ContentCreateDTO): Promise<{
|
|
45
45
|
id: number;
|
|
46
46
|
created_at: Date;
|
|
47
47
|
updated_at: Date;
|
|
48
48
|
slug: string;
|
|
49
|
-
status: import("
|
|
49
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
50
50
|
}>;
|
|
51
51
|
updateContent(localeStr: string, id: number, { locale, slug, status }: ContentUpdateDTO): Promise<{
|
|
52
52
|
id: number;
|
|
53
53
|
created_at: Date;
|
|
54
54
|
updated_at: Date;
|
|
55
55
|
slug: string;
|
|
56
|
-
status: import("
|
|
56
|
+
status: import("@prisma/client").$Enums.content_status_be91dc5c18_enum;
|
|
57
57
|
}>;
|
|
58
58
|
}
|
|
59
59
|
//# sourceMappingURL=content.service.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/content",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.297",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"@nestjs/core": "^11",
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
|
-
"@hed-hog/core": "0.0.
|
|
13
|
-
"@hed-hog/api-locale": "0.0.
|
|
14
|
-
"@hed-hog/api
|
|
15
|
-
"@hed-hog/api": "0.0.
|
|
16
|
-
"@hed-hog/api-
|
|
12
|
+
"@hed-hog/core": "0.0.297",
|
|
13
|
+
"@hed-hog/api-locale": "0.0.14",
|
|
14
|
+
"@hed-hog/api": "0.0.6",
|
|
15
|
+
"@hed-hog/api-prisma": "0.0.6",
|
|
16
|
+
"@hed-hog/api-pagination": "0.0.7"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"scripts": {
|
|
31
31
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
|
32
|
-
"prebuild": "
|
|
32
|
+
"prebuild": "pnpm --dir ../.. exec ts-node ./scripts/build-dependencies.ts libraries/content",
|
|
33
33
|
"build": "tsc --project tsconfig.production.json",
|
|
34
34
|
"patch": "npx ts-node ../../scripts/patch.ts libraries/content",
|
|
35
35
|
"prod": "pnpm run patch && pnpm run build && pnpm publish --access public --no-git-checks"
|