headplane/server/context/app.ts
2025-02-19 18:09:42 -05:00

13 lines
228 B
TypeScript

import { hp_getConfig } from './loader';
import { HeadplaneConfig } from './parser';
export interface AppContext {
context: HeadplaneConfig;
}
export default function appContext() {
return {
context: hp_getConfig(),
};
}