export const IAccessRepository = 'IAccessRepository'; export interface IAccessRepository { activity: { hasOwnerAccess(userId: string, activityId: string): Promise; hasAlbumOwnerAccess(userId: string, activityId: string): Promise; hasCreateAccess(userId: string, albumId: string): Promise; }; asset: { hasOwnerAccess(userId: string, assetId: string): Promise; hasAlbumAccess(userId: string, assetId: string): Promise; hasPartnerAccess(userId: string, assetId: string): Promise; hasSharedLinkAccess(sharedLinkId: string, assetId: string): Promise; }; authDevice: { hasOwnerAccess(userId: string, deviceId: string): Promise; }; album: { hasOwnerAccess(userId: string, albumId: string): Promise; hasSharedAlbumAccess(userId: string, albumId: string): Promise; hasSharedLinkAccess(sharedLinkId: string, albumId: string): Promise; }; library: { hasOwnerAccess(userId: string, libraryId: string): Promise; hasPartnerAccess(userId: string, partnerId: string): Promise; }; timeline: { hasPartnerAccess(userId: string, partnerId: string): Promise; }; person: { hasOwnerAccess(userId: string, personId: string): Promise; }; partner: { hasUpdateAccess(userId: string, partnerId: string): Promise; }; }