Harden join auth flow and sync project baseline

This commit is contained in:
Foxyz committed 2026-02-20 03:43:50 +03:00
1 parent 6a8977c4c3
commit 23602efd5f
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
import 'package:chat_server/models.dart';
import 'package:chat_server/objectbox.g.dart';
late final Store store;
late final Box<ChatUser> userBox;
late final Box<ChatChannel> channelBox;
late final Box<ChatMessage> messageBox;
void initializeStore() {
store = openStore();
userBox = store.box<ChatUser>();
channelBox = store.box<ChatChannel>();
messageBox = store.box<ChatMessage>();
}