feat: respect context in server

This commit is contained in:
Aarnav Tale
2025-02-19 18:09:42 -05:00
parent 06049169a2
commit f5436f5ee3
32 changed files with 359 additions and 204 deletions
+12
View File
@@ -0,0 +1,12 @@
import { hp_getConfig } from './loader';
import { HeadplaneConfig } from './parser';
export interface AppContext {
context: HeadplaneConfig;
}
export default function appContext() {
return {
context: hp_getConfig(),
};
}