@xyo-network/diviner-jsonpath 5.3.25 → 5.3.26

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 +2884 -10
  2. package/package.json +26 -26
package/README.md CHANGED
@@ -1,23 +1,2897 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/diviner-jsonpath
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
13
+
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
17
+
18
+ Using yarn:
4
19
 
5
- Version: 5.0.2
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
6
23
 
7
- Primary SDK for using XYO Protocol 2.0
24
+ Using pnpm:
8
25
 
9
- ## Documentation
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
10
29
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__diviner-jsonpath)
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### modules
46
+
47
+ ### packages
48
+
49
+ ### diviner
50
+
51
+ ### packages
52
+
53
+ ### jsonpath
54
+
55
+ ### .temp-typedoc
56
+
57
+ ### classes
58
+
59
+ ### <a id="JsonPathDiviner"></a>JsonPathDiviner
60
+
61
+ [**@xyo-network/diviner-jsonpath**](#../README)
62
+
63
+ ***
64
+
65
+ ## Extends
66
+
67
+ - `AbstractDiviner`\<`TParams`, `TIn`, `TOut`, `TEventData`\>
68
+
69
+ ## Type Parameters
70
+
71
+ ### TParams
72
+
73
+ `TParams` *extends* [`JsonPathDivinerParams`](#../type-aliases/JsonPathDivinerParams) = [`JsonPathDivinerParams`](#../type-aliases/JsonPathDivinerParams)
74
+
75
+ ### TIn
76
+
77
+ `TIn` *extends* `Payload` = `Payload`
78
+
79
+ ### TOut
80
+
81
+ `TOut` *extends* `Payload` = `Payload`
82
+
83
+ ### TEventData
84
+
85
+ `TEventData` *extends* `DivinerModuleEventData`\<`DivinerInstance`\<`TParams`, `TIn`, `TOut`\>, `TIn`, `TOut`\> = `DivinerModuleEventData`\<`DivinerInstance`\<`TParams`, `TIn`, `TOut`\>, `TIn`, `TOut`\>
86
+
87
+ ## Constructors
88
+
89
+ ### Constructor
90
+
91
+ ```ts
92
+ new JsonPathDiviner<TParams, TIn, TOut, TEventData>(key, params): JsonPathDiviner<TParams, TIn, TOut, TEventData>;
93
+ ```
94
+
95
+ ### Parameters
96
+
97
+ #### key
98
+
99
+ `unknown`
100
+
101
+ #### params
102
+
103
+ `Partial`\<`TParams` & `RequiredCreatableParams`\>
104
+
105
+ ### Returns
106
+
107
+ `JsonPathDiviner`\<`TParams`, `TIn`, `TOut`, `TEventData`\>
108
+
109
+ ### Inherited from
110
+
111
+ ```ts
112
+ AbstractDiviner<TParams, TIn, TOut, TEventData>.constructor
113
+ ```
114
+
115
+ ## Properties
116
+
117
+ ### targetSchema
118
+
119
+ ```ts
120
+ readonly static targetSchema: Schema;
121
+ ```
122
+
123
+ ### Inherited from
124
+
125
+ ```ts
126
+ AbstractDiviner.targetSchema
127
+ ```
128
+
129
+ ***
130
+
131
+ ### uniqueName
132
+
133
+ ```ts
134
+ readonly static uniqueName: string;
135
+ ```
136
+
137
+ ### Inherited from
138
+
139
+ ```ts
140
+ AbstractDiviner.uniqueName
141
+ ```
142
+
143
+ ***
144
+
145
+ ### configSchemas
146
+
147
+ ```ts
148
+ readonly static configSchemas: Schema[];
149
+ ```
150
+
151
+ ### Overrides
152
+
153
+ ```ts
154
+ AbstractDiviner.configSchemas
155
+ ```
156
+
157
+ ***
158
+
159
+ ### defaultConfigSchema
160
+
161
+ ```ts
162
+ readonly static defaultConfigSchema: Schema;
163
+ ```
164
+
165
+ ### Overrides
166
+
167
+ ```ts
168
+ AbstractDiviner.defaultConfigSchema
169
+ ```
170
+
171
+ ***
172
+
173
+ ### \_transforms
174
+
175
+ ```ts
176
+ protected _transforms:
177
+ | PayloadTransformer[]
178
+ | undefined;
179
+ ```
180
+
181
+ ***
182
+
183
+ ### allowRandomAccount
184
+
185
+ ```ts
186
+ readonly static allowRandomAccount: boolean;
187
+ ```
188
+
189
+ ### Inherited from
190
+
191
+ ```ts
192
+ AbstractDiviner.allowRandomAccount
193
+ ```
194
+
195
+ ***
196
+
197
+ ### defaultLogger
198
+
199
+ ```ts
200
+ static defaultLogger: Logger;
201
+ ```
202
+
203
+ ### Inherited from
204
+
205
+ ```ts
206
+ AbstractDiviner.defaultLogger
207
+ ```
208
+
209
+ ***
210
+
211
+ ### enableLazyLoad
212
+
213
+ ```ts
214
+ static enableLazyLoad: boolean;
215
+ ```
216
+
217
+ ### Inherited from
218
+
219
+ ```ts
220
+ AbstractDiviner.enableLazyLoad
221
+ ```
222
+
223
+ ***
224
+
225
+ ### labels
226
+
227
+ ```ts
228
+ readonly static labels: Labels;
229
+ ```
230
+
231
+ ### Inherited from
232
+
233
+ ```ts
234
+ AbstractDiviner.labels
235
+ ```
236
+
237
+ ***
238
+
239
+ ### privateConstructorKey
240
+
241
+ ```ts
242
+ protected static privateConstructorKey: string;
243
+ ```
244
+
245
+ ### Inherited from
246
+
247
+ ```ts
248
+ AbstractDiviner.privateConstructorKey
249
+ ```
250
+
251
+ ***
252
+
253
+ ### \_account
254
+
255
+ ```ts
256
+ protected _account: AccountInstance | undefined;
257
+ ```
258
+
259
+ ### Inherited from
260
+
261
+ ```ts
262
+ AbstractDiviner._account
263
+ ```
264
+
265
+ ***
266
+
267
+ ### \_cachedManifests
268
+
269
+ ```ts
270
+ protected _cachedManifests: LRUCache<number, ModuleManifestPayload, unknown>;
271
+ ```
272
+
273
+ ### Inherited from
274
+
275
+ ```ts
276
+ AbstractDiviner._cachedManifests
277
+ ```
278
+
279
+ ***
280
+
281
+ ### \_globalReentrancyMutex
282
+
283
+ ```ts
284
+ protected _globalReentrancyMutex: Mutex | undefined;
285
+ ```
286
+
287
+ ### Inherited from
288
+
289
+ ```ts
290
+ AbstractDiviner._globalReentrancyMutex
291
+ ```
292
+
293
+ ***
294
+
295
+ ### \_lastError?
296
+
297
+ ```ts
298
+ protected optional _lastError?: ModuleDetailsError;
299
+ ```
300
+
301
+ ### Inherited from
302
+
303
+ ```ts
304
+ AbstractDiviner._lastError
305
+ ```
306
+
307
+ ***
308
+
309
+ ### \_moduleConfigQueryValidator
310
+
311
+ ```ts
312
+ protected _moduleConfigQueryValidator: Queryable | undefined;
313
+ ```
314
+
315
+ ### Inherited from
316
+
317
+ ```ts
318
+ AbstractDiviner._moduleConfigQueryValidator
319
+ ```
320
+
321
+ ***
322
+
323
+ ### \_supportedQueryValidator
324
+
325
+ ```ts
326
+ protected _supportedQueryValidator: Queryable | undefined;
327
+ ```
328
+
329
+ ### Inherited from
330
+
331
+ ```ts
332
+ AbstractDiviner._supportedQueryValidator
333
+ ```
334
+
335
+ ***
336
+
337
+ ### useNewResolver
338
+
339
+ ```ts
340
+ readonly static useNewResolver: false = false;
341
+ ```
342
+
343
+ ### Inherited from
344
+
345
+ ```ts
346
+ AbstractDiviner.useNewResolver
347
+ ```
348
+
349
+ ## Accessors
350
+
351
+ ### queries
352
+
353
+ ### Get Signature
354
+
355
+ ```ts
356
+ get queries(): Schema[];
357
+ ```
358
+
359
+ #### Returns
360
+
361
+ `Schema`[]
362
+
363
+ ### Inherited from
364
+
365
+ ```ts
366
+ AbstractDiviner.queries
367
+ ```
368
+
369
+ ***
370
+
371
+ ### destinationSchema
372
+
373
+ ### Get Signature
374
+
375
+ ```ts
376
+ get protected destinationSchema(): Schema;
377
+ ```
378
+
379
+ The schema to use for the destination payloads
380
+
381
+ #### Returns
382
+
383
+ `Schema`
384
+
385
+ ***
386
+
387
+ ### transforms
388
+
389
+ ### Get Signature
390
+
391
+ ```ts
392
+ get protected transforms(): PayloadTransformer[];
393
+ ```
394
+
395
+ Dictionary of schemas to payload transformers for creating indexes
396
+ from the payloads within a Bound Witness
397
+
398
+ #### Returns
399
+
400
+ [`PayloadTransformer`](#../type-aliases/PayloadTransformer)[]
401
+
402
+ ***
403
+
404
+ ### account
405
+
406
+ ### Get Signature
407
+
408
+ ```ts
409
+ get account(): AccountInstance;
410
+ ```
411
+
412
+ #### Returns
413
+
414
+ `AccountInstance`
415
+
416
+ ### Inherited from
417
+
418
+ ```ts
419
+ AbstractDiviner.account
420
+ ```
421
+
422
+ ***
423
+
424
+ ### additionalSigners
425
+
426
+ ### Get Signature
427
+
428
+ ```ts
429
+ get additionalSigners(): AccountInstance[];
430
+ ```
431
+
432
+ #### Returns
433
+
434
+ `AccountInstance`[]
435
+
436
+ ### Inherited from
437
+
438
+ ```ts
439
+ AbstractDiviner.additionalSigners
440
+ ```
441
+
442
+ ***
443
+
444
+ ### address
445
+
446
+ ### Get Signature
447
+
448
+ ```ts
449
+ get address(): Lowercase<string> & object & object;
450
+ ```
451
+
452
+ #### Returns
453
+
454
+ `Lowercase`\<`string`\> & `object` & `object`
455
+
456
+ ### Inherited from
457
+
458
+ ```ts
459
+ AbstractDiviner.address
460
+ ```
461
+
462
+ ***
463
+
464
+ ### allowAnonymous
465
+
466
+ ### Get Signature
467
+
468
+ ```ts
469
+ get allowAnonymous(): boolean;
470
+ ```
471
+
472
+ #### Returns
473
+
474
+ `boolean`
475
+
476
+ ### Inherited from
477
+
478
+ ```ts
479
+ AbstractDiviner.allowAnonymous
480
+ ```
481
+
482
+ ***
483
+
484
+ ### allowNameResolution
485
+
486
+ ### Get Signature
487
+
488
+ ```ts
489
+ get allowNameResolution(): boolean;
490
+ ```
491
+
492
+ #### Returns
493
+
494
+ `boolean`
495
+
496
+ ### Inherited from
497
+
498
+ ```ts
499
+ AbstractDiviner.allowNameResolution
500
+ ```
501
+
502
+ ***
503
+
504
+ ### archiving
505
+
506
+ ### Get Signature
507
+
508
+ ```ts
509
+ get archiving():
510
+ | {
511
+ archivists?: ModuleIdentifier[];
512
+ queries?: Schema[];
513
+ }
514
+ | undefined;
515
+ ```
516
+
517
+ #### Returns
518
+
519
+ \| \{
520
+ `archivists?`: `ModuleIdentifier`[];
521
+ `queries?`: `Schema`[];
522
+ \}
523
+ \| `undefined`
524
+
525
+ ### Inherited from
526
+
527
+ ```ts
528
+ AbstractDiviner.archiving
529
+ ```
530
+
531
+ ***
532
+
533
+ ### archivist
534
+
535
+ ### Get Signature
536
+
537
+ ```ts
538
+ get archivist(): ModuleIdentifier | undefined;
539
+ ```
540
+
541
+ #### Returns
542
+
543
+ `ModuleIdentifier` \| `undefined`
544
+
545
+ ### Inherited from
546
+
547
+ ```ts
548
+ AbstractDiviner.archivist
549
+ ```
550
+
551
+ ***
552
+
553
+ ### config
554
+
555
+ ### Get Signature
556
+
557
+ ```ts
558
+ get config(): TParams["config"] & object;
559
+ ```
560
+
561
+ #### Returns
562
+
563
+ `TParams`\[`"config"`\] & `object`
564
+
565
+ ### Inherited from
566
+
567
+ ```ts
568
+ AbstractDiviner.config
569
+ ```
570
+
571
+ ***
572
+
573
+ ### dead
574
+
575
+ ### Get Signature
576
+
577
+ ```ts
578
+ get dead(): boolean;
579
+ ```
580
+
581
+ #### Returns
582
+
583
+ `boolean`
584
+
585
+ ### Inherited from
586
+
587
+ ```ts
588
+ AbstractDiviner.dead
589
+ ```
590
+
591
+ ***
592
+
593
+ ### ephemeralQueryAccountEnabled
594
+
595
+ ### Get Signature
596
+
597
+ ```ts
598
+ get ephemeralQueryAccountEnabled(): boolean;
599
+ ```
600
+
601
+ #### Returns
602
+
603
+ `boolean`
604
+
605
+ ### Inherited from
606
+
607
+ ```ts
608
+ AbstractDiviner.ephemeralQueryAccountEnabled
609
+ ```
610
+
611
+ ***
612
+
613
+ ### globalReentrancyMutex
614
+
615
+ ### Get Signature
616
+
617
+ ```ts
618
+ get globalReentrancyMutex(): Mutex | undefined;
619
+ ```
620
+
621
+ #### Returns
622
+
623
+ `Mutex` \| `undefined`
624
+
625
+ ### Inherited from
626
+
627
+ ```ts
628
+ AbstractDiviner.globalReentrancyMutex
629
+ ```
630
+
631
+ ***
632
+
633
+ ### id
634
+
635
+ ### Get Signature
636
+
637
+ ```ts
638
+ get id(): string;
639
+ ```
640
+
641
+ The name (if specified) or address of the module
642
+
643
+ #### Returns
644
+
645
+ `string`
646
+
647
+ ### Inherited from
648
+
649
+ ```ts
650
+ AbstractDiviner.id
651
+ ```
652
+
653
+ ***
654
+
655
+ ### logger
656
+
657
+ ### Get Signature
658
+
659
+ ```ts
660
+ get logger(): Logger | undefined;
661
+ ```
662
+
663
+ #### Returns
664
+
665
+ `Logger` \| `undefined`
666
+
667
+ ### Inherited from
668
+
669
+ ```ts
670
+ AbstractDiviner.logger
671
+ ```
672
+
673
+ ***
674
+
675
+ ### priority
676
+
677
+ ### Get Signature
678
+
679
+ ```ts
680
+ get priority(): 2;
681
+ ```
682
+
683
+ #### Returns
684
+
685
+ `2`
686
+
687
+ ### Inherited from
688
+
689
+ ```ts
690
+ AbstractDiviner.priority
691
+ ```
692
+
693
+ ***
694
+
695
+ ### reentrancy
696
+
697
+ ### Get Signature
698
+
699
+ ```ts
700
+ get reentrancy():
701
+ | {
702
+ action: "skip" | "wait";
703
+ scope: "global";
704
+ }
705
+ | undefined;
706
+ ```
707
+
708
+ #### Returns
709
+
710
+ \| \{
711
+ `action`: `"skip"` \| `"wait"`;
712
+ `scope`: `"global"`;
713
+ \}
714
+ \| `undefined`
715
+
716
+ ### Inherited from
717
+
718
+ ```ts
719
+ AbstractDiviner.reentrancy
720
+ ```
721
+
722
+ ***
723
+
724
+ ### statusReporter
725
+
726
+ ### Get Signature
727
+
728
+ ```ts
729
+ get statusReporter():
730
+ | ModuleStatusReporter & CreatableStatusReporter<void>
731
+ | undefined;
732
+ ```
733
+
734
+ The status reporter used to broadcast lifecycle changes.
735
+
736
+ #### Returns
737
+
738
+ \| `ModuleStatusReporter` & `CreatableStatusReporter`\<`void`\>
739
+ \| `undefined`
740
+
741
+ ### Inherited from
742
+
743
+ ```ts
744
+ AbstractDiviner.statusReporter
745
+ ```
746
+
747
+ ***
748
+
749
+ ### timestamp
750
+
751
+ ### Get Signature
752
+
753
+ ```ts
754
+ get timestamp(): boolean;
755
+ ```
756
+
757
+ #### Returns
758
+
759
+ `boolean`
760
+
761
+ ### Inherited from
762
+
763
+ ```ts
764
+ AbstractDiviner.timestamp
765
+ ```
766
+
767
+ ***
768
+
769
+ ### moduleConfigQueryValidator
770
+
771
+ ### Get Signature
772
+
773
+ ```ts
774
+ get protected moduleConfigQueryValidator(): Queryable;
775
+ ```
776
+
777
+ #### Returns
778
+
779
+ `Queryable`
780
+
781
+ ### Inherited from
782
+
783
+ ```ts
784
+ AbstractDiviner.moduleConfigQueryValidator
785
+ ```
786
+
787
+ ***
788
+
789
+ ### supportedQueryValidator
790
+
791
+ ### Get Signature
792
+
793
+ ```ts
794
+ get protected supportedQueryValidator(): Queryable;
795
+ ```
796
+
797
+ #### Returns
798
+
799
+ `Queryable`
800
+
801
+ ### Inherited from
802
+
803
+ ```ts
804
+ AbstractDiviner.supportedQueryValidator
805
+ ```
806
+
807
+ ***
808
+
809
+ ### downResolver
810
+
811
+ ### Get Signature
812
+
813
+ ```ts
814
+ get downResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
815
+ ```
816
+
817
+ #### Returns
818
+
819
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
820
+
821
+ ### Inherited from
822
+
823
+ ```ts
824
+ AbstractDiviner.downResolver
825
+ ```
826
+
827
+ ***
828
+
829
+ ### modName
830
+
831
+ ### Get Signature
832
+
833
+ ```ts
834
+ get modName(): string | undefined;
835
+ ```
836
+
837
+ #### Returns
838
+
839
+ `string` \| `undefined`
840
+
841
+ ### Inherited from
842
+
843
+ ```ts
844
+ AbstractDiviner.modName
845
+ ```
846
+
847
+ ***
848
+
849
+ ### moduleIdentifierTransformers
850
+
851
+ ### Get Signature
852
+
853
+ ```ts
854
+ get moduleIdentifierTransformers(): ModuleIdentifierTransformer[];
855
+ ```
856
+
857
+ #### Returns
858
+
859
+ `ModuleIdentifierTransformer`[]
860
+
861
+ ### Inherited from
862
+
863
+ ```ts
864
+ AbstractDiviner.moduleIdentifierTransformers
865
+ ```
866
+
867
+ ***
868
+
869
+ ### privateResolver
870
+
871
+ ### Get Signature
872
+
873
+ ```ts
874
+ get privateResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
875
+ ```
876
+
877
+ #### Returns
878
+
879
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
880
+
881
+ ### Inherited from
882
+
883
+ ```ts
884
+ AbstractDiviner.privateResolver
885
+ ```
886
+
887
+ ***
888
+
889
+ ### root
890
+
891
+ ### Get Signature
892
+
893
+ ```ts
894
+ get root(): this;
895
+ ```
896
+
897
+ #### Returns
898
+
899
+ `this`
900
+
901
+ ### Inherited from
902
+
903
+ ```ts
904
+ AbstractDiviner.root
905
+ ```
906
+
907
+ ***
908
+
909
+ ### timeBudget
910
+
911
+ ### Get Signature
912
+
913
+ ```ts
914
+ get timeBudget(): number | undefined;
915
+ ```
916
+
917
+ #### Returns
918
+
919
+ `number` \| `undefined`
920
+
921
+ ### Inherited from
922
+
923
+ ```ts
924
+ AbstractDiviner.timeBudget
925
+ ```
926
+
927
+ ***
928
+
929
+ ### upResolver
930
+
931
+ ### Get Signature
932
+
933
+ ```ts
934
+ get upResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
935
+ ```
936
+
937
+ #### Returns
938
+
939
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
940
+
941
+ ### Inherited from
942
+
943
+ ```ts
944
+ AbstractDiviner.upResolver
945
+ ```
946
+
947
+ ## Methods
948
+
949
+ ### divine()
950
+
951
+ ```ts
952
+ divine(payloads?, retryConfigIn?): Promise<DivinerDivineResult<TOut>[]>;
953
+ ```
954
+
955
+ **`Function`**
956
+
957
+ divine The main entry point for a diviner. Do not override this function. Implement/override divineHandler for custom functionality
958
+
959
+ ### Parameters
960
+
961
+ #### payloads?
962
+
963
+ `TIn`[]
964
+
965
+ #### retryConfigIn?
966
+
967
+ `RetryConfigWithComplete`\<`unknown`\>
968
+
969
+ ### Returns
970
+
971
+ `Promise`\<`DivinerDivineResult`\<`TOut`\>[]\>
972
+
973
+ ### Inherited from
974
+
975
+ ```ts
976
+ AbstractDiviner.divine
977
+ ```
978
+
979
+ ***
980
+
981
+ ### divineQuery()
982
+
983
+ ```ts
984
+ divineQuery(
985
+ payloads?,
986
+ account?,
987
+ _retry?): Promise<ModuleQueryResult<TOut>>;
988
+ ```
989
+
990
+ ### Parameters
991
+
992
+ #### payloads?
993
+
994
+ `TIn`[]
995
+
996
+ #### account?
997
+
998
+ `AccountInstance`
999
+
1000
+ #### \_retry?
1001
+
1002
+ `RetryConfig`
1003
+
1004
+ ### Returns
1005
+
1006
+ `Promise`\<`ModuleQueryResult`\<`TOut`\>\>
1007
+
1008
+ ### Inherited from
1009
+
1010
+ ```ts
1011
+ AbstractDiviner.divineQuery
1012
+ ```
1013
+
1014
+ ***
1015
+
1016
+ ### queryHandler()
1017
+
1018
+ ```ts
1019
+ protected queryHandler<T, TConfig>(
1020
+ query,
1021
+ payloads?,
1022
+ queryConfig?): Promise<ModuleQueryHandlerResult>;
1023
+ ```
1024
+
1025
+ **`Function`**
1026
+
1027
+ queryHandler Calls divine for a divine query. Override to support additional queries.
1028
+
1029
+ ### Type Parameters
1030
+
1031
+ #### T
1032
+
1033
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1034
+
1035
+ #### TConfig
1036
+
1037
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1038
+
1039
+ ### Parameters
1040
+
1041
+ #### query
1042
+
1043
+ `T`
1044
+
1045
+ #### payloads?
1046
+
1047
+ `Payload`[]
1048
+
1049
+ #### queryConfig?
1050
+
1051
+ `TConfig`
1052
+
1053
+ ### Returns
1054
+
1055
+ `Promise`\<`ModuleQueryHandlerResult`\>
1056
+
1057
+ ### Inherited from
1058
+
1059
+ ```ts
1060
+ AbstractDiviner.queryHandler
1061
+ ```
1062
+
1063
+ ***
1064
+
1065
+ ### startHandler()
1066
+
1067
+ ```ts
1068
+ protected startHandler(): Promise<void>;
1069
+ ```
1070
+
1071
+ ### Returns
1072
+
1073
+ `Promise`\<`void`\>
1074
+
1075
+ ### Inherited from
1076
+
1077
+ ```ts
1078
+ AbstractDiviner.startHandler
1079
+ ```
1080
+
1081
+ ***
1082
+
1083
+ ### stopHandler()
1084
+
1085
+ ```ts
1086
+ protected stopHandler(): Promise<void>;
1087
+ ```
1088
+
1089
+ ### Returns
1090
+
1091
+ `Promise`\<`void`\>
1092
+
1093
+ ### Inherited from
1094
+
1095
+ ```ts
1096
+ AbstractDiviner.stopHandler
1097
+ ```
1098
+
1099
+ ***
1100
+
1101
+ ### divineHandler()
1102
+
1103
+ ```ts
1104
+ protected divineHandler(payloads?): Promise<TOut[]>;
1105
+ ```
1106
+
1107
+ **`Function`**
1108
+
1109
+ divineHandler Implement or override to add custom functionality to a diviner
1110
+
1111
+ ### Parameters
1112
+
1113
+ #### payloads?
1114
+
1115
+ `TIn`[]
1116
+
1117
+ ### Returns
1118
+
1119
+ `Promise`\<`TOut`[]\>
1120
+
1121
+ ### Overrides
1122
+
1123
+ ```ts
1124
+ AbstractDiviner.divineHandler
1125
+ ```
1126
+
1127
+ ***
1128
+
1129
+ ### \_getRootFunction()
1130
+
1131
+ ```ts
1132
+ static _getRootFunction(funcName): any;
1133
+ ```
1134
+
1135
+ ### Parameters
1136
+
1137
+ #### funcName
1138
+
1139
+ `string`
1140
+
1141
+ ### Returns
1142
+
1143
+ `any`
1144
+
1145
+ ### Inherited from
1146
+
1147
+ ```ts
1148
+ AbstractDiviner._getRootFunction
1149
+ ```
1150
+
1151
+ ***
1152
+
1153
+ ### \_noOverride()
1154
+
1155
+ ```ts
1156
+ static _noOverride(functionName): void;
1157
+ ```
1158
+
1159
+ ### Parameters
1160
+
1161
+ #### functionName
1162
+
1163
+ `string`
1164
+
1165
+ ### Returns
1166
+
1167
+ `void`
1168
+
1169
+ ### Inherited from
1170
+
1171
+ ```ts
1172
+ AbstractDiviner._noOverride
1173
+ ```
1174
+
1175
+ ***
1176
+
1177
+ ### createHandler()
1178
+
1179
+ ```ts
1180
+ static createHandler<T>(inInstance): Promise<T & AbstractModule<any, any>>;
1181
+ ```
1182
+
1183
+ Static hook called during creation to perform additional initialization.
1184
+ Override in subclasses to customize post-construction setup.
1185
+
1186
+ ### Type Parameters
1187
+
1188
+ #### T
1189
+
1190
+ `T` *extends* `CreatableInstance`\<`CreatableParams`, `EventData`\>
1191
+
1192
+ ### Parameters
1193
+
1194
+ #### inInstance
1195
+
1196
+ `T`
1197
+
1198
+ ### Returns
1199
+
1200
+ `Promise`\<`T` & `AbstractModule`\<`any`, `any`\>\>
1201
+
1202
+ The instance, potentially modified
1203
+
1204
+ ### Inherited from
1205
+
1206
+ ```ts
1207
+ AbstractDiviner.createHandler
1208
+ ```
1209
+
1210
+ ***
1211
+
1212
+ ### determineAccount()
1213
+
1214
+ ```ts
1215
+ static determineAccount(params): Promise<AccountInstance>;
1216
+ ```
1217
+
1218
+ ### Parameters
1219
+
1220
+ #### params
1221
+
1222
+ ##### account?
1223
+
1224
+ `AccountInstance` \| `"random"`
1225
+
1226
+ ##### accountPath?
1227
+
1228
+ `string`
1229
+
1230
+ ##### wallet?
1231
+
1232
+ `WalletInstance`
1233
+
1234
+ ### Returns
1235
+
1236
+ `Promise`\<`AccountInstance`\>
1237
+
1238
+ ### Inherited from
1239
+
1240
+ ```ts
1241
+ AbstractDiviner.determineAccount
1242
+ ```
1243
+
1244
+ ***
1245
+
1246
+ ### factory()
1247
+
1248
+ ```ts
1249
+ static factory<TModule>(this, params?): CreatableModuleFactory<TModule>;
1250
+ ```
1251
+
1252
+ ### Type Parameters
1253
+
1254
+ #### TModule
1255
+
1256
+ `TModule` *extends* `CreatableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1257
+
1258
+ ### Parameters
1259
+
1260
+ #### this
1261
+
1262
+ `CreatableModule`\<`TModule`\>
1263
+
1264
+ #### params?
1265
+
1266
+ `Partial`\<`TModule`\[`"params"`\]\>
1267
+
1268
+ ### Returns
1269
+
1270
+ `CreatableModuleFactory`\<`TModule`\>
1271
+
1272
+ ### Inherited from
1273
+
1274
+ ```ts
1275
+ AbstractDiviner.factory
1276
+ ```
1277
+
1278
+ ***
1279
+
1280
+ ### isAllowedSchema()
1281
+
1282
+ ```ts
1283
+ static isAllowedSchema(schema): boolean;
1284
+ ```
1285
+
1286
+ ### Parameters
1287
+
1288
+ #### schema
1289
+
1290
+ `Schema`
1291
+
1292
+ ### Returns
1293
+
1294
+ `boolean`
1295
+
1296
+ ### Inherited from
1297
+
1298
+ ```ts
1299
+ AbstractDiviner.isAllowedSchema
1300
+ ```
1301
+
1302
+ ***
1303
+
1304
+ ### paramsHandler()
1305
+
1306
+ ```ts
1307
+ static paramsHandler<T>(inParams?): Promise<T["params"]>;
1308
+ ```
1309
+
1310
+ Static hook called during creation to validate and transform params.
1311
+ Override in subclasses to add default values or validation.
1312
+
1313
+ ### Type Parameters
1314
+
1315
+ #### T
1316
+
1317
+ `T` *extends* `AttachableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1318
+
1319
+ ### Parameters
1320
+
1321
+ #### inParams?
1322
+
1323
+ `Partial`\<`T`\[`"params"`\]\>
1324
+
1325
+ ### Returns
1326
+
1327
+ `Promise`\<`T`\[`"params"`\]\>
1328
+
1329
+ The processed params ready for construction
1330
+
1331
+ ### Inherited from
1332
+
1333
+ ```ts
1334
+ AbstractDiviner.paramsHandler
1335
+ ```
1336
+
1337
+ ***
1338
+
1339
+ ### \_getRootFunction()
1340
+
1341
+ ```ts
1342
+ _getRootFunction(funcName): any;
1343
+ ```
1344
+
1345
+ ### Parameters
1346
+
1347
+ #### funcName
1348
+
1349
+ `string`
1350
+
1351
+ ### Returns
1352
+
1353
+ `any`
1354
+
1355
+ ### Inherited from
1356
+
1357
+ ```ts
1358
+ AbstractDiviner._getRootFunction
1359
+ ```
1360
+
1361
+ ***
1362
+
1363
+ ### busy()
1364
+
1365
+ ```ts
1366
+ busy<R>(closure): Promise<R>;
1367
+ ```
1368
+
1369
+ ### Type Parameters
1370
+
1371
+ #### R
1372
+
1373
+ `R`
1374
+
1375
+ ### Parameters
1376
+
1377
+ #### closure
1378
+
1379
+ () => `Promise`\<`R`\>
1380
+
1381
+ ### Returns
1382
+
1383
+ `Promise`\<`R`\>
1384
+
1385
+ ### Inherited from
1386
+
1387
+ ```ts
1388
+ AbstractDiviner.busy
1389
+ ```
1390
+
1391
+ ***
1392
+
1393
+ ### emit()
1394
+
1395
+ ```ts
1396
+ emit<TEventName, TEventArgs>(eventName, eventArgs): Promise<void>;
1397
+ ```
1398
+
1399
+ Emits an event, invoking all registered listeners concurrently.
1400
+
1401
+ ### Type Parameters
1402
+
1403
+ #### TEventName
1404
+
1405
+ `TEventName` *extends* `string` \| `number` \| `symbol` = keyof `TEventData`
1406
+
1407
+ #### TEventArgs
1408
+
1409
+ `TEventArgs` *extends* `EventArgs` = `TEventData`\[`TEventName`\]
1410
+
1411
+ ### Parameters
1412
+
1413
+ #### eventName
1414
+
1415
+ `TEventName`
1416
+
1417
+ The event to emit.
1418
+
1419
+ #### eventArgs
1420
+
1421
+ `TEventArgs`
1422
+
1423
+ The data to pass to listeners.
1424
+
1425
+ ### Returns
1426
+
1427
+ `Promise`\<`void`\>
1428
+
1429
+ ### Inherited from
1430
+
1431
+ ```ts
1432
+ AbstractDiviner.emit
1433
+ ```
1434
+
1435
+ ***
1436
+
1437
+ ### isSupportedQuery()
1438
+
1439
+ ```ts
1440
+ isSupportedQuery(query, assert?): boolean;
1441
+ ```
1442
+
1443
+ ### Parameters
1444
+
1445
+ #### query
1446
+
1447
+ `Schema`
1448
+
1449
+ #### assert?
1450
+
1451
+ `string` \| `boolean`
1452
+
1453
+ ### Returns
1454
+
1455
+ `boolean`
1456
+
1457
+ ### Inherited from
1458
+
1459
+ ```ts
1460
+ AbstractDiviner.isSupportedQuery
1461
+ ```
1462
+
1463
+ ***
1464
+
1465
+ ### previousHash()
1466
+
1467
+ ```ts
1468
+ previousHash(): Promisable<string | undefined>;
1469
+ ```
1470
+
1471
+ ### Returns
1472
+
1473
+ `Promisable`\<`string` \| `undefined`\>
1474
+
1475
+ ### Inherited from
1476
+
1477
+ ```ts
1478
+ AbstractDiviner.previousHash
1479
+ ```
1480
+
1481
+ ***
1482
+
1483
+ ### query()
1484
+
1485
+ ```ts
1486
+ query<T, TConfig>(
1487
+ query,
1488
+ payloads?,
1489
+ queryConfig?): Promise<ModuleQueryResult>;
1490
+ ```
1491
+
1492
+ ### Type Parameters
1493
+
1494
+ #### T
1495
+
1496
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1497
+
1498
+ #### TConfig
1499
+
1500
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1501
+
1502
+ ### Parameters
1503
+
1504
+ #### query
1505
+
1506
+ `T`
1507
+
1508
+ #### payloads?
1509
+
1510
+ `Payload`[]
1511
+
1512
+ #### queryConfig?
1513
+
1514
+ `TConfig`
1515
+
1516
+ ### Returns
1517
+
1518
+ `Promise`\<`ModuleQueryResult`\>
1519
+
1520
+ ### Inherited from
1521
+
1522
+ ```ts
1523
+ AbstractDiviner.query
1524
+ ```
1525
+
1526
+ ***
1527
+
1528
+ ### queryable()
1529
+
1530
+ ```ts
1531
+ queryable<T, TConfig>(
1532
+ query,
1533
+ payloads?,
1534
+ queryConfig?): Promise<boolean>;
1535
+ ```
1536
+
1537
+ ### Type Parameters
1538
+
1539
+ #### T
1540
+
1541
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1542
+
1543
+ #### TConfig
1544
+
1545
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1546
+
1547
+ ### Parameters
1548
+
1549
+ #### query
1550
+
1551
+ `T`
1552
+
1553
+ #### payloads?
1554
+
1555
+ `Payload`[]
1556
+
1557
+ #### queryConfig?
1558
+
1559
+ `TConfig`
1560
+
1561
+ ### Returns
1562
+
1563
+ `Promise`\<`boolean`\>
1564
+
1565
+ ### Inherited from
1566
+
1567
+ ```ts
1568
+ AbstractDiviner.queryable
1569
+ ```
1570
+
1571
+ ***
1572
+
1573
+ ### \_checkDead()
1574
+
1575
+ ```ts
1576
+ protected _checkDead(): void;
1577
+ ```
1578
+
1579
+ ### Returns
1580
+
1581
+ `void`
1582
+
1583
+ ### Inherited from
1584
+
1585
+ ```ts
1586
+ AbstractDiviner._checkDead
1587
+ ```
1588
+
1589
+ ***
1590
+
1591
+ ### archivistInstance()
1592
+
1593
+ ### Call Signature
1594
+
1595
+ ```ts
1596
+ protected archivistInstance(): Promise<
1597
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
1598
+ | undefined>;
1599
+ ```
1600
+
1601
+ #### Returns
1602
+
1603
+ `Promise`\<
1604
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
1605
+ \| `undefined`\>
1606
+
1607
+ #### Inherited from
1608
+
1609
+ ```ts
1610
+ AbstractDiviner.archivistInstance
1611
+ ```
1612
+
1613
+ ### Call Signature
1614
+
1615
+ ```ts
1616
+ protected archivistInstance(required): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>>;
1617
+ ```
1618
+
1619
+ #### Parameters
1620
+
1621
+ ##### required
1622
+
1623
+ `true`
1624
+
1625
+ #### Returns
1626
+
1627
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>\>
1628
+
1629
+ #### Inherited from
1630
+
1631
+ ```ts
1632
+ AbstractDiviner.archivistInstance
1633
+ ```
1634
+
1635
+ ***
1636
+
1637
+ ### bindHashes()
1638
+
1639
+ ```ts
1640
+ protected bindHashes(
1641
+ hashes,
1642
+ schema,
1643
+ account?): PromiseEx<unknown, AccountInstance>;
1644
+ ```
1645
+
1646
+ ### Parameters
1647
+
1648
+ #### hashes
1649
+
1650
+ `BrandedHash`[]
1651
+
1652
+ #### schema
1653
+
1654
+ `Schema`[]
1655
+
1656
+ #### account?
1657
+
1658
+ `AccountInstance`
1659
+
1660
+ ### Returns
1661
+
1662
+ `PromiseEx`\<`unknown`, `AccountInstance`\>
1663
+
1664
+ ### Inherited from
1665
+
1666
+ ```ts
1667
+ AbstractDiviner.bindHashes
1668
+ ```
1669
+
1670
+ ***
1671
+
1672
+ ### bindHashesInternal()
1673
+
1674
+ ```ts
1675
+ protected bindHashesInternal(
1676
+ hashes,
1677
+ schema,
1678
+ account?): Promise<{
1679
+ schema: "network.xyo.boundwitness" & object;
1680
+ addresses: Lowercase<string> & object & object[];
1681
+ payload_hashes: BrandedHash[];
1682
+ payload_schemas: BrandedSchema<string>[];
1683
+ previous_hashes: (BrandedHash | null)[];
1684
+ $destination?: Lowercase<string> & object & object;
1685
+ $sourceQuery?: BrandedHash;
1686
+ $signatures: (BrandedHex | null)[];
1687
+ }>;
1688
+ ```
1689
+
1690
+ ### Parameters
1691
+
1692
+ #### hashes
1693
+
1694
+ `BrandedHash`[]
1695
+
1696
+ #### schema
1697
+
1698
+ `Schema`[]
1699
+
1700
+ #### account?
1701
+
1702
+ `AccountInstance`
1703
+
1704
+ ### Returns
1705
+
1706
+ `Promise`\<\{
1707
+ `schema`: `"network.xyo.boundwitness"` & `object`;
1708
+ `addresses`: `Lowercase`\<`string`\> & `object` & `object`[];
1709
+ `payload_hashes`: `BrandedHash`[];
1710
+ `payload_schemas`: `BrandedSchema`\<`string`\>[];
1711
+ `previous_hashes`: (`BrandedHash` \| `null`)[];
1712
+ `$destination?`: `Lowercase`\<`string`\> & `object` & `object`;
1713
+ `$sourceQuery?`: `BrandedHash`;
1714
+ `$signatures`: (`BrandedHex` \| `null`)[];
1715
+ \}\>
1716
+
1717
+ ### Inherited from
1718
+
1719
+ ```ts
1720
+ AbstractDiviner.bindHashesInternal
1721
+ ```
1722
+
1723
+ ***
1724
+
1725
+ ### bindQuery()
1726
+
1727
+ ```ts
1728
+ protected bindQuery<T>(
1729
+ query,
1730
+ payloads?,
1731
+ account?,
1732
+ additionalSigners?): PromiseEx<[UnsignedQueryBoundWitness, Payload[], Payload[]], AccountInstance>;
1733
+ ```
1734
+
1735
+ ### Type Parameters
1736
+
1737
+ #### T
1738
+
1739
+ `T` *extends* `Query`
1740
+
1741
+ ### Parameters
1742
+
1743
+ #### query
1744
+
1745
+ `T`
1746
+
1747
+ #### payloads?
1748
+
1749
+ `Payload`[]
1750
+
1751
+ #### account?
1752
+
1753
+ `AccountInstance`
1754
+
1755
+ #### additionalSigners?
1756
+
1757
+ `AccountInstance`[]
1758
+
1759
+ ### Returns
1760
+
1761
+ `PromiseEx`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\], `AccountInstance`\>
1762
+
1763
+ ### Inherited from
1764
+
1765
+ ```ts
1766
+ AbstractDiviner.bindQuery
1767
+ ```
1768
+
1769
+ ***
1770
+
1771
+ ### bindQueryInternal()
1772
+
1773
+ ```ts
1774
+ protected bindQueryInternal<T>(
1775
+ query,
1776
+ payloads?,
1777
+ account?,
1778
+ additionalSigners?): Promise<[UnsignedQueryBoundWitness, Payload[], Payload[]]>;
1779
+ ```
1780
+
1781
+ ### Type Parameters
1782
+
1783
+ #### T
1784
+
1785
+ `T` *extends* `Query`
1786
+
1787
+ ### Parameters
1788
+
1789
+ #### query
1790
+
1791
+ `T`
1792
+
1793
+ #### payloads?
1794
+
1795
+ `Payload`[]
1796
+
1797
+ #### account?
1798
+
1799
+ `AccountInstance`
1800
+
1801
+ #### additionalSigners?
1802
+
1803
+ `AccountInstance`[]
1804
+
1805
+ ### Returns
1806
+
1807
+ `Promise`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\]\>
1808
+
1809
+ ### Inherited from
1810
+
1811
+ ```ts
1812
+ AbstractDiviner.bindQueryInternal
1813
+ ```
1814
+
1815
+ ***
1816
+
1817
+ ### bindQueryResult()
1818
+
1819
+ ```ts
1820
+ protected bindQueryResult<T>(
1821
+ query,
1822
+ payloads,
1823
+ additionalWitnesses?,
1824
+ errors?): Promise<ModuleQueryResult>;
1825
+ ```
1826
+
1827
+ ### Type Parameters
1828
+
1829
+ #### T
1830
+
1831
+ `T` *extends* `Query`
1832
+
1833
+ ### Parameters
1834
+
1835
+ #### query
1836
+
1837
+ `T`
1838
+
1839
+ #### payloads
1840
+
1841
+ `Payload`[]
1842
+
1843
+ #### additionalWitnesses?
1844
+
1845
+ `AccountInstance`[]
1846
+
1847
+ #### errors?
1848
+
1849
+ `ModuleError`[]
1850
+
1851
+ ### Returns
1852
+
1853
+ `Promise`\<`ModuleQueryResult`\>
1854
+
1855
+ ### Inherited from
1856
+
1857
+ ```ts
1858
+ AbstractDiviner.bindQueryResult
1859
+ ```
1860
+
1861
+ ***
1862
+
1863
+ ### generateConfigAndAddress()
1864
+
1865
+ ```ts
1866
+ protected generateConfigAndAddress(_maxDepth?): Promisable<Payload[]>;
1867
+ ```
1868
+
1869
+ ### Parameters
1870
+
1871
+ #### \_maxDepth?
1872
+
1873
+ `number`
1874
+
1875
+ ### Returns
1876
+
1877
+ `Promisable`\<`Payload`[]\>
1878
+
1879
+ ### Inherited from
1880
+
1881
+ ```ts
1882
+ AbstractDiviner.generateConfigAndAddress
1883
+ ```
1884
+
1885
+ ***
1886
+
1887
+ ### generateDescribe()
1888
+
1889
+ ```ts
1890
+ protected generateDescribe(): Promise<ModuleDescriptionPayload>;
1891
+ ```
1892
+
1893
+ ### Returns
1894
+
1895
+ `Promise`\<`ModuleDescriptionPayload`\>
1896
+
1897
+ ### Inherited from
1898
+
1899
+ ```ts
1900
+ AbstractDiviner.generateDescribe
1901
+ ```
1902
+
1903
+ ***
1904
+
1905
+ ### ~~getArchivist()~~
1906
+
1907
+ ```ts
1908
+ protected getArchivist(): Promise<
1909
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
1910
+ | undefined>;
1911
+ ```
1912
+
1913
+ ### Returns
1914
+
1915
+ `Promise`\<
1916
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
1917
+ \| `undefined`\>
1918
+
1919
+ ### Deprecated
1920
+
1921
+ use archivistInstance() instead
1922
+
1923
+ ### Inherited from
1924
+
1925
+ ```ts
1926
+ AbstractDiviner.getArchivist
1927
+ ```
1928
+
1929
+ ***
1930
+
1931
+ ### isAllowedArchivingQuery()
1932
+
1933
+ ```ts
1934
+ protected isAllowedArchivingQuery(schema): boolean;
1935
+ ```
1936
+
1937
+ ### Parameters
1938
+
1939
+ #### schema
1940
+
1941
+ `Schema`
1942
+
1943
+ ### Returns
1944
+
1945
+ `boolean`
1946
+
1947
+ ### Inherited from
1948
+
1949
+ ```ts
1950
+ AbstractDiviner.isAllowedArchivingQuery
1951
+ ```
1952
+
1953
+ ***
1954
+
1955
+ ### moduleAddressHandler()
1956
+
1957
+ ```ts
1958
+ protected moduleAddressHandler(): Promisable<(AddressPayload | AddressPreviousHashPayload)[]>;
1959
+ ```
1960
+
1961
+ ### Returns
1962
+
1963
+ `Promisable`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
1964
+
1965
+ ### Inherited from
1966
+
1967
+ ```ts
1968
+ AbstractDiviner.moduleAddressHandler
1969
+ ```
1970
+
1971
+ ***
1972
+
1973
+ ### stateHandler()
1974
+
1975
+ ```ts
1976
+ protected stateHandler(): Promise<Payload[]>;
1977
+ ```
1978
+
1979
+ ### Returns
1980
+
1981
+ `Promise`\<`Payload`[]\>
1982
+
1983
+ ### Inherited from
1984
+
1985
+ ```ts
1986
+ AbstractDiviner.stateHandler
1987
+ ```
1988
+
1989
+ ***
1990
+
1991
+ ### subscribeHandler()
1992
+
1993
+ ```ts
1994
+ protected subscribeHandler(): void;
1995
+ ```
1996
+
1997
+ ### Returns
1998
+
1999
+ `void`
2000
+
2001
+ ### Inherited from
2002
+
2003
+ ```ts
2004
+ AbstractDiviner.subscribeHandler
2005
+ ```
2006
+
2007
+ ***
2008
+
2009
+ ### validateConfig()
2010
+
2011
+ ```ts
2012
+ protected validateConfig(config?, parents?): boolean;
2013
+ ```
2014
+
2015
+ ### Parameters
2016
+
2017
+ #### config?
2018
+
2019
+ `unknown`
2020
+
2021
+ #### parents?
2022
+
2023
+ `string`[]
2024
+
2025
+ ### Returns
2026
+
2027
+ `boolean`
2028
+
2029
+ ### Inherited from
2030
+
2031
+ ```ts
2032
+ AbstractDiviner.validateConfig
2033
+ ```
2034
+
2035
+ ***
2036
+
2037
+ ### addParent()
2038
+
2039
+ ```ts
2040
+ addParent(mod): void;
2041
+ ```
2042
+
2043
+ ### Parameters
2044
+
2045
+ #### mod
2046
+
2047
+ `ModuleInstance`
2048
+
2049
+ ### Returns
2050
+
2051
+ `void`
2052
+
2053
+ ### Inherited from
2054
+
2055
+ ```ts
2056
+ AbstractDiviner.addParent
2057
+ ```
2058
+
2059
+ ***
2060
+
2061
+ ### certifyParents()
2062
+
2063
+ ```ts
2064
+ certifyParents(): Promise<Payload[]>;
2065
+ ```
2066
+
2067
+ ### Returns
2068
+
2069
+ `Promise`\<`Payload`[]\>
2070
+
2071
+ ### Inherited from
2072
+
2073
+ ```ts
2074
+ AbstractDiviner.certifyParents
2075
+ ```
2076
+
2077
+ ***
2078
+
2079
+ ### createHandler()
2080
+
2081
+ ```ts
2082
+ createHandler(): Promise<void>;
2083
+ ```
2084
+
2085
+ ### Returns
2086
+
2087
+ `Promise`\<`void`\>
2088
+
2089
+ ### Inherited from
2090
+
2091
+ ```ts
2092
+ AbstractDiviner.createHandler
2093
+ ```
2094
+
2095
+ ***
2096
+
2097
+ ### manifest()
2098
+
2099
+ ```ts
2100
+ manifest(maxDepth?): Promise<ModuleManifestPayload>;
2101
+ ```
2102
+
2103
+ ### Parameters
2104
+
2105
+ #### maxDepth?
2106
+
2107
+ `number`
2108
+
2109
+ ### Returns
2110
+
2111
+ `Promise`\<`ModuleManifestPayload`\>
2112
+
2113
+ ### Inherited from
2114
+
2115
+ ```ts
2116
+ AbstractDiviner.manifest
2117
+ ```
2118
+
2119
+ ***
2120
+
2121
+ ### manifestQuery()
2122
+
2123
+ ```ts
2124
+ manifestQuery(account, maxDepth?): Promise<ModuleQueryResult<ModuleManifestPayload>>;
2125
+ ```
2126
+
2127
+ ### Parameters
2128
+
2129
+ #### account
2130
+
2131
+ `AccountInstance`
2132
+
2133
+ #### maxDepth?
2134
+
2135
+ `number`
2136
+
2137
+ ### Returns
2138
+
2139
+ `Promise`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
2140
+
2141
+ ### Inherited from
2142
+
2143
+ ```ts
2144
+ AbstractDiviner.manifestQuery
2145
+ ```
2146
+
2147
+ ***
2148
+
2149
+ ### moduleAddress()
2150
+
2151
+ ```ts
2152
+ moduleAddress(): Promise<(AddressPayload | AddressPreviousHashPayload)[]>;
2153
+ ```
2154
+
2155
+ ### Returns
2156
+
2157
+ `Promise`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
2158
+
2159
+ ### Inherited from
2160
+
2161
+ ```ts
2162
+ AbstractDiviner.moduleAddress
2163
+ ```
2164
+
2165
+ ***
2166
+
2167
+ ### parents()
2168
+
2169
+ ```ts
2170
+ parents(): Promisable<NodeInstance<NodeParams<AnyConfigSchema<NodeConfig>>, NodeModuleEventData>[]>;
2171
+ ```
2172
+
2173
+ ### Returns
2174
+
2175
+ `Promisable`\<`NodeInstance`\<`NodeParams`\<`AnyConfigSchema`\<`NodeConfig`\>\>, `NodeModuleEventData`\>[]\>
2176
+
2177
+ ### Inherited from
2178
+
2179
+ ```ts
2180
+ AbstractDiviner.parents
2181
+ ```
2182
+
2183
+ ***
2184
+
2185
+ ### privateChildren()
2186
+
2187
+ ```ts
2188
+ privateChildren(): Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2189
+ ```
2190
+
2191
+ ### Returns
2192
+
2193
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2194
+
2195
+ ### Inherited from
2196
+
2197
+ ```ts
2198
+ AbstractDiviner.privateChildren
2199
+ ```
2200
+
2201
+ ***
2202
+
2203
+ ### publicChildren()
2204
+
2205
+ ```ts
2206
+ publicChildren(): Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2207
+ ```
2208
+
2209
+ ### Returns
2210
+
2211
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2212
+
2213
+ ### Inherited from
2214
+
2215
+ ```ts
2216
+ AbstractDiviner.publicChildren
2217
+ ```
2218
+
2219
+ ***
2220
+
2221
+ ### removeParent()
2222
+
2223
+ ```ts
2224
+ removeParent(address): void;
2225
+ ```
2226
+
2227
+ ### Parameters
2228
+
2229
+ #### address
2230
+
2231
+ `BrandedAddress`
2232
+
2233
+ ### Returns
2234
+
2235
+ `void`
2236
+
2237
+ ### Inherited from
2238
+
2239
+ ```ts
2240
+ AbstractDiviner.removeParent
2241
+ ```
2242
+
2243
+ ***
2244
+
2245
+ ### resolve()
2246
+
2247
+ ### Call Signature
2248
+
2249
+ ```ts
2250
+ resolve(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2251
+ ```
2252
+
2253
+ #### Returns
2254
+
2255
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2256
+
2257
+ #### Inherited from
2258
+
2259
+ ```ts
2260
+ AbstractDiviner.resolve
2261
+ ```
2262
+
2263
+ ### Call Signature
2264
+
2265
+ ```ts
2266
+ resolve<T>(all, options?): Promise<T[]>;
2267
+ ```
2268
+
2269
+ #### Type Parameters
2270
+
2271
+ ##### T
2272
+
2273
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2274
+
2275
+ #### Parameters
2276
+
2277
+ ##### all
2278
+
2279
+ `"*"`
2280
+
2281
+ ##### options?
2282
+
2283
+ `ModuleFilterOptions`\<`T`\>
2284
+
2285
+ #### Returns
2286
+
2287
+ `Promise`\<`T`[]\>
2288
+
2289
+ #### Inherited from
2290
+
2291
+ ```ts
2292
+ AbstractDiviner.resolve
2293
+ ```
2294
+
2295
+ ### Call Signature
2296
+
2297
+ ```ts
2298
+ resolve<T>(id, options?): Promise<T | undefined>;
2299
+ ```
2300
+
2301
+ #### Type Parameters
2302
+
2303
+ ##### T
2304
+
2305
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2306
+
2307
+ #### Parameters
2308
+
2309
+ ##### id
2310
+
2311
+ `ModuleIdentifier`
2312
+
2313
+ ##### options?
2314
+
2315
+ `ModuleFilterOptions`\<`T`\>
2316
+
2317
+ #### Returns
2318
+
2319
+ `Promise`\<`T` \| `undefined`\>
2320
+
2321
+ #### Inherited from
2322
+
2323
+ ```ts
2324
+ AbstractDiviner.resolve
2325
+ ```
2326
+
2327
+ ***
2328
+
2329
+ ### resolveIdentifier()
2330
+
2331
+ ```ts
2332
+ resolveIdentifier(id, options?): Promise<BrandedAddress | undefined>;
2333
+ ```
2334
+
2335
+ ### Parameters
2336
+
2337
+ #### id
2338
+
2339
+ `ModuleIdentifier`
2340
+
2341
+ #### options?
2342
+
2343
+ `ObjectFilterOptions`\<`AnyObject`\>
2344
+
2345
+ ### Returns
2346
+
2347
+ `Promise`\<`BrandedAddress` \| `undefined`\>
2348
+
2349
+ ### Inherited from
2350
+
2351
+ ```ts
2352
+ AbstractDiviner.resolveIdentifier
2353
+ ```
2354
+
2355
+ ***
2356
+
2357
+ ### resolvePrivate()
2358
+
2359
+ ### Call Signature
2360
+
2361
+ ```ts
2362
+ resolvePrivate<T>(all, options?): Promise<T[]>;
2363
+ ```
2364
+
2365
+ #### Type Parameters
2366
+
2367
+ ##### T
2368
+
2369
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2370
+
2371
+ #### Parameters
2372
+
2373
+ ##### all
2374
+
2375
+ `"*"`
2376
+
2377
+ ##### options?
2378
+
2379
+ `ModuleFilterOptions`\<`T`\>
2380
+
2381
+ #### Returns
2382
+
2383
+ `Promise`\<`T`[]\>
2384
+
2385
+ #### Inherited from
2386
+
2387
+ ```ts
2388
+ AbstractDiviner.resolvePrivate
2389
+ ```
2390
+
2391
+ ### Call Signature
2392
+
2393
+ ```ts
2394
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
2395
+ ```
2396
+
2397
+ #### Type Parameters
2398
+
2399
+ ##### T
2400
+
2401
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2402
+
2403
+ #### Parameters
2404
+
2405
+ ##### id
2406
+
2407
+ `ModuleIdentifier`
2408
+
2409
+ ##### options?
2410
+
2411
+ `ModuleFilterOptions`\<`T`\>
2412
+
2413
+ #### Returns
2414
+
2415
+ `Promise`\<`T` \| `undefined`\>
2416
+
2417
+ #### Inherited from
2418
+
2419
+ ```ts
2420
+ AbstractDiviner.resolvePrivate
2421
+ ```
2422
+
2423
+ ***
2424
+
2425
+ ### siblings()
2426
+
2427
+ ```ts
2428
+ siblings(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2429
+ ```
2430
+
2431
+ ### Returns
2432
+
2433
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2434
+
2435
+ ### Inherited from
2436
+
2437
+ ```ts
2438
+ AbstractDiviner.siblings
2439
+ ```
2440
+
2441
+ ***
2442
+
2443
+ ### state()
2444
+
2445
+ ```ts
2446
+ state(): Promise<Payload[]>;
2447
+ ```
2448
+
2449
+ ### Returns
2450
+
2451
+ `Promise`\<`Payload`[]\>
2452
+
2453
+ ### Inherited from
2454
+
2455
+ ```ts
2456
+ AbstractDiviner.state
2457
+ ```
2458
+
2459
+ ***
2460
+
2461
+ ### stateQuery()
2462
+
2463
+ ```ts
2464
+ stateQuery(account): Promise<ModuleQueryResult>;
2465
+ ```
2466
+
2467
+ ### Parameters
2468
+
2469
+ #### account
2470
+
2471
+ `AccountInstance`
2472
+
2473
+ ### Returns
2474
+
2475
+ `Promise`\<`ModuleQueryResult`\>
2476
+
2477
+ ### Inherited from
2478
+
2479
+ ```ts
2480
+ AbstractDiviner.stateQuery
2481
+ ```
2482
+
2483
+ ***
2484
+
2485
+ ### subscribe()
2486
+
2487
+ ```ts
2488
+ subscribe(_queryAccount?): void;
2489
+ ```
2490
+
2491
+ ### Parameters
2492
+
2493
+ #### \_queryAccount?
2494
+
2495
+ `AccountInstance`
2496
+
2497
+ ### Returns
2498
+
2499
+ `void`
2500
+
2501
+ ### Inherited from
2502
+
2503
+ ```ts
2504
+ AbstractDiviner.subscribe
2505
+ ```
2506
+
2507
+ ***
2508
+
2509
+ ### manifestHandler()
2510
+
2511
+ ```ts
2512
+ protected manifestHandler(maxDepth?, _ignoreAddresses?): Promise<ModuleManifestPayload>;
2513
+ ```
2514
+
2515
+ ### Parameters
2516
+
2517
+ #### maxDepth?
2518
+
2519
+ `number`
2520
+
2521
+ #### \_ignoreAddresses?
2522
+
2523
+ `BrandedAddress`[]
2524
+
2525
+ ### Returns
2526
+
2527
+ `Promise`\<`ModuleManifestPayload`\>
2528
+
2529
+ ### Inherited from
2530
+
2531
+ ```ts
2532
+ AbstractDiviner.manifestHandler
2533
+ ```
2534
+
2535
+ ***
2536
+
2537
+ ### resolveArchivingArchivists()
2538
+
2539
+ ```ts
2540
+ protected resolveArchivingArchivists(): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>[]>;
2541
+ ```
2542
+
2543
+ ### Returns
2544
+
2545
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>[]\>
2546
+
2547
+ ### Inherited from
2548
+
2549
+ ```ts
2550
+ AbstractDiviner.resolveArchivingArchivists
2551
+ ```
2552
+
2553
+ ***
2554
+
2555
+ ### sendQuery()
2556
+
2557
+ ```ts
2558
+ protected sendQuery<T, P, R>(
2559
+ queryPayload,
2560
+ payloads?,
2561
+ account?): Promise<R[]>;
2562
+ ```
2563
+
2564
+ ### Type Parameters
2565
+
2566
+ #### T
2567
+
2568
+ `T` *extends* `Query`
2569
+
2570
+ #### P
2571
+
2572
+ `P` *extends* `Payload` = `Payload`
2573
+
2574
+ #### R
2575
+
2576
+ `R` *extends* `Payload` = `Payload`
2577
+
2578
+ ### Parameters
2579
+
2580
+ #### queryPayload
2581
+
2582
+ `T`
2583
+
2584
+ #### payloads?
2585
+
2586
+ `P`[]
2587
+
2588
+ #### account?
2589
+
2590
+ `AccountInstance`
2591
+
2592
+ ### Returns
2593
+
2594
+ `Promise`\<`R`[]\>
2595
+
2596
+ ### Inherited from
2597
+
2598
+ ```ts
2599
+ AbstractDiviner.sendQuery
2600
+ ```
2601
+
2602
+ ***
2603
+
2604
+ ### sendQueryRaw()
2605
+
2606
+ ```ts
2607
+ protected sendQueryRaw<T, P, R>(
2608
+ queryPayload,
2609
+ payloads?,
2610
+ account?): Promise<ModuleQueryResult<R>>;
2611
+ ```
2612
+
2613
+ ### Type Parameters
2614
+
2615
+ #### T
2616
+
2617
+ `T` *extends* `Query`
2618
+
2619
+ #### P
2620
+
2621
+ `P` *extends* `Payload` = `Payload`
2622
+
2623
+ #### R
2624
+
2625
+ `R` *extends* `Payload` = `Payload`
2626
+
2627
+ ### Parameters
2628
+
2629
+ #### queryPayload
2630
+
2631
+ `T`
2632
+
2633
+ #### payloads?
2634
+
2635
+ `P`[]
2636
+
2637
+ #### account?
2638
+
2639
+ `AccountInstance`
2640
+
2641
+ ### Returns
2642
+
2643
+ `Promise`\<`ModuleQueryResult`\<`R`\>\>
2644
+
2645
+ ### Inherited from
2646
+
2647
+ ```ts
2648
+ AbstractDiviner.sendQueryRaw
2649
+ ```
2650
+
2651
+ ***
2652
+
2653
+ ### storeToArchivists()
2654
+
2655
+ ```ts
2656
+ protected storeToArchivists(payloads): Promise<Payload[]>;
2657
+ ```
2658
+
2659
+ ### Parameters
2660
+
2661
+ #### payloads
2662
+
2663
+ `Payload`[]
2664
+
2665
+ ### Returns
2666
+
2667
+ `Promise`\<`Payload`[]\>
2668
+
2669
+ ### Inherited from
2670
+
2671
+ ```ts
2672
+ AbstractDiviner.storeToArchivists
2673
+ ```
2674
+
2675
+ ### interfaces
2676
+
2677
+ ### <a id="JsonPathTransformExpression"></a>JsonPathTransformExpression
2678
+
2679
+ [**@xyo-network/diviner-jsonpath**](#../README)
2680
+
2681
+ ***
2682
+
2683
+ Describes the JSON-path transformation to retrieve a field on a source object
2684
+ and the target field to store the value to on a destination object
2685
+
2686
+ ## Properties
2687
+
2688
+ ### defaultValue?
2689
+
2690
+ ```ts
2691
+ optional defaultValue?: unknown;
2692
+ ```
2693
+
2694
+ The default value to use if the source field does not exist
2695
+
2696
+ ***
2697
+
2698
+ ### destinationField
2699
+
2700
+ ```ts
2701
+ destinationField: string;
2702
+ ```
2703
+
2704
+ The target field to store the source field into on the destination object
2705
+
2706
+ ***
2707
+
2708
+ ### sourcePathExpression
2709
+
2710
+ ```ts
2711
+ sourcePathExpression: string;
2712
+ ```
2713
+
2714
+ The JSON path expressions for the source field on the source object
2715
+
2716
+ ### type-aliases
2717
+
2718
+ ### <a id="JsonPathDivinerConfig"></a>JsonPathDivinerConfig
2719
+
2720
+ [**@xyo-network/diviner-jsonpath**](#../README)
2721
+
2722
+ ***
2723
+
2724
+ ```ts
2725
+ type JsonPathDivinerConfig = DivinerConfig<object & object>;
2726
+ ```
2727
+
2728
+ The configuration for the JSON Path diviner
2729
+
2730
+ ### <a id="JsonPathDivinerConfigSchema"></a>JsonPathDivinerConfigSchema
2731
+
2732
+ [**@xyo-network/diviner-jsonpath**](#../README)
2733
+
2734
+ ***
2735
+
2736
+ ```ts
2737
+ type JsonPathDivinerConfigSchema = typeof JsonPathDivinerConfigSchema;
2738
+ ```
2739
+
2740
+ The config schema type for the JSON Path diviner
2741
+
2742
+ ### <a id="JsonPathDivinerParams"></a>JsonPathDivinerParams
2743
+
2744
+ [**@xyo-network/diviner-jsonpath**](#../README)
2745
+
2746
+ ***
2747
+
2748
+ ```ts
2749
+ type JsonPathDivinerParams = DivinerParams<AnyConfigSchema<JsonPathDivinerConfig>>;
2750
+ ```
2751
+
2752
+ The params type the JSON Path diviner
2753
+
2754
+ ### <a id="JsonPathDivinerSchema"></a>JsonPathDivinerSchema
2755
+
2756
+ [**@xyo-network/diviner-jsonpath**](#../README)
2757
+
2758
+ ***
2759
+
2760
+ ```ts
2761
+ type JsonPathDivinerSchema = typeof JsonPathDivinerSchema;
2762
+ ```
2763
+
2764
+ The schema type used for the JSONPath Diviner.
2765
+
2766
+ ### <a id="PayloadTransformer"></a>PayloadTransformer
2767
+
2768
+ [**@xyo-network/diviner-jsonpath**](#../README)
2769
+
2770
+ ***
2771
+
2772
+ ```ts
2773
+ type PayloadTransformer = (x) => Partial<Payload>;
2774
+ ```
2775
+
2776
+ ## Parameters
2777
+
2778
+ ### x
2779
+
2780
+ `Payload`
2781
+
2782
+ ## Returns
2783
+
2784
+ `Partial`\<`Payload`\>
2785
+
2786
+ ### <a id="SchemaToJsonPathTransformExpressionsDictionary"></a>SchemaToJsonPathTransformExpressionsDictionary
2787
+
2788
+ [**@xyo-network/diviner-jsonpath**](#../README)
2789
+
2790
+ ***
2791
+
2792
+ ```ts
2793
+ type SchemaToJsonPathTransformExpressionsDictionary<T> = { [key in keyof T]: JsonPathTransformExpression[] };
2794
+ ```
2795
+
2796
+ A dictionary of schema to JSON Path transform expressions.
2797
+
2798
+ ## Type Parameters
2799
+
2800
+ ### T
2801
+
2802
+ `T` *extends* `object` = \{
2803
+ \[`schema`: `Schema`\]: `unknown`;
2804
+ \}
2805
+
2806
+ ### <a id="SchemaToPayloadTransformersDictionary"></a>SchemaToPayloadTransformersDictionary
2807
+
2808
+ [**@xyo-network/diviner-jsonpath**](#../README)
2809
+
2810
+ ***
2811
+
2812
+ ```ts
2813
+ type SchemaToPayloadTransformersDictionary = object;
2814
+ ```
2815
+
2816
+ A dictionary of schema to payload transformers
2817
+
2818
+ ## Index Signature
2819
+
2820
+ ```ts
2821
+ [schema: string]: PayloadTransformer[]
2822
+ ```
2823
+
2824
+ ### variables
2825
+
2826
+ ### <a id="JsonPathDivinerConfigSchema"></a>JsonPathDivinerConfigSchema
2827
+
2828
+ [**@xyo-network/diviner-jsonpath**](#../README)
2829
+
2830
+ ***
2831
+
2832
+ ```ts
2833
+ const JsonPathDivinerConfigSchema: string & object;
2834
+ ```
2835
+
2836
+ The config schema for the JSON Path diviner
2837
+
2838
+ ## Type Declaration
2839
+
2840
+ ### \_\_schema
2841
+
2842
+ ```ts
2843
+ readonly __schema: true;
2844
+ ```
2845
+
2846
+ ### <a id="JsonPathDivinerSchema"></a>JsonPathDivinerSchema
2847
+
2848
+ [**@xyo-network/diviner-jsonpath**](#../README)
2849
+
2850
+ ***
2851
+
2852
+ ```ts
2853
+ const JsonPathDivinerSchema: "network.xyo.diviner.jsonpath" & object;
2854
+ ```
2855
+
2856
+ The schema used for the JSONPath Diviner.
2857
+
2858
+ ## Type Declaration
2859
+
2860
+ ### \_\_schema
2861
+
2862
+ ```ts
2863
+ readonly __schema: true;
2864
+ ```
2865
+
2866
+ ### <a id="toPayloadTransformer"></a>toPayloadTransformer
2867
+
2868
+ [**@xyo-network/diviner-jsonpath**](#../README)
2869
+
2870
+ ***
2871
+
2872
+ ```ts
2873
+ const toPayloadTransformer: (transformExpression) => PayloadTransformer;
2874
+ ```
2875
+
2876
+ Converts a JSON Path transform expression to a payload transformer
2877
+
2878
+ ## Parameters
2879
+
2880
+ ### transformExpression
2881
+
2882
+ [`JsonPathTransformExpression`](#../interfaces/JsonPathTransformExpression)
2883
+
2884
+ The transform expression to convert
2885
+
2886
+ ## Returns
2887
+
2888
+ [`PayloadTransformer`](#../type-aliases/PayloadTransformer)
18
2889
 
19
- ## Credits
2890
+ The payload transformer for the JSON Path transform expression
20
2891
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
2892
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
2893
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
2894
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/diviner-jsonpath.svg
2895
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/diviner-jsonpath
2896
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/diviner-jsonpath.svg
2897
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE