import { IsDatatype, DatatypeControl, Datatypes } from "./Datatypes"; import { IsPrimitive, PrimitiveControl, Primitives } from "./Primitives"; import { AdvancedTypes } from "./Advanced"; import { ControlGroup } from "./ControlUtils"; interface BaseControl { EntryType: "Control"; Type: T; ControlValue: C; Order?: number; } type IsPrimitiveControl = IsPrimitive | PrimitiveControl; type IsDatatypeControl = IsDatatype | PrimitiveControl; type LiteralControls = DatatypeControl | PrimitiveControl; type ObjectControl = LiteralControls | AdvancedTypes.All[keyof AdvancedTypes.All]; type AllControls = ObjectControl | IsPrimitive | IsDatatype; type ControlsList = Record; type ReturnControls = Record; type ConvertedControlList = Record; type ConvertedControls = Record>;