mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-16 23:40:41 +09:00
.
This commit is contained in:
1 parent
6724f1da6f
commit
8a12cadacf
2 files changed
+10
-6
No files matched your search
@@ -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',
|
||||
|
||||
+1
-1
@@ -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