feat: Contest mode added

This commit is contained in:
2026-07-04 22:54:41 +02:00
parent dd4b0004a5
commit e590a58702
8 changed files with 292 additions and 7 deletions
+21
View File
@@ -879,6 +879,27 @@ export namespace cluster {
}
export namespace contest {
export class Def {
code: string;
name: string;
exchange: string;
static createFrom(source: any = {}) {
return new Def(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.code = source["code"];
this.name = source["name"];
this.exchange = source["exchange"];
}
}
}
export namespace extsvc {
export class ServiceConfig {