import { Ability } from "@prisma/client"; export type Unpacked = T extends (infer U)[] ? U : T; export type PartialBy = Omit & Partial>; export type Serialized = { [P in keyof T]: T[P] extends Date ? string : Serialized; }; export type AbilityOrUnknown = Ability | "UNKNOWN";