@jdg-keyforge/protocol 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common.d.ts +50 -4
- package/dist/events/action_invoked.d.ts +60 -0
- package/dist/events/action_invoked.js +7 -0
- package/dist/index.d.ts +5 -0
- package/dist/methods/hello.d.ts +1 -1
- package/dist/methods/inspect_plugin.d.ts +149 -0
- package/dist/methods/inspect_plugin.js +7 -0
- package/dist/methods/install_plugin.d.ts +163 -0
- package/dist/methods/install_plugin.js +7 -0
- package/dist/methods/list_plugins.d.ts +160 -0
- package/dist/methods/list_plugins.js +7 -0
- package/dist/methods/uninstall_plugin.d.ts +21 -0
- package/dist/methods/uninstall_plugin.js +7 -0
- package/package.json +1 -1
- package/src/common.ts +50 -4
- package/src/events/action_invoked.ts +63 -0
- package/src/index.ts +5 -0
- package/src/methods/hello.ts +1 -1
- package/src/methods/inspect_plugin.ts +152 -0
- package/src/methods/install_plugin.ts +166 -0
- package/src/methods/list_plugins.ts +163 -0
- package/src/methods/uninstall_plugin.ts +24 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Id of the plugin to uninstall.
|
|
10
|
+
*/
|
|
11
|
+
export type PluginID = string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Stops the plugin's process and deletes its folder. Bindings that use the plugin's actions are left untouched (orphaned): while the plugin is missing, firing them does nothing, and reinstalling the plugin makes them work again.
|
|
15
|
+
*/
|
|
16
|
+
export interface MethodUninstallPlugin {
|
|
17
|
+
params: {
|
|
18
|
+
id: PluginID;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Empty acknowledgement object. Reserved for future fields without breaking the schema.
|
|
22
|
+
*/
|
|
23
|
+
result: {};
|
|
24
|
+
}
|