Skip to main content

SettingsTreeAction

type SettingsTreeAction = 
| {
action: "update";
payload: object & DistributivePick<SettingsTreeFieldValue, "input" | "value">;
}
| {
action: "perform-node-action";
payload: {
id: string;
path: readonly string[];
};
};

Represents actions that can be dispatched to source of the SettingsTree to implement edits and updates.