major bug fixes & breaking change in database code

Major bug fixes and improvements have been made. There's also a breaking change for plugins using the database system. All database related functions are now async based.
This commit is contained in:
DJj123dj
2024-11-24 23:26:14 +01:00
parent 6b36b1caf6
commit b22f7b2de7
18 changed files with 141 additions and 118 deletions
+6
View File
@@ -9,6 +9,12 @@ import { ODConsoleWarningMessage, ODDebugger } from "./console"
*/
export type ODPromiseVoid = void|Promise<void>
/**## ODOptionalPromise `type`
* This is a simple type to represent a type as normal value or a promise value.
*/
export type ODOptionalPromise<T> = T|Promise<T>
/**## ODValidButtonColor `type`
* This is a collection of all the possible button colors.
*/