66// @ts -ignore: Unused imports
77import { Call as $Call , CancellablePromise as $CancellablePromise , Create as $Create } from "@wailsio/runtime" ;
88
9+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
10+ // @ts -ignore: Unused imports
11+ import * as $models from "./models.js" ;
12+
13+ /**
14+ * @returns {$CancellablePromise<string> }
15+ */
16+ export function GetAppVersion ( ) {
17+ return $Call . ByID ( 287003546 ) ;
18+ }
19+
20+ /**
21+ * @param {string } inviteCode
22+ * @returns {$CancellablePromise<$models.DiscordInvite | null> }
23+ */
24+ export function GetDiscordStats ( inviteCode ) {
25+ return $Call . ByID ( 1690288880 , inviteCode ) . then ( /** @type {($result: any) => any } */ ( ( $result ) => {
26+ return $$createType1 ( $result ) ;
27+ } ) ) ;
28+ }
29+
930/**
1031 * Запуск игры с аргументами
1132 * @param {string } path
@@ -32,3 +53,15 @@ export function OpenFile(path) {
3253export function OpenFolderInExplorer ( path ) {
3354 return $Call . ByID ( 3950432153 , path ) ;
3455}
56+
57+ /**
58+ * @param {string } url
59+ * @returns {$CancellablePromise<void> }
60+ */
61+ export function OpenURL ( url ) {
62+ return $Call . ByID ( 3202016086 , url ) ;
63+ }
64+
65+ // Private type creation functions
66+ const $$createType0 = $models . DiscordInvite . createFrom ;
67+ const $$createType1 = $Create . Nullable ( $$createType0 ) ;
0 commit comments