@xyo-network/node-system-info-payload-plugin 2.96.1 → 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.
@@ -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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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,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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,4BAAoC;;;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,UACzC,2CAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
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"]}
@@ -1,41 +1,2 @@
1
- // src/Plugin.ts
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":";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
+ {"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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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,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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,4BAAoC;;;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,UACzC,2CAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
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"]}
@@ -1,41 +1,2 @@
1
- // src/Plugin.ts
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":";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
+ {"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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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: "network.xyo.system.info.node";
3
- systeminfo?: Record<string, unknown> | undefined;
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":"AAMA,eAAO,MAAM,2BAA2B;;;EAIpC,CAAA"}
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,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
@@ -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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,4BAAoC;;;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,UACzC,2CAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
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"]}
@@ -1,41 +1,2 @@
1
- // src/Plugin.ts
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":";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
+ {"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
@@ -14,9 +14,9 @@
14
14
  "@xyo-network/payload-plugin": "^2.106.0"
15
15
  },
16
16
  "devDependencies": {
17
- "@xylabs/ts-scripts-yarn3": "^3.11.2",
18
- "@xylabs/tsconfig": "^3.11.2",
19
- "typescript": "^5.4.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.1",
60
+ "version": "2.96.2",
61
61
  "type": "module"
62
62
  }