import { IGenericAttachments } from "../../../generic/types";
import { IZendeskContent } from "../../types";

export const transformFileUpload = (message: IZendeskContent): IGenericAttachments => {
    const result: IGenericAttachments = {
        type: "attachments",
        props: {
            value: {
                staticValue: [{
                    text: message.mediaUrl
                }]
            }
        }
    };

    return result;
};
