mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
fix: update uni-stat tables
This commit is contained in:
parent
c24f2dc8ec
commit
9d724a1f5b
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"用户端上报的应用ID"},"version":{"bsonType":"string","description":"用户端上报的应用版本号"},"platform":{"bsonType":"string","description":"用户端上报的平台code"},"channel":{"bsonType":"string","description":"用户端上报的渠道code/场景值"},"device_id":{"bsonType":"string","description":"客户端携带的设备标识"},"device_net":{"bsonType":"string","description":"设备网络型号wifi/3G/4G/"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"error_msg":{"bsonType":"string","description":"错误信息"},"use_memery_size":{"bsonType":"int","description":"使用的内存量,单位为Byte"},"app_count":{"bsonType":"int","description":"运行应用的个数"},"webview_count":{"bsonType":"int","description":"打开Webview窗口的个数"},"page_url":{"bsonType":"string","description":"页面url"},"package_name":{"bsonType":"string","description":"原生应用包名"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}}}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"用户端上报的应用ID"},"version":{"bsonType":"string","description":"用户端上报的应用版本号"},"platform":{"bsonType":"string","description":"用户端上报的平台code"},"channel":{"bsonType":"string","description":"用户端上报的渠道code/场景值"},"device_id":{"bsonType":"string","description":"客户端携带的设备标识"},"device_net":{"bsonType":"string","description":"设备网络型号wifi/3G/4G/"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"error_msg":{"bsonType":"string","description":"错误信息"},"use_memery_size":{"bsonType":"int","description":"使用的内存量,单位为Byte"},"app_count":{"bsonType":"int","description":"运行应用的个数"},"webview_count":{"bsonType":"int","description":"打开Webview窗口的个数"},"page_url":{"bsonType":"string","description":"页面url"},"package_name":{"bsonType":"string","description":"原生应用包名"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
@ -1 +1 @@
|
||||
[{"name":"App-Android","code":"android","order":1,"create_time":163998979103},{"name":"App-iOS","code":"ios","order":2,"create_time":163998979103},{"name":"Web","code":"h5","order":3,"create_time":163998979103},{"name":"微信小程序","code":"wx","order":4,"create_time":163998979103},{"name":"百度小程序","code":"bd","order":5,"create_time":163998979103},{"name":"支付宝小程序","code":"ali","order":6,"create_time":163998979103},{"name":"头条小程序","code":"tt","order":7,"create_time":163998979103},{"name":"qq小程序","code":"qq","order":8,"create_time":163998979103},{"name":"快应用-原生渲染","code":"qn","order":9,"create_time":163998979103},{"name":"快应用-webview","code":"qw","order":10,"create_time":163998979103},{"name":"钉钉小程序","code":"dt","order":11,"create_time":163998979103},{"name":"快手小程序","code":"ks","order":12,"create_time":163998979103},{"name":"飞书小程序","code":"lark","order":13,"create_time":163998979103},{"name":"京东小程序","code":"jd","order":14,"create_time":163998979103}]
|
||||
[{"name":"App-Android","code":"android","order":1,"create_time":163998979103},{"name":"App-iOS","code":"ios","order":2,"create_time":163998979103},{"name":"Web","code":"h5","order":3,"create_time":163998979103},{"name":"微信小程序","code":"mp-weixin","order":4,"create_time":163998979103},{"name":"百度小程序","code":"mp-baidu","order":5,"create_time":163998979103},{"name":"支付宝小程序","code":"mp-alipay","order":6,"create_time":163998979103},{"name":"字节跳动小程序","code":"mp-toutiao","order":7,"create_time":163998979103},{"name":"qq小程序","code":"mp-qq","order":8,"create_time":163998979103},{"name":"快应用联盟","code":"quickapp-webview-union","order":9,"create_time":163998979103},{"name":"快应用(webview)","code":"quickapp-webview","order":10,"create_time":163998979103},{"name":"快应用华为","code":"quickapp-webview-huawei","order":11,"create_time":163998979103},{"name":"钉钉小程序","code":"mp-dingtalk","order":12,"create_time":163998979103},{"name":"快手小程序","code":"mp-kuaishou","order":13,"create_time":163998979103},{"name":"飞书小程序","code":"mp-lark","order":14,"create_time":163998979103},{"name":"京东小程序","code":"mp-jd","order":15,"create_time":163998979103}]
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"page_id":{"bsonType":"string","description":"页面表ID,对应页面表ID,对应uni-stat-pagesd","foreignKey":"uni-stat-pagesd"},"visit_times":{"bsonType":"int","description":"访问次数"},"visit_devices":{"bsonType":"int","description":"访问设备数"},"exit_times":{"bsonType":"int","description":"退出次数"},"duration":{"bsonType":"int","description":"访问总时长,单位秒"},"share_count":{"bsonType":"int","description":"分享次数"},"entry_devices":{"bsonType":"int","description":"当前页作为入口页的设备数"},"entry_users":{"bsonType":"int","description":"当前页作为入口页的用户数"},"entry_count":{"bsonType":"int","description":"当前页作为入口页的总次数"},"entry_duration":{"bsonType":"int","description":"当前页作为入口时,本页面的总访问时长,单位秒"},"bounce_times":{"bsonType":"int","description":"跳出次数"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"page_id":{"bsonType":"string","description":"页面表ID,对应页面表ID,对应uni-stat-pages._id","foreignKey":"uni-stat-pages._id"},"visit_times":{"bsonType":"int","description":"访问次数"},"visit_devices":{"bsonType":"int","description":"访问设备数"},"exit_times":{"bsonType":"int","description":"退出次数"},"duration":{"bsonType":"int","description":"访问总时长,单位秒"},"share_count":{"bsonType":"int","description":"分享次数"},"entry_devices":{"bsonType":"int","description":"当前页作为入口页的设备数"},"entry_users":{"bsonType":"int","description":"当前页作为入口页的用户数"},"entry_count":{"bsonType":"int","description":"当前页作为入口页的总次数"},"entry_duration":{"bsonType":"int","description":"当前页作为入口时,本页面的总访问时长,单位秒"},"bounce_times":{"bsonType":"int","description":"跳出次数"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
@ -1 +0,0 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uid":{"bsonType":"string","description":"用户编号, 对应uni-id-users._id"},"is_new":{"bsonType":"int","defaultValue":0,"description":" 是否为新用户, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_uid","MgoKeySchema":{"MgoIndexKeys":[{"Name":"uid","Direction":"1"}],"MgoIsUnique":true}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"uid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_replenish","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_new","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
@ -1 +0,0 @@
|
||||
{"name":"@opendb/uni-stat-users","version":"0.0.1","description":"uni-stat-users","keywords":["uni统计用户表"],"opendb":{"title":"uni统计用户表","type":"collection","contributors":[{"name":"DCloud","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
@ -19,6 +19,5 @@
|
||||
"uni-stat-run-errors": {},
|
||||
"uni-stat-session-logs": {},
|
||||
"uni-stat-share-logs": {},
|
||||
"uni-stat-user-session-logs": {},
|
||||
"uni-stat-users": {}
|
||||
"uni-stat-user-session-logs": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user