mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
commit
e46b648f4c
1
collection/opendb-app-channels/collection.json
Normal file
1
collection/opendb-app-channels/collection.json
Normal file
@ -0,0 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"platform":{"bsonType":"string","description":"应用平台,对应opendb-app-platforms.code","foreignKey":"opendb-app-platforms.code"},"channel_code":{"bsonType":"int","description":"客户端上报的渠道代码"},"channel_name":{"bsonType":"string","description":"渠道名称,用户可编辑"},"create_time":{"bsonType":"timestamp","description":"创建时间"},"last_modify_time":{"bsonType":"timestamp","description":"最后修改时间"}}},"index":[{"IndexName":"index_search_channel","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_code","Direction":"1"}],"MgoIsUnique":true}}]}
|
1
collection/opendb-app-channels/package.json
Normal file
1
collection/opendb-app-channels/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-app-channels","version":"0.0.1","description":"opendb-app-channels","keywords":["应用渠道表"],"opendb":{"title":"应用渠道表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-app-platforms/collection.json
Normal file
1
collection/opendb-app-platforms/collection.json
Normal file
@ -0,0 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"code":{"bsonType":"string","description":"平台代码,前端上报"},"name":{"bsonType":"string","description":"平台名称,管理端显示"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_platforms","MgoKeySchema":{"MgoIndexKeys":[{"Name":"code","Direction":"1"}],"MgoIsUnique":true}}]}
|
1
collection/opendb-app-platforms/data.json
Normal file
1
collection/opendb-app-platforms/data.json
Normal file
@ -0,0 +1 @@
|
||||
[{"_id":"61c046e691a75000014c255f","name":"原生应用-安卓","code":"android","create_time":163998979103},{"_id":"61c046e691a75000014c2560","name":"原生应用-iOS","code":"ios","create_time":163998979103},{"_id":"61c046e691a75000014c2561","name":"HTML5","code":"h5","report_code":"h5","create_time":163998979103},{"_id":"61c046e691a75000014c2562","name":"微信小程序","code":"wx","create_time":163998979103},{"_id":"61c046e691a75000014c2563","name":"百度小程序","code":"bd","create_time":163998979103},{"_id":"61c046e691a75000014c2564","name":"支付宝小程序","code":"ali","create_time":163998979103},{"_id":"61c046e691a75000014c2565","name":"头条小程序","code":"tt","create_time":163998979103},{"_id":"61c046e691a75000014c2566","name":"qq小程序","code":"qq","create_time":163998979103}]
|
1
collection/opendb-app-platforms/package.json
Normal file
1
collection/opendb-app-platforms/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-app-platforms","version":"0.0.1","description":"opendb-app-platforms","keywords":["应用平台表"],"opendb":{"title":"应用平台表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-app-versions/collection.json
Normal file
1
collection/opendb-stat-app-versions/collection.json
Normal file
@ -0,0 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"platform":{"bsonType":"string","description":"应用平台,对应opendb-app-platforms.code","foreignKey":"opendb-app-platforms.code"},"version":{"bsonType":"string","description":"应用版本"},"create_time":{"bsonType":"timestamp","description":"创建时间"},"last_modify_time":{"bsonType":"timestamp","description":"最后修改时间"}}},"index":[{"IndexName":"index_search_version","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"version","Direction":"1"}],"MgoIsUnique":true}}]}
|
1
collection/opendb-stat-app-versions/package.json
Normal file
1
collection/opendb-stat-app-versions/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-app-versions","version":"0.0.1","description":"opendb-stat-app-versions","keywords":["统计-应用版本表"],"opendb":{"title":"统计-应用版本表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-error-logs/collection.json
Normal file
1
collection/opendb-stat-error-logs/collection.json
Normal file
@ -0,0 +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/场景值"},"uuid":{"bsonType":"string","description":"用户端上报的用户标志"},"sdk_version":{"bsonType":"string","description":"小程序基础库版本号"},"platform_version":{"bsonType":"string","description":"微信、支付宝宿主App的版本号"},"error_msg":{"bsonType":"string","description":"错误信息"},"error_hash":{"bsonType":"string","description":"错误hash码"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"hash","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
1
collection/opendb-stat-error-logs/package.json
Normal file
1
collection/opendb-stat-error-logs/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-error-logs","version":"0.0.1","description":"opendb-stat-error-logs","keywords":["应用错误日志表"],"opendb":{"title":"应用错误日志表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-error-result/collection.json
Normal file
1
collection/opendb-stat-error-result/collection.json
Normal file
@ -0,0 +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,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"hash":{"bsonType":"string","description":"错误hash码"},"count":{"bsonType":"int","description":"报错次数"},"last_time":{"bsonType":"timestamp","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
collection/opendb-stat-error-result/package.json
Normal file
1
collection/opendb-stat-error-result/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-error-result","version":"0.0.1","description":"opendb-stat-error-result","keywords":["应用错误数据日统计表"],"opendb":{"title":"应用错误数据日统计表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-event-logs/collection.json
Normal file
1
collection/opendb-stat-event-logs/collection.json
Normal file
@ -0,0 +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/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-app-session-logs._id","foreignKey":"opendb-stat-app-session-logs._id"},"page_id":{"bsonType":"string","description":"页面ID,对应opendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"event_key":{"bsonType":"string","description":"客户端上报的key"},"param":{"bsonType":"string","description":"事件参数"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"event_key","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
1
collection/opendb-stat-event-logs/package.json
Normal file
1
collection/opendb-stat-event-logs/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-event-logs","version":"0.0.1","description":"opendb-stat-event-logs","keywords":["应用事件日志表"],"opendb":{"title":"应用事件日志表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-event-result/collection.json
Normal file
1
collection/opendb-stat-event-result/collection.json
Normal file
@ -0,0 +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,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"event_key":{"bsonType":"string","description":"事件key"},"event_count":{"bsonType":"int","description":"触发次数"},"user_count":{"bsonType":"int","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
collection/opendb-stat-event-result/package.json
Normal file
1
collection/opendb-stat-event-result/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-event-result","version":"0.0.1","description":"opendb-stat-event-result","keywords":["事件统计结果表"],"opendb":{"title":"事件统计结果表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-events/collection.json
Normal file
1
collection/opendb-stat-events/collection.json
Normal file
@ -0,0 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"event_key":{"bsonType":"string","description":"事件键值"},"event_name":{"bsonType":"string","description":"事件名称"},"create_time":{"bsonType":"timestamp","description":"创建时间"},"update_time":{"bsonType":"timestamp","description":"last_modify_time"}}},"index":[{"IndexName":"index_search_event","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"event_key","Direction":"1"}],"MgoIsUnique":true}}]}
|
1
collection/opendb-stat-events/package.json
Normal file
1
collection/opendb-stat-events/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-events","version":"0.0.1","description":"opendb-stat-events","keywords":["应用事件表"],"opendb":{"title":"应用事件表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-loyalty-result/collection.json
Normal file
1
collection/opendb-stat-loyalty-result/collection.json
Normal file
@ -0,0 +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,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"visit_depth_data":{"bsonType":"object","description":"访问深度数据"},"duration_data":{"bsonType":"object","description":"访问时长数据"},"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":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
1
collection/opendb-stat-loyalty-result/package.json
Normal file
1
collection/opendb-stat-loyalty-result/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-loyalty-result","version":"0.0.1","description":"opendb-stat-loyalty-result","keywords":["用户忠诚度统计表"],"opendb":{"title":"用户忠诚度统计表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-page-logs/collection.json
Normal file
1
collection/opendb-stat-page-logs/collection.json
Normal file
@ -0,0 +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/场景值"},"uuid":{"bsonType":"string","description":"用户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-app-session-logs._id","foreignKey":"opendb-stat-app-session-logs._id"},"current_page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"previous_page_id":{"bsonType":"string","description":"上级页面ID,为空表示第一个页面, 对应opendb-stat-app-pages._id"},"previous_page_duration":{"bsonType":"int","description":"上级页面停留时间,单位秒,前端上报"},"previous_page_is_entry":{"bsonType":"int","defaultValue":0,"description":" 上级页面是否为入口页, 0否 1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"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":"current_page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
1
collection/opendb-stat-page-logs/package.json
Normal file
1
collection/opendb-stat-page-logs/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-page-logs","version":"0.0.1","description":"opendb-stat-page-logs","keywords":["应用页面访问日志表"],"opendb":{"title":"应用页面访问日志表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-page-result/collection.json
Normal file
1
collection/opendb-stat-page-result/collection.json
Normal file
@ -0,0 +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,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"page_id":{"bsonType":"string","description":"页面表ID,对应页面表ID,对应pendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"visit_times":{"bsonType":"int","description":"访问次数"},"visit_users":{"bsonType":"int","description":"访问用户数"},"exit_times":{"bsonType":"int","description":"退出次数"},"duration":{"bsonType":"int","description":"访问总时长,单位秒"},"share_count":{"bsonType":"int","description":"分享次数"},"entry_users":{"bsonType":"int","description":"当前页作为入口页的人数"},"entry_count":{"bsonType":"int","description":"当前页作为入口页的总次数"},"entry_duration":{"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
collection/opendb-stat-page-result/package.json
Normal file
1
collection/opendb-stat-page-result/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-page-result","version":"0.0.1","description":"opendb-stat-page-result","keywords":["应用页面访问数据日统计表"],"opendb":{"title":"应用页面访问数据日统计表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-pages/collection.json
Normal file
1
collection/opendb-stat-pages/collection.json
Normal file
@ -0,0 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"统计应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"path":{"bsonType":"string","description":"页面路径,如`/pages/index/index`"},"title":{"bsonType":"string","description":"页面标题"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_page","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"path","Direction":"1"}],"MgoIsUnique":true}}]}
|
1
collection/opendb-stat-pages/package.json
Normal file
1
collection/opendb-stat-pages/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-pages","version":"0.0.1","description":"opendb-stat-pages","keywords":["统计-应用页面表"],"opendb":{"title":"统计-应用页面表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-result/collection.json
Normal file
1
collection/opendb-stat-result/collection.json
Normal file
@ -0,0 +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,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"total_users":{"bsonType":"int","description":"历史累计总用户数"},"new_user_count":{"bsonType":"int","description":"本时间段新增用户数"},"active_user_count":{"bsonType":"int","description":"本时间段活跃用户数"},"app_launch_count":{"bsonType":"int","description":"本时间段App启动或从后台切到前台的次数"},"error_count":{"bsonType":"int","description":"本时间段报错次数"},"duration":{"bsonType":"int","description":"时间段内,所有用户访问总时长,单位秒"},"avg_session_time":{"bsonType":"int","description":"次均停留时长,单位秒"},"avg_user_time":{"bsonType":"int","defaultValue":"人均停留时长,单位秒"},"visitor_avg_time":{"bsonType":"int","description":"人均停留时长"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"retention":{"bsonType":"object","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
collection/opendb-stat-result/package.json
Normal file
1
collection/opendb-stat-result/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-result","version":"0.0.1","description":"opendb-stat-result","keywords":["每日访问情况汇总表"],"opendb":{"title":"每日访问情况汇总表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-session-logs/collection.json
Normal file
1
collection/opendb-stat-session-logs/collection.json
Normal file
@ -0,0 +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/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_first_visit":{"bsonType":"int","description":"是否为首次访问","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"first_visit_time":{"bsonType":"timestamp","description":"用户首次访问时间"},"last_visit_time":{"bsonType":"timestamp","description":"用户最后一次访问时间"},"total_visit_count":{"bsonType":"int","description":"用户累计访问次数,客户端上报"},"entry_page_id":{"bsonType":"string","description":"本次会话入口页面ID, 同opendb-stat-app-pages._id"},"exit_page_id":{"bsonType":"string","description":"本次会话退出页面ID, 同opendb-stat-app-pages._id"},"page_count":{"bsonType":"int","description":"本次会话浏览的页面数"},"event_count":{"bsonType":"int","description":"本次会话产生的事件数"},"duration":{"bsonType":"int","description":"本次会话时长,单位为秒,服务端计算"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"platform_version":{"bsonType":"string","description":"平台版本,如微信、支付宝宿主App版本号"},"device_os":{"bsonType":"int","description":"设备系统编号"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_net":{"bsonType":"int","description":"设备网"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"device_language":{"bsonType":"string","description":"设备语言包"},"device_pixel_ratio":{"bsonType":"string","description":"设备像素比 "},"device_window_width":{"bsonType":"string","description":"设备窗口宽度 "},"device_window_height":{"bsonType":"string","description":"设备窗口高度"},"device_screen_width":{"bsonType":"string","description":"设备屏幕宽度"},"device_screen_height":{"bsonType":"string","description":"设备屏幕高度"},"location_ip":{"bsonType":"string","description":"ip"},"location_latitude":{"bsonType":"double","description":"纬度"},"location_longitude":{"bsonType":"double","description":"经度"},"location_country":{"bsonType":"string","description":"国家"},"location_province":{"bsonType":"string","description":"省份"},"location_city":{"bsonType":"string","description":"城市"},"is_finish":{"bsonType":"int","defaultValue":0,"description":"本次会话是否结束,0:否,1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"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":"uuid","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_first_visit","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
1
collection/opendb-stat-session-logs/package.json
Normal file
1
collection/opendb-stat-session-logs/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-session-logs","version":"0.0.1","description":"opendb-stat-session-logs","keywords":["应用访问日志表"],"opendb":{"title":"应用访问日志表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
1
collection/opendb-stat-share-logs/collection.json
Normal file
1
collection/opendb-stat-share-logs/collection.json
Normal file
@ -0,0 +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/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"session_id":{"bsonType":"string","description":"访问会话日志ID,对应opendb-stat-app-session-logs._id","foreignKey":"opendb-stat-app-session-logs._id"},"page_id":{"bsonType":"string","description":"当前页面ID,对应opendb-stat-app-pages._id","foreignKey":"opendb-stat-app-pages._id"},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"page_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
1
collection/opendb-stat-share-logs/package.json
Normal file
1
collection/opendb-stat-share-logs/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"name":"@opendb/opendb-stat-share-logs","version":"0.0.1","description":"opendb-stat-share-logs","keywords":["应用分享日志表"],"opendb":{"title":"应用分享日志表","type":"collection","contributors":[{"name":"","email":"","homepage":"https://gitee.com/dcloud/opendb"}]}}
|
17
database/opendb-stat/db_init.json
Normal file
17
database/opendb-stat/db_init.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"opendb-app-platforms": {},
|
||||
"opendb-app-channels": {},
|
||||
"opendb-stat-app-versions": {},
|
||||
"opendb-stat-events": {},
|
||||
"opendb-stat-pages": {},
|
||||
"opendb-stat-session-logs": {},
|
||||
"opendb-stat-event-logs": {},
|
||||
"opendb-stat-page-logs": {},
|
||||
"opendb-stat-share-logs": {},
|
||||
"opendb-stat-error-logs": {},
|
||||
"opendb-stat-result": {},
|
||||
"opendb-stat-page-result": {},
|
||||
"opendb-stat-event-result": {},
|
||||
"opendb-stat-error-result": {},
|
||||
"opendb-stat-loyalty-result": {}
|
||||
}
|
10
database/opendb-stat/package.json
Normal file
10
database/opendb-stat/package.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "@opendb/opendb-stat",
|
||||
"version": "0.0.1",
|
||||
"description": "opendb-stat",
|
||||
"keywords": ["opendb-stat", "stat", "statistics"],
|
||||
"opendb": {
|
||||
"type": "database",
|
||||
"title": "opendb-stat"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user