Refactoring

This commit is contained in:
Artur Gurgul 2025-06-08 21:57:33 +02:00
parent 1e3833f7d0
commit aa563e60ea
37 changed files with 472 additions and 2392 deletions

12
types/project.d.ts vendored
View file

@ -1,11 +1,11 @@
import ProjectConfig from './project-config.js';
import Page from './page.js';
export default class Project {
config: ProjectConfig;
private __filename;
private __dirname;
private DEFAULT_PROJECT_PATH;
private config;
pages: Page[];
constructor();
new(): void;
existing(): void;
build(): void;
loadPages(): Page[];
compile(page: Page): void;
context(page: Page): any;
}