Removed web project (galvanic authentication support in IL2CPP universal patch)

Moved instance ID to header
User instances for profile management
.. other stuff
This commit is contained in:
2025-03-22 21:57:45 -04:00
parent 73e9b72ad4
commit 6cdd0946f4
42 changed files with 663 additions and 3833 deletions

View File

@@ -20,11 +20,11 @@ Deno.addSignalListener('SIGINT', () => {
});
export const Database = new Redis({
port: config?.redis.port,
host: config?.redis.host,
username: config?.redis.username == "" ? undefined : config?.redis.username,
password: config?.redis.password == "" ? undefined : config?.redis.password,
db: config?.redis.db,
port: config.redis.port,
host: config.redis.host,
username: config.redis.username == "" ? undefined : config.redis.username,
password: config.redis.password == "" ? undefined : config.redis.password,
db: config.redis.db,
lazyConnect: true
});
Database.on('connect', async () => {
@@ -35,7 +35,7 @@ Database.on('connect', async () => {
});
});
Database.on('connecting', () => {
log.i('Connecting to Redis..');
log.n('Connecting to Redis..');
});
Database.on('error', (err) => {
log.e(`Redis error: ${err.stack}`);
@@ -50,18 +50,21 @@ export const KeyGroups = {
Dynamic: "dynamic",
Game: "game"
},
Ids: "profile-ids",
Profile_Usernames: "profile-usernames",
Profiles: {
Root: "profiles"
Root: "profiles",
Username: "username",
ProfileImage: "profileImage",
Junior: "isJunior",
Platforms: "platforms",
DisplayName: "displayname"
},
Usernames: "usernames",
Users: {
Root: "users",
Username: "username",
Password: "password",
BackupCode: "backupcode",
Profiles: "profiles",
Meta: "meta"
Pubkey: "pubkey",
Nonces: "nonces",
PlatformIds: "associatedPlatforms"
}
}
export * as Redis from "./db.ts";