import { PartnerEntity } from '@app/infra/entities'; export interface PartnerIds { sharedById: string; sharedWithId: string; } export const IPartnerRepository = 'IPartnerRepository'; export interface IPartnerRepository { getAll(userId: string): Promise; get(partner: PartnerIds): Promise; create(partner: PartnerIds): Promise; remove(entity: PartnerEntity): Promise; hasAssetAccess(assetId: string, userId: string): Promise; }