fix: test chunk by @tanstack/react-query #1306 (#1719)

### What problem does this PR solve?

fix: test chunk by @tanstack/react-query #1306

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-07-26 19:00:19 +08:00
committed by GitHub
parent 79c873344b
commit 549d67e281
11 changed files with 120 additions and 167 deletions

2
web/typings.d.ts vendored
View File

@ -1,6 +1,5 @@
import { ChunkModelState } from '@/pages/add-knowledge/components/knowledge-chunk/model';
import { KFModelState } from '@/pages/add-knowledge/components/knowledge-file/model';
import { TestingModelState } from '@/pages/add-knowledge/components/knowledge-testing/model';
import { ChatModelState } from '@/pages/chat/model';
declare module 'lodash';
@ -14,7 +13,6 @@ export interface RootState {
chatModel: ChatModelState;
kFModel: KFModelState;
chunkModel: ChunkModelState;
testingModel: TestingModelState;
}
declare global {