@vzeta/camunda-api-zod-schemas
Version:
Zod schemas and TypeScript types for Camunda 8 unified API
16 lines (15 loc) • 448 B
TypeScript
import { z } from 'zod';
declare const groupSchema: z.ZodObject<{
groupId: z.ZodString;
name: z.ZodString;
description: z.ZodString;
}, z.core.$strip>;
type Group = z.infer<typeof groupSchema>;
declare const roleSchema: z.ZodObject<{
roleId: z.ZodString;
name: z.ZodString;
description: z.ZodString;
}, z.core.$strip>;
type Role = z.infer<typeof roleSchema>;
export { groupSchema, roleSchema };
export type { Group, Role };