mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 03:05:21 +09:00
.
This commit is contained in:
14
info.ts
14
info.ts
@@ -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',
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user