UNPKG

@ai-growth/nextjs

Version:

Seamlessly integrate Sanity CMS with Next.js applications for automated blog routing and rendering

21 lines (20 loc) 526 B
/** * @fileoverview TypeScript interfaces for Sanity CMS document types * * This module provides comprehensive type definitions for Sanity documents, * including base types, content types, and utility types for GROQ queries. * * @example * ```typescript * import { SanityPost, SanityPage } from '@ai-growth/nextjs/types'; * * const post: SanityPost = { * _id: 'post-123', * _type: 'post', * title: 'My Blog Post', * slug: { current: 'my-blog-post' }, * // ... other fields * }; * ``` */ export {};