Files
tsclass/ts/content/article.ts

24 lines
309 B
TypeScript
Raw Normal View History

2018-06-09 15:11:37 +02:00
import { IAuthor } from '../index';
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
*/
2018-06-09 15:11:37 +02:00
title: string;
2016-11-16 22:50:36 +01:00
2017-03-16 19:34:27 +01:00
/**
* the Author of an article
*/
2018-06-09 15:11:37 +02:00
author: IAuthor;
2016-11-16 18:27:41 +01:00
2017-03-16 19:34:27 +01:00
/**
* the content of an article
*/
2018-06-09 15:11:37 +02:00
content: string;
2016-11-16 18:27:41 +01:00
2017-03-16 19:34:27 +01:00
/**
* the tags of an article
*/
2018-06-09 15:11:37 +02:00
tags: string[];
2017-06-10 12:29:54 +02:00
}