@xyo-network/node-system-info-payload-plugin 5.2.4 → 5.3.1
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/neutral/Schema.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export type NodeSystemInfoSchema =
|
|
2
|
-
export declare const NodeSystemInfoSchema:
|
|
1
|
+
export type NodeSystemInfoSchema = typeof NodeSystemInfoSchema;
|
|
2
|
+
export declare const NodeSystemInfoSchema: "network.xyo.system.info.node" & {
|
|
3
|
+
readonly __schema: true;
|
|
4
|
+
};
|
|
3
5
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA;AAC9D,eAAO,MAAM,oBAAoB;;CAAiD,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
3
|
|
|
4
4
|
// src/Schema.ts
|
|
5
|
-
|
|
5
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
6
|
+
var NodeSystemInfoSchema = asSchema("network.xyo.system.info.node", true);
|
|
6
7
|
|
|
7
8
|
// src/Template.ts
|
|
8
9
|
var defaultSystemInfoConfig = () => {
|
|
@@ -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 type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\nimport { systemInfoNodeWitnessTemplate } from './Template.ts'\n\nexport const NodeSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<NodeSystemInfoPayload>({\n schema: NodeSystemInfoSchema,\n template: systemInfoNodeWitnessTemplate,\n })\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type NodeSystemInfoSchema = typeof NodeSystemInfoSchema\nexport const NodeSystemInfoSchema = asSchema('network.xyo.system.info.node', true)\n","import type { NodeSystemInfoPayload } from './Payload.ts'\nimport { NodeSystemInfoSchema } from './Schema.ts'\n\nconst defaultSystemInfoConfig = () => {\n return {\n audio: '*',\n battery: '*',\n bluetooth: '*',\n cpu: '*',\n diskLayout: '*',\n graphics: '*',\n mem: '*',\n networkInterfaces: '*',\n osInfo: '*',\n printer: '*',\n system: '*',\n usb: '*',\n wifiInterfaces: '*',\n }\n}\n\nconst systemInfoNodeWitnessTemplate = (): NodeSystemInfoPayload => ({ schema: NodeSystemInfoSchema })\n\nexport { defaultSystemInfoConfig, systemInfoNodeWitnessTemplate }\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACApC,SAAS,gBAAgB;AAGlB,IAAM,uBAAuB,SAAS,gCAAgC,IAAI;;;ACAjF,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,EAAE,QAAQ,qBAAqB;;;AFf5F,IAAM,8BAA8B,MACzC,oBAA2C;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/node-system-info-payload-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xyo-network/payload-model": "~5.2
|
|
40
|
-
"@xyo-network/payload-plugin": "~5.2
|
|
39
|
+
"@xyo-network/payload-model": "~5.3.2",
|
|
40
|
+
"@xyo-network/payload-plugin": "~5.3.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "~7.2
|
|
44
|
-
"@xylabs/tsconfig": "~7.2
|
|
45
|
-
"@xylabs/vitest-extended": "~5.0.
|
|
43
|
+
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
44
|
+
"@xylabs/tsconfig": "~7.3.2",
|
|
45
|
+
"@xylabs/vitest-extended": "~5.0.64",
|
|
46
46
|
"typescript": "~5.9.3",
|
|
47
|
-
"vitest": "~4.0.
|
|
47
|
+
"vitest": "~4.0.18"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
package/src/Schema.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
3
|
+
export type NodeSystemInfoSchema = typeof NodeSystemInfoSchema
|
|
4
|
+
export const NodeSystemInfoSchema = asSchema('network.xyo.system.info.node', true)
|