@xyo-network/react-schema 4.4.5 → 4.4.7
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/index.d.ts +4 -38
- package/package.json +26 -26
package/dist/browser/index.d.ts
CHANGED
|
@@ -8,13 +8,11 @@ import { PropertyProps } from '@xyo-network/react-property';
|
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import React__default, { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
10
10
|
import { SelectExProps } from '@xylabs/react-select';
|
|
11
|
-
import * as _xylabs_hex from '@xylabs/hex';
|
|
12
|
-
import { Address } from '@xylabs/hex';
|
|
13
11
|
import * as _xyo_network_huri from '@xyo-network/huri';
|
|
14
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
15
12
|
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
16
|
-
import { WithSources } from '@xyo-network/payload-model';
|
|
13
|
+
import { WithSources, ModuleError } from '@xyo-network/payload-model';
|
|
17
14
|
import { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
15
|
+
import { Address } from '@xylabs/hex';
|
|
18
16
|
import { SchemaListPayload } from '@xyo-network/diviner-schema-list-model';
|
|
19
17
|
import { SchemaStatsPayload } from '@xyo-network/diviner-schema-stats-model';
|
|
20
18
|
|
|
@@ -81,41 +79,9 @@ declare const useSchema: (required?: boolean) => Omit<SchemaContextState, "provi
|
|
|
81
79
|
|
|
82
80
|
declare const useGetSchemaPayload: (schema?: string) => {
|
|
83
81
|
notFound: boolean;
|
|
84
|
-
schemaHuri: _xyo_network_huri.Huri<
|
|
85
|
-
schema: _xyo_network_payload_model.Schema;
|
|
86
|
-
}>> | undefined;
|
|
82
|
+
schemaHuri: _xyo_network_huri.Huri<_xyo_network_payload_model.Payload> | undefined;
|
|
87
83
|
schemaPayload: SchemaPayload | null | undefined;
|
|
88
|
-
xyoError: WithSources<
|
|
89
|
-
schema: "network.xyo.error.module";
|
|
90
|
-
details?: string | number | boolean | {
|
|
91
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
92
|
-
} | (string | number | boolean | {
|
|
93
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
94
|
-
} | (string | number | boolean | {
|
|
95
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
96
|
-
} | (string | number | boolean | {
|
|
97
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
98
|
-
} | (string | number | boolean | {
|
|
99
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
100
|
-
} | (string | number | boolean | {
|
|
101
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
102
|
-
} | (string | number | boolean | {
|
|
103
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
104
|
-
} | (string | number | boolean | {
|
|
105
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null;
|
|
106
|
-
} | (string | number | boolean | {
|
|
107
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null;
|
|
108
|
-
} | (string | number | boolean | {
|
|
109
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null;
|
|
110
|
-
} | (string | number | boolean | {
|
|
111
|
-
[x: string]: string | number | boolean | any | (string | number | boolean | any | any | null)[] | null;
|
|
112
|
-
} | (string | number | boolean | {
|
|
113
|
-
[x: string]: string | number | boolean | any | any | null;
|
|
114
|
-
} | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null | undefined;
|
|
115
|
-
message?: string | undefined;
|
|
116
|
-
name?: string | undefined;
|
|
117
|
-
query?: _xylabs_hex.Hash | undefined;
|
|
118
|
-
}>> | undefined;
|
|
84
|
+
xyoError: WithSources<ModuleError> | undefined;
|
|
119
85
|
};
|
|
120
86
|
|
|
121
87
|
type SchemaList = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-schema",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.7",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -50,40 +50,40 @@
|
|
|
50
50
|
"@xylabs/react-link": "^5.3.23",
|
|
51
51
|
"@xylabs/react-promise": "^5.3.23",
|
|
52
52
|
"@xylabs/react-select": "^5.3.23",
|
|
53
|
-
"@xyo-network/diviner-schema-list-model": "^3.9.
|
|
54
|
-
"@xyo-network/diviner-schema-stats-model": "^3.9.
|
|
53
|
+
"@xyo-network/diviner-schema-list-model": "^3.9.17",
|
|
54
|
+
"@xyo-network/diviner-schema-stats-model": "^3.9.17",
|
|
55
55
|
"@xyo-network/node-core-types": "^3.3.5",
|
|
56
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
57
|
-
"@xyo-network/payload-model": "^3.9.
|
|
58
|
-
"@xyo-network/react-diviner": "^4.4.
|
|
59
|
-
"@xyo-network/react-event": "^4.4.
|
|
60
|
-
"@xyo-network/react-property": "^4.4.
|
|
61
|
-
"@xyo-network/react-shared": "^4.4.
|
|
62
|
-
"@xyo-network/schema-cache": "^3.9.
|
|
63
|
-
"@xyo-network/schema-payload-plugin": "^3.9.
|
|
64
|
-
"react-router-dom": "^7.
|
|
56
|
+
"@xyo-network/payload-builder": "^3.9.17",
|
|
57
|
+
"@xyo-network/payload-model": "^3.9.17",
|
|
58
|
+
"@xyo-network/react-diviner": "^4.4.7",
|
|
59
|
+
"@xyo-network/react-event": "^4.4.7",
|
|
60
|
+
"@xyo-network/react-property": "^4.4.7",
|
|
61
|
+
"@xyo-network/react-shared": "^4.4.7",
|
|
62
|
+
"@xyo-network/schema-cache": "^3.9.17",
|
|
63
|
+
"@xyo-network/schema-payload-plugin": "^3.9.17",
|
|
64
|
+
"react-router-dom": "^7.2.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@emotion/react": "^11.14.0",
|
|
68
68
|
"@emotion/styled": "^11.14.0",
|
|
69
|
-
"@mui/icons-material": "^6.4.
|
|
70
|
-
"@mui/material": "^6.4.
|
|
71
|
-
"@mui/styles": "^6.4.
|
|
72
|
-
"@storybook/react": "^8.
|
|
69
|
+
"@mui/icons-material": "^6.4.6",
|
|
70
|
+
"@mui/material": "^6.4.6",
|
|
71
|
+
"@mui/styles": "^6.4.6",
|
|
72
|
+
"@storybook/react": "^8.6.2",
|
|
73
73
|
"@xylabs/react-flexbox": "^5.3.23",
|
|
74
74
|
"@xylabs/react-hooks": "^5.3.23",
|
|
75
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
76
|
-
"@xylabs/tsconfig-react": "^5.0.
|
|
77
|
-
"@xyo-network/bridge-http": "^3.9.
|
|
78
|
-
"@xyo-network/node-memory": "^3.9.
|
|
79
|
-
"@xyo-network/node-model": "^3.9.
|
|
80
|
-
"@xyo-network/react-node": "^4.4.
|
|
81
|
-
"@xyo-network/react-payload-raw-info": "^4.4.
|
|
82
|
-
"@xyo-network/react-storybook": "^4.4.
|
|
83
|
-
"@xyo-network/react-wallet": "^4.4.
|
|
75
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.25",
|
|
76
|
+
"@xylabs/tsconfig-react": "^5.0.25",
|
|
77
|
+
"@xyo-network/bridge-http": "^3.9.17",
|
|
78
|
+
"@xyo-network/node-memory": "^3.9.17",
|
|
79
|
+
"@xyo-network/node-model": "^3.9.17",
|
|
80
|
+
"@xyo-network/react-node": "^4.4.7",
|
|
81
|
+
"@xyo-network/react-payload-raw-info": "^4.4.7",
|
|
82
|
+
"@xyo-network/react-storybook": "^4.4.7",
|
|
83
|
+
"@xyo-network/react-wallet": "^4.4.7",
|
|
84
84
|
"react": "^18.3.1",
|
|
85
85
|
"react-dom": "^18.3.1",
|
|
86
|
-
"storybook": "^8.
|
|
86
|
+
"storybook": "^8.6.2",
|
|
87
87
|
"typescript": "^5.7.3"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|