// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL // This file is automatically generated. DO NOT EDIT /** * DatabaseService provides shared database functionality * @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"; /** * RegisterModel 注册模型与表的映射关系 */ export function RegisterModel(tableName: string, model: any): Promise & { cancel(): void } { let $resultPromise = $Call.ByID(175397515, tableName, model) as any; return $resultPromise; } /** * ServiceShutdown shuts down the service when the application closes */ export function ServiceShutdown(): Promise & { cancel(): void } { let $resultPromise = $Call.ByID(3907893632) as any; return $resultPromise; } /** * ServiceStartup initializes the service when the application starts */ export function ServiceStartup(options: application$0.ServiceOptions): Promise & { cancel(): void } { let $resultPromise = $Call.ByID(2067840771, options) as any; return $resultPromise; }