@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
- goodPhrases: string[];
12
- goodVocabulary: string[];
13
- userGotGptGot: string[];
14
- userMissedGptGot: string[];
15
- userGotGptMissed: string[];
16
+ nounDetails: NounDetail[];
17
+ nounsBothNoticed: string[];
18
+ nounsUserMissed: string[];
19
+ nounsGptMissed: string[];
16
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [