From 105441a3bd525fc8a29f04a73c1b25b69c34e79c Mon Sep 17 00:00:00 2001 From: Abdou TOP Date: Fri, 9 Jan 2026 12:49:25 +0000 Subject: [PATCH] fix(api): use relative imports internally to resolve build graph error --- api/dev.ts | 8 ++++---- api/doc.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/dev.ts b/api/dev.ts index cb7beb0..d13ed87 100644 --- a/api/dev.ts +++ b/api/dev.ts @@ -1,8 +1,8 @@ -import { APP_ENV, DEVTOOL_ACCESS_TOKEN } from '@01edu/api/env' -import { respond } from '@01edu/api/response' +import { APP_ENV, DEVTOOL_ACCESS_TOKEN } from './env.ts' +import { respond } from './response.ts' import type { RequestContext } from '@01edu/types/context' -import { route } from '@01edu/api/router' -import { ARR, OBJ, optional, STR } from '@01edu/api/validator' +import { route } from './router.ts' +import { ARR, OBJ, optional, STR } from './validator.ts' import type { Sql } from '@01edu/types/db' /** diff --git a/api/doc.ts b/api/doc.ts index b417580..a99e188 100644 --- a/api/doc.ts +++ b/api/doc.ts @@ -1,7 +1,7 @@ import type { Def, DefBase } from '@01edu/types/validator' import type { GenericRoutes } from '@01edu/types/router' -import { route } from '@01edu/api/router' -import { ARR, BOOL, LIST, OBJ, optional, STR } from '@01edu/api/validator' +import { route } from './router.ts' +import { ARR, BOOL, LIST, OBJ, optional, STR } from './validator.ts' /** * Recursive type representing the structure of input/output documentation.