This commit is contained in:
2025-08-15 19:28:52 +09:00
parent 6724f1da6f
commit 8a12cadacf
2 changed files with 10 additions and 6 deletions

14
info.ts
View File

@@ -5,12 +5,16 @@ export class InstanceActionEvent {
static src = 'instance'; static src = 'instance';
static dst = 'controller'; static dst = 'controller';
static plugin = 'ClusterChatSync'; static plugin = 'ClusterChatSync';
instanceName: string;
action: string;
content: string;
constructor( constructor(instanceName: string, action: string, content: string) {
public instanceName: string, this.instanceName = instanceName;
public action: string, this.action = action;
public content: string this.content = content;
) {} }
static jsonSchema = { static jsonSchema = {
type: 'object', type: 'object',

View File

@@ -16,7 +16,7 @@ module.exports = (env = {}) => merge(common(env), {
name: 'ClusterChatSync', name: 'ClusterChatSync',
library: {type: 'var', name: 'plugin_ClusterChatSync' }, library: {type: 'var', name: 'plugin_ClusterChatSync' },
exposes: { exposes: {
'./': './info.js', './': './info.ts',
'./package.json': './package.json', './package.json': './package.json',
}, },
shared: { shared: {