import { DeploymentStatus, ServerDeploymentStatus } from '@/models/DeploymentStatus' import { MapFunction } from '@/services/Mapper' export const mapServerDeploymentStatusToDeploymentStatus: MapFunction = function(source) { return source.toLowerCase() as DeploymentStatus } export const mapDeploymentStatusToServerDeploymentStatus: MapFunction = function(source) { return source.toUpperCase() as ServerDeploymentStatus }