mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Merge branch 'Snaiker-new-group-approve-all-membershp-requests'
This commit is contained in:
commit
32bc877318
File diff suppressed because one or more lines are too long
@ -447,4 +447,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