Skip to content
0

katanakit-js / WpBatchOperationSchema

Variable: WpBatchOperationSchema ​

ts
const WpBatchOperationSchema: ZodObject<{
  body: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
  method: ZodEnum<{
     DELETE: "DELETE";
     GET: "GET";
     PATCH: "PATCH";
     POST: "POST";
     PUT: "PUT";
  }>;
  path: ZodString;
}, $strip>;

Defined in: src/schemas/wordpress.schema.ts:544

A batch operation for the WordPress REST API.

Released under the MIT License.