Add helper functions for news archive #139

Closed
a3thakra wants to merge 5 commits from adi-news-content into adi-eslint-import
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 44566b0072 - Show all commits

View File

@ -8,13 +8,13 @@ import { serialize } from "next-mdx-remote/serialize";
const NEWS_PATH = path.join("content", "news");
const TERMS = ["winter", "spring", "fall"];
interface Metadata {
export interface Metadata {
author: string;
date: string;
}
export interface News {
content: MDXRemoteSerializeResult<Record<string, unknown>>;
content: MDXRemoteSerializeResult;
metadata: Metadata;
}