mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-29 09:52:40 +00:00
10 lines
282 B
TypeScript
10 lines
282 B
TypeScript
import { IFunctionRouteHandler } from 'wherehows-web/typings/ember-cli-mirage';
|
|
|
|
const getDatasetPlatforms = function(this: IFunctionRouteHandler, { platforms }: { platforms: any }) {
|
|
return {
|
|
platform: this.serialize(platforms.all())
|
|
};
|
|
};
|
|
|
|
export { getDatasetPlatforms };
|