Queue native collection launches before async placement

This commit is contained in:
2026-10-05 11:35:50 -04:00
parent 1405114a14
commit 7c76851252
34 changed files with 1324 additions and 244 deletions
+15 -1
View File
@@ -11,7 +11,7 @@ export interface LaunchFileSummary {
}
export interface LaunchRecipeSummary {
native?: { hostId: string; libraryId: string; image?: string; bindAddress?: string; publicAddress?: string; publicPort?: number };
native?: import('./hosts.js').NativePlacement;
game: ZombieGame;
mapSlug: string;
mapName: string;
@@ -35,6 +35,18 @@ export interface BlueprintSummary {
export type CollectionMode = 'fill' | 'exact';
export interface LaunchAvailability {
updatedAt: string | null;
requested: number;
estimatedAvailable: number | null;
portsAvailable: number | null;
cpuCoresAvailable: number | null;
memoryBytesAvailable: number | null;
startupSlots: number | null;
startupLimit: number | null;
queued: number | null;
}
export interface CollectionPreview {
id: string;
expiresAt: string;
@@ -47,6 +59,8 @@ export interface CollectionPreview {
coverage: { name: string; health: string; href: string }[]; recipe: LaunchRecipeSummary }[];
servers: { native?: import('./hosts.js').NativePlacement; entryIndex: number; name: string | null; port: number | null; hasSavedKey: boolean }[];
blockers: string[];
warnings?: string[];
availability?: LaunchAvailability;
ready: boolean;
}