From d4af096035c0f040ea347452347c10b6532b6774 Mon Sep 17 00:00:00 2001 From: misza-one Date: Sun, 8 Feb 2026 20:11:55 +0100 Subject: [PATCH] fix: update TypeScript schema generator to use source/ directory The generate_ts_schema_types.js script still referenced the removed spec/ directory. Updated to use source/ which is where schemas now live after the migration in #125. Fixes #150 --- generate_ts_schema_types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_ts_schema_types.js b/generate_ts_schema_types.js index 1b0120d9..144f4c0e 100644 --- a/generate_ts_schema_types.js +++ b/generate_ts_schema_types.js @@ -2,7 +2,7 @@ const fs = require('node:fs'); const path = require('node:path'); const { compile } = require('json-schema-to-typescript'); -const SOURCE_ROOT = path.resolve(__dirname, 'spec'); +const SOURCE_ROOT = path.resolve(__dirname, 'source'); const OUTPUT_FILE = path.resolve(__dirname, './generated/schema-types.ts'); const WRAPPER_NAME = 'SCHEMA_WRAPPER';