// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL // This file is automatically generated. DO NOT EDIT /** * ConfigService 为前端提供配置读写能力。 * 通过 Wails 绑定,前端可直接调用其导出方法。 * @module */ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore: Unused imports import { Call as $Call, CancellablePromise as $CancellablePromise } from "@wailsio/runtime"; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore: Unused imports import * as $models from "./models.js"; /** * Load 读取当前配置。配置文件缺失时返回错误,前端引导用户先运行主程序。 */ export function Load(): $CancellablePromise<$models.AppConfig | null> { return $Call.ByID(1374598707); } /** * Meta 返回静态元数据(触发器/动作类型清单)。 */ export function Meta(): $CancellablePromise<$models.Meta | null> { return $Call.ByID(3472161870); } /** * Save 校验并原子保存配置。返回校验警告(不阻塞保存)与错误。 */ export function Save(cfg: $models.Config | null): $CancellablePromise { return $Call.ByID(2730444782, cfg); }