mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 17:39:59 +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 };
|