@xyo-network/react-schema 2.41.13 → 2.41.15
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/contexts/Schema/Provider/Memory.d.ts +5 -0
- package/dist/cjs/contexts/Schema/Provider/Memory.d.ts.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/Memory.js +22 -0
- package/dist/cjs/contexts/Schema/Provider/Memory.js.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/Props.d.ts +5 -0
- package/dist/cjs/contexts/Schema/Provider/Props.d.ts.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/Props.js +3 -0
- package/dist/cjs/contexts/Schema/Provider/Props.js.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/Route.d.ts +5 -0
- package/dist/cjs/contexts/Schema/Provider/Route.d.ts.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/Route.js +51 -0
- package/dist/cjs/contexts/Schema/Provider/Route.js.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/index.d.ts +4 -0
- package/dist/cjs/contexts/Schema/Provider/index.d.ts.map +1 -0
- package/dist/cjs/contexts/Schema/Provider/index.js +7 -0
- package/dist/cjs/contexts/Schema/Provider/index.js.map +1 -0
- package/dist/cjs/contexts/Schema/index.d.ts +1 -0
- package/dist/cjs/contexts/Schema/index.d.ts.map +1 -1
- package/dist/cjs/contexts/Schema/index.js +1 -0
- package/dist/cjs/contexts/Schema/index.js.map +1 -1
- package/dist/cjs/hooks/index.d.ts +3 -0
- package/dist/cjs/hooks/index.d.ts.map +1 -1
- package/dist/cjs/hooks/index.js +3 -0
- package/dist/cjs/hooks/index.js.map +1 -1
- package/dist/cjs/hooks/useSchemaDefinitions.d.ts +3 -0
- package/dist/cjs/hooks/useSchemaDefinitions.d.ts.map +1 -0
- package/dist/cjs/hooks/useSchemaDefinitions.js +27 -0
- package/dist/cjs/hooks/useSchemaDefinitions.js.map +1 -0
- package/dist/cjs/hooks/useSchemaList.d.ts +4 -0
- package/dist/cjs/hooks/useSchemaList.d.ts.map +1 -0
- package/dist/cjs/hooks/useSchemaList.js +33 -0
- package/dist/cjs/hooks/useSchemaList.js.map +1 -0
- package/dist/cjs/hooks/useSchemaStats.d.ts +4 -0
- package/dist/cjs/hooks/useSchemaStats.d.ts.map +1 -0
- package/dist/cjs/hooks/useSchemaStats.js +22 -0
- package/dist/cjs/hooks/useSchemaStats.js.map +1 -0
- package/dist/docs.json +659 -65
- package/dist/esm/contexts/Schema/Provider/Memory.d.ts +5 -0
- package/dist/esm/contexts/Schema/Provider/Memory.d.ts.map +1 -0
- package/dist/esm/contexts/Schema/Provider/Memory.js +16 -0
- package/dist/esm/contexts/Schema/Provider/Memory.js.map +1 -0
- package/dist/esm/contexts/Schema/Provider/Props.d.ts +5 -0
- package/dist/esm/contexts/Schema/Provider/Props.d.ts.map +1 -0
- package/dist/esm/contexts/Schema/Provider/Props.js +2 -0
- package/dist/esm/contexts/Schema/Provider/Props.js.map +1 -0
- package/dist/esm/contexts/Schema/Provider/Route.d.ts +5 -0
- package/dist/esm/contexts/Schema/Provider/Route.d.ts.map +1 -0
- package/dist/esm/contexts/Schema/Provider/Route.js +45 -0
- package/dist/esm/contexts/Schema/Provider/Route.js.map +1 -0
- package/dist/esm/contexts/Schema/Provider/index.d.ts +4 -0
- package/dist/esm/contexts/Schema/Provider/index.d.ts.map +1 -0
- package/dist/esm/contexts/Schema/Provider/index.js +4 -0
- package/dist/esm/contexts/Schema/Provider/index.js.map +1 -0
- package/dist/esm/contexts/Schema/index.d.ts +1 -0
- package/dist/esm/contexts/Schema/index.d.ts.map +1 -1
- package/dist/esm/contexts/Schema/index.js +1 -0
- package/dist/esm/contexts/Schema/index.js.map +1 -1
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -1
- package/dist/esm/hooks/index.js +3 -0
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/hooks/useSchemaDefinitions.d.ts +3 -0
- package/dist/esm/hooks/useSchemaDefinitions.d.ts.map +1 -0
- package/dist/esm/hooks/useSchemaDefinitions.js +22 -0
- package/dist/esm/hooks/useSchemaDefinitions.js.map +1 -0
- package/dist/esm/hooks/useSchemaList.d.ts +4 -0
- package/dist/esm/hooks/useSchemaList.d.ts.map +1 -0
- package/dist/esm/hooks/useSchemaList.js +29 -0
- package/dist/esm/hooks/useSchemaList.js.map +1 -0
- package/dist/esm/hooks/useSchemaStats.d.ts +4 -0
- package/dist/esm/hooks/useSchemaStats.d.ts.map +1 -0
- package/dist/esm/hooks/useSchemaStats.js +18 -0
- package/dist/esm/hooks/useSchemaStats.js.map +1 -0
- package/package.json +16 -12
- package/src/contexts/Schema/Provider/Memory.tsx +20 -0
- package/src/contexts/Schema/Provider/Props.tsx +4 -0
- package/src/contexts/Schema/Provider/Route.tsx +62 -0
- package/src/contexts/Schema/Provider/index.ts +3 -0
- package/src/contexts/Schema/index.ts +1 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/stories/TestSchemaHooks.stories.tsx +53 -0
- package/src/hooks/useSchemaDefinitions.tsx +28 -0
- package/src/hooks/useSchemaList.tsx +37 -0
- package/src/hooks/useSchemaStats.tsx +21 -0
package/dist/docs.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"originalName": "",
|
|
8
8
|
"children": [
|
|
9
9
|
{
|
|
10
|
-
"id":
|
|
10
|
+
"id": 26,
|
|
11
11
|
"name": "SchemaContextState",
|
|
12
12
|
"kind": 256,
|
|
13
13
|
"kindString": "Interface",
|
|
14
14
|
"flags": {},
|
|
15
15
|
"children": [
|
|
16
16
|
{
|
|
17
|
-
"id":
|
|
17
|
+
"id": 31,
|
|
18
18
|
"name": "provided",
|
|
19
19
|
"kind": 1024,
|
|
20
20
|
"kindString": "Property",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"id":
|
|
39
|
+
"id": 27,
|
|
40
40
|
"name": "schema",
|
|
41
41
|
"kind": 1024,
|
|
42
42
|
"kindString": "Property",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/State.ts",
|
|
63
63
|
"line": 6,
|
|
64
64
|
"character": 2,
|
|
65
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
65
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/State.ts#L6"
|
|
66
66
|
}
|
|
67
67
|
],
|
|
68
68
|
"type": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
"id":
|
|
74
|
+
"id": 28,
|
|
75
75
|
"name": "schemaList",
|
|
76
76
|
"kind": 1024,
|
|
77
77
|
"kindString": "Property",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/State.ts",
|
|
98
98
|
"line": 8,
|
|
99
99
|
"character": 2,
|
|
100
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
100
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/State.ts#L8"
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
103
|
"type": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
"id":
|
|
112
|
+
"id": 29,
|
|
113
113
|
"name": "setSchema",
|
|
114
114
|
"kind": 1024,
|
|
115
115
|
"kindString": "Property",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/State.ts",
|
|
136
136
|
"line": 10,
|
|
137
137
|
"character": 2,
|
|
138
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
138
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/State.ts#L10"
|
|
139
139
|
}
|
|
140
140
|
],
|
|
141
141
|
"type": {
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"id":
|
|
155
|
+
"id": 30,
|
|
156
156
|
"name": "setSchemaList",
|
|
157
157
|
"kind": 1024,
|
|
158
158
|
"kindString": "Property",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/State.ts",
|
|
179
179
|
"line": 12,
|
|
180
180
|
"character": 2,
|
|
181
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
181
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/State.ts#L12"
|
|
182
182
|
}
|
|
183
183
|
],
|
|
184
184
|
"type": {
|
|
@@ -202,11 +202,11 @@
|
|
|
202
202
|
{
|
|
203
203
|
"title": "Properties",
|
|
204
204
|
"children": [
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
205
|
+
31,
|
|
206
|
+
27,
|
|
207
|
+
28,
|
|
208
|
+
29,
|
|
209
|
+
30
|
|
210
210
|
]
|
|
211
211
|
}
|
|
212
212
|
],
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/State.ts",
|
|
216
216
|
"line": 4,
|
|
217
217
|
"character": 17,
|
|
218
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
218
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/State.ts#L4"
|
|
219
219
|
}
|
|
220
220
|
],
|
|
221
221
|
"extendedTypes": [
|
|
@@ -225,6 +225,77 @@
|
|
|
225
225
|
}
|
|
226
226
|
]
|
|
227
227
|
},
|
|
228
|
+
{
|
|
229
|
+
"id": 19,
|
|
230
|
+
"name": "SchemaProviderProps",
|
|
231
|
+
"kind": 256,
|
|
232
|
+
"kindString": "Interface",
|
|
233
|
+
"flags": {},
|
|
234
|
+
"children": [
|
|
235
|
+
{
|
|
236
|
+
"id": 20,
|
|
237
|
+
"name": "defaultSchema",
|
|
238
|
+
"kind": 1024,
|
|
239
|
+
"kindString": "Property",
|
|
240
|
+
"flags": {
|
|
241
|
+
"isOptional": true
|
|
242
|
+
},
|
|
243
|
+
"sources": [
|
|
244
|
+
{
|
|
245
|
+
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/Provider/Props.tsx",
|
|
246
|
+
"line": 2,
|
|
247
|
+
"character": 2,
|
|
248
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/Provider/Props.tsx#L2"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"type": {
|
|
252
|
+
"type": "intrinsic",
|
|
253
|
+
"name": "string"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"id": 21,
|
|
258
|
+
"name": "knownSchemaList",
|
|
259
|
+
"kind": 1024,
|
|
260
|
+
"kindString": "Property",
|
|
261
|
+
"flags": {
|
|
262
|
+
"isOptional": true
|
|
263
|
+
},
|
|
264
|
+
"sources": [
|
|
265
|
+
{
|
|
266
|
+
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/Provider/Props.tsx",
|
|
267
|
+
"line": 3,
|
|
268
|
+
"character": 2,
|
|
269
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/Provider/Props.tsx#L3"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"type": {
|
|
273
|
+
"type": "array",
|
|
274
|
+
"elementType": {
|
|
275
|
+
"type": "intrinsic",
|
|
276
|
+
"name": "string"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"groups": [
|
|
282
|
+
{
|
|
283
|
+
"title": "Properties",
|
|
284
|
+
"children": [
|
|
285
|
+
20,
|
|
286
|
+
21
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"sources": [
|
|
291
|
+
{
|
|
292
|
+
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/Provider/Props.tsx",
|
|
293
|
+
"line": 1,
|
|
294
|
+
"character": 17,
|
|
295
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/Provider/Props.tsx#L1"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
228
299
|
{
|
|
229
300
|
"id": 1,
|
|
230
301
|
"name": "SchemaPropertyProps",
|
|
@@ -236,7 +307,7 @@
|
|
|
236
307
|
"fileName": "packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx",
|
|
237
308
|
"line": 11,
|
|
238
309
|
"character": 12,
|
|
239
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
310
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx#L11"
|
|
240
311
|
}
|
|
241
312
|
],
|
|
242
313
|
"type": {
|
|
@@ -268,7 +339,7 @@
|
|
|
268
339
|
"fileName": "packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx",
|
|
269
340
|
"line": 12,
|
|
270
341
|
"character": 2,
|
|
271
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
342
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx#L12"
|
|
272
343
|
}
|
|
273
344
|
],
|
|
274
345
|
"type": {
|
|
@@ -289,7 +360,7 @@
|
|
|
289
360
|
"fileName": "packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx",
|
|
290
361
|
"line": 13,
|
|
291
362
|
"character": 2,
|
|
292
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
363
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx#L13"
|
|
293
364
|
}
|
|
294
365
|
],
|
|
295
366
|
"type": {
|
|
@@ -312,7 +383,7 @@
|
|
|
312
383
|
"fileName": "packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx",
|
|
313
384
|
"line": 11,
|
|
314
385
|
"character": 50,
|
|
315
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
386
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx#L11"
|
|
316
387
|
}
|
|
317
388
|
]
|
|
318
389
|
}
|
|
@@ -331,7 +402,7 @@
|
|
|
331
402
|
"fileName": "packages/sdk/packages/schema/src/components/SelectEx/SchemaSelectEx.tsx",
|
|
332
403
|
"line": 6,
|
|
333
404
|
"character": 12,
|
|
334
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
405
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/SelectEx/SchemaSelectEx.tsx#L6"
|
|
335
406
|
}
|
|
336
407
|
],
|
|
337
408
|
"type": {
|
|
@@ -360,7 +431,7 @@
|
|
|
360
431
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/Context.ts",
|
|
361
432
|
"line": 5,
|
|
362
433
|
"character": 13,
|
|
363
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
434
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/Context.ts#L5"
|
|
364
435
|
}
|
|
365
436
|
],
|
|
366
437
|
"type": {
|
|
@@ -371,7 +442,7 @@
|
|
|
371
442
|
"types": [
|
|
372
443
|
{
|
|
373
444
|
"type": "reference",
|
|
374
|
-
"id":
|
|
445
|
+
"id": 26,
|
|
375
446
|
"name": "SchemaContextState"
|
|
376
447
|
},
|
|
377
448
|
{
|
|
@@ -387,6 +458,90 @@
|
|
|
387
458
|
},
|
|
388
459
|
"defaultValue": "..."
|
|
389
460
|
},
|
|
461
|
+
{
|
|
462
|
+
"id": 15,
|
|
463
|
+
"name": "SchemaMemoryProvider",
|
|
464
|
+
"kind": 64,
|
|
465
|
+
"kindString": "Function",
|
|
466
|
+
"flags": {},
|
|
467
|
+
"sources": [
|
|
468
|
+
{
|
|
469
|
+
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/Provider/Memory.tsx",
|
|
470
|
+
"line": 8,
|
|
471
|
+
"character": 13,
|
|
472
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/Provider/Memory.tsx#L8"
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"signatures": [
|
|
476
|
+
{
|
|
477
|
+
"id": 16,
|
|
478
|
+
"name": "SchemaMemoryProvider",
|
|
479
|
+
"kind": 4096,
|
|
480
|
+
"kindString": "Call signature",
|
|
481
|
+
"flags": {},
|
|
482
|
+
"parameters": [
|
|
483
|
+
{
|
|
484
|
+
"id": 17,
|
|
485
|
+
"name": "props",
|
|
486
|
+
"kind": 32768,
|
|
487
|
+
"kindString": "Parameter",
|
|
488
|
+
"flags": {},
|
|
489
|
+
"type": {
|
|
490
|
+
"type": "reference",
|
|
491
|
+
"typeArguments": [
|
|
492
|
+
{
|
|
493
|
+
"type": "reference",
|
|
494
|
+
"id": 19,
|
|
495
|
+
"name": "SchemaProviderProps"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"name": "WithChildren",
|
|
499
|
+
"qualifiedName": "WithChildren",
|
|
500
|
+
"package": "@xylabs/react-shared"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"id": 18,
|
|
505
|
+
"name": "context",
|
|
506
|
+
"kind": 32768,
|
|
507
|
+
"kindString": "Parameter",
|
|
508
|
+
"flags": {
|
|
509
|
+
"isOptional": true
|
|
510
|
+
},
|
|
511
|
+
"type": {
|
|
512
|
+
"type": "intrinsic",
|
|
513
|
+
"name": "any"
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"type": {
|
|
518
|
+
"type": "union",
|
|
519
|
+
"types": [
|
|
520
|
+
{
|
|
521
|
+
"type": "literal",
|
|
522
|
+
"value": null
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"type": "reference",
|
|
526
|
+
"typeArguments": [
|
|
527
|
+
{
|
|
528
|
+
"type": "intrinsic",
|
|
529
|
+
"name": "any"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"type": "intrinsic",
|
|
533
|
+
"name": "any"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"name": "ReactElement",
|
|
537
|
+
"qualifiedName": "React.ReactElement",
|
|
538
|
+
"package": "@types/react"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
]
|
|
544
|
+
},
|
|
390
545
|
{
|
|
391
546
|
"id": 5,
|
|
392
547
|
"name": "SchemaProperty",
|
|
@@ -398,7 +553,7 @@
|
|
|
398
553
|
"fileName": "packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx",
|
|
399
554
|
"line": 33,
|
|
400
555
|
"character": 13,
|
|
401
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
556
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/Property/SchemaProperty.tsx#L33"
|
|
402
557
|
}
|
|
403
558
|
],
|
|
404
559
|
"signatures": [
|
|
@@ -463,6 +618,90 @@
|
|
|
463
618
|
}
|
|
464
619
|
]
|
|
465
620
|
},
|
|
621
|
+
{
|
|
622
|
+
"id": 22,
|
|
623
|
+
"name": "SchemaRouteProvider",
|
|
624
|
+
"kind": 64,
|
|
625
|
+
"kindString": "Function",
|
|
626
|
+
"flags": {},
|
|
627
|
+
"sources": [
|
|
628
|
+
{
|
|
629
|
+
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/Provider/Route.tsx",
|
|
630
|
+
"line": 56,
|
|
631
|
+
"character": 13,
|
|
632
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/Provider/Route.tsx#L56"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"signatures": [
|
|
636
|
+
{
|
|
637
|
+
"id": 23,
|
|
638
|
+
"name": "SchemaRouteProvider",
|
|
639
|
+
"kind": 4096,
|
|
640
|
+
"kindString": "Call signature",
|
|
641
|
+
"flags": {},
|
|
642
|
+
"parameters": [
|
|
643
|
+
{
|
|
644
|
+
"id": 24,
|
|
645
|
+
"name": "props",
|
|
646
|
+
"kind": 32768,
|
|
647
|
+
"kindString": "Parameter",
|
|
648
|
+
"flags": {},
|
|
649
|
+
"type": {
|
|
650
|
+
"type": "reference",
|
|
651
|
+
"typeArguments": [
|
|
652
|
+
{
|
|
653
|
+
"type": "reference",
|
|
654
|
+
"id": 19,
|
|
655
|
+
"name": "SchemaProviderProps"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"name": "WithChildren",
|
|
659
|
+
"qualifiedName": "WithChildren",
|
|
660
|
+
"package": "@xylabs/react-shared"
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"id": 25,
|
|
665
|
+
"name": "context",
|
|
666
|
+
"kind": 32768,
|
|
667
|
+
"kindString": "Parameter",
|
|
668
|
+
"flags": {
|
|
669
|
+
"isOptional": true
|
|
670
|
+
},
|
|
671
|
+
"type": {
|
|
672
|
+
"type": "intrinsic",
|
|
673
|
+
"name": "any"
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"type": {
|
|
678
|
+
"type": "union",
|
|
679
|
+
"types": [
|
|
680
|
+
{
|
|
681
|
+
"type": "literal",
|
|
682
|
+
"value": null
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"type": "reference",
|
|
686
|
+
"typeArguments": [
|
|
687
|
+
{
|
|
688
|
+
"type": "intrinsic",
|
|
689
|
+
"name": "any"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"type": "intrinsic",
|
|
693
|
+
"name": "any"
|
|
694
|
+
}
|
|
695
|
+
],
|
|
696
|
+
"name": "ReactElement",
|
|
697
|
+
"qualifiedName": "React.ReactElement",
|
|
698
|
+
"package": "@types/react"
|
|
699
|
+
}
|
|
700
|
+
]
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
},
|
|
466
705
|
{
|
|
467
706
|
"id": 10,
|
|
468
707
|
"name": "SchemaSelectEx",
|
|
@@ -474,7 +713,7 @@
|
|
|
474
713
|
"fileName": "packages/sdk/packages/schema/src/components/SelectEx/SchemaSelectEx.tsx",
|
|
475
714
|
"line": 8,
|
|
476
715
|
"character": 13,
|
|
477
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
716
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/components/SelectEx/SchemaSelectEx.tsx#L8"
|
|
478
717
|
}
|
|
479
718
|
],
|
|
480
719
|
"signatures": [
|
|
@@ -540,7 +779,7 @@
|
|
|
540
779
|
]
|
|
541
780
|
},
|
|
542
781
|
{
|
|
543
|
-
"id":
|
|
782
|
+
"id": 35,
|
|
544
783
|
"name": "useGetSchemaPayload",
|
|
545
784
|
"kind": 64,
|
|
546
785
|
"kindString": "Function",
|
|
@@ -550,12 +789,12 @@
|
|
|
550
789
|
"fileName": "packages/sdk/packages/schema/src/hooks/useGetSchema.tsx",
|
|
551
790
|
"line": 11,
|
|
552
791
|
"character": 6,
|
|
553
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
792
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useGetSchema.tsx#L11"
|
|
554
793
|
}
|
|
555
794
|
],
|
|
556
795
|
"signatures": [
|
|
557
796
|
{
|
|
558
|
-
"id":
|
|
797
|
+
"id": 36,
|
|
559
798
|
"name": "useGetSchemaPayload",
|
|
560
799
|
"kind": 4096,
|
|
561
800
|
"kindString": "Call signature",
|
|
@@ -570,7 +809,7 @@
|
|
|
570
809
|
},
|
|
571
810
|
"parameters": [
|
|
572
811
|
{
|
|
573
|
-
"id":
|
|
812
|
+
"id": 37,
|
|
574
813
|
"name": "schema",
|
|
575
814
|
"kind": 32768,
|
|
576
815
|
"kindString": "Parameter",
|
|
@@ -586,14 +825,14 @@
|
|
|
586
825
|
"type": {
|
|
587
826
|
"type": "reflection",
|
|
588
827
|
"declaration": {
|
|
589
|
-
"id":
|
|
828
|
+
"id": 38,
|
|
590
829
|
"name": "__type",
|
|
591
830
|
"kind": 65536,
|
|
592
831
|
"kindString": "Type literal",
|
|
593
832
|
"flags": {},
|
|
594
833
|
"children": [
|
|
595
834
|
{
|
|
596
|
-
"id":
|
|
835
|
+
"id": 39,
|
|
597
836
|
"name": "notFound",
|
|
598
837
|
"kind": 1024,
|
|
599
838
|
"kindString": "Property",
|
|
@@ -603,7 +842,7 @@
|
|
|
603
842
|
"fileName": "packages/sdk/packages/schema/src/hooks/useGetSchema.tsx",
|
|
604
843
|
"line": 46,
|
|
605
844
|
"character": 4,
|
|
606
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
845
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useGetSchema.tsx#L46"
|
|
607
846
|
}
|
|
608
847
|
],
|
|
609
848
|
"type": {
|
|
@@ -612,7 +851,7 @@
|
|
|
612
851
|
}
|
|
613
852
|
},
|
|
614
853
|
{
|
|
615
|
-
"id":
|
|
854
|
+
"id": 40,
|
|
616
855
|
"name": "schemaHuri",
|
|
617
856
|
"kind": 1024,
|
|
618
857
|
"kindString": "Property",
|
|
@@ -622,7 +861,7 @@
|
|
|
622
861
|
"fileName": "packages/sdk/packages/schema/src/hooks/useGetSchema.tsx",
|
|
623
862
|
"line": 47,
|
|
624
863
|
"character": 4,
|
|
625
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
864
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useGetSchema.tsx#L47"
|
|
626
865
|
}
|
|
627
866
|
],
|
|
628
867
|
"type": {
|
|
@@ -642,25 +881,25 @@
|
|
|
642
881
|
"type": "reference",
|
|
643
882
|
"name": "SchemaFields",
|
|
644
883
|
"qualifiedName": "SchemaFields",
|
|
645
|
-
"package": "@xyo-network/payload"
|
|
884
|
+
"package": "@xyo-network/payload-model"
|
|
646
885
|
},
|
|
647
886
|
{
|
|
648
887
|
"type": "reference",
|
|
649
888
|
"name": "PayloadFields",
|
|
650
889
|
"qualifiedName": "PayloadFields",
|
|
651
|
-
"package": "@xyo-network/payload"
|
|
890
|
+
"package": "@xyo-network/payload-model"
|
|
652
891
|
},
|
|
653
892
|
{
|
|
654
893
|
"type": "reflection",
|
|
655
894
|
"declaration": {
|
|
656
|
-
"id":
|
|
895
|
+
"id": 41,
|
|
657
896
|
"name": "__type",
|
|
658
897
|
"kind": 65536,
|
|
659
898
|
"kindString": "Type literal",
|
|
660
899
|
"flags": {},
|
|
661
900
|
"sources": [
|
|
662
901
|
{
|
|
663
|
-
"fileName": "node_modules/@xyo-network/payload/dist/esm/
|
|
902
|
+
"fileName": "node_modules/@xyo-network/payload-model/dist/esm/XyoPayload.d.ts",
|
|
664
903
|
"line": 18,
|
|
665
904
|
"character": 17
|
|
666
905
|
}
|
|
@@ -672,14 +911,14 @@
|
|
|
672
911
|
],
|
|
673
912
|
"name": "Huri",
|
|
674
913
|
"qualifiedName": "Huri",
|
|
675
|
-
"package": "@xyo-network/
|
|
914
|
+
"package": "@xyo-network/huri"
|
|
676
915
|
}
|
|
677
916
|
]
|
|
678
917
|
},
|
|
679
918
|
"defaultValue": "schemaCacheEntry.huri"
|
|
680
919
|
},
|
|
681
920
|
{
|
|
682
|
-
"id":
|
|
921
|
+
"id": 42,
|
|
683
922
|
"name": "schemaPayload",
|
|
684
923
|
"kind": 1024,
|
|
685
924
|
"kindString": "Property",
|
|
@@ -689,7 +928,7 @@
|
|
|
689
928
|
"fileName": "packages/sdk/packages/schema/src/hooks/useGetSchema.tsx",
|
|
690
929
|
"line": 48,
|
|
691
930
|
"character": 4,
|
|
692
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
931
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useGetSchema.tsx#L48"
|
|
693
932
|
}
|
|
694
933
|
],
|
|
695
934
|
"type": {
|
|
@@ -710,18 +949,18 @@
|
|
|
710
949
|
"type": "reference",
|
|
711
950
|
"name": "SchemaFields",
|
|
712
951
|
"qualifiedName": "SchemaFields",
|
|
713
|
-
"package": "@xyo-network/payload"
|
|
952
|
+
"package": "@xyo-network/payload-model"
|
|
714
953
|
},
|
|
715
954
|
{
|
|
716
955
|
"type": "reference",
|
|
717
956
|
"name": "PayloadFields",
|
|
718
957
|
"qualifiedName": "PayloadFields",
|
|
719
|
-
"package": "@xyo-network/payload"
|
|
958
|
+
"package": "@xyo-network/payload-model"
|
|
720
959
|
},
|
|
721
960
|
{
|
|
722
961
|
"type": "reflection",
|
|
723
962
|
"declaration": {
|
|
724
|
-
"id":
|
|
963
|
+
"id": 43,
|
|
725
964
|
"name": "__type",
|
|
726
965
|
"kind": 65536,
|
|
727
966
|
"kindString": "Type literal",
|
|
@@ -742,7 +981,7 @@
|
|
|
742
981
|
"defaultValue": "..."
|
|
743
982
|
},
|
|
744
983
|
{
|
|
745
|
-
"id":
|
|
984
|
+
"id": 44,
|
|
746
985
|
"name": "xyoError",
|
|
747
986
|
"kind": 1024,
|
|
748
987
|
"kindString": "Property",
|
|
@@ -752,7 +991,7 @@
|
|
|
752
991
|
"fileName": "packages/sdk/packages/schema/src/hooks/useGetSchema.tsx",
|
|
753
992
|
"line": 51,
|
|
754
993
|
"character": 4,
|
|
755
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
994
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useGetSchema.tsx#L51"
|
|
756
995
|
}
|
|
757
996
|
],
|
|
758
997
|
"type": {
|
|
@@ -769,26 +1008,26 @@
|
|
|
769
1008
|
"type": "reference",
|
|
770
1009
|
"name": "SchemaFields",
|
|
771
1010
|
"qualifiedName": "SchemaFields",
|
|
772
|
-
"package": "@xyo-network/payload"
|
|
1011
|
+
"package": "@xyo-network/payload-model"
|
|
773
1012
|
},
|
|
774
1013
|
{
|
|
775
1014
|
"type": "reference",
|
|
776
1015
|
"name": "PayloadFields",
|
|
777
1016
|
"qualifiedName": "PayloadFields",
|
|
778
|
-
"package": "@xyo-network/payload"
|
|
1017
|
+
"package": "@xyo-network/payload-model"
|
|
779
1018
|
},
|
|
780
1019
|
{
|
|
781
1020
|
"type": "reflection",
|
|
782
1021
|
"declaration": {
|
|
783
|
-
"id":
|
|
1022
|
+
"id": 45,
|
|
784
1023
|
"name": "__type",
|
|
785
1024
|
"kind": 65536,
|
|
786
1025
|
"kindString": "Type literal",
|
|
787
1026
|
"flags": {},
|
|
788
1027
|
"sources": [
|
|
789
1028
|
{
|
|
790
|
-
"fileName": "node_modules/@xyo-network/module/dist/esm/
|
|
791
|
-
"line":
|
|
1029
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Error.d.ts",
|
|
1030
|
+
"line": 5,
|
|
792
1031
|
"character": 34
|
|
793
1032
|
}
|
|
794
1033
|
]
|
|
@@ -804,10 +1043,10 @@
|
|
|
804
1043
|
{
|
|
805
1044
|
"title": "Properties",
|
|
806
1045
|
"children": [
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
1046
|
+
39,
|
|
1047
|
+
40,
|
|
1048
|
+
42,
|
|
1049
|
+
44
|
|
811
1050
|
]
|
|
812
1051
|
}
|
|
813
1052
|
],
|
|
@@ -816,7 +1055,7 @@
|
|
|
816
1055
|
"fileName": "packages/sdk/packages/schema/src/hooks/useGetSchema.tsx",
|
|
817
1056
|
"line": 45,
|
|
818
1057
|
"character": 9,
|
|
819
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1058
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useGetSchema.tsx#L45"
|
|
820
1059
|
}
|
|
821
1060
|
]
|
|
822
1061
|
}
|
|
@@ -825,7 +1064,7 @@
|
|
|
825
1064
|
]
|
|
826
1065
|
},
|
|
827
1066
|
{
|
|
828
|
-
"id":
|
|
1067
|
+
"id": 32,
|
|
829
1068
|
"name": "useSchema",
|
|
830
1069
|
"kind": 64,
|
|
831
1070
|
"kindString": "Function",
|
|
@@ -835,19 +1074,19 @@
|
|
|
835
1074
|
"fileName": "packages/sdk/packages/schema/src/contexts/Schema/use.ts",
|
|
836
1075
|
"line": 6,
|
|
837
1076
|
"character": 13,
|
|
838
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1077
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/contexts/Schema/use.ts#L6"
|
|
839
1078
|
}
|
|
840
1079
|
],
|
|
841
1080
|
"signatures": [
|
|
842
1081
|
{
|
|
843
|
-
"id":
|
|
1082
|
+
"id": 33,
|
|
844
1083
|
"name": "useSchema",
|
|
845
1084
|
"kind": 4096,
|
|
846
1085
|
"kindString": "Call signature",
|
|
847
1086
|
"flags": {},
|
|
848
1087
|
"parameters": [
|
|
849
1088
|
{
|
|
850
|
-
"id":
|
|
1089
|
+
"id": 34,
|
|
851
1090
|
"name": "required",
|
|
852
1091
|
"kind": 32768,
|
|
853
1092
|
"kindString": "Parameter",
|
|
@@ -864,7 +1103,7 @@
|
|
|
864
1103
|
"typeArguments": [
|
|
865
1104
|
{
|
|
866
1105
|
"type": "reference",
|
|
867
|
-
"id":
|
|
1106
|
+
"id": 26,
|
|
868
1107
|
"name": "SchemaContextState"
|
|
869
1108
|
},
|
|
870
1109
|
{
|
|
@@ -878,13 +1117,363 @@
|
|
|
878
1117
|
}
|
|
879
1118
|
}
|
|
880
1119
|
]
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"id": 46,
|
|
1123
|
+
"name": "useSchemaDefinitions",
|
|
1124
|
+
"kind": 64,
|
|
1125
|
+
"kindString": "Function",
|
|
1126
|
+
"flags": {},
|
|
1127
|
+
"sources": [
|
|
1128
|
+
{
|
|
1129
|
+
"fileName": "packages/sdk/packages/schema/src/hooks/useSchemaDefinitions.tsx",
|
|
1130
|
+
"line": 8,
|
|
1131
|
+
"character": 13,
|
|
1132
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useSchemaDefinitions.tsx#L8"
|
|
1133
|
+
}
|
|
1134
|
+
],
|
|
1135
|
+
"signatures": [
|
|
1136
|
+
{
|
|
1137
|
+
"id": 47,
|
|
1138
|
+
"name": "useSchemaDefinitions",
|
|
1139
|
+
"kind": 4096,
|
|
1140
|
+
"kindString": "Call signature",
|
|
1141
|
+
"flags": {},
|
|
1142
|
+
"parameters": [
|
|
1143
|
+
{
|
|
1144
|
+
"id": 48,
|
|
1145
|
+
"name": "archive",
|
|
1146
|
+
"kind": 32768,
|
|
1147
|
+
"kindString": "Parameter",
|
|
1148
|
+
"flags": {
|
|
1149
|
+
"isOptional": true
|
|
1150
|
+
},
|
|
1151
|
+
"type": {
|
|
1152
|
+
"type": "intrinsic",
|
|
1153
|
+
"name": "string"
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"type": {
|
|
1158
|
+
"type": "union",
|
|
1159
|
+
"types": [
|
|
1160
|
+
{
|
|
1161
|
+
"type": "intrinsic",
|
|
1162
|
+
"name": "undefined"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"type": "array",
|
|
1166
|
+
"elementType": {
|
|
1167
|
+
"type": "intersection",
|
|
1168
|
+
"types": [
|
|
1169
|
+
{
|
|
1170
|
+
"type": "reference",
|
|
1171
|
+
"name": "SchemaFields",
|
|
1172
|
+
"qualifiedName": "SchemaFields",
|
|
1173
|
+
"package": "@xyo-network/payload-model"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"type": "reference",
|
|
1177
|
+
"name": "PayloadFields",
|
|
1178
|
+
"qualifiedName": "PayloadFields",
|
|
1179
|
+
"package": "@xyo-network/payload-model"
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"type": "reflection",
|
|
1183
|
+
"declaration": {
|
|
1184
|
+
"id": 49,
|
|
1185
|
+
"name": "__type",
|
|
1186
|
+
"kind": 65536,
|
|
1187
|
+
"kindString": "Type literal",
|
|
1188
|
+
"flags": {},
|
|
1189
|
+
"sources": [
|
|
1190
|
+
{
|
|
1191
|
+
"fileName": "node_modules/@xyo-network/schema-payload-plugin/dist/esm/Payload.d.ts",
|
|
1192
|
+
"line": 3,
|
|
1193
|
+
"character": 42
|
|
1194
|
+
}
|
|
1195
|
+
]
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
]
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
]
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
]
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"id": 50,
|
|
1208
|
+
"name": "useSchemaList",
|
|
1209
|
+
"kind": 64,
|
|
1210
|
+
"kindString": "Function",
|
|
1211
|
+
"flags": {},
|
|
1212
|
+
"sources": [
|
|
1213
|
+
{
|
|
1214
|
+
"fileName": "packages/sdk/packages/schema/src/hooks/useSchemaList.tsx",
|
|
1215
|
+
"line": 9,
|
|
1216
|
+
"character": 13,
|
|
1217
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useSchemaList.tsx#L9"
|
|
1218
|
+
}
|
|
1219
|
+
],
|
|
1220
|
+
"signatures": [
|
|
1221
|
+
{
|
|
1222
|
+
"id": 51,
|
|
1223
|
+
"name": "useSchemaList",
|
|
1224
|
+
"kind": 4096,
|
|
1225
|
+
"kindString": "Call signature",
|
|
1226
|
+
"flags": {},
|
|
1227
|
+
"parameters": [
|
|
1228
|
+
{
|
|
1229
|
+
"id": 52,
|
|
1230
|
+
"name": "archive",
|
|
1231
|
+
"kind": 32768,
|
|
1232
|
+
"kindString": "Parameter",
|
|
1233
|
+
"flags": {
|
|
1234
|
+
"isOptional": true
|
|
1235
|
+
},
|
|
1236
|
+
"type": {
|
|
1237
|
+
"type": "intrinsic",
|
|
1238
|
+
"name": "string"
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
"type": {
|
|
1243
|
+
"type": "tuple",
|
|
1244
|
+
"elements": [
|
|
1245
|
+
{
|
|
1246
|
+
"type": "union",
|
|
1247
|
+
"types": [
|
|
1248
|
+
{
|
|
1249
|
+
"type": "intrinsic",
|
|
1250
|
+
"name": "undefined"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"type": "array",
|
|
1254
|
+
"elementType": {
|
|
1255
|
+
"type": "intersection",
|
|
1256
|
+
"types": [
|
|
1257
|
+
{
|
|
1258
|
+
"type": "reference",
|
|
1259
|
+
"name": "SchemaFields",
|
|
1260
|
+
"qualifiedName": "SchemaFields",
|
|
1261
|
+
"package": "@xyo-network/payload-model"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"type": "reference",
|
|
1265
|
+
"name": "PayloadFields",
|
|
1266
|
+
"qualifiedName": "PayloadFields",
|
|
1267
|
+
"package": "@xyo-network/payload-model"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"type": "reflection",
|
|
1271
|
+
"declaration": {
|
|
1272
|
+
"id": 53,
|
|
1273
|
+
"name": "__type",
|
|
1274
|
+
"kind": 65536,
|
|
1275
|
+
"kindString": "Type literal",
|
|
1276
|
+
"flags": {},
|
|
1277
|
+
"sources": [
|
|
1278
|
+
{
|
|
1279
|
+
"fileName": "node_modules/@xyo-network/api/dist/esm/Diviner/SchemaListApiDiviner/Payload.d.ts",
|
|
1280
|
+
"line": 3,
|
|
1281
|
+
"character": 36
|
|
1282
|
+
}
|
|
1283
|
+
]
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"type": "reflection",
|
|
1288
|
+
"declaration": {
|
|
1289
|
+
"id": 54,
|
|
1290
|
+
"name": "__type",
|
|
1291
|
+
"kind": 65536,
|
|
1292
|
+
"kindString": "Type literal",
|
|
1293
|
+
"flags": {},
|
|
1294
|
+
"sources": [
|
|
1295
|
+
{
|
|
1296
|
+
"fileName": "node_modules/@xyo-network/payload-model/dist/esm/XyoPayload.d.ts",
|
|
1297
|
+
"line": 16,
|
|
1298
|
+
"character": 221
|
|
1299
|
+
}
|
|
1300
|
+
]
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
]
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"type": "union",
|
|
1310
|
+
"types": [
|
|
1311
|
+
{
|
|
1312
|
+
"type": "intrinsic",
|
|
1313
|
+
"name": "undefined"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"type": "reference",
|
|
1317
|
+
"name": "Error",
|
|
1318
|
+
"qualifiedName": "Error",
|
|
1319
|
+
"package": "typescript"
|
|
1320
|
+
}
|
|
1321
|
+
]
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"type": "reference",
|
|
1325
|
+
"typeArguments": [
|
|
1326
|
+
{
|
|
1327
|
+
"type": "reference",
|
|
1328
|
+
"typeArguments": [
|
|
1329
|
+
{
|
|
1330
|
+
"type": "intrinsic",
|
|
1331
|
+
"name": "number"
|
|
1332
|
+
}
|
|
1333
|
+
],
|
|
1334
|
+
"name": "SetStateAction",
|
|
1335
|
+
"qualifiedName": "React.SetStateAction",
|
|
1336
|
+
"package": "@types/react"
|
|
1337
|
+
}
|
|
1338
|
+
],
|
|
1339
|
+
"name": "Dispatch",
|
|
1340
|
+
"qualifiedName": "React.Dispatch",
|
|
1341
|
+
"package": "@types/react"
|
|
1342
|
+
}
|
|
1343
|
+
]
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
]
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"id": 55,
|
|
1350
|
+
"name": "useSchemaStats",
|
|
1351
|
+
"kind": 64,
|
|
1352
|
+
"kindString": "Function",
|
|
1353
|
+
"flags": {},
|
|
1354
|
+
"sources": [
|
|
1355
|
+
{
|
|
1356
|
+
"fileName": "packages/sdk/packages/schema/src/hooks/useSchemaStats.tsx",
|
|
1357
|
+
"line": 7,
|
|
1358
|
+
"character": 13,
|
|
1359
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/hooks/useSchemaStats.tsx#L7"
|
|
1360
|
+
}
|
|
1361
|
+
],
|
|
1362
|
+
"signatures": [
|
|
1363
|
+
{
|
|
1364
|
+
"id": 56,
|
|
1365
|
+
"name": "useSchemaStats",
|
|
1366
|
+
"kind": 4096,
|
|
1367
|
+
"kindString": "Call signature",
|
|
1368
|
+
"flags": {},
|
|
1369
|
+
"parameters": [
|
|
1370
|
+
{
|
|
1371
|
+
"id": 57,
|
|
1372
|
+
"name": "archive",
|
|
1373
|
+
"kind": 32768,
|
|
1374
|
+
"kindString": "Parameter",
|
|
1375
|
+
"flags": {
|
|
1376
|
+
"isOptional": true
|
|
1377
|
+
},
|
|
1378
|
+
"type": {
|
|
1379
|
+
"type": "intrinsic",
|
|
1380
|
+
"name": "string"
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
],
|
|
1384
|
+
"type": {
|
|
1385
|
+
"type": "tuple",
|
|
1386
|
+
"elements": [
|
|
1387
|
+
{
|
|
1388
|
+
"type": "union",
|
|
1389
|
+
"types": [
|
|
1390
|
+
{
|
|
1391
|
+
"type": "intrinsic",
|
|
1392
|
+
"name": "undefined"
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"type": "intersection",
|
|
1396
|
+
"types": [
|
|
1397
|
+
{
|
|
1398
|
+
"type": "reference",
|
|
1399
|
+
"name": "SchemaFields",
|
|
1400
|
+
"qualifiedName": "SchemaFields",
|
|
1401
|
+
"package": "@xyo-network/payload-model"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"type": "reference",
|
|
1405
|
+
"name": "PayloadFields",
|
|
1406
|
+
"qualifiedName": "PayloadFields",
|
|
1407
|
+
"package": "@xyo-network/payload-model"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"type": "reflection",
|
|
1411
|
+
"declaration": {
|
|
1412
|
+
"id": 58,
|
|
1413
|
+
"name": "__type",
|
|
1414
|
+
"kind": 65536,
|
|
1415
|
+
"kindString": "Type literal",
|
|
1416
|
+
"flags": {},
|
|
1417
|
+
"sources": [
|
|
1418
|
+
{
|
|
1419
|
+
"fileName": "node_modules/@xyo-network/node-core-model/dist/esm/Diviner/SchemaStatsDiviner.d.ts",
|
|
1420
|
+
"line": 14,
|
|
1421
|
+
"character": 44
|
|
1422
|
+
}
|
|
1423
|
+
]
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
]
|
|
1427
|
+
}
|
|
1428
|
+
]
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"type": "union",
|
|
1432
|
+
"types": [
|
|
1433
|
+
{
|
|
1434
|
+
"type": "intrinsic",
|
|
1435
|
+
"name": "undefined"
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"type": "reference",
|
|
1439
|
+
"name": "Error",
|
|
1440
|
+
"qualifiedName": "Error",
|
|
1441
|
+
"package": "typescript"
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"type": "reference",
|
|
1447
|
+
"typeArguments": [
|
|
1448
|
+
{
|
|
1449
|
+
"type": "reference",
|
|
1450
|
+
"typeArguments": [
|
|
1451
|
+
{
|
|
1452
|
+
"type": "intrinsic",
|
|
1453
|
+
"name": "number"
|
|
1454
|
+
}
|
|
1455
|
+
],
|
|
1456
|
+
"name": "SetStateAction",
|
|
1457
|
+
"qualifiedName": "React.SetStateAction",
|
|
1458
|
+
"package": "@types/react"
|
|
1459
|
+
}
|
|
1460
|
+
],
|
|
1461
|
+
"name": "Dispatch",
|
|
1462
|
+
"qualifiedName": "React.Dispatch",
|
|
1463
|
+
"package": "@types/react"
|
|
1464
|
+
}
|
|
1465
|
+
]
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
]
|
|
881
1469
|
}
|
|
882
1470
|
],
|
|
883
1471
|
"groups": [
|
|
884
1472
|
{
|
|
885
1473
|
"title": "Interfaces",
|
|
886
1474
|
"children": [
|
|
887
|
-
|
|
1475
|
+
26,
|
|
1476
|
+
19
|
|
888
1477
|
]
|
|
889
1478
|
},
|
|
890
1479
|
{
|
|
@@ -903,10 +1492,15 @@
|
|
|
903
1492
|
{
|
|
904
1493
|
"title": "Functions",
|
|
905
1494
|
"children": [
|
|
1495
|
+
15,
|
|
906
1496
|
5,
|
|
1497
|
+
22,
|
|
907
1498
|
10,
|
|
908
|
-
|
|
909
|
-
|
|
1499
|
+
35,
|
|
1500
|
+
32,
|
|
1501
|
+
46,
|
|
1502
|
+
50,
|
|
1503
|
+
55
|
|
910
1504
|
]
|
|
911
1505
|
}
|
|
912
1506
|
],
|
|
@@ -915,7 +1509,7 @@
|
|
|
915
1509
|
"fileName": "packages/sdk/packages/schema/src/index.ts",
|
|
916
1510
|
"line": 1,
|
|
917
1511
|
"character": 0,
|
|
918
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1512
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/edcebde35/packages/sdk/packages/schema/src/index.ts#L1"
|
|
919
1513
|
}
|
|
920
1514
|
]
|
|
921
1515
|
}
|