import { IZendeskContent } from "../../types";
import { IGenericLocation } from "../../../generic/types/location";

export const transformLocation = (message: IZendeskContent): IGenericLocation => ({
    type: 'location',
    props: {
        value: Object.values(message.coordinates),
    }
});