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 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',
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user