import type { IRouteLocationInterface, IRouteParamsInterface, IRouteRequestInterface } from "@devowl-wp/api";
import { ERouteHttpVerb } from "@devowl-wp/api";

import type { IContentBlockerTemplate } from "../../../entity/template/content-blocker/content-blocker.js";

const routeLocationContentBlockerPut: IRouteLocationInterface = {
    path: "/template/content-blocker",
    method: ERouteHttpVerb.PUT,
};

interface IRouteRequestContentBlockerPut extends IRouteRequestInterface {
    contentBlockerTemplate: IContentBlockerTemplate;
}

interface IRouteParamsContentBlockerPut extends IRouteParamsInterface {}

type IRouteResponseContentBlockerPut = IContentBlockerTemplate;

export {
    routeLocationContentBlockerPut,
    type IRouteRequestContentBlockerPut,
    type IRouteParamsContentBlockerPut,
    type IRouteResponseContentBlockerPut,
};
