返回提交历史
Modified
src/services/configService.ts
+3
-3
Modified
src/types/loginTypes.ts
+3
-3
XFEstudio/XFESpaceNinjaServer
fix: typings not matching reality
4d7b3b54
代码差异
2 个文件
+6
-6
@@ -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;
@@ -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 {