@uniteverses/shared 1.0.78 → 1.0.80

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.
@@ -179,16 +179,16 @@ export interface TopicWithChildren {
179
179
  };
180
180
  }
181
181
  export interface CreatePostInput {
182
- title: string;
183
- body: string;
182
+ title?: string;
183
+ body?: string;
184
184
  topicId?: string;
185
185
  organizationId?: string;
186
186
  imageStoragePath?: string | null;
187
187
  typeIds?: string[];
188
188
  }
189
189
  export interface UpdatePostInput {
190
- title: string;
191
- body: string;
190
+ title?: string;
191
+ body?: string;
192
192
  imageStoragePath?: string | null;
193
193
  typeIds?: string[];
194
194
  }
@@ -0,0 +1,62 @@
1
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageRandomImage {
2
+ imageUrl: string;
3
+ tags: string;
4
+ }
5
+ export interface StudentsCommunicationStudentsPracticeDescriptionImagePhrase {
6
+ id: string;
7
+ text: string;
8
+ accepted: boolean;
9
+ }
10
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageWord {
11
+ id: string;
12
+ text: string;
13
+ accepted: boolean;
14
+ }
15
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageFeature {
16
+ id: string;
17
+ label: string;
18
+ phrases: StudentsCommunicationStudentsPracticeDescriptionImagePhrase[];
19
+ words: StudentsCommunicationStudentsPracticeDescriptionImageWord[];
20
+ }
21
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageAnalysis {
22
+ id: string;
23
+ expertDescription: string;
24
+ features: StudentsCommunicationStudentsPracticeDescriptionImageFeature[];
25
+ createdAt: string;
26
+ }
27
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageAttempt {
28
+ id: string;
29
+ userResponse: string;
30
+ score: number;
31
+ mentionedFeatureIds: string[];
32
+ usedPhraseIds: string[];
33
+ usedWordIds: string[];
34
+ createdAt: string;
35
+ }
36
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageDrill {
37
+ id: string;
38
+ imageUrl: string;
39
+ tagId: string | null;
40
+ retiredAt: string | null;
41
+ createdAt: string;
42
+ analysis: StudentsCommunicationStudentsPracticeDescriptionImageAnalysis | null;
43
+ attempts: StudentsCommunicationStudentsPracticeDescriptionImageAttempt[];
44
+ }
45
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageDrillSummary {
46
+ id: string;
47
+ imageUrl: string;
48
+ tagId: string | null;
49
+ retiredAt: string | null;
50
+ createdAt: string;
51
+ attemptCount: number;
52
+ bestScore: number | null;
53
+ latestScore: number | null;
54
+ }
55
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageDrillCreateInput {
56
+ imageUrl: string;
57
+ description: string;
58
+ tagId?: string | null;
59
+ }
60
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageDrillAttemptCreateInput {
61
+ description: string;
62
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Wire types for the "describe an image" drill aggregate (DescriptionImageDrill
3
+ // and its analysis / attempts). The drill is the aggregate root; analysis,
4
+ // features, phrases, words and attempts are nested sub-shapes on the wire.
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageTag {
2
+ id: string;
3
+ name: string;
4
+ groupId: string | null;
5
+ createdAt: string;
6
+ }
7
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageTagCreateInput {
8
+ name: string;
9
+ groupId?: string | null;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // Wire types for the user-owned DescriptionImageTag.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageTagGroup {
2
+ id: string;
3
+ name: string;
4
+ parentGroupId: string | null;
5
+ createdAt: string;
6
+ }
7
+ export interface StudentsCommunicationStudentsPracticeDescriptionImageTagGroupCreateInput {
8
+ name: string;
9
+ parentGroupId?: string | null;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // Wire types for the user-owned, nestable DescriptionImageTagGroup.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./description/image/drill/types";
2
+ export * from "./description/image/tag/types";
3
+ export * from "./description/image/tag_group/types";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./description/image/drill/types"), exports);
18
+ __exportStar(require("./description/image/tag/types"), exports);
19
+ __exportStar(require("./description/image/tag_group/types"), exports);
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "./domains/politicians/community/residents/explore/types";
2
2
  export * from "./domains/politicians/community/residents/explore/constants";
3
3
  export * from "./domains/teachers/prep_center/students/simulate/types";
4
- export * from "./domains/students/writing/students/practice/types";
4
+ export * from "./domains/students/communication/students/practice";
5
5
  export * from "./domains/lawyers/real_estate/assistants/research";
package/dist/index.js CHANGED
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./domains/politicians/community/residents/explore/types"), exports);
18
18
  __exportStar(require("./domains/politicians/community/residents/explore/constants"), exports);
19
19
  __exportStar(require("./domains/teachers/prep_center/students/simulate/types"), exports);
20
- __exportStar(require("./domains/students/writing/students/practice/types"), exports);
20
+ __exportStar(require("./domains/students/communication/students/practice"), exports);
21
21
  __exportStar(require("./domains/lawyers/real_estate/assistants/research"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [