mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-28 17:33:04 +00:00
10 lines
294 B
TypeScript
10 lines
294 B
TypeScript
import { IFunctionRouteHandler } from 'wherehows-web/typings/ember-cli-mirage';
|
|
|
|
const getDatasetRetention = function(this: IFunctionRouteHandler, { retentions }: { retentions: any }) {
|
|
return {
|
|
retentionPolicy: this.serialize(retentions.first())
|
|
};
|
|
};
|
|
|
|
export { getDatasetRetention };
|