Files
oneuptime/App/FeatureSet/Workers/DataMigrations/DataMigrationBase.ts
Nawaz Dhandala ea71c8bd75 feat: Implement Workflow API and Queue Management
- Added ManualAPI for manually triggering workflows via GET and POST requests.
- Introduced WorkflowAPI for updating workflows with authorization checks.
- Created documentation for JavaScript and Webhook components.
- Established WorkflowFeatureSet to initialize routing and job processing.
- Developed QueueWorkflow service for managing workflow queue operations.
- Implemented RunWorkflow service to execute workflows with error handling and logging.
- Added utility for loading component metadata dynamically.
2026-04-01 22:05:19 +01:00

24 lines
513 B
TypeScript

import NotImplementedException from "Common/Types/Exception/NotImplementedException";
export default class DataMigrationBase {
private _name: string = "";
public get name(): string {
return this._name;
}
public set name(v: string) {
this._name = v;
}
public constructor(name: string) {
this.name = name;
}
public async migrate(): Promise<void> {
throw new NotImplementedException();
}
public async rollback(): Promise<void> {
throw new NotImplementedException();
}
}