Add access control rework
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import type { Channel } from '../../../shared-kernel';
|
||||
import type {
|
||||
Channel,
|
||||
ChannelPermissionOverride,
|
||||
RoomRole,
|
||||
RoomRoleAssignment
|
||||
} from '../../../shared-kernel';
|
||||
|
||||
export type ServerEndpointStatus = 'online' | 'offline' | 'checking' | 'unknown' | 'incompatible';
|
||||
|
||||
@@ -17,6 +22,10 @@ export interface ServerInfo {
|
||||
isPrivate: boolean;
|
||||
tags?: string[];
|
||||
channels?: Channel[];
|
||||
slowModeInterval?: number;
|
||||
roles?: RoomRole[];
|
||||
roleAssignments?: RoomRoleAssignment[];
|
||||
channelPermissions?: ChannelPermissionOverride[];
|
||||
createdAt: number;
|
||||
sourceId?: string;
|
||||
sourceName?: string;
|
||||
|
||||
Reference in New Issue
Block a user