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 dst = 'controller';
static plugin = 'ClusterChatSync';
instanceName: string;
action: string;
content: string;
constructor(
public instanceName: string,
public action: string,
public content: string
) {}
constructor(instanceName: string, action: string, content: string) {
this.instanceName = instanceName;
this.action = action;
this.content = content;
}
static jsonSchema = {
type: 'object',

View File

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