RenaiApp/src/shared/types/entity-api/base/work-author.d.ts

20 lines
429 B
TypeScript

/**
* This entity connects authors with their work and their role therein.
*/
interface WorkAuthorInterface extends IdentifiableInterface, OrderableInterface {
/**
* the work
*/
work: Promise<WorkInterface> | Identifier;
/**
* the roles of the author in the work
*/
authorRoles: Promise<AuthorRoleInterface[]> | Identifier[];
/**
* the author
*/
author: Promise<AuthorInterface> | Identifier;
}