@xyo-network/react-network 2.35.0-rc.7 → 2.35.0
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/cjs/lib/Config/default.d.ts +27 -1
- package/dist/cjs/lib/Config/default.d.ts.map +1 -1
- package/dist/cjs/lib/Config/find.d.ts +106 -2
- package/dist/cjs/lib/Config/find.d.ts.map +1 -1
- package/dist/cjs/lib/divinerPresets.d.ts +16 -1
- package/dist/cjs/lib/divinerPresets.d.ts.map +1 -1
- package/dist/docs.json +397 -140
- package/dist/esm/lib/Config/default.d.ts +27 -1
- package/dist/esm/lib/Config/default.d.ts.map +1 -1
- package/dist/esm/lib/Config/find.d.ts +106 -2
- package/dist/esm/lib/Config/find.d.ts.map +1 -1
- package/dist/esm/lib/divinerPresets.d.ts +16 -1
- package/dist/esm/lib/divinerPresets.d.ts.map +1 -1
- package/package.json +5 -6
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { XyoNetworkPayload } from '@xyo-network/network';
|
|
2
2
|
export declare const defaultNetworkConfigs: XyoNetworkPayload[];
|
|
3
3
|
/** @deprecated use defaultNetworkConfigs instead */
|
|
4
|
-
export declare const networkPresets:
|
|
4
|
+
export declare const networkPresets: ({
|
|
5
|
+
schema: string;
|
|
6
|
+
} & {
|
|
7
|
+
previousHash?: string | undefined;
|
|
8
|
+
sources?: string[] | undefined;
|
|
9
|
+
timestamp?: number | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
schema: "network.xyo.network";
|
|
12
|
+
slug: string;
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
nodes?: ({
|
|
15
|
+
schema: string;
|
|
16
|
+
} & {
|
|
17
|
+
previousHash?: string | undefined;
|
|
18
|
+
sources?: string[] | undefined;
|
|
19
|
+
timestamp?: number | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
22
|
+
slug: string;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
uri: string;
|
|
25
|
+
web?: string | undefined;
|
|
26
|
+
docs?: string | undefined;
|
|
27
|
+
} & {
|
|
28
|
+
schema: "network.xyo.network.node";
|
|
29
|
+
})[] | undefined;
|
|
30
|
+
})[];
|
|
5
31
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,sBAAsB,CAAA;AAK1E,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAmBpD,CAAA;AAED,oDAAoD;AACpD,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,sBAAsB,CAAA;AAK1E,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAmBpD,CAAA;AAED,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;IAAwB,CAAA"}
|
|
@@ -1,4 +1,108 @@
|
|
|
1
|
-
export declare const findNetworkConfig: (slug: string, configs?:
|
|
1
|
+
export declare const findNetworkConfig: (slug: string, configs?: ({
|
|
2
|
+
schema: string;
|
|
3
|
+
} & {
|
|
4
|
+
previousHash?: string | undefined;
|
|
5
|
+
sources?: string[] | undefined;
|
|
6
|
+
timestamp?: number | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
schema: "network.xyo.network";
|
|
9
|
+
slug: string;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
nodes?: ({
|
|
12
|
+
schema: string;
|
|
13
|
+
} & {
|
|
14
|
+
previousHash?: string | undefined;
|
|
15
|
+
sources?: string[] | undefined;
|
|
16
|
+
timestamp?: number | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
19
|
+
slug: string;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
uri: string;
|
|
22
|
+
web?: string | undefined;
|
|
23
|
+
docs?: string | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
schema: "network.xyo.network.node";
|
|
26
|
+
})[] | undefined;
|
|
27
|
+
})[]) => ({
|
|
28
|
+
schema: string;
|
|
29
|
+
} & {
|
|
30
|
+
previousHash?: string | undefined;
|
|
31
|
+
sources?: string[] | undefined;
|
|
32
|
+
timestamp?: number | undefined;
|
|
33
|
+
} & {
|
|
34
|
+
schema: "network.xyo.network";
|
|
35
|
+
slug: string;
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
nodes?: ({
|
|
38
|
+
schema: string;
|
|
39
|
+
} & {
|
|
40
|
+
previousHash?: string | undefined;
|
|
41
|
+
sources?: string[] | undefined;
|
|
42
|
+
timestamp?: number | undefined;
|
|
43
|
+
} & {
|
|
44
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
45
|
+
slug: string;
|
|
46
|
+
name?: string | undefined;
|
|
47
|
+
uri: string;
|
|
48
|
+
web?: string | undefined;
|
|
49
|
+
docs?: string | undefined;
|
|
50
|
+
} & {
|
|
51
|
+
schema: "network.xyo.network.node";
|
|
52
|
+
})[] | undefined;
|
|
53
|
+
}) | undefined;
|
|
2
54
|
/** @deprecated use findNetworkConfig instead */
|
|
3
|
-
export declare const findNetworkPreset: (slug: string, configs?:
|
|
55
|
+
export declare const findNetworkPreset: (slug: string, configs?: ({
|
|
56
|
+
schema: string;
|
|
57
|
+
} & {
|
|
58
|
+
previousHash?: string | undefined;
|
|
59
|
+
sources?: string[] | undefined;
|
|
60
|
+
timestamp?: number | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
schema: "network.xyo.network";
|
|
63
|
+
slug: string;
|
|
64
|
+
name?: string | undefined;
|
|
65
|
+
nodes?: ({
|
|
66
|
+
schema: string;
|
|
67
|
+
} & {
|
|
68
|
+
previousHash?: string | undefined;
|
|
69
|
+
sources?: string[] | undefined;
|
|
70
|
+
timestamp?: number | undefined;
|
|
71
|
+
} & {
|
|
72
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
73
|
+
slug: string;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
uri: string;
|
|
76
|
+
web?: string | undefined;
|
|
77
|
+
docs?: string | undefined;
|
|
78
|
+
} & {
|
|
79
|
+
schema: "network.xyo.network.node";
|
|
80
|
+
})[] | undefined;
|
|
81
|
+
})[]) => ({
|
|
82
|
+
schema: string;
|
|
83
|
+
} & {
|
|
84
|
+
previousHash?: string | undefined;
|
|
85
|
+
sources?: string[] | undefined;
|
|
86
|
+
timestamp?: number | undefined;
|
|
87
|
+
} & {
|
|
88
|
+
schema: "network.xyo.network";
|
|
89
|
+
slug: string;
|
|
90
|
+
name?: string | undefined;
|
|
91
|
+
nodes?: ({
|
|
92
|
+
schema: string;
|
|
93
|
+
} & {
|
|
94
|
+
previousHash?: string | undefined;
|
|
95
|
+
sources?: string[] | undefined;
|
|
96
|
+
timestamp?: number | undefined;
|
|
97
|
+
} & {
|
|
98
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
99
|
+
slug: string;
|
|
100
|
+
name?: string | undefined;
|
|
101
|
+
uri: string;
|
|
102
|
+
web?: string | undefined;
|
|
103
|
+
docs?: string | undefined;
|
|
104
|
+
} & {
|
|
105
|
+
schema: "network.xyo.network.node";
|
|
106
|
+
})[] | undefined;
|
|
107
|
+
}) | undefined;
|
|
4
108
|
//# sourceMappingURL=find.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/find.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,SAAU,MAAM
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/find.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,SAAU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7C,CAAA;AAED,gDAAgD;AAChD,eAAO,MAAM,iBAAiB,SAPU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOI,CAAA"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { XyoNetworkNodePayload } from '@xyo-network/network';
|
|
2
|
-
export declare const findDivinerPreset: (slug: string) =>
|
|
2
|
+
export declare const findDivinerPreset: (slug: string) => {
|
|
3
|
+
schema: string;
|
|
4
|
+
} & {
|
|
5
|
+
previousHash?: string | undefined;
|
|
6
|
+
sources?: string[] | undefined;
|
|
7
|
+
timestamp?: number | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
10
|
+
slug: string;
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
uri: string;
|
|
13
|
+
web?: string | undefined;
|
|
14
|
+
docs?: string | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
schema: "network.xyo.network.node";
|
|
17
|
+
};
|
|
3
18
|
export declare const divinerPresets: XyoNetworkNodePayload[];
|
|
4
19
|
//# sourceMappingURL=divinerPresets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divinerPresets.d.ts","sourceRoot":"","sources":["../../../src/lib/divinerPresets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,sBAAsB,CAAA;AAElF,eAAO,MAAM,iBAAiB,SAAU,MAAM,
|
|
1
|
+
{"version":3,"file":"divinerPresets.d.ts","sourceRoot":"","sources":["../../../src/lib/divinerPresets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,sBAAsB,CAAA;AAElF,eAAO,MAAM,iBAAiB,SAAU,MAAM;;;;;;;;;;;;;;;CAM7C,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,qBAAqB,EAyBjD,CAAA"}
|