feat(kv-storage): 实现 KV 存储服务及管理界面

- 重构 KV 存储服务,遵循 SECTL-One-Stop SDK 规范
- 新增 KV 存储管理组件,支持增删改查操作
- 优化 setKV 接口,移除冗余参数
- 添加类型定义和列表查询选项
This commit is contained in:
Yukino_fox
2026-04-19 20:55:50 +08:00
parent 6ce87541b7
commit 1cbca5a5c1
6 changed files with 520 additions and 70 deletions
+8
View File
@@ -13,6 +13,8 @@ import {
import { useSectl } from "../contexts/SectlContext"
import { SectlLoginButton } from "./SectlLoginButton"
import { ScoreSyncPanel } from "./ScoreSyncPanel"
import { SectlCloudStorageManager } from "./SectlCloudStorageManager"
import { SectlKVStorageManager } from "./SectlKVStorageManager"
export const SectlSettingsPanel: React.FC = () => {
const { isAuthenticated, isLoading, userInfo, platformId, setPlatformId, refreshUserInfo } =
@@ -152,6 +154,12 @@ export const SectlSettingsPanel: React.FC = () => {
{/* 数据同步面板 */}
<ScoreSyncPanel />
{/* 云存储管理 */}
<SectlCloudStorageManager />
{/* KV 存储管理 */}
<SectlKVStorageManager />
</div>
)
}