This commit is contained in:
2025-06-15 02:26:33 +09:00
parent a7d1438e1f
commit 7f2d16de26

View File

@@ -13,7 +13,7 @@ class InstanceActionEvent {
this.content = content; this.content = content;
} }
static jsonSchema = {type: 'object', required: ['instanceName', 'action', 'content'], properties: {'instanceName': {type: 'string'}, 'action': {type: 'string'}, 'content': {type: 'string'}},}; static jsonSchema = {type: 'object', required: ['instanceName', 'action', 'content'], properties: {'instanceName': {type: 'string'}, 'action': {type: 'string'}, 'content': {type: 'string'}}};
static fromJSON(json) {return new this(json.instanceName, json.action, json.content);} static fromJSON(json) {return new this(json.instanceName, json.action, json.content);}
} }
@@ -68,7 +68,6 @@ const plugin = {
initialValue: 'zh-Hants en' initialValue: 'zh-Hants en'
}, },
}, },
messages: [InstanceActionEvent], messages: [InstanceActionEvent],
}; };