File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/api/service/main/plugin Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " next-flow-interface" ,
3- "version" : " 0.18.22 " ,
3+ "version" : " 0.18.23 " ,
44 "description" : " Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything." ,
55 "type" : " module" ,
66 "module" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { PluginEventType } from '@/api/service/main/plugin/dto/plugin-event-type
55import { PluginServiceSubscriber } from '@/api/service/main/plugin/dto/plugin-service-subscriber.type'
66import PluginState from '@/api/service/main/plugin/dto/plugin-state.interface'
77import BasePlugin from '@/plugin/base-plugin'
8+ import { PluginType } from '@/plugin/dto/plugin-type.enum'
89
910export default interface PluginServiceApi {
1011 /**
@@ -123,4 +124,10 @@ export default interface PluginServiceApi {
123124 waitInstall ( id : string ) : Promise < void >
124125
125126 waitEnable ( id : string ) : Promise < void >
127+
128+ isOpenablePlugin ( type : PluginType ) : boolean
129+
130+ isSideBarPlugin ( type : PluginType ) : boolean
131+
132+ isViewPlugin ( type : PluginType ) : boolean
126133}
You can’t perform that action at this time.
0 commit comments