Skip to content

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

362 B
Raw Blame
import {createConfigNamespaceApi} from "../util/namespaceApi";

/** 文档 Tab 命名空间:设置面板注册项 save */
export const fileConfigApi = createConfigNamespaceApi<Config.IFileTree>({
    namespace: "fileTree",
    getConfig: () => window.siyuan.config.fileTree,
    setConfig: (data) => {
        window.siyuan.config.fileTree = data;
    },

});