@camstack/types 0.1.33 → 0.1.34
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/capabilities/addons.cap.d.ts +155 -3
- package/dist/capabilities/addons.cap.d.ts.map +1 -1
- package/dist/capabilities/device-export.cap.d.ts +55 -1
- package/dist/capabilities/device-export.cap.d.ts.map +1 -1
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/mesh-network.cap.d.ts +4 -0
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- package/dist/capabilities/nodes.cap.d.ts +13 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -1
- package/dist/enums/event-category.d.ts +10 -0
- package/dist/enums/event-category.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +120 -8
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts.map +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-YnRVILXN.mjs → index-Ce7RZWP4.mjs} +332 -166
- package/dist/index-Ce7RZWP4.mjs.map +1 -0
- package/dist/{index-DRWlYskM.js → index-DS7418lf.js} +172 -6
- package/dist/index-DS7418lf.js.map +1 -0
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +173 -162
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +21 -0
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/event-bus.d.ts +21 -1
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +6 -1
- package/dist/index-DRWlYskM.js.map +0 -1
- package/dist/index-YnRVILXN.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DS7418lf.js");
|
|
4
4
|
const zod = require("zod");
|
|
5
5
|
class DisposerChain {
|
|
6
6
|
disposers = [];
|
|
@@ -95,6 +95,7 @@ var EventCategory = /* @__PURE__ */ ((EventCategory2) => {
|
|
|
95
95
|
EventCategory2["SystemBoot"] = "system.boot";
|
|
96
96
|
EventCategory2["SystemAddonsReady"] = "system.addons-ready";
|
|
97
97
|
EventCategory2["SystemRestarting"] = "system.restarting";
|
|
98
|
+
EventCategory2["SystemRestartCompleted"] = "system.restart-completed";
|
|
98
99
|
EventCategory2["SystemReadyState"] = "system.ready-state";
|
|
99
100
|
EventCategory2["AddonStarted"] = "addon.started";
|
|
100
101
|
EventCategory2["AddonStopped"] = "addon.stopped";
|
|
@@ -3231,6 +3232,10 @@ function createSystemProxy(api) {
|
|
|
3231
3232
|
rollbackPackage: (input) => dispatch("addons", "rollbackPackage", "mutation", input),
|
|
3232
3233
|
forceRefresh: (input) => dispatch("addons", "forceRefresh", "mutation", input),
|
|
3233
3234
|
restartServer: (input) => dispatch("addons", "restartServer", "mutation", input),
|
|
3235
|
+
getLastRestart: (input) => dispatch("addons", "getLastRestart", "query", input),
|
|
3236
|
+
listFrameworkPackages: (input) => dispatch("addons", "listFrameworkPackages", "query", input),
|
|
3237
|
+
listCapabilityProviders: (input) => dispatch("addons", "listCapabilityProviders", "query", input),
|
|
3238
|
+
updateFrameworkPackage: (input) => dispatch("addons", "updateFrameworkPackage", "mutation", input),
|
|
3234
3239
|
getVersions: (input) => dispatch("addons", "getVersions", "query", input),
|
|
3235
3240
|
restartAddon: (input) => dispatch("addons", "restartAddon", "mutation", input),
|
|
3236
3241
|
retryLoad: (input) => dispatch("addons", "retryLoad", "mutation", input),
|
|
@@ -4702,12 +4707,15 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4702
4707
|
"addons.forceRefresh": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4703
4708
|
"addons.getAddonAutoUpdate": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4704
4709
|
"addons.getAutoUpdateSettings": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4710
|
+
"addons.getLastRestart": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4705
4711
|
"addons.getLogs": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4706
4712
|
"addons.getVersions": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4707
4713
|
"addons.installFromWorkspace": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4708
4714
|
"addons.installPackage": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4709
4715
|
"addons.isWorkspaceAvailable": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4710
4716
|
"addons.list": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4717
|
+
"addons.listCapabilityProviders": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4718
|
+
"addons.listFrameworkPackages": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4711
4719
|
"addons.listPackages": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4712
4720
|
"addons.listUpdates": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
4713
4721
|
"addons.listWorkspacePackages": { capName: "addons", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4721,6 +4729,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4721
4729
|
"addons.setAddonAutoUpdate": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4722
4730
|
"addons.setAutoUpdateSettings": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4723
4731
|
"addons.uninstallPackage": { capName: "addons", capScope: "system", addonId: null, access: "delete" },
|
|
4732
|
+
"addons.updateFrameworkPackage": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4724
4733
|
"addons.updatePackage": { capName: "addons", capScope: "system", addonId: null, access: "create" },
|
|
4725
4734
|
"addonSettings.getDeviceSettings": { capName: "addon-settings", capScope: "system", addonId: null, access: "view" },
|
|
4726
4735
|
"addonSettings.getGlobalSettings": { capName: "addon-settings", capScope: "system", addonId: null, access: "view" },
|
|
@@ -5618,6 +5627,8 @@ exports.EncodedPacketSchema = index.EncodedPacketSchema;
|
|
|
5618
5627
|
exports.EnrichedWidgetMetadataSchema = index.EnrichedWidgetMetadataSchema;
|
|
5619
5628
|
exports.EventItemSchema = index.EventItemSchema;
|
|
5620
5629
|
exports.EventKindSchema = index.EventKindSchema;
|
|
5630
|
+
exports.ExportSetupFieldSchema = index.ExportSetupFieldSchema;
|
|
5631
|
+
exports.ExportSetupSchema = index.ExportSetupSchema;
|
|
5621
5632
|
exports.ExposedDeviceSchema = index.ExposedDeviceSchema;
|
|
5622
5633
|
exports.ExposedResourceSchema = index.ExposedResourceSchema;
|
|
5623
5634
|
exports.FeatureManifestSchema = index.FeatureManifestSchema;
|