+import { ServerOptions } from 'ws';
import { StorageType } from './Storage';
import type { WorkerChoiceStrategy } from 'poolifier';
import { WorkerProcessType } from './Worker';
-export interface StationTemplateURL {
+export interface StationTemplateUrl {
file: string;
numberOfStations: number;
}
+export interface UIWebSocketServerConfiguration {
+ enabled?: boolean;
+ options?: ServerOptions;
+}
+
export interface StorageConfiguration {
enabled?: boolean;
type?: StorageType;
- URI?: string;
+ uri?: string;
}
export default interface ConfigurationData {
- supervisionURLs?: string[];
- stationTemplateURLs: StationTemplateURL[];
+ supervisionUrls?: string[];
+ stationTemplateUrls: StationTemplateUrl[];
+ uiWebSocketServer?: UIWebSocketServerConfiguration;
performanceStorage?: StorageConfiguration;
autoReconnectMaxRetries?: number;
distributeStationsToTenantsEqually?: boolean;