OPC
This commit is contained in:
12
types/post.ts
Normal file
12
types/post.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export type Post = {
|
||||
_id?: string;
|
||||
title: string;
|
||||
slug: string;
|
||||
markdown: string;
|
||||
cover?: string;
|
||||
tags?: string[];
|
||||
author: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
views?: number;
|
||||
};
|
||||
Reference in New Issue
Block a user