/**
 * 应用事件上报请求
 * 
 */
import { z } from "zod";

import { stringOrEmpty } from "../nullable-defaults";

export const AppEventSchema = z.object({
  userId: stringOrEmpty,
  browser: stringOrEmpty,
  userAgent: stringOrEmpty,
});

export type AppEventInput = z.input<typeof AppEventSchema>;
export type AppEventData = z.output<typeof AppEventSchema>;
