clean-up
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -23,3 +23,5 @@ go.work
|
||||
go.work.sum
|
||||
bin/
|
||||
|
||||
/app/wails.syso
|
||||
/app/.task/
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
a3a24372c19044672ce31cbd893c4fdb
|
||||
@@ -1 +0,0 @@
|
||||
2df1ef583b0bce177684c95cf1553ed8
|
||||
@@ -1 +0,0 @@
|
||||
4a80ea531d1fa408513bc047b4b31ca6
|
||||
@@ -1 +0,0 @@
|
||||
36d2a08f044f5811ddd2d0dfa1921114
|
||||
@@ -1,4 +1,4 @@
|
||||
package app
|
||||
package main
|
||||
|
||||
import "github.com/wailsapp/wails/v3/pkg/application"
|
||||
|
||||
|
||||
@@ -31,5 +31,5 @@ blocking = true
|
||||
cmd = "KILL_STALE"
|
||||
|
||||
[[config.executes]]
|
||||
cmd = "./bin/bordro-robotu.exe"
|
||||
cmd = "./bin/bordro-robotu"
|
||||
primary = true
|
||||
|
||||
33
app/frontend/bindings/models.ts
Normal file
33
app/frontend/bindings/models.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export const LoginUser = class {
|
||||
/**
|
||||
* Creates a new LoginUser instance.
|
||||
* @constructor
|
||||
* @param {Object} source - The source object to create the LoginUser.
|
||||
* @param {string} source.UserName
|
||||
* @param {string} source.password
|
||||
* @param {string} source.Token
|
||||
* @param {boolean} source.LoggedIn
|
||||
*/
|
||||
constructor(source = {}) {
|
||||
const { userName = "", password = "", token = "", loggedIn = false } = source;
|
||||
this.userName = userName;
|
||||
this.password = password;
|
||||
this.token = token;
|
||||
this.loggedIn = loggedIn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new LoginUser instance from a string or object.
|
||||
* @param {string|object} source - The source data to create a LoginUser instance from.
|
||||
* @returns {LoginUser} A new LoginUser instance.
|
||||
*/
|
||||
static createFrom(source) {
|
||||
let parsedSource = typeof source === 'string' ? JSON.parse(source) : source;
|
||||
return new LoginUser(parsedSource);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package app
|
||||
package main
|
||||
|
||||
type LoginUser struct {
|
||||
UserName string
|
||||
|
||||
BIN
app/wails.syso
BIN
app/wails.syso
Binary file not shown.
Reference in New Issue
Block a user