// Generated by EmDash on dev server start
// Do not edit manually

/// <reference types="emdash/locals" />

import type { PortableTextBlock } from "emdash";

export interface Page {
  id: string;
  slug: string | null;
  status: string;
  title: string;
  body?: PortableTextBlock[];
  createdAt: Date;
  updatedAt: Date;
  publishedAt: Date | null;
}

export interface Post {
  id: string;
  slug: string | null;
  status: string;
  title: string;
  featured_image?: { id: string; src?: string; alt?: string; width?: number; height?: number };
  body?: PortableTextBlock[];
  excerpt?: string;
  theme_color?: string;
  createdAt: Date;
  updatedAt: Date;
  publishedAt: Date | null;
}

declare module "emdash" {
  interface EmDashCollections {
    pages: Page;
    posts: Post;
  }
}