import type {
    RouteLocationInterface,
    RouteParamsInterface,
    RouteRequestInterface,
    RouteResponseInterface,
} from "@devowl-wp/utils";
import { RouteHttpVerb } from "@devowl-wp/utils";

const locationRestHandlerPost: RouteLocationInterface = {
    path: "/handler",
    method: RouteHttpVerb.POST,
};

interface RequestRestHandlerPost extends RouteRequestInterface {
    handler: string;
}

interface ParamsRestHandlerPost extends RouteParamsInterface {}

interface ResponseRestHandlerPost extends RouteResponseInterface {}

export {
    locationRestHandlerPost,
    type RequestRestHandlerPost,
    type ParamsRestHandlerPost,
    type ResponseRestHandlerPost,
};
