fix: correct zod import path from 'zod/v4' to 'zod'#25
Conversation
The content.config.ts was importing zod from 'zod/v4' which is not the standard import path. This fixes the import to use the correct 'zod' module path while still properly importing the z validator from a separate statement rather than from @nuxt/content.
Summary of ChangesHello @amondnet, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses an issue where the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
There was a problem hiding this comment.
Code Review
This pull request correctly fixes an import issue with zod in packages/layer/content.config.ts. The change to import z from the zod package instead of @nuxt/content is accurate and necessary for the code to function correctly. I have added one suggestion to improve the organization of the import statements for better readability and maintainability.



Summary
Fixes incorrect zod import path in
packages/layer/content.config.ts. Changed from non-standard'zod/v4'import to the correct'zod'module path.The schema validator
zis now properly imported from the zod package rather than incorrectly from '@nuxt/content'.Changes
zfrom@nuxt/contentimport (it was not exported there)import { z } from 'zod'Test plan
bun typecheckin packages/layer to ensure no type errors