arky-js
Version:
**Arky.js** is a powerful, annotation-based framework for building serverless applications on **AWS Lambda and API Gateway**. Inspired by Angular and NestJS, Arky.js simplifies serverless development by providing decorators for defining modules, controlle
18 lines (17 loc) • 791 B
TypeScript
import { ModuleDeclaration } from "../../constants/types/module-declaration.type";
import { ControllerDeclaration } from "../../constants/types/controller-declaration.type";
import { ArkyConfig } from "../../constants/types/config.type";
export declare class ModuleTreeWalker {
private projectConfig;
private appRootModule;
private project;
private readonly defaultRootModuleFile;
constructor(projectConfig: ArkyConfig | null);
private initiateRootModule;
private getRootModuleFilePath;
loadControllerDeclarations(moduleDeclarations: ModuleDeclaration[]): ControllerDeclaration[];
loadModuleDeclarations(): ModuleDeclaration[] | undefined;
private traverseTheModuleTree;
private getModuleDecoratorConfig;
private createModuleDeclarationObj;
}