client/data-bridge/src/definitions/data-access/WritingEntityRepository.ts
import Entity from '@/datamodel/Entity';
import EntityRevision from '@/datamodel/EntityRevision';
import EntityRevisionWithRedirect from '@/datamodel/EntityRevisionWithRedirect';
interface WritingEntityRepository {
/**
* Rejects to TechnicalProblem or EntityNotFound errors in case of problems
* @param assertUser Flag to determine if to do assert user when saving. Defaults to true
*/
saveEntity( entity: Entity, base?: EntityRevision, assertUser?: boolean ): Promise<EntityRevisionWithRedirect>;
}
export default WritingEntityRepository;