RenaiApp/src/shared/types/entity-api/base/multi-named.d.ts

15 lines
292 B
TypeScript

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