@@ -6,14 +6,16 @@ module.exports = {
6
6
stopCmd : function ( ) { return { type :'input' , subType :'stop-command' } } ,
7
7
restartCmd : function ( config ) { return { type :'input' , subType :'restart-command' , payload :config } } ,
8
8
getConfigCmd : function ( ) { return { type :'input' , subType :'config-command' } } ,
9
- getUsefulLinks : function ( ) { return { type :'input' , subType :'links-command' } }
9
+ getUsefulLinks : function ( ) { return { type :'input' , subType :'links-command' } } ,
10
+ getAvailablePlugins : function ( ) { return { type :'input' , subType :'available-plugins-command' } }
10
11
} ,
11
12
outputs : {
12
13
engineStatusLog : function ( status ) { return { type :'output' , subType :'status' , payload :status } } ,
13
14
log : function ( log ) { return { type :'output' , subType :'log' , payload :log } } ,
14
15
error : function ( error ) { return { type :'output' , subType :'error' , payload :error } } ,
15
16
config : function ( config ) { return { type :'output' , subType :'config' , payload :config } } ,
16
- usefulLinks : function ( linksObject ) { return { type :'output' , subType :'links' , payload :linksObject } }
17
+ usefulLinks : function ( linksObject ) { return { type :'output' , subType :'links' , payload :linksObject } } ,
18
+ availablePlugins : function ( pluginsArray ) { return { type :'output' , subType :'plugins' , payload :pluginsArray } }
17
19
} ,
18
20
utils : {
19
21
disconnect : 'disconnect' ,
0 commit comments