Add authentication server, dev CLI, Docker multi-service setup, and cross-platform improvements

This commit is contained in:
Ilya Groshev
2026-04-21 16:49:44 +03:00
parent 43d6527b42
commit a3fbb1aeba
121 changed files with 4523 additions and 2888 deletions
+5 -4
View File
@@ -4,23 +4,24 @@ import (
"sort"
"lunar-tear/server/internal/store"
"lunar-tear/server/internal/utils"
)
func init() {
register("IUserGimmick", func(user store.UserState) string {
s, _ := encodeJSONMaps(sortedGimmickRecords(user)...)
s, _ := utils.EncodeJSONMaps(sortedGimmickRecords(user)...)
return s
})
register("IUserGimmickOrnamentProgress", func(user store.UserState) string {
s, _ := encodeJSONMaps(sortedGimmickOrnamentProgressRecords(user)...)
s, _ := utils.EncodeJSONMaps(sortedGimmickOrnamentProgressRecords(user)...)
return s
})
register("IUserGimmickSequence", func(user store.UserState) string {
s, _ := encodeJSONMaps(sortedGimmickSequenceRecords(user)...)
s, _ := utils.EncodeJSONMaps(sortedGimmickSequenceRecords(user)...)
return s
})
register("IUserGimmickUnlock", func(user store.UserState) string {
s, _ := encodeJSONMaps(sortedGimmickUnlockRecords(user)...)
s, _ := utils.EncodeJSONMaps(sortedGimmickUnlockRecords(user)...)
return s
})
}