mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			353 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			353 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { ApiStatus } from '@datahub/utils/api/shared';
 | |
| 
 | |
| const getSearchResults = function(_: any, request: any) {
 | |
|   return {
 | |
|     status: ApiStatus.OK,
 | |
|     result: {
 | |
|       keywords: request.queryParams.keyword,
 | |
|       data: [],
 | |
|       groupbydataorigin: {
 | |
|         prod: 1,
 | |
|         corp: 1,
 | |
|         ei: 1
 | |
|       }
 | |
|     }
 | |
|   };
 | |
| };
 | |
| 
 | |
| export { getSearchResults };
 | 
