Implement some actions: comment, send and cancel like, delete media for group album!
This commit is contained in:
1 parent
e2ee528939
commit
64530cc287
7 files changed
+495
-3
No files matched your search
@@ -129,7 +129,11 @@ import {
|
||||
getGroupAlbumListWeb as getGroupAlbumListWeb_,
|
||||
uploadImageToGroupAlbumWeb as uploadImageToGroupAlbumWeb_,
|
||||
} from './web-actions';
|
||||
import { getGroupAlbumMediaList as getGroupAlbumMediaList_ } from './actions/group-album';
|
||||
import { getGroupAlbumMediaList as getGroupAlbumMediaList_,
|
||||
commentGroupAlbumMedia as commentGroupAlbumMedia_,
|
||||
likeGroupAlbumMedia as likeGroupAlbumMedia_,
|
||||
deleteGroupAlbumMedia as deleteGroupAlbumMedia_,
|
||||
} from './actions/group-album';
|
||||
import type { GroupFilesResult } from './actions/group-file';
|
||||
import type { MediaIndexNode } from './actions/shared';
|
||||
import { BridgeEventBus } from './event-bus';
|
||||
@@ -499,6 +503,18 @@ export class Bridge implements BridgeInterface {
|
||||
return getGroupAlbumMediaList_(this, groupId, albumId, attachInfo);
|
||||
}
|
||||
|
||||
async commentGroupAlbumMedia(groupId: number, albumId: string, lloc: string, content: string): Promise<any> {
|
||||
return commentGroupAlbumMedia_(this, groupId, albumId, lloc, content);
|
||||
}
|
||||
|
||||
async likeGroupAlbumMedia(groupId: number, albumId: string, batchId: string, lloc: string | undefined, isLike: boolean): Promise<any> {
|
||||
return likeGroupAlbumMedia_(this, groupId, albumId, batchId, lloc, isLike);
|
||||
}
|
||||
|
||||
async deleteGroupAlbumMedia(groupId: number, albumId: string, lloc: string): Promise<any> {
|
||||
return deleteGroupAlbumMedia_(this, groupId, albumId, lloc);
|
||||
}
|
||||
|
||||
async sendGroupNotice(groupId: number, content: string, options?: any) {
|
||||
return sendGroupNotice_(this, groupId, content, options);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user