You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
480 B
TypeScript
17 lines
480 B
TypeScript
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
|
/* DO NOT MODIFY it because it could be re-written at any time. */
|
|
import config from "@payload-config";
|
|
import {
|
|
REST_DELETE,
|
|
REST_GET,
|
|
REST_OPTIONS,
|
|
REST_PATCH,
|
|
REST_POST,
|
|
} from "@payloadcms/next/routes";
|
|
|
|
export const GET = REST_GET(config);
|
|
export const POST = REST_POST(config);
|
|
export const DELETE = REST_DELETE(config);
|
|
export const PATCH = REST_PATCH(config);
|
|
export const OPTIONS = REST_OPTIONS(config);
|