@xyo-network/react-schema 4.3.0-rc.2 → 4.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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import type { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
2
3
|
/**
|
|
3
4
|
* Gets a Huri and schema payload from a schema string
|
|
4
5
|
*/
|
|
@@ -7,14 +8,7 @@ declare const useGetSchemaPayload: (schema?: string) => {
|
|
|
7
8
|
schemaHuri: import("@xyo-network/huri").Huri<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
8
9
|
schema: import("@xyo-network/payload-model").Schema;
|
|
9
10
|
}>> | undefined;
|
|
10
|
-
schemaPayload:
|
|
11
|
-
schema: "network.xyo.schema";
|
|
12
|
-
definition: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
};
|
|
15
|
-
extends?: string | undefined;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
}> | null | undefined;
|
|
11
|
+
schemaPayload: SchemaPayload | null | undefined;
|
|
18
12
|
xyoError: WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
19
13
|
schema: "network.xyo.error.module";
|
|
20
14
|
details?: string | number | boolean | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSchema.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGetSchema.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"useGetSchema.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGetSchema.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAI1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGvE;;GAEG;AACH,QAAA,MAAM,mBAAmB,YAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C3C,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-schema",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -43,44 +43,44 @@
|
|
|
43
43
|
"lint-pkg": "npmPkgJsonLint ."
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@xylabs/exists": "^4.4.
|
|
47
|
-
"@xylabs/hex": "^4.4.
|
|
46
|
+
"@xylabs/exists": "^4.4.27",
|
|
47
|
+
"@xylabs/hex": "^4.4.27",
|
|
48
48
|
"@xylabs/react-async-effect": "^5.3.13",
|
|
49
49
|
"@xylabs/react-flexbox": "^5.3.13",
|
|
50
50
|
"@xylabs/react-link": "^5.3.13",
|
|
51
51
|
"@xylabs/react-promise": "^5.3.13",
|
|
52
52
|
"@xylabs/react-select": "^5.3.13",
|
|
53
|
-
"@xyo-network/diviner-schema-list-model": "^3.6.
|
|
54
|
-
"@xyo-network/diviner-schema-stats-model": "^3.6.
|
|
55
|
-
"@xyo-network/node-core-types": "^3.
|
|
56
|
-
"@xyo-network/payload-builder": "^3.6.
|
|
57
|
-
"@xyo-network/payload-model": "^3.6.
|
|
58
|
-
"@xyo-network/react-diviner": "^4.3.
|
|
59
|
-
"@xyo-network/react-event": "^4.3.
|
|
60
|
-
"@xyo-network/react-property": "^4.3.
|
|
61
|
-
"@xyo-network/react-shared": "^4.3.
|
|
62
|
-
"@xyo-network/schema-cache": "^3.6.
|
|
63
|
-
"@xyo-network/schema-payload-plugin": "^3.6.
|
|
64
|
-
"react-router-dom": "^7.
|
|
53
|
+
"@xyo-network/diviner-schema-list-model": "^3.6.5",
|
|
54
|
+
"@xyo-network/diviner-schema-stats-model": "^3.6.5",
|
|
55
|
+
"@xyo-network/node-core-types": "^3.2.2",
|
|
56
|
+
"@xyo-network/payload-builder": "^3.6.5",
|
|
57
|
+
"@xyo-network/payload-model": "^3.6.5",
|
|
58
|
+
"@xyo-network/react-diviner": "^4.3.1",
|
|
59
|
+
"@xyo-network/react-event": "^4.3.1",
|
|
60
|
+
"@xyo-network/react-property": "^4.3.1",
|
|
61
|
+
"@xyo-network/react-shared": "^4.3.1",
|
|
62
|
+
"@xyo-network/schema-cache": "^3.6.5",
|
|
63
|
+
"@xyo-network/schema-payload-plugin": "^3.6.5",
|
|
64
|
+
"react-router-dom": "^7.1.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@emotion/react": "^11.14.0",
|
|
68
68
|
"@emotion/styled": "^11.14.0",
|
|
69
|
-
"@mui/icons-material": "^6.
|
|
70
|
-
"@mui/material": "^6.
|
|
71
|
-
"@mui/styles": "^6.
|
|
69
|
+
"@mui/icons-material": "^6.3.0",
|
|
70
|
+
"@mui/material": "^6.3.0",
|
|
71
|
+
"@mui/styles": "^6.3.0",
|
|
72
72
|
"@storybook/react": "^8.4.7",
|
|
73
73
|
"@xylabs/react-flexbox": "^5.3.13",
|
|
74
74
|
"@xylabs/react-hooks": "^5.3.13",
|
|
75
75
|
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
76
76
|
"@xylabs/tsconfig-react": "^4.2.6",
|
|
77
|
-
"@xyo-network/bridge-http": "^3.6.
|
|
78
|
-
"@xyo-network/node-memory": "^3.6.
|
|
79
|
-
"@xyo-network/node-model": "^3.6.
|
|
80
|
-
"@xyo-network/react-node": "^4.3.
|
|
81
|
-
"@xyo-network/react-payload-raw-info": "^4.3.
|
|
82
|
-
"@xyo-network/react-storybook": "^4.3.
|
|
83
|
-
"@xyo-network/react-wallet": "^4.3.
|
|
77
|
+
"@xyo-network/bridge-http": "^3.6.5",
|
|
78
|
+
"@xyo-network/node-memory": "^3.6.5",
|
|
79
|
+
"@xyo-network/node-model": "^3.6.5",
|
|
80
|
+
"@xyo-network/react-node": "^4.3.1",
|
|
81
|
+
"@xyo-network/react-payload-raw-info": "^4.3.1",
|
|
82
|
+
"@xyo-network/react-storybook": "^4.3.1",
|
|
83
|
+
"@xyo-network/react-wallet": "^4.3.1",
|
|
84
84
|
"react": "^18.3.1",
|
|
85
85
|
"react-dom": "^18.3.1",
|
|
86
86
|
"storybook": "^8.4.7",
|
|
@@ -98,6 +98,5 @@
|
|
|
98
98
|
"publishConfig": {
|
|
99
99
|
"access": "public"
|
|
100
100
|
},
|
|
101
|
-
"docs": "dist/docs.json"
|
|
102
|
-
"stableVersion": "4.2.14"
|
|
101
|
+
"docs": "dist/docs.json"
|
|
103
102
|
}
|