@hed-hog/tag 0.0.338 → 0.0.347
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/dist/tag.controller.d.ts +10 -10
- package/dist/tag.service.d.ts +10 -10
- package/package.json +4 -4
package/dist/tag.controller.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export declare class TagController {
|
|
|
5
5
|
constructor(tagService: TagService);
|
|
6
6
|
list(paginationParams: any): Promise<{
|
|
7
7
|
data: {
|
|
8
|
+
color: string;
|
|
9
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
8
10
|
id: number;
|
|
9
11
|
created_at: Date;
|
|
10
12
|
updated_at: Date;
|
|
11
13
|
slug: string;
|
|
12
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
13
|
-
color: string;
|
|
14
14
|
}[];
|
|
15
15
|
total: number;
|
|
16
16
|
page: number;
|
|
@@ -25,36 +25,36 @@ export declare class TagController {
|
|
|
25
25
|
inactive: number;
|
|
26
26
|
}>;
|
|
27
27
|
getById(id: number, locale: string): Promise<{
|
|
28
|
+
color: string;
|
|
29
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
28
30
|
id: number;
|
|
29
31
|
created_at: Date;
|
|
30
32
|
updated_at: Date;
|
|
31
33
|
slug: string;
|
|
32
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
33
|
-
color: string;
|
|
34
34
|
}>;
|
|
35
35
|
create(locale: string, body: TagDTO): Promise<{
|
|
36
|
+
color: string;
|
|
37
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
36
38
|
id: number;
|
|
37
39
|
created_at: Date;
|
|
38
40
|
updated_at: Date;
|
|
39
41
|
slug: string;
|
|
40
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
41
|
-
color: string;
|
|
42
42
|
}>;
|
|
43
43
|
update(id: number, body: Partial<TagDTO>, locale: string): Promise<{
|
|
44
|
+
color: string;
|
|
45
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
44
46
|
id: number;
|
|
45
47
|
created_at: Date;
|
|
46
48
|
updated_at: Date;
|
|
47
49
|
slug: string;
|
|
48
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
49
|
-
color: string;
|
|
50
50
|
}>;
|
|
51
51
|
delete(id: number, locale: string): Promise<{
|
|
52
|
+
color: string;
|
|
53
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
52
54
|
id: number;
|
|
53
55
|
created_at: Date;
|
|
54
56
|
updated_at: Date;
|
|
55
57
|
slug: string;
|
|
56
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
57
|
-
color: string;
|
|
58
58
|
}>;
|
|
59
59
|
}
|
|
60
60
|
//# sourceMappingURL=tag.controller.d.ts.map
|
package/dist/tag.service.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ export declare class TagService {
|
|
|
5
5
|
constructor(prisma: PrismaService);
|
|
6
6
|
list(paginationParams: any): Promise<{
|
|
7
7
|
data: {
|
|
8
|
+
color: string;
|
|
9
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
8
10
|
id: number;
|
|
9
11
|
created_at: Date;
|
|
10
12
|
updated_at: Date;
|
|
11
13
|
slug: string;
|
|
12
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
13
|
-
color: string;
|
|
14
14
|
}[];
|
|
15
15
|
total: number;
|
|
16
16
|
page: number;
|
|
@@ -25,36 +25,36 @@ export declare class TagService {
|
|
|
25
25
|
inactive: number;
|
|
26
26
|
}>;
|
|
27
27
|
create(locale: string, body: TagDTO): Promise<{
|
|
28
|
+
color: string;
|
|
29
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
28
30
|
id: number;
|
|
29
31
|
created_at: Date;
|
|
30
32
|
updated_at: Date;
|
|
31
33
|
slug: string;
|
|
32
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
33
|
-
color: string;
|
|
34
34
|
}>;
|
|
35
35
|
getById(id: number, locale: string): Promise<{
|
|
36
|
+
color: string;
|
|
37
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
36
38
|
id: number;
|
|
37
39
|
created_at: Date;
|
|
38
40
|
updated_at: Date;
|
|
39
41
|
slug: string;
|
|
40
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
41
|
-
color: string;
|
|
42
42
|
}>;
|
|
43
43
|
update(id: number, body: Partial<TagDTO>, locale: string): Promise<{
|
|
44
|
+
color: string;
|
|
45
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
44
46
|
id: number;
|
|
45
47
|
created_at: Date;
|
|
46
48
|
updated_at: Date;
|
|
47
49
|
slug: string;
|
|
48
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
49
|
-
color: string;
|
|
50
50
|
}>;
|
|
51
51
|
delete(id: number, locale: string): Promise<{
|
|
52
|
+
color: string;
|
|
53
|
+
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
52
54
|
id: number;
|
|
53
55
|
created_at: Date;
|
|
54
56
|
updated_at: Date;
|
|
55
57
|
slug: string;
|
|
56
|
-
status: import("@prisma/client").$Enums.tag_status_43028a2f87_enum | null;
|
|
57
|
-
color: string;
|
|
58
58
|
}>;
|
|
59
59
|
}
|
|
60
60
|
//# sourceMappingURL=tag.service.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/tag",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.347",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
12
|
"@hed-hog/api-prisma": "0.0.6",
|
|
13
|
-
"@hed-hog/core": "0.0.
|
|
14
|
-
"@hed-hog/api-pagination": "0.0.7",
|
|
13
|
+
"@hed-hog/core": "0.0.347",
|
|
15
14
|
"@hed-hog/api": "0.0.8",
|
|
16
|
-
"@hed-hog/api-locale": "0.0.14"
|
|
15
|
+
"@hed-hog/api-locale": "0.0.14",
|
|
16
|
+
"@hed-hog/api-pagination": "0.0.7"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|