ui/src/pages/namespace/Explorer/Endpoint/EndpointEditor/schema/plugins/inbound/jsInbound.ts
import { inboundPluginTypes } from ".";
import { z } from "zod";
export const JsInboundFormSchema = z.object({
type: z.literal(inboundPluginTypes.jsInbound.name),
configuration: z.object({
script: z.string(),
}),
});
export type JsInboundFormSchemaType = z.infer<typeof JsInboundFormSchema>;