cleanup file names

This commit is contained in:
Joel Wetzell
2026-04-04 08:33:25 -05:00
committed by Joel Wetzell
parent 98f1549237
commit 2b2f798f00
36 changed files with 65 additions and 65 deletions
+50
View File
@@ -0,0 +1,50 @@
export type Config = {
api: ApiConfig
modules: ModuleConfig[];
routes: RouteConfig[];
};
export type ConfigState = {
config: Config;
timestamp: number;
isCurrent: boolean;
};
export type ApiConfig = {
enabled: boolean;
port: number;
};
export type ModuleConfig = {
id?: string;
type: string;
params?: Record<string, any>;
};
export type RouteConfig = {
input?: string;
processors?: ProcessorConfig[];
};
export type ProcessorConfig = {
type: string;
params?: Record<string, any>;
};
export type ModuleError = {
index: number;
config: ModuleConfig;
error: string;
}
export type RouteError = {
index: number;
config: RouteConfig;
error: string;
}
export type ConfigError = {
moduleErrors?: ModuleError[];
routeErrors?: RouteError[];
}