Make server config properties optional

This commit is contained in:
Tobias Reisinger 2026-08-30 22:46:43 +02:00
commit 838f893938
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 5 additions and 5 deletions

View file

@ -3,6 +3,6 @@ amends "pkl:Project"
package { package {
name = "emgauwa" name = "emgauwa"
baseUri = "package://emgauwa.app/pkl/\(name)" baseUri = "package://emgauwa.app/pkl/\(name)"
version = "0.2.3" version = "0.2.4"
packageZipUrl = "https://emgauwa.app/pkl/\(name)@\(version).zip" packageZipUrl = "https://emgauwa.app/pkl/\(name)@\(version).zip"
} }

View file

@ -1,9 +1,9 @@
module emgauwa.common module emgauwa.common
class ServerConfig { class ServerConfig {
host: String host: String?
port: UInt16 port: UInt16?
token: String token: String?
} }
/// Set to a user and a group to drop privileges to after binding to the port /// Set to a user and a group to drop privileges to after binding to the port

View file

@ -2,7 +2,7 @@
amends "pkl:DocPackageInfo" amends "pkl:DocPackageInfo"
name = "Emgauwa" name = "Emgauwa"
version = "0.2.3" version = "0.2.4"
importUri = "https://emgauwa.app/" importUri = "https://emgauwa.app/"
sourceCode = "https://git.serguzim.me/emgauwa/pkl" sourceCode = "https://git.serguzim.me/emgauwa/pkl"