@xyo-network/node-system-info-plugin 4.0.0 → 4.1.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/node/index.d.ts +24 -0
- package/dist/node/spec/Plugin.spec.d.ts +2 -0
- package/dist/node/spec/Plugin.spec.d.ts.map +1 -0
- package/dist/node/spec/Witness.spec.d.ts +2 -0
- package/dist/node/spec/Witness.spec.d.ts.map +1 -0
- package/package.json +14 -14
- package/dist/types/index.d.ts +0 -4
- /package/dist/{types → node}/Config.d.ts +0 -0
- /package/dist/{types → node}/Config.d.ts.map +0 -0
- /package/dist/{types → node}/Plugin.d.ts +0 -0
- /package/dist/{types → node}/Plugin.d.ts.map +0 -0
- /package/dist/{types → node}/Witness.d.ts +0 -0
- /package/dist/{types → node}/Witness.d.ts.map +0 -0
- /package/dist/{types → node}/index.d.ts.map +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { WitnessConfig, WitnessParams, WitnessModule } from '@xyo-network/witness-model';
|
|
2
|
+
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
3
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
4
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
5
|
+
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
6
|
+
|
|
7
|
+
type NodeSystemInfoWitnessConfigSchema = 'network.xyo.system.info.witness.node.config';
|
|
8
|
+
declare const NodeSystemInfoWitnessConfigSchema: NodeSystemInfoWitnessConfigSchema;
|
|
9
|
+
type NodeSystemInfoWitnessConfig = WitnessConfig<{
|
|
10
|
+
nodeValues?: Record<string, string>;
|
|
11
|
+
schema: NodeSystemInfoWitnessConfigSchema;
|
|
12
|
+
}>;
|
|
13
|
+
|
|
14
|
+
type NodeSystemInfoWitnessParams = WitnessParams<AnyConfigSchema<NodeSystemInfoWitnessConfig>>;
|
|
15
|
+
declare class NodeSystemInfoWitness<TParams extends NodeSystemInfoWitnessParams = NodeSystemInfoWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
|
|
16
|
+
static readonly configSchemas: Schema[];
|
|
17
|
+
static readonly defaultConfigSchema: Schema;
|
|
18
|
+
protected observeHandler(payloads?: Payload[]): Promise<any[]>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare const NodeSystemInfoPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<NodeSystemInfoWitness<NodeSystemInfoWitnessParams>>;
|
|
22
|
+
|
|
23
|
+
export { NodeSystemInfoPlugin, NodeSystemInfoWitness, NodeSystemInfoWitnessConfigSchema, NodeSystemInfoPlugin as default };
|
|
24
|
+
export type { NodeSystemInfoWitnessConfig, NodeSystemInfoWitnessParams };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Plugin.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Witness.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/node-system-info-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/node/index.d.ts",
|
|
25
25
|
"default": "./dist/node/index.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"module": "dist/node/index.mjs",
|
|
30
|
-
"types": "dist/
|
|
30
|
+
"types": "dist/node/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xyo-network/abstract-witness": "^4.
|
|
33
|
-
"@xyo-network/module-model": "^4.
|
|
34
|
-
"@xyo-network/node-system-info-payload-plugin": "^4.
|
|
35
|
-
"@xyo-network/payload-model": "^4.
|
|
36
|
-
"@xyo-network/payloadset-plugin": "^4.
|
|
37
|
-
"@xyo-network/witness-model": "^4.
|
|
32
|
+
"@xyo-network/abstract-witness": "^4.1.7",
|
|
33
|
+
"@xyo-network/module-model": "^4.1.7",
|
|
34
|
+
"@xyo-network/node-system-info-payload-plugin": "^4.1.1",
|
|
35
|
+
"@xyo-network/payload-model": "^4.1.7",
|
|
36
|
+
"@xyo-network/payloadset-plugin": "^4.1.7",
|
|
37
|
+
"@xyo-network/witness-model": "^4.1.7",
|
|
38
38
|
"systeminformation": "^5.27.7"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
42
|
-
"@xylabs/tsconfig": "^
|
|
43
|
-
"@xylabs/vitest-extended": "^4.
|
|
44
|
-
"@xyo-network/payload-wrapper": "^4.
|
|
45
|
-
"knip": "^5.
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
|
|
42
|
+
"@xylabs/tsconfig": "^7.0.0-rc.24",
|
|
43
|
+
"@xylabs/vitest-extended": "^4.13.23",
|
|
44
|
+
"@xyo-network/payload-wrapper": "^4.1.7",
|
|
45
|
+
"knip": "^5.62.0",
|
|
46
46
|
"typescript": "^5.8.3",
|
|
47
47
|
"vitest": "^3.2.4"
|
|
48
48
|
},
|
package/dist/types/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|