refactor: make loaded directory to remove confusion
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { brainboxRoot } from "./loader";
|
import { brainboxRoot } from "./loader";
|
||||||
import rootConfig from "./root";
|
import rootConfig from "./loaded/root";
|
||||||
|
|
||||||
export interface Config {
|
export interface Config {
|
||||||
openrouterApiKey: string;
|
openrouterApiKey: string;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import z from "zod";
|
import z from "zod";
|
||||||
import { parseConfigFile } from "./loader";
|
import { parseConfigFile } from "../loader";
|
||||||
|
|
||||||
const RootConfigSchema = z.object({
|
const RootConfigSchema = z.object({
|
||||||
openrouter: z.object({ apiKey: z.string().min(1) }),
|
openrouter: z.object({ apiKey: z.string().min(1) }),
|
||||||
Reference in New Issue
Block a user