chore: 更新构建生成的 wails 绑定与 package-lock
- Wails 自动生成 score.ReconcileItem 模型定义至 models.ts 与 App.d.ts - 同步 package-lock.json 与 package.json.md5
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "huya-go-frontend",
|
||||
"version": "0.5.3",
|
||||
"version": "0.5.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "huya-go-frontend",
|
||||
"version": "0.5.3",
|
||||
"version": "0.5.4",
|
||||
"dependencies": {
|
||||
"antd": "^5.26.2",
|
||||
"lucide-react": "^0.468.0",
|
||||
|
||||
@@ -1 +1 @@
|
||||
5f1a49856d00b90dde44fb1cba44bd30
|
||||
e0e233c05b00ef1f530e32412926f966
|
||||
Vendored
+2
-1
@@ -2,6 +2,7 @@
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {gui} from '../models';
|
||||
import {logger} from '../models';
|
||||
import {score} from '../models';
|
||||
|
||||
export function CheckCookies(arg1:gui.Config):Promise<Array<gui.CookieCheckResult>>;
|
||||
|
||||
@@ -31,7 +32,7 @@ export function PreviewAccounts(arg1:string):Promise<Array<gui.AccountPreview>>;
|
||||
|
||||
export function QueryScores(arg1:gui.Config):Promise<Array<gui.ScoreResult>>;
|
||||
|
||||
export function ReconcileScores(arg1:gui.Config):Promise<Array<any>>;
|
||||
export function ReconcileScores(arg1:gui.Config):Promise<Array<score.ReconcileItem>>;
|
||||
|
||||
export function SetLogLevel(arg1:string):Promise<string>;
|
||||
|
||||
|
||||
@@ -641,3 +641,34 @@ export namespace logger {
|
||||
|
||||
}
|
||||
|
||||
export namespace score {
|
||||
|
||||
export class ReconcileItem {
|
||||
uid: number;
|
||||
beforeScore: number;
|
||||
currentScore: number;
|
||||
diffScore: number;
|
||||
targetPrice: number;
|
||||
hasBaseline: boolean;
|
||||
confirmed: boolean;
|
||||
message: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new ReconcileItem(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.uid = source["uid"];
|
||||
this.beforeScore = source["beforeScore"];
|
||||
this.currentScore = source["currentScore"];
|
||||
this.diffScore = source["diffScore"];
|
||||
this.targetPrice = source["targetPrice"];
|
||||
this.hasBaseline = source["hasBaseline"];
|
||||
this.confirmed = source["confirmed"];
|
||||
this.message = source["message"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user