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

export const PwaEventSchema = z.object({
  deviceId: z.string(),
  deviceType: z.string(),
  timestamp: z.number(),
  pwaInstalled: z.boolean().default(false),
  pwaSupported: z.boolean().default(false),
});

export type PwaEventInput = z.input<typeof PwaEventSchema>;
export type PwaEventData = z.output<typeof PwaEventSchema>;
