Initial Code Commit

This commit is contained in:
Alan Bridgeman 2025-02-17 16:32:27 -06:00
parent fa1468245f
commit 28db152b87
24 changed files with 2691 additions and 2 deletions

View file

@ -0,0 +1,8 @@
import { BaseController } from '../controllers/BaseController';
export function ChildController<T extends { new(...args: any[]): {} }>(childController: BaseController | BaseController[]) {
return function (target: T) {
// Define a metadata key for the child controller
Reflect.defineMetadata('ChildController', childController, target);
};
}