@xyo-network/diviner-models 5.3.29 → 5.4.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.
Files changed (2) hide show
  1. package/README.md +0 -4493
  2. package/package.json +24 -28
package/README.md CHANGED
@@ -38,4499 +38,6 @@ bun add {{name}}
38
38
 
39
39
  See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
40
 
41
- ## Reference
42
-
43
- ### packages
44
-
45
- ### modules
46
-
47
- ### packages
48
-
49
- ### diviner
50
-
51
- ### packages
52
-
53
- ### models
54
-
55
- ### .temp-typedoc
56
-
57
- ### classes
58
-
59
- ### <a id="IsAttachableDivinerInstanceFactory"></a>IsAttachableDivinerInstanceFactory
60
-
61
- [**@xyo-network/diviner-models**](#../README)
62
-
63
- ***
64
-
65
- ## Extends
66
-
67
- - `IsObjectFactory`\<`T`\>
68
-
69
- ## Type Parameters
70
-
71
- ### T
72
-
73
- `T` *extends* [`AttachableDivinerInstance`](#../interfaces/AttachableDivinerInstance) = [`AttachableDivinerInstance`](#../interfaces/AttachableDivinerInstance)
74
-
75
- ## Constructors
76
-
77
- ### Constructor
78
-
79
- ```ts
80
- new IsAttachableDivinerInstanceFactory<T>(): IsAttachableDivinerInstanceFactory<T>;
81
- ```
82
-
83
- ### Returns
84
-
85
- `IsAttachableDivinerInstanceFactory`\<`T`\>
86
-
87
- ### Inherited from
88
-
89
- ```ts
90
- IsObjectFactory<T>.constructor
91
- ```
92
-
93
- ### interfaces
94
-
95
- ### <a id="AttachableDivinerInstance"></a>AttachableDivinerInstance
96
-
97
- [**@xyo-network/diviner-models**](#../README)
98
-
99
- ***
100
-
101
- ## Extends
102
-
103
- - [`DivinerInstance`](#DivinerInstance)\<`TParams`, `TIn`, `TOut`, `TEventData`\>.`AttachableModuleInstance`\<`TParams`, `TEventData`\>
104
-
105
- ## Type Parameters
106
-
107
- ### TParams
108
-
109
- `TParams` *extends* [`DivinerParams`](#DivinerParams) = [`DivinerParams`](#DivinerParams)
110
-
111
- ### TIn
112
-
113
- `TIn` *extends* `Payload` = `Payload`
114
-
115
- ### TOut
116
-
117
- `TOut` *extends* `Payload` = `Payload`
118
-
119
- ### TEventData
120
-
121
- `TEventData` *extends* [`DivinerModuleEventData`](#../type-aliases/DivinerModuleEventData) = [`DivinerModuleEventData`](#../type-aliases/DivinerModuleEventData)
122
-
123
- ## Properties
124
-
125
- ### divine
126
-
127
- ```ts
128
- divine: (payloads?, retry?) => Promise<DivinerDivineResult<TOut>[]>;
129
- ```
130
-
131
- ### Parameters
132
-
133
- #### payloads?
134
-
135
- `TIn`[]
136
-
137
- #### retry?
138
-
139
- `RetryConfig`
140
-
141
- ### Returns
142
-
143
- `Promise`\<[`DivinerDivineResult`](#../type-aliases/DivinerDivineResult)\<`TOut`\>[]\>
144
-
145
- ### Inherited from
146
-
147
- [`DivinerInstance`](#DivinerInstance).[`divine`](DivinerInstance.md#divine)
148
-
149
- ***
150
-
151
- ### divineQuery
152
-
153
- ```ts
154
- divineQuery: (payloads?, account?, retry?) => Promise<ModuleQueryResult<TOut>>;
155
- ```
156
-
157
- ### Parameters
158
-
159
- #### payloads?
160
-
161
- `TIn`[]
162
-
163
- #### account?
164
-
165
- `AccountInstance`
166
-
167
- #### retry?
168
-
169
- `RetryConfig`
170
-
171
- ### Returns
172
-
173
- `Promise`\<`ModuleQueryResult`\<`TOut`\>\>
174
-
175
- ### Inherited from
176
-
177
- [`DivinerInstance`](#DivinerInstance).[`divineQuery`](DivinerInstance.md#divinequery)
178
-
179
- ***
180
-
181
- ### address
182
-
183
- ```ts
184
- address: BrandedAddress;
185
- ```
186
-
187
- ### Inherited from
188
-
189
- [`DivinerInstance`](#DivinerInstance).[`address`](DivinerInstance.md#address)
190
-
191
- ***
192
-
193
- ### config
194
-
195
- ```ts
196
- config: TParams["config"];
197
- ```
198
-
199
- ### Inherited from
200
-
201
- [`DivinerInstance`](#DivinerInstance).[`config`](DivinerInstance.md#config)
202
-
203
- ***
204
-
205
- ### id
206
-
207
- ```ts
208
- id: string;
209
- ```
210
-
211
- The name (if specified) or address of the module
212
-
213
- ### Inherited from
214
-
215
- [`DivinerInstance`](#DivinerInstance).[`id`](DivinerInstance.md#id)
216
-
217
- ***
218
-
219
- ### modName?
220
-
221
- ```ts
222
- optional modName?: string;
223
- ```
224
-
225
- ### Inherited from
226
-
227
- [`DivinerInstance`](#DivinerInstance).[`modName`](DivinerInstance.md#modname)
228
-
229
- ***
230
-
231
- ### params
232
-
233
- ```ts
234
- params: TParams;
235
- ```
236
-
237
- ### Inherited from
238
-
239
- [`DivinerInstance`](#DivinerInstance).[`params`](DivinerInstance.md#params)
240
-
241
- ***
242
-
243
- ### previousHash
244
-
245
- ```ts
246
- previousHash: () => Promisable<string | undefined>;
247
- ```
248
-
249
- ### Returns
250
-
251
- `Promisable`\<`string` \| `undefined`\>
252
-
253
- ### Inherited from
254
-
255
- [`DivinerInstance`](#DivinerInstance).[`previousHash`](DivinerInstance.md#previoushash)
256
-
257
- ***
258
-
259
- ### queries
260
-
261
- ```ts
262
- queries: string[];
263
- ```
264
-
265
- ### Inherited from
266
-
267
- [`DivinerInstance`](#DivinerInstance).[`queries`](DivinerInstance.md#queries)
268
-
269
- ***
270
-
271
- ### query
272
-
273
- ```ts
274
- query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
275
- ```
276
-
277
- ### Type Parameters
278
-
279
- #### T
280
-
281
- `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
282
-
283
- #### TConf
284
-
285
- `TConf` *extends* `ModuleConfig` = `ModuleConfig`
286
-
287
- ### Parameters
288
-
289
- #### query
290
-
291
- `T`
292
-
293
- #### payloads?
294
-
295
- `Payload`[]
296
-
297
- #### queryConfig?
298
-
299
- `TConf`
300
-
301
- ### Returns
302
-
303
- `Promisable`\<`ModuleQueryResult`\>
304
-
305
- ### Inherited from
306
-
307
- [`DivinerInstance`](#DivinerInstance).[`query`](DivinerInstance.md#query)
308
-
309
- ***
310
-
311
- ### queryable
312
-
313
- ```ts
314
- queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
315
- ```
316
-
317
- ### Type Parameters
318
-
319
- #### T
320
-
321
- `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
322
-
323
- #### TConf
324
-
325
- `TConf` *extends* `ModuleConfig` = `ModuleConfig`
326
-
327
- ### Parameters
328
-
329
- #### query
330
-
331
- `T`
332
-
333
- #### payloads?
334
-
335
- `Payload`[]
336
-
337
- #### queryConfig?
338
-
339
- `TConf`
340
-
341
- ### Returns
342
-
343
- `Promisable`\<`boolean`\>
344
-
345
- ### Inherited from
346
-
347
- [`DivinerInstance`](#DivinerInstance).[`queryable`](DivinerInstance.md#queryable)
348
-
349
- ***
350
-
351
- ### manifest
352
-
353
- ```ts
354
- manifest: (maxDepth?, ignoreAddresses?) => Promisable<ModuleManifestPayload>;
355
- ```
356
-
357
- ### Parameters
358
-
359
- #### maxDepth?
360
-
361
- `number`
362
-
363
- #### ignoreAddresses?
364
-
365
- `BrandedAddress`[]
366
-
367
- ### Returns
368
-
369
- `Promisable`\<`ModuleManifestPayload`\>
370
-
371
- ### Inherited from
372
-
373
- [`DivinerInstance`](#DivinerInstance).[`manifest`](DivinerInstance.md#manifest)
374
-
375
- ***
376
-
377
- ### manifestQuery
378
-
379
- ```ts
380
- manifestQuery: (account, maxDepth?, ignoreAddresses?) => Promisable<ModuleQueryResult<ModuleManifestPayload>>;
381
- ```
382
-
383
- ### Parameters
384
-
385
- #### account
386
-
387
- `AccountInstance`
388
-
389
- #### maxDepth?
390
-
391
- `number`
392
-
393
- #### ignoreAddresses?
394
-
395
- `BrandedAddress`[]
396
-
397
- ### Returns
398
-
399
- `Promisable`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
400
-
401
- ### Inherited from
402
-
403
- [`DivinerInstance`](#DivinerInstance).[`manifestQuery`](DivinerInstance.md#manifestquery)
404
-
405
- ***
406
-
407
- ### moduleAddress
408
-
409
- ```ts
410
- moduleAddress: () => Promisable<(AddressPreviousHashPayload | AddressPayload)[]>;
411
- ```
412
-
413
- ### Returns
414
-
415
- `Promisable`\<(`AddressPreviousHashPayload` \| `AddressPayload`)[]\>
416
-
417
- ### Inherited from
418
-
419
- [`DivinerInstance`](#DivinerInstance).[`moduleAddress`](DivinerInstance.md#moduleaddress)
420
-
421
- ***
422
-
423
- ### state
424
-
425
- ```ts
426
- state: () => Promisable<Payload[]>;
427
- ```
428
-
429
- ### Returns
430
-
431
- `Promisable`\<`Payload`[]\>
432
-
433
- ### Inherited from
434
-
435
- [`DivinerInstance`](#DivinerInstance).[`state`](DivinerInstance.md#state)
436
-
437
- ***
438
-
439
- ### stateQuery
440
-
441
- ```ts
442
- stateQuery: (account) => Promisable<ModuleQueryResult>;
443
- ```
444
-
445
- ### Parameters
446
-
447
- #### account
448
-
449
- `AccountInstance`
450
-
451
- ### Returns
452
-
453
- `Promisable`\<`ModuleQueryResult`\>
454
-
455
- ### Inherited from
456
-
457
- [`DivinerInstance`](#DivinerInstance).[`stateQuery`](DivinerInstance.md#statequery)
458
-
459
- ***
460
-
461
- ### account?
462
-
463
- ```ts
464
- optional account?: AccountInstance;
465
- ```
466
-
467
- ### Inherited from
468
-
469
- [`DivinerInstance`](#DivinerInstance).[`account`](DivinerInstance.md#account)
470
-
471
- ***
472
-
473
- ### addParent
474
-
475
- ```ts
476
- addParent: (mod) => void;
477
- ```
478
-
479
- ### Parameters
480
-
481
- #### mod
482
-
483
- `ModuleInstance`
484
-
485
- ### Returns
486
-
487
- `void`
488
-
489
- ### Inherited from
490
-
491
- [`DivinerInstance`](#DivinerInstance).[`addParent`](DivinerInstance.md#addparent)
492
-
493
- ***
494
-
495
- ### addressCache?
496
-
497
- ```ts
498
- optional addressCache?: (direction, includePrivate) => AddressToWeakInstanceCache | undefined;
499
- ```
500
-
501
- ### Parameters
502
-
503
- #### direction
504
-
505
- `Direction`
506
-
507
- #### includePrivate
508
-
509
- `boolean`
510
-
511
- ### Returns
512
-
513
- `AddressToWeakInstanceCache` \| `undefined`
514
-
515
- ### Inherited from
516
-
517
- [`DivinerInstance`](#DivinerInstance).[`addressCache`](DivinerInstance.md#addresscache)
518
-
519
- ***
520
-
521
- ### parents
522
-
523
- ```ts
524
- parents: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
525
- ```
526
-
527
- ### Returns
528
-
529
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
530
-
531
- ### Inherited from
532
-
533
- [`DivinerInstance`](#DivinerInstance).[`parents`](DivinerInstance.md#parents)
534
-
535
- ***
536
-
537
- ### privateChildren
538
-
539
- ```ts
540
- privateChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
541
- ```
542
-
543
- ### Returns
544
-
545
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
546
-
547
- ### Inherited from
548
-
549
- [`DivinerInstance`](#DivinerInstance).[`privateChildren`](DivinerInstance.md#privatechildren)
550
-
551
- ***
552
-
553
- ### publicChildren
554
-
555
- ```ts
556
- publicChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
557
- ```
558
-
559
- ### Returns
560
-
561
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
562
-
563
- ### Inherited from
564
-
565
- [`DivinerInstance`](#DivinerInstance).[`publicChildren`](DivinerInstance.md#publicchildren)
566
-
567
- ***
568
-
569
- ### removeParent
570
-
571
- ```ts
572
- removeParent: (address) => void;
573
- ```
574
-
575
- ### Parameters
576
-
577
- #### address
578
-
579
- `BrandedAddress`
580
-
581
- ### Returns
582
-
583
- `void`
584
-
585
- ### Inherited from
586
-
587
- [`DivinerInstance`](#DivinerInstance).[`removeParent`](DivinerInstance.md#removeparent)
588
-
589
- ***
590
-
591
- ### siblings
592
-
593
- ```ts
594
- siblings: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
595
- ```
596
-
597
- ### Returns
598
-
599
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
600
-
601
- ### Inherited from
602
-
603
- [`DivinerInstance`](#DivinerInstance).[`siblings`](DivinerInstance.md#siblings)
604
-
605
- ***
606
-
607
- ### pipeline?
608
-
609
- ```ts
610
- readonly optional pipeline?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
611
- ```
612
-
613
- ### Inherited from
614
-
615
- [`DivinerInstance`](#DivinerInstance).[`pipeline`](DivinerInstance.md#pipeline)
616
-
617
- ***
618
-
619
- ### status
620
-
621
- ```ts
622
- readonly status: ModuleStatus | null;
623
- ```
624
-
625
- ### Inherited from
626
-
627
- [`DivinerInstance`](#DivinerInstance).[`status`](DivinerInstance.md#status)
628
-
629
- ***
630
-
631
- ### priority
632
-
633
- ```ts
634
- priority: ObjectResolverPriority;
635
- ```
636
-
637
- ### Inherited from
638
-
639
- [`DivinerInstance`](#DivinerInstance).[`priority`](DivinerInstance.md#priority)
640
-
641
- ***
642
-
643
- ### downResolver
644
-
645
- ```ts
646
- readonly downResolver: ModuleResolverInstance;
647
- ```
648
-
649
- ### Inherited from
650
-
651
- ```ts
652
- AttachableModuleInstance.downResolver
653
- ```
654
-
655
- ***
656
-
657
- ### privateResolver
658
-
659
- ```ts
660
- readonly privateResolver: ModuleResolverInstance;
661
- ```
662
-
663
- ### Inherited from
664
-
665
- ```ts
666
- AttachableModuleInstance.privateResolver
667
- ```
668
-
669
- ***
670
-
671
- ### upResolver
672
-
673
- ```ts
674
- readonly upResolver: ModuleResolverInstance;
675
- ```
676
-
677
- ### Inherited from
678
-
679
- ```ts
680
- AttachableModuleInstance.upResolver
681
- ```
682
-
683
- ## Methods
684
-
685
- ### resolve()
686
-
687
- ### Call Signature
688
-
689
- ```ts
690
- resolve<T>(all, options?): Promisable<T[]>;
691
- ```
692
-
693
- #### Type Parameters
694
-
695
- ##### T
696
-
697
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
698
-
699
- #### Parameters
700
-
701
- ##### all
702
-
703
- `"*"`
704
-
705
- ##### options?
706
-
707
- `ObjectFilterOptions`\<`T`\>
708
-
709
- #### Returns
710
-
711
- `Promisable`\<`T`[]\>
712
-
713
- #### Inherited from
714
-
715
- [`DivinerInstance`](#DivinerInstance).[`resolve`](DivinerInstance.md#resolve)
716
-
717
- ### Call Signature
718
-
719
- ```ts
720
- resolve<T>(id, options?): Promisable<T | undefined>;
721
- ```
722
-
723
- #### Type Parameters
724
-
725
- ##### T
726
-
727
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
728
-
729
- #### Parameters
730
-
731
- ##### id
732
-
733
- `ModuleIdentifier`
734
-
735
- ##### options?
736
-
737
- `ObjectFilterOptions`\<`T`\>
738
-
739
- #### Returns
740
-
741
- `Promisable`\<`T` \| `undefined`\>
742
-
743
- #### Inherited from
744
-
745
- [`DivinerInstance`](#DivinerInstance).[`resolve`](DivinerInstance.md#resolve)
746
-
747
- ### Call Signature
748
-
749
- ```ts
750
- resolve<T>(id?, options?): Promisable<T | T[] | undefined>;
751
- ```
752
-
753
- #### Type Parameters
754
-
755
- ##### T
756
-
757
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
758
-
759
- #### Parameters
760
-
761
- ##### id?
762
-
763
- `ModuleIdentifier`
764
-
765
- ##### options?
766
-
767
- `ObjectFilterOptions`\<`T`\>
768
-
769
- #### Returns
770
-
771
- `Promisable`\<`T` \| `T`[] \| `undefined`\>
772
-
773
- #### Inherited from
774
-
775
- [`DivinerInstance`](#DivinerInstance).[`resolve`](DivinerInstance.md#resolve)
776
-
777
- ***
778
-
779
- ### resolvePrivate()
780
-
781
- ### Call Signature
782
-
783
- ```ts
784
- resolvePrivate<T>(all, options?): Promise<T[]>;
785
- ```
786
-
787
- #### Type Parameters
788
-
789
- ##### T
790
-
791
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
792
-
793
- #### Parameters
794
-
795
- ##### all
796
-
797
- `"*"`
798
-
799
- ##### options?
800
-
801
- `ObjectFilterOptions`\<`T`\>
802
-
803
- #### Returns
804
-
805
- `Promise`\<`T`[]\>
806
-
807
- #### Inherited from
808
-
809
- [`DivinerInstance`](#DivinerInstance).[`resolvePrivate`](DivinerInstance.md#resolveprivate)
810
-
811
- ### Call Signature
812
-
813
- ```ts
814
- resolvePrivate<T>(id, options?): Promise<T | undefined>;
815
- ```
816
-
817
- #### Type Parameters
818
-
819
- ##### T
820
-
821
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
822
-
823
- #### Parameters
824
-
825
- ##### id
826
-
827
- `ModuleIdentifier`
828
-
829
- ##### options?
830
-
831
- `ObjectFilterOptions`\<`T`\>
832
-
833
- #### Returns
834
-
835
- `Promise`\<`T` \| `undefined`\>
836
-
837
- #### Inherited from
838
-
839
- [`DivinerInstance`](#DivinerInstance).[`resolvePrivate`](DivinerInstance.md#resolveprivate)
840
-
841
- ### Call Signature
842
-
843
- ```ts
844
- resolvePrivate<T>(id, options?): Promise<T | T[] | undefined>;
845
- ```
846
-
847
- #### Type Parameters
848
-
849
- ##### T
850
-
851
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
852
-
853
- #### Parameters
854
-
855
- ##### id
856
-
857
- `ModuleIdentifier`
858
-
859
- ##### options?
860
-
861
- `ObjectFilterOptions`\<`T`\>
862
-
863
- #### Returns
864
-
865
- `Promise`\<`T` \| `T`[] \| `undefined`\>
866
-
867
- #### Inherited from
868
-
869
- [`DivinerInstance`](#DivinerInstance).[`resolvePrivate`](DivinerInstance.md#resolveprivate)
870
-
871
- ### <a id="DivineEndEventData"></a>DivineEndEventData
872
-
873
- [**@xyo-network/diviner-models**](#../README)
874
-
875
- ***
876
-
877
- ## Extends
878
-
879
- - `EventData`
880
-
881
- ## Type Parameters
882
-
883
- ### T
884
-
885
- `T` *extends* `QueryableModule` = `QueryableModule`
886
-
887
- ### TIn
888
-
889
- `TIn` *extends* `Payload` = `Payload`
890
-
891
- ### TOut
892
-
893
- `TOut` *extends* `Payload` = `Payload`
894
-
895
- ## Indexable
896
-
897
- ```ts
898
- [key: string | number | symbol]: EventArgs
899
- ```
900
-
901
- ## Properties
902
-
903
- ### divineEnd
904
-
905
- ```ts
906
- divineEnd: object & object;
907
- ```
908
-
909
- ### Type Declaration
910
-
911
- #### mod
912
-
913
- ```ts
914
- mod: T;
915
- ```
916
-
917
- ### Type Declaration
918
-
919
- #### errors
920
-
921
- ```ts
922
- errors: Error[];
923
- ```
924
-
925
- #### inPayloads
926
-
927
- ```ts
928
- inPayloads: TIn[];
929
- ```
930
-
931
- #### outPayloads
932
-
933
- ```ts
934
- outPayloads: TOut[];
935
- ```
936
-
937
- ### <a id="DivineStartEventData"></a>DivineStartEventData
938
-
939
- [**@xyo-network/diviner-models**](#../README)
940
-
941
- ***
942
-
943
- ## Extends
944
-
945
- - `EventData`
946
-
947
- ## Type Parameters
948
-
949
- ### T
950
-
951
- `T` *extends* `QueryableModule` = `QueryableModule`
952
-
953
- ### TIn
954
-
955
- `TIn` *extends* `Payload` = `Payload`
956
-
957
- ## Indexable
958
-
959
- ```ts
960
- [key: string | number | symbol]: EventArgs
961
- ```
962
-
963
- ## Properties
964
-
965
- ### divineStart
966
-
967
- ```ts
968
- divineStart: object & object;
969
- ```
970
-
971
- ### Type Declaration
972
-
973
- #### mod
974
-
975
- ```ts
976
- mod: T;
977
- ```
978
-
979
- ### Type Declaration
980
-
981
- #### inPayloads
982
-
983
- ```ts
984
- inPayloads: TIn[];
985
- ```
986
-
987
- ### <a id="DivinerInstance"></a>DivinerInstance
988
-
989
- [**@xyo-network/diviner-models**](#../README)
990
-
991
- ***
992
-
993
- ## Extends
994
-
995
- - [`DivinerModule`](#DivinerModule)\<`TParams`, `TEvents`\>.[`DivinerQueryFunctions`](#DivinerQueryFunctions)\<`TIn`, `TOut`\>.`ModuleInstance`\<`TParams`, `TEvents`\>
996
-
997
- ## Extended by
998
-
999
- - [`AttachableDivinerInstance`](#AttachableDivinerInstance)
1000
-
1001
- ## Type Parameters
1002
-
1003
- ### TParams
1004
-
1005
- `TParams` *extends* [`DivinerParams`](#DivinerParams) = [`DivinerParams`](#DivinerParams)
1006
-
1007
- ### TIn
1008
-
1009
- `TIn` *extends* `Payload` = `Payload`
1010
-
1011
- ### TOut
1012
-
1013
- `TOut` *extends* `Payload` = `Payload`
1014
-
1015
- ### TEvents
1016
-
1017
- `TEvents` *extends* [`DivinerModuleEventData`](#../type-aliases/DivinerModuleEventData) = [`DivinerModuleEventData`](#../type-aliases/DivinerModuleEventData)
1018
-
1019
- ## Properties
1020
-
1021
- ### divine
1022
-
1023
- ```ts
1024
- divine: (payloads?, retry?) => Promise<DivinerDivineResult<TOut>[]>;
1025
- ```
1026
-
1027
- ### Parameters
1028
-
1029
- #### payloads?
1030
-
1031
- `TIn`[]
1032
-
1033
- #### retry?
1034
-
1035
- `RetryConfig`
1036
-
1037
- ### Returns
1038
-
1039
- `Promise`\<[`DivinerDivineResult`](#../type-aliases/DivinerDivineResult)\<`TOut`\>[]\>
1040
-
1041
- ### Inherited from
1042
-
1043
- [`DivinerQueryFunctions`](#DivinerQueryFunctions).[`divine`](DivinerQueryFunctions.md#divine)
1044
-
1045
- ***
1046
-
1047
- ### divineQuery
1048
-
1049
- ```ts
1050
- divineQuery: (payloads?, account?, retry?) => Promise<ModuleQueryResult<TOut>>;
1051
- ```
1052
-
1053
- ### Parameters
1054
-
1055
- #### payloads?
1056
-
1057
- `TIn`[]
1058
-
1059
- #### account?
1060
-
1061
- `AccountInstance`
1062
-
1063
- #### retry?
1064
-
1065
- `RetryConfig`
1066
-
1067
- ### Returns
1068
-
1069
- `Promise`\<`ModuleQueryResult`\<`TOut`\>\>
1070
-
1071
- ### Inherited from
1072
-
1073
- [`DivinerQueryFunctions`](#DivinerQueryFunctions).[`divineQuery`](DivinerQueryFunctions.md#divinequery)
1074
-
1075
- ***
1076
-
1077
- ### address
1078
-
1079
- ```ts
1080
- address: BrandedAddress;
1081
- ```
1082
-
1083
- ### Inherited from
1084
-
1085
- [`DivinerModule`](#DivinerModule).[`address`](DivinerModule.md#address)
1086
-
1087
- ***
1088
-
1089
- ### config
1090
-
1091
- ```ts
1092
- config: TParams["config"];
1093
- ```
1094
-
1095
- ### Inherited from
1096
-
1097
- [`DivinerModule`](#DivinerModule).[`config`](DivinerModule.md#config)
1098
-
1099
- ***
1100
-
1101
- ### id
1102
-
1103
- ```ts
1104
- id: string;
1105
- ```
1106
-
1107
- The name (if specified) or address of the module
1108
-
1109
- ### Inherited from
1110
-
1111
- [`DivinerModule`](#DivinerModule).[`id`](DivinerModule.md#id)
1112
-
1113
- ***
1114
-
1115
- ### modName?
1116
-
1117
- ```ts
1118
- optional modName?: string;
1119
- ```
1120
-
1121
- ### Inherited from
1122
-
1123
- [`DivinerModule`](#DivinerModule).[`modName`](DivinerModule.md#modname)
1124
-
1125
- ***
1126
-
1127
- ### params
1128
-
1129
- ```ts
1130
- params: TParams;
1131
- ```
1132
-
1133
- ### Inherited from
1134
-
1135
- [`DivinerModule`](#DivinerModule).[`params`](DivinerModule.md#params)
1136
-
1137
- ***
1138
-
1139
- ### previousHash
1140
-
1141
- ```ts
1142
- previousHash: () => Promisable<string | undefined>;
1143
- ```
1144
-
1145
- ### Returns
1146
-
1147
- `Promisable`\<`string` \| `undefined`\>
1148
-
1149
- ### Inherited from
1150
-
1151
- [`DivinerModule`](#DivinerModule).[`previousHash`](DivinerModule.md#previoushash)
1152
-
1153
- ***
1154
-
1155
- ### queries
1156
-
1157
- ```ts
1158
- queries: string[];
1159
- ```
1160
-
1161
- ### Inherited from
1162
-
1163
- [`DivinerModule`](#DivinerModule).[`queries`](DivinerModule.md#queries)
1164
-
1165
- ***
1166
-
1167
- ### query
1168
-
1169
- ```ts
1170
- query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
1171
- ```
1172
-
1173
- ### Type Parameters
1174
-
1175
- #### T
1176
-
1177
- `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1178
-
1179
- #### TConf
1180
-
1181
- `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1182
-
1183
- ### Parameters
1184
-
1185
- #### query
1186
-
1187
- `T`
1188
-
1189
- #### payloads?
1190
-
1191
- `Payload`[]
1192
-
1193
- #### queryConfig?
1194
-
1195
- `TConf`
1196
-
1197
- ### Returns
1198
-
1199
- `Promisable`\<`ModuleQueryResult`\>
1200
-
1201
- ### Inherited from
1202
-
1203
- [`DivinerModule`](#DivinerModule).[`query`](DivinerModule.md#query)
1204
-
1205
- ***
1206
-
1207
- ### queryable
1208
-
1209
- ```ts
1210
- queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
1211
- ```
1212
-
1213
- ### Type Parameters
1214
-
1215
- #### T
1216
-
1217
- `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1218
-
1219
- #### TConf
1220
-
1221
- `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1222
-
1223
- ### Parameters
1224
-
1225
- #### query
1226
-
1227
- `T`
1228
-
1229
- #### payloads?
1230
-
1231
- `Payload`[]
1232
-
1233
- #### queryConfig?
1234
-
1235
- `TConf`
1236
-
1237
- ### Returns
1238
-
1239
- `Promisable`\<`boolean`\>
1240
-
1241
- ### Inherited from
1242
-
1243
- [`DivinerModule`](#DivinerModule).[`queryable`](DivinerModule.md#queryable)
1244
-
1245
- ***
1246
-
1247
- ### manifest
1248
-
1249
- ```ts
1250
- manifest: (maxDepth?, ignoreAddresses?) => Promisable<ModuleManifestPayload>;
1251
- ```
1252
-
1253
- ### Parameters
1254
-
1255
- #### maxDepth?
1256
-
1257
- `number`
1258
-
1259
- #### ignoreAddresses?
1260
-
1261
- `BrandedAddress`[]
1262
-
1263
- ### Returns
1264
-
1265
- `Promisable`\<`ModuleManifestPayload`\>
1266
-
1267
- ### Inherited from
1268
-
1269
- ```ts
1270
- ModuleInstance.manifest
1271
- ```
1272
-
1273
- ***
1274
-
1275
- ### manifestQuery
1276
-
1277
- ```ts
1278
- manifestQuery: (account, maxDepth?, ignoreAddresses?) => Promisable<ModuleQueryResult<ModuleManifestPayload>>;
1279
- ```
1280
-
1281
- ### Parameters
1282
-
1283
- #### account
1284
-
1285
- `AccountInstance`
1286
-
1287
- #### maxDepth?
1288
-
1289
- `number`
1290
-
1291
- #### ignoreAddresses?
1292
-
1293
- `BrandedAddress`[]
1294
-
1295
- ### Returns
1296
-
1297
- `Promisable`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
1298
-
1299
- ### Inherited from
1300
-
1301
- ```ts
1302
- ModuleInstance.manifestQuery
1303
- ```
1304
-
1305
- ***
1306
-
1307
- ### moduleAddress
1308
-
1309
- ```ts
1310
- moduleAddress: () => Promisable<(AddressPreviousHashPayload | AddressPayload)[]>;
1311
- ```
1312
-
1313
- ### Returns
1314
-
1315
- `Promisable`\<(`AddressPreviousHashPayload` \| `AddressPayload`)[]\>
1316
-
1317
- ### Inherited from
1318
-
1319
- ```ts
1320
- ModuleInstance.moduleAddress
1321
- ```
1322
-
1323
- ***
1324
-
1325
- ### state
1326
-
1327
- ```ts
1328
- state: () => Promisable<Payload[]>;
1329
- ```
1330
-
1331
- ### Returns
1332
-
1333
- `Promisable`\<`Payload`[]\>
1334
-
1335
- ### Inherited from
1336
-
1337
- ```ts
1338
- ModuleInstance.state
1339
- ```
1340
-
1341
- ***
1342
-
1343
- ### stateQuery
1344
-
1345
- ```ts
1346
- stateQuery: (account) => Promisable<ModuleQueryResult>;
1347
- ```
1348
-
1349
- ### Parameters
1350
-
1351
- #### account
1352
-
1353
- `AccountInstance`
1354
-
1355
- ### Returns
1356
-
1357
- `Promisable`\<`ModuleQueryResult`\>
1358
-
1359
- ### Inherited from
1360
-
1361
- ```ts
1362
- ModuleInstance.stateQuery
1363
- ```
1364
-
1365
- ***
1366
-
1367
- ### account?
1368
-
1369
- ```ts
1370
- optional account?: AccountInstance;
1371
- ```
1372
-
1373
- ### Inherited from
1374
-
1375
- ```ts
1376
- ModuleInstance.account
1377
- ```
1378
-
1379
- ***
1380
-
1381
- ### addParent
1382
-
1383
- ```ts
1384
- addParent: (mod) => void;
1385
- ```
1386
-
1387
- ### Parameters
1388
-
1389
- #### mod
1390
-
1391
- `ModuleInstance`
1392
-
1393
- ### Returns
1394
-
1395
- `void`
1396
-
1397
- ### Inherited from
1398
-
1399
- ```ts
1400
- ModuleInstance.addParent
1401
- ```
1402
-
1403
- ***
1404
-
1405
- ### addressCache?
1406
-
1407
- ```ts
1408
- optional addressCache?: (direction, includePrivate) => AddressToWeakInstanceCache | undefined;
1409
- ```
1410
-
1411
- ### Parameters
1412
-
1413
- #### direction
1414
-
1415
- `Direction`
1416
-
1417
- #### includePrivate
1418
-
1419
- `boolean`
1420
-
1421
- ### Returns
1422
-
1423
- `AddressToWeakInstanceCache` \| `undefined`
1424
-
1425
- ### Inherited from
1426
-
1427
- ```ts
1428
- ModuleInstance.addressCache
1429
- ```
1430
-
1431
- ***
1432
-
1433
- ### parents
1434
-
1435
- ```ts
1436
- parents: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1437
- ```
1438
-
1439
- ### Returns
1440
-
1441
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1442
-
1443
- ### Inherited from
1444
-
1445
- ```ts
1446
- ModuleInstance.parents
1447
- ```
1448
-
1449
- ***
1450
-
1451
- ### privateChildren
1452
-
1453
- ```ts
1454
- privateChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1455
- ```
1456
-
1457
- ### Returns
1458
-
1459
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1460
-
1461
- ### Inherited from
1462
-
1463
- ```ts
1464
- ModuleInstance.privateChildren
1465
- ```
1466
-
1467
- ***
1468
-
1469
- ### publicChildren
1470
-
1471
- ```ts
1472
- publicChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1473
- ```
1474
-
1475
- ### Returns
1476
-
1477
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1478
-
1479
- ### Inherited from
1480
-
1481
- ```ts
1482
- ModuleInstance.publicChildren
1483
- ```
1484
-
1485
- ***
1486
-
1487
- ### removeParent
1488
-
1489
- ```ts
1490
- removeParent: (address) => void;
1491
- ```
1492
-
1493
- ### Parameters
1494
-
1495
- #### address
1496
-
1497
- `BrandedAddress`
1498
-
1499
- ### Returns
1500
-
1501
- `void`
1502
-
1503
- ### Inherited from
1504
-
1505
- ```ts
1506
- ModuleInstance.removeParent
1507
- ```
1508
-
1509
- ***
1510
-
1511
- ### siblings
1512
-
1513
- ```ts
1514
- siblings: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1515
- ```
1516
-
1517
- ### Returns
1518
-
1519
- `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1520
-
1521
- ### Inherited from
1522
-
1523
- ```ts
1524
- ModuleInstance.siblings
1525
- ```
1526
-
1527
- ***
1528
-
1529
- ### pipeline?
1530
-
1531
- ```ts
1532
- readonly optional pipeline?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
1533
- ```
1534
-
1535
- ### Inherited from
1536
-
1537
- ```ts
1538
- ModuleInstance.pipeline
1539
- ```
1540
-
1541
- ***
1542
-
1543
- ### status
1544
-
1545
- ```ts
1546
- readonly status: ModuleStatus | null;
1547
- ```
1548
-
1549
- ### Inherited from
1550
-
1551
- ```ts
1552
- ModuleInstance.status
1553
- ```
1554
-
1555
- ***
1556
-
1557
- ### priority
1558
-
1559
- ```ts
1560
- priority: ObjectResolverPriority;
1561
- ```
1562
-
1563
- ### Inherited from
1564
-
1565
- ```ts
1566
- ModuleInstance.priority
1567
- ```
1568
-
1569
- ## Methods
1570
-
1571
- ### resolve()
1572
-
1573
- ### Call Signature
1574
-
1575
- ```ts
1576
- resolve<T>(all, options?): Promisable<T[]>;
1577
- ```
1578
-
1579
- #### Type Parameters
1580
-
1581
- ##### T
1582
-
1583
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1584
-
1585
- #### Parameters
1586
-
1587
- ##### all
1588
-
1589
- `"*"`
1590
-
1591
- ##### options?
1592
-
1593
- `ObjectFilterOptions`\<`T`\>
1594
-
1595
- #### Returns
1596
-
1597
- `Promisable`\<`T`[]\>
1598
-
1599
- #### Inherited from
1600
-
1601
- ```ts
1602
- ModuleInstance.resolve
1603
- ```
1604
-
1605
- ### Call Signature
1606
-
1607
- ```ts
1608
- resolve<T>(id, options?): Promisable<T | undefined>;
1609
- ```
1610
-
1611
- #### Type Parameters
1612
-
1613
- ##### T
1614
-
1615
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1616
-
1617
- #### Parameters
1618
-
1619
- ##### id
1620
-
1621
- `ModuleIdentifier`
1622
-
1623
- ##### options?
1624
-
1625
- `ObjectFilterOptions`\<`T`\>
1626
-
1627
- #### Returns
1628
-
1629
- `Promisable`\<`T` \| `undefined`\>
1630
-
1631
- #### Inherited from
1632
-
1633
- ```ts
1634
- ModuleInstance.resolve
1635
- ```
1636
-
1637
- ### Call Signature
1638
-
1639
- ```ts
1640
- resolve<T>(id?, options?): Promisable<T | T[] | undefined>;
1641
- ```
1642
-
1643
- #### Type Parameters
1644
-
1645
- ##### T
1646
-
1647
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1648
-
1649
- #### Parameters
1650
-
1651
- ##### id?
1652
-
1653
- `ModuleIdentifier`
1654
-
1655
- ##### options?
1656
-
1657
- `ObjectFilterOptions`\<`T`\>
1658
-
1659
- #### Returns
1660
-
1661
- `Promisable`\<`T` \| `T`[] \| `undefined`\>
1662
-
1663
- #### Inherited from
1664
-
1665
- ```ts
1666
- ModuleInstance.resolve
1667
- ```
1668
-
1669
- ***
1670
-
1671
- ### resolvePrivate()
1672
-
1673
- ### Call Signature
1674
-
1675
- ```ts
1676
- resolvePrivate<T>(all, options?): Promise<T[]>;
1677
- ```
1678
-
1679
- #### Type Parameters
1680
-
1681
- ##### T
1682
-
1683
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1684
-
1685
- #### Parameters
1686
-
1687
- ##### all
1688
-
1689
- `"*"`
1690
-
1691
- ##### options?
1692
-
1693
- `ObjectFilterOptions`\<`T`\>
1694
-
1695
- #### Returns
1696
-
1697
- `Promise`\<`T`[]\>
1698
-
1699
- #### Inherited from
1700
-
1701
- ```ts
1702
- ModuleInstance.resolvePrivate
1703
- ```
1704
-
1705
- ### Call Signature
1706
-
1707
- ```ts
1708
- resolvePrivate<T>(id, options?): Promise<T | undefined>;
1709
- ```
1710
-
1711
- #### Type Parameters
1712
-
1713
- ##### T
1714
-
1715
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1716
-
1717
- #### Parameters
1718
-
1719
- ##### id
1720
-
1721
- `ModuleIdentifier`
1722
-
1723
- ##### options?
1724
-
1725
- `ObjectFilterOptions`\<`T`\>
1726
-
1727
- #### Returns
1728
-
1729
- `Promise`\<`T` \| `undefined`\>
1730
-
1731
- #### Inherited from
1732
-
1733
- ```ts
1734
- ModuleInstance.resolvePrivate
1735
- ```
1736
-
1737
- ### Call Signature
1738
-
1739
- ```ts
1740
- resolvePrivate<T>(id, options?): Promise<T | T[] | undefined>;
1741
- ```
1742
-
1743
- #### Type Parameters
1744
-
1745
- ##### T
1746
-
1747
- `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1748
-
1749
- #### Parameters
1750
-
1751
- ##### id
1752
-
1753
- `ModuleIdentifier`
1754
-
1755
- ##### options?
1756
-
1757
- `ObjectFilterOptions`\<`T`\>
1758
-
1759
- #### Returns
1760
-
1761
- `Promise`\<`T` \| `T`[] \| `undefined`\>
1762
-
1763
- #### Inherited from
1764
-
1765
- ```ts
1766
- ModuleInstance.resolvePrivate
1767
- ```
1768
-
1769
- ### <a id="DivinerModule"></a>DivinerModule
1770
-
1771
- [**@xyo-network/diviner-models**](#../README)
1772
-
1773
- ***
1774
-
1775
- ## Extends
1776
-
1777
- - `QueryableModule`\<`TParams`, `TEvents`\>
1778
-
1779
- ## Extended by
1780
-
1781
- - [`DivinerInstance`](#DivinerInstance)
1782
-
1783
- ## Type Parameters
1784
-
1785
- ### TParams
1786
-
1787
- `TParams` *extends* [`DivinerParams`](#DivinerParams) = [`DivinerParams`](#DivinerParams)
1788
-
1789
- ### TEvents
1790
-
1791
- `TEvents` *extends* [`DivinerModuleEventData`](#../type-aliases/DivinerModuleEventData) = [`DivinerModuleEventData`](#../type-aliases/DivinerModuleEventData)
1792
-
1793
- ## Properties
1794
-
1795
- ### address
1796
-
1797
- ```ts
1798
- address: BrandedAddress;
1799
- ```
1800
-
1801
- ### Inherited from
1802
-
1803
- ```ts
1804
- QueryableModule.address
1805
- ```
1806
-
1807
- ***
1808
-
1809
- ### config
1810
-
1811
- ```ts
1812
- config: TParams["config"];
1813
- ```
1814
-
1815
- ### Inherited from
1816
-
1817
- ```ts
1818
- QueryableModule.config
1819
- ```
1820
-
1821
- ***
1822
-
1823
- ### id
1824
-
1825
- ```ts
1826
- id: string;
1827
- ```
1828
-
1829
- The name (if specified) or address of the module
1830
-
1831
- ### Inherited from
1832
-
1833
- ```ts
1834
- QueryableModule.id
1835
- ```
1836
-
1837
- ***
1838
-
1839
- ### modName?
1840
-
1841
- ```ts
1842
- optional modName?: string;
1843
- ```
1844
-
1845
- ### Inherited from
1846
-
1847
- ```ts
1848
- QueryableModule.modName
1849
- ```
1850
-
1851
- ***
1852
-
1853
- ### params
1854
-
1855
- ```ts
1856
- params: TParams;
1857
- ```
1858
-
1859
- ### Inherited from
1860
-
1861
- ```ts
1862
- QueryableModule.params
1863
- ```
1864
-
1865
- ***
1866
-
1867
- ### previousHash
1868
-
1869
- ```ts
1870
- previousHash: () => Promisable<string | undefined>;
1871
- ```
1872
-
1873
- ### Returns
1874
-
1875
- `Promisable`\<`string` \| `undefined`\>
1876
-
1877
- ### Inherited from
1878
-
1879
- ```ts
1880
- QueryableModule.previousHash
1881
- ```
1882
-
1883
- ***
1884
-
1885
- ### queries
1886
-
1887
- ```ts
1888
- queries: string[];
1889
- ```
1890
-
1891
- ### Inherited from
1892
-
1893
- ```ts
1894
- QueryableModule.queries
1895
- ```
1896
-
1897
- ***
1898
-
1899
- ### query
1900
-
1901
- ```ts
1902
- query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
1903
- ```
1904
-
1905
- ### Type Parameters
1906
-
1907
- #### T
1908
-
1909
- `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1910
-
1911
- #### TConf
1912
-
1913
- `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1914
-
1915
- ### Parameters
1916
-
1917
- #### query
1918
-
1919
- `T`
1920
-
1921
- #### payloads?
1922
-
1923
- `Payload`[]
1924
-
1925
- #### queryConfig?
1926
-
1927
- `TConf`
1928
-
1929
- ### Returns
1930
-
1931
- `Promisable`\<`ModuleQueryResult`\>
1932
-
1933
- ### Inherited from
1934
-
1935
- ```ts
1936
- QueryableModule.query
1937
- ```
1938
-
1939
- ***
1940
-
1941
- ### queryable
1942
-
1943
- ```ts
1944
- queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
1945
- ```
1946
-
1947
- ### Type Parameters
1948
-
1949
- #### T
1950
-
1951
- `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1952
-
1953
- #### TConf
1954
-
1955
- `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1956
-
1957
- ### Parameters
1958
-
1959
- #### query
1960
-
1961
- `T`
1962
-
1963
- #### payloads?
1964
-
1965
- `Payload`[]
1966
-
1967
- #### queryConfig?
1968
-
1969
- `TConf`
1970
-
1971
- ### Returns
1972
-
1973
- `Promisable`\<`boolean`\>
1974
-
1975
- ### Inherited from
1976
-
1977
- ```ts
1978
- QueryableModule.queryable
1979
- ```
1980
-
1981
- ### <a id="DivinerParams"></a>DivinerParams
1982
-
1983
- [**@xyo-network/diviner-models**](#../README)
1984
-
1985
- ***
1986
-
1987
- ## Extends
1988
-
1989
- - `QueryableModuleParams`\<`TConfig`\>
1990
-
1991
- ## Type Parameters
1992
-
1993
- ### TConfig
1994
-
1995
- `TConfig` *extends* `AnyConfigSchema`\<[`DivinerConfig`](#../type-aliases/DivinerConfig)\> = `AnyConfigSchema`\<[`DivinerConfig`](#../type-aliases/DivinerConfig)\>
1996
-
1997
- ## Properties
1998
-
1999
- ### account?
2000
-
2001
- ```ts
2002
- optional account?: AccountInstance | "random";
2003
- ```
2004
-
2005
- ### Inherited from
2006
-
2007
- ```ts
2008
- QueryableModuleParams.account
2009
- ```
2010
-
2011
- ***
2012
-
2013
- ### addToResolvers?
2014
-
2015
- ```ts
2016
- optional addToResolvers?: boolean;
2017
- ```
2018
-
2019
- ### Inherited from
2020
-
2021
- ```ts
2022
- QueryableModuleParams.addToResolvers
2023
- ```
2024
-
2025
- ***
2026
-
2027
- ### additionalSigners?
2028
-
2029
- ```ts
2030
- optional additionalSigners?: AccountInstance[];
2031
- ```
2032
-
2033
- ### Inherited from
2034
-
2035
- ```ts
2036
- QueryableModuleParams.additionalSigners
2037
- ```
2038
-
2039
- ***
2040
-
2041
- ### allowNameResolution?
2042
-
2043
- ```ts
2044
- optional allowNameResolution?: boolean;
2045
- ```
2046
-
2047
- ### Inherited from
2048
-
2049
- ```ts
2050
- QueryableModuleParams.allowNameResolution
2051
- ```
2052
-
2053
- ***
2054
-
2055
- ### config
2056
-
2057
- ```ts
2058
- config: Partial<TConfig>;
2059
- ```
2060
-
2061
- ### Inherited from
2062
-
2063
- ```ts
2064
- QueryableModuleParams.config
2065
- ```
2066
-
2067
- ***
2068
-
2069
- ### ephemeralQueryAccountEnabled?
2070
-
2071
- ```ts
2072
- optional ephemeralQueryAccountEnabled?: boolean;
2073
- ```
2074
-
2075
- ### Inherited from
2076
-
2077
- ```ts
2078
- QueryableModuleParams.ephemeralQueryAccountEnabled
2079
- ```
2080
-
2081
- ***
2082
-
2083
- ### moduleIdentifierTransformers?
2084
-
2085
- ```ts
2086
- optional moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
2087
- ```
2088
-
2089
- ### Inherited from
2090
-
2091
- ```ts
2092
- QueryableModuleParams.moduleIdentifierTransformers
2093
- ```
2094
-
2095
- ***
2096
-
2097
- ### statusReporter?
2098
-
2099
- ```ts
2100
- optional statusReporter?: ModuleStatusReporter;
2101
- ```
2102
-
2103
- Optional reporter for broadcasting status changes.
2104
-
2105
- ### Inherited from
2106
-
2107
- ```ts
2108
- QueryableModuleParams.statusReporter
2109
- ```
2110
-
2111
- ### <a id="DivinerQueryFunctions"></a>DivinerQueryFunctions
2112
-
2113
- [**@xyo-network/diviner-models**](#../README)
2114
-
2115
- ***
2116
-
2117
- ## Extended by
2118
-
2119
- - [`DivinerInstance`](#DivinerInstance)
2120
-
2121
- ## Type Parameters
2122
-
2123
- ### TIn
2124
-
2125
- `TIn` *extends* `Payload` = `Payload`
2126
-
2127
- ### TOut
2128
-
2129
- `TOut` *extends* `Payload` = `Payload`
2130
-
2131
- ## Properties
2132
-
2133
- ### divine
2134
-
2135
- ```ts
2136
- divine: (payloads?, retry?) => Promise<DivinerDivineResult<TOut>[]>;
2137
- ```
2138
-
2139
- ### Parameters
2140
-
2141
- #### payloads?
2142
-
2143
- `TIn`[]
2144
-
2145
- #### retry?
2146
-
2147
- `RetryConfig`
2148
-
2149
- ### Returns
2150
-
2151
- `Promise`\<[`DivinerDivineResult`](#../type-aliases/DivinerDivineResult)\<`TOut`\>[]\>
2152
-
2153
- ***
2154
-
2155
- ### divineQuery
2156
-
2157
- ```ts
2158
- divineQuery: (payloads?, account?, retry?) => Promise<ModuleQueryResult<TOut>>;
2159
- ```
2160
-
2161
- ### Parameters
2162
-
2163
- #### payloads?
2164
-
2165
- `TIn`[]
2166
-
2167
- #### account?
2168
-
2169
- `AccountInstance`
2170
-
2171
- #### retry?
2172
-
2173
- `RetryConfig`
2174
-
2175
- ### Returns
2176
-
2177
- `Promise`\<`ModuleQueryResult`\<`TOut`\>\>
2178
-
2179
- ### <a id="Forecast"></a>Forecast
2180
-
2181
- [**@xyo-network/diviner-models**](#../README)
2182
-
2183
- ***
2184
-
2185
- ## Properties
2186
-
2187
- ### error?
2188
-
2189
- ```ts
2190
- optional error?: number;
2191
- ```
2192
-
2193
- ***
2194
-
2195
- ### timestamp?
2196
-
2197
- ```ts
2198
- optional timestamp?: number;
2199
- ```
2200
-
2201
- ***
2202
-
2203
- ### value
2204
-
2205
- ```ts
2206
- value: number;
2207
- ```
2208
-
2209
- ### <a id="ForecastingSettings"></a>ForecastingSettings
2210
-
2211
- [**@xyo-network/diviner-models**](#../README)
2212
-
2213
- ***
2214
-
2215
- ## Properties
2216
-
2217
- ### batchLimit?
2218
-
2219
- ```ts
2220
- optional batchLimit?: number;
2221
- ```
2222
-
2223
- ***
2224
-
2225
- ### forecastingMethod?
2226
-
2227
- ```ts
2228
- optional forecastingMethod?: string;
2229
- ```
2230
-
2231
- ***
2232
-
2233
- ### forecastingSteps?
2234
-
2235
- ```ts
2236
- optional forecastingSteps?: number;
2237
- ```
2238
-
2239
- ***
2240
-
2241
- ### maxTrainingLength?
2242
-
2243
- ```ts
2244
- optional maxTrainingLength?: number;
2245
- ```
2246
-
2247
- ***
2248
-
2249
- ### timestamp?
2250
-
2251
- ```ts
2252
- optional timestamp?: number;
2253
- ```
2254
-
2255
- ***
2256
-
2257
- ### windowSize?
2258
-
2259
- ```ts
2260
- optional windowSize?: number;
2261
- ```
2262
-
2263
- ***
2264
-
2265
- ### witnessAddresses?
2266
-
2267
- ```ts
2268
- optional witnessAddresses?: BrandedAddress[];
2269
- ```
2270
-
2271
- ***
2272
-
2273
- ### witnessSchema?
2274
-
2275
- ```ts
2276
- optional witnessSchema?: Schema;
2277
- ```
2278
-
2279
- ### <a id="ModuleEventSubscription"></a>ModuleEventSubscription
2280
-
2281
- [**@xyo-network/diviner-models**](#../README)
2282
-
2283
- ***
2284
-
2285
- ## Properties
2286
-
2287
- ### sourceEvent
2288
-
2289
- ```ts
2290
- sourceEvent: string;
2291
- ```
2292
-
2293
- ***
2294
-
2295
- ### sourceModule
2296
-
2297
- ```ts
2298
- sourceModule: ModuleIdentifier;
2299
- ```
2300
-
2301
- ***
2302
-
2303
- ### targetModuleFunction?
2304
-
2305
- ```ts
2306
- optional targetModuleFunction?: string;
2307
- ```
2308
-
2309
- ### <a id="SearchableStorage"></a>SearchableStorage
2310
-
2311
- [**@xyo-network/diviner-models**](#../README)
2312
-
2313
- ***
2314
-
2315
- Configuration for searchable storage of local state
2316
-
2317
- ## Properties
2318
-
2319
- ### archivist
2320
-
2321
- ```ts
2322
- archivist: ModuleIdentifier;
2323
- ```
2324
-
2325
- Name/Address of the archivist where intermediate communications are stored
2326
-
2327
- ***
2328
-
2329
- ### boundWitnessDiviner?
2330
-
2331
- ```ts
2332
- optional boundWitnessDiviner?: ModuleIdentifier;
2333
- ```
2334
-
2335
- Name/Address of the diviner where intermediate communications are filtered
2336
-
2337
- ***
2338
-
2339
- ### payloadDiviner?
2340
-
2341
- ```ts
2342
- optional payloadDiviner?: ModuleIdentifier;
2343
- ```
2344
-
2345
- Name/Address of the diviner where intermediate communications are filtered
2346
-
2347
- ### <a id="TransformerSettings"></a>TransformerSettings
2348
-
2349
- [**@xyo-network/diviner-models**](#../README)
2350
-
2351
- ***
2352
-
2353
- ## Properties
2354
-
2355
- ### jsonPathExpression?
2356
-
2357
- ```ts
2358
- optional jsonPathExpression?: string;
2359
- ```
2360
-
2361
- ### type-aliases
2362
-
2363
- ### <a id="AddressChainDivinerConfig"></a>AddressChainDivinerConfig
2364
-
2365
- [**@xyo-network/diviner-models**](#../README)
2366
-
2367
- ***
2368
-
2369
- ```ts
2370
- type AddressChainDivinerConfig = DivinerConfig<{
2371
- address?: Address;
2372
- maxResults?: number;
2373
- schema: AddressChainDivinerConfigSchema;
2374
- startHash?: Hash;
2375
- }>;
2376
- ```
2377
-
2378
- ### <a id="AddressChainDivinerConfigSchema"></a>AddressChainDivinerConfigSchema
2379
-
2380
- [**@xyo-network/diviner-models**](#../README)
2381
-
2382
- ***
2383
-
2384
- ```ts
2385
- type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema;
2386
- ```
2387
-
2388
- ### <a id="AddressChainDivinerParams"></a>AddressChainDivinerParams
2389
-
2390
- [**@xyo-network/diviner-models**](#../README)
2391
-
2392
- ***
2393
-
2394
- ```ts
2395
- type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
2396
- ```
2397
-
2398
- ### <a id="AddressChainPayload"></a>AddressChainPayload
2399
-
2400
- [**@xyo-network/diviner-models**](#../README)
2401
-
2402
- ***
2403
-
2404
- ```ts
2405
- type AddressChainPayload = Payload<{
2406
- schema: AddressChainSchema;
2407
- }>;
2408
- ```
2409
-
2410
- ### <a id="AddressChainQueryPayload"></a>AddressChainQueryPayload
2411
-
2412
- [**@xyo-network/diviner-models**](#../README)
2413
-
2414
- ***
2415
-
2416
- ```ts
2417
- type AddressChainQueryPayload = Query<object & Omit<PayloadFindFilter, "schema">>;
2418
- ```
2419
-
2420
- ### <a id="AddressChainQuerySchema"></a>AddressChainQuerySchema
2421
-
2422
- [**@xyo-network/diviner-models**](#../README)
2423
-
2424
- ***
2425
-
2426
- ```ts
2427
- type AddressChainQuerySchema = typeof AddressChainQuerySchema;
2428
- ```
2429
-
2430
- ### <a id="AddressChainSchema"></a>AddressChainSchema
2431
-
2432
- [**@xyo-network/diviner-models**](#../README)
2433
-
2434
- ***
2435
-
2436
- ```ts
2437
- type AddressChainSchema = typeof AddressChainSchema;
2438
- ```
2439
-
2440
- ### <a id="AddressHistoryDivinerConfig"></a>AddressHistoryDivinerConfig
2441
-
2442
- [**@xyo-network/diviner-models**](#../README)
2443
-
2444
- ***
2445
-
2446
- ```ts
2447
- type AddressHistoryDivinerConfig = DivinerConfig<{
2448
- address?: Address;
2449
- schema: AddressHistoryDivinerConfigSchema;
2450
- }>;
2451
- ```
2452
-
2453
- ### <a id="AddressHistoryDivinerConfigSchema"></a>AddressHistoryDivinerConfigSchema
2454
-
2455
- [**@xyo-network/diviner-models**](#../README)
2456
-
2457
- ***
2458
-
2459
- ```ts
2460
- type AddressHistoryDivinerConfigSchema = typeof AddressHistoryDivinerConfigSchema;
2461
- ```
2462
-
2463
- ### <a id="AddressHistoryDivinerParams"></a>AddressHistoryDivinerParams
2464
-
2465
- [**@xyo-network/diviner-models**](#../README)
2466
-
2467
- ***
2468
-
2469
- ```ts
2470
- type AddressHistoryDivinerParams = DivinerParams<AnyConfigSchema<AddressHistoryDivinerConfig>>;
2471
- ```
2472
-
2473
- ### <a id="AddressHistoryPayload"></a>AddressHistoryPayload
2474
-
2475
- [**@xyo-network/diviner-models**](#../README)
2476
-
2477
- ***
2478
-
2479
- ```ts
2480
- type AddressHistoryPayload = Payload<{
2481
- schema: AddressHistorySchema;
2482
- }>;
2483
- ```
2484
-
2485
- ### <a id="AddressHistoryQueryPayload"></a>AddressHistoryQueryPayload
2486
-
2487
- [**@xyo-network/diviner-models**](#../README)
2488
-
2489
- ***
2490
-
2491
- ```ts
2492
- type AddressHistoryQueryPayload = Query<object & Omit<PayloadFindFilter, "schema">>;
2493
- ```
2494
-
2495
- ### <a id="AddressHistoryQuerySchema"></a>AddressHistoryQuerySchema
2496
-
2497
- [**@xyo-network/diviner-models**](#../README)
2498
-
2499
- ***
2500
-
2501
- ```ts
2502
- type AddressHistoryQuerySchema = typeof AddressHistoryQuerySchema;
2503
- ```
2504
-
2505
- ### <a id="AddressHistorySchema"></a>AddressHistorySchema
2506
-
2507
- [**@xyo-network/diviner-models**](#../README)
2508
-
2509
- ***
2510
-
2511
- ```ts
2512
- type AddressHistorySchema = typeof AddressHistorySchema;
2513
- ```
2514
-
2515
- ### <a id="AddressSpaceBatchDivinerConfig"></a>AddressSpaceBatchDivinerConfig
2516
-
2517
- [**@xyo-network/diviner-models**](#../README)
2518
-
2519
- ***
2520
-
2521
- ```ts
2522
- type AddressSpaceBatchDivinerConfig = DivinerConfig<{
2523
- address?: string;
2524
- schema: AddressSpaceBatchDivinerConfigSchema;
2525
- }>;
2526
- ```
2527
-
2528
- ### <a id="AddressSpaceBatchDivinerConfigSchema"></a>AddressSpaceBatchDivinerConfigSchema
2529
-
2530
- [**@xyo-network/diviner-models**](#../README)
2531
-
2532
- ***
2533
-
2534
- ```ts
2535
- type AddressSpaceBatchDivinerConfigSchema = typeof AddressSpaceBatchDivinerConfigSchema;
2536
- ```
2537
-
2538
- ### <a id="AddressSpaceDivinerConfig"></a>AddressSpaceDivinerConfig
2539
-
2540
- [**@xyo-network/diviner-models**](#../README)
2541
-
2542
- ***
2543
-
2544
- ```ts
2545
- type AddressSpaceDivinerConfig = DivinerConfig<{
2546
- address?: string;
2547
- schema: AddressSpaceDivinerConfigSchema;
2548
- }>;
2549
- ```
2550
-
2551
- ### <a id="AddressSpaceDivinerConfigSchema"></a>AddressSpaceDivinerConfigSchema
2552
-
2553
- [**@xyo-network/diviner-models**](#../README)
2554
-
2555
- ***
2556
-
2557
- ```ts
2558
- type AddressSpaceDivinerConfigSchema = typeof AddressSpaceDivinerConfigSchema;
2559
- ```
2560
-
2561
- ### <a id="AddressSpaceDivinerParams"></a>AddressSpaceDivinerParams
2562
-
2563
- [**@xyo-network/diviner-models**](#../README)
2564
-
2565
- ***
2566
-
2567
- ```ts
2568
- type AddressSpaceDivinerParams = DivinerParams<AnyConfigSchema<AddressSpaceDivinerConfig>>;
2569
- ```
2570
-
2571
- ### <a id="AddressSpaceSchema"></a>AddressSpaceSchema
2572
-
2573
- [**@xyo-network/diviner-models**](#../README)
2574
-
2575
- ***
2576
-
2577
- ```ts
2578
- type AddressSpaceSchema = typeof AddressSpaceSchema;
2579
- ```
2580
-
2581
- ### <a id="AttachableDivinerInstanceTypeCheck"></a>AttachableDivinerInstanceTypeCheck
2582
-
2583
- [**@xyo-network/diviner-models**](#../README)
2584
-
2585
- ***
2586
-
2587
- ```ts
2588
- type AttachableDivinerInstanceTypeCheck<T> = TypeCheck<T>;
2589
- ```
2590
-
2591
- ## Type Parameters
2592
-
2593
- ### T
2594
-
2595
- `T` *extends* [`AttachableDivinerInstance`](#../interfaces/AttachableDivinerInstance) = [`AttachableDivinerInstance`](#../interfaces/AttachableDivinerInstance)
2596
-
2597
- ### <a id="BoundWitnessDivinerConfig"></a>BoundWitnessDivinerConfig
2598
-
2599
- [**@xyo-network/diviner-models**](#../README)
2600
-
2601
- ***
2602
-
2603
- ```ts
2604
- type BoundWitnessDivinerConfig<T> = DivinerConfig<T & object>;
2605
- ```
2606
-
2607
- ## Type Parameters
2608
-
2609
- ### T
2610
-
2611
- `T` *extends* `Payload` = `Payload`
2612
-
2613
- ### <a id="BoundWitnessDivinerConfigSchema"></a>BoundWitnessDivinerConfigSchema
2614
-
2615
- [**@xyo-network/diviner-models**](#../README)
2616
-
2617
- ***
2618
-
2619
- ```ts
2620
- type BoundWitnessDivinerConfigSchema = typeof BoundWitnessDivinerConfigSchema;
2621
- ```
2622
-
2623
- ### <a id="BoundWitnessDivinerParams"></a>BoundWitnessDivinerParams
2624
-
2625
- [**@xyo-network/diviner-models**](#../README)
2626
-
2627
- ***
2628
-
2629
- ```ts
2630
- type BoundWitnessDivinerParams = DivinerParams<AnyConfigSchema<BoundWitnessDivinerConfig>>;
2631
- ```
2632
-
2633
- ### <a id="BoundWitnessDivinerPredicate"></a>BoundWitnessDivinerPredicate
2634
-
2635
- [**@xyo-network/diviner-models**](#../README)
2636
-
2637
- ***
2638
-
2639
- ```ts
2640
- type BoundWitnessDivinerPredicate = WithoutSchemas<PayloadDivinerPredicate & Partial<BoundWitness & BoundWitnessDivinerPredicateFields>>;
2641
- ```
2642
-
2643
- ### <a id="BoundWitnessDivinerPredicateFields"></a>BoundWitnessDivinerPredicateFields
2644
-
2645
- [**@xyo-network/diviner-models**](#../README)
2646
-
2647
- ***
2648
-
2649
- ```ts
2650
- type BoundWitnessDivinerPredicateFields = object;
2651
- ```
2652
-
2653
- ## Properties
2654
-
2655
- ### destination
2656
-
2657
- ```ts
2658
- destination: string[];
2659
- ```
2660
-
2661
- ***
2662
-
2663
- ### sourceQuery
2664
-
2665
- ```ts
2666
- sourceQuery: string;
2667
- ```
2668
-
2669
- ### <a id="BoundWitnessDivinerQueryPayload"></a>BoundWitnessDivinerQueryPayload
2670
-
2671
- [**@xyo-network/diviner-models**](#../README)
2672
-
2673
- ***
2674
-
2675
- ```ts
2676
- type BoundWitnessDivinerQueryPayload = Query<object & BoundWitnessDivinerPredicate>;
2677
- ```
2678
-
2679
- ### <a id="BoundWitnessDivinerQuerySchema"></a>BoundWitnessDivinerQuerySchema
2680
-
2681
- [**@xyo-network/diviner-models**](#../README)
2682
-
2683
- ***
2684
-
2685
- ```ts
2686
- type BoundWitnessDivinerQuerySchema = typeof BoundWitnessDivinerQuerySchema;
2687
- ```
2688
-
2689
- ### <a id="BoundWitnessDivinerSchema"></a>BoundWitnessDivinerSchema
2690
-
2691
- [**@xyo-network/diviner-models**](#../README)
2692
-
2693
- ***
2694
-
2695
- ```ts
2696
- type BoundWitnessDivinerSchema = typeof BoundWitnessDivinerSchema;
2697
- ```
2698
-
2699
- ### <a id="BoundWitnessStatsDivinerConfig"></a>BoundWitnessStatsDivinerConfig
2700
-
2701
- [**@xyo-network/diviner-models**](#../README)
2702
-
2703
- ***
2704
-
2705
- ```ts
2706
- type BoundWitnessStatsDivinerConfig<T> = DivinerConfig<T & object>;
2707
- ```
2708
-
2709
- ## Type Parameters
2710
-
2711
- ### T
2712
-
2713
- `T` *extends* `Payload` = `Payload`
2714
-
2715
- ### <a id="BoundWitnessStatsDivinerConfigSchema"></a>BoundWitnessStatsDivinerConfigSchema
2716
-
2717
- [**@xyo-network/diviner-models**](#../README)
2718
-
2719
- ***
2720
-
2721
- ```ts
2722
- type BoundWitnessStatsDivinerConfigSchema = typeof BoundWitnessStatsDivinerConfigSchema;
2723
- ```
2724
-
2725
- ### <a id="BoundWitnessStatsDivinerParams"></a>BoundWitnessStatsDivinerParams
2726
-
2727
- [**@xyo-network/diviner-models**](#../README)
2728
-
2729
- ***
2730
-
2731
- ```ts
2732
- type BoundWitnessStatsDivinerParams = DivinerParams<AnyConfigSchema<BoundWitnessStatsDivinerConfig>>;
2733
- ```
2734
-
2735
- ### <a id="BoundWitnessStatsDivinerSchema"></a>BoundWitnessStatsDivinerSchema
2736
-
2737
- [**@xyo-network/diviner-models**](#../README)
2738
-
2739
- ***
2740
-
2741
- ```ts
2742
- type BoundWitnessStatsDivinerSchema = typeof BoundWitnessStatsDivinerSchema;
2743
- ```
2744
-
2745
- ### <a id="BoundWitnessStatsPayload"></a>BoundWitnessStatsPayload
2746
-
2747
- [**@xyo-network/diviner-models**](#../README)
2748
-
2749
- ***
2750
-
2751
- ```ts
2752
- type BoundWitnessStatsPayload = Payload<{
2753
- count: number;
2754
- schema: BoundWitnessStatsDivinerSchema;
2755
- }>;
2756
- ```
2757
-
2758
- ### <a id="BoundWitnessStatsQueryPayload"></a>BoundWitnessStatsQueryPayload
2759
-
2760
- [**@xyo-network/diviner-models**](#../README)
2761
-
2762
- ***
2763
-
2764
- ```ts
2765
- type BoundWitnessStatsQueryPayload = Query<{
2766
- schema: BoundWitnessStatsQuerySchema;
2767
- }>;
2768
- ```
2769
-
2770
- ### <a id="BoundWitnessStatsQuerySchema"></a>BoundWitnessStatsQuerySchema
2771
-
2772
- [**@xyo-network/diviner-models**](#../README)
2773
-
2774
- ***
2775
-
2776
- ```ts
2777
- type BoundWitnessStatsQuerySchema = typeof BoundWitnessStatsQuerySchema;
2778
- ```
2779
-
2780
- ### <a id="DivineEndEventArgs"></a>DivineEndEventArgs
2781
-
2782
- [**@xyo-network/diviner-models**](#../README)
2783
-
2784
- ***
2785
-
2786
- ```ts
2787
- type DivineEndEventArgs<T, TIn, TOut> = ModuleEventArgs<T, {
2788
- errors: Error[];
2789
- inPayloads: TIn[];
2790
- outPayloads: TOut[];
2791
- }>;
2792
- ```
2793
-
2794
- ## Type Parameters
2795
-
2796
- ### T
2797
-
2798
- `T` *extends* `QueryableModule` = `QueryableModule`
2799
-
2800
- ### TIn
2801
-
2802
- `TIn` *extends* `Payload` = `Payload`
2803
-
2804
- ### TOut
2805
-
2806
- `TOut` *extends* `Payload` = `Payload`
2807
-
2808
- ### <a id="DivineStartEventArgs"></a>DivineStartEventArgs
2809
-
2810
- [**@xyo-network/diviner-models**](#../README)
2811
-
2812
- ***
2813
-
2814
- ```ts
2815
- type DivineStartEventArgs<T, TIn> = ModuleEventArgs<T, {
2816
- inPayloads: TIn[];
2817
- }>;
2818
- ```
2819
-
2820
- ## Type Parameters
2821
-
2822
- ### T
2823
-
2824
- `T` *extends* `QueryableModule` = `QueryableModule`
2825
-
2826
- ### TIn
2827
-
2828
- `TIn` *extends* `Payload` = `Payload`
2829
-
2830
- ### <a id="DivinedPayload"></a>DivinedPayload
2831
-
2832
- [**@xyo-network/diviner-models**](#../README)
2833
-
2834
- ***
2835
-
2836
- ```ts
2837
- type DivinedPayload<T, S> = Payload<WithAdditional<{
2838
- sources: Hash[];
2839
- }, T>, S>;
2840
- ```
2841
-
2842
- ## Type Parameters
2843
-
2844
- ### T
2845
-
2846
- `T` *extends* `void` \| `EmptyObject` \| `WithSchema` = `void`
2847
-
2848
- ### S
2849
-
2850
- `S` *extends* `Schema` \| `void` = `void`
2851
-
2852
- ### <a id="DivinerConfig"></a>DivinerConfig
2853
-
2854
- [**@xyo-network/diviner-models**](#../README)
2855
-
2856
- ***
2857
-
2858
- ```ts
2859
- type DivinerConfig<TConfig, TSchema> = ModuleConfig<WithAdditional<{
2860
- eventSubscriptions?: ModuleEventSubscription[];
2861
- }, Omit<TConfig, "schema">>, TSchema extends Schema ? TSchema : TConfig extends Payload ? TConfig["schema"] : DivinerConfigSchema>;
2862
- ```
2863
-
2864
- ## Type Parameters
2865
-
2866
- ### TConfig
2867
-
2868
- `TConfig` *extends* `Payload` \| `EmptyObject` \| `void` = `void`
2869
-
2870
- ### TSchema
2871
-
2872
- `TSchema` *extends* `Schema` \| `void` = `void`
2873
-
2874
- ### <a id="DivinerConfigSchema"></a>DivinerConfigSchema
2875
-
2876
- [**@xyo-network/diviner-models**](#../README)
2877
-
2878
- ***
2879
-
2880
- ```ts
2881
- type DivinerConfigSchema = typeof DivinerConfigSchema;
2882
- ```
2883
-
2884
- ### <a id="DivinerDivineQuery"></a>DivinerDivineQuery
2885
-
2886
- [**@xyo-network/diviner-models**](#../README)
2887
-
2888
- ***
2889
-
2890
- ```ts
2891
- type DivinerDivineQuery = Query<{
2892
- schema: DivinerDivineQuerySchema;
2893
- }>;
2894
- ```
2895
-
2896
- ### <a id="DivinerDivineQuerySchema"></a>DivinerDivineQuerySchema
2897
-
2898
- [**@xyo-network/diviner-models**](#../README)
2899
-
2900
- ***
2901
-
2902
- ```ts
2903
- type DivinerDivineQuerySchema = typeof DivinerDivineQuerySchema;
2904
- ```
2905
-
2906
- ### <a id="DivinerDivineResult"></a>DivinerDivineResult
2907
-
2908
- [**@xyo-network/diviner-models**](#../README)
2909
-
2910
- ***
2911
-
2912
- ```ts
2913
- type DivinerDivineResult<T> = WithoutPrivateStorageMeta<T>;
2914
- ```
2915
-
2916
- ## Type Parameters
2917
-
2918
- ### T
2919
-
2920
- `T` *extends* `Payload`
2921
-
2922
- ### <a id="DivinerModuleEventData"></a>DivinerModuleEventData
2923
-
2924
- [**@xyo-network/diviner-models**](#../README)
2925
-
2926
- ***
2927
-
2928
- ```ts
2929
- type DivinerModuleEventData<TInstance, TIn, TOut> = DivineEndEventData<TInstance, TIn, TOut> & DivineStartEventData<TInstance, TIn> & ModuleEventData<TInstance>;
2930
- ```
2931
-
2932
- ## Type Parameters
2933
-
2934
- ### TInstance
2935
-
2936
- `TInstance` *extends* `ModuleInstance` = `ModuleInstance`
2937
-
2938
- ### TIn
2939
-
2940
- `TIn` *extends* `Payload` = `Payload`
2941
-
2942
- ### TOut
2943
-
2944
- `TOut` *extends* `Payload` = `Payload`
2945
-
2946
- ### <a id="DivinerModuleQueries"></a>DivinerModuleQueries
2947
-
2948
- [**@xyo-network/diviner-models**](#../README)
2949
-
2950
- ***
2951
-
2952
- ```ts
2953
- type DivinerModuleQueries = ModuleQueries | DivinerQueries;
2954
- ```
2955
-
2956
- ### <a id="DivinerQueries"></a>DivinerQueries
2957
-
2958
- [**@xyo-network/diviner-models**](#../README)
2959
-
2960
- ***
2961
-
2962
- ```ts
2963
- type DivinerQueries = DivinerDivineQuery;
2964
- ```
2965
-
2966
- ### <a id="ForecastPayload"></a>ForecastPayload
2967
-
2968
- [**@xyo-network/diviner-models**](#../README)
2969
-
2970
- ***
2971
-
2972
- ```ts
2973
- type ForecastPayload = Payload<{
2974
- schema: ForecastPayloadSchema;
2975
- sources: string[];
2976
- values: Forecast[];
2977
- }>;
2978
- ```
2979
-
2980
- ### <a id="ForecastPayloadSchema"></a>ForecastPayloadSchema
2981
-
2982
- [**@xyo-network/diviner-models**](#../README)
2983
-
2984
- ***
2985
-
2986
- ```ts
2987
- type ForecastPayloadSchema = typeof ForecastPayloadSchema;
2988
- ```
2989
-
2990
- ### <a id="ForecastingDivinerConfig"></a>ForecastingDivinerConfig
2991
-
2992
- [**@xyo-network/diviner-models**](#../README)
2993
-
2994
- ***
2995
-
2996
- ```ts
2997
- type ForecastingDivinerConfig = DivinerConfig<object & ForecastingSettings & TransformerSettings>;
2998
- ```
2999
-
3000
- ### <a id="ForecastingDivinerConfigSchema"></a>ForecastingDivinerConfigSchema
3001
-
3002
- [**@xyo-network/diviner-models**](#../README)
3003
-
3004
- ***
3005
-
3006
- ```ts
3007
- type ForecastingDivinerConfigSchema = typeof ForecastingDivinerConfigSchema;
3008
- ```
3009
-
3010
- ### <a id="ForecastingDivinerQueryPayload"></a>ForecastingDivinerQueryPayload
3011
-
3012
- [**@xyo-network/diviner-models**](#../README)
3013
-
3014
- ***
3015
-
3016
- ```ts
3017
- type ForecastingDivinerQueryPayload = Query<object & Partial<ForecastingSettings>>;
3018
- ```
3019
-
3020
- ### <a id="ForecastingDivinerQuerySchema"></a>ForecastingDivinerQuerySchema
3021
-
3022
- [**@xyo-network/diviner-models**](#../README)
3023
-
3024
- ***
3025
-
3026
- ```ts
3027
- type ForecastingDivinerQuerySchema = typeof ForecastingDivinerQuerySchema;
3028
- ```
3029
-
3030
- ### <a id="ForecastingDivinerSchema"></a>ForecastingDivinerSchema
3031
-
3032
- [**@xyo-network/diviner-models**](#../README)
3033
-
3034
- ***
3035
-
3036
- ```ts
3037
- type ForecastingDivinerSchema = typeof ForecastingDivinerSchema;
3038
- ```
3039
-
3040
- ### <a id="ForecastingMethod"></a>ForecastingMethod
3041
-
3042
- [**@xyo-network/diviner-models**](#../README)
3043
-
3044
- ***
3045
-
3046
- ```ts
3047
- type ForecastingMethod = (payloads, transformers) => Promisable<Forecast[]>;
3048
- ```
3049
-
3050
- ## Parameters
3051
-
3052
- ### payloads
3053
-
3054
- `Payload`[]
3055
-
3056
- ### transformers
3057
-
3058
- [`PayloadValueTransformer`](#PayloadValueTransformer)
3059
-
3060
- ## Returns
3061
-
3062
- `Promisable`\<[`Forecast`](#../interfaces/Forecast)[]\>
3063
-
3064
- ### <a id="Order"></a>Order
3065
-
3066
- [**@xyo-network/diviner-models**](#../README)
3067
-
3068
- ***
3069
-
3070
- ```ts
3071
- type Order = "asc" | "desc";
3072
- ```
3073
-
3074
- ### <a id="PayloadDivinerConfig"></a>PayloadDivinerConfig
3075
-
3076
- [**@xyo-network/diviner-models**](#../README)
3077
-
3078
- ***
3079
-
3080
- ```ts
3081
- type PayloadDivinerConfig<TAdditional, TSchema> = DivinerConfig<WithAdditional<{
3082
- indexBatchSize?: number;
3083
- maxIndexSize?: number;
3084
- }, TAdditional>, TSchema extends void ? Schema : TSchema>;
3085
- ```
3086
-
3087
- ## Type Parameters
3088
-
3089
- ### TAdditional
3090
-
3091
- `TAdditional` *extends* `EmptyObject` \| `void` = `void`
3092
-
3093
- ### TSchema
3094
-
3095
- `TSchema` *extends* `Schema` \| `void` = `void`
3096
-
3097
- ### <a id="PayloadDivinerConfigSchema"></a>PayloadDivinerConfigSchema
3098
-
3099
- [**@xyo-network/diviner-models**](#../README)
3100
-
3101
- ***
3102
-
3103
- ```ts
3104
- type PayloadDivinerConfigSchema = typeof PayloadDivinerConfigSchema;
3105
- ```
3106
-
3107
- ### <a id="PayloadDivinerParams"></a>PayloadDivinerParams
3108
-
3109
- [**@xyo-network/diviner-models**](#../README)
3110
-
3111
- ***
3112
-
3113
- ```ts
3114
- type PayloadDivinerParams<T> = DivinerParams<T extends AnyConfigSchema<PayloadDivinerConfig> ? T : AnyConfigSchema<PayloadDivinerConfig>>;
3115
- ```
3116
-
3117
- ## Type Parameters
3118
-
3119
- ### T
3120
-
3121
- `T` *extends*
3122
- \| `AnyConfigSchema`\<[`PayloadDivinerConfig`](#PayloadDivinerConfig)\>
3123
- \| `void` = `void`
3124
-
3125
- ### <a id="PayloadDivinerPredicate"></a>PayloadDivinerPredicate
3126
-
3127
- [**@xyo-network/diviner-models**](#../README)
3128
-
3129
- ***
3130
-
3131
- ```ts
3132
- type PayloadDivinerPredicate<T> = Partial<object & T>;
3133
- ```
3134
-
3135
- ## Type Parameters
3136
-
3137
- ### T
3138
-
3139
- `T` *extends* `EmptyObject` = `EmptyObject`
3140
-
3141
- ### <a id="PayloadDivinerQueryPayload"></a>PayloadDivinerQueryPayload
3142
-
3143
- [**@xyo-network/diviner-models**](#../README)
3144
-
3145
- ***
3146
-
3147
- ```ts
3148
- type PayloadDivinerQueryPayload<T> = Query<object & PayloadDivinerPredicate<T>>;
3149
- ```
3150
-
3151
- ## Type Parameters
3152
-
3153
- ### T
3154
-
3155
- `T` *extends* `EmptyObject` = `EmptyObject`
3156
-
3157
- ### <a id="PayloadDivinerQuerySchema"></a>PayloadDivinerQuerySchema
3158
-
3159
- [**@xyo-network/diviner-models**](#../README)
3160
-
3161
- ***
3162
-
3163
- ```ts
3164
- type PayloadDivinerQuerySchema = typeof PayloadDivinerQuerySchema;
3165
- ```
3166
-
3167
- ### <a id="PayloadDivinerSchema"></a>PayloadDivinerSchema
3168
-
3169
- [**@xyo-network/diviner-models**](#../README)
3170
-
3171
- ***
3172
-
3173
- ```ts
3174
- type PayloadDivinerSchema = typeof PayloadDivinerSchema;
3175
- ```
3176
-
3177
- ### <a id="PayloadStatsDivinerConfig"></a>PayloadStatsDivinerConfig
3178
-
3179
- [**@xyo-network/diviner-models**](#../README)
3180
-
3181
- ***
3182
-
3183
- ```ts
3184
- type PayloadStatsDivinerConfig<T> = DivinerConfig<T & object>;
3185
- ```
3186
-
3187
- ## Type Parameters
3188
-
3189
- ### T
3190
-
3191
- `T` *extends* `Payload` = `Payload`
3192
-
3193
- ### <a id="PayloadStatsDivinerConfigSchema"></a>PayloadStatsDivinerConfigSchema
3194
-
3195
- [**@xyo-network/diviner-models**](#../README)
3196
-
3197
- ***
3198
-
3199
- ```ts
3200
- type PayloadStatsDivinerConfigSchema = typeof PayloadStatsDivinerConfigSchema;
3201
- ```
3202
-
3203
- ### <a id="PayloadStatsDivinerParams"></a>PayloadStatsDivinerParams
3204
-
3205
- [**@xyo-network/diviner-models**](#../README)
3206
-
3207
- ***
3208
-
3209
- ```ts
3210
- type PayloadStatsDivinerParams = DivinerParams<AnyConfigSchema<PayloadStatsDivinerConfig>>;
3211
- ```
3212
-
3213
- ### <a id="PayloadStatsDivinerSchema"></a>PayloadStatsDivinerSchema
3214
-
3215
- [**@xyo-network/diviner-models**](#../README)
3216
-
3217
- ***
3218
-
3219
- ```ts
3220
- type PayloadStatsDivinerSchema = typeof PayloadStatsDivinerSchema;
3221
- ```
3222
-
3223
- ### <a id="PayloadStatsPayload"></a>PayloadStatsPayload
3224
-
3225
- [**@xyo-network/diviner-models**](#../README)
3226
-
3227
- ***
3228
-
3229
- ```ts
3230
- type PayloadStatsPayload = Payload<{
3231
- count: number;
3232
- schema: PayloadStatsDivinerSchema;
3233
- }>;
3234
- ```
3235
-
3236
- ### <a id="PayloadStatsQueryPayload"></a>PayloadStatsQueryPayload
3237
-
3238
- [**@xyo-network/diviner-models**](#../README)
3239
-
3240
- ***
3241
-
3242
- ```ts
3243
- type PayloadStatsQueryPayload = Query<{
3244
- schema: PayloadStatsQuerySchema;
3245
- }>;
3246
- ```
3247
-
3248
- ### <a id="PayloadStatsQuerySchema"></a>PayloadStatsQuerySchema
3249
-
3250
- [**@xyo-network/diviner-models**](#../README)
3251
-
3252
- ***
3253
-
3254
- ```ts
3255
- type PayloadStatsQuerySchema = typeof PayloadStatsQuerySchema;
3256
- ```
3257
-
3258
- ### <a id="PayloadValueTransformer"></a>PayloadValueTransformer
3259
-
3260
- [**@xyo-network/diviner-models**](#../README)
3261
-
3262
- ***
3263
-
3264
- ```ts
3265
- type PayloadValueTransformer = (payload) => number;
3266
- ```
3267
-
3268
- ## Parameters
3269
-
3270
- ### payload
3271
-
3272
- `Payload`
3273
-
3274
- ## Returns
3275
-
3276
- `number`
3277
-
3278
- ### <a id="SchemaListDivinerConfig"></a>SchemaListDivinerConfig
3279
-
3280
- [**@xyo-network/diviner-models**](#../README)
3281
-
3282
- ***
3283
-
3284
- ```ts
3285
- type SchemaListDivinerConfig<T> = DivinerConfig<T & object>;
3286
- ```
3287
-
3288
- ## Type Parameters
3289
-
3290
- ### T
3291
-
3292
- `T` *extends* `Payload` = `Payload`
3293
-
3294
- ### <a id="SchemaListDivinerConfigSchema"></a>SchemaListDivinerConfigSchema
3295
-
3296
- [**@xyo-network/diviner-models**](#../README)
3297
-
3298
- ***
3299
-
3300
- ```ts
3301
- type SchemaListDivinerConfigSchema = typeof SchemaListDivinerConfigSchema;
3302
- ```
3303
-
3304
- ### <a id="SchemaListDivinerParams"></a>SchemaListDivinerParams
3305
-
3306
- [**@xyo-network/diviner-models**](#../README)
3307
-
3308
- ***
3309
-
3310
- ```ts
3311
- type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>;
3312
- ```
3313
-
3314
- ### <a id="SchemaListDivinerSchema"></a>SchemaListDivinerSchema
3315
-
3316
- [**@xyo-network/diviner-models**](#../README)
3317
-
3318
- ***
3319
-
3320
- ```ts
3321
- type SchemaListDivinerSchema = typeof SchemaListDivinerSchema;
3322
- ```
3323
-
3324
- ### <a id="SchemaListPayload"></a>SchemaListPayload
3325
-
3326
- [**@xyo-network/diviner-models**](#../README)
3327
-
3328
- ***
3329
-
3330
- ```ts
3331
- type SchemaListPayload = Payload<{
3332
- schema: SchemaListDivinerSchema;
3333
- schemas: string[];
3334
- }>;
3335
- ```
3336
-
3337
- ### <a id="SchemaListQueryPayload"></a>SchemaListQueryPayload
3338
-
3339
- [**@xyo-network/diviner-models**](#../README)
3340
-
3341
- ***
3342
-
3343
- ```ts
3344
- type SchemaListQueryPayload = Query<{
3345
- schema: SchemaListQuerySchema;
3346
- }>;
3347
- ```
3348
-
3349
- ### <a id="SchemaListQuerySchema"></a>SchemaListQuerySchema
3350
-
3351
- [**@xyo-network/diviner-models**](#../README)
3352
-
3353
- ***
3354
-
3355
- ```ts
3356
- type SchemaListQuerySchema = typeof SchemaListQuerySchema;
3357
- ```
3358
-
3359
- ### <a id="SchemaStatsDivinerConfig"></a>SchemaStatsDivinerConfig
3360
-
3361
- [**@xyo-network/diviner-models**](#../README)
3362
-
3363
- ***
3364
-
3365
- ```ts
3366
- type SchemaStatsDivinerConfig<T> = DivinerConfig<T & object>;
3367
- ```
3368
-
3369
- ## Type Parameters
3370
-
3371
- ### T
3372
-
3373
- `T` *extends* `Payload` = `Payload`
3374
-
3375
- ### <a id="SchemaStatsDivinerConfigSchema"></a>SchemaStatsDivinerConfigSchema
3376
-
3377
- [**@xyo-network/diviner-models**](#../README)
3378
-
3379
- ***
3380
-
3381
- ```ts
3382
- type SchemaStatsDivinerConfigSchema = typeof SchemaStatsDivinerConfigSchema;
3383
- ```
3384
-
3385
- ### <a id="SchemaStatsDivinerParams"></a>SchemaStatsDivinerParams
3386
-
3387
- [**@xyo-network/diviner-models**](#../README)
3388
-
3389
- ***
3390
-
3391
- ```ts
3392
- type SchemaStatsDivinerParams = DivinerParams<AnyConfigSchema<SchemaStatsDivinerConfig>>;
3393
- ```
3394
-
3395
- ### <a id="SchemaStatsDivinerSchema"></a>SchemaStatsDivinerSchema
3396
-
3397
- [**@xyo-network/diviner-models**](#../README)
3398
-
3399
- ***
3400
-
3401
- ```ts
3402
- type SchemaStatsDivinerSchema = typeof SchemaStatsDivinerSchema;
3403
- ```
3404
-
3405
- ### <a id="SchemaStatsPayload"></a>SchemaStatsPayload
3406
-
3407
- [**@xyo-network/diviner-models**](#../README)
3408
-
3409
- ***
3410
-
3411
- ```ts
3412
- type SchemaStatsPayload = Payload<{
3413
- count: Record<string, number>;
3414
- name?: string;
3415
- schema: SchemaStatsDivinerSchema;
3416
- }>;
3417
- ```
3418
-
3419
- ### <a id="SchemaStatsQueryPayload"></a>SchemaStatsQueryPayload
3420
-
3421
- [**@xyo-network/diviner-models**](#../README)
3422
-
3423
- ***
3424
-
3425
- ```ts
3426
- type SchemaStatsQueryPayload = Query<{
3427
- schema: SchemaStatsQuerySchema;
3428
- }>;
3429
- ```
3430
-
3431
- ### <a id="SchemaStatsQuerySchema"></a>SchemaStatsQuerySchema
3432
-
3433
- [**@xyo-network/diviner-models**](#../README)
3434
-
3435
- ***
3436
-
3437
- ```ts
3438
- type SchemaStatsQuerySchema = typeof SchemaStatsQuerySchema;
3439
- ```
3440
-
3441
- ### <a id="SortDirection"></a>SortDirection
3442
-
3443
- [**@xyo-network/diviner-models**](#../README)
3444
-
3445
- ***
3446
-
3447
- ```ts
3448
- type SortDirection = "asc" | "desc";
3449
- ```
3450
-
3451
- ## Deprecated
3452
-
3453
- use Order instead
3454
-
3455
- ### <a id="WithoutSchemas"></a>WithoutSchemas
3456
-
3457
- [**@xyo-network/diviner-models**](#../README)
3458
-
3459
- ***
3460
-
3461
- ```ts
3462
- type WithoutSchemas<T> = Omit<Omit<T, "schema">, "schemas">;
3463
- ```
3464
-
3465
- ## Type Parameters
3466
-
3467
- ### T
3468
-
3469
- `T`
3470
-
3471
- ### variables
3472
-
3473
- ### <a id="AddressChainDivinerConfigSchema"></a>AddressChainDivinerConfigSchema
3474
-
3475
- [**@xyo-network/diviner-models**](#../README)
3476
-
3477
- ***
3478
-
3479
- ```ts
3480
- const AddressChainDivinerConfigSchema: string & object;
3481
- ```
3482
-
3483
- ## Type Declaration
3484
-
3485
- ### \_\_schema
3486
-
3487
- ```ts
3488
- readonly __schema: true;
3489
- ```
3490
-
3491
- ### <a id="AddressChainQuerySchema"></a>AddressChainQuerySchema
3492
-
3493
- [**@xyo-network/diviner-models**](#../README)
3494
-
3495
- ***
3496
-
3497
- ```ts
3498
- const AddressChainQuerySchema: string & object;
3499
- ```
3500
-
3501
- ## Type Declaration
3502
-
3503
- ### \_\_schema
3504
-
3505
- ```ts
3506
- readonly __schema: true;
3507
- ```
3508
-
3509
- ### <a id="AddressChainSchema"></a>AddressChainSchema
3510
-
3511
- [**@xyo-network/diviner-models**](#../README)
3512
-
3513
- ***
3514
-
3515
- ```ts
3516
- const AddressChainSchema: "network.xyo.diviner.address.chain" & object;
3517
- ```
3518
-
3519
- ## Type Declaration
3520
-
3521
- ### \_\_schema
3522
-
3523
- ```ts
3524
- readonly __schema: true;
3525
- ```
3526
-
3527
- ### <a id="AddressHistoryDivinerConfigSchema"></a>AddressHistoryDivinerConfigSchema
3528
-
3529
- [**@xyo-network/diviner-models**](#../README)
3530
-
3531
- ***
3532
-
3533
- ```ts
3534
- const AddressHistoryDivinerConfigSchema: string & object;
3535
- ```
3536
-
3537
- ## Type Declaration
3538
-
3539
- ### \_\_schema
3540
-
3541
- ```ts
3542
- readonly __schema: true;
3543
- ```
3544
-
3545
- ### <a id="AddressHistoryQuerySchema"></a>AddressHistoryQuerySchema
3546
-
3547
- [**@xyo-network/diviner-models**](#../README)
3548
-
3549
- ***
3550
-
3551
- ```ts
3552
- const AddressHistoryQuerySchema: "network.xyo.diviner.address.history.query" & object;
3553
- ```
3554
-
3555
- ## Type Declaration
3556
-
3557
- ### \_\_schema
3558
-
3559
- ```ts
3560
- readonly __schema: true;
3561
- ```
3562
-
3563
- ### <a id="AddressHistorySchema"></a>AddressHistorySchema
3564
-
3565
- [**@xyo-network/diviner-models**](#../README)
3566
-
3567
- ***
3568
-
3569
- ```ts
3570
- const AddressHistorySchema: "network.xyo.diviner.address.history" & object;
3571
- ```
3572
-
3573
- ## Type Declaration
3574
-
3575
- ### \_\_schema
3576
-
3577
- ```ts
3578
- readonly __schema: true;
3579
- ```
3580
-
3581
- ### <a id="AddressSpaceBatchDivinerConfigSchema"></a>AddressSpaceBatchDivinerConfigSchema
3582
-
3583
- [**@xyo-network/diviner-models**](#../README)
3584
-
3585
- ***
3586
-
3587
- ```ts
3588
- const AddressSpaceBatchDivinerConfigSchema: string & object;
3589
- ```
3590
-
3591
- ## Type Declaration
3592
-
3593
- ### \_\_schema
3594
-
3595
- ```ts
3596
- readonly __schema: true;
3597
- ```
3598
-
3599
- ### <a id="AddressSpaceDivinerConfigSchema"></a>AddressSpaceDivinerConfigSchema
3600
-
3601
- [**@xyo-network/diviner-models**](#../README)
3602
-
3603
- ***
3604
-
3605
- ```ts
3606
- const AddressSpaceDivinerConfigSchema: string & object;
3607
- ```
3608
-
3609
- ## Type Declaration
3610
-
3611
- ### \_\_schema
3612
-
3613
- ```ts
3614
- readonly __schema: true;
3615
- ```
3616
-
3617
- ### <a id="AddressSpaceSchema"></a>AddressSpaceSchema
3618
-
3619
- [**@xyo-network/diviner-models**](#../README)
3620
-
3621
- ***
3622
-
3623
- ```ts
3624
- const AddressSpaceSchema: "network.xyo.diviner.address.space" & object;
3625
- ```
3626
-
3627
- ## Type Declaration
3628
-
3629
- ### \_\_schema
3630
-
3631
- ```ts
3632
- readonly __schema: true;
3633
- ```
3634
-
3635
- ### <a id="BoundWitnessDivinerConfigSchema"></a>BoundWitnessDivinerConfigSchema
3636
-
3637
- [**@xyo-network/diviner-models**](#../README)
3638
-
3639
- ***
3640
-
3641
- ```ts
3642
- const BoundWitnessDivinerConfigSchema: string & object;
3643
- ```
3644
-
3645
- ## Type Declaration
3646
-
3647
- ### \_\_schema
3648
-
3649
- ```ts
3650
- readonly __schema: true;
3651
- ```
3652
-
3653
- ### <a id="BoundWitnessDivinerQuerySchema"></a>BoundWitnessDivinerQuerySchema
3654
-
3655
- [**@xyo-network/diviner-models**](#../README)
3656
-
3657
- ***
3658
-
3659
- ```ts
3660
- const BoundWitnessDivinerQuerySchema: string & object;
3661
- ```
3662
-
3663
- ## Type Declaration
3664
-
3665
- ### \_\_schema
3666
-
3667
- ```ts
3668
- readonly __schema: true;
3669
- ```
3670
-
3671
- ### <a id="BoundWitnessDivinerSchema"></a>BoundWitnessDivinerSchema
3672
-
3673
- [**@xyo-network/diviner-models**](#../README)
3674
-
3675
- ***
3676
-
3677
- ```ts
3678
- const BoundWitnessDivinerSchema: "network.xyo.diviner.boundwitness" & object;
3679
- ```
3680
-
3681
- ## Type Declaration
3682
-
3683
- ### \_\_schema
3684
-
3685
- ```ts
3686
- readonly __schema: true;
3687
- ```
3688
-
3689
- ### <a id="BoundWitnessStatsDivinerConfigSchema"></a>BoundWitnessStatsDivinerConfigSchema
3690
-
3691
- [**@xyo-network/diviner-models**](#../README)
3692
-
3693
- ***
3694
-
3695
- ```ts
3696
- const BoundWitnessStatsDivinerConfigSchema: string & object;
3697
- ```
3698
-
3699
- ## Type Declaration
3700
-
3701
- ### \_\_schema
3702
-
3703
- ```ts
3704
- readonly __schema: true;
3705
- ```
3706
-
3707
- ### <a id="BoundWitnessStatsDivinerSchema"></a>BoundWitnessStatsDivinerSchema
3708
-
3709
- [**@xyo-network/diviner-models**](#../README)
3710
-
3711
- ***
3712
-
3713
- ```ts
3714
- const BoundWitnessStatsDivinerSchema: "network.xyo.diviner.boundwitness.stats" & object;
3715
- ```
3716
-
3717
- ## Type Declaration
3718
-
3719
- ### \_\_schema
3720
-
3721
- ```ts
3722
- readonly __schema: true;
3723
- ```
3724
-
3725
- ### <a id="BoundWitnessStatsQuerySchema"></a>BoundWitnessStatsQuerySchema
3726
-
3727
- [**@xyo-network/diviner-models**](#../README)
3728
-
3729
- ***
3730
-
3731
- ```ts
3732
- const BoundWitnessStatsQuerySchema: string & object;
3733
- ```
3734
-
3735
- ## Type Declaration
3736
-
3737
- ### \_\_schema
3738
-
3739
- ```ts
3740
- readonly __schema: true;
3741
- ```
3742
-
3743
- ### <a id="DivinerConfigSchema"></a>DivinerConfigSchema
3744
-
3745
- [**@xyo-network/diviner-models**](#../README)
3746
-
3747
- ***
3748
-
3749
- ```ts
3750
- const DivinerConfigSchema: "network.xyo.diviner.config" & object;
3751
- ```
3752
-
3753
- ## Type Declaration
3754
-
3755
- ### \_\_schema
3756
-
3757
- ```ts
3758
- readonly __schema: true;
3759
- ```
3760
-
3761
- ### <a id="DivinerDivineQuerySchema"></a>DivinerDivineQuerySchema
3762
-
3763
- [**@xyo-network/diviner-models**](#../README)
3764
-
3765
- ***
3766
-
3767
- ```ts
3768
- const DivinerDivineQuerySchema: "network.xyo.query.diviner.divine" & object;
3769
- ```
3770
-
3771
- ## Type Declaration
3772
-
3773
- ### \_\_schema
3774
-
3775
- ```ts
3776
- readonly __schema: true;
3777
- ```
3778
-
3779
- ### <a id="ForecastPayloadSchema"></a>ForecastPayloadSchema
3780
-
3781
- [**@xyo-network/diviner-models**](#../README)
3782
-
3783
- ***
3784
-
3785
- ```ts
3786
- const ForecastPayloadSchema: string & object;
3787
- ```
3788
-
3789
- ## Type Declaration
3790
-
3791
- ### \_\_schema
3792
-
3793
- ```ts
3794
- readonly __schema: true;
3795
- ```
3796
-
3797
- ### <a id="ForecastingDivinerConfigSchema"></a>ForecastingDivinerConfigSchema
3798
-
3799
- [**@xyo-network/diviner-models**](#../README)
3800
-
3801
- ***
3802
-
3803
- ```ts
3804
- const ForecastingDivinerConfigSchema: string & object;
3805
- ```
3806
-
3807
- ## Type Declaration
3808
-
3809
- ### \_\_schema
3810
-
3811
- ```ts
3812
- readonly __schema: true;
3813
- ```
3814
-
3815
- ### <a id="ForecastingDivinerQuerySchema"></a>ForecastingDivinerQuerySchema
3816
-
3817
- [**@xyo-network/diviner-models**](#../README)
3818
-
3819
- ***
3820
-
3821
- ```ts
3822
- const ForecastingDivinerQuerySchema: string & object;
3823
- ```
3824
-
3825
- ## Type Declaration
3826
-
3827
- ### \_\_schema
3828
-
3829
- ```ts
3830
- readonly __schema: true;
3831
- ```
3832
-
3833
- ### <a id="ForecastingDivinerSchema"></a>ForecastingDivinerSchema
3834
-
3835
- [**@xyo-network/diviner-models**](#../README)
3836
-
3837
- ***
3838
-
3839
- ```ts
3840
- const ForecastingDivinerSchema: "network.xyo.diviner.forecasting" & object;
3841
- ```
3842
-
3843
- ## Type Declaration
3844
-
3845
- ### \_\_schema
3846
-
3847
- ```ts
3848
- readonly __schema: true;
3849
- ```
3850
-
3851
- ### <a id="PayloadDivinerConfigSchema"></a>PayloadDivinerConfigSchema
3852
-
3853
- [**@xyo-network/diviner-models**](#../README)
3854
-
3855
- ***
3856
-
3857
- ```ts
3858
- const PayloadDivinerConfigSchema: string & object;
3859
- ```
3860
-
3861
- ## Type Declaration
3862
-
3863
- ### \_\_schema
3864
-
3865
- ```ts
3866
- readonly __schema: true;
3867
- ```
3868
-
3869
- ### <a id="PayloadDivinerQuerySchema"></a>PayloadDivinerQuerySchema
3870
-
3871
- [**@xyo-network/diviner-models**](#../README)
3872
-
3873
- ***
3874
-
3875
- ```ts
3876
- const PayloadDivinerQuerySchema: string & object;
3877
- ```
3878
-
3879
- ## Type Declaration
3880
-
3881
- ### \_\_schema
3882
-
3883
- ```ts
3884
- readonly __schema: true;
3885
- ```
3886
-
3887
- ### <a id="PayloadDivinerSchema"></a>PayloadDivinerSchema
3888
-
3889
- [**@xyo-network/diviner-models**](#../README)
3890
-
3891
- ***
3892
-
3893
- ```ts
3894
- const PayloadDivinerSchema: "network.xyo.diviner.payload" & object;
3895
- ```
3896
-
3897
- ## Type Declaration
3898
-
3899
- ### \_\_schema
3900
-
3901
- ```ts
3902
- readonly __schema: true;
3903
- ```
3904
-
3905
- ### <a id="PayloadStatsDivinerConfigSchema"></a>PayloadStatsDivinerConfigSchema
3906
-
3907
- [**@xyo-network/diviner-models**](#../README)
3908
-
3909
- ***
3910
-
3911
- ```ts
3912
- const PayloadStatsDivinerConfigSchema: string & object;
3913
- ```
3914
-
3915
- ## Type Declaration
3916
-
3917
- ### \_\_schema
3918
-
3919
- ```ts
3920
- readonly __schema: true;
3921
- ```
3922
-
3923
- ### <a id="PayloadStatsDivinerSchema"></a>PayloadStatsDivinerSchema
3924
-
3925
- [**@xyo-network/diviner-models**](#../README)
3926
-
3927
- ***
3928
-
3929
- ```ts
3930
- const PayloadStatsDivinerSchema: "network.xyo.diviner.payload.stats" & object;
3931
- ```
3932
-
3933
- ## Type Declaration
3934
-
3935
- ### \_\_schema
3936
-
3937
- ```ts
3938
- readonly __schema: true;
3939
- ```
3940
-
3941
- ### <a id="PayloadStatsQuerySchema"></a>PayloadStatsQuerySchema
3942
-
3943
- [**@xyo-network/diviner-models**](#../README)
3944
-
3945
- ***
3946
-
3947
- ```ts
3948
- const PayloadStatsQuerySchema: string & object;
3949
- ```
3950
-
3951
- ## Type Declaration
3952
-
3953
- ### \_\_schema
3954
-
3955
- ```ts
3956
- readonly __schema: true;
3957
- ```
3958
-
3959
- ### <a id="SchemaListDivinerConfigSchema"></a>SchemaListDivinerConfigSchema
3960
-
3961
- [**@xyo-network/diviner-models**](#../README)
3962
-
3963
- ***
3964
-
3965
- ```ts
3966
- const SchemaListDivinerConfigSchema: string & object;
3967
- ```
3968
-
3969
- ## Type Declaration
3970
-
3971
- ### \_\_schema
3972
-
3973
- ```ts
3974
- readonly __schema: true;
3975
- ```
3976
-
3977
- ### <a id="SchemaListDivinerSchema"></a>SchemaListDivinerSchema
3978
-
3979
- [**@xyo-network/diviner-models**](#../README)
3980
-
3981
- ***
3982
-
3983
- ```ts
3984
- const SchemaListDivinerSchema: "network.xyo.diviner.schema.list" & object;
3985
- ```
3986
-
3987
- ## Type Declaration
3988
-
3989
- ### \_\_schema
3990
-
3991
- ```ts
3992
- readonly __schema: true;
3993
- ```
3994
-
3995
- ### <a id="SchemaListQuerySchema"></a>SchemaListQuerySchema
3996
-
3997
- [**@xyo-network/diviner-models**](#../README)
3998
-
3999
- ***
4000
-
4001
- ```ts
4002
- const SchemaListQuerySchema: string & object;
4003
- ```
4004
-
4005
- ## Type Declaration
4006
-
4007
- ### \_\_schema
4008
-
4009
- ```ts
4010
- readonly __schema: true;
4011
- ```
4012
-
4013
- ### <a id="SchemaStatsDivinerConfigSchema"></a>SchemaStatsDivinerConfigSchema
4014
-
4015
- [**@xyo-network/diviner-models**](#../README)
4016
-
4017
- ***
4018
-
4019
- ```ts
4020
- const SchemaStatsDivinerConfigSchema: string & object;
4021
- ```
4022
-
4023
- ## Type Declaration
4024
-
4025
- ### \_\_schema
4026
-
4027
- ```ts
4028
- readonly __schema: true;
4029
- ```
4030
-
4031
- ### <a id="SchemaStatsDivinerSchema"></a>SchemaStatsDivinerSchema
4032
-
4033
- [**@xyo-network/diviner-models**](#../README)
4034
-
4035
- ***
4036
-
4037
- ```ts
4038
- const SchemaStatsDivinerSchema: "network.xyo.diviner.schema.stats" & object;
4039
- ```
4040
-
4041
- ## Type Declaration
4042
-
4043
- ### \_\_schema
4044
-
4045
- ```ts
4046
- readonly __schema: true;
4047
- ```
4048
-
4049
- ### <a id="SchemaStatsQuerySchema"></a>SchemaStatsQuerySchema
4050
-
4051
- [**@xyo-network/diviner-models**](#../README)
4052
-
4053
- ***
4054
-
4055
- ```ts
4056
- const SchemaStatsQuerySchema: string & object;
4057
- ```
4058
-
4059
- ## Type Declaration
4060
-
4061
- ### \_\_schema
4062
-
4063
- ```ts
4064
- readonly __schema: true;
4065
- ```
4066
-
4067
- ### <a id="asAttachableDivinerInstance"></a>asAttachableDivinerInstance
4068
-
4069
- [**@xyo-network/diviner-models**](#../README)
4070
-
4071
- ***
4072
-
4073
- ```ts
4074
- const asAttachableDivinerInstance: AsTypeFunction;
4075
- ```
4076
-
4077
- ### <a id="asDivinerInstance"></a>asDivinerInstance
4078
-
4079
- [**@xyo-network/diviner-models**](#../README)
4080
-
4081
- ***
4082
-
4083
- ```ts
4084
- const asDivinerInstance: AsTypeFunction;
4085
- ```
4086
-
4087
- ### <a id="asDivinerModule"></a>asDivinerModule
4088
-
4089
- [**@xyo-network/diviner-models**](#../README)
4090
-
4091
- ***
4092
-
4093
- ```ts
4094
- const asDivinerModule: AsTypeFunction;
4095
- ```
4096
-
4097
- ### <a id="asPayloadDivinerQueryPayload"></a>asPayloadDivinerQueryPayload
4098
-
4099
- [**@xyo-network/diviner-models**](#../README)
4100
-
4101
- ***
4102
-
4103
- ```ts
4104
- const asPayloadDivinerQueryPayload: AsTypeFunction;
4105
- ```
4106
-
4107
- ### <a id="isAddressChainPayload"></a>isAddressChainPayload
4108
-
4109
- [**@xyo-network/diviner-models**](#../README)
4110
-
4111
- ***
4112
-
4113
- ```ts
4114
- const isAddressChainPayload: (x?) => x is AddressChainPayload;
4115
- ```
4116
-
4117
- ## Parameters
4118
-
4119
- ### x?
4120
-
4121
- `Payload` \| `null`
4122
-
4123
- ## Returns
4124
-
4125
- `x is AddressChainPayload`
4126
-
4127
- ### <a id="isAddressChainQueryPayload"></a>isAddressChainQueryPayload
4128
-
4129
- [**@xyo-network/diviner-models**](#../README)
4130
-
4131
- ***
4132
-
4133
- ```ts
4134
- const isAddressChainQueryPayload: (x?) => x is AddressChainQueryPayload;
4135
- ```
4136
-
4137
- ## Parameters
4138
-
4139
- ### x?
4140
-
4141
- `unknown` \| `null`
4142
-
4143
- ## Returns
4144
-
4145
- `x is AddressChainQueryPayload`
4146
-
4147
- ### <a id="isAddressHistoryPayload"></a>isAddressHistoryPayload
4148
-
4149
- [**@xyo-network/diviner-models**](#../README)
4150
-
4151
- ***
4152
-
4153
- ```ts
4154
- const isAddressHistoryPayload: (x?) => x is AddressHistoryPayload;
4155
- ```
4156
-
4157
- ## Parameters
4158
-
4159
- ### x?
4160
-
4161
- `Payload` \| `null`
4162
-
4163
- ## Returns
4164
-
4165
- `x is AddressHistoryPayload`
4166
-
4167
- ### <a id="isAddressHistoryQueryPayload"></a>isAddressHistoryQueryPayload
4168
-
4169
- [**@xyo-network/diviner-models**](#../README)
4170
-
4171
- ***
4172
-
4173
- ```ts
4174
- const isAddressHistoryQueryPayload: (x?) => x is AddressHistoryQueryPayload;
4175
- ```
4176
-
4177
- ## Parameters
4178
-
4179
- ### x?
4180
-
4181
- `unknown` \| `null`
4182
-
4183
- ## Returns
4184
-
4185
- `x is AddressHistoryQueryPayload`
4186
-
4187
- ### <a id="isAttachableDivinerInstance"></a>isAttachableDivinerInstance
4188
-
4189
- [**@xyo-network/diviner-models**](#../README)
4190
-
4191
- ***
4192
-
4193
- ```ts
4194
- const isAttachableDivinerInstance: TypeCheck<AttachableDivinerInstance>;
4195
- ```
4196
-
4197
- ### <a id="isBoundWitnessDivinerQueryPayload"></a>isBoundWitnessDivinerQueryPayload
4198
-
4199
- [**@xyo-network/diviner-models**](#../README)
4200
-
4201
- ***
4202
-
4203
- ```ts
4204
- const isBoundWitnessDivinerQueryPayload: (x?) => x is BoundWitnessDivinerQueryPayload;
4205
- ```
4206
-
4207
- ## Parameters
4208
-
4209
- ### x?
4210
-
4211
- `unknown` \| `null`
4212
-
4213
- ## Returns
4214
-
4215
- `x is BoundWitnessDivinerQueryPayload`
4216
-
4217
- ### <a id="isBoundWitnessStatsPayload"></a>isBoundWitnessStatsPayload
4218
-
4219
- [**@xyo-network/diviner-models**](#../README)
4220
-
4221
- ***
4222
-
4223
- ```ts
4224
- const isBoundWitnessStatsPayload: (x?) => x is BoundWitnessStatsPayload;
4225
- ```
4226
-
4227
- ## Parameters
4228
-
4229
- ### x?
4230
-
4231
- `Payload` \| `null`
4232
-
4233
- ## Returns
4234
-
4235
- `x is BoundWitnessStatsPayload`
4236
-
4237
- ### <a id="isBoundWitnessStatsQueryPayload"></a>isBoundWitnessStatsQueryPayload
4238
-
4239
- [**@xyo-network/diviner-models**](#../README)
4240
-
4241
- ***
4242
-
4243
- ```ts
4244
- const isBoundWitnessStatsQueryPayload: (x?) => x is BoundWitnessStatsQueryPayload;
4245
- ```
4246
-
4247
- ## Parameters
4248
-
4249
- ### x?
4250
-
4251
- `Payload` \| `null`
4252
-
4253
- ## Returns
4254
-
4255
- `x is BoundWitnessStatsQueryPayload`
4256
-
4257
- ### <a id="isDivinerInstance"></a>isDivinerInstance
4258
-
4259
- [**@xyo-network/diviner-models**](#../README)
4260
-
4261
- ***
4262
-
4263
- ```ts
4264
- const isDivinerInstance: TypeCheck<DivinerInstance>;
4265
- ```
4266
-
4267
- ### <a id="isDivinerModule"></a>isDivinerModule
4268
-
4269
- [**@xyo-network/diviner-models**](#../README)
4270
-
4271
- ***
4272
-
4273
- ```ts
4274
- const isDivinerModule: TypeCheck<DivinerModule>;
4275
- ```
4276
-
4277
- ### <a id="isForecastPayload"></a>isForecastPayload
4278
-
4279
- [**@xyo-network/diviner-models**](#../README)
4280
-
4281
- ***
4282
-
4283
- ```ts
4284
- const isForecastPayload: (x?) => x is ForecastPayload;
4285
- ```
4286
-
4287
- ## Parameters
4288
-
4289
- ### x?
4290
-
4291
- `Payload` \| `null`
4292
-
4293
- ## Returns
4294
-
4295
- `x is ForecastPayload`
4296
-
4297
- ### <a id="isForecastingDivinerQueryPayload"></a>isForecastingDivinerQueryPayload
4298
-
4299
- [**@xyo-network/diviner-models**](#../README)
4300
-
4301
- ***
4302
-
4303
- ```ts
4304
- const isForecastingDivinerQueryPayload: (x?) => x is ForecastingDivinerQueryPayload;
4305
- ```
4306
-
4307
- ## Parameters
4308
-
4309
- ### x?
4310
-
4311
- `Payload` \| `null`
4312
-
4313
- ## Returns
4314
-
4315
- `x is ForecastingDivinerQueryPayload`
4316
-
4317
- ### <a id="isPayloadDivinerQueryPayload"></a>isPayloadDivinerQueryPayload
4318
-
4319
- [**@xyo-network/diviner-models**](#../README)
4320
-
4321
- ***
4322
-
4323
- ```ts
4324
- const isPayloadDivinerQueryPayload: (x?) => x is PayloadDivinerQueryPayload<object>;
4325
- ```
4326
-
4327
- ## Parameters
4328
-
4329
- ### x?
4330
-
4331
- `unknown` \| `null`
4332
-
4333
- ## Returns
4334
-
4335
- `x is PayloadDivinerQueryPayload<object>`
4336
-
4337
- ### <a id="isPayloadStatsPayload"></a>isPayloadStatsPayload
4338
-
4339
- [**@xyo-network/diviner-models**](#../README)
4340
-
4341
- ***
4342
-
4343
- ```ts
4344
- const isPayloadStatsPayload: (x?) => x is PayloadStatsPayload;
4345
- ```
4346
-
4347
- ## Parameters
4348
-
4349
- ### x?
4350
-
4351
- `Payload` \| `null`
4352
-
4353
- ## Returns
4354
-
4355
- `x is PayloadStatsPayload`
4356
-
4357
- ### <a id="isPayloadStatsQueryPayload"></a>isPayloadStatsQueryPayload
4358
-
4359
- [**@xyo-network/diviner-models**](#../README)
4360
-
4361
- ***
4362
-
4363
- ```ts
4364
- const isPayloadStatsQueryPayload: (x?) => x is PayloadStatsQueryPayload;
4365
- ```
4366
-
4367
- ## Parameters
4368
-
4369
- ### x?
4370
-
4371
- `Payload` \| `null`
4372
-
4373
- ## Returns
4374
-
4375
- `x is PayloadStatsQueryPayload`
4376
-
4377
- ### <a id="isSchemaListPayload"></a>isSchemaListPayload
4378
-
4379
- [**@xyo-network/diviner-models**](#../README)
4380
-
4381
- ***
4382
-
4383
- ```ts
4384
- const isSchemaListPayload: (x?) => x is SchemaListPayload;
4385
- ```
4386
-
4387
- ## Parameters
4388
-
4389
- ### x?
4390
-
4391
- `Payload` \| `null`
4392
-
4393
- ## Returns
4394
-
4395
- `x is SchemaListPayload`
4396
-
4397
- ### <a id="isSchemaListQueryPayload"></a>isSchemaListQueryPayload
4398
-
4399
- [**@xyo-network/diviner-models**](#../README)
4400
-
4401
- ***
4402
-
4403
- ```ts
4404
- const isSchemaListQueryPayload: (x?) => x is SchemaListQueryPayload;
4405
- ```
4406
-
4407
- ## Parameters
4408
-
4409
- ### x?
4410
-
4411
- `Payload` \| `null`
4412
-
4413
- ## Returns
4414
-
4415
- `x is SchemaListQueryPayload`
4416
-
4417
- ### <a id="isSchemaStatsPayload"></a>isSchemaStatsPayload
4418
-
4419
- [**@xyo-network/diviner-models**](#../README)
4420
-
4421
- ***
4422
-
4423
- ```ts
4424
- const isSchemaStatsPayload: (x?) => x is SchemaStatsPayload;
4425
- ```
4426
-
4427
- ## Parameters
4428
-
4429
- ### x?
4430
-
4431
- `Payload` \| `null`
4432
-
4433
- ## Returns
4434
-
4435
- `x is SchemaStatsPayload`
4436
-
4437
- ### <a id="isSchemaStatsQueryPayload"></a>isSchemaStatsQueryPayload
4438
-
4439
- [**@xyo-network/diviner-models**](#../README)
4440
-
4441
- ***
4442
-
4443
- ```ts
4444
- const isSchemaStatsQueryPayload: (x?) => x is SchemaStatsQueryPayload;
4445
- ```
4446
-
4447
- ## Parameters
4448
-
4449
- ### x?
4450
-
4451
- `Payload` \| `null`
4452
-
4453
- ## Returns
4454
-
4455
- `x is SchemaStatsQueryPayload`
4456
-
4457
- ### <a id="requiredAttachableDivinerInstanceFunctions"></a>requiredAttachableDivinerInstanceFunctions
4458
-
4459
- [**@xyo-network/diviner-models**](#../README)
4460
-
4461
- ***
4462
-
4463
- ```ts
4464
- const requiredAttachableDivinerInstanceFunctions: ObjectTypeShape;
4465
- ```
4466
-
4467
- ### <a id="withDivinerInstance"></a>withDivinerInstance
4468
-
4469
- [**@xyo-network/diviner-models**](#../README)
4470
-
4471
- ***
4472
-
4473
- ```ts
4474
- const withDivinerInstance: <R>(mod, closure) => R | undefined;
4475
- ```
4476
-
4477
- ## Type Parameters
4478
-
4479
- ### R
4480
-
4481
- `R`
4482
-
4483
- ## Parameters
4484
-
4485
- ### mod
4486
-
4487
- `any`
4488
-
4489
- ### closure
4490
-
4491
- (`mod`) => `R`
4492
-
4493
- ## Returns
4494
-
4495
- `R` \| `undefined`
4496
-
4497
- ## Deprecated
4498
-
4499
- use narrowing instead [ if(is) ]
4500
-
4501
- ### <a id="withDivinerModule"></a>withDivinerModule
4502
-
4503
- [**@xyo-network/diviner-models**](#../README)
4504
-
4505
- ***
4506
-
4507
- ```ts
4508
- const withDivinerModule: <R>(mod, closure) => R | undefined;
4509
- ```
4510
-
4511
- ## Type Parameters
4512
-
4513
- ### R
4514
-
4515
- `R`
4516
-
4517
- ## Parameters
4518
-
4519
- ### mod
4520
-
4521
- `any`
4522
-
4523
- ### closure
4524
-
4525
- (`mod`) => `R`
4526
-
4527
- ## Returns
4528
-
4529
- `R` \| `undefined`
4530
-
4531
- ## Deprecated
4532
-
4533
- use narrowing instead [ if(is) ]
4534
41
 
4535
42
 
4536
43
  [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png