public/shared/types.d.ts
eggy bd852ba906 feat: add site box
also make mobile easier to see
2022-08-08 17:49:35 -04:00

24 lines
468 B
TypeScript

import type { ParsedContent } from "@nuxt/content/dist/runtime/types";
interface ReadingTime {
text: string;
minutes: number;
time: number;
words: number;
}
interface BlogParsedContent extends ParsedContent {
date: Date;
title: string;
tags: string[];
description?: Record<string, any>;
readingTime: ReadingTime;
}
interface StoryParsedContent extends ParsedContent {
date: Date;
title: string;
tags: string[];
readingTime: ReadingTime;
}