56 lines
1.6 KiB
TypeScript
56 lines
1.6 KiB
TypeScript
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
/**
|
|
* TestService 测试服务 - 仅在开发环境使用
|
|
* @module
|
|
*/
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore: Unused imports
|
|
import {Call as $Call, Create as $Create} from "@wailsio/runtime";
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore: Unused imports
|
|
import * as application$0 from "../../../github.com/wailsapp/wails/v3/pkg/application/models.js";
|
|
|
|
/**
|
|
* ClearAll 清除所有测试状态
|
|
*/
|
|
export function ClearAll(): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(2179720854) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* ServiceStartup 服务启动时调用
|
|
*/
|
|
export function ServiceStartup(options: application$0.ServiceOptions): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(617408198, options) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* TestBadge 测试Badge功能
|
|
*/
|
|
export function TestBadge(text: string): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(4242952145, text) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* TestNotification 测试通知功能
|
|
*/
|
|
export function TestNotification(title: string, subtitle: string, body: string): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(1697553289, title, subtitle, body) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* TestUpdateNotification 测试更新通知
|
|
*/
|
|
export function TestUpdateNotification(): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(3091730060) as any;
|
|
return $resultPromise;
|
|
}
|