41 lines
644 B
TypeScript
41 lines
644 B
TypeScript
import { AstroComponentFactory } from 'astro/dist/runtime/server';
|
|
|
|
export interface Post {
|
|
id: string;
|
|
slug: string;
|
|
|
|
publishDate: Date;
|
|
title: string;
|
|
description?: string;
|
|
|
|
image?: string;
|
|
|
|
canonical?: string | URL;
|
|
permalink?: string;
|
|
|
|
draft?: boolean;
|
|
|
|
excerpt?: string;
|
|
category?: string;
|
|
tags?: Array<string>;
|
|
author?: string;
|
|
|
|
Content: AstroComponentFactory;
|
|
content?: string;
|
|
|
|
readingTime?: number;
|
|
}
|
|
|
|
export interface MetaSEO {
|
|
title?: string;
|
|
description?: string;
|
|
image?: string;
|
|
|
|
canonical?: string | URL;
|
|
noindex?: boolean;
|
|
nofollow?: boolean;
|
|
|
|
ogTitle?: string;
|
|
ogType?: string;
|
|
}
|