import { SharedLinkEntity } from '@app/infra/entities'; export const ISharedLinkRepository = 'ISharedLinkRepository'; export interface ISharedLinkRepository { getAll(userId: string): Promise; get(userId: string, id: string): Promise; getByKey(key: Buffer): Promise; create(entity: Partial): Promise; update(entity: Partial): Promise; remove(entity: SharedLinkEntity): Promise; }