import { z } from "zod"; /** * Test-only add-member body (TASK-0095 S9 — `INTERNAL_TEST_SEAM`). * * The role enum is the PUBLIC workspace-role set minus OWNER (the seam * mirrors the invite flow, which never grants OWNER — ownership is created * only by the workspace creator / transfer). */ export const InternalAddMemberDto = z.object({ email: z.string().email(), role: z.enum(["ADMIN", "MEMBER", "GUEST"]).default("MEMBER") }); export type InternalAddMemberInput = z.infer;