Skip to content

Commit

Permalink
Added sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
mawilms committed Dec 18, 2023
1 parent e3d8621 commit 37ac96b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions frontend/src/lib/wailsjs/go/models.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export namespace settings {

export class Settings {
pluginPath: string;
dataDirectory: string;
infoUrl: string;

constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.pluginPath = source['pluginPath'];
this.dataDirectory = source['dataDirectory'];
this.infoUrl = source['infoUrl'];
}

static createFrom(source: any = {}) {
return new Settings(source);
}
}

}

0 comments on commit 37ac96b

Please sign in to comment.