MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / importDemo

Method importDemo

src/services/import/types.ts:141–141  ·  view source on GitHub ↗

导入 Demo 数据

(locale: string, onProgress?: (p: DemoProgress) => void)

Source from the content-addressed store, hash-verified

139
140 /** 导入 Demo 数据 */
141 importDemo(locale: string, onProgress?: (p: DemoProgress) => void): Promise<DemoImportResult>
142
143 /** 分析增量导入(预览去重后可新增多少消息) */
144 analyzeIncrementalImport(sessionId: string, file: File | string): Promise<IncrementalAnalysis>

Callers 1

importDemoMethod · 0.65

Implementers 2

ElectronImportAdaptersrc/services/import/electron.ts
FetchImportAdaptersrc/services/import/fetch.ts

Calls

no outgoing calls

Tested by

no test coverage detected