Update API for Java compatibility

This commit is contained in:
NotAlexNoyle committed 2024-03-29 11:59:26 -04:00
1 parent 5009f29eb2
commit 918f1b92cb
1 file changed
+3
@@ -1,3 +1,5 @@
@file:JvmName("DiamondBankAPI") // Makes the file appear as 'DiamondBankAPI' class in Java.
package net.trueog.diamondbankog
import com.github.jasync.sql.db.asSuspending
@@ -12,6 +14,7 @@ import java.sql.SQLException
import java.util.*
class PostgreSQL {
lateinit var pool: ConnectionPool<PostgreSQLConnection>
enum class BalanceType {