Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 数据统计

Liang Dingb3c9eba73a48
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts
index 154d9bb617..4e96fd740b 100644
--- a/app/src/types/index.d.ts
+++ b/app/src/types/index.d.ts
@@ -426,6 +426,8 @@ declare interface IConfig {
cBlockCount: number
dataSize: number
cDataSize: number
+ assetsSize: number
+ cAssetsSize: number
}
}
diff --git a/app/src/util/assets.ts b/app/src/util/assets.ts
index b8163aae2e..bff9042f20 100644
--- a/app/src/util/assets.ts
+++ b/app/src/util/assets.ts
@@ -145,6 +145,7 @@ export const addGA = () => {
cTreeCount: window.siyuan.config.stat.cTreeCount,
cBlockCount: window.siyuan.config.stat.cBlockCount,
cDataSize: window.siyuan.config.stat.cDataSize,
+ cAssetsSize: window.siyuan.config.stat.cAssetsSize,
};
if (window.siyuan.user) {
para.isLoggedIn = true;