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