Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16586

Vanessa949ccbd5ad3e
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts
index b804ea5cdb..da3717df5f 100644
--- a/app/src/types/index.d.ts
+++ b/app/src/types/index.d.ts
@@ -936,11 +936,11 @@ interface IAVFilter {
operator: TAVFilterOperator,
quantifier?: string,
value: IAVCellValue,
- relativeDate?: relativeDate
- relativeDate2?: relativeDate
+ relativeDate?: IAVRelativeDate
+ relativeDate2?: IAVRelativeDate
}
-interface relativeDate {
+interface IAVRelativeDate {
count: number; // 数量
unit: number; // 单位:0: 天、1: 周、2: 月、3: 年
direction: number; // 方向:-1: 前、0: 现在、1: 后