@tmlmobilidade/types
Version:
13 lines (12 loc) • 506 B
TypeScript
import { z } from 'zod';
export declare const OrganizationsPermissionSchema: z.ZodObject<{
action: z.ZodEnum<["create", "delete", "read", "lock", "update"]>;
scope: z.ZodLiteral<"organizations">;
}, "strip", z.ZodTypeAny, {
scope: "organizations";
action: "create" | "delete" | "read" | "lock" | "update";
}, {
scope: "organizations";
action: "create" | "delete" | "read" | "lock" | "update";
}>;
export type OrganizationsPermission = z.infer<typeof OrganizationsPermissionSchema>;