feat: Enhance scenario installation options and UI integration
- Added new installation options to GatewayAdminActionRecord and implemented parsing logic in gatewayOrchestrator.ts. - Updated resolveResetSeedInfo to accommodate new scenario installation parameters. - Introduced a new scenario catalog module to manage scenario previews and details. - Enhanced AdminView.vue to include a comprehensive installation form with various configuration options. - Implemented scenario listing and selection functionality in the frontend. - Updated profile repository to support scenario updates. - Added tests to cover new functionalities and ensure stability.
This commit is contained in:
@@ -12,6 +12,24 @@ export interface GatewayAdminActionRecord {
|
||||
handledAt?: string | null;
|
||||
handler?: string | null;
|
||||
detail?: string | null;
|
||||
install?: {
|
||||
scenarioId?: number;
|
||||
turnTermMinutes?: number;
|
||||
sync?: boolean;
|
||||
fiction?: number;
|
||||
extend?: boolean;
|
||||
blockGeneralCreate?: number;
|
||||
npcMode?: number;
|
||||
showImgLevel?: number;
|
||||
tournamentTrig?: boolean;
|
||||
joinMode?: string;
|
||||
autorunUser?: {
|
||||
limitMinutes?: number;
|
||||
options?: string[];
|
||||
} | null;
|
||||
openAt?: string | null;
|
||||
preopenAt?: string | null;
|
||||
};
|
||||
}
|
||||
|
||||
export interface GatewayAdminActionResult {
|
||||
|
||||
Reference in New Issue
Block a user