feat: add CategoryOverride type and isPrivate to ChannelCategory

This commit is contained in:
Jannis Braun
2026-03-21 18:19:45 +01:00
parent 448ff9a59c
commit 3300ce8d5c
+9
View File
@@ -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;