// NOTE This file is auto-generated by Contentlayer import type { Markdown, MDX, ImageFieldData, IsoDateTimeString } from 'contentlayer/core' import * as Local from 'contentlayer/source-files' export { isType } from 'contentlayer/client' export type { Markdown, MDX, ImageFieldData, IsoDateTimeString } /** Document types */ export type Page = { /** File path relative to `contentDirPath` */ _id: string _raw: Local.RawDocumentData __ignoredType: 'Page' title: string slug?: string | undefined description?: string | undefined type?: string | undefined ghost_id?: string | undefined status?: string | undefined visibility?: string | undefined featured?: boolean | undefined created_at?: IsoDateTimeString | undefined updated_at?: IsoDateTimeString | undefined published_at?: IsoDateTimeString | undefined custom_excerpt?: string | undefined tags?: string[] | undefined authors?: string[] | undefined feature_image?: string | undefined /** Markdown file body */ body: Markdown url: string flattenedPath: string } export type Post = { /** File path relative to `contentDirPath` */ _id: string _raw: Local.RawDocumentData __ignoredType: 'Post' title: string slug?: string | undefined tags?: string[] | undefined published_at?: IsoDateTimeString | undefined description?: string | undefined type?: string | undefined ghost_id?: string | undefined status?: string | undefined visibility?: string | undefined featured?: boolean | undefined created_at?: IsoDateTimeString | undefined updated_at?: IsoDateTimeString | undefined custom_excerpt?: string | undefined authors?: string[] | undefined feature_image?: string | undefined /** Markdown file body */ body: Markdown url: string flattenedPath: string } /** Nested types */ /** Helper types */ export type AllTypes = DocumentTypes | NestedTypes export type AllTypeNames = DocumentTypeNames | NestedTypeNames export type DocumentTypes = Page | Post export type DocumentTypeNames = 'Page' | 'Post' export type NestedTypes = never export type NestedTypeNames = never export type DataExports = { allDocuments: DocumentTypes[] allPosts: Post[] allPages: Page[] } export interface ContentlayerGenTypes { documentTypes: DocumentTypes documentTypeMap: DocumentTypeMap documentTypeNames: DocumentTypeNames nestedTypes: NestedTypes nestedTypeMap: NestedTypeMap nestedTypeNames: NestedTypeNames allTypeNames: AllTypeNames dataExports: DataExports } declare global { interface ContentlayerGen extends ContentlayerGenTypes {} } export type DocumentTypeMap = { Page: Page Post: Post } export type NestedTypeMap = { }