mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-20 20:41:16 -04:00
organize types a bit more sanely & bump deps
This commit is contained in:
34
types/index.d.ts
vendored
34
types/index.d.ts
vendored
@@ -1,32 +1,2 @@
|
||||
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;
|
||||
};
|
||||
export * from "./note";
|
||||
export * from "./repository";
|
||||
|
Reference in New Issue
Block a user