Refactor config loading (in progress 3)
This commit is contained in:
8
src/controllers/base.controller.ts
Normal file
8
src/controllers/base.controller.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { ControllerResponse } from '../types/common.types.js';
|
||||
|
||||
export abstract class BaseController {
|
||||
// Instance method (must be implemented by subclasses)
|
||||
static capture(data: unknown): Promise<ControllerResponse> {
|
||||
throw new Error(`Not implemented: capture: ${data}`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user