/**
 * Facebook 用户数据 schema
 * 
 *
 * 字段对齐 Dart 端 `String?` 可空语义：缺字段时存 `null`。
 */
import { z } from "zod";

export const FacebookUserDataSchema = z.object({
  id: z.string().nullable().default(null),
  name: z.string().nullable().default(null),
  email: z.string().nullable().default(null),
  pictureUrl: z.string().nullable().default(null),
});

export type FacebookUserDataInput = z.input<typeof FacebookUserDataSchema>;
export type FacebookUserDataData = z.output<typeof FacebookUserDataSchema>;
