/**
 * UI 侧用户模型（基于 data/dto/user/user + user_storage 重新导出 view-model）
 *
 * 
 */
import { z } from "zod";

export const UserViewSchema = z.object({
  id: z.string(),
  username: z.string(),
  countryCode: z.string(),
  creditBalance: z.number(),
  dailyFreeChatLimit: z.number(),
  dailyFreeChatRemaining: z.number(),
  dailyFreePrivateLimit: z.number(),
  dailyFreePrivateRemaining: z.number(),
  isVip: z.boolean(),
});

export type UserView = z.infer<typeof UserViewSchema>;
