feat: update shit

This commit is contained in:
tresabhi committed 2026-05-07 22:22:29 -05:00
1 parent 8bda4a5331
commit 95ad6bade7
5 files changed
+14 -5

No files matched your search

@@ -31,10 +31,10 @@ const { value, locale } = Astro.props;
const strings = await api.strings(locale);
const lang = "ts";
const roots = ["src/protos", "../closed/protos"];
const root = "../../packages/closed/protos";
const [route, name] = value.split(".");
const path = resolve(`${roots[0]}/${route}.ts`);
const path = resolve(`${root}/${route}.ts`);
const program = createProgram([path], {});
const source = program.getSourceFile(path);