@uniteverses/shared 1.0.11 → 1.0.12
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.
|
@@ -119,6 +119,7 @@ export interface TopicWithChildren {
|
|
|
119
119
|
export interface CreatePostInput {
|
|
120
120
|
title: string;
|
|
121
121
|
body: string;
|
|
122
|
+
topicId?: string;
|
|
122
123
|
}
|
|
123
124
|
export interface UpdatePostInput {
|
|
124
125
|
title: string;
|
|
@@ -135,9 +136,11 @@ export interface PostVersion {
|
|
|
135
136
|
export interface Post {
|
|
136
137
|
id: string;
|
|
137
138
|
userId: string;
|
|
139
|
+
topicId: string | null;
|
|
138
140
|
createdAt: string | Date;
|
|
139
141
|
deletedAt: string | Date | null;
|
|
140
142
|
user: User;
|
|
143
|
+
topic?: Topic | null;
|
|
141
144
|
versions: PostVersion[];
|
|
142
145
|
comments?: Comment[];
|
|
143
146
|
_count?: {
|