Update env
This commit is contained in:
4
templates/starter-cloudflare/emdash-env.d.ts
vendored
4
templates/starter-cloudflare/emdash-env.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
|
||||
/// <reference types="emdash/locals" />
|
||||
|
||||
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" {
|
||||
|
||||
Reference in New Issue
Block a user