add now features
This commit is contained in:
29
frontend/src/types/nextcloud.types.ts
Normal file
29
frontend/src/types/nextcloud.types.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
export interface NextcloudConversation {
|
||||
token: string;
|
||||
displayName: string;
|
||||
unreadMessages: number;
|
||||
lastActivity: number;
|
||||
lastMessage: {
|
||||
text: string;
|
||||
author: string;
|
||||
timestamp: number;
|
||||
} | null;
|
||||
type: number;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface NextcloudTalkData {
|
||||
connected: boolean;
|
||||
totalUnread?: number;
|
||||
conversations?: NextcloudConversation[];
|
||||
}
|
||||
|
||||
export interface NextcloudConnectData {
|
||||
loginUrl: string;
|
||||
pollToken: string;
|
||||
pollEndpoint: string;
|
||||
}
|
||||
|
||||
export interface NextcloudPollData {
|
||||
completed: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user