export type User = { id: string email: string allowedFreeTrial?: boolean features?: Record } export type MongoUser = Pick> & { _id: string }