echadospalante-core 14.11.0 → 14.13.0

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.
@@ -6,3 +6,7 @@ export interface PublicationClap {
6
6
  publication: VenturePublication;
7
7
  createdAt: Date;
8
8
  }
9
+ export interface PublicationClapCreate {
10
+ publicationId: string;
11
+ userId: string;
12
+ }
@@ -7,3 +7,8 @@ export interface PublicationComment {
7
7
  publication: VenturePublication;
8
8
  createdAt: Date;
9
9
  }
10
+ export interface PublicationCommentCreate {
11
+ content: string;
12
+ publicationId: string;
13
+ authorId: string;
14
+ }
@@ -29,6 +29,6 @@ export interface PublicationContent {
29
29
  }
30
30
  export interface PublicationCreate {
31
31
  description: string;
32
- type: PublicationType;
33
32
  contents: PublicationContent[];
33
+ categoriesIds: string[];
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echadospalante-core",
3
- "version": "14.11.0",
3
+ "version": "14.13.0",
4
4
  "description": "This package contains the core of the echadospalante project, it contains the domain entities, helpers, and other utilities that are shared between the different services.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,3 +7,8 @@ export interface PublicationClap {
7
7
  publication: VenturePublication;
8
8
  createdAt: Date;
9
9
  }
10
+
11
+ export interface PublicationClapCreate {
12
+ publicationId: string;
13
+ userId: string;
14
+ }
@@ -8,3 +8,9 @@ export interface PublicationComment {
8
8
  publication: VenturePublication;
9
9
  createdAt: Date;
10
10
  }
11
+
12
+ export interface PublicationCommentCreate {
13
+ content: string;
14
+ publicationId: string;
15
+ authorId: string;
16
+ }
@@ -33,6 +33,6 @@ export interface PublicationContent {
33
33
 
34
34
  export interface PublicationCreate {
35
35
  description: string;
36
- type: PublicationType;
37
36
  contents: PublicationContent[];
37
+ categoriesIds: string[];
38
38
  }