An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:white_check_mark: Update database rendering test dependencies
Daniel5bf914716d93
diff --git a/app/src/protyle/render/av/listView.test.ts b/app/src/protyle/render/av/listView.test.tsindex 17e2afc669..b9669cea9b 100644--- a/app/src/protyle/render/av/listView.test.ts+++ b/app/src/protyle/render/av/listView.test.ts@@ -5,12 +5,14 @@ import {join} from "node:path";import {runInNewContext} from "node:vm";import * as ts from "typescript";import * as viewType from "./viewType";+import * as conditionalColor from "./conditionalColor";import {resolveAVSelectedCell} from "./selectionState";// 使用实际行渲染与字段定位函数,检查列表沿用行列交互时的字段映射。const loadModule = (name: string) => {const mocks: Record<string, unknown> = {"./viewType": viewType,+ "./conditionalColor": conditionalColor,"./cell": {renderCell: (value: IAVCellValue) => value?.text?.content || value?.block?.content || ""},"./blockAttr": {isCustomAttr: () => false},"../../util/hasClosest": {hasClosestByClassName: (element: HTMLElement, className: string) =>diff --git a/app/src/protyle/wysiwyg/transactionAV.test.ts b/app/src/protyle/wysiwyg/transactionAV.test.tsindex 679b4eafe3..29a8b7568c 100644--- a/app/src/protyle/wysiwyg/transactionAV.test.ts+++ b/app/src/protyle/wysiwyg/transactionAV.test.ts@@ -40,6 +40,7 @@ const fixture = () => {countBlockWord: (): void => undefined,handleViewFoldSourceOperation: () => false,queueHeadingNumberRefresh: (): void => undefined,+ refreshHeadingFoldIndicators: (): void => undefined,applyViewFoldStates: (): void => undefined,fetchPost: (_url: string, data: {transactions: unknown[]}, callback: (response: unknown) => void) =>new Promise<void>(resolve => {