2016-11-16 22:50:36 +01:00
|
|
|
import { IAuthor } from './author'
|
2016-11-16 18:27:41 +01:00
|
|
|
|
2016-11-16 22:50:36 +01:00
|
|
|
export interface IArticle {
|
2017-03-16 19:34:27 +01:00
|
|
|
/**
|
|
|
|
* the title of an article
|
|
|
|
*/
|
|
|
|
title: string
|
2016-11-16 22:50:36 +01:00
|
|
|
|
2017-03-16 19:34:27 +01:00
|
|
|
/**
|
|
|
|
* the Author of an article
|
|
|
|
*/
|
|
|
|
author: IAuthor
|
2016-11-16 18:27:41 +01:00
|
|
|
|
2017-03-16 19:34:27 +01:00
|
|
|
/**
|
|
|
|
* the content of an article
|
|
|
|
*/
|
|
|
|
content: string
|
2016-11-16 18:27:41 +01:00
|
|
|
|
2017-03-16 19:34:27 +01:00
|
|
|
/**
|
|
|
|
* the tags of an article
|
|
|
|
*/
|
|
|
|
tags: string[]
|
2016-11-16 18:27:41 +01:00
|
|
|
}
|