This commit is contained in:
Matthias Hochmeister
2026-03-13 15:42:15 +01:00
parent 3dda069611
commit 75c919c063
13 changed files with 926 additions and 30 deletions

View File

@@ -39,6 +39,9 @@ export interface NextcloudMessage {
messageType: string;
systemMessage: string;
messageParameters?: Record<string, any>;
parent?: NextcloudMessage;
reactions?: Record<string, number>;
reactionsSelf?: string[];
}
export interface NextcloudRoomListData {
@@ -46,3 +49,28 @@ export interface NextcloudRoomListData {
rooms: NextcloudConversation[];
loginName?: string;
}
export interface NextcloudUser {
id: string;
label: string;
source: string;
}
export interface NextcloudReaction {
actorDisplayName: string;
actorId: string;
actorType: string;
timestamp: number;
}
export interface NextcloudPoll {
id: number;
question: string;
options: string[];
votes: Record<string, number[]>;
numVoters: number;
resultMode: number;
maxVotes: number;
votedSelf?: number[];
status: number;
}