import type {
  RoomMember,
  RoomPermissionKey,
  User
} from '../../../../shared-kernel';

export interface RoomPermissionDefinition {
  key: RoomPermissionKey;
  label: string;
  description: string;
}

export type MemberIdentity = Pick<RoomMember, 'id' | 'oderId'> | Pick<User, 'id' | 'oderId'> | { id?: string; oderId?: string };
