deviceInfo 保存到数据库

This commit is contained in:
BTMuli
2023-12-14 21:44:23 +08:00
parent 3844e36fdb
commit 3337cfbf6d
3 changed files with 29 additions and 3 deletions

View File

@@ -1,18 +1,19 @@
/**
* @file types Sqlite AppData.d.ts
* @file types/Sqlite/AppData.d.ts
* @description Sqlite AppData 类型定义文件
* @since Beta v0.3.3
* @since Beta v0.3.8
*/
declare namespace TGApp.Sqlite.AppData {
/**
* @description AppData 数据库 - key 枚举
* @since Beta v0.3.3
* @since Beta v0.3.8
* @enum {string}
* @property {string} APP_VERSION - App 版本
* @property {string} DATA_UPDATED - 数据库更新时间
* @property {string} COOKIE - Cookie
* @property {string} USER_INFO - 用户信息
* @property {string} DEVICE_INFO - 设备信息
* @return {string}
*/
enum DBKey {
@@ -20,6 +21,7 @@ declare namespace TGApp.Sqlite.AppData {
DATA_UPDATED = "dataUpdated",
COOKIE = "cookie",
USER_INFO = "userInfo",
DEVICE_INFO = "deviceInfo",
}
/**