feat: add CategoryOverride type and isPrivate to ChannelCategory
This commit is contained in:
@@ -154,9 +154,18 @@ export interface ChannelCategory {
|
||||
spaceId: string;
|
||||
name: string;
|
||||
position: number;
|
||||
isPrivate?: boolean;
|
||||
createdAt: number;
|
||||
}
|
||||
|
||||
export interface CategoryOverride {
|
||||
categoryId: string;
|
||||
targetType: 'role' | 'member';
|
||||
targetId: string;
|
||||
allow: string;
|
||||
deny: string;
|
||||
}
|
||||
|
||||
export interface Channel {
|
||||
id: string;
|
||||
spaceId: string;
|
||||
|
||||
Reference in New Issue
Block a user