XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: typings not matching reality

4d7b3b54
Sainan <sainan@calamity.inc>
提交于

代码差异

2 个文件 +6 -6
Modified src/services/configService.ts +3 -3
@@ -33,9 +33,9 @@ interface IConfig {
33 33 httpPort?: number;
34 34 httpsPort?: number;
35 35 myIrcAddresses?: string[];
36 platformCDNs: string[];
37 hubAddress: string;
38 NRS: string[];
36 platformCDNs?: string[];
37 hubAddress?: string;
38 NRS?: string[];
39 39 administratorNames?: string[] | string;
40 40 autoCreateAccount?: boolean;
41 41 skipTutorial?: boolean;
Modified src/types/loginTypes.ts +3 -3
@@ -39,11 +39,11 @@ export interface ILoginResponse extends IAccountAndLoginResponseCommons {
39 39 Groups: IGroup[];
40 40 BuildLabel: string;
41 41 MatchmakingBuildId: string;
42 platformCDNs: string[];
43 NRS: string[];
42 platformCDNs?: string[];
43 NRS?: string[];
44 44 DTLS: number;
45 45 IRC: string[];
46 HUB: string;
46 HUB?: string;
47 47 }
48 48
49 49 export interface IGroup {