Add deployment blueprints and reviewed launch recipes
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
import type { ZombieGame } from './map-aliases.js';
|
||||
|
||||
export interface LaunchFileSummary {
|
||||
name: string;
|
||||
kind: 'script' | 'plugin' | 'config';
|
||||
path: string;
|
||||
versionId: number | null;
|
||||
version: number | null;
|
||||
sha256: string;
|
||||
size: number;
|
||||
}
|
||||
|
||||
export interface LaunchRecipeSummary {
|
||||
game: ZombieGame;
|
||||
mapSlug: string;
|
||||
mapName: string;
|
||||
expectedMap: string;
|
||||
capturedAt: string;
|
||||
image: string;
|
||||
configFile: string;
|
||||
configSource: string;
|
||||
files: LaunchFileSummary[];
|
||||
fingerprint: string;
|
||||
}
|
||||
|
||||
export interface BlueprintSummary {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
createdAt: string;
|
||||
recipe: LaunchRecipeSummary;
|
||||
}
|
||||
|
||||
export interface LaunchPreview {
|
||||
id: string;
|
||||
expiresAt: string;
|
||||
name: string | null;
|
||||
port: number | null;
|
||||
hasSavedKey: boolean;
|
||||
recipe: LaunchRecipeSummary;
|
||||
blueprintName: string | null;
|
||||
checks: { label: string; state: 'pass' | 'blocked' | 'info'; detail: string }[];
|
||||
ready: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user