1import { z } from "zod"; 2 3/** 4 * Test-only add-member body (TASK-0095 S9 — `INTERNAL_TEST_SEAM`). 5 * 6 * The role enum is the PUBLIC workspace-role set minus OWNER (the seam 7 * mirrors the invite flow, which never grants OWNER — ownership is created 8 * only by the workspace creator / transfer). 9 */ 10export const InternalAddMemberDto = z.object({ 11 email: z.string().email(), 12 role: z.enum(["ADMIN", "MEMBER", "GUEST"]).default("MEMBER") 13}); 14 15export type InternalAddMemberInput = z.infer<typeof InternalAddMemberDto>; 16