import type { TeamToolValue } from "@/lib/guides/team-tools"; export function toTeamDraft( team: Omit, ): Omit { return { title: team.title, rotationSeconds: team.rotationSeconds, combo: team.combo, members: team.members.map((member) => ({ characterKey: member.characterKey, weaponKey: member.weaponKey, artifactKey: member.artifactKey, secondArtifactKey: member.secondArtifactKey, constellation: member.constellation, refinement: member.refinement, damage: member.damage, })), }; }