mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-29 18:50:51 +01:00
Approve all membership requests composer
This commit is contained in:
parent
614237a110
commit
12d4a2edbd
File diff suppressed because one or more lines are too long
@ -446,4 +446,5 @@ export class OutgoingHeader
|
|||||||
public static WELCOME_GIFT_CHANGE_EMAIL = 66;
|
public static WELCOME_GIFT_CHANGE_EMAIL = 66;
|
||||||
public static EMAIL_GET_STATUS = 2557;
|
public static EMAIL_GET_STATUS = 2557;
|
||||||
public static EMAIL_CHANGE = 3965;
|
public static EMAIL_CHANGE = 3965;
|
||||||
|
public static APPROVE_ALL_MEMBERSHIP_REQUESTS = 882;
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
import { IMessageComposer } from '../../../../../api';
|
||||||
|
|
||||||
|
export class ApproveAllMembershipRequestsMessageComposer implements IMessageComposer<ConstructorParameters<typeof ApproveAllMembershipRequestsMessageComposer>>
|
||||||
|
{
|
||||||
|
private _data: ConstructorParameters<typeof ApproveAllMembershipRequestsMessageComposer>;
|
||||||
|
|
||||||
|
constructor(groupId: number)
|
||||||
|
{
|
||||||
|
this._data = [groupId];
|
||||||
|
}
|
||||||
|
|
||||||
|
public getMessageArray()
|
||||||
|
{
|
||||||
|
return this._data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public dispose(): void
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
export * from './ApproveAllMembershipRequestsMessageComposer';
|
||||||
export * from './GroupAdminGiveComposer';
|
export * from './GroupAdminGiveComposer';
|
||||||
export * from './GroupAdminTakeComposer';
|
export * from './GroupAdminTakeComposer';
|
||||||
export * from './GroupBadgePartsComposer';
|
export * from './GroupBadgePartsComposer';
|
||||||
|
Loading…
Reference in New Issue
Block a user