Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello_uni-id-pages
提交
741314df
H
hello_uni-id-pages
项目概览
DCloud
/
hello_uni-id-pages
通知
1058
Star
33
Fork
43
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
2
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello_uni-id-pages
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
741314df
编写于
11月 25, 2024
作者:
DCloud_JSON
提交者:
Anne_LXM
12月 20, 2024
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add schema.json index.json
上级
421ce6b5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
164 addition
and
82 deletion
+164
-82
uni_modules/uni-id-pages/uniCloud/database/opendb-device.index.json
...s/uni-id-pages/uniCloud/database/opendb-device.index.json
+14
-0
uni_modules/uni-id-pages/uniCloud/database/opendb-tempdata.schema.json
...ni-id-pages/uniCloud/database/opendb-tempdata.schema.json
+26
-0
uni_modules/uni-id-pages/uniCloud/database/uni-id-device.index.json
...s/uni-id-pages/uniCloud/database/uni-id-device.index.json
+38
-0
uni_modules/uni-id-pages/uniCloud/database/uni-id-device.schema.json
.../uni-id-pages/uniCloud/database/uni-id-device.schema.json
+86
-82
未找到文件。
uni_modules/uni-id-pages/uniCloud/database/opendb-device.index.json
0 → 100644
浏览文件 @
741314df
[
{
"IndexName"
:
"index_device_id"
,
"MgoKeySchema"
:
{
"MgoIndexKeys"
:
[
{
"Name"
:
"device_id"
,
"Direction"
:
"1"
}
],
"MgoIsUnique"
:
true
}
}
]
\ No newline at end of file
uni_modules/uni-id-pages/uniCloud/database/opendb-tempdata.schema.json
0 → 100644
浏览文件 @
741314df
{
"bsonType"
:
"object"
,
"required"
:
[
"value"
,
"expired"
],
"permission"
:
{
"read"
:
false
,
"create"
:
false
,
"update"
:
false
,
"delete"
:
false
},
"properties"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
},
"value"
:
{
"description"
:
"值"
},
"expired"
:
{
"description"
:
"过期时间"
,
"bsonType"
:
"timestamp"
}
},
"version"
:
"0.0.1"
}
\ No newline at end of file
uni_modules/uni-id-pages/uniCloud/database/uni-id-device.index.json
0 → 100644
浏览文件 @
741314df
[
{
"IndexName"
:
"device_id"
,
"MgoKeySchema"
:
{
"MgoIndexKeys"
:
[
{
"Name"
:
"device_id"
,
"Direction"
:
"1"
}
],
"MgoIsUnique"
:
false
}
},
{
"IndexName"
:
"oaid"
,
"MgoKeySchema"
:
{
"MgoIndexKeys"
:
[
{
"Name"
:
"oaid"
,
"Direction"
:
"1"
}
],
"MgoIsUnique"
:
false
}
},
{
"IndexName"
:
"imei"
,
"MgoKeySchema"
:
{
"MgoIndexKeys"
:
[
{
"Name"
:
"imei"
,
"Direction"
:
"1"
}
],
"MgoIsUnique"
:
false
}
}
]
\ No newline at end of file
uni_modules/uni-id-pages/uniCloud/database/uni-id-device.schema.json
浏览文件 @
741314df
{
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
],
"properties"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
},
"user_id"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户id,参考uni-id-users表"
},
"ua"
:
{
"bsonType"
:
"string"
,
"description"
:
"userAgent"
},
"uuid"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备唯一标识(需要加密存储)"
},
"os_name"
:
{
"bsonType"
:
"string"
,
"description"
:
"ios|android|windows|mac|linux "
},
"os_version"
:
{
"bsonType"
:
"string"
,
"description"
:
"操作系统版本号 "
},
"os_language"
:
{
"bsonType"
:
"string"
,
"description"
:
"操作系统语言 "
},
"os_theme"
:
{
"bsonType"
:
"string"
,
"description"
:
"操作系统主题 light|dark"
},
"vendor"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备厂商"
},
"push_clientid"
:
{
"bsonType"
:
"string"
,
"description"
:
"推送设备客户端标识"
},
"imei"
:
{
"bsonType"
:
"string"
,
"description"
:
"国际移动设备识别码IMEI(International Mobile Equipment Identity)"
},
"oaid"
:
{
"bsonType"
:
"string"
,
"description"
:
"移动智能设备标识公共服务平台提供的匿名设备标识符(OAID)"
},
"idfa"
:
{
"bsonType"
:
"string"
,
"description"
:
"iOS平台配置应用使用广告标识(IDFA)"
},
"model"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备型号"
},
"platform"
:
{
"bsonType"
:
"string"
,
"description"
:
"平台类型"
},
"create_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"创建时间"
,
"forceDefaultValue"
:
{
"$env"
:
"now"
}
},
"last_active_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"最后登录时间"
},
"last_active_ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"最后登录IP"
}
},
"version"
:
"0.0.1"
{
"bsonType"
:
"object"
,
"required"
:
[
"user_id"
],
"properties"
:
{
"_id"
:
{
"description"
:
"ID,系统自动生成"
},
"user_id"
:
{
"bsonType"
:
"string"
,
"description"
:
"用户id,参考uni-id-users表"
},
"ua"
:
{
"bsonType"
:
"string"
,
"description"
:
"userAgent"
},
"uuid"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备唯一标识(需要加密存储)"
},
"os_name"
:
{
"bsonType"
:
"string"
,
"description"
:
"ios|android|windows|mac|linux "
},
"os_version"
:
{
"bsonType"
:
"string"
,
"description"
:
"操作系统版本号 "
},
"os_language"
:
{
"bsonType"
:
"string"
,
"description"
:
"操作系统语言 "
},
"os_theme"
:
{
"bsonType"
:
"string"
,
"description"
:
"操作系统主题 light|dark"
},
"vendor"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备厂商"
},
"push_clientid"
:
{
"bsonType"
:
"string"
,
"description"
:
"推送设备客户端标识"
},
"device_id"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备id"
},
"imei"
:
{
"bsonType"
:
"string"
,
"description"
:
"国际移动设备识别码IMEI(International Mobile Equipment Identity)"
},
"oaid"
:
{
"bsonType"
:
"string"
,
"description"
:
"移动智能设备标识公共服务平台提供的匿名设备标识符(OAID)"
},
"idfa"
:
{
"bsonType"
:
"string"
,
"description"
:
"iOS平台配置应用使用广告标识(IDFA)"
},
"model"
:
{
"bsonType"
:
"string"
,
"description"
:
"设备型号"
},
"platform"
:
{
"bsonType"
:
"string"
,
"description"
:
"平台类型"
},
"create_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"创建时间"
,
"forceDefaultValue"
:
{
"$env"
:
"now"
}
},
"last_active_date"
:
{
"bsonType"
:
"timestamp"
,
"description"
:
"最后登录时间"
},
"last_active_ip"
:
{
"bsonType"
:
"string"
,
"description"
:
"最后登录IP"
}
},
"version"
:
"0.0.1"
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录