mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat: add GitHub skin store and organize instance administration
Adopt the pinned published TeamSpeak SDK and direct relay routing. Add optional TeamSpeak Query administration with encrypted credentials and separate WebSpeak access, site, operations and skin management. Distribute Discord Voice through the GitHub skin index, preserve skin state during updates, and correct KAAK scaling and screen fullscreen. Validation: 831 tests; backend and frontend builds; five-language UI checks from narrow screens through 4K and local Query fixture actions.
This commit is contained in:
1 parent
180bfeb52f
commit
0af3236c30
95 files changed
+7678
-709
No files matched your search
@@ -28,6 +28,8 @@ export interface RelayNodeInput {
|
||||
id?: string;
|
||||
name: string;
|
||||
target: string;
|
||||
/** HTTPS origin of the WebSpeak voice gateway hosted on this relay. */
|
||||
voiceEndpoint?: string;
|
||||
enabled: boolean;
|
||||
token?: string;
|
||||
tokenAction?: "keep" | "replace" | "remove";
|
||||
@@ -38,3 +40,36 @@ export interface ManagedInviteInput {
|
||||
expiresInHours: number;
|
||||
maxUses: number;
|
||||
}
|
||||
|
||||
export interface TsAdminSettingsInput {
|
||||
enabled: boolean;
|
||||
transport?: "web" | "ssh" | "tcp";
|
||||
queryHost?: string;
|
||||
webQueryUrl?: string;
|
||||
apiKey?: string;
|
||||
apiKeyAction?: "keep" | "replace" | "remove";
|
||||
/** 0 selects the fixed instance by its voice port. */
|
||||
serverId?: number;
|
||||
queryPort: number;
|
||||
username: string;
|
||||
password?: string;
|
||||
passwordAction?: "keep" | "replace" | "remove";
|
||||
hostKeyFingerprint: string;
|
||||
}
|
||||
|
||||
export type TsAdminAction =
|
||||
| { action: "server.update"; name: string; welcomeMessage: string; maxClients: number }
|
||||
| { action: "channel.create"; name: string; parentId: string; description: string; permanent: boolean; password?: string }
|
||||
| { action: "channel.update"; channelId: string; name: string }
|
||||
| { action: "channel.delete"; channelId: string }
|
||||
| { action: "client.move"; clientId: number; clientUid: string; channelId: string }
|
||||
| { action: "client.kick"; clientId: number; clientUid: string; reason: string }
|
||||
| { action: "client.ban"; clientId: number; clientUid: string; reason: string; durationSeconds: number }
|
||||
| { action: "client.group"; clientId: number; clientUid: string; groupId: string; remove: boolean }
|
||||
| { action: "ban.delete"; banId: string };
|
||||
|
||||
export interface TsAdminActionRequest {
|
||||
/** Revision of the management configuration used to read the selected objects. */
|
||||
configurationRevision: string;
|
||||
operation: TsAdminAction;
|
||||
}
|
||||
Reference in new issue
Block a user