Add tournament and multiplayer community chat moderation
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 12m17s

This commit is contained in:
2026-10-27 12:54:15 +05:00
parent b8a430d4c2
commit 9c314ecb4e
19 changed files with 1070 additions and 16 deletions

View File

@@ -857,6 +857,33 @@ export type Database = {
[_ in never]: never;
};
Functions: {
party_community: {
Args: {
p_room: string;
p_access_hash: string;
p_action: string;
p_payload?: Json;
};
Returns: Json;
};
tournament_community: {
Args: {
p_tournament: string;
p_account: string;
p_action: string;
p_payload?: Json;
};
Returns: Json;
};
tournament_chat: {
Args: {
p_tournament: string;
p_account: string;
p_text?: string | null;
p_client_id?: string | null;
};
Returns: Json;
};
create_tournament: {
Args: { p_owner: string; p_payload: Json };
Returns: string;

View File

@@ -1081,5 +1081,21 @@
"Alpha": "Альфа",
"Beta": "Бета",
"Production": "Релиз",
"Bug fix": "Исправления ошибок"
"Bug fix": "Исправления ошибок",
"Party moderation": "Управление группой",
"Tournament moderation": "Управление турниром",
"Chat slow mode (seconds)": "Медленный режим чата (секунды)",
"Save slow mode": "Сохранить режим чата",
"Remove moderator": "Снять модератора",
"Make moderator": "Назначить модератором",
"Kick": "Исключить",
"Ban": "Заблокировать",
"Ban this player?": "Заблокировать этого игрока?",
"Player tag": "Метка игрока",
"Save tag": "Сохранить метку",
"Banned players": "Заблокированные игроки",
"Unban": "Разблокировать",
"Chat slow mode: wait before sending another message": "Медленный режим чата: подождите перед отправкой следующего сообщения",
"You are banned from this tournament": "Вы заблокированы в этом турнире",
"You are banned from this party": "Вы заблокированы в этой группе"
}

View File

@@ -33,6 +33,7 @@ export type RoomChat = {
name: string;
appearance?: import("./profile-appearance").ProfileAppearance;
text: string;
tag?: string | null;
createdAt: string;
}[];
};