@uniteverses/shared 1.0.41 → 1.0.43
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.
|
@@ -134,6 +134,7 @@ export interface CreatePostInput {
|
|
|
134
134
|
title: string;
|
|
135
135
|
body: string;
|
|
136
136
|
topicId?: string;
|
|
137
|
+
organizationId?: string;
|
|
137
138
|
}
|
|
138
139
|
export interface UpdatePostInput {
|
|
139
140
|
title: string;
|
|
@@ -151,10 +152,12 @@ export interface Post {
|
|
|
151
152
|
id: string;
|
|
152
153
|
userId: string;
|
|
153
154
|
topicId: string | null;
|
|
155
|
+
organizationId: string | null;
|
|
154
156
|
createdAt: string | Date;
|
|
155
157
|
deletedAt: string | Date | null;
|
|
156
158
|
user: User;
|
|
157
159
|
topic?: Topic | null;
|
|
160
|
+
organization?: Organization | null;
|
|
158
161
|
versions: PostVersion[];
|
|
159
162
|
comments?: Comment[];
|
|
160
163
|
_count?: {
|
|
@@ -6,11 +6,15 @@ export interface AnalyzeDescriptionRequest {
|
|
|
6
6
|
imageUrl: string;
|
|
7
7
|
description: string;
|
|
8
8
|
}
|
|
9
|
+
export interface NounDetail {
|
|
10
|
+
noun: string;
|
|
11
|
+
phrases: string[];
|
|
12
|
+
vocabulary: string[];
|
|
13
|
+
}
|
|
9
14
|
export interface AnalyzeDescriptionResponse {
|
|
10
15
|
gptDescription: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
userGotGptMissed: string[];
|
|
16
|
+
nounDetails: NounDetail[];
|
|
17
|
+
nounsBothNoticed: string[];
|
|
18
|
+
nounsUserMissed: string[];
|
|
19
|
+
nounsGptMissed: string[];
|
|
16
20
|
}
|