update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user