Files
nodarium/app/src/lib/settings/index.ts
2024-12-19 18:28:17 +01:00

14 lines
330 B
TypeScript

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
};