EditableFields beta
TypeAlias of @v12-engine/engine
ts
export type EditableFields<D = unknown> = 'all' | readonly (string | EditableField)[] | ((def: D) => 'all' | readonly (string | EditableField)[] | null);Which fields of a kind of definition can be changed: all of them (every number, word and yes or no in the definition, as it has them, but its id and kind), some (their paths, or fields said in full), or none (nothing, or an empty list). A function says it for each definition, as it is now: null for none