@hddjs/hdd-cloud-types 1.0.24 → 1.0.27

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.
@@ -30,4 +30,8 @@ export interface IInquirySession {
30
30
  * 创建时间
31
31
  */
32
32
  create_time?: number;
33
+ /**
34
+ * 邀请码
35
+ */
36
+ invitationCode?: string;
33
37
  }
@@ -2,6 +2,10 @@
2
2
  * 报告基础信息
3
3
  */
4
4
  export interface IReportBasicInfo {
5
+ /**
6
+ * 昵称
7
+ */
8
+ nickname?: string;
5
9
  /**
6
10
  * 分数
7
11
  */
@@ -18,4 +22,8 @@ export interface IReportBasicInfo {
18
22
  * 比例
19
23
  */
20
24
  rate?: number;
25
+ /**
26
+ * 选课情况
27
+ */
28
+ selectSubject?: string;
21
29
  }
@@ -191,6 +191,10 @@ export interface IUChartsSeries {
191
191
  * 图表类型(用于混合图)
192
192
  */
193
193
  type?: UChartsType;
194
+ /**
195
+ * 线条样式(仅折线图有效)
196
+ */
197
+ style?: string;
194
198
  /**
195
199
  * 是否在右侧Y轴显示
196
200
  */
@@ -3,5 +3,7 @@
3
3
  */
4
4
  export const enum ReportTypeEnum {
5
5
  /** 高考志愿填报报告 */
6
- GAOKAO = 'gaokao'
6
+ GAOKAO = 'gaokao',
7
+ /** 职业报告 */
8
+ ZHIYE = 'zhiye'
7
9
  }
@@ -14,5 +14,11 @@ export const enum SubReportTypeEnum {
14
14
  /** 高考志愿专业院校解读 */
15
15
  GAOKAO_KEY_UNIVERSITY = 'gaokao-key-university',
16
16
  /** 高考志愿未来发展:未来发展建议 */
17
- GAOKAO_FUTURE_DEVELOPMENT = 'gaokao-future-development'
17
+ GAOKAO_FUTURE_DEVELOPMENT = 'gaokao-future-development',
18
+ /** 职业测评概览模块 */
19
+ CAREER_OVERVIEW = 'career-overview',
20
+ /** 职业匹配排名模块 */
21
+ CAREER_RANKING = 'career-ranking',
22
+ /** 职业发展前景模块 */
23
+ CAREER_DEVELOPMENT = 'career-development'
18
24
  }
@@ -421,6 +421,28 @@ export interface IGetInquirySessionListRes extends ICommonRes {
421
421
  };
422
422
  }
423
423
 
424
+ /**
425
+ * 校验会话有效性 req
426
+ */
427
+ export interface IGetInquirySessionReq extends ICommonReq {
428
+ /**
429
+ * 会话 id
430
+ */
431
+ sessionId: string;
432
+ }
433
+
434
+ /**
435
+ * 校验会话有效性 res
436
+ */
437
+ export interface IGetInquirySessionRes extends ICommonRes {
438
+ data?: {
439
+ /**
440
+ * 会话信息
441
+ */
442
+ sessionInfo?: IInquirySession;
443
+ };
444
+ }
445
+
424
446
  /**
425
447
  * 添加会话内容req
426
448
  */
@@ -549,6 +571,23 @@ export interface IGetReportInfoRes extends ICommonRes {
549
571
  data?: IReportList[];
550
572
  }
551
573
 
574
+ /**
575
+ * 查询报告详情 req
576
+ */
577
+ export interface IGetReportDetailReq extends ICommonReq {
578
+ /**
579
+ * 父报告 id
580
+ */
581
+ reportId: string;
582
+ }
583
+
584
+ /**
585
+ * 查询报告详情 res
586
+ */
587
+ export interface IGetReportDetailRes extends ICommonRes {
588
+ data?: IReportResult;
589
+ }
590
+
552
591
  /**
553
592
  * 添加邀请码 req
554
593
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hddjs/hdd-cloud-types",
3
- "version": "1.0.24",
3
+ "version": "1.0.27",
4
4
  "main": "index.d.ts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"