import Relationship from '../infra/typeorm/entities/Relationship' ; import User from '../infra/typeorm/entities/User' ; interface IUsersRepository { getRelationships ( id ? , type ? ) : Promise < User [ ] > ; create ( data ) : Promise < Relationship > ; remove ( data ) : Promise < void > ; } export default IUsersRepository ;