Files
tsclass/ts/content/article.ts

24 lines
311 B
TypeScript
Raw Normal View History

2020-01-19 10:19:38 +00:00
import { content } from '..';
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
*/
2020-01-19 10:19:38 +00:00
author: content.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
}