main
dependabot/npm_and_yarn/astro-7.4.0
dependabot/npm_and_yarn/astrojs/mdx-7.0.8
dependabot/npm_and_yarn/astrojs/sitemap-3.7.4
dependabot/npm_and_yarn/katex-0.19.0
dependabot/npm_and_yarn/prettier-3.9.10
dependabot/npm_and_yarn/sharp-0.35.5
dependabot/npm_and_yarn/tsx-4.23.15
dependabot/npm_and_yarn/typescript-eslint-8.71.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.71.2
development
main
| 1 | import type { TOCItem, ReadingTime } from './content.types' |
| 2 | |
| 3 | // TOC component props interface |
| 4 | export interface TOCProps { |
| 5 | toc?: TOCItem[] |
| 6 | } |
| 7 | |
| 8 | // Post layout props interface (generic, not tied to specific data source) |
| 9 | export interface PostLayoutProps { |
| 10 | title: string |
| 11 | pubDate: Date |
| 12 | image?: string |
| 13 | readingTime?: ReadingTime |
| 14 | toc?: TOCItem[] |
| 15 | } |
| 16 | |
| 17 | // Transition props interface |
| 18 | export interface TransitionProps { |
| 19 | type: 'post' | 'page' |
| 20 | class?: string |
| 21 | } |
| 22 | |
| 23 | // Layout props interface |
| 24 | export interface LayoutProps extends TransitionProps { |
| 25 | title?: string |
| 26 | description?: string |
| 27 | } |
| 28 | |
| 29 | // BaseHead component props interface |
| 30 | export interface BaseHeadProps { |
| 31 | title: string |
| 32 | description: string |
| 33 | } |