@ningboyz/types 1.8.105 → 1.8.106

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.8.105",
4
+ "version": "1.8.106",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
package/src/index.ts CHANGED
@@ -56,7 +56,7 @@ import * as TZbzd from "./zbzd";
56
56
  import * as TZfht from "./zfht";
57
57
  import * as TZfsq from "./zfsq";
58
58
  import * as TEnc from "./enc";
59
-
59
+ import * as TYymd from "./yymd";
60
60
  export {
61
61
  Const,
62
62
  Decorators,
@@ -114,6 +114,7 @@ export {
114
114
  TZfht,
115
115
  TZfsq,
116
116
  TEnc,
117
+ TYymd,
117
118
  type IAboutConfig,
118
119
  type IBaseConfig,
119
120
  type IBaseResponse,
@@ -0,0 +1,77 @@
1
+ export interface IYymdResponse {
2
+ /** 设备类型:01:PC 端,02:app 端 */
3
+ devType: string;
4
+ /** 页面名称 */
5
+ pageName: string;
6
+ /** 页面 URL */
7
+ pageUrl: string;
8
+ /** 客户端操作用户 ID,可用主键 */
9
+ userId: string;
10
+ /** 客户端操作用户名称 */
11
+ userName: string;
12
+ /** 访问时间,格式:yyyy-MM-dd HH:mm:ss */
13
+ accessTime: string;
14
+ /** 能力平台中应用的 appId */
15
+ appId: string;
16
+ /** 操作类型:1:普通操作,2:登录操作 */
17
+ operateType: string;
18
+ /** 手机号 */
19
+ phone: string;
20
+ /** 用户所属部门,如果没有可填“个人” */
21
+ department: string;
22
+ /** 站点类型,详见附录 5.1 站点类型表 */
23
+ siteType: string;
24
+ /** 标识是否为数字化改革门户,默认传 "1" */
25
+ isDigitalReform: string;
26
+ /** 上一步访问的页面名称 */
27
+ referPageTitle: string;
28
+ /** 上一步访问的页面 URL */
29
+ referPageUrl: string;
30
+ /** 用户终端浏览器信息 */
31
+ agent: string;
32
+ /** 浏览器类型 */
33
+ agentType: string;
34
+ /** 操作系统语言 */
35
+ language: string;
36
+ /** 操作系统 */
37
+ platform: string;
38
+ /** 手机或终端的屏幕分辨率 */
39
+ resolution: string;
40
+ /** 注册用户数(整数) */
41
+ registeredUsers: number;
42
+ /** 当日新增用户数(整数) */
43
+ todayNewUsers?: number;
44
+ /** 用户注册预期目标值(整数) */
45
+ registerTarget: number;
46
+ /** 预期访问量(整数) */
47
+ expectedVisits: number;
48
+ /** 云资源使用率 */
49
+ cloudResourceRate: string;
50
+ }
51
+
52
+ export class TYymdResponse implements IYymdResponse {
53
+ devType: string = "";
54
+ pageName: string = "";
55
+ pageUrl: string = "";
56
+ userId: string = "";
57
+ userName: string = "";
58
+ accessTime: string = "";
59
+ appId: string = "";
60
+ operateType: string = "";
61
+ phone: string = "";
62
+ department: string = "";
63
+ siteType: string = "";
64
+ isDigitalReform: string = "1";
65
+ referPageTitle: string = "";
66
+ referPageUrl: string = "";
67
+ agent: string = "";
68
+ agentType: string = "";
69
+ language: string = "";
70
+ platform: string = "";
71
+ resolution: string = "";
72
+ registeredUsers: number = 0;
73
+ todayNewUsers: number = 0;
74
+ registerTarget: number = 0;
75
+ expectedVisits: number = 0;
76
+ cloudResourceRate: string = "";
77
+ }
@@ -0,0 +1,3 @@
1
+ import { IYymdResponse, TYymdResponse } from "./IYymdResponse";
2
+
3
+ export { type IYymdResponse, TYymdResponse };