@ -1,5 +1,8 @@
|
||||
import type { PaginationParams } from './common';
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
interface CreateGroupParams {
|
||||
display_name: string;
|
||||
note?: string;
|
||||
@ -7,6 +10,9 @@ interface CreateGroupParams {
|
||||
header?: File;
|
||||
}
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
interface UpdateGroupParams {
|
||||
display_name?: string;
|
||||
note?: string;
|
||||
@ -14,8 +20,19 @@ interface UpdateGroupParams {
|
||||
header?: File | '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
type GetGroupMembershipsParams = Omit<PaginationParams, 'min_id'>;
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
type GetGroupMembershipRequestsParams = Omit<PaginationParams, 'min_id'>;
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
type GetGroupBlocksParams = Omit<PaginationParams, 'min_id'>;
|
||||
|
||||
export type {
|
||||
|
||||
Reference in New Issue
Block a user