@camstack/types 0.1.32 → 0.1.33
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/mesh-network.cap.d.ts +54 -2
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +67 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -1
- package/dist/capabilities/nodes.cap.d.ts +23 -1
- package/dist/capabilities/nodes.cap.d.ts.map +1 -1
- package/dist/capabilities/user-management.cap.d.ts +4 -0
- package/dist/capabilities/user-management.cap.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +266 -0
- package/dist/generated/addon-api.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 +3 -3
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-BUBhoPUu.js → index-DRWlYskM.js} +161 -6
- package/dist/{index-BUBhoPUu.js.map → index-DRWlYskM.js.map} +1 -1
- package/dist/{index-BBVUwOlZ.mjs → index-YnRVILXN.mjs} +161 -6
- package/dist/{index-BBVUwOlZ.mjs.map → index-YnRVILXN.mjs.map} +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -3
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/api-responses.d.ts +6 -0
- package/dist/interfaces/api-responses.d.ts.map +1 -1
- package/dist/interfaces/storage.d.ts +1 -1
- package/dist/interfaces/storage.d.ts.map +1 -1
- package/dist/node.js +6 -6
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +6 -6
- package/dist/node.mjs.map +1 -1
- package/dist/storage/filesystem-storage-provider.d.ts +1 -1
- package/dist/storage/filesystem-storage-provider.d.ts.map +1 -1
- package/package.json +1 -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-DRWlYskM.js");
|
|
4
4
|
const zod = require("zod");
|
|
5
5
|
class DisposerChain {
|
|
6
6
|
disposers = [];
|
|
@@ -3374,13 +3374,17 @@ function createSystemProxy(api) {
|
|
|
3374
3374
|
join: (input) => dispatch("meshNetwork", "join", "mutation", input),
|
|
3375
3375
|
startLogin: (input) => dispatch("meshNetwork", "startLogin", "mutation", input),
|
|
3376
3376
|
leave: (input) => dispatch("meshNetwork", "leave", "mutation", input),
|
|
3377
|
+
logout: (input) => dispatch("meshNetwork", "logout", "mutation", input),
|
|
3377
3378
|
listPeers: (input) => dispatch("meshNetwork", "listPeers", "query", input),
|
|
3378
3379
|
testConnection: (input) => dispatch("meshNetwork", "testConnection", "mutation", input)
|
|
3379
3380
|
};
|
|
3380
3381
|
const meshOrchestratorInterface = {
|
|
3381
3382
|
listProviders: (input) => dispatch("meshOrchestrator", "listProviders", "query", input),
|
|
3382
3383
|
joinProvider: (input) => dispatch("meshOrchestrator", "joinProvider", "mutation", input),
|
|
3383
|
-
leaveProvider: (input) => dispatch("meshOrchestrator", "leaveProvider", "mutation", input)
|
|
3384
|
+
leaveProvider: (input) => dispatch("meshOrchestrator", "leaveProvider", "mutation", input),
|
|
3385
|
+
startLoginProvider: (input) => dispatch("meshOrchestrator", "startLoginProvider", "mutation", input),
|
|
3386
|
+
logoutProvider: (input) => dispatch("meshOrchestrator", "logoutProvider", "mutation", input),
|
|
3387
|
+
listProviderPeers: (input) => dispatch("meshOrchestrator", "listProviderPeers", "query", input)
|
|
3384
3388
|
};
|
|
3385
3389
|
const metricsProviderInterface = {
|
|
3386
3390
|
collectSnapshot: (input) => dispatch("metricsProvider", "collectSnapshot", "query", input),
|
|
@@ -3418,6 +3422,7 @@ function createSystemProxy(api) {
|
|
|
3418
3422
|
shutdownNode: (input) => dispatch("nodes", "shutdownNode", "mutation", input),
|
|
3419
3423
|
renameNode: (input) => dispatch("nodes", "renameNode", "mutation", input),
|
|
3420
3424
|
clusterAddonStatus: (input) => dispatch("nodes", "clusterAddonStatus", "query", input),
|
|
3425
|
+
getNodeAddons: (input) => dispatch("nodes", "getNodeAddons", "query", input),
|
|
3421
3426
|
setProcessLogLevel: (input) => dispatch("nodes", "setProcessLogLevel", "mutation", input),
|
|
3422
3427
|
executeQuery: (input) => dispatch("nodes", "executeQuery", "mutation", input)
|
|
3423
3428
|
};
|
|
@@ -4896,11 +4901,15 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4896
4901
|
"meshNetwork.join": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4897
4902
|
"meshNetwork.leave": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4898
4903
|
"meshNetwork.listPeers": { capName: "mesh-network", capScope: "system", addonId: null, access: "view" },
|
|
4904
|
+
"meshNetwork.logout": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4899
4905
|
"meshNetwork.startLogin": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4900
4906
|
"meshNetwork.testConnection": { capName: "mesh-network", capScope: "system", addonId: null, access: "create" },
|
|
4901
4907
|
"meshOrchestrator.joinProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4902
4908
|
"meshOrchestrator.leaveProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4909
|
+
"meshOrchestrator.listProviderPeers": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "view" },
|
|
4903
4910
|
"meshOrchestrator.listProviders": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "view" },
|
|
4911
|
+
"meshOrchestrator.logoutProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4912
|
+
"meshOrchestrator.startLoginProvider": { capName: "mesh-orchestrator", capScope: "system", addonId: null, access: "create" },
|
|
4904
4913
|
"metricsProvider.collectSnapshot": { capName: "metrics-provider", capScope: "system", addonId: null, access: "view" },
|
|
4905
4914
|
"metricsProvider.getAddonStats": { capName: "metrics-provider", capScope: "system", addonId: null, access: "view" },
|
|
4906
4915
|
"metricsProvider.getCached": { capName: "metrics-provider", capScope: "system", addonId: null, access: "view" },
|
|
@@ -4936,6 +4945,7 @@ const METHOD_ACCESS_MAP = Object.freeze({
|
|
|
4936
4945
|
"nodes.clusterAddonStatus": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4937
4946
|
"nodes.deployAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4938
4947
|
"nodes.executeQuery": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4948
|
+
"nodes.getNodeAddons": { capName: "nodes", capScope: "system", addonId: null, access: "view" },
|
|
4939
4949
|
"nodes.renameNode": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4940
4950
|
"nodes.restartAddon": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|
|
4941
4951
|
"nodes.restartNode": { capName: "nodes", capScope: "system", addonId: null, access: "create" },
|