mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
Initial commit
This commit is contained in:
11
web/models/history.ts
Normal file
11
web/models/history.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export type History = {
|
||||
id: string
|
||||
source: string
|
||||
target: string
|
||||
}
|
||||
export type HistoryResponse = {
|
||||
histories: History[]
|
||||
}
|
||||
|
||||
export const fetchHistories = (url: string) =>
|
||||
fetch(url).then<HistoryResponse>(r => r.json())
|
||||
Reference in New Issue
Block a user