main
dependabot/npm_and_yarn/eslint-9.39.1
dependabot/npm_and_yarn/eslint-plugin-astro-1.5.0
dependabot/npm_and_yarn/eslint/js-9.39.1
dependabot/npm_and_yarn/katex-0.16.25
dependabot/npm_and_yarn/sharp-0.34.5
dependabot/npm_and_yarn/tailwindcss/vite-4.1.17
dependabot/npm_and_yarn/tsx-4.20.6
dependabot/npm_and_yarn/typescript-eslint-8.46.4
dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.36.0
dependabot/npm_and_yarn/typescript-eslint/parser-8.46.4
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 | } |