refactor: restructure to monorepo with apps and packages directories - Move companion app to apps/companion with electron-vite - Move domain/application/infrastructure to packages/ - Fix ELECTRON_RUN_AS_NODE env var issue for VS Code terminal - Remove legacy esbuild bundler (replaced by electron-vite) - Update workspace scripts in root package.json
This commit is contained in:
20
packages/domain/entities/HostedSessionConfig.ts
Normal file
20
packages/domain/entities/HostedSessionConfig.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export interface HostedSessionConfig {
|
||||
sessionName: string;
|
||||
serverName: string;
|
||||
password: string;
|
||||
adminPassword: string;
|
||||
maxDrivers: number;
|
||||
trackId: string;
|
||||
carIds: string[];
|
||||
weatherType: 'static' | 'dynamic';
|
||||
timeOfDay: 'morning' | 'afternoon' | 'evening' | 'night';
|
||||
sessionDuration: number;
|
||||
practiceLength: number;
|
||||
qualifyingLength: number;
|
||||
warmupLength: number;
|
||||
raceLength: number;
|
||||
startType: 'standing' | 'rolling';
|
||||
restarts: 'single-file' | 'double-file';
|
||||
damageModel: 'off' | 'limited' | 'realistic';
|
||||
trackState: 'auto' | 'clean' | 'moderately-low' | 'moderately-high' | 'optimum';
|
||||
}
|
||||
Reference in New Issue
Block a user