From 087e8518ef52a29edfe4d0a3e189e40e45969113 Mon Sep 17 00:00:00 2001 From: p-sw Date: Sun, 28 Jun 2026 22:44:28 +0900 Subject: [PATCH] refactor: make loaded directory to remove confusion --- src/config/index.ts | 2 +- src/config/{ => loaded}/root.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/config/{ => loaded}/root.ts (90%) diff --git a/src/config/index.ts b/src/config/index.ts index b775e98..63ea8a8 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,5 +1,5 @@ import { brainboxRoot } from "./loader"; -import rootConfig from "./root"; +import rootConfig from "./loaded/root"; export interface Config { openrouterApiKey: string; diff --git a/src/config/root.ts b/src/config/loaded/root.ts similarity index 90% rename from src/config/root.ts rename to src/config/loaded/root.ts index 0b005db..6592377 100644 --- a/src/config/root.ts +++ b/src/config/loaded/root.ts @@ -1,5 +1,5 @@ import z from "zod"; -import { parseConfigFile } from "./loader"; +import { parseConfigFile } from "../loader"; const RootConfigSchema = z.object({ openrouter: z.object({ apiKey: z.string().min(1) }),