mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-14 12:49:57 +00:00
[client/ui] Finish ui-wails rename (import paths, fyne deps)
Follow-up to the rename commit: the previous commit moved the files but the post-mv string substitutions (Go imports, frontend bindings, CI config paths) were not re-staged so they slipped through. This commit applies those edits and removes the fyne dependencies from go.mod/go.sum now that the legacy fyne UI is gone.
This commit is contained in:
@@ -15,17 +15,17 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function Down(): $CancellablePromise<void> {
|
||||
return $Call.ByID(1062334452);
|
||||
return $Call.ByID(70044537);
|
||||
}
|
||||
|
||||
export function Login(p: $models.LoginParams): $CancellablePromise<$models.LoginResult> {
|
||||
return $Call.ByID(782816741, p).then(($result: any) => {
|
||||
return $Call.ByID(252661358, p).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function Logout(p: $models.LogoutParams): $CancellablePromise<void> {
|
||||
return $Call.ByID(4028053230, p);
|
||||
return $Call.ByID(3824847887, p);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -36,15 +36,15 @@ export function Logout(p: $models.LogoutParams): $CancellablePromise<void> {
|
||||
* SSO. Honors $BROWSER first, then falls back to the platform default.
|
||||
*/
|
||||
export function OpenURL(url: string): $CancellablePromise<void> {
|
||||
return $Call.ByID(4267001345, url);
|
||||
return $Call.ByID(3786555598, url);
|
||||
}
|
||||
|
||||
export function Up(p: $models.UpParams): $CancellablePromise<void> {
|
||||
return $Call.ByID(1178388469, p);
|
||||
return $Call.ByID(3381092588, p);
|
||||
}
|
||||
|
||||
export function WaitSSOLogin(p: $models.WaitSSOParams): $CancellablePromise<string> {
|
||||
return $Call.ByID(3487329509, p);
|
||||
return $Call.ByID(1751351500, p);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
|
||||
@@ -15,19 +15,19 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function Bundle(p: $models.DebugBundleParams): $CancellablePromise<$models.DebugBundleResult> {
|
||||
return $Call.ByID(1875836985, p).then(($result: any) => {
|
||||
return $Call.ByID(617551238, p).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function GetLogLevel(): $CancellablePromise<$models.LogLevel> {
|
||||
return $Call.ByID(2713455331).then(($result: any) => {
|
||||
return $Call.ByID(3832950014).then(($result: any) => {
|
||||
return $$createType1($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function SetLogLevel(lvl: $models.LogLevel): $CancellablePromise<void> {
|
||||
return $Call.ByID(2627038775, lvl);
|
||||
return $Call.ByID(4122411498, lvl);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
|
||||
@@ -19,7 +19,7 @@ import * as $models from "./models.js";
|
||||
* reverse proxy. The frontend renders these as the "exposed services" list.
|
||||
*/
|
||||
export function List(): $CancellablePromise<$models.ForwardingRule[]> {
|
||||
return $Call.ByID(3893357601).then(($result: any) => {
|
||||
return $Call.ByID(3831092172).then(($result: any) => {
|
||||
return $$createType1($result);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -15,17 +15,17 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function Deselect(p: $models.SelectNetworksParams): $CancellablePromise<void> {
|
||||
return $Call.ByID(2335193802, p);
|
||||
return $Call.ByID(3382210947, p);
|
||||
}
|
||||
|
||||
export function List(): $CancellablePromise<$models.Network[]> {
|
||||
return $Call.ByID(719769457).then(($result: any) => {
|
||||
return $Call.ByID(1550842096).then(($result: any) => {
|
||||
return $$createType1($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function Select(p: $models.SelectNetworksParams): $CancellablePromise<void> {
|
||||
return $Call.ByID(3714393053, p);
|
||||
return $Call.ByID(1339338400, p);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
|
||||
@@ -19,7 +19,7 @@ import * as $models from "./models.js";
|
||||
* Get returns the current daemon status snapshot.
|
||||
*/
|
||||
export function Get(): $CancellablePromise<$models.Status> {
|
||||
return $Call.ByID(196038193).then(($result: any) => {
|
||||
return $Call.ByID(3266051360).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
@@ -39,7 +39,7 @@ export function Get(): $CancellablePromise<$models.Status> {
|
||||
* via exponential backoff.
|
||||
*/
|
||||
export function Watch(): $CancellablePromise<void> {
|
||||
return $Call.ByID(741320382);
|
||||
return $Call.ByID(2799871735);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
|
||||
@@ -15,27 +15,27 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function Add(p: $models.ProfileRef): $CancellablePromise<void> {
|
||||
return $Call.ByID(701512397, p);
|
||||
return $Call.ByID(722930578, p);
|
||||
}
|
||||
|
||||
export function GetActive(): $CancellablePromise<$models.ActiveProfile> {
|
||||
return $Call.ByID(2605259596).then(($result: any) => {
|
||||
return $Call.ByID(3458449443).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function List(username: string): $CancellablePromise<$models.Profile[]> {
|
||||
return $Call.ByID(1745269178, username).then(($result: any) => {
|
||||
return $Call.ByID(3702185167, username).then(($result: any) => {
|
||||
return $$createType2($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function Remove(p: $models.ProfileRef): $CancellablePromise<void> {
|
||||
return $Call.ByID(2506403914, p);
|
||||
return $Call.ByID(2365690315, p);
|
||||
}
|
||||
|
||||
export function Switch(p: $models.ProfileRef): $CancellablePromise<void> {
|
||||
return $Call.ByID(3405248534, p);
|
||||
return $Call.ByID(3209858855, p);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +43,7 @@ export function Switch(p: $models.ProfileRef): $CancellablePromise<void> {
|
||||
* The frontend calls this once at boot and reuses the result.
|
||||
*/
|
||||
export function Username(): $CancellablePromise<string> {
|
||||
return $Call.ByID(1939223418);
|
||||
return $Call.ByID(262345647);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
|
||||
@@ -15,19 +15,19 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function GetConfig(p: $models.ConfigParams): $CancellablePromise<$models.Config> {
|
||||
return $Call.ByID(2849966711, p).then(($result: any) => {
|
||||
return $Call.ByID(59246988, p).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function GetFeatures(): $CancellablePromise<$models.Features> {
|
||||
return $Call.ByID(376812026).then(($result: any) => {
|
||||
return $Call.ByID(2056724965).then(($result: any) => {
|
||||
return $$createType1($result);
|
||||
});
|
||||
}
|
||||
|
||||
export function SetConfig(p: $models.SetConfigParams): $CancellablePromise<void> {
|
||||
return $Call.ByID(565510651, p);
|
||||
return $Call.ByID(26939944, p);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
|
||||
@@ -15,7 +15,7 @@ import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Cr
|
||||
import * as $models from "./models.js";
|
||||
|
||||
export function GetInstallerResult(): $CancellablePromise<$models.UpdateResult> {
|
||||
return $Call.ByID(2190725314).then(($result: any) => {
|
||||
return $Call.ByID(2533624807).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
@@ -28,11 +28,11 @@ export function GetInstallerResult(): $CancellablePromise<$models.UpdateResult>
|
||||
* before the runtime tears down.
|
||||
*/
|
||||
export function Quit(): $CancellablePromise<void> {
|
||||
return $Call.ByID(27817640);
|
||||
return $Call.ByID(409602657);
|
||||
}
|
||||
|
||||
export function Trigger(): $CancellablePromise<$models.UpdateResult> {
|
||||
return $Call.ByID(2415339649).then(($result: any) => {
|
||||
return $Call.ByID(166270378).then(($result: any) => {
|
||||
return $$createType0($result);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Create as $Create } from "@wailsio/runtime";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import * as services$0 from "../../../../netbirdio/netbird/client/ui-wails/services/models.js";
|
||||
import * as services$0 from "../../../../netbirdio/netbird/client/ui/services/models.js";
|
||||
|
||||
function configure() {
|
||||
Object.freeze(Object.assign($Create.Events, {
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { Events } from "@wailsio/runtime";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import type * as services$0 from "../../../../netbirdio/netbird/client/ui-wails/services/models.js";
|
||||
import type * as services$0 from "../../../../netbirdio/netbird/client/ui/services/models.js";
|
||||
|
||||
declare module "@wailsio/runtime" {
|
||||
namespace Events {
|
||||
|
||||
Reference in New Issue
Block a user