24 lines
311 B
TypeScript
24 lines
311 B
TypeScript
import { content } from '..';
|
|
|
|
export interface IArticle {
|
|
/**
|
|
* the title of an article
|
|
*/
|
|
title: string;
|
|
|
|
/**
|
|
* the Author of an article
|
|
*/
|
|
author: content.IAuthor;
|
|
|
|
/**
|
|
* the content of an article
|
|
*/
|
|
content: string;
|
|
|
|
/**
|
|
* the tags of an article
|
|
*/
|
|
tags: string[];
|
|
}
|