@uniteverses/shared 1.0.48 → 1.0.49
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.
|
@@ -150,6 +150,15 @@ export interface PostVersion {
|
|
|
150
150
|
body: string;
|
|
151
151
|
createdAt: string | Date;
|
|
152
152
|
}
|
|
153
|
+
export interface PostTranslation {
|
|
154
|
+
id: string;
|
|
155
|
+
postId: string;
|
|
156
|
+
languageId: string;
|
|
157
|
+
title: string;
|
|
158
|
+
body: string;
|
|
159
|
+
createdAt: string | Date;
|
|
160
|
+
language: Language;
|
|
161
|
+
}
|
|
153
162
|
export interface Post {
|
|
154
163
|
id: string;
|
|
155
164
|
userId: string;
|
|
@@ -161,6 +170,7 @@ export interface Post {
|
|
|
161
170
|
topic?: Topic | null;
|
|
162
171
|
organization?: Organization | null;
|
|
163
172
|
versions: PostVersion[];
|
|
173
|
+
translations?: PostTranslation[];
|
|
164
174
|
comments?: Comment[];
|
|
165
175
|
_count?: {
|
|
166
176
|
comments: number;
|