Skip to content

Commit

Permalink
internal wails stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zveinn committed Nov 19, 2023
1 parent 4b3bf40 commit 0b4cca0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/wailsjs/go/main/Service.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import {core} from '../models';
import {main} from '../models';

export function BlockedDomainLogging(arg1:boolean):Promise<void>;

export function Connect(arg1:core.CONTROLLER_SESSION_REQUEST):Promise<main.ReturnObject>;

export function DisableAllBlocklists():Promise<void>;
Expand Down
4 changes: 4 additions & 0 deletions frontend/wailsjs/go/main/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT

export function BlockedDomainLogging(arg1) {
return window['go']['main']['Service']['BlockedDomainLogging'](arg1);
}

export function Connect(arg1) {
return window['go']['main']['Service']['Connect'](arg1);
}
Expand Down
2 changes: 2 additions & 0 deletions frontend/wailsjs/go/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export namespace core {
PrevSlot?: CONTROLLER_SESSION_REQUEST;
DisableIPv6OnConnect: boolean;
CloseConnectionsOnConnect: boolean;
CustomDNS: boolean;

static createFrom(source: any = {}) {
return new CONFIG_FORM(source);
Expand All @@ -54,6 +55,7 @@ export namespace core {
this.PrevSlot = this.convertValues(source["PrevSlot"], CONTROLLER_SESSION_REQUEST);
this.DisableIPv6OnConnect = source["DisableIPv6OnConnect"];
this.CloseConnectionsOnConnect = source["CloseConnectionsOnConnect"];
this.CustomDNS = source["CustomDNS"];
}

convertValues(a: any, classs: any, asMap: boolean = false): any {
Expand Down

0 comments on commit 0b4cca0

Please sign in to comment.