@volontariapp/contracts-nest 3.1.8 → 3.1.9-snap-85dff16
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/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,13 @@ import { Post } from "./post.js";
|
|
|
2
2
|
export interface CreatePostCommand {
|
|
3
3
|
title: string;
|
|
4
4
|
content: string;
|
|
5
|
+
eventId?: string | undefined;
|
|
5
6
|
}
|
|
6
7
|
export interface AdminCreatePostCommand {
|
|
7
8
|
authorId: string;
|
|
8
9
|
title: string;
|
|
9
10
|
content: string;
|
|
11
|
+
eventId?: string | undefined;
|
|
10
12
|
}
|
|
11
13
|
export interface UpdatePostCommand {
|
|
12
14
|
post: Post | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.command.d.ts","sourceRoot":"","sources":["../../src/post/post.command.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"post.command.d.ts","sourceRoot":"","sources":["../../src/post/post.command.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;CACpC"}
|
package/package.json
CHANGED
|
@@ -7,12 +7,14 @@ import "volontariapp/post/post.proto";
|
|
|
7
7
|
message CreatePostCommand {
|
|
8
8
|
string title = 1;
|
|
9
9
|
string content = 2;
|
|
10
|
+
optional string event_id = 3;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
message AdminCreatePostCommand {
|
|
13
14
|
string author_id = 1;
|
|
14
15
|
string title = 2;
|
|
15
16
|
string content = 3;
|
|
17
|
+
optional string event_id = 4;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
message UpdatePostCommand {
|