@xyo-network/react-sentinel 2.42.4

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.
Files changed (46) hide show
  1. package/LICENSE +165 -0
  2. package/README.md +13 -0
  3. package/dist/cjs/contexts/Context.js +6 -0
  4. package/dist/cjs/contexts/Context.js.map +1 -0
  5. package/dist/cjs/contexts/Provider.js +93 -0
  6. package/dist/cjs/contexts/Provider.js.map +1 -0
  7. package/dist/cjs/contexts/State.js +12 -0
  8. package/dist/cjs/contexts/State.js.map +1 -0
  9. package/dist/cjs/contexts/index.js +8 -0
  10. package/dist/cjs/contexts/index.js.map +1 -0
  11. package/dist/cjs/contexts/use.js +11 -0
  12. package/dist/cjs/contexts/use.js.map +1 -0
  13. package/dist/cjs/index.js +5 -0
  14. package/dist/cjs/index.js.map +1 -0
  15. package/dist/docs.json +1312 -0
  16. package/dist/esm/contexts/Context.js +3 -0
  17. package/dist/esm/contexts/Context.js.map +1 -0
  18. package/dist/esm/contexts/Provider.js +86 -0
  19. package/dist/esm/contexts/Provider.js.map +1 -0
  20. package/dist/esm/contexts/State.js +9 -0
  21. package/dist/esm/contexts/State.js.map +1 -0
  22. package/dist/esm/contexts/index.js +5 -0
  23. package/dist/esm/contexts/index.js.map +1 -0
  24. package/dist/esm/contexts/use.js +7 -0
  25. package/dist/esm/contexts/use.js.map +1 -0
  26. package/dist/esm/index.js +2 -0
  27. package/dist/esm/index.js.map +1 -0
  28. package/dist/types/contexts/Context.d.ts +4 -0
  29. package/dist/types/contexts/Context.d.ts.map +1 -0
  30. package/dist/types/contexts/Provider.d.ts +17 -0
  31. package/dist/types/contexts/Provider.d.ts.map +1 -0
  32. package/dist/types/contexts/State.d.ts +31 -0
  33. package/dist/types/contexts/State.d.ts.map +1 -0
  34. package/dist/types/contexts/index.d.ts +5 -0
  35. package/dist/types/contexts/index.d.ts.map +1 -0
  36. package/dist/types/contexts/use.d.ts +30 -0
  37. package/dist/types/contexts/use.d.ts.map +1 -0
  38. package/dist/types/index.d.ts +2 -0
  39. package/dist/types/index.d.ts.map +1 -0
  40. package/package.json +81 -0
  41. package/src/contexts/Context.ts +5 -0
  42. package/src/contexts/Provider.tsx +114 -0
  43. package/src/contexts/State.ts +35 -0
  44. package/src/contexts/index.ts +4 -0
  45. package/src/contexts/use.ts +8 -0
  46. package/src/index.ts +1 -0
package/dist/docs.json ADDED
@@ -0,0 +1,1312 @@
1
+ {
2
+ "id": 0,
3
+ "name": "@xyo-network/react-sentinel",
4
+ "kind": 1,
5
+ "kindString": "Project",
6
+ "flags": {},
7
+ "originalName": "",
8
+ "children": [
9
+ {
10
+ "id": 13,
11
+ "name": "SentinelReportStatus",
12
+ "kind": 8,
13
+ "kindString": "Enumeration",
14
+ "flags": {},
15
+ "children": [
16
+ {
17
+ "id": 18,
18
+ "name": "Failed",
19
+ "kind": 16,
20
+ "kindString": "Enumeration Member",
21
+ "flags": {},
22
+ "sources": [
23
+ {
24
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
25
+ "line": 11,
26
+ "character": 2,
27
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L11"
28
+ }
29
+ ],
30
+ "type": {
31
+ "type": "literal",
32
+ "value": "failed"
33
+ }
34
+ },
35
+ {
36
+ "id": 14,
37
+ "name": "Idle",
38
+ "kind": 16,
39
+ "kindString": "Enumeration Member",
40
+ "flags": {},
41
+ "sources": [
42
+ {
43
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
44
+ "line": 7,
45
+ "character": 2,
46
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L7"
47
+ }
48
+ ],
49
+ "type": {
50
+ "type": "literal",
51
+ "value": "idle"
52
+ }
53
+ },
54
+ {
55
+ "id": 15,
56
+ "name": "Queued",
57
+ "kind": 16,
58
+ "kindString": "Enumeration Member",
59
+ "flags": {},
60
+ "sources": [
61
+ {
62
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
63
+ "line": 8,
64
+ "character": 2,
65
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L8"
66
+ }
67
+ ],
68
+ "type": {
69
+ "type": "literal",
70
+ "value": "queued"
71
+ }
72
+ },
73
+ {
74
+ "id": 16,
75
+ "name": "Started",
76
+ "kind": 16,
77
+ "kindString": "Enumeration Member",
78
+ "flags": {},
79
+ "sources": [
80
+ {
81
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
82
+ "line": 9,
83
+ "character": 2,
84
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L9"
85
+ }
86
+ ],
87
+ "type": {
88
+ "type": "literal",
89
+ "value": "started"
90
+ }
91
+ },
92
+ {
93
+ "id": 17,
94
+ "name": "Succeeded",
95
+ "kind": 16,
96
+ "kindString": "Enumeration Member",
97
+ "flags": {},
98
+ "sources": [
99
+ {
100
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
101
+ "line": 10,
102
+ "character": 2,
103
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L10"
104
+ }
105
+ ],
106
+ "type": {
107
+ "type": "literal",
108
+ "value": "succeeded"
109
+ }
110
+ }
111
+ ],
112
+ "groups": [
113
+ {
114
+ "title": "Enumeration Members",
115
+ "children": [
116
+ 18,
117
+ 14,
118
+ 15,
119
+ 16,
120
+ 17
121
+ ]
122
+ }
123
+ ],
124
+ "sources": [
125
+ {
126
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
127
+ "line": 6,
128
+ "character": 12,
129
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L6"
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "id": 22,
135
+ "name": "SentinelArchivistApiReportProgress",
136
+ "kind": 256,
137
+ "kindString": "Interface",
138
+ "flags": {},
139
+ "children": [
140
+ {
141
+ "id": 23,
142
+ "name": "archivist",
143
+ "kind": 1024,
144
+ "kindString": "Property",
145
+ "flags": {},
146
+ "sources": [
147
+ {
148
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
149
+ "line": 20,
150
+ "character": 2,
151
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L20"
152
+ }
153
+ ],
154
+ "type": {
155
+ "type": "reference",
156
+ "name": "ArchivistModule",
157
+ "qualifiedName": "ArchivistModule",
158
+ "package": "@xyo-network/archivist-interface"
159
+ }
160
+ },
161
+ {
162
+ "id": 24,
163
+ "name": "status",
164
+ "kind": 1024,
165
+ "kindString": "Property",
166
+ "flags": {},
167
+ "sources": [
168
+ {
169
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
170
+ "line": 21,
171
+ "character": 2,
172
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L21"
173
+ }
174
+ ],
175
+ "type": {
176
+ "type": "reference",
177
+ "id": 13,
178
+ "name": "SentinelReportStatus"
179
+ }
180
+ }
181
+ ],
182
+ "groups": [
183
+ {
184
+ "title": "Properties",
185
+ "children": [
186
+ 23,
187
+ 24
188
+ ]
189
+ }
190
+ ],
191
+ "sources": [
192
+ {
193
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
194
+ "line": 19,
195
+ "character": 17,
196
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L19"
197
+ }
198
+ ]
199
+ },
200
+ {
201
+ "id": 28,
202
+ "name": "SentinelContextState",
203
+ "kind": 256,
204
+ "kindString": "Interface",
205
+ "flags": {},
206
+ "children": [
207
+ {
208
+ "id": 29,
209
+ "name": "history",
210
+ "kind": 1024,
211
+ "kindString": "Property",
212
+ "flags": {
213
+ "isOptional": true
214
+ },
215
+ "sources": [
216
+ {
217
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
218
+ "line": 30,
219
+ "character": 2,
220
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L30"
221
+ }
222
+ ],
223
+ "type": {
224
+ "type": "array",
225
+ "elementType": {
226
+ "type": "intersection",
227
+ "types": [
228
+ {
229
+ "type": "reference",
230
+ "name": "SchemaFields",
231
+ "qualifiedName": "SchemaFields",
232
+ "package": "@xyo-network/payload-model"
233
+ },
234
+ {
235
+ "type": "reference",
236
+ "name": "PayloadFields",
237
+ "qualifiedName": "PayloadFields",
238
+ "package": "@xyo-network/payload-model"
239
+ },
240
+ {
241
+ "type": "reference",
242
+ "name": "XyoBoundWitnessFields",
243
+ "qualifiedName": "XyoBoundWitnessFields",
244
+ "package": "@xyo-network/boundwitness-model"
245
+ },
246
+ {
247
+ "type": "reflection",
248
+ "declaration": {
249
+ "id": 30,
250
+ "name": "__type",
251
+ "kind": 65536,
252
+ "kindString": "Type literal",
253
+ "flags": {},
254
+ "sources": [
255
+ {
256
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
257
+ "line": 16,
258
+ "character": 221
259
+ }
260
+ ]
261
+ }
262
+ }
263
+ ]
264
+ }
265
+ }
266
+ },
267
+ {
268
+ "id": 31,
269
+ "name": "progress",
270
+ "kind": 1024,
271
+ "kindString": "Property",
272
+ "flags": {
273
+ "isOptional": true
274
+ },
275
+ "sources": [
276
+ {
277
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
278
+ "line": 31,
279
+ "character": 2,
280
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L31"
281
+ }
282
+ ],
283
+ "type": {
284
+ "type": "reference",
285
+ "id": 25,
286
+ "name": "SentinelReportProgress"
287
+ }
288
+ },
289
+ {
290
+ "id": 32,
291
+ "name": "reportingErrors",
292
+ "kind": 1024,
293
+ "kindString": "Property",
294
+ "flags": {
295
+ "isOptional": true
296
+ },
297
+ "sources": [
298
+ {
299
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
300
+ "line": 32,
301
+ "character": 2,
302
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L32"
303
+ }
304
+ ],
305
+ "type": {
306
+ "type": "array",
307
+ "elementType": {
308
+ "type": "reference",
309
+ "name": "Error",
310
+ "qualifiedName": "Error",
311
+ "package": "typescript"
312
+ }
313
+ }
314
+ },
315
+ {
316
+ "id": 33,
317
+ "name": "sentinel",
318
+ "kind": 1024,
319
+ "kindString": "Property",
320
+ "flags": {
321
+ "isOptional": true
322
+ },
323
+ "sources": [
324
+ {
325
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
326
+ "line": 33,
327
+ "character": 2,
328
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L33"
329
+ }
330
+ ],
331
+ "type": {
332
+ "type": "reference",
333
+ "typeArguments": [
334
+ {
335
+ "type": "intersection",
336
+ "types": [
337
+ {
338
+ "type": "reference",
339
+ "name": "SchemaFields",
340
+ "qualifiedName": "SchemaFields",
341
+ "package": "@xyo-network/payload-model"
342
+ },
343
+ {
344
+ "type": "reference",
345
+ "name": "PayloadFields",
346
+ "qualifiedName": "PayloadFields",
347
+ "package": "@xyo-network/payload-model"
348
+ },
349
+ {
350
+ "type": "reflection",
351
+ "declaration": {
352
+ "id": 34,
353
+ "name": "__type",
354
+ "kind": 65536,
355
+ "kindString": "Type literal",
356
+ "flags": {},
357
+ "sources": [
358
+ {
359
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
360
+ "line": 8,
361
+ "character": 79
362
+ }
363
+ ]
364
+ }
365
+ },
366
+ {
367
+ "type": "reflection",
368
+ "declaration": {
369
+ "id": 35,
370
+ "name": "__type",
371
+ "kind": 65536,
372
+ "kindString": "Type literal",
373
+ "flags": {},
374
+ "sources": [
375
+ {
376
+ "fileName": "node_modules/@xyo-network/archivist/dist/types/ArchivingModule.d.ts",
377
+ "line": 8,
378
+ "character": 86
379
+ }
380
+ ]
381
+ }
382
+ },
383
+ {
384
+ "type": "reflection",
385
+ "declaration": {
386
+ "id": 36,
387
+ "name": "__type",
388
+ "kind": 65536,
389
+ "kindString": "Type literal",
390
+ "flags": {},
391
+ "sources": [
392
+ {
393
+ "fileName": "node_modules/@xyo-network/sentinel/dist/types/Config.d.ts",
394
+ "line": 8,
395
+ "character": 107
396
+ }
397
+ ]
398
+ }
399
+ },
400
+ {
401
+ "type": "reflection",
402
+ "declaration": {
403
+ "id": 37,
404
+ "name": "__type",
405
+ "kind": 65536,
406
+ "kindString": "Type literal",
407
+ "flags": {},
408
+ "sources": [
409
+ {
410
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
411
+ "line": 18,
412
+ "character": 17
413
+ }
414
+ ]
415
+ }
416
+ }
417
+ ]
418
+ }
419
+ ],
420
+ "name": "SentinelModule",
421
+ "qualifiedName": "SentinelModule",
422
+ "package": "@xyo-network/sentinel"
423
+ }
424
+ },
425
+ {
426
+ "id": 38,
427
+ "name": "status",
428
+ "kind": 1024,
429
+ "kindString": "Property",
430
+ "flags": {
431
+ "isOptional": true
432
+ },
433
+ "sources": [
434
+ {
435
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
436
+ "line": 34,
437
+ "character": 2,
438
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L34"
439
+ }
440
+ ],
441
+ "type": {
442
+ "type": "reference",
443
+ "id": 13,
444
+ "name": "SentinelReportStatus"
445
+ }
446
+ }
447
+ ],
448
+ "groups": [
449
+ {
450
+ "title": "Properties",
451
+ "children": [
452
+ 29,
453
+ 31,
454
+ 32,
455
+ 33,
456
+ 38
457
+ ]
458
+ }
459
+ ],
460
+ "sources": [
461
+ {
462
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
463
+ "line": 29,
464
+ "character": 17,
465
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L29"
466
+ }
467
+ ]
468
+ },
469
+ {
470
+ "id": 2,
471
+ "name": "SentinelProviderProps",
472
+ "kind": 256,
473
+ "kindString": "Interface",
474
+ "flags": {},
475
+ "children": [
476
+ {
477
+ "id": 3,
478
+ "name": "account",
479
+ "kind": 1024,
480
+ "kindString": "Property",
481
+ "flags": {
482
+ "isOptional": true
483
+ },
484
+ "comment": {
485
+ "summary": [
486
+ {
487
+ "kind": "text",
488
+ "text": "Account used by the sentinel for signing"
489
+ }
490
+ ]
491
+ },
492
+ "sources": [
493
+ {
494
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
495
+ "line": 16,
496
+ "character": 2,
497
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L16"
498
+ }
499
+ ],
500
+ "type": {
501
+ "type": "reference",
502
+ "name": "Account",
503
+ "qualifiedName": "Account",
504
+ "package": "@xyo-network/account"
505
+ }
506
+ },
507
+ {
508
+ "id": 4,
509
+ "name": "archive",
510
+ "kind": 1024,
511
+ "kindString": "Property",
512
+ "flags": {
513
+ "isOptional": true
514
+ },
515
+ "comment": {
516
+ "summary": [],
517
+ "blockTags": [
518
+ {
519
+ "tag": "@deprecated",
520
+ "content": [
521
+ {
522
+ "kind": "text",
523
+ "text": "- sentinel no longer uses archive but relies on an archivist"
524
+ }
525
+ ]
526
+ }
527
+ ]
528
+ },
529
+ "sources": [
530
+ {
531
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
532
+ "line": 18,
533
+ "character": 2,
534
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L18"
535
+ }
536
+ ],
537
+ "type": {
538
+ "type": "intrinsic",
539
+ "name": "string"
540
+ }
541
+ },
542
+ {
543
+ "id": 5,
544
+ "name": "archivist",
545
+ "kind": 1024,
546
+ "kindString": "Property",
547
+ "flags": {
548
+ "isOptional": true
549
+ },
550
+ "sources": [
551
+ {
552
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
553
+ "line": 19,
554
+ "character": 2,
555
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L19"
556
+ }
557
+ ],
558
+ "type": {
559
+ "type": "reference",
560
+ "name": "ArchivistModule",
561
+ "qualifiedName": "ArchivistModule",
562
+ "package": "@xyo-network/archivist-interface"
563
+ }
564
+ },
565
+ {
566
+ "id": 6,
567
+ "name": "name",
568
+ "kind": 1024,
569
+ "kindString": "Property",
570
+ "flags": {
571
+ "isOptional": true
572
+ },
573
+ "sources": [
574
+ {
575
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
576
+ "line": 20,
577
+ "character": 2,
578
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L20"
579
+ }
580
+ ],
581
+ "type": {
582
+ "type": "intrinsic",
583
+ "name": "string"
584
+ }
585
+ },
586
+ {
587
+ "id": 7,
588
+ "name": "required",
589
+ "kind": 1024,
590
+ "kindString": "Property",
591
+ "flags": {
592
+ "isOptional": true
593
+ },
594
+ "sources": [
595
+ {
596
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
597
+ "line": 21,
598
+ "character": 2,
599
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L21"
600
+ }
601
+ ],
602
+ "type": {
603
+ "type": "intrinsic",
604
+ "name": "boolean"
605
+ }
606
+ },
607
+ {
608
+ "id": 8,
609
+ "name": "witnesses",
610
+ "kind": 1024,
611
+ "kindString": "Property",
612
+ "flags": {
613
+ "isOptional": true
614
+ },
615
+ "sources": [
616
+ {
617
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
618
+ "line": 22,
619
+ "character": 2,
620
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L22"
621
+ }
622
+ ],
623
+ "type": {
624
+ "type": "array",
625
+ "elementType": {
626
+ "type": "reference",
627
+ "name": "WitnessModule",
628
+ "qualifiedName": "WitnessModule",
629
+ "package": "@xyo-network/witness"
630
+ }
631
+ }
632
+ }
633
+ ],
634
+ "groups": [
635
+ {
636
+ "title": "Properties",
637
+ "children": [
638
+ 3,
639
+ 4,
640
+ 5,
641
+ 6,
642
+ 7,
643
+ 8
644
+ ]
645
+ }
646
+ ],
647
+ "sources": [
648
+ {
649
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
650
+ "line": 14,
651
+ "character": 17,
652
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L14"
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "id": 25,
658
+ "name": "SentinelReportProgress",
659
+ "kind": 256,
660
+ "kindString": "Interface",
661
+ "flags": {},
662
+ "children": [
663
+ {
664
+ "id": 26,
665
+ "name": "archivists",
666
+ "kind": 1024,
667
+ "kindString": "Property",
668
+ "flags": {
669
+ "isOptional": true
670
+ },
671
+ "sources": [
672
+ {
673
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
674
+ "line": 25,
675
+ "character": 2,
676
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L25"
677
+ }
678
+ ],
679
+ "type": {
680
+ "type": "reference",
681
+ "typeArguments": [
682
+ {
683
+ "type": "intrinsic",
684
+ "name": "string"
685
+ },
686
+ {
687
+ "type": "reference",
688
+ "id": 22,
689
+ "name": "SentinelArchivistApiReportProgress"
690
+ }
691
+ ],
692
+ "name": "Record",
693
+ "qualifiedName": "Record",
694
+ "package": "typescript"
695
+ }
696
+ },
697
+ {
698
+ "id": 27,
699
+ "name": "witnesses",
700
+ "kind": 1024,
701
+ "kindString": "Property",
702
+ "flags": {
703
+ "isOptional": true
704
+ },
705
+ "sources": [
706
+ {
707
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
708
+ "line": 26,
709
+ "character": 2,
710
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L26"
711
+ }
712
+ ],
713
+ "type": {
714
+ "type": "reference",
715
+ "typeArguments": [
716
+ {
717
+ "type": "intrinsic",
718
+ "name": "string"
719
+ },
720
+ {
721
+ "type": "reference",
722
+ "id": 19,
723
+ "name": "SentinelWitnessReportProgress"
724
+ }
725
+ ],
726
+ "name": "Record",
727
+ "qualifiedName": "Record",
728
+ "package": "typescript"
729
+ }
730
+ }
731
+ ],
732
+ "groups": [
733
+ {
734
+ "title": "Properties",
735
+ "children": [
736
+ 26,
737
+ 27
738
+ ]
739
+ }
740
+ ],
741
+ "sources": [
742
+ {
743
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
744
+ "line": 24,
745
+ "character": 17,
746
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L24"
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "id": 19,
752
+ "name": "SentinelWitnessReportProgress",
753
+ "kind": 256,
754
+ "kindString": "Interface",
755
+ "flags": {},
756
+ "children": [
757
+ {
758
+ "id": 20,
759
+ "name": "status",
760
+ "kind": 1024,
761
+ "kindString": "Property",
762
+ "flags": {},
763
+ "sources": [
764
+ {
765
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
766
+ "line": 15,
767
+ "character": 2,
768
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L15"
769
+ }
770
+ ],
771
+ "type": {
772
+ "type": "reference",
773
+ "id": 13,
774
+ "name": "SentinelReportStatus"
775
+ }
776
+ },
777
+ {
778
+ "id": 21,
779
+ "name": "witness",
780
+ "kind": 1024,
781
+ "kindString": "Property",
782
+ "flags": {},
783
+ "sources": [
784
+ {
785
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
786
+ "line": 16,
787
+ "character": 2,
788
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L16"
789
+ }
790
+ ],
791
+ "type": {
792
+ "type": "reference",
793
+ "name": "WitnessWrapper",
794
+ "qualifiedName": "WitnessWrapper",
795
+ "package": "@xyo-network/witness"
796
+ }
797
+ }
798
+ ],
799
+ "groups": [
800
+ {
801
+ "title": "Properties",
802
+ "children": [
803
+ 20,
804
+ 21
805
+ ]
806
+ }
807
+ ],
808
+ "sources": [
809
+ {
810
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/State.ts",
811
+ "line": 14,
812
+ "character": 17,
813
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/State.ts#L14"
814
+ }
815
+ ]
816
+ },
817
+ {
818
+ "id": 1,
819
+ "name": "SentinelContext",
820
+ "kind": 32,
821
+ "kindString": "Variable",
822
+ "flags": {
823
+ "isConst": true
824
+ },
825
+ "sources": [
826
+ {
827
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Context.ts",
828
+ "line": 5,
829
+ "character": 13,
830
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Context.ts#L5"
831
+ }
832
+ ],
833
+ "type": {
834
+ "type": "reference",
835
+ "typeArguments": [
836
+ {
837
+ "type": "intersection",
838
+ "types": [
839
+ {
840
+ "type": "reference",
841
+ "id": 28,
842
+ "name": "SentinelContextState"
843
+ },
844
+ {
845
+ "type": "reference",
846
+ "name": "ContextExState"
847
+ }
848
+ ]
849
+ }
850
+ ],
851
+ "name": "Context",
852
+ "qualifiedName": "React.Context",
853
+ "package": "@types/react"
854
+ },
855
+ "defaultValue": "..."
856
+ },
857
+ {
858
+ "id": 9,
859
+ "name": "SentinelProvider",
860
+ "kind": 64,
861
+ "kindString": "Function",
862
+ "flags": {},
863
+ "sources": [
864
+ {
865
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/Provider.tsx",
866
+ "line": 25,
867
+ "character": 13,
868
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/Provider.tsx#L25"
869
+ }
870
+ ],
871
+ "signatures": [
872
+ {
873
+ "id": 10,
874
+ "name": "SentinelProvider",
875
+ "kind": 4096,
876
+ "kindString": "Call signature",
877
+ "flags": {},
878
+ "parameters": [
879
+ {
880
+ "id": 11,
881
+ "name": "props",
882
+ "kind": 32768,
883
+ "kindString": "Parameter",
884
+ "flags": {},
885
+ "type": {
886
+ "type": "reference",
887
+ "typeArguments": [
888
+ {
889
+ "type": "reference",
890
+ "id": 2,
891
+ "name": "SentinelProviderProps"
892
+ }
893
+ ],
894
+ "name": "WithChildren",
895
+ "qualifiedName": "WithChildren",
896
+ "package": "@xylabs/react-shared"
897
+ }
898
+ },
899
+ {
900
+ "id": 12,
901
+ "name": "context",
902
+ "kind": 32768,
903
+ "kindString": "Parameter",
904
+ "flags": {
905
+ "isOptional": true
906
+ },
907
+ "type": {
908
+ "type": "intrinsic",
909
+ "name": "any"
910
+ }
911
+ }
912
+ ],
913
+ "type": {
914
+ "type": "union",
915
+ "types": [
916
+ {
917
+ "type": "literal",
918
+ "value": null
919
+ },
920
+ {
921
+ "type": "reference",
922
+ "typeArguments": [
923
+ {
924
+ "type": "intrinsic",
925
+ "name": "any"
926
+ },
927
+ {
928
+ "type": "intrinsic",
929
+ "name": "any"
930
+ }
931
+ ],
932
+ "name": "ReactElement",
933
+ "qualifiedName": "React.ReactElement",
934
+ "package": "@types/react"
935
+ }
936
+ ]
937
+ }
938
+ }
939
+ ]
940
+ },
941
+ {
942
+ "id": 39,
943
+ "name": "useSentinel",
944
+ "kind": 64,
945
+ "kindString": "Function",
946
+ "flags": {},
947
+ "sources": [
948
+ {
949
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
950
+ "line": 5,
951
+ "character": 13,
952
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L5"
953
+ }
954
+ ],
955
+ "signatures": [
956
+ {
957
+ "id": 40,
958
+ "name": "useSentinel",
959
+ "kind": 4096,
960
+ "kindString": "Call signature",
961
+ "flags": {},
962
+ "type": {
963
+ "type": "reflection",
964
+ "declaration": {
965
+ "id": 41,
966
+ "name": "__type",
967
+ "kind": 65536,
968
+ "kindString": "Type literal",
969
+ "flags": {},
970
+ "children": [
971
+ {
972
+ "id": 42,
973
+ "name": "history",
974
+ "kind": 1024,
975
+ "kindString": "Property",
976
+ "flags": {},
977
+ "sources": [
978
+ {
979
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
980
+ "line": 7,
981
+ "character": 11,
982
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L7"
983
+ }
984
+ ],
985
+ "type": {
986
+ "type": "union",
987
+ "types": [
988
+ {
989
+ "type": "intrinsic",
990
+ "name": "undefined"
991
+ },
992
+ {
993
+ "type": "array",
994
+ "elementType": {
995
+ "type": "intersection",
996
+ "types": [
997
+ {
998
+ "type": "reference",
999
+ "name": "SchemaFields",
1000
+ "qualifiedName": "SchemaFields",
1001
+ "package": "@xyo-network/payload-model"
1002
+ },
1003
+ {
1004
+ "type": "reference",
1005
+ "name": "PayloadFields",
1006
+ "qualifiedName": "PayloadFields",
1007
+ "package": "@xyo-network/payload-model"
1008
+ },
1009
+ {
1010
+ "type": "reference",
1011
+ "name": "XyoBoundWitnessFields",
1012
+ "qualifiedName": "XyoBoundWitnessFields",
1013
+ "package": "@xyo-network/boundwitness-model"
1014
+ },
1015
+ {
1016
+ "type": "reflection",
1017
+ "declaration": {
1018
+ "id": 43,
1019
+ "name": "__type",
1020
+ "kind": 65536,
1021
+ "kindString": "Type literal",
1022
+ "flags": {},
1023
+ "sources": [
1024
+ {
1025
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
1026
+ "line": 16,
1027
+ "character": 221
1028
+ }
1029
+ ]
1030
+ }
1031
+ }
1032
+ ]
1033
+ }
1034
+ }
1035
+ ]
1036
+ }
1037
+ },
1038
+ {
1039
+ "id": 44,
1040
+ "name": "progress",
1041
+ "kind": 1024,
1042
+ "kindString": "Property",
1043
+ "flags": {},
1044
+ "sources": [
1045
+ {
1046
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
1047
+ "line": 7,
1048
+ "character": 20,
1049
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L7"
1050
+ }
1051
+ ],
1052
+ "type": {
1053
+ "type": "union",
1054
+ "types": [
1055
+ {
1056
+ "type": "intrinsic",
1057
+ "name": "undefined"
1058
+ },
1059
+ {
1060
+ "type": "reference",
1061
+ "id": 25,
1062
+ "name": "SentinelReportProgress"
1063
+ }
1064
+ ]
1065
+ }
1066
+ },
1067
+ {
1068
+ "id": 45,
1069
+ "name": "reportingErrors",
1070
+ "kind": 1024,
1071
+ "kindString": "Property",
1072
+ "flags": {},
1073
+ "sources": [
1074
+ {
1075
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
1076
+ "line": 7,
1077
+ "character": 30,
1078
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L7"
1079
+ }
1080
+ ],
1081
+ "type": {
1082
+ "type": "union",
1083
+ "types": [
1084
+ {
1085
+ "type": "intrinsic",
1086
+ "name": "undefined"
1087
+ },
1088
+ {
1089
+ "type": "array",
1090
+ "elementType": {
1091
+ "type": "reference",
1092
+ "name": "Error",
1093
+ "qualifiedName": "Error",
1094
+ "package": "typescript"
1095
+ }
1096
+ }
1097
+ ]
1098
+ }
1099
+ },
1100
+ {
1101
+ "id": 46,
1102
+ "name": "sentinel",
1103
+ "kind": 1024,
1104
+ "kindString": "Property",
1105
+ "flags": {},
1106
+ "sources": [
1107
+ {
1108
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
1109
+ "line": 7,
1110
+ "character": 47,
1111
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L7"
1112
+ }
1113
+ ],
1114
+ "type": {
1115
+ "type": "union",
1116
+ "types": [
1117
+ {
1118
+ "type": "intrinsic",
1119
+ "name": "undefined"
1120
+ },
1121
+ {
1122
+ "type": "reference",
1123
+ "typeArguments": [
1124
+ {
1125
+ "type": "intersection",
1126
+ "types": [
1127
+ {
1128
+ "type": "reference",
1129
+ "name": "SchemaFields",
1130
+ "qualifiedName": "SchemaFields",
1131
+ "package": "@xyo-network/payload-model"
1132
+ },
1133
+ {
1134
+ "type": "reference",
1135
+ "name": "PayloadFields",
1136
+ "qualifiedName": "PayloadFields",
1137
+ "package": "@xyo-network/payload-model"
1138
+ },
1139
+ {
1140
+ "type": "reflection",
1141
+ "declaration": {
1142
+ "id": 47,
1143
+ "name": "__type",
1144
+ "kind": 65536,
1145
+ "kindString": "Type literal",
1146
+ "flags": {},
1147
+ "sources": [
1148
+ {
1149
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
1150
+ "line": 8,
1151
+ "character": 79
1152
+ }
1153
+ ]
1154
+ }
1155
+ },
1156
+ {
1157
+ "type": "reflection",
1158
+ "declaration": {
1159
+ "id": 48,
1160
+ "name": "__type",
1161
+ "kind": 65536,
1162
+ "kindString": "Type literal",
1163
+ "flags": {},
1164
+ "sources": [
1165
+ {
1166
+ "fileName": "node_modules/@xyo-network/archivist/dist/types/ArchivingModule.d.ts",
1167
+ "line": 8,
1168
+ "character": 86
1169
+ }
1170
+ ]
1171
+ }
1172
+ },
1173
+ {
1174
+ "type": "reflection",
1175
+ "declaration": {
1176
+ "id": 49,
1177
+ "name": "__type",
1178
+ "kind": 65536,
1179
+ "kindString": "Type literal",
1180
+ "flags": {},
1181
+ "sources": [
1182
+ {
1183
+ "fileName": "node_modules/@xyo-network/sentinel/dist/types/Config.d.ts",
1184
+ "line": 8,
1185
+ "character": 107
1186
+ }
1187
+ ]
1188
+ }
1189
+ },
1190
+ {
1191
+ "type": "reflection",
1192
+ "declaration": {
1193
+ "id": 50,
1194
+ "name": "__type",
1195
+ "kind": 65536,
1196
+ "kindString": "Type literal",
1197
+ "flags": {},
1198
+ "sources": [
1199
+ {
1200
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
1201
+ "line": 18,
1202
+ "character": 17
1203
+ }
1204
+ ]
1205
+ }
1206
+ }
1207
+ ]
1208
+ }
1209
+ ],
1210
+ "name": "SentinelModule",
1211
+ "qualifiedName": "SentinelModule",
1212
+ "package": "@xyo-network/sentinel"
1213
+ }
1214
+ ]
1215
+ }
1216
+ },
1217
+ {
1218
+ "id": 51,
1219
+ "name": "status",
1220
+ "kind": 1024,
1221
+ "kindString": "Property",
1222
+ "flags": {},
1223
+ "sources": [
1224
+ {
1225
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
1226
+ "line": 7,
1227
+ "character": 57,
1228
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L7"
1229
+ }
1230
+ ],
1231
+ "type": {
1232
+ "type": "union",
1233
+ "types": [
1234
+ {
1235
+ "type": "intrinsic",
1236
+ "name": "undefined"
1237
+ },
1238
+ {
1239
+ "type": "reference",
1240
+ "id": 13,
1241
+ "name": "SentinelReportStatus"
1242
+ }
1243
+ ]
1244
+ }
1245
+ }
1246
+ ],
1247
+ "groups": [
1248
+ {
1249
+ "title": "Properties",
1250
+ "children": [
1251
+ 42,
1252
+ 44,
1253
+ 45,
1254
+ 46,
1255
+ 51
1256
+ ]
1257
+ }
1258
+ ],
1259
+ "sources": [
1260
+ {
1261
+ "fileName": "packages/sdk/packages/sentinal/src/contexts/use.ts",
1262
+ "line": 7,
1263
+ "character": 9,
1264
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/contexts/use.ts#L7"
1265
+ }
1266
+ ]
1267
+ }
1268
+ }
1269
+ }
1270
+ ]
1271
+ }
1272
+ ],
1273
+ "groups": [
1274
+ {
1275
+ "title": "Enumerations",
1276
+ "children": [
1277
+ 13
1278
+ ]
1279
+ },
1280
+ {
1281
+ "title": "Interfaces",
1282
+ "children": [
1283
+ 22,
1284
+ 28,
1285
+ 2,
1286
+ 25,
1287
+ 19
1288
+ ]
1289
+ },
1290
+ {
1291
+ "title": "Variables",
1292
+ "children": [
1293
+ 1
1294
+ ]
1295
+ },
1296
+ {
1297
+ "title": "Functions",
1298
+ "children": [
1299
+ 9,
1300
+ 39
1301
+ ]
1302
+ }
1303
+ ],
1304
+ "sources": [
1305
+ {
1306
+ "fileName": "packages/sdk/packages/sentinal/src/index.ts",
1307
+ "line": 1,
1308
+ "character": 0,
1309
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/a2728d695/packages/sdk/packages/sentinal/src/index.ts#L1"
1310
+ }
1311
+ ]
1312
+ }