@hddjs/hdd-cloud-types 1.0.19 → 1.0.21

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.
@@ -98,6 +98,10 @@ export interface FieldConfig {
98
98
  * value 字段值
99
99
  */
100
100
  value?: unknown;
101
+ /**
102
+ * 选中value 后展示的值
103
+ */
104
+ displayValue?: string;
101
105
  /**
102
106
  * rules 字段验证规则
103
107
  * 由于rules由后端下发 所以不能使用函数表达式 只能使用字符串
@@ -5,6 +5,10 @@ import { type IGetRecommendSchool } from './IGetRecommendSchool';
5
5
  * 报告列表
6
6
  */
7
7
  export interface IReportList {
8
+ /**
9
+ * 报告id
10
+ */
11
+ reportId?: string;
8
12
  /**
9
13
  * 报告类型
10
14
  */
@@ -5,10 +5,18 @@ import { type SessionRoleEnum } from './ISessionRole';
5
5
  * 会话内容
6
6
  */
7
7
  export interface ISessionContent {
8
+ /**
9
+ * 内容id
10
+ */
11
+ contentId?: string;
8
12
  /**
9
13
  * 步骤id
10
14
  */
11
15
  stepId?: string;
16
+ /**
17
+ * 临时内容id sse用于串联chunk
18
+ */
19
+ tempContentId?: string;
12
20
  /**
13
21
  * 角色
14
22
  */
@@ -90,9 +98,18 @@ export interface IUserMessage {
90
98
  */
91
99
  content?: string;
92
100
  /**
93
- * 格式化信息,json字符串,前端要json parse一下
101
+ * 格式化信息
94
102
  */
95
- formatInfo?: string;
103
+ formatInfo?: {
104
+ /**
105
+ * 类型
106
+ */
107
+ formType?: string;
108
+ /**
109
+ * json字符串
110
+ */
111
+ data?: string;
112
+ };
96
113
  /**
97
114
  * 原内容类型,语音、文字、图片
98
115
  */
@@ -12,8 +12,8 @@ import {
12
12
  type IReportResult,
13
13
  type ReportTypeEnum,
14
14
  type SubReportTypeEnum,
15
- type IFormatGaokaoBasicInfo,
16
- type IConfigInfo
15
+ type IConfigInfo,
16
+ type INeedCollectStructuredInfo
17
17
  } from '../common';
18
18
  import { type ICounselorType } from '../common/ICounselorType';
19
19
  import { type IGaokaoVolunteerRecommendationReport } from '../common/IReportData';
@@ -266,7 +266,20 @@ export interface IAgentReq extends ICommonReq {
266
266
  /**
267
267
  * 格式化的表单数据 包括高考数据和报告数据
268
268
  */
269
- formattedFormData?: IFormatGaokaoBasicInfo;
269
+ formattedFormData?: unknown;
270
+ /**
271
+ * 相关关联的内容信息
272
+ */
273
+ relatedContentInfo?: {
274
+ /**
275
+ * 相关内容id
276
+ */
277
+ relatedContentId?: string;
278
+ /**
279
+ * 工具的消息
280
+ */
281
+ needCollectStructuredInfo?: INeedCollectStructuredInfo;
282
+ };
270
283
  }
271
284
 
272
285
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hddjs/hdd-cloud-types",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "main": "index.d.ts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"