1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-17 09:08:42 -04:00
Files
jarv.is/types/index.d.ts
2022-01-18 09:25:09 -05:00

33 lines
591 B
TypeScript

import type { MDXRemoteSerializeResult } from "next-mdx-remote";
export type NoteMetaType = {
title: string;
htmlTitle: string;
date: string;
slug: string;
permalink: string;
description?: string;
image?: string;
tags?: string[];
readingMins?: number;
noComments?: boolean;
};
export type NoteType = {
frontMatter: NoteMetaType;
source: MDXRemoteSerializeResult;
};
export type RepoType = {
name: string;
url: string;
description?: string;
language?: {
name: string;
color?: string;
};
stars?: number;
forks?: number;
updatedAt: string;
};