// Form-friendly views of the Wails-generated model classes. // // Wails generates each Go struct as a TS *class* with a hidden `convertValues` // method used by the runtime for nested struct hydration. That method is // irrelevant to our UI, but its presence means strict TS rejects any plain // object literal we try to spread/assign back into the state setter. // // We strip it here so React component state stays usable with normal // `{...prev, key: value}` patterns. Wails class instances remain assignable // to these views since they have every required property. import type { main, qso } from '../wailsjs/go/models'; export type LookupSettingsForm = Omit; export type StationSettingsForm = Omit; export type ListsSettingsForm = Omit; export type ModePresetForm = Omit; export type QSOForm = Omit; export type WorkedBeforeView = Omit;