mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 07:33:12 +09:00
expose and/or modify signatures from lib package
This commit is contained in:
1 parent
b72fa25d3f
commit
e011625a2d
5 files changed
+72
-11
No files matched your search
@@ -80,7 +80,7 @@ export class HostGenerateTokenRequest {
|
||||
static permission = "core.host.generate_token" as const;
|
||||
|
||||
constructor(
|
||||
public hostId?: number,
|
||||
public hostId: number | null = null,
|
||||
) { }
|
||||
|
||||
static jsonSchema = Type.Object({
|
||||
@@ -202,7 +202,7 @@ export class LogMessageEvent {
|
||||
static dst = ["controller", "control"] as const;
|
||||
|
||||
constructor(
|
||||
public info: object,
|
||||
public info: { level: string, message: string },
|
||||
) { }
|
||||
|
||||
static jsonSchema = Type.Object({
|
||||
|
||||
Reference in new issue
Block a user