diff --git a/packages/api/ai/generate.mts b/packages/api/ai/generate.mts index 361510fc..d3b49348 100644 --- a/packages/api/ai/generate.mts +++ b/packages/api/ai/generate.mts @@ -1,4 +1,4 @@ -import { generateText, GenerateTextResult } from 'ai'; +import { generateText, type GenerateTextResult } from 'ai'; import { type CodeLanguageType, type CellType, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26e85a6a..bfe88566 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -316,6 +316,9 @@ importers: ws: specifier: 'catalog:' version: 8.17.0 + zod: + specifier: 'catalog:' + version: 3.23.8 devDependencies: '@types/express': specifier: ^4.17.21 diff --git a/srcbook/package.json b/srcbook/package.json index 6f91f157..171be27e 100644 --- a/srcbook/package.json +++ b/srcbook/package.json @@ -24,7 +24,8 @@ "express": "^4.19.2", "marked": "catalog:", "posthog-node": "^4.0.1", - "ws": "catalog:" + "ws": "catalog:", + "zod": "catalog:" }, "devDependencies": { "@types/express": "^4.17.21"