fix lam bai
This commit is contained in:
10
client/frontend/wailsjs/go/main/App.d.ts
vendored
10
client/frontend/wailsjs/go/main/App.d.ts
vendored
@@ -5,12 +5,20 @@ export function CheckLoginStatus():Promise<boolean>;
|
||||
|
||||
export function ClearChatUnread():Promise<void>;
|
||||
|
||||
export function DownloadExamResource(arg1:number):Promise<string>;
|
||||
|
||||
export function GetChatConversations():Promise<Array<Record<string, any>>>;
|
||||
|
||||
export function GetChatMessages(arg1:number):Promise<Array<Record<string, any>>>;
|
||||
|
||||
export function GetChatUnread():Promise<number>;
|
||||
|
||||
export function GetExamPaperFiles():Promise<Record<string, any>>;
|
||||
|
||||
export function GetExamPaperViewURL():Promise<string>;
|
||||
|
||||
export function GetExamQuizViewURL():Promise<string>;
|
||||
|
||||
export function GetStats():Promise<Record<string, any>>;
|
||||
|
||||
export function GetStudentInfo():Promise<Record<string, any>>;
|
||||
@@ -23,6 +31,8 @@ export function OpenExamPaper():Promise<void>;
|
||||
|
||||
export function OpenExamQuiz():Promise<void>;
|
||||
|
||||
export function OpenExamResource(arg1:number):Promise<void>;
|
||||
|
||||
export function SendChatMessage(arg1:string):Promise<void>;
|
||||
|
||||
export function SendWebcamFrame(arg1:string):Promise<void>;
|
||||
|
||||
@@ -10,6 +10,10 @@ export function ClearChatUnread() {
|
||||
return window['go']['main']['App']['ClearChatUnread']();
|
||||
}
|
||||
|
||||
export function DownloadExamResource(arg1) {
|
||||
return window['go']['main']['App']['DownloadExamResource'](arg1);
|
||||
}
|
||||
|
||||
export function GetChatConversations() {
|
||||
return window['go']['main']['App']['GetChatConversations']();
|
||||
}
|
||||
@@ -22,6 +26,18 @@ export function GetChatUnread() {
|
||||
return window['go']['main']['App']['GetChatUnread']();
|
||||
}
|
||||
|
||||
export function GetExamPaperFiles() {
|
||||
return window['go']['main']['App']['GetExamPaperFiles']();
|
||||
}
|
||||
|
||||
export function GetExamPaperViewURL() {
|
||||
return window['go']['main']['App']['GetExamPaperViewURL']();
|
||||
}
|
||||
|
||||
export function GetExamQuizViewURL() {
|
||||
return window['go']['main']['App']['GetExamQuizViewURL']();
|
||||
}
|
||||
|
||||
export function GetStats() {
|
||||
return window['go']['main']['App']['GetStats']();
|
||||
}
|
||||
@@ -46,6 +62,10 @@ export function OpenExamQuiz() {
|
||||
return window['go']['main']['App']['OpenExamQuiz']();
|
||||
}
|
||||
|
||||
export function OpenExamResource(arg1) {
|
||||
return window['go']['main']['App']['OpenExamResource'](arg1);
|
||||
}
|
||||
|
||||
export function SendChatMessage(arg1) {
|
||||
return window['go']['main']['App']['SendChatMessage'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user