mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-31 10:53:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			228 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			228 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 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())
 | 
