27 lines
399 B
TypeScript
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[];
|
|
}
|