import { ContentItem } from "@/components/ContentSelection/data";
export interface WechatGroup {
  id: string;
  name: string;
  avatar: string;
  serviceAccount: {
    id: string;
    name: string;
    avatar: string;
  };
}

export interface ContentLibrary {
  id: string;
  name: string;
  targets: Array<{
    id: string;
    avatar: string;
  }>;
}

export interface FormData {
  name: string;
  startTime: string; // 允许推送的开始时间
  endTime: string; // 允许推送的结束时间
  dailyPushCount: number;
  pushOrder: number; // 1: 按最早, 2: 按最新
  isLoop: number; // 0: 否, 1: 是
  pushType: number; // 0: 定时推送, 1: 立即推送
  status: number; // 0: 否, 1: 是
  contentGroups: string[];
  wechatGroups: string[];
  // 京东联盟相关字段
  socialMediaId?: string;
  promotionSiteId?: string;
  [key: string]: any;
}
