RenaiApp/src/main/entities/library/i-multi-named-entity.d.ts

15 lines
281 B
TypeScript

/**
* Entities extending this interface can have multiple names.
*/
declare interface IMultiNamedEntity {
/**
* the name which is displayed in the user interface
*/
nameCanonical: string;
/**
* other names for the entity
*/
names: Promise<INameEntity[]>;
}