feat(actions): implement action system for UPS state management with shutdown, webhook, and script actions

This commit is contained in:
2025-10-20 11:47:51 +00:00
parent a7113d0387
commit 32bd27b849
11 changed files with 1238 additions and 166 deletions

View File

@@ -1,6 +1,7 @@
import { BaseMigration } from './base-migration.ts';
import { MigrationV1ToV2 } from './migration-v1-to-v2.ts';
import { MigrationV3ToV4 } from './migration-v3-to-v4.ts';
import { MigrationV4_0ToV4_1 } from './migration-v4.0-to-v4.1.ts';
import { logger } from '../logger.ts';
/**
@@ -17,7 +18,8 @@ export class MigrationRunner {
this.migrations = [
new MigrationV1ToV2(),
new MigrationV3ToV4(),
// Add future migrations here (v4→v5, v5→v6, etc.)
new MigrationV4_0ToV4_1(),
// Add future migrations here (v4.2, v4.3, etc.)
];
// Sort by order to ensure they run in sequence