1.0.4 RC2

This commit is contained in:
phidias authored and GitHub committed 2026-10-12 20:04:41 +09:00
1 parent 8ba2c9bffa
commit 7a9165bd35
1 file changed
+2 -2
+2 -2
View File
@@ -16,13 +16,13 @@ export class ChatEvent {
public message: string, public message: string,
) {} ) {}
static json_schema = Type.Object({ static jsonSchema = Type.Object({
'instance_name': Type.String(), 'instance_name': Type.String(),
'datetime': Type.String(), 'datetime': Type.String(),
'message': Type.String(), 'message': Type.String(),
}); });
static fromJSON(json: Static<typeof ChatEvent.json_schema>) { static fromJSON(json: Static<typeof ChatEvent.jsonSchema>) {
return new this(json.instance_name, json.datetime, json.message); return new this(json.instance_name, json.datetime, json.message);
} }
} }