UNPKG

@tmlmobilidade/types

Version:
13 lines (12 loc) 476 B
import { z } from 'zod'; export declare const AgenciesPermissionSchema: z.ZodObject<{ action: z.ZodEnum<["create", "delete", "read", "lock", "update"]>; scope: z.ZodLiteral<"agencies">; }, "strip", z.ZodTypeAny, { scope: "agencies"; action: "create" | "delete" | "read" | "lock" | "update"; }, { scope: "agencies"; action: "create" | "delete" | "read" | "lock" | "update"; }>; export type AgenciesPermission = z.infer<typeof AgenciesPermissionSchema>;