tsclass/ts/content/author.ts
2022-06-10 13:35:00 +02:00

27 lines
399 B
TypeScript

import { general, content } from '../index.js';
/**
* answers the question "Who wrote that?"
*/
export interface IAuthor {
/**
* the first name of an author
*/
firstName: string;
/**
* the surname of an author
*/
surName: string;
/**
* the birthday of an author
*/
birthday: general.IDate;
/**
* articles of an author
*/
articles: content.IArticle[];
}