2023-06-06 22:18:38 +02:00
|
|
|
export const IAccessRepository = 'IAccessRepository';
|
|
|
|
|
|
|
|
export interface IAccessRepository {
|
|
|
|
hasPartnerAccess(userId: string, partnerId: string): Promise<boolean>;
|
2023-06-16 21:01:34 +02:00
|
|
|
hasAlbumAssetAccess(userId: string, assetId: string): Promise<boolean>;
|
|
|
|
hasOwnerAssetAccess(userId: string, assetId: string): Promise<boolean>;
|
2023-06-06 22:18:38 +02:00
|
|
|
hasPartnerAssetAccess(userId: string, assetId: string): Promise<boolean>;
|
2023-06-07 06:34:42 +02:00
|
|
|
hasSharedLinkAssetAccess(userId: string, assetId: string): Promise<boolean>;
|
2023-06-06 22:18:38 +02:00
|
|
|
}
|