RenaiApp/src/shared/types/entity-api/base/collection-part.d.ts

16 lines
394 B
TypeScript

/**
* This entity orders works in a collection.
* The main use case is chronological ordering.
*/
interface CollectionPartInterface extends IdentifiableInterface, OrderableInterface {
/**
* the collection thw work is a part of
*/
collection: Promise<CollectionInterface> | Identifier;
/**
* the work inside the collection
*/
work: Promise<WorkInterface> | Identifier;
}