mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
feat(import): update demo data sources to 4 files
Switch from 2 demo files (group + private) to 4 files: - demo-group.json - demo-private-A-cuilan.json - demo-private-B-wukong.json - demo-private-C-spider.json Update DemoImportResult.privateSessionId to privateSessionIds array to support multiple private chat demos. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b3c2b20a9f
commit
fdb6d8f648
6 files changed
+65
-50
No files matched your search
@@ -501,7 +501,7 @@ export const chatApi = {
|
||||
): Promise<{
|
||||
success: boolean
|
||||
groupSessionId?: string
|
||||
privateSessionId?: string
|
||||
privateSessionIds?: string[]
|
||||
error?: string
|
||||
}> => {
|
||||
return ipcRenderer.invoke('demo:downloadAndImport', locale)
|
||||
|
||||
Vendored
+1
-1
@@ -198,7 +198,7 @@ interface ChatApi {
|
||||
importDemo: (locale: string) => Promise<{
|
||||
success: boolean
|
||||
groupSessionId?: string
|
||||
privateSessionId?: string
|
||||
privateSessionIds?: string[]
|
||||
error?: string
|
||||
}>
|
||||
|
||||
|
||||
Reference in new issue
Block a user