From 4d7b3b543b19c050fcd5e6e23a3af40c78c44e5e Mon Sep 17 00:00:00 2001 From: Sainan Date: Fri, 21 Feb 2025 08:29:42 +0100 Subject: [PATCH] fix: typings not matching reality --- src/services/configService.ts | 6 +++--- src/types/loginTypes.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/services/configService.ts b/src/services/configService.ts index d046a1ee..bb4d5c96 100644 --- a/src/services/configService.ts +++ b/src/services/configService.ts @@ -33,9 +33,9 @@ interface IConfig { httpPort?: number; httpsPort?: number; myIrcAddresses?: string[]; - platformCDNs: string[]; - hubAddress: string; - NRS: string[]; + platformCDNs?: string[]; + hubAddress?: string; + NRS?: string[]; administratorNames?: string[] | string; autoCreateAccount?: boolean; skipTutorial?: boolean; diff --git a/src/types/loginTypes.ts b/src/types/loginTypes.ts index 728fde52..687d611e 100644 --- a/src/types/loginTypes.ts +++ b/src/types/loginTypes.ts @@ -39,11 +39,11 @@ export interface ILoginResponse extends IAccountAndLoginResponseCommons { Groups: IGroup[]; BuildLabel: string; MatchmakingBuildId: string; - platformCDNs: string[]; - NRS: string[]; + platformCDNs?: string[]; + NRS?: string[]; DTLS: number; IRC: string[]; - HUB: string; + HUB?: string; } export interface IGroup {