@deadair/sdk 0.21.0 → 0.22.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/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/plugins/plugins.client.d.ts +6 -1
- package/dist/plugins/plugins.client.d.ts.map +1 -1
- package/dist/plugins/types/plugins.types.d.ts +71 -18
- package/dist/plugins/types/plugins.types.d.ts.map +1 -1
- package/dist/settings/types/settings.types.d.ts +5 -5
- package/dist/settings/types/settings.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2300,6 +2300,16 @@ var PluginsClient = class {
|
|
|
2300
2300
|
});
|
|
2301
2301
|
return await parseJson(result);
|
|
2302
2302
|
}
|
|
2303
|
+
/**
|
|
2304
|
+
* @name List capability providers
|
|
2305
|
+
* @description Every capability more than one plugin could answer, who can answer it, and in what order the station asks them
|
|
2306
|
+
*/
|
|
2307
|
+
async listCapabilityProviders() {
|
|
2308
|
+
const result = await this.fetch(`/plugins/providers`, {
|
|
2309
|
+
method: "GET"
|
|
2310
|
+
});
|
|
2311
|
+
return await parseJson(result);
|
|
2312
|
+
}
|
|
2303
2313
|
/**
|
|
2304
2314
|
* @name Rescan plugins
|
|
2305
2315
|
* @description Rescans the mounted plugin directory: registers new plugins, unloads removed ones
|