@xyo-network/node-system-info-payload-plugin 2.96.0 → 2.96.2
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/Plugin.d.cts +3 -2
- package/dist/browser/Plugin.d.cts.map +1 -1
- package/dist/browser/Plugin.d.mts +3 -2
- package/dist/browser/Plugin.d.mts.map +1 -1
- package/dist/browser/Plugin.d.ts +3 -2
- package/dist/browser/Plugin.d.ts.map +1 -1
- package/dist/browser/index.cjs +1 -63
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +1 -40
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/Plugin.d.cts +3 -2
- package/dist/neutral/Plugin.d.cts.map +1 -1
- package/dist/neutral/Plugin.d.mts +3 -2
- package/dist/neutral/Plugin.d.mts.map +1 -1
- package/dist/neutral/Plugin.d.ts +3 -2
- package/dist/neutral/Plugin.d.ts.map +1 -1
- package/dist/neutral/index.cjs +1 -63
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +1 -40
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/Plugin.d.cts +3 -2
- package/dist/node/Plugin.d.cts.map +1 -1
- package/dist/node/Plugin.d.mts +3 -2
- package/dist/node/Plugin.d.mts.map +1 -1
- package/dist/node/Plugin.d.ts +3 -2
- package/dist/node/Plugin.d.ts.map +1 -1
- package/dist/node/index.cjs +1 -70
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +1 -40
- package/dist/node/index.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/browser/Plugin.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/browser/index.cjs
CHANGED
|
@@ -1,64 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
NodeSystemInfoPayloadPlugin: () => NodeSystemInfoPayloadPlugin,
|
|
24
|
-
NodeSystemInfoSchema: () => NodeSystemInfoSchema,
|
|
25
|
-
default: () => NodeSystemInfoPayloadPlugin,
|
|
26
|
-
defaultSystemInfoConfig: () => defaultSystemInfoConfig,
|
|
27
|
-
systemInfoNodeWitnessTemplate: () => systemInfoNodeWitnessTemplate
|
|
28
|
-
});
|
|
29
|
-
module.exports = __toCommonJS(src_exports);
|
|
30
|
-
|
|
31
|
-
// src/Plugin.ts
|
|
32
|
-
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
33
|
-
|
|
34
|
-
// src/Schema.ts
|
|
35
|
-
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
36
|
-
|
|
37
|
-
// src/Template.ts
|
|
38
|
-
var defaultSystemInfoConfig = () => {
|
|
39
|
-
return {
|
|
40
|
-
audio: "*",
|
|
41
|
-
battery: "*",
|
|
42
|
-
bluetooth: "*",
|
|
43
|
-
cpu: "*",
|
|
44
|
-
diskLayout: "*",
|
|
45
|
-
graphics: "*",
|
|
46
|
-
mem: "*",
|
|
47
|
-
networkInterfaces: "*",
|
|
48
|
-
osInfo: "*",
|
|
49
|
-
printer: "*",
|
|
50
|
-
system: "*",
|
|
51
|
-
usb: "*",
|
|
52
|
-
wifiInterfaces: "*"
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
56
|
-
schema: NodeSystemInfoSchema
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
// src/Plugin.ts
|
|
60
|
-
var NodeSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
|
-
schema: NodeSystemInfoSchema,
|
|
62
|
-
template: systemInfoNodeWitnessTemplate
|
|
63
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var l=(e,o)=>{for(var s in o)n(e,s,{get:o[s],enumerable:!0})},I=(e,o,s,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of i(o))!p.call(e,t)&&t!==s&&n(e,t,{get:()=>o[t],enumerable:!(f=d(o,t))||f.enumerable});return e};var S=e=>I(n({},"__esModule",{value:!0}),e);var N={};l(N,{NodeSystemInfoPayloadPlugin:()=>r,NodeSystemInfoSchema:()=>m,default:()=>r,defaultSystemInfoConfig:()=>c,systemInfoNodeWitnessTemplate:()=>a});module.exports=S(N);var y=require("@xyo-network/payload-plugin");var m="network.xyo.system.info.node";var c=()=>({audio:"*",battery:"*",bluetooth:"*",cpu:"*",diskLayout:"*",graphics:"*",mem:"*",networkInterfaces:"*",osInfo:"*",printer:"*",system:"*",usb:"*",wifiInterfaces:"*"}),a=()=>({schema:m});var r=()=>(0,y.createPayloadPlugin)({schema:m,template:a});
|
|
64
2
|
//# 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'\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iCAAAE,EAAA,yBAAAC,EAAA,YAAAD,EAAA,4BAAAE,EAAA,kCAAAC,IAAA,eAAAC,EAAAN,GCAA,IAAAO,EAAoC,uCCC7B,IAAMC,EAA6C,+BCE1D,IAAMC,EAA0B,KACvB,CACL,MAAO,IACP,QAAS,IACT,UAAW,IACX,IAAK,IACL,WAAY,IACZ,SAAU,IACV,IAAK,IACL,kBAAmB,IACnB,OAAQ,IACR,QAAS,IACT,OAAQ,IACR,IAAK,IACL,eAAgB,GAClB,GAGIC,EAAgC,KAA8B,CAClE,OAAQC,CACV,GFjBO,IAAMC,EAA8B,OACzC,uBAA2C,CACzC,OAAQC,EACR,SAAUC,CACZ,CAAC","names":["src_exports","__export","NodeSystemInfoPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","__toCommonJS","import_payload_plugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","NodeSystemInfoSchema","systemInfoNodeWitnessTemplate"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
|
-
|
|
4
|
-
// src/Schema.ts
|
|
5
|
-
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
6
|
-
|
|
7
|
-
// src/Template.ts
|
|
8
|
-
var defaultSystemInfoConfig = () => {
|
|
9
|
-
return {
|
|
10
|
-
audio: "*",
|
|
11
|
-
battery: "*",
|
|
12
|
-
bluetooth: "*",
|
|
13
|
-
cpu: "*",
|
|
14
|
-
diskLayout: "*",
|
|
15
|
-
graphics: "*",
|
|
16
|
-
mem: "*",
|
|
17
|
-
networkInterfaces: "*",
|
|
18
|
-
osInfo: "*",
|
|
19
|
-
printer: "*",
|
|
20
|
-
system: "*",
|
|
21
|
-
usb: "*",
|
|
22
|
-
wifiInterfaces: "*"
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
26
|
-
schema: NodeSystemInfoSchema
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
// src/Plugin.ts
|
|
30
|
-
var NodeSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
31
|
-
schema: NodeSystemInfoSchema,
|
|
32
|
-
template: systemInfoNodeWitnessTemplate
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
NodeSystemInfoPayloadPlugin,
|
|
36
|
-
NodeSystemInfoSchema,
|
|
37
|
-
NodeSystemInfoPayloadPlugin as default,
|
|
38
|
-
defaultSystemInfoConfig,
|
|
39
|
-
systemInfoNodeWitnessTemplate
|
|
40
|
-
};
|
|
1
|
+
import{createPayloadPlugin as m}from"@xyo-network/payload-plugin";var o="network.xyo.system.info.node";var a=()=>({audio:"*",battery:"*",bluetooth:"*",cpu:"*",diskLayout:"*",graphics:"*",mem:"*",networkInterfaces:"*",osInfo:"*",printer:"*",system:"*",usb:"*",wifiInterfaces:"*"}),e=()=>({schema:o});var t=()=>m({schema:o,template:e});export{t as NodeSystemInfoPayloadPlugin,o as NodeSystemInfoSchema,t as default,a as defaultSystemInfoConfig,e as systemInfoNodeWitnessTemplate};
|
|
41
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"
|
|
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'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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,OAAS,uBAAAA,MAA2B,8BCC7B,IAAMC,EAA6C,+BCE1D,IAAMC,EAA0B,KACvB,CACL,MAAO,IACP,QAAS,IACT,UAAW,IACX,IAAK,IACL,WAAY,IACZ,SAAU,IACV,IAAK,IACL,kBAAmB,IACnB,OAAQ,IACR,QAAS,IACT,OAAQ,IACR,IAAK,IACL,eAAgB,GAClB,GAGIC,EAAgC,KAA8B,CAClE,OAAQC,CACV,GFjBO,IAAMC,EAA8B,IACzCC,EAA2C,CACzC,OAAQC,EACR,SAAUC,CACZ,CAAC","names":["createPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","NodeSystemInfoSchema","systemInfoNodeWitnessTemplate"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/neutral/Plugin.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -1,64 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
NodeSystemInfoPayloadPlugin: () => NodeSystemInfoPayloadPlugin,
|
|
24
|
-
NodeSystemInfoSchema: () => NodeSystemInfoSchema,
|
|
25
|
-
default: () => NodeSystemInfoPayloadPlugin,
|
|
26
|
-
defaultSystemInfoConfig: () => defaultSystemInfoConfig,
|
|
27
|
-
systemInfoNodeWitnessTemplate: () => systemInfoNodeWitnessTemplate
|
|
28
|
-
});
|
|
29
|
-
module.exports = __toCommonJS(src_exports);
|
|
30
|
-
|
|
31
|
-
// src/Plugin.ts
|
|
32
|
-
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
33
|
-
|
|
34
|
-
// src/Schema.ts
|
|
35
|
-
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
36
|
-
|
|
37
|
-
// src/Template.ts
|
|
38
|
-
var defaultSystemInfoConfig = () => {
|
|
39
|
-
return {
|
|
40
|
-
audio: "*",
|
|
41
|
-
battery: "*",
|
|
42
|
-
bluetooth: "*",
|
|
43
|
-
cpu: "*",
|
|
44
|
-
diskLayout: "*",
|
|
45
|
-
graphics: "*",
|
|
46
|
-
mem: "*",
|
|
47
|
-
networkInterfaces: "*",
|
|
48
|
-
osInfo: "*",
|
|
49
|
-
printer: "*",
|
|
50
|
-
system: "*",
|
|
51
|
-
usb: "*",
|
|
52
|
-
wifiInterfaces: "*"
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
56
|
-
schema: NodeSystemInfoSchema
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
// src/Plugin.ts
|
|
60
|
-
var NodeSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
|
-
schema: NodeSystemInfoSchema,
|
|
62
|
-
template: systemInfoNodeWitnessTemplate
|
|
63
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var l=(e,o)=>{for(var s in o)n(e,s,{get:o[s],enumerable:!0})},I=(e,o,s,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of i(o))!p.call(e,t)&&t!==s&&n(e,t,{get:()=>o[t],enumerable:!(f=d(o,t))||f.enumerable});return e};var S=e=>I(n({},"__esModule",{value:!0}),e);var N={};l(N,{NodeSystemInfoPayloadPlugin:()=>r,NodeSystemInfoSchema:()=>m,default:()=>r,defaultSystemInfoConfig:()=>c,systemInfoNodeWitnessTemplate:()=>a});module.exports=S(N);var y=require("@xyo-network/payload-plugin");var m="network.xyo.system.info.node";var c=()=>({audio:"*",battery:"*",bluetooth:"*",cpu:"*",diskLayout:"*",graphics:"*",mem:"*",networkInterfaces:"*",osInfo:"*",printer:"*",system:"*",usb:"*",wifiInterfaces:"*"}),a=()=>({schema:m});var r=()=>(0,y.createPayloadPlugin)({schema:m,template:a});
|
|
64
2
|
//# 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'\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iCAAAE,EAAA,yBAAAC,EAAA,YAAAD,EAAA,4BAAAE,EAAA,kCAAAC,IAAA,eAAAC,EAAAN,GCAA,IAAAO,EAAoC,uCCC7B,IAAMC,EAA6C,+BCE1D,IAAMC,EAA0B,KACvB,CACL,MAAO,IACP,QAAS,IACT,UAAW,IACX,IAAK,IACL,WAAY,IACZ,SAAU,IACV,IAAK,IACL,kBAAmB,IACnB,OAAQ,IACR,QAAS,IACT,OAAQ,IACR,IAAK,IACL,eAAgB,GAClB,GAGIC,EAAgC,KAA8B,CAClE,OAAQC,CACV,GFjBO,IAAMC,EAA8B,OACzC,uBAA2C,CACzC,OAAQC,EACR,SAAUC,CACZ,CAAC","names":["src_exports","__export","NodeSystemInfoPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","__toCommonJS","import_payload_plugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","NodeSystemInfoSchema","systemInfoNodeWitnessTemplate"]}
|
package/dist/neutral/index.js
CHANGED
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
|
-
|
|
4
|
-
// src/Schema.ts
|
|
5
|
-
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
6
|
-
|
|
7
|
-
// src/Template.ts
|
|
8
|
-
var defaultSystemInfoConfig = () => {
|
|
9
|
-
return {
|
|
10
|
-
audio: "*",
|
|
11
|
-
battery: "*",
|
|
12
|
-
bluetooth: "*",
|
|
13
|
-
cpu: "*",
|
|
14
|
-
diskLayout: "*",
|
|
15
|
-
graphics: "*",
|
|
16
|
-
mem: "*",
|
|
17
|
-
networkInterfaces: "*",
|
|
18
|
-
osInfo: "*",
|
|
19
|
-
printer: "*",
|
|
20
|
-
system: "*",
|
|
21
|
-
usb: "*",
|
|
22
|
-
wifiInterfaces: "*"
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
26
|
-
schema: NodeSystemInfoSchema
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
// src/Plugin.ts
|
|
30
|
-
var NodeSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
31
|
-
schema: NodeSystemInfoSchema,
|
|
32
|
-
template: systemInfoNodeWitnessTemplate
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
NodeSystemInfoPayloadPlugin,
|
|
36
|
-
NodeSystemInfoSchema,
|
|
37
|
-
NodeSystemInfoPayloadPlugin as default,
|
|
38
|
-
defaultSystemInfoConfig,
|
|
39
|
-
systemInfoNodeWitnessTemplate
|
|
40
|
-
};
|
|
1
|
+
import{createPayloadPlugin as m}from"@xyo-network/payload-plugin";var o="network.xyo.system.info.node";var a=()=>({audio:"*",battery:"*",bluetooth:"*",cpu:"*",diskLayout:"*",graphics:"*",mem:"*",networkInterfaces:"*",osInfo:"*",printer:"*",system:"*",usb:"*",wifiInterfaces:"*"}),e=()=>({schema:o});var t=()=>m({schema:o,template:e});export{t as NodeSystemInfoPayloadPlugin,o as NodeSystemInfoSchema,t as default,a as defaultSystemInfoConfig,e as systemInfoNodeWitnessTemplate};
|
|
41
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"
|
|
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'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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,OAAS,uBAAAA,MAA2B,8BCC7B,IAAMC,EAA6C,+BCE1D,IAAMC,EAA0B,KACvB,CACL,MAAO,IACP,QAAS,IACT,UAAW,IACX,IAAK,IACL,WAAY,IACZ,SAAU,IACV,IAAK,IACL,kBAAmB,IACnB,OAAQ,IACR,QAAS,IACT,OAAQ,IACR,IAAK,IACL,eAAgB,GAClB,GAGIC,EAAgC,KAA8B,CAClE,OAAQC,CACV,GFjBO,IAAMC,EAA8B,IACzCC,EAA2C,CACzC,OAAQC,EACR,SAAUC,CACZ,CAAC","names":["createPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","NodeSystemInfoSchema","systemInfoNodeWitnessTemplate"]}
|
package/dist/node/Plugin.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/node/Plugin.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/node/Plugin.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodeSystemInfoSchema } from './Schema';
|
|
1
2
|
export declare const NodeSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
2
|
-
schema:
|
|
3
|
-
systeminfo?: Record<string, unknown
|
|
3
|
+
schema: NodeSystemInfoSchema;
|
|
4
|
+
systeminfo?: Record<string, unknown>;
|
|
4
5
|
}>;
|
|
5
6
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAG/C,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,71 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
NodeSystemInfoPayloadPlugin: () => NodeSystemInfoPayloadPlugin,
|
|
24
|
-
NodeSystemInfoSchema: () => NodeSystemInfoSchema,
|
|
25
|
-
default: () => NodeSystemInfoPayloadPlugin,
|
|
26
|
-
defaultSystemInfoConfig: () => defaultSystemInfoConfig,
|
|
27
|
-
systemInfoNodeWitnessTemplate: () => systemInfoNodeWitnessTemplate
|
|
28
|
-
});
|
|
29
|
-
module.exports = __toCommonJS(src_exports);
|
|
30
|
-
|
|
31
|
-
// src/Plugin.ts
|
|
32
|
-
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
33
|
-
|
|
34
|
-
// src/Schema.ts
|
|
35
|
-
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
36
|
-
|
|
37
|
-
// src/Template.ts
|
|
38
|
-
var defaultSystemInfoConfig = () => {
|
|
39
|
-
return {
|
|
40
|
-
audio: "*",
|
|
41
|
-
battery: "*",
|
|
42
|
-
bluetooth: "*",
|
|
43
|
-
cpu: "*",
|
|
44
|
-
diskLayout: "*",
|
|
45
|
-
graphics: "*",
|
|
46
|
-
mem: "*",
|
|
47
|
-
networkInterfaces: "*",
|
|
48
|
-
osInfo: "*",
|
|
49
|
-
printer: "*",
|
|
50
|
-
system: "*",
|
|
51
|
-
usb: "*",
|
|
52
|
-
wifiInterfaces: "*"
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
56
|
-
schema: NodeSystemInfoSchema
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
// src/Plugin.ts
|
|
60
|
-
var NodeSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
61
|
-
schema: NodeSystemInfoSchema,
|
|
62
|
-
template: systemInfoNodeWitnessTemplate
|
|
63
|
-
});
|
|
64
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
65
|
-
0 && (module.exports = {
|
|
66
|
-
NodeSystemInfoPayloadPlugin,
|
|
67
|
-
NodeSystemInfoSchema,
|
|
68
|
-
defaultSystemInfoConfig,
|
|
69
|
-
systemInfoNodeWitnessTemplate
|
|
70
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var l=(e,o)=>{for(var s in o)n(e,s,{get:o[s],enumerable:!0})},I=(e,o,s,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of i(o))!p.call(e,t)&&t!==s&&n(e,t,{get:()=>o[t],enumerable:!(f=d(o,t))||f.enumerable});return e};var S=e=>I(n({},"__esModule",{value:!0}),e);var N={};l(N,{NodeSystemInfoPayloadPlugin:()=>r,NodeSystemInfoSchema:()=>m,default:()=>r,defaultSystemInfoConfig:()=>c,systemInfoNodeWitnessTemplate:()=>a});module.exports=S(N);var y=require("@xyo-network/payload-plugin");var m="network.xyo.system.info.node";var c=()=>({audio:"*",battery:"*",bluetooth:"*",cpu:"*",diskLayout:"*",graphics:"*",mem:"*",networkInterfaces:"*",osInfo:"*",printer:"*",system:"*",usb:"*",wifiInterfaces:"*"}),a=()=>({schema:m});var r=()=>(0,y.createPayloadPlugin)({schema:m,template:a});0&&(module.exports={NodeSystemInfoPayloadPlugin,NodeSystemInfoSchema,defaultSystemInfoConfig,systemInfoNodeWitnessTemplate});
|
|
71
2
|
//# sourceMappingURL=index.cjs.map
|
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'\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { NodeSystemInfoPayloadPlugin as default, NodeSystemInfoPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { NodeSystemInfoPayload } from './Payload'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iCAAAE,EAAA,yBAAAC,EAAA,YAAAD,EAAA,4BAAAE,EAAA,kCAAAC,IAAA,eAAAC,EAAAN,GCAA,IAAAO,EAAoC,uCCC7B,IAAMC,EAA6C,+BCE1D,IAAMC,EAA0B,KACvB,CACL,MAAO,IACP,QAAS,IACT,UAAW,IACX,IAAK,IACL,WAAY,IACZ,SAAU,IACV,IAAK,IACL,kBAAmB,IACnB,OAAQ,IACR,QAAS,IACT,OAAQ,IACR,IAAK,IACL,eAAgB,GAClB,GAGIC,EAAgC,KAA8B,CAClE,OAAQC,CACV,GFjBO,IAAMC,EAA8B,OACzC,uBAA2C,CACzC,OAAQC,EACR,SAAUC,CACZ,CAAC","names":["src_exports","__export","NodeSystemInfoPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","__toCommonJS","import_payload_plugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","NodeSystemInfoSchema","systemInfoNodeWitnessTemplate"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
|
-
|
|
4
|
-
// src/Schema.ts
|
|
5
|
-
var NodeSystemInfoSchema = "network.xyo.system.info.node";
|
|
6
|
-
|
|
7
|
-
// src/Template.ts
|
|
8
|
-
var defaultSystemInfoConfig = () => {
|
|
9
|
-
return {
|
|
10
|
-
audio: "*",
|
|
11
|
-
battery: "*",
|
|
12
|
-
bluetooth: "*",
|
|
13
|
-
cpu: "*",
|
|
14
|
-
diskLayout: "*",
|
|
15
|
-
graphics: "*",
|
|
16
|
-
mem: "*",
|
|
17
|
-
networkInterfaces: "*",
|
|
18
|
-
osInfo: "*",
|
|
19
|
-
printer: "*",
|
|
20
|
-
system: "*",
|
|
21
|
-
usb: "*",
|
|
22
|
-
wifiInterfaces: "*"
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
var systemInfoNodeWitnessTemplate = () => ({
|
|
26
|
-
schema: NodeSystemInfoSchema
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
// src/Plugin.ts
|
|
30
|
-
var NodeSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
31
|
-
schema: NodeSystemInfoSchema,
|
|
32
|
-
template: systemInfoNodeWitnessTemplate
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
NodeSystemInfoPayloadPlugin,
|
|
36
|
-
NodeSystemInfoSchema,
|
|
37
|
-
NodeSystemInfoPayloadPlugin as default,
|
|
38
|
-
defaultSystemInfoConfig,
|
|
39
|
-
systemInfoNodeWitnessTemplate
|
|
40
|
-
};
|
|
1
|
+
import{createPayloadPlugin as m}from"@xyo-network/payload-plugin";var o="network.xyo.system.info.node";var a=()=>({audio:"*",battery:"*",bluetooth:"*",cpu:"*",diskLayout:"*",graphics:"*",mem:"*",networkInterfaces:"*",osInfo:"*",printer:"*",system:"*",usb:"*",wifiInterfaces:"*"}),e=()=>({schema:o});var t=()=>m({schema:o,template:e});export{t as NodeSystemInfoPayloadPlugin,o as NodeSystemInfoSchema,t as default,a as defaultSystemInfoConfig,e as systemInfoNodeWitnessTemplate};
|
|
41
2
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +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'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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":"
|
|
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'\nimport { NodeSystemInfoSchema } from './Schema'\nimport { systemInfoNodeWitnessTemplate } from './Template'\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'\nimport { NodeSystemInfoSchema } from './Schema'\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,OAAS,uBAAAA,MAA2B,8BCC7B,IAAMC,EAA6C,+BCE1D,IAAMC,EAA0B,KACvB,CACL,MAAO,IACP,QAAS,IACT,UAAW,IACX,IAAK,IACL,WAAY,IACZ,SAAU,IACV,IAAK,IACL,kBAAmB,IACnB,OAAQ,IACR,QAAS,IACT,OAAQ,IACR,IAAK,IACL,eAAgB,GAClB,GAGIC,EAAgC,KAA8B,CAClE,OAAQC,CACV,GFjBO,IAAMC,EAA8B,IACzCC,EAA2C,CACzC,OAAQC,EACR,SAAUC,CACZ,CAAC","names":["createPayloadPlugin","NodeSystemInfoSchema","defaultSystemInfoConfig","systemInfoNodeWitnessTemplate","NodeSystemInfoSchema","NodeSystemInfoPayloadPlugin","createPayloadPlugin","NodeSystemInfoSchema","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.106.0",
|
|
14
|
+
"@xyo-network/payload-plugin": "^2.106.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
18
|
-
"@xylabs/tsconfig": "^3.
|
|
19
|
-
"typescript": "^5.
|
|
17
|
+
"@xylabs/ts-scripts-yarn3": "^3.11.7",
|
|
18
|
+
"@xylabs/tsconfig": "^3.11.7",
|
|
19
|
+
"typescript": "^5.5.2"
|
|
20
20
|
},
|
|
21
21
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
22
22
|
"exports": {
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
|
-
"version": "2.96.
|
|
60
|
+
"version": "2.96.2",
|
|
61
61
|
"type": "module"
|
|
62
62
|
}
|