import type { RouteLocationInterface } from "@devowl-wp/utils";
import { RouteHttpVerb } from "@devowl-wp/utils";

import type { ParamsRestAttachmentGet, RequestRestAttachmentGet } from "./attachment.get.js";

const locationRestAttachmentDelete: RouteLocationInterface = {
    path: "/attachments/:id",
    method: RouteHttpVerb.DELETE,
};

interface RequestRestAttachmentDelete extends RequestRestAttachmentGet {}

interface ParamsRestAttachmentDelete extends ParamsRestAttachmentGet {}

interface ResponseRestAttachmentDelete extends ParamsRestAttachmentGet {}

export {
    locationRestAttachmentDelete,
    type RequestRestAttachmentDelete,
    type ParamsRestAttachmentDelete,
    type ResponseRestAttachmentDelete,
};
