Add multi-server blueprint collections and atomic launches
This commit is contained in:
@@ -29,6 +29,34 @@ export interface BlueprintSummary {
|
||||
description: string;
|
||||
createdAt: string;
|
||||
recipe: LaunchRecipeSummary;
|
||||
entries: { count: number; recipe: LaunchRecipeSummary }[];
|
||||
totalServers: number;
|
||||
}
|
||||
|
||||
export interface CollectionPreview {
|
||||
id: string;
|
||||
expiresAt: string;
|
||||
blueprintName: string;
|
||||
entries: { count: number; recipe: LaunchRecipeSummary }[];
|
||||
servers: { entryIndex: number; name: string | null; port: number | null; hasSavedKey: boolean }[];
|
||||
blockers: string[];
|
||||
ready: boolean;
|
||||
}
|
||||
|
||||
export interface CollectionSummary {
|
||||
id: string;
|
||||
name: string;
|
||||
created_at: string;
|
||||
total: number;
|
||||
done: number;
|
||||
failed: number;
|
||||
active: number;
|
||||
}
|
||||
|
||||
export interface CollectionDetail {
|
||||
collection: CollectionSummary;
|
||||
servers: { id: string; server: string; port: number; map_slug: string; state: string; stage: string;
|
||||
started_at: string; finished_at: string | null; error: string | null; server_exists: number }[];
|
||||
}
|
||||
|
||||
export interface LaunchPreview {
|
||||
|
||||
Reference in New Issue
Block a user