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

20 lines
416 B
TypeScript

/**
* This entity describes an external source of a copy, in most cases that is a website.
*/
interface SourceInterface extends IdentifiableInterface {
/**
* the uri to the sauce
*/
uri: string;
/**
* the site connected to the source
*/
site: Promise<SiteInterface> | Identifier | null;
/**
* the copies which can be found here
*/
copies: Promise<CopyInterface[]> | Identifier[];
}