@xyo-network/node-system-info-payload-plugin 2.99.3 → 2.99.5
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/browser/Payload.d.cts +1 -1
- package/dist/browser/Payload.d.mts +1 -1
- package/dist/browser/Payload.d.ts +1 -1
- package/dist/browser/Plugin.d.cts +1 -1
- package/dist/browser/Plugin.d.mts +1 -1
- package/dist/browser/Plugin.d.ts +1 -1
- package/dist/browser/Template.d.cts +1 -1
- package/dist/browser/Template.d.mts +1 -1
- package/dist/browser/Template.d.ts +1 -1
- package/dist/browser/index.cjs +7 -6
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +4 -4
- package/dist/browser/index.d.mts +4 -4
- package/dist/browser/index.d.ts +4 -4
- package/dist/browser/{index.js → index.mjs} +10 -7
- package/dist/browser/index.mjs.map +1 -0
- package/dist/neutral/Payload.d.cts +1 -1
- package/dist/neutral/Payload.d.mts +1 -1
- package/dist/neutral/Payload.d.ts +1 -1
- package/dist/neutral/Plugin.d.cts +1 -1
- package/dist/neutral/Plugin.d.mts +1 -1
- package/dist/neutral/Plugin.d.ts +1 -1
- package/dist/neutral/Template.d.cts +1 -1
- package/dist/neutral/Template.d.mts +1 -1
- package/dist/neutral/Template.d.ts +1 -1
- package/dist/neutral/index.cjs +7 -6
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +4 -4
- package/dist/neutral/index.d.mts +4 -4
- package/dist/neutral/index.d.ts +4 -4
- package/dist/{node/index.js → neutral/index.mjs} +10 -7
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/node/Payload.d.cts +1 -1
- package/dist/node/Payload.d.mts +1 -1
- package/dist/node/Payload.d.ts +1 -1
- package/dist/node/Plugin.d.cts +1 -1
- package/dist/node/Plugin.d.mts +1 -1
- package/dist/node/Plugin.d.ts +1 -1
- package/dist/node/Template.d.cts +1 -1
- package/dist/node/Template.d.mts +1 -1
- package/dist/node/Template.d.ts +1 -1
- package/dist/node/index.cjs +7 -6
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +4 -4
- package/dist/node/index.d.mts +4 -4
- package/dist/node/index.d.ts +4 -4
- package/dist/{neutral/index.js → node/index.mjs} +10 -7
- package/dist/node/index.mjs.map +1 -0
- package/package.json +9 -9
- package/src/Payload.ts +1 -1
- package/src/Plugin.ts +3 -3
- package/src/Template.ts +2 -2
- package/src/index.ts +4 -4
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/browser/Plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/browser/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -35,7 +36,7 @@ var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
|
35
36
|
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
36
37
|
|
|
37
38
|
// src/Template.ts
|
|
38
|
-
var defaultSystemInfoConfig = () => {
|
|
39
|
+
var defaultSystemInfoConfig = /* @__PURE__ */ __name(() => {
|
|
39
40
|
return {
|
|
40
41
|
audio: "*",
|
|
41
42
|
battery: "*",
|
|
@@ -51,14 +52,14 @@ var defaultSystemInfoConfig = () => {
|
|
|
51
52
|
usb: "*",
|
|
52
53
|
wifiInterfaces: "*"
|
|
53
54
|
};
|
|
54
|
-
};
|
|
55
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
55
|
+
}, "defaultSystemInfoConfig");
|
|
56
|
+
var systemInfoNodeWitnessTemplate = /* @__PURE__ */ __name(() => ({
|
|
56
57
|
schema: NodeSystemInfoSchema
|
|
57
|
-
});
|
|
58
|
+
}), "systemInfoNodeWitnessTemplate");
|
|
58
59
|
|
|
59
60
|
// src/Plugin.ts
|
|
60
|
-
var NodeSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
|
+
var NodeSystemInfoPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
62
|
schema: NodeSystemInfoSchema,
|
|
62
63
|
template: systemInfoNodeWitnessTemplate
|
|
63
|
-
});
|
|
64
|
+
}), "NodeSystemInfoPayloadPlugin");
|
|
64
65
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload.ts'\n// eslint-disable-next-line import/no-default-export\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts'\nexport * from './Schema.ts'\nexport * from './Template.ts'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACAA,4BAAoC;;;ACC7B,IAAMA,uBAA6C;;;ACE1D,IAAMC,0BAA0B,6BAAA;AAC9B,SAAO;IACLC,OAAO;IACPC,SAAS;IACTC,WAAW;IACXC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,mBAAmB;IACnBC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,gBAAgB;EAClB;AACF,GAhBgC;AAkBhC,IAAMC,gCAAgC,8BAA8B;EAClEC,QAAQC;AACV,IAFsC;;;AFf/B,IAAMC,8BAA8B,iCACzCC,2CAA2C;EACzCC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJyC;","names":["NodeSystemInfoSchema","defaultSystemInfoConfig","audio","battery","bluetooth","cpu","diskLayout","graphics","mem","networkInterfaces","osInfo","printer","system","usb","wifiInterfaces","systemInfoNodeWitnessTemplate","schema","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","schema","NodeSystemInfoSchema","template","systemInfoNodeWitnessTemplate"]}
|
package/dist/browser/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Plugin.ts
|
|
2
5
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
6
|
|
|
@@ -5,7 +8,7 @@ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
|
5
8
|
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
6
9
|
|
|
7
10
|
// src/Template.ts
|
|
8
|
-
var defaultSystemInfoConfig = () => {
|
|
11
|
+
var defaultSystemInfoConfig = /* @__PURE__ */ __name(() => {
|
|
9
12
|
return {
|
|
10
13
|
audio: "*",
|
|
11
14
|
battery: "*",
|
|
@@ -21,16 +24,16 @@ var defaultSystemInfoConfig = () => {
|
|
|
21
24
|
usb: "*",
|
|
22
25
|
wifiInterfaces: "*"
|
|
23
26
|
};
|
|
24
|
-
};
|
|
25
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
27
|
+
}, "defaultSystemInfoConfig");
|
|
28
|
+
var systemInfoNodeWitnessTemplate = /* @__PURE__ */ __name(() => ({
|
|
26
29
|
schema: NodeSystemInfoSchema
|
|
27
|
-
});
|
|
30
|
+
}), "systemInfoNodeWitnessTemplate");
|
|
28
31
|
|
|
29
32
|
// src/Plugin.ts
|
|
30
|
-
var NodeSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
33
|
+
var NodeSystemInfoPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
31
34
|
schema: NodeSystemInfoSchema,
|
|
32
35
|
template: systemInfoNodeWitnessTemplate
|
|
33
|
-
});
|
|
36
|
+
}), "NodeSystemInfoPayloadPlugin");
|
|
34
37
|
export {
|
|
35
38
|
NodeSystemInfoPayloadPlugin,
|
|
36
39
|
NodeSystemInfoSchema,
|
|
@@ -38,4 +41,4 @@ export {
|
|
|
38
41
|
defaultSystemInfoConfig,
|
|
39
42
|
systemInfoNodeWitnessTemplate
|
|
40
43
|
};
|
|
41
|
-
//# sourceMappingURL=index.
|
|
44
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";;;;AAAA,SAASA,2BAA2B;;;ACC7B,IAAMC,uBAA6C;;;ACE1D,IAAMC,0BAA0B,6BAAA;AAC9B,SAAO;IACLC,OAAO;IACPC,SAAS;IACTC,WAAW;IACXC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,mBAAmB;IACnBC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,gBAAgB;EAClB;AACF,GAhBgC;AAkBhC,IAAMC,gCAAgC,8BAA8B;EAClEC,QAAQC;AACV,IAFsC;;;AFf/B,IAAMC,8BAA8B,6BACzCC,oBAA2C;EACzCC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJyC;","names":["createPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","audio","battery","bluetooth","cpu","diskLayout","graphics","mem","networkInterfaces","osInfo","printer","system","usb","wifiInterfaces","systemInfoNodeWitnessTemplate","schema","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","schema","NodeSystemInfoSchema","template","systemInfoNodeWitnessTemplate"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/neutral/Plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -35,7 +36,7 @@ var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
|
35
36
|
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
36
37
|
|
|
37
38
|
// src/Template.ts
|
|
38
|
-
var defaultSystemInfoConfig = () => {
|
|
39
|
+
var defaultSystemInfoConfig = /* @__PURE__ */ __name(() => {
|
|
39
40
|
return {
|
|
40
41
|
audio: "*",
|
|
41
42
|
battery: "*",
|
|
@@ -51,14 +52,14 @@ var defaultSystemInfoConfig = () => {
|
|
|
51
52
|
usb: "*",
|
|
52
53
|
wifiInterfaces: "*"
|
|
53
54
|
};
|
|
54
|
-
};
|
|
55
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
55
|
+
}, "defaultSystemInfoConfig");
|
|
56
|
+
var systemInfoNodeWitnessTemplate = /* @__PURE__ */ __name(() => ({
|
|
56
57
|
schema: NodeSystemInfoSchema
|
|
57
|
-
});
|
|
58
|
+
}), "systemInfoNodeWitnessTemplate");
|
|
58
59
|
|
|
59
60
|
// src/Plugin.ts
|
|
60
|
-
var NodeSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
|
+
var NodeSystemInfoPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
62
|
schema: NodeSystemInfoSchema,
|
|
62
63
|
template: systemInfoNodeWitnessTemplate
|
|
63
|
-
});
|
|
64
|
+
}), "NodeSystemInfoPayloadPlugin");
|
|
64
65
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload.ts'\n// eslint-disable-next-line import/no-default-export\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts'\nexport * from './Schema.ts'\nexport * from './Template.ts'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACAA,4BAAoC;;;ACC7B,IAAMA,uBAA6C;;;ACE1D,IAAMC,0BAA0B,6BAAA;AAC9B,SAAO;IACLC,OAAO;IACPC,SAAS;IACTC,WAAW;IACXC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,mBAAmB;IACnBC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,gBAAgB;EAClB;AACF,GAhBgC;AAkBhC,IAAMC,gCAAgC,8BAA8B;EAClEC,QAAQC;AACV,IAFsC;;;AFf/B,IAAMC,8BAA8B,iCACzCC,2CAA2C;EACzCC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJyC;","names":["NodeSystemInfoSchema","defaultSystemInfoConfig","audio","battery","bluetooth","cpu","diskLayout","graphics","mem","networkInterfaces","osInfo","printer","system","usb","wifiInterfaces","systemInfoNodeWitnessTemplate","schema","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","schema","NodeSystemInfoSchema","template","systemInfoNodeWitnessTemplate"]}
|
package/dist/neutral/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/neutral/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Plugin.ts
|
|
2
5
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
6
|
|
|
@@ -5,7 +8,7 @@ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
|
5
8
|
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
6
9
|
|
|
7
10
|
// src/Template.ts
|
|
8
|
-
var defaultSystemInfoConfig = () => {
|
|
11
|
+
var defaultSystemInfoConfig = /* @__PURE__ */ __name(() => {
|
|
9
12
|
return {
|
|
10
13
|
audio: "*",
|
|
11
14
|
battery: "*",
|
|
@@ -21,16 +24,16 @@ var defaultSystemInfoConfig = () => {
|
|
|
21
24
|
usb: "*",
|
|
22
25
|
wifiInterfaces: "*"
|
|
23
26
|
};
|
|
24
|
-
};
|
|
25
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
27
|
+
}, "defaultSystemInfoConfig");
|
|
28
|
+
var systemInfoNodeWitnessTemplate = /* @__PURE__ */ __name(() => ({
|
|
26
29
|
schema: NodeSystemInfoSchema
|
|
27
|
-
});
|
|
30
|
+
}), "systemInfoNodeWitnessTemplate");
|
|
28
31
|
|
|
29
32
|
// src/Plugin.ts
|
|
30
|
-
var NodeSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
33
|
+
var NodeSystemInfoPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
31
34
|
schema: NodeSystemInfoSchema,
|
|
32
35
|
template: systemInfoNodeWitnessTemplate
|
|
33
|
-
});
|
|
36
|
+
}), "NodeSystemInfoPayloadPlugin");
|
|
34
37
|
export {
|
|
35
38
|
NodeSystemInfoPayloadPlugin,
|
|
36
39
|
NodeSystemInfoSchema,
|
|
@@ -38,4 +41,4 @@ export {
|
|
|
38
41
|
defaultSystemInfoConfig,
|
|
39
42
|
systemInfoNodeWitnessTemplate
|
|
40
43
|
};
|
|
41
|
-
//# sourceMappingURL=index.
|
|
44
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";;;;AAAA,SAASA,2BAA2B;;;ACC7B,IAAMC,uBAA6C;;;ACE1D,IAAMC,0BAA0B,6BAAA;AAC9B,SAAO;IACLC,OAAO;IACPC,SAAS;IACTC,WAAW;IACXC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,mBAAmB;IACnBC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,gBAAgB;EAClB;AACF,GAhBgC;AAkBhC,IAAMC,gCAAgC,8BAA8B;EAClEC,QAAQC;AACV,IAFsC;;;AFf/B,IAAMC,8BAA8B,6BACzCC,oBAA2C;EACzCC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJyC;","names":["createPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","audio","battery","bluetooth","cpu","diskLayout","graphics","mem","networkInterfaces","osInfo","printer","system","usb","wifiInterfaces","systemInfoNodeWitnessTemplate","schema","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","schema","NodeSystemInfoSchema","template","systemInfoNodeWitnessTemplate"]}
|
package/dist/node/Payload.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
package/dist/node/Payload.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
package/dist/node/Payload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
3
3
|
export type NodeSystemInfoPayload = Payload<{
|
|
4
4
|
schema: NodeSystemInfoSchema;
|
|
5
5
|
systeminfo?: Record<string, unknown>;
|
package/dist/node/Plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/node/Plugin.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/node/Plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema.ts';
|
|
2
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
3
|
schema: NodeSystemInfoSchema;
|
|
4
4
|
systeminfo?: Record<string, unknown>;
|
package/dist/node/Template.d.cts
CHANGED
package/dist/node/Template.d.mts
CHANGED
package/dist/node/Template.d.ts
CHANGED
package/dist/node/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -35,7 +36,7 @@ var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
|
35
36
|
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
36
37
|
|
|
37
38
|
// src/Template.ts
|
|
38
|
-
var defaultSystemInfoConfig = () => {
|
|
39
|
+
var defaultSystemInfoConfig = /* @__PURE__ */ __name(() => {
|
|
39
40
|
return {
|
|
40
41
|
audio: "*",
|
|
41
42
|
battery: "*",
|
|
@@ -51,16 +52,16 @@ var defaultSystemInfoConfig = () => {
|
|
|
51
52
|
usb: "*",
|
|
52
53
|
wifiInterfaces: "*"
|
|
53
54
|
};
|
|
54
|
-
};
|
|
55
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
55
|
+
}, "defaultSystemInfoConfig");
|
|
56
|
+
var systemInfoNodeWitnessTemplate = /* @__PURE__ */ __name(() => ({
|
|
56
57
|
schema: NodeSystemInfoSchema
|
|
57
|
-
});
|
|
58
|
+
}), "systemInfoNodeWitnessTemplate");
|
|
58
59
|
|
|
59
60
|
// src/Plugin.ts
|
|
60
|
-
var NodeSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
|
+
var NodeSystemInfoPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
62
|
schema: NodeSystemInfoSchema,
|
|
62
63
|
template: systemInfoNodeWitnessTemplate
|
|
63
|
-
});
|
|
64
|
+
}), "NodeSystemInfoPayloadPlugin");
|
|
64
65
|
// Annotate the CommonJS export names for ESM import in node:
|
|
65
66
|
0 && (module.exports = {
|
|
66
67
|
NodeSystemInfoPayloadPlugin,
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload.ts'\n// eslint-disable-next-line import/no-default-export\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts'\nexport * from './Schema.ts'\nexport * from './Template.ts'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACAA,4BAAoC;;;ACC7B,IAAMA,uBAA6C;;;ACE1D,IAAMC,0BAA0B,6BAAA;AAC9B,SAAO;IACLC,OAAO;IACPC,SAAS;IACTC,WAAW;IACXC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,mBAAmB;IACnBC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,gBAAgB;EAClB;AACF,GAhBgC;AAkBhC,IAAMC,gCAAgC,8BAA8B;EAClEC,QAAQC;AACV,IAFsC;;;AFf/B,IAAMC,8BAA8B,iCACzCC,2CAA2C;EACzCC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJyC;","names":["NodeSystemInfoSchema","defaultSystemInfoConfig","audio","battery","bluetooth","cpu","diskLayout","graphics","mem","networkInterfaces","osInfo","printer","system","usb","wifiInterfaces","systemInfoNodeWitnessTemplate","schema","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","schema","NodeSystemInfoSchema","template","systemInfoNodeWitnessTemplate"]}
|
package/dist/node/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Template.
|
|
1
|
+
export * from './Payload.ts';
|
|
2
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts';
|
|
3
|
+
export * from './Schema.ts';
|
|
4
|
+
export * from './Template.ts';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Plugin.ts
|
|
2
5
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
6
|
|
|
@@ -5,7 +8,7 @@ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
|
5
8
|
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
6
9
|
|
|
7
10
|
// src/Template.ts
|
|
8
|
-
var defaultSystemInfoConfig = () => {
|
|
11
|
+
var defaultSystemInfoConfig = /* @__PURE__ */ __name(() => {
|
|
9
12
|
return {
|
|
10
13
|
audio: "*",
|
|
11
14
|
battery: "*",
|
|
@@ -21,16 +24,16 @@ var defaultSystemInfoConfig = () => {
|
|
|
21
24
|
usb: "*",
|
|
22
25
|
wifiInterfaces: "*"
|
|
23
26
|
};
|
|
24
|
-
};
|
|
25
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
27
|
+
}, "defaultSystemInfoConfig");
|
|
28
|
+
var systemInfoNodeWitnessTemplate = /* @__PURE__ */ __name(() => ({
|
|
26
29
|
schema: NodeSystemInfoSchema
|
|
27
|
-
});
|
|
30
|
+
}), "systemInfoNodeWitnessTemplate");
|
|
28
31
|
|
|
29
32
|
// src/Plugin.ts
|
|
30
|
-
var NodeSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
33
|
+
var NodeSystemInfoPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
31
34
|
schema: NodeSystemInfoSchema,
|
|
32
35
|
template: systemInfoNodeWitnessTemplate
|
|
33
|
-
});
|
|
36
|
+
}), "NodeSystemInfoPayloadPlugin");
|
|
34
37
|
export {
|
|
35
38
|
NodeSystemInfoPayloadPlugin,
|
|
36
39
|
NodeSystemInfoSchema,
|
|
@@ -38,4 +41,4 @@ export {
|
|
|
38
41
|
defaultSystemInfoConfig,
|
|
39
42
|
systemInfoNodeWitnessTemplate
|
|
40
43
|
};
|
|
41
|
-
//# sourceMappingURL=index.
|
|
44
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";;;;AAAA,SAASA,2BAA2B;;;ACC7B,IAAMC,uBAA6C;;;ACE1D,IAAMC,0BAA0B,6BAAA;AAC9B,SAAO;IACLC,OAAO;IACPC,SAAS;IACTC,WAAW;IACXC,KAAK;IACLC,YAAY;IACZC,UAAU;IACVC,KAAK;IACLC,mBAAmB;IACnBC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,gBAAgB;EAClB;AACF,GAhBgC;AAkBhC,IAAMC,gCAAgC,8BAA8B;EAClEC,QAAQC;AACV,IAFsC;;;AFf/B,IAAMC,8BAA8B,6BACzCC,oBAA2C;EACzCC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJyC;","names":["createPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","audio","battery","bluetooth","cpu","diskLayout","graphics","mem","networkInterfaces","osInfo","printer","system","usb","wifiInterfaces","systemInfoNodeWitnessTemplate","schema","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","schema","NodeSystemInfoSchema","template","systemInfoNodeWitnessTemplate"]}
|
package/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "^2.
|
|
14
|
-
"@xyo-network/payload-plugin": "^2.
|
|
13
|
+
"@xyo-network/payload-model": "^2.111.2",
|
|
14
|
+
"@xyo-network/payload-plugin": "^2.111.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
18
|
-
"@xylabs/tsconfig": "^3.
|
|
19
|
-
"typescript": "^5.5.
|
|
17
|
+
"@xylabs/ts-scripts-yarn3": "^3.15.13",
|
|
18
|
+
"@xylabs/tsconfig": "^3.15.13",
|
|
19
|
+
"typescript": "^5.5.4"
|
|
20
20
|
},
|
|
21
21
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
22
22
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"import": {
|
|
30
30
|
"types": "./dist/browser/index.d.mts",
|
|
31
|
-
"default": "./dist/browser/index.
|
|
31
|
+
"default": "./dist/browser/index.mjs"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"node": {
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
},
|
|
39
39
|
"import": {
|
|
40
40
|
"types": "./dist/node/index.d.mts",
|
|
41
|
-
"default": "./dist/node/index.
|
|
41
|
+
"default": "./dist/node/index.mjs"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"./package.json": "./package.json"
|
|
46
46
|
},
|
|
47
47
|
"main": "dist/node/index.cjs",
|
|
48
|
-
"module": "dist/node/index.
|
|
48
|
+
"module": "dist/node/index.mjs",
|
|
49
49
|
"types": "dist/node/index.d.ts",
|
|
50
50
|
"homepage": "https://xyo.network",
|
|
51
51
|
"license": "LGPL-3.0-only",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
|
-
"version": "2.99.
|
|
60
|
+
"version": "2.99.5",
|
|
61
61
|
"type": "module"
|
|
62
62
|
}
|
package/src/Payload.ts
CHANGED
package/src/Plugin.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createPayloadPlugin } from '@xyo-network/payload-plugin'
|
|
2
2
|
|
|
3
|
-
import { NodeSystemInfoPayload } from './Payload.
|
|
4
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
5
|
-
import { systemInfoNodeWitnessTemplate } from './Template.
|
|
3
|
+
import { NodeSystemInfoPayload } from './Payload.ts'
|
|
4
|
+
import { NodeSystemInfoSchema } from './Schema.ts'
|
|
5
|
+
import { systemInfoNodeWitnessTemplate } from './Template.ts'
|
|
6
6
|
|
|
7
7
|
export const NodeSystemInfoPayloadPlugin = () =>
|
|
8
8
|
createPayloadPlugin<NodeSystemInfoPayload>({
|
package/src/Template.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeSystemInfoPayload } from './Payload.
|
|
2
|
-
import { NodeSystemInfoSchema } from './Schema.
|
|
1
|
+
import { NodeSystemInfoPayload } from './Payload.ts'
|
|
2
|
+
import { NodeSystemInfoSchema } from './Schema.ts'
|
|
3
3
|
|
|
4
4
|
const defaultSystemInfoConfig = () => {
|
|
5
5
|
return {
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Payload.
|
|
1
|
+
export * from './Payload.ts'
|
|
2
2
|
// eslint-disable-next-line import/no-default-export
|
|
3
|
-
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.
|
|
4
|
-
export * from './Schema.
|
|
5
|
-
export * from './Template.
|
|
3
|
+
export { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin.ts'
|
|
4
|
+
export * from './Schema.ts'
|
|
5
|
+
export * from './Template.ts'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.js'\nimport { NodeSystemInfoSchema } from './Schema.js'\nimport { systemInfoNodeWitnessTemplate } from './Template.js'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.js'\nimport { NodeSystemInfoSchema } from './Schema.js'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,uBAA6C;;;ACE1D,IAAM,0BAA0B,MAAM;AACpC,SAAO;AAAA,IACL,OAAO;AAAA,IACP,SAAS;AAAA,IACT,WAAW;AAAA,IACX,KAAK;AAAA,IACL,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,KAAK;AAAA,IACL,mBAAmB;AAAA,IACnB,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,gBAAgB;AAAA,EAClB;AACF;AAEA,IAAM,gCAAgC,OAA8B;AAAA,EAClE,QAAQ;AACV;;;AFjBO,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.js'\nimport { NodeSystemInfoSchema } from './Schema.js'\nimport { systemInfoNodeWitnessTemplate } from './Template.js'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.js'\nimport { NodeSystemInfoSchema } from './Schema.js'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,uBAA6C;;;ACE1D,IAAM,0BAA0B,MAAM;AACpC,SAAO;AAAA,IACL,OAAO;AAAA,IACP,SAAS;AAAA,IACT,WAAW;AAAA,IACX,KAAK;AAAA,IACL,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,KAAK;AAAA,IACL,mBAAmB;AAAA,IACnB,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,gBAAgB;AAAA,EAClB;AACF;AAEA,IAAM,gCAAgC,OAA8B;AAAA,EAClE,QAAQ;AACV;;;AFjBO,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
|
package/dist/node/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload.js'\nimport { NodeSystemInfoSchema } from './Schema.js'\nimport { systemInfoNodeWitnessTemplate } from './Template.js'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","export type NodeSystemInfoSchema = 'network.xyo.system.info.node'\nexport const NodeSystemInfoSchema: NodeSystemInfoSchema = 'network.xyo.system.info.node'\n","import { NodeSystemInfoPayload } from './Payload.js'\nimport { NodeSystemInfoSchema } from './Schema.js'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({\n schema: NodeSystemInfoSchema,\n})\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,uBAA6C;;;ACE1D,IAAM,0BAA0B,MAAM;AACpC,SAAO;AAAA,IACL,OAAO;AAAA,IACP,SAAS;AAAA,IACT,WAAW;AAAA,IACX,KAAK;AAAA,IACL,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,KAAK;AAAA,IACL,mBAAmB;AAAA,IACnB,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,gBAAgB;AAAA,EAClB;AACF;AAEA,IAAM,gCAAgC,OAA8B;AAAA,EAClE,QAAQ;AACV;;;AFjBO,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
|