From 9f14710d886dc257c980eb976f6a9c78eb6ed5ae Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Wed, 1 Apr 2026 12:39:52 +0100 Subject: [PATCH] Update env --- templates/starter-cloudflare/emdash-env.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/starter-cloudflare/emdash-env.d.ts b/templates/starter-cloudflare/emdash-env.d.ts index 9dc6de3..abb2626 100644 --- a/templates/starter-cloudflare/emdash-env.d.ts +++ b/templates/starter-cloudflare/emdash-env.d.ts @@ -3,7 +3,7 @@ /// -import type { PortableTextBlock } from "emdash"; +import type { ContentBylineCredit, PortableTextBlock } from "emdash"; export interface Page { id: string; @@ -14,6 +14,7 @@ export interface Page { createdAt: Date; updatedAt: Date; publishedAt: Date | null; + bylines?: ContentBylineCredit[]; } export interface Post { @@ -27,6 +28,7 @@ export interface Post { createdAt: Date; updatedAt: Date; publishedAt: Date | null; + bylines?: ContentBylineCredit[]; } declare module "emdash" { @@ -34,4 +36,4 @@ declare module "emdash" { pages: Page; posts: Post; } -} +} \ No newline at end of file