relayout folders

This commit is contained in:
Joel Wetzell
2026-03-07 10:49:13 -06:00
parent f792ca9e85
commit 5f91889c10
32 changed files with 5 additions and 7 deletions
+27
View File
@@ -0,0 +1,27 @@
export type Config = {
modules: ModuleConfiguration[];
routes: RouteConfiguration[];
};
export type ConfigState = {
config: Config;
timestamp: number;
isCurrent: boolean;
};
export type ModuleConfiguration = {
id?: string;
type: string;
params?: Record<string, any>;
};
export type RouteConfiguration = {
input?: string;
processors?: ProcessorConfiguration[];
output?: string;
};
export type ProcessorConfiguration = {
type: string;
params?: Record<string, any>;
};
+28
View File
@@ -0,0 +1,28 @@
import { FormGroup } from '@angular/forms';
export type ObjectInfo = {
name: string;
type: string;
schema: any;
};
export type ParamsFormInfo = {
formGroup: FormGroup;
paramsInfo: ParamsInfo;
};
export type ParamsInfo = {
[key: string]: ParamInfo;
};
export type ParamInfo = {
key: string;
display: string;
hint: string;
type: string;
placeholder?: string;
options?: string[];
isConst: boolean;
schema: any;
default?: any;
};