editableFields beta
Function of @v12-engine/engine
ts
export declare function editableFields<K extends DataKind>(game: (Pick<Rules, 'editable'> & Partial<Pick<Rules, 'effects' | 'stats' | 'packs' | 'units'>>) | null | undefined, kind: K, def: DataDefs[K]): DataField[];The fields of a definition the editor may change, as the game says (Rules.editable), each with what it holds and the heading it goes under. None for a game that says nothing of that kind