WIP
This commit is contained in:
13
app/src/lib/settings/index.ts
Normal file
13
app/src/lib/settings/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { NodeInput } from "@nodes/types";
|
||||
|
||||
type Button = { type: "button"; label?: string };
|
||||
|
||||
type InputType = NodeInput | Button;
|
||||
|
||||
export interface SettingsType {
|
||||
[key: string]: (SettingsType & { title?: string }) | InputType;
|
||||
}
|
||||
|
||||
export type SettingsStore = {
|
||||
[key: string]: SettingsStore | string | number | boolean
|
||||
};
|
||||
Reference in New Issue
Block a user