chore: Move schema directory away from src; Migrate extensions to schema directory, update Dockerfile and configuration paths

This commit is contained in:
Andreas Hilbig 2026-01-14 10:03:38 +01:00
parent c6314fbda0
commit 70e64448e5
14 changed files with 90 additions and 46 deletions

View file

@ -26,7 +26,7 @@ const createZabbixHierarchicalDeviceTagsResolver =
}
export async function schema_loader(): Promise<GraphQLSchema> {
const resolvers = createResolvers();
const schemaPath = process.env.SCHEMA_PATH || './src/schema/';
const schemaPath = process.env.SCHEMA_PATH || './schema/';
var schemaFiles = readdirSync(schemaPath).filter(fn => fn.endsWith('.graphql'));
let typeDefs: string = "";
for (const schemaFile of schemaFiles) {