@xyo-network/archivist-cookie 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 +3611 -10
  2. package/package.json +21 -21
package/README.md CHANGED
@@ -1,23 +1,3624 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/archivist-cookie
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__archivist-cookie)
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
+ ### archivist
50
+
51
+ ### packages
52
+
53
+ ### cookie
54
+
55
+ ### .temp-typedoc
56
+
57
+ ### classes
58
+
59
+ ### <a id="CookieArchivist"></a>CookieArchivist
60
+
61
+ [**@xyo-network/archivist-cookie**](#../README)
62
+
63
+ ***
64
+
65
+ ## Extends
66
+
67
+ - `AbstractArchivist`\<`TParams`, `TEventData`\>
68
+
69
+ ## Type Parameters
70
+
71
+ ### TParams
72
+
73
+ `TParams` *extends* [`CookieArchivistParams`](#../type-aliases/CookieArchivistParams) = [`CookieArchivistParams`](#../type-aliases/CookieArchivistParams)
74
+
75
+ ### TEventData
76
+
77
+ `TEventData` *extends* `ArchivistModuleEventData` = `ArchivistModuleEventData`
78
+
79
+ ## Constructors
80
+
81
+ ### Constructor
82
+
83
+ ```ts
84
+ new CookieArchivist<TParams, TEventData>(key, params): CookieArchivist<TParams, TEventData>;
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ #### key
90
+
91
+ `unknown`
92
+
93
+ #### params
94
+
95
+ `Partial`\<`TParams` & `RequiredCreatableParams`\>
96
+
97
+ ### Returns
98
+
99
+ `CookieArchivist`\<`TParams`, `TEventData`\>
100
+
101
+ ### Inherited from
102
+
103
+ ```ts
104
+ AbstractArchivist<TParams, TEventData>.constructor
105
+ ```
106
+
107
+ ## Properties
108
+
109
+ ### uniqueName
110
+
111
+ ```ts
112
+ readonly static uniqueName: string;
113
+ ```
114
+
115
+ ### Inherited from
116
+
117
+ ```ts
118
+ AbstractArchivist.uniqueName
119
+ ```
120
+
121
+ ***
122
+
123
+ ### defaultNextLimitSetting
124
+
125
+ ```ts
126
+ protected static defaultNextLimitSetting: number;
127
+ ```
128
+
129
+ ### Inherited from
130
+
131
+ ```ts
132
+ AbstractArchivist.defaultNextLimitSetting
133
+ ```
134
+
135
+ ***
136
+
137
+ ### configSchemas
138
+
139
+ ```ts
140
+ readonly static configSchemas: Schema[];
141
+ ```
142
+
143
+ ### Overrides
144
+
145
+ ```ts
146
+ AbstractArchivist.configSchemas
147
+ ```
148
+
149
+ ***
150
+
151
+ ### defaultConfigSchema
152
+
153
+ ```ts
154
+ readonly static defaultConfigSchema: Schema = CookieArchivistConfigSchema;
155
+ ```
156
+
157
+ ### Overrides
158
+
159
+ ```ts
160
+ AbstractArchivist.defaultConfigSchema
161
+ ```
162
+
163
+ ***
164
+
165
+ ### labels
166
+
167
+ ```ts
168
+ readonly static labels: object;
169
+ ```
170
+
171
+ #### network.xyo.storage.class
172
+
173
+ ```ts
174
+ network.xyo.storage.class: string = 'disk';
175
+ ```
176
+
177
+ ### Overrides
178
+
179
+ ```ts
180
+ AbstractArchivist.labels
181
+ ```
182
+
183
+ ***
184
+
185
+ ### allowRandomAccount
186
+
187
+ ```ts
188
+ readonly static allowRandomAccount: boolean;
189
+ ```
190
+
191
+ ### Inherited from
192
+
193
+ ```ts
194
+ AbstractArchivist.allowRandomAccount
195
+ ```
196
+
197
+ ***
198
+
199
+ ### defaultLogger
200
+
201
+ ```ts
202
+ static defaultLogger: Logger;
203
+ ```
204
+
205
+ ### Inherited from
206
+
207
+ ```ts
208
+ AbstractArchivist.defaultLogger
209
+ ```
210
+
211
+ ***
212
+
213
+ ### enableLazyLoad
214
+
215
+ ```ts
216
+ static enableLazyLoad: boolean;
217
+ ```
218
+
219
+ ### Inherited from
220
+
221
+ ```ts
222
+ AbstractArchivist.enableLazyLoad
223
+ ```
224
+
225
+ ***
226
+
227
+ ### privateConstructorKey
228
+
229
+ ```ts
230
+ protected static privateConstructorKey: string;
231
+ ```
232
+
233
+ ### Inherited from
234
+
235
+ ```ts
236
+ AbstractArchivist.privateConstructorKey
237
+ ```
238
+
239
+ ***
240
+
241
+ ### \_account
242
+
243
+ ```ts
244
+ protected _account: AccountInstance | undefined;
245
+ ```
246
+
247
+ ### Inherited from
248
+
249
+ ```ts
250
+ AbstractArchivist._account
251
+ ```
252
+
253
+ ***
254
+
255
+ ### \_cachedManifests
256
+
257
+ ```ts
258
+ protected _cachedManifests: LRUCache<number, ModuleManifestPayload, unknown>;
259
+ ```
260
+
261
+ ### Inherited from
262
+
263
+ ```ts
264
+ AbstractArchivist._cachedManifests
265
+ ```
266
+
267
+ ***
268
+
269
+ ### \_globalReentrancyMutex
270
+
271
+ ```ts
272
+ protected _globalReentrancyMutex: Mutex | undefined;
273
+ ```
274
+
275
+ ### Inherited from
276
+
277
+ ```ts
278
+ AbstractArchivist._globalReentrancyMutex
279
+ ```
280
+
281
+ ***
282
+
283
+ ### \_lastError?
284
+
285
+ ```ts
286
+ protected optional _lastError?: ModuleDetailsError;
287
+ ```
288
+
289
+ ### Inherited from
290
+
291
+ ```ts
292
+ AbstractArchivist._lastError
293
+ ```
294
+
295
+ ***
296
+
297
+ ### \_moduleConfigQueryValidator
298
+
299
+ ```ts
300
+ protected _moduleConfigQueryValidator: Queryable | undefined;
301
+ ```
302
+
303
+ ### Inherited from
304
+
305
+ ```ts
306
+ AbstractArchivist._moduleConfigQueryValidator
307
+ ```
308
+
309
+ ***
310
+
311
+ ### \_supportedQueryValidator
312
+
313
+ ```ts
314
+ protected _supportedQueryValidator: Queryable | undefined;
315
+ ```
316
+
317
+ ### Inherited from
318
+
319
+ ```ts
320
+ AbstractArchivist._supportedQueryValidator
321
+ ```
322
+
323
+ ***
324
+
325
+ ### useNewResolver
326
+
327
+ ```ts
328
+ readonly static useNewResolver: false = false;
329
+ ```
330
+
331
+ ### Inherited from
332
+
333
+ ```ts
334
+ AbstractArchivist.useNewResolver
335
+ ```
336
+
337
+ ## Accessors
338
+
339
+ ### defaultNextLimit
340
+
341
+ ### Get Signature
342
+
343
+ ```ts
344
+ get static defaultNextLimit(): number;
345
+ ```
346
+
347
+ #### Returns
348
+
349
+ `number`
350
+
351
+ ### Inherited from
352
+
353
+ ```ts
354
+ AbstractArchivist.defaultNextLimit
355
+ ```
356
+
357
+ ***
358
+
359
+ ### requireAllParents
360
+
361
+ ### Get Signature
362
+
363
+ ```ts
364
+ get requireAllParents(): boolean;
365
+ ```
366
+
367
+ #### Returns
368
+
369
+ `boolean`
370
+
371
+ ### Inherited from
372
+
373
+ ```ts
374
+ AbstractArchivist.requireAllParents
375
+ ```
376
+
377
+ ***
378
+
379
+ ### payloadCountGauge
380
+
381
+ ### Get Signature
382
+
383
+ ```ts
384
+ get protected payloadCountGauge(): Gauge<Attributes> | null | undefined;
385
+ ```
386
+
387
+ #### Returns
388
+
389
+ `Gauge`\<`Attributes`\> \| `null` \| `undefined`
390
+
391
+ ### Inherited from
392
+
393
+ ```ts
394
+ AbstractArchivist.payloadCountGauge
395
+ ```
396
+
397
+ ***
398
+
399
+ ### payloadCountMeter
400
+
401
+ ### Get Signature
402
+
403
+ ```ts
404
+ get protected payloadCountMeter(): Meter | null;
405
+ ```
406
+
407
+ #### Returns
408
+
409
+ `Meter` \| `null`
410
+
411
+ ### Inherited from
412
+
413
+ ```ts
414
+ AbstractArchivist.payloadCountMeter
415
+ ```
416
+
417
+ ***
418
+
419
+ ### storeParentReads
420
+
421
+ ### Get Signature
422
+
423
+ ```ts
424
+ get protected storeParentReads(): boolean;
425
+ ```
426
+
427
+ #### Returns
428
+
429
+ `boolean`
430
+
431
+ ### Inherited from
432
+
433
+ ```ts
434
+ AbstractArchivist.storeParentReads
435
+ ```
436
+
437
+ ***
438
+
439
+ ### domain
440
+
441
+ ### Get Signature
442
+
443
+ ```ts
444
+ get domain(): string | undefined;
445
+ ```
446
+
447
+ #### Returns
448
+
449
+ `string` \| `undefined`
450
+
451
+ ***
452
+
453
+ ### maxEntries
454
+
455
+ ### Get Signature
456
+
457
+ ```ts
458
+ get maxEntries(): number;
459
+ ```
460
+
461
+ #### Returns
462
+
463
+ `number`
464
+
465
+ ***
466
+
467
+ ### maxEntrySize
468
+
469
+ ### Get Signature
470
+
471
+ ```ts
472
+ get maxEntrySize(): number;
473
+ ```
474
+
475
+ #### Returns
476
+
477
+ `number`
478
+
479
+ ***
480
+
481
+ ### namespace
482
+
483
+ ### Get Signature
484
+
485
+ ```ts
486
+ get namespace(): string;
487
+ ```
488
+
489
+ #### Returns
490
+
491
+ `string`
492
+
493
+ ***
494
+
495
+ ### queries
496
+
497
+ ### Get Signature
498
+
499
+ ```ts
500
+ get queries(): Schema[];
501
+ ```
502
+
503
+ #### Returns
504
+
505
+ `Schema`[]
506
+
507
+ ### Overrides
508
+
509
+ ```ts
510
+ AbstractArchivist.queries
511
+ ```
512
+
513
+ ***
514
+
515
+ ### account
516
+
517
+ ### Get Signature
518
+
519
+ ```ts
520
+ get account(): AccountInstance;
521
+ ```
522
+
523
+ #### Returns
524
+
525
+ `AccountInstance`
526
+
527
+ ### Inherited from
528
+
529
+ ```ts
530
+ AbstractArchivist.account
531
+ ```
532
+
533
+ ***
534
+
535
+ ### additionalSigners
536
+
537
+ ### Get Signature
538
+
539
+ ```ts
540
+ get additionalSigners(): AccountInstance[];
541
+ ```
542
+
543
+ #### Returns
544
+
545
+ `AccountInstance`[]
546
+
547
+ ### Inherited from
548
+
549
+ ```ts
550
+ AbstractArchivist.additionalSigners
551
+ ```
552
+
553
+ ***
554
+
555
+ ### address
556
+
557
+ ### Get Signature
558
+
559
+ ```ts
560
+ get address(): Lowercase<string> & object & object;
561
+ ```
562
+
563
+ #### Returns
564
+
565
+ `Lowercase`\<`string`\> & `object` & `object`
566
+
567
+ ### Inherited from
568
+
569
+ ```ts
570
+ AbstractArchivist.address
571
+ ```
572
+
573
+ ***
574
+
575
+ ### allowAnonymous
576
+
577
+ ### Get Signature
578
+
579
+ ```ts
580
+ get allowAnonymous(): boolean;
581
+ ```
582
+
583
+ #### Returns
584
+
585
+ `boolean`
586
+
587
+ ### Inherited from
588
+
589
+ ```ts
590
+ AbstractArchivist.allowAnonymous
591
+ ```
592
+
593
+ ***
594
+
595
+ ### allowNameResolution
596
+
597
+ ### Get Signature
598
+
599
+ ```ts
600
+ get allowNameResolution(): boolean;
601
+ ```
602
+
603
+ #### Returns
604
+
605
+ `boolean`
606
+
607
+ ### Inherited from
608
+
609
+ ```ts
610
+ AbstractArchivist.allowNameResolution
611
+ ```
612
+
613
+ ***
614
+
615
+ ### archiving
616
+
617
+ ### Get Signature
618
+
619
+ ```ts
620
+ get archiving():
621
+ | {
622
+ archivists?: ModuleIdentifier[];
623
+ queries?: Schema[];
624
+ }
625
+ | undefined;
626
+ ```
627
+
628
+ #### Returns
629
+
630
+ \| \{
631
+ `archivists?`: `ModuleIdentifier`[];
632
+ `queries?`: `Schema`[];
633
+ \}
634
+ \| `undefined`
635
+
636
+ ### Inherited from
637
+
638
+ ```ts
639
+ AbstractArchivist.archiving
640
+ ```
641
+
642
+ ***
643
+
644
+ ### archivist
645
+
646
+ ### Get Signature
647
+
648
+ ```ts
649
+ get archivist(): ModuleIdentifier | undefined;
650
+ ```
651
+
652
+ #### Returns
653
+
654
+ `ModuleIdentifier` \| `undefined`
655
+
656
+ ### Inherited from
657
+
658
+ ```ts
659
+ AbstractArchivist.archivist
660
+ ```
661
+
662
+ ***
663
+
664
+ ### config
665
+
666
+ ### Get Signature
667
+
668
+ ```ts
669
+ get config(): TParams["config"] & object;
670
+ ```
671
+
672
+ #### Returns
673
+
674
+ `TParams`\[`"config"`\] & `object`
675
+
676
+ ### Inherited from
677
+
678
+ ```ts
679
+ AbstractArchivist.config
680
+ ```
681
+
682
+ ***
683
+
684
+ ### dead
685
+
686
+ ### Get Signature
687
+
688
+ ```ts
689
+ get dead(): boolean;
690
+ ```
691
+
692
+ #### Returns
693
+
694
+ `boolean`
695
+
696
+ ### Inherited from
697
+
698
+ ```ts
699
+ AbstractArchivist.dead
700
+ ```
701
+
702
+ ***
703
+
704
+ ### ephemeralQueryAccountEnabled
705
+
706
+ ### Get Signature
707
+
708
+ ```ts
709
+ get ephemeralQueryAccountEnabled(): boolean;
710
+ ```
711
+
712
+ #### Returns
713
+
714
+ `boolean`
715
+
716
+ ### Inherited from
717
+
718
+ ```ts
719
+ AbstractArchivist.ephemeralQueryAccountEnabled
720
+ ```
721
+
722
+ ***
723
+
724
+ ### globalReentrancyMutex
725
+
726
+ ### Get Signature
727
+
728
+ ```ts
729
+ get globalReentrancyMutex(): Mutex | undefined;
730
+ ```
731
+
732
+ #### Returns
733
+
734
+ `Mutex` \| `undefined`
735
+
736
+ ### Inherited from
737
+
738
+ ```ts
739
+ AbstractArchivist.globalReentrancyMutex
740
+ ```
741
+
742
+ ***
743
+
744
+ ### id
745
+
746
+ ### Get Signature
747
+
748
+ ```ts
749
+ get id(): string;
750
+ ```
751
+
752
+ The name (if specified) or address of the module
753
+
754
+ #### Returns
755
+
756
+ `string`
757
+
758
+ ### Inherited from
759
+
760
+ ```ts
761
+ AbstractArchivist.id
762
+ ```
763
+
764
+ ***
765
+
766
+ ### logger
767
+
768
+ ### Get Signature
769
+
770
+ ```ts
771
+ get logger(): Logger | undefined;
772
+ ```
773
+
774
+ #### Returns
775
+
776
+ `Logger` \| `undefined`
777
+
778
+ ### Inherited from
779
+
780
+ ```ts
781
+ AbstractArchivist.logger
782
+ ```
783
+
784
+ ***
785
+
786
+ ### priority
787
+
788
+ ### Get Signature
789
+
790
+ ```ts
791
+ get priority(): 2;
792
+ ```
793
+
794
+ #### Returns
795
+
796
+ `2`
797
+
798
+ ### Inherited from
799
+
800
+ ```ts
801
+ AbstractArchivist.priority
802
+ ```
803
+
804
+ ***
805
+
806
+ ### reentrancy
807
+
808
+ ### Get Signature
809
+
810
+ ```ts
811
+ get reentrancy():
812
+ | {
813
+ action: "skip" | "wait";
814
+ scope: "global";
815
+ }
816
+ | undefined;
817
+ ```
818
+
819
+ #### Returns
820
+
821
+ \| \{
822
+ `action`: `"skip"` \| `"wait"`;
823
+ `scope`: `"global"`;
824
+ \}
825
+ \| `undefined`
826
+
827
+ ### Inherited from
828
+
829
+ ```ts
830
+ AbstractArchivist.reentrancy
831
+ ```
832
+
833
+ ***
834
+
835
+ ### statusReporter
836
+
837
+ ### Get Signature
838
+
839
+ ```ts
840
+ get statusReporter():
841
+ | ModuleStatusReporter & CreatableStatusReporter<void>
842
+ | undefined;
843
+ ```
844
+
845
+ The status reporter used to broadcast lifecycle changes.
846
+
847
+ #### Returns
848
+
849
+ \| `ModuleStatusReporter` & `CreatableStatusReporter`\<`void`\>
850
+ \| `undefined`
851
+
852
+ ### Inherited from
853
+
854
+ ```ts
855
+ AbstractArchivist.statusReporter
856
+ ```
857
+
858
+ ***
859
+
860
+ ### timestamp
861
+
862
+ ### Get Signature
863
+
864
+ ```ts
865
+ get timestamp(): boolean;
866
+ ```
867
+
868
+ #### Returns
869
+
870
+ `boolean`
871
+
872
+ ### Inherited from
873
+
874
+ ```ts
875
+ AbstractArchivist.timestamp
876
+ ```
877
+
878
+ ***
879
+
880
+ ### moduleConfigQueryValidator
881
+
882
+ ### Get Signature
883
+
884
+ ```ts
885
+ get protected moduleConfigQueryValidator(): Queryable;
886
+ ```
887
+
888
+ #### Returns
889
+
890
+ `Queryable`
891
+
892
+ ### Inherited from
893
+
894
+ ```ts
895
+ AbstractArchivist.moduleConfigQueryValidator
896
+ ```
897
+
898
+ ***
899
+
900
+ ### supportedQueryValidator
901
+
902
+ ### Get Signature
903
+
904
+ ```ts
905
+ get protected supportedQueryValidator(): Queryable;
906
+ ```
907
+
908
+ #### Returns
909
+
910
+ `Queryable`
911
+
912
+ ### Inherited from
913
+
914
+ ```ts
915
+ AbstractArchivist.supportedQueryValidator
916
+ ```
917
+
918
+ ***
919
+
920
+ ### downResolver
921
+
922
+ ### Get Signature
923
+
924
+ ```ts
925
+ get downResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
926
+ ```
927
+
928
+ #### Returns
929
+
930
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
931
+
932
+ ### Inherited from
933
+
934
+ ```ts
935
+ AbstractArchivist.downResolver
936
+ ```
937
+
938
+ ***
939
+
940
+ ### modName
941
+
942
+ ### Get Signature
943
+
944
+ ```ts
945
+ get modName(): string | undefined;
946
+ ```
947
+
948
+ #### Returns
949
+
950
+ `string` \| `undefined`
951
+
952
+ ### Inherited from
953
+
954
+ ```ts
955
+ AbstractArchivist.modName
956
+ ```
957
+
958
+ ***
959
+
960
+ ### moduleIdentifierTransformers
961
+
962
+ ### Get Signature
963
+
964
+ ```ts
965
+ get moduleIdentifierTransformers(): ModuleIdentifierTransformer[];
966
+ ```
967
+
968
+ #### Returns
969
+
970
+ `ModuleIdentifierTransformer`[]
971
+
972
+ ### Inherited from
973
+
974
+ ```ts
975
+ AbstractArchivist.moduleIdentifierTransformers
976
+ ```
977
+
978
+ ***
979
+
980
+ ### privateResolver
981
+
982
+ ### Get Signature
983
+
984
+ ```ts
985
+ get privateResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
986
+ ```
987
+
988
+ #### Returns
989
+
990
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
991
+
992
+ ### Inherited from
993
+
994
+ ```ts
995
+ AbstractArchivist.privateResolver
996
+ ```
997
+
998
+ ***
999
+
1000
+ ### root
1001
+
1002
+ ### Get Signature
1003
+
1004
+ ```ts
1005
+ get root(): this;
1006
+ ```
1007
+
1008
+ #### Returns
1009
+
1010
+ `this`
1011
+
1012
+ ### Inherited from
1013
+
1014
+ ```ts
1015
+ AbstractArchivist.root
1016
+ ```
1017
+
1018
+ ***
1019
+
1020
+ ### timeBudget
1021
+
1022
+ ### Get Signature
1023
+
1024
+ ```ts
1025
+ get timeBudget(): number | undefined;
1026
+ ```
1027
+
1028
+ #### Returns
1029
+
1030
+ `number` \| `undefined`
1031
+
1032
+ ### Inherited from
1033
+
1034
+ ```ts
1035
+ AbstractArchivist.timeBudget
1036
+ ```
1037
+
1038
+ ***
1039
+
1040
+ ### upResolver
1041
+
1042
+ ### Get Signature
1043
+
1044
+ ```ts
1045
+ get upResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
1046
+ ```
1047
+
1048
+ #### Returns
1049
+
1050
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
1051
+
1052
+ ### Inherited from
1053
+
1054
+ ```ts
1055
+ AbstractArchivist.upResolver
1056
+ ```
1057
+
1058
+ ## Methods
1059
+
1060
+ ### ~~all()~~
1061
+
1062
+ ```ts
1063
+ all(): Promise<WithStorageMeta<Payload>[]>;
1064
+ ```
1065
+
1066
+ ### Returns
1067
+
1068
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1069
+
1070
+ ### Deprecated
1071
+
1072
+ use next or snapshot instead
1073
+
1074
+ ### Inherited from
1075
+
1076
+ ```ts
1077
+ AbstractArchivist.all
1078
+ ```
1079
+
1080
+ ***
1081
+
1082
+ ### allQuery()
1083
+
1084
+ ```ts
1085
+ allQuery(account): Promise<ModuleQueryResult>;
1086
+ ```
1087
+
1088
+ deprecated use nextQuery or snapshotQuery instead
1089
+
1090
+ ### Parameters
1091
+
1092
+ #### account
1093
+
1094
+ `AccountInstance`
1095
+
1096
+ ### Returns
1097
+
1098
+ `Promise`\<`ModuleQueryResult`\>
1099
+
1100
+ ### Inherited from
1101
+
1102
+ ```ts
1103
+ AbstractArchivist.allQuery
1104
+ ```
1105
+
1106
+ ***
1107
+
1108
+ ### clear()
1109
+
1110
+ ```ts
1111
+ clear(): Promise<void>;
1112
+ ```
1113
+
1114
+ ### Returns
1115
+
1116
+ `Promise`\<`void`\>
1117
+
1118
+ ### Inherited from
1119
+
1120
+ ```ts
1121
+ AbstractArchivist.clear
1122
+ ```
1123
+
1124
+ ***
1125
+
1126
+ ### clearQuery()
1127
+
1128
+ ```ts
1129
+ clearQuery(account): Promise<ModuleQueryResult>;
1130
+ ```
1131
+
1132
+ ### Parameters
1133
+
1134
+ #### account
1135
+
1136
+ `AccountInstance`
1137
+
1138
+ ### Returns
1139
+
1140
+ `Promise`\<`ModuleQueryResult`\>
1141
+
1142
+ ### Inherited from
1143
+
1144
+ ```ts
1145
+ AbstractArchivist.clearQuery
1146
+ ```
1147
+
1148
+ ***
1149
+
1150
+ ### commit()
1151
+
1152
+ ```ts
1153
+ commit(): Promise<object[]>;
1154
+ ```
1155
+
1156
+ ### Returns
1157
+
1158
+ `Promise`\<`object`[]\>
1159
+
1160
+ ### Inherited from
1161
+
1162
+ ```ts
1163
+ AbstractArchivist.commit
1164
+ ```
1165
+
1166
+ ***
1167
+
1168
+ ### commitQuery()
1169
+
1170
+ ```ts
1171
+ commitQuery(account): Promise<ModuleQueryResult>;
1172
+ ```
1173
+
1174
+ ### Parameters
1175
+
1176
+ #### account
1177
+
1178
+ `AccountInstance`
1179
+
1180
+ ### Returns
1181
+
1182
+ `Promise`\<`ModuleQueryResult`\>
1183
+
1184
+ ### Inherited from
1185
+
1186
+ ```ts
1187
+ AbstractArchivist.commitQuery
1188
+ ```
1189
+
1190
+ ***
1191
+
1192
+ ### delete()
1193
+
1194
+ ```ts
1195
+ delete(hashes): Promise<WithStorageMeta<Payload>[]>;
1196
+ ```
1197
+
1198
+ ### Parameters
1199
+
1200
+ #### hashes
1201
+
1202
+ `BrandedHash`[]
1203
+
1204
+ ### Returns
1205
+
1206
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1207
+
1208
+ ### Inherited from
1209
+
1210
+ ```ts
1211
+ AbstractArchivist.delete
1212
+ ```
1213
+
1214
+ ***
1215
+
1216
+ ### deleteQuery()
1217
+
1218
+ ```ts
1219
+ deleteQuery(hashes, account?): Promise<ModuleQueryResult>;
1220
+ ```
1221
+
1222
+ ### Parameters
1223
+
1224
+ #### hashes
1225
+
1226
+ `BrandedHash`[]
1227
+
1228
+ #### account?
1229
+
1230
+ `AccountInstance`
1231
+
1232
+ ### Returns
1233
+
1234
+ `Promise`\<`ModuleQueryResult`\>
1235
+
1236
+ ### Inherited from
1237
+
1238
+ ```ts
1239
+ AbstractArchivist.deleteQuery
1240
+ ```
1241
+
1242
+ ***
1243
+
1244
+ ### get()
1245
+
1246
+ ```ts
1247
+ get(hashes): Promise<WithStorageMeta<Payload>[]>;
1248
+ ```
1249
+
1250
+ ### Parameters
1251
+
1252
+ #### hashes
1253
+
1254
+ `BrandedHash`[]
1255
+
1256
+ ### Returns
1257
+
1258
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1259
+
1260
+ ### Inherited from
1261
+
1262
+ ```ts
1263
+ AbstractArchivist.get
1264
+ ```
1265
+
1266
+ ***
1267
+
1268
+ ### getQuery()
1269
+
1270
+ ```ts
1271
+ getQuery(hashes, account?): Promise<ModuleQueryResult>;
1272
+ ```
1273
+
1274
+ ### Parameters
1275
+
1276
+ #### hashes
1277
+
1278
+ `BrandedHash`[]
1279
+
1280
+ #### account?
1281
+
1282
+ `AccountInstance`
1283
+
1284
+ ### Returns
1285
+
1286
+ `Promise`\<`ModuleQueryResult`\>
1287
+
1288
+ ### Inherited from
1289
+
1290
+ ```ts
1291
+ AbstractArchivist.getQuery
1292
+ ```
1293
+
1294
+ ***
1295
+
1296
+ ### insert()
1297
+
1298
+ ```ts
1299
+ insert(payloads): Promise<WithStorageMeta<Payload>[]>;
1300
+ ```
1301
+
1302
+ ### Parameters
1303
+
1304
+ #### payloads
1305
+
1306
+ `Payload`[]
1307
+
1308
+ ### Returns
1309
+
1310
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1311
+
1312
+ ### Inherited from
1313
+
1314
+ ```ts
1315
+ AbstractArchivist.insert
1316
+ ```
1317
+
1318
+ ***
1319
+
1320
+ ### insertQuery()
1321
+
1322
+ ```ts
1323
+ insertQuery(payloads, account?): Promise<ModuleQueryResult>;
1324
+ ```
1325
+
1326
+ ### Parameters
1327
+
1328
+ #### payloads
1329
+
1330
+ `Payload`[]
1331
+
1332
+ #### account?
1333
+
1334
+ `AccountInstance`
1335
+
1336
+ ### Returns
1337
+
1338
+ `Promise`\<`ModuleQueryResult`\>
1339
+
1340
+ ### Inherited from
1341
+
1342
+ ```ts
1343
+ AbstractArchivist.insertQuery
1344
+ ```
1345
+
1346
+ ***
1347
+
1348
+ ### next()
1349
+
1350
+ ```ts
1351
+ next(options?): Promise<WithStorageMeta<Payload>[]>;
1352
+ ```
1353
+
1354
+ ### Parameters
1355
+
1356
+ #### options?
1357
+
1358
+ `ArchivistNextOptions`
1359
+
1360
+ ### Returns
1361
+
1362
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1363
+
1364
+ ### Inherited from
1365
+
1366
+ ```ts
1367
+ AbstractArchivist.next
1368
+ ```
1369
+
1370
+ ***
1371
+
1372
+ ### nextQuery()
1373
+
1374
+ ```ts
1375
+ nextQuery(options?, account?): Promise<ModuleQueryResult>;
1376
+ ```
1377
+
1378
+ ### Parameters
1379
+
1380
+ #### options?
1381
+
1382
+ `ArchivistNextOptions`
1383
+
1384
+ #### account?
1385
+
1386
+ `AccountInstance`
1387
+
1388
+ ### Returns
1389
+
1390
+ `Promise`\<`ModuleQueryResult`\>
1391
+
1392
+ ### Inherited from
1393
+
1394
+ ```ts
1395
+ AbstractArchivist.nextQuery
1396
+ ```
1397
+
1398
+ ***
1399
+
1400
+ ### snapshot()
1401
+
1402
+ ```ts
1403
+ snapshot(): Promise<ArchivistSnapshotPayload<WithStorageMeta<Payload>, BrandedHash>[]>;
1404
+ ```
1405
+
1406
+ ### Returns
1407
+
1408
+ `Promise`\<`ArchivistSnapshotPayload`\<`WithStorageMeta`\<`Payload`\>, `BrandedHash`\>[]\>
1409
+
1410
+ ### Inherited from
1411
+
1412
+ ```ts
1413
+ AbstractArchivist.snapshot
1414
+ ```
1415
+
1416
+ ***
1417
+
1418
+ ### snapshotQuery()
1419
+
1420
+ ```ts
1421
+ snapshotQuery(account?): Promise<ModuleQueryResult>;
1422
+ ```
1423
+
1424
+ ### Parameters
1425
+
1426
+ #### account?
1427
+
1428
+ `AccountInstance`
1429
+
1430
+ ### Returns
1431
+
1432
+ `Promise`\<`ModuleQueryResult`\>
1433
+
1434
+ ### Inherited from
1435
+
1436
+ ```ts
1437
+ AbstractArchivist.snapshotQuery
1438
+ ```
1439
+
1440
+ ***
1441
+
1442
+ ### deleteWithConfig()
1443
+
1444
+ ```ts
1445
+ protected deleteWithConfig(hashes, config?): Promise<WithStorageMeta<Payload>[]>;
1446
+ ```
1447
+
1448
+ ### Parameters
1449
+
1450
+ #### hashes
1451
+
1452
+ `BrandedHash`[]
1453
+
1454
+ #### config?
1455
+
1456
+ `ActionConfig`
1457
+
1458
+ ### Returns
1459
+
1460
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1461
+
1462
+ ### Inherited from
1463
+
1464
+ ```ts
1465
+ AbstractArchivist.deleteWithConfig
1466
+ ```
1467
+
1468
+ ***
1469
+
1470
+ ### generateStats()
1471
+
1472
+ ```ts
1473
+ protected generateStats(): Promisable<ArchivistStatsPayload>;
1474
+ ```
1475
+
1476
+ ### Returns
1477
+
1478
+ `Promisable`\<`ArchivistStatsPayload`\>
1479
+
1480
+ ### Inherited from
1481
+
1482
+ ```ts
1483
+ AbstractArchivist.generateStats
1484
+ ```
1485
+
1486
+ ***
1487
+
1488
+ ### getFromParent()
1489
+
1490
+ ```ts
1491
+ protected getFromParent(hashes, archivist): Promise<[WithStorageMeta<Payload>[], BrandedHash[]]>;
1492
+ ```
1493
+
1494
+ ### Parameters
1495
+
1496
+ #### hashes
1497
+
1498
+ `BrandedHash`[]
1499
+
1500
+ #### archivist
1501
+
1502
+ `ReadArchivist`
1503
+
1504
+ ### Returns
1505
+
1506
+ `Promise`\<\[`WithStorageMeta`\<`Payload`\>[], `BrandedHash`[]\]\>
1507
+
1508
+ ### Inherited from
1509
+
1510
+ ```ts
1511
+ AbstractArchivist.getFromParent
1512
+ ```
1513
+
1514
+ ***
1515
+
1516
+ ### getFromParents()
1517
+
1518
+ ```ts
1519
+ protected getFromParents(hashes): Promise<[WithStorageMeta<Payload>[], BrandedHash[]]>;
1520
+ ```
1521
+
1522
+ ### Parameters
1523
+
1524
+ #### hashes
1525
+
1526
+ `BrandedHash`[]
1527
+
1528
+ ### Returns
1529
+
1530
+ `Promise`\<\[`WithStorageMeta`\<`Payload`\>[], `BrandedHash`[]\]\>
1531
+
1532
+ ### Inherited from
1533
+
1534
+ ```ts
1535
+ AbstractArchivist.getFromParents
1536
+ ```
1537
+
1538
+ ***
1539
+
1540
+ ### getWithConfig()
1541
+
1542
+ ```ts
1543
+ protected getWithConfig(hashes, _config?): Promise<WithStorageMeta<Payload>[]>;
1544
+ ```
1545
+
1546
+ ### Parameters
1547
+
1548
+ #### hashes
1549
+
1550
+ `BrandedHash`[]
1551
+
1552
+ #### \_config?
1553
+
1554
+ `InsertConfig`
1555
+
1556
+ ### Returns
1557
+
1558
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1559
+
1560
+ ### Inherited from
1561
+
1562
+ ```ts
1563
+ AbstractArchivist.getWithConfig
1564
+ ```
1565
+
1566
+ ***
1567
+
1568
+ ### insertQueryHandler()
1569
+
1570
+ ```ts
1571
+ protected insertQueryHandler<T>(query, payloads?): Promise<WithStorageMeta<Payload>[]>;
1572
+ ```
1573
+
1574
+ ### Type Parameters
1575
+
1576
+ #### T
1577
+
1578
+ `T` *extends* `QueryBoundWitnessWrapper`\<`Query`\> = `QueryBoundWitnessWrapper`\<`Query`\>
1579
+
1580
+ ### Parameters
1581
+
1582
+ #### query
1583
+
1584
+ `T`
1585
+
1586
+ #### payloads?
1587
+
1588
+ `Payload`[]
1589
+
1590
+ ### Returns
1591
+
1592
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1593
+
1594
+ ### Inherited from
1595
+
1596
+ ```ts
1597
+ AbstractArchivist.insertQueryHandler
1598
+ ```
1599
+
1600
+ ***
1601
+
1602
+ ### insertWithConfig()
1603
+
1604
+ ```ts
1605
+ protected insertWithConfig(payloads, config?): Promise<WithStorageMeta<Payload>[]>;
1606
+ ```
1607
+
1608
+ ### Parameters
1609
+
1610
+ #### payloads
1611
+
1612
+ `Payload`[]
1613
+
1614
+ #### config?
1615
+
1616
+ `InsertConfig`
1617
+
1618
+ ### Returns
1619
+
1620
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1621
+
1622
+ ### Inherited from
1623
+
1624
+ ```ts
1625
+ AbstractArchivist.insertWithConfig
1626
+ ```
1627
+
1628
+ ***
1629
+
1630
+ ### nextHandler()
1631
+
1632
+ ```ts
1633
+ protected nextHandler(_options?): Promisable<WithStorageMeta<Payload>[]>;
1634
+ ```
1635
+
1636
+ ### Parameters
1637
+
1638
+ #### \_options?
1639
+
1640
+ `ArchivistNextOptions`
1641
+
1642
+ ### Returns
1643
+
1644
+ `Promisable`\<`WithStorageMeta`\<`Payload`\>[]\>
1645
+
1646
+ ### Inherited from
1647
+
1648
+ ```ts
1649
+ AbstractArchivist.nextHandler
1650
+ ```
1651
+
1652
+ ***
1653
+
1654
+ ### nextWithConfig()
1655
+
1656
+ ```ts
1657
+ protected nextWithConfig(options?, _config?): Promise<WithStorageMeta<Payload>[]>;
1658
+ ```
1659
+
1660
+ ### Parameters
1661
+
1662
+ #### options?
1663
+
1664
+ `ArchivistNextOptions`
1665
+
1666
+ #### \_config?
1667
+
1668
+ `InsertConfig`
1669
+
1670
+ ### Returns
1671
+
1672
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1673
+
1674
+ ### Inherited from
1675
+
1676
+ ```ts
1677
+ AbstractArchivist.nextWithConfig
1678
+ ```
1679
+
1680
+ ***
1681
+
1682
+ ### parentArchivists()
1683
+
1684
+ ```ts
1685
+ protected parentArchivists(): Promise<ArchivistParentInstanceMap>;
1686
+ ```
1687
+
1688
+ ### Returns
1689
+
1690
+ `Promise`\<`ArchivistParentInstanceMap`\>
1691
+
1692
+ ### Inherited from
1693
+
1694
+ ```ts
1695
+ AbstractArchivist.parentArchivists
1696
+ ```
1697
+
1698
+ ***
1699
+
1700
+ ### payloadCountHandler()
1701
+
1702
+ ```ts
1703
+ protected payloadCountHandler(): number;
1704
+ ```
1705
+
1706
+ ### Returns
1707
+
1708
+ `number`
1709
+
1710
+ ### Inherited from
1711
+
1712
+ ```ts
1713
+ AbstractArchivist.payloadCountHandler
1714
+ ```
1715
+
1716
+ ***
1717
+
1718
+ ### queryHandler()
1719
+
1720
+ ```ts
1721
+ protected queryHandler<T, TConfig>(
1722
+ query,
1723
+ payloads,
1724
+ queryConfig?): Promise<ModuleQueryHandlerResult>;
1725
+ ```
1726
+
1727
+ ### Type Parameters
1728
+
1729
+ #### T
1730
+
1731
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1732
+
1733
+ #### TConfig
1734
+
1735
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1736
+
1737
+ ### Parameters
1738
+
1739
+ #### query
1740
+
1741
+ `T`
1742
+
1743
+ #### payloads
1744
+
1745
+ `Payload`[]
1746
+
1747
+ #### queryConfig?
1748
+
1749
+ `TConfig`
1750
+
1751
+ ### Returns
1752
+
1753
+ `Promise`\<`ModuleQueryHandlerResult`\>
1754
+
1755
+ ### Inherited from
1756
+
1757
+ ```ts
1758
+ AbstractArchivist.queryHandler
1759
+ ```
1760
+
1761
+ ***
1762
+
1763
+ ### reportPayloadCount()
1764
+
1765
+ ```ts
1766
+ protected reportPayloadCount(): void;
1767
+ ```
1768
+
1769
+ ### Returns
1770
+
1771
+ `void`
1772
+
1773
+ ### Inherited from
1774
+
1775
+ ```ts
1776
+ AbstractArchivist.reportPayloadCount
1777
+ ```
1778
+
1779
+ ***
1780
+
1781
+ ### snapshotHandler()
1782
+
1783
+ ```ts
1784
+ protected snapshotHandler(): PromisableArray<ArchivistSnapshotPayload<WithStorageMeta<Payload>, BrandedHash>>;
1785
+ ```
1786
+
1787
+ ### Returns
1788
+
1789
+ `PromisableArray`\<`ArchivistSnapshotPayload`\<`WithStorageMeta`\<`Payload`\>, `BrandedHash`\>\>
1790
+
1791
+ ### Inherited from
1792
+
1793
+ ```ts
1794
+ AbstractArchivist.snapshotHandler
1795
+ ```
1796
+
1797
+ ***
1798
+
1799
+ ### startHandler()
1800
+
1801
+ ```ts
1802
+ protected startHandler(): Promise<void>;
1803
+ ```
1804
+
1805
+ ### Returns
1806
+
1807
+ `Promise`\<`void`\>
1808
+
1809
+ ### Inherited from
1810
+
1811
+ ```ts
1812
+ AbstractArchivist.startHandler
1813
+ ```
1814
+
1815
+ ***
1816
+
1817
+ ### stateHandler()
1818
+
1819
+ ```ts
1820
+ protected stateHandler(): Promise<Payload[]>;
1821
+ ```
1822
+
1823
+ ### Returns
1824
+
1825
+ `Promise`\<`Payload`[]\>
1826
+
1827
+ ### Inherited from
1828
+
1829
+ ```ts
1830
+ AbstractArchivist.stateHandler
1831
+ ```
1832
+
1833
+ ***
1834
+
1835
+ ### writeToParent()
1836
+
1837
+ ```ts
1838
+ protected writeToParent(parent, payloads): Promise<Payload[]>;
1839
+ ```
1840
+
1841
+ ### Parameters
1842
+
1843
+ #### parent
1844
+
1845
+ `ArchivistInstance`
1846
+
1847
+ #### payloads
1848
+
1849
+ `Payload`[]
1850
+
1851
+ ### Returns
1852
+
1853
+ `Promise`\<`Payload`[]\>
1854
+
1855
+ ### Inherited from
1856
+
1857
+ ```ts
1858
+ AbstractArchivist.writeToParent
1859
+ ```
1860
+
1861
+ ***
1862
+
1863
+ ### writeToParents()
1864
+
1865
+ ```ts
1866
+ protected writeToParents(payloads): Promise<Payload[]>;
1867
+ ```
1868
+
1869
+ ### Parameters
1870
+
1871
+ #### payloads
1872
+
1873
+ `Payload`[]
1874
+
1875
+ ### Returns
1876
+
1877
+ `Promise`\<`Payload`[]\>
1878
+
1879
+ ### Inherited from
1880
+
1881
+ ```ts
1882
+ AbstractArchivist.writeToParents
1883
+ ```
1884
+
1885
+ ***
1886
+
1887
+ ### allHandler()
1888
+
1889
+ ```ts
1890
+ protected allHandler(): PromisableArray<WithStorageMeta<Payload>>;
1891
+ ```
1892
+
1893
+ ### Returns
1894
+
1895
+ `PromisableArray`\<`WithStorageMeta`\<`Payload`\>\>
1896
+
1897
+ ### Overrides
1898
+
1899
+ ```ts
1900
+ AbstractArchivist.allHandler
1901
+ ```
1902
+
1903
+ ***
1904
+
1905
+ ### clearHandler()
1906
+
1907
+ ```ts
1908
+ protected clearHandler(): void | Promise<void>;
1909
+ ```
1910
+
1911
+ ### Returns
1912
+
1913
+ `void` \| `Promise`\<`void`\>
1914
+
1915
+ ### Overrides
1916
+
1917
+ ```ts
1918
+ AbstractArchivist.clearHandler
1919
+ ```
1920
+
1921
+ ***
1922
+
1923
+ ### commitHandler()
1924
+
1925
+ ```ts
1926
+ protected commitHandler(): Promise<object[]>;
1927
+ ```
1928
+
1929
+ ### Returns
1930
+
1931
+ `Promise`\<`object`[]\>
1932
+
1933
+ ### Overrides
1934
+
1935
+ ```ts
1936
+ AbstractArchivist.commitHandler
1937
+ ```
1938
+
1939
+ ***
1940
+
1941
+ ### deleteHandler()
1942
+
1943
+ ```ts
1944
+ protected deleteHandler(hashes): Promise<WithStorageMeta<Payload>[]>;
1945
+ ```
1946
+
1947
+ ### Parameters
1948
+
1949
+ #### hashes
1950
+
1951
+ `BrandedHash`[]
1952
+
1953
+ ### Returns
1954
+
1955
+ `Promise`\<`WithStorageMeta`\<`Payload`\>[]\>
1956
+
1957
+ ### Overrides
1958
+
1959
+ ```ts
1960
+ AbstractArchivist.deleteHandler
1961
+ ```
1962
+
1963
+ ***
1964
+
1965
+ ### getHandler()
1966
+
1967
+ ```ts
1968
+ protected getHandler(hashes): Promisable<WithStorageMeta<Payload>[]>;
1969
+ ```
1970
+
1971
+ ### Parameters
1972
+
1973
+ #### hashes
1974
+
1975
+ `BrandedHash`[]
1976
+
1977
+ ### Returns
1978
+
1979
+ `Promisable`\<`WithStorageMeta`\<`Payload`\>[]\>
1980
+
1981
+ ### Overrides
1982
+
1983
+ ```ts
1984
+ AbstractArchivist.getHandler
1985
+ ```
1986
+
1987
+ ***
1988
+
1989
+ ### insertHandler()
1990
+
1991
+ ```ts
1992
+ protected insertHandler(payloads): WithStorageMeta<Payload>[];
1993
+ ```
1994
+
1995
+ ### Parameters
1996
+
1997
+ #### payloads
1998
+
1999
+ `WithStorageMeta`\<`Payload`\>[]
2000
+
2001
+ ### Returns
2002
+
2003
+ `WithStorageMeta`\<`Payload`\>[]
2004
+
2005
+ ### Overrides
2006
+
2007
+ ```ts
2008
+ AbstractArchivist.insertHandler
2009
+ ```
2010
+
2011
+ ***
2012
+
2013
+ ### \_getRootFunction()
2014
+
2015
+ ```ts
2016
+ static _getRootFunction(funcName): any;
2017
+ ```
2018
+
2019
+ ### Parameters
2020
+
2021
+ #### funcName
2022
+
2023
+ `string`
2024
+
2025
+ ### Returns
2026
+
2027
+ `any`
2028
+
2029
+ ### Inherited from
2030
+
2031
+ ```ts
2032
+ AbstractArchivist._getRootFunction
2033
+ ```
2034
+
2035
+ ***
2036
+
2037
+ ### \_noOverride()
2038
+
2039
+ ```ts
2040
+ static _noOverride(functionName): void;
2041
+ ```
2042
+
2043
+ ### Parameters
2044
+
2045
+ #### functionName
2046
+
2047
+ `string`
2048
+
2049
+ ### Returns
2050
+
2051
+ `void`
2052
+
2053
+ ### Inherited from
2054
+
2055
+ ```ts
2056
+ AbstractArchivist._noOverride
2057
+ ```
2058
+
2059
+ ***
2060
+
2061
+ ### createHandler()
2062
+
2063
+ ```ts
2064
+ static createHandler<T>(inInstance): Promise<T & AbstractModule<any, any>>;
2065
+ ```
2066
+
2067
+ Static hook called during creation to perform additional initialization.
2068
+ Override in subclasses to customize post-construction setup.
2069
+
2070
+ ### Type Parameters
2071
+
2072
+ #### T
2073
+
2074
+ `T` *extends* `CreatableInstance`\<`CreatableParams`, `EventData`\>
2075
+
2076
+ ### Parameters
2077
+
2078
+ #### inInstance
2079
+
2080
+ `T`
2081
+
2082
+ ### Returns
2083
+
2084
+ `Promise`\<`T` & `AbstractModule`\<`any`, `any`\>\>
2085
+
2086
+ The instance, potentially modified
2087
+
2088
+ ### Inherited from
2089
+
2090
+ ```ts
2091
+ AbstractArchivist.createHandler
2092
+ ```
2093
+
2094
+ ***
2095
+
2096
+ ### determineAccount()
2097
+
2098
+ ```ts
2099
+ static determineAccount(params): Promise<AccountInstance>;
2100
+ ```
2101
+
2102
+ ### Parameters
2103
+
2104
+ #### params
2105
+
2106
+ ##### account?
2107
+
2108
+ `AccountInstance` \| `"random"`
2109
+
2110
+ ##### accountPath?
2111
+
2112
+ `string`
2113
+
2114
+ ##### wallet?
2115
+
2116
+ `WalletInstance`
2117
+
2118
+ ### Returns
2119
+
2120
+ `Promise`\<`AccountInstance`\>
2121
+
2122
+ ### Inherited from
2123
+
2124
+ ```ts
2125
+ AbstractArchivist.determineAccount
2126
+ ```
2127
+
2128
+ ***
2129
+
2130
+ ### factory()
2131
+
2132
+ ```ts
2133
+ static factory<TModule>(this, params?): CreatableModuleFactory<TModule>;
2134
+ ```
2135
+
2136
+ ### Type Parameters
2137
+
2138
+ #### TModule
2139
+
2140
+ `TModule` *extends* `CreatableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2141
+
2142
+ ### Parameters
2143
+
2144
+ #### this
2145
+
2146
+ `CreatableModule`\<`TModule`\>
2147
+
2148
+ #### params?
2149
+
2150
+ `Partial`\<`TModule`\[`"params"`\]\>
2151
+
2152
+ ### Returns
2153
+
2154
+ `CreatableModuleFactory`\<`TModule`\>
2155
+
2156
+ ### Inherited from
2157
+
2158
+ ```ts
2159
+ AbstractArchivist.factory
2160
+ ```
2161
+
2162
+ ***
2163
+
2164
+ ### isAllowedSchema()
2165
+
2166
+ ```ts
2167
+ static isAllowedSchema(schema): boolean;
2168
+ ```
2169
+
2170
+ ### Parameters
2171
+
2172
+ #### schema
2173
+
2174
+ `Schema`
2175
+
2176
+ ### Returns
2177
+
2178
+ `boolean`
2179
+
2180
+ ### Inherited from
2181
+
2182
+ ```ts
2183
+ AbstractArchivist.isAllowedSchema
2184
+ ```
2185
+
2186
+ ***
2187
+
2188
+ ### paramsHandler()
2189
+
2190
+ ```ts
2191
+ static paramsHandler<T>(inParams?): Promise<T["params"]>;
2192
+ ```
2193
+
2194
+ Static hook called during creation to validate and transform params.
2195
+ Override in subclasses to add default values or validation.
2196
+
2197
+ ### Type Parameters
2198
+
2199
+ #### T
2200
+
2201
+ `T` *extends* `AttachableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2202
+
2203
+ ### Parameters
2204
+
2205
+ #### inParams?
2206
+
2207
+ `Partial`\<`T`\[`"params"`\]\>
2208
+
2209
+ ### Returns
2210
+
2211
+ `Promise`\<`T`\[`"params"`\]\>
2212
+
2213
+ The processed params ready for construction
2214
+
2215
+ ### Inherited from
2216
+
2217
+ ```ts
2218
+ AbstractArchivist.paramsHandler
2219
+ ```
2220
+
2221
+ ***
2222
+
2223
+ ### \_getRootFunction()
2224
+
2225
+ ```ts
2226
+ _getRootFunction(funcName): any;
2227
+ ```
2228
+
2229
+ ### Parameters
2230
+
2231
+ #### funcName
2232
+
2233
+ `string`
2234
+
2235
+ ### Returns
2236
+
2237
+ `any`
2238
+
2239
+ ### Inherited from
2240
+
2241
+ ```ts
2242
+ AbstractArchivist._getRootFunction
2243
+ ```
2244
+
2245
+ ***
2246
+
2247
+ ### busy()
2248
+
2249
+ ```ts
2250
+ busy<R>(closure): Promise<R>;
2251
+ ```
2252
+
2253
+ ### Type Parameters
2254
+
2255
+ #### R
2256
+
2257
+ `R`
2258
+
2259
+ ### Parameters
2260
+
2261
+ #### closure
2262
+
2263
+ () => `Promise`\<`R`\>
2264
+
2265
+ ### Returns
2266
+
2267
+ `Promise`\<`R`\>
2268
+
2269
+ ### Inherited from
2270
+
2271
+ ```ts
2272
+ AbstractArchivist.busy
2273
+ ```
2274
+
2275
+ ***
2276
+
2277
+ ### emit()
2278
+
2279
+ ```ts
2280
+ emit<TEventName, TEventArgs>(eventName, eventArgs): Promise<void>;
2281
+ ```
2282
+
2283
+ Emits an event, invoking all registered listeners concurrently.
2284
+
2285
+ ### Type Parameters
2286
+
2287
+ #### TEventName
2288
+
2289
+ `TEventName` *extends* `string` \| `number` \| `symbol` = keyof `TEventData`
2290
+
2291
+ #### TEventArgs
2292
+
2293
+ `TEventArgs` *extends* `EventArgs` = `TEventData`\[`TEventName`\]
2294
+
2295
+ ### Parameters
2296
+
2297
+ #### eventName
2298
+
2299
+ `TEventName`
2300
+
2301
+ The event to emit.
2302
+
2303
+ #### eventArgs
2304
+
2305
+ `TEventArgs`
2306
+
2307
+ The data to pass to listeners.
2308
+
2309
+ ### Returns
2310
+
2311
+ `Promise`\<`void`\>
2312
+
2313
+ ### Inherited from
2314
+
2315
+ ```ts
2316
+ AbstractArchivist.emit
2317
+ ```
2318
+
2319
+ ***
2320
+
2321
+ ### isSupportedQuery()
2322
+
2323
+ ```ts
2324
+ isSupportedQuery(query, assert?): boolean;
2325
+ ```
2326
+
2327
+ ### Parameters
2328
+
2329
+ #### query
2330
+
2331
+ `Schema`
2332
+
2333
+ #### assert?
2334
+
2335
+ `string` \| `boolean`
2336
+
2337
+ ### Returns
2338
+
2339
+ `boolean`
2340
+
2341
+ ### Inherited from
2342
+
2343
+ ```ts
2344
+ AbstractArchivist.isSupportedQuery
2345
+ ```
2346
+
2347
+ ***
2348
+
2349
+ ### previousHash()
2350
+
2351
+ ```ts
2352
+ previousHash(): Promisable<string | undefined>;
2353
+ ```
2354
+
2355
+ ### Returns
2356
+
2357
+ `Promisable`\<`string` \| `undefined`\>
2358
+
2359
+ ### Inherited from
2360
+
2361
+ ```ts
2362
+ AbstractArchivist.previousHash
2363
+ ```
2364
+
2365
+ ***
2366
+
2367
+ ### query()
2368
+
2369
+ ```ts
2370
+ query<T, TConfig>(
2371
+ query,
2372
+ payloads?,
2373
+ queryConfig?): Promise<ModuleQueryResult>;
2374
+ ```
2375
+
2376
+ ### Type Parameters
2377
+
2378
+ #### T
2379
+
2380
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
2381
+
2382
+ #### TConfig
2383
+
2384
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
2385
+
2386
+ ### Parameters
2387
+
2388
+ #### query
2389
+
2390
+ `T`
2391
+
2392
+ #### payloads?
2393
+
2394
+ `Payload`[]
2395
+
2396
+ #### queryConfig?
2397
+
2398
+ `TConfig`
2399
+
2400
+ ### Returns
2401
+
2402
+ `Promise`\<`ModuleQueryResult`\>
2403
+
2404
+ ### Inherited from
2405
+
2406
+ ```ts
2407
+ AbstractArchivist.query
2408
+ ```
2409
+
2410
+ ***
2411
+
2412
+ ### queryable()
2413
+
2414
+ ```ts
2415
+ queryable<T, TConfig>(
2416
+ query,
2417
+ payloads?,
2418
+ queryConfig?): Promise<boolean>;
2419
+ ```
2420
+
2421
+ ### Type Parameters
2422
+
2423
+ #### T
2424
+
2425
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
2426
+
2427
+ #### TConfig
2428
+
2429
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
2430
+
2431
+ ### Parameters
2432
+
2433
+ #### query
2434
+
2435
+ `T`
2436
+
2437
+ #### payloads?
2438
+
2439
+ `Payload`[]
2440
+
2441
+ #### queryConfig?
2442
+
2443
+ `TConfig`
2444
+
2445
+ ### Returns
2446
+
2447
+ `Promise`\<`boolean`\>
2448
+
2449
+ ### Inherited from
2450
+
2451
+ ```ts
2452
+ AbstractArchivist.queryable
2453
+ ```
2454
+
2455
+ ***
2456
+
2457
+ ### \_checkDead()
2458
+
2459
+ ```ts
2460
+ protected _checkDead(): void;
2461
+ ```
2462
+
2463
+ ### Returns
2464
+
2465
+ `void`
2466
+
2467
+ ### Inherited from
2468
+
2469
+ ```ts
2470
+ AbstractArchivist._checkDead
2471
+ ```
2472
+
2473
+ ***
2474
+
2475
+ ### archivistInstance()
2476
+
2477
+ ### Call Signature
2478
+
2479
+ ```ts
2480
+ protected archivistInstance(): Promise<
2481
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
2482
+ | undefined>;
2483
+ ```
2484
+
2485
+ #### Returns
2486
+
2487
+ `Promise`\<
2488
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
2489
+ \| `undefined`\>
2490
+
2491
+ #### Inherited from
2492
+
2493
+ ```ts
2494
+ AbstractArchivist.archivistInstance
2495
+ ```
2496
+
2497
+ ### Call Signature
2498
+
2499
+ ```ts
2500
+ protected archivistInstance(required): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>>;
2501
+ ```
2502
+
2503
+ #### Parameters
2504
+
2505
+ ##### required
2506
+
2507
+ `true`
2508
+
2509
+ #### Returns
2510
+
2511
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>\>
2512
+
2513
+ #### Inherited from
2514
+
2515
+ ```ts
2516
+ AbstractArchivist.archivistInstance
2517
+ ```
2518
+
2519
+ ***
2520
+
2521
+ ### bindHashes()
2522
+
2523
+ ```ts
2524
+ protected bindHashes(
2525
+ hashes,
2526
+ schema,
2527
+ account?): PromiseEx<unknown, AccountInstance>;
2528
+ ```
2529
+
2530
+ ### Parameters
2531
+
2532
+ #### hashes
2533
+
2534
+ `BrandedHash`[]
2535
+
2536
+ #### schema
2537
+
2538
+ `Schema`[]
2539
+
2540
+ #### account?
2541
+
2542
+ `AccountInstance`
2543
+
2544
+ ### Returns
2545
+
2546
+ `PromiseEx`\<`unknown`, `AccountInstance`\>
2547
+
2548
+ ### Inherited from
2549
+
2550
+ ```ts
2551
+ AbstractArchivist.bindHashes
2552
+ ```
2553
+
2554
+ ***
2555
+
2556
+ ### bindHashesInternal()
2557
+
2558
+ ```ts
2559
+ protected bindHashesInternal(
2560
+ hashes,
2561
+ schema,
2562
+ account?): Promise<{
2563
+ schema: "network.xyo.boundwitness" & object;
2564
+ addresses: Lowercase<string> & object & object[];
2565
+ payload_hashes: BrandedHash[];
2566
+ payload_schemas: BrandedSchema<string>[];
2567
+ previous_hashes: (BrandedHash | null)[];
2568
+ $destination?: Lowercase<string> & object & object;
2569
+ $sourceQuery?: BrandedHash;
2570
+ $signatures: (BrandedHex | null)[];
2571
+ }>;
2572
+ ```
2573
+
2574
+ ### Parameters
2575
+
2576
+ #### hashes
2577
+
2578
+ `BrandedHash`[]
2579
+
2580
+ #### schema
2581
+
2582
+ `Schema`[]
2583
+
2584
+ #### account?
2585
+
2586
+ `AccountInstance`
2587
+
2588
+ ### Returns
2589
+
2590
+ `Promise`\<\{
2591
+ `schema`: `"network.xyo.boundwitness"` & `object`;
2592
+ `addresses`: `Lowercase`\<`string`\> & `object` & `object`[];
2593
+ `payload_hashes`: `BrandedHash`[];
2594
+ `payload_schemas`: `BrandedSchema`\<`string`\>[];
2595
+ `previous_hashes`: (`BrandedHash` \| `null`)[];
2596
+ `$destination?`: `Lowercase`\<`string`\> & `object` & `object`;
2597
+ `$sourceQuery?`: `BrandedHash`;
2598
+ `$signatures`: (`BrandedHex` \| `null`)[];
2599
+ \}\>
2600
+
2601
+ ### Inherited from
2602
+
2603
+ ```ts
2604
+ AbstractArchivist.bindHashesInternal
2605
+ ```
2606
+
2607
+ ***
2608
+
2609
+ ### bindQuery()
2610
+
2611
+ ```ts
2612
+ protected bindQuery<T>(
2613
+ query,
2614
+ payloads?,
2615
+ account?,
2616
+ additionalSigners?): PromiseEx<[UnsignedQueryBoundWitness, Payload[], Payload[]], AccountInstance>;
2617
+ ```
2618
+
2619
+ ### Type Parameters
2620
+
2621
+ #### T
2622
+
2623
+ `T` *extends* `Query`
2624
+
2625
+ ### Parameters
2626
+
2627
+ #### query
2628
+
2629
+ `T`
2630
+
2631
+ #### payloads?
2632
+
2633
+ `Payload`[]
2634
+
2635
+ #### account?
2636
+
2637
+ `AccountInstance`
2638
+
2639
+ #### additionalSigners?
2640
+
2641
+ `AccountInstance`[]
2642
+
2643
+ ### Returns
2644
+
2645
+ `PromiseEx`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\], `AccountInstance`\>
2646
+
2647
+ ### Inherited from
2648
+
2649
+ ```ts
2650
+ AbstractArchivist.bindQuery
2651
+ ```
2652
+
2653
+ ***
2654
+
2655
+ ### bindQueryInternal()
2656
+
2657
+ ```ts
2658
+ protected bindQueryInternal<T>(
2659
+ query,
2660
+ payloads?,
2661
+ account?,
2662
+ additionalSigners?): Promise<[UnsignedQueryBoundWitness, Payload[], Payload[]]>;
2663
+ ```
2664
+
2665
+ ### Type Parameters
2666
+
2667
+ #### T
2668
+
2669
+ `T` *extends* `Query`
2670
+
2671
+ ### Parameters
2672
+
2673
+ #### query
2674
+
2675
+ `T`
2676
+
2677
+ #### payloads?
2678
+
2679
+ `Payload`[]
2680
+
2681
+ #### account?
2682
+
2683
+ `AccountInstance`
2684
+
2685
+ #### additionalSigners?
2686
+
2687
+ `AccountInstance`[]
2688
+
2689
+ ### Returns
2690
+
2691
+ `Promise`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\]\>
2692
+
2693
+ ### Inherited from
2694
+
2695
+ ```ts
2696
+ AbstractArchivist.bindQueryInternal
2697
+ ```
2698
+
2699
+ ***
2700
+
2701
+ ### bindQueryResult()
2702
+
2703
+ ```ts
2704
+ protected bindQueryResult<T>(
2705
+ query,
2706
+ payloads,
2707
+ additionalWitnesses?,
2708
+ errors?): Promise<ModuleQueryResult>;
2709
+ ```
2710
+
2711
+ ### Type Parameters
2712
+
2713
+ #### T
2714
+
2715
+ `T` *extends* `Query`
2716
+
2717
+ ### Parameters
2718
+
2719
+ #### query
2720
+
2721
+ `T`
2722
+
2723
+ #### payloads
2724
+
2725
+ `Payload`[]
2726
+
2727
+ #### additionalWitnesses?
2728
+
2729
+ `AccountInstance`[]
2730
+
2731
+ #### errors?
2732
+
2733
+ `ModuleError`[]
2734
+
2735
+ ### Returns
2736
+
2737
+ `Promise`\<`ModuleQueryResult`\>
2738
+
2739
+ ### Inherited from
2740
+
2741
+ ```ts
2742
+ AbstractArchivist.bindQueryResult
2743
+ ```
2744
+
2745
+ ***
2746
+
2747
+ ### generateConfigAndAddress()
2748
+
2749
+ ```ts
2750
+ protected generateConfigAndAddress(_maxDepth?): Promisable<Payload[]>;
2751
+ ```
2752
+
2753
+ ### Parameters
2754
+
2755
+ #### \_maxDepth?
2756
+
2757
+ `number`
2758
+
2759
+ ### Returns
2760
+
2761
+ `Promisable`\<`Payload`[]\>
2762
+
2763
+ ### Inherited from
2764
+
2765
+ ```ts
2766
+ AbstractArchivist.generateConfigAndAddress
2767
+ ```
2768
+
2769
+ ***
2770
+
2771
+ ### generateDescribe()
2772
+
2773
+ ```ts
2774
+ protected generateDescribe(): Promise<ModuleDescriptionPayload>;
2775
+ ```
2776
+
2777
+ ### Returns
2778
+
2779
+ `Promise`\<`ModuleDescriptionPayload`\>
2780
+
2781
+ ### Inherited from
2782
+
2783
+ ```ts
2784
+ AbstractArchivist.generateDescribe
2785
+ ```
2786
+
2787
+ ***
2788
+
2789
+ ### ~~getArchivist()~~
2790
+
2791
+ ```ts
2792
+ protected getArchivist(): Promise<
2793
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
2794
+ | undefined>;
2795
+ ```
2796
+
2797
+ ### Returns
2798
+
2799
+ `Promise`\<
2800
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
2801
+ \| `undefined`\>
2802
+
2803
+ ### Deprecated
2804
+
2805
+ use archivistInstance() instead
2806
+
2807
+ ### Inherited from
2808
+
2809
+ ```ts
2810
+ AbstractArchivist.getArchivist
2811
+ ```
2812
+
2813
+ ***
2814
+
2815
+ ### isAllowedArchivingQuery()
2816
+
2817
+ ```ts
2818
+ protected isAllowedArchivingQuery(schema): boolean;
2819
+ ```
2820
+
2821
+ ### Parameters
2822
+
2823
+ #### schema
2824
+
2825
+ `Schema`
2826
+
2827
+ ### Returns
2828
+
2829
+ `boolean`
2830
+
2831
+ ### Inherited from
2832
+
2833
+ ```ts
2834
+ AbstractArchivist.isAllowedArchivingQuery
2835
+ ```
2836
+
2837
+ ***
2838
+
2839
+ ### moduleAddressHandler()
2840
+
2841
+ ```ts
2842
+ protected moduleAddressHandler(): Promisable<(AddressPayload | AddressPreviousHashPayload)[]>;
2843
+ ```
2844
+
2845
+ ### Returns
2846
+
2847
+ `Promisable`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
2848
+
2849
+ ### Inherited from
2850
+
2851
+ ```ts
2852
+ AbstractArchivist.moduleAddressHandler
2853
+ ```
2854
+
2855
+ ***
2856
+
2857
+ ### stopHandler()
2858
+
2859
+ ```ts
2860
+ protected stopHandler(): Promise<void>;
2861
+ ```
2862
+
2863
+ Override in subclasses to define stop behavior. Throw an error on failure.
2864
+
2865
+ ### Returns
2866
+
2867
+ `Promise`\<`void`\>
2868
+
2869
+ ### Inherited from
2870
+
2871
+ ```ts
2872
+ AbstractArchivist.stopHandler
2873
+ ```
2874
+
2875
+ ***
2876
+
2877
+ ### subscribeHandler()
2878
+
2879
+ ```ts
2880
+ protected subscribeHandler(): void;
2881
+ ```
2882
+
2883
+ ### Returns
2884
+
2885
+ `void`
2886
+
2887
+ ### Inherited from
2888
+
2889
+ ```ts
2890
+ AbstractArchivist.subscribeHandler
2891
+ ```
2892
+
2893
+ ***
2894
+
2895
+ ### validateConfig()
2896
+
2897
+ ```ts
2898
+ protected validateConfig(config?, parents?): boolean;
2899
+ ```
2900
+
2901
+ ### Parameters
2902
+
2903
+ #### config?
2904
+
2905
+ `unknown`
2906
+
2907
+ #### parents?
2908
+
2909
+ `string`[]
2910
+
2911
+ ### Returns
2912
+
2913
+ `boolean`
2914
+
2915
+ ### Inherited from
2916
+
2917
+ ```ts
2918
+ AbstractArchivist.validateConfig
2919
+ ```
2920
+
2921
+ ***
2922
+
2923
+ ### addParent()
2924
+
2925
+ ```ts
2926
+ addParent(mod): void;
2927
+ ```
2928
+
2929
+ ### Parameters
2930
+
2931
+ #### mod
2932
+
2933
+ `ModuleInstance`
2934
+
2935
+ ### Returns
2936
+
2937
+ `void`
2938
+
2939
+ ### Inherited from
2940
+
2941
+ ```ts
2942
+ AbstractArchivist.addParent
2943
+ ```
2944
+
2945
+ ***
2946
+
2947
+ ### certifyParents()
2948
+
2949
+ ```ts
2950
+ certifyParents(): Promise<Payload[]>;
2951
+ ```
2952
+
2953
+ ### Returns
2954
+
2955
+ `Promise`\<`Payload`[]\>
2956
+
2957
+ ### Inherited from
2958
+
2959
+ ```ts
2960
+ AbstractArchivist.certifyParents
2961
+ ```
2962
+
2963
+ ***
2964
+
2965
+ ### createHandler()
2966
+
2967
+ ```ts
2968
+ createHandler(): Promise<void>;
2969
+ ```
2970
+
2971
+ ### Returns
2972
+
2973
+ `Promise`\<`void`\>
2974
+
2975
+ ### Inherited from
2976
+
2977
+ ```ts
2978
+ AbstractArchivist.createHandler
2979
+ ```
2980
+
2981
+ ***
2982
+
2983
+ ### manifest()
2984
+
2985
+ ```ts
2986
+ manifest(maxDepth?): Promise<ModuleManifestPayload>;
2987
+ ```
2988
+
2989
+ ### Parameters
2990
+
2991
+ #### maxDepth?
2992
+
2993
+ `number`
2994
+
2995
+ ### Returns
2996
+
2997
+ `Promise`\<`ModuleManifestPayload`\>
2998
+
2999
+ ### Inherited from
3000
+
3001
+ ```ts
3002
+ AbstractArchivist.manifest
3003
+ ```
3004
+
3005
+ ***
3006
+
3007
+ ### manifestQuery()
3008
+
3009
+ ```ts
3010
+ manifestQuery(account, maxDepth?): Promise<ModuleQueryResult<ModuleManifestPayload>>;
3011
+ ```
3012
+
3013
+ ### Parameters
3014
+
3015
+ #### account
3016
+
3017
+ `AccountInstance`
3018
+
3019
+ #### maxDepth?
3020
+
3021
+ `number`
3022
+
3023
+ ### Returns
3024
+
3025
+ `Promise`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
3026
+
3027
+ ### Inherited from
3028
+
3029
+ ```ts
3030
+ AbstractArchivist.manifestQuery
3031
+ ```
3032
+
3033
+ ***
3034
+
3035
+ ### moduleAddress()
3036
+
3037
+ ```ts
3038
+ moduleAddress(): Promise<(AddressPayload | AddressPreviousHashPayload)[]>;
3039
+ ```
3040
+
3041
+ ### Returns
3042
+
3043
+ `Promise`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
3044
+
3045
+ ### Inherited from
3046
+
3047
+ ```ts
3048
+ AbstractArchivist.moduleAddress
3049
+ ```
3050
+
3051
+ ***
3052
+
3053
+ ### parents()
3054
+
3055
+ ```ts
3056
+ parents(): Promisable<NodeInstance<NodeParams<AnyConfigSchema<NodeConfig>>, NodeModuleEventData>[]>;
3057
+ ```
3058
+
3059
+ ### Returns
3060
+
3061
+ `Promisable`\<`NodeInstance`\<`NodeParams`\<`AnyConfigSchema`\<`NodeConfig`\>\>, `NodeModuleEventData`\>[]\>
3062
+
3063
+ ### Inherited from
3064
+
3065
+ ```ts
3066
+ AbstractArchivist.parents
3067
+ ```
3068
+
3069
+ ***
3070
+
3071
+ ### privateChildren()
3072
+
3073
+ ```ts
3074
+ privateChildren(): Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3075
+ ```
3076
+
3077
+ ### Returns
3078
+
3079
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3080
+
3081
+ ### Inherited from
3082
+
3083
+ ```ts
3084
+ AbstractArchivist.privateChildren
3085
+ ```
3086
+
3087
+ ***
3088
+
3089
+ ### publicChildren()
3090
+
3091
+ ```ts
3092
+ publicChildren(): Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3093
+ ```
3094
+
3095
+ ### Returns
3096
+
3097
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3098
+
3099
+ ### Inherited from
3100
+
3101
+ ```ts
3102
+ AbstractArchivist.publicChildren
3103
+ ```
3104
+
3105
+ ***
3106
+
3107
+ ### removeParent()
3108
+
3109
+ ```ts
3110
+ removeParent(address): void;
3111
+ ```
3112
+
3113
+ ### Parameters
3114
+
3115
+ #### address
3116
+
3117
+ `BrandedAddress`
3118
+
3119
+ ### Returns
3120
+
3121
+ `void`
3122
+
3123
+ ### Inherited from
3124
+
3125
+ ```ts
3126
+ AbstractArchivist.removeParent
3127
+ ```
3128
+
3129
+ ***
3130
+
3131
+ ### resolve()
3132
+
3133
+ ### Call Signature
3134
+
3135
+ ```ts
3136
+ resolve(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3137
+ ```
3138
+
3139
+ #### Returns
3140
+
3141
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3142
+
3143
+ #### Inherited from
3144
+
3145
+ ```ts
3146
+ AbstractArchivist.resolve
3147
+ ```
3148
+
3149
+ ### Call Signature
3150
+
3151
+ ```ts
3152
+ resolve<T>(all, options?): Promise<T[]>;
3153
+ ```
3154
+
3155
+ #### Type Parameters
3156
+
3157
+ ##### T
3158
+
3159
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
3160
+
3161
+ #### Parameters
3162
+
3163
+ ##### all
3164
+
3165
+ `"*"`
3166
+
3167
+ ##### options?
3168
+
3169
+ `ModuleFilterOptions`\<`T`\>
3170
+
3171
+ #### Returns
3172
+
3173
+ `Promise`\<`T`[]\>
3174
+
3175
+ #### Inherited from
3176
+
3177
+ ```ts
3178
+ AbstractArchivist.resolve
3179
+ ```
3180
+
3181
+ ### Call Signature
3182
+
3183
+ ```ts
3184
+ resolve<T>(id, options?): Promise<T | undefined>;
3185
+ ```
3186
+
3187
+ #### Type Parameters
3188
+
3189
+ ##### T
3190
+
3191
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
3192
+
3193
+ #### Parameters
3194
+
3195
+ ##### id
3196
+
3197
+ `ModuleIdentifier`
3198
+
3199
+ ##### options?
3200
+
3201
+ `ModuleFilterOptions`\<`T`\>
3202
+
3203
+ #### Returns
3204
+
3205
+ `Promise`\<`T` \| `undefined`\>
3206
+
3207
+ #### Inherited from
3208
+
3209
+ ```ts
3210
+ AbstractArchivist.resolve
3211
+ ```
3212
+
3213
+ ***
3214
+
3215
+ ### resolveIdentifier()
3216
+
3217
+ ```ts
3218
+ resolveIdentifier(id, options?): Promise<BrandedAddress | undefined>;
3219
+ ```
3220
+
3221
+ ### Parameters
3222
+
3223
+ #### id
3224
+
3225
+ `ModuleIdentifier`
3226
+
3227
+ #### options?
3228
+
3229
+ `ObjectFilterOptions`\<`AnyObject`\>
3230
+
3231
+ ### Returns
3232
+
3233
+ `Promise`\<`BrandedAddress` \| `undefined`\>
3234
+
3235
+ ### Inherited from
3236
+
3237
+ ```ts
3238
+ AbstractArchivist.resolveIdentifier
3239
+ ```
3240
+
3241
+ ***
3242
+
3243
+ ### resolvePrivate()
3244
+
3245
+ ### Call Signature
3246
+
3247
+ ```ts
3248
+ resolvePrivate<T>(all, options?): Promise<T[]>;
3249
+ ```
3250
+
3251
+ #### Type Parameters
3252
+
3253
+ ##### T
3254
+
3255
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
3256
+
3257
+ #### Parameters
3258
+
3259
+ ##### all
3260
+
3261
+ `"*"`
3262
+
3263
+ ##### options?
3264
+
3265
+ `ModuleFilterOptions`\<`T`\>
3266
+
3267
+ #### Returns
3268
+
3269
+ `Promise`\<`T`[]\>
3270
+
3271
+ #### Inherited from
3272
+
3273
+ ```ts
3274
+ AbstractArchivist.resolvePrivate
3275
+ ```
3276
+
3277
+ ### Call Signature
3278
+
3279
+ ```ts
3280
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
3281
+ ```
3282
+
3283
+ #### Type Parameters
3284
+
3285
+ ##### T
3286
+
3287
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
3288
+
3289
+ #### Parameters
3290
+
3291
+ ##### id
3292
+
3293
+ `ModuleIdentifier`
3294
+
3295
+ ##### options?
3296
+
3297
+ `ModuleFilterOptions`\<`T`\>
3298
+
3299
+ #### Returns
3300
+
3301
+ `Promise`\<`T` \| `undefined`\>
3302
+
3303
+ #### Inherited from
3304
+
3305
+ ```ts
3306
+ AbstractArchivist.resolvePrivate
3307
+ ```
3308
+
3309
+ ***
3310
+
3311
+ ### siblings()
3312
+
3313
+ ```ts
3314
+ siblings(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3315
+ ```
3316
+
3317
+ ### Returns
3318
+
3319
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3320
+
3321
+ ### Inherited from
3322
+
3323
+ ```ts
3324
+ AbstractArchivist.siblings
3325
+ ```
3326
+
3327
+ ***
3328
+
3329
+ ### state()
3330
+
3331
+ ```ts
3332
+ state(): Promise<Payload[]>;
3333
+ ```
3334
+
3335
+ ### Returns
3336
+
3337
+ `Promise`\<`Payload`[]\>
3338
+
3339
+ ### Inherited from
3340
+
3341
+ ```ts
3342
+ AbstractArchivist.state
3343
+ ```
3344
+
3345
+ ***
3346
+
3347
+ ### stateQuery()
3348
+
3349
+ ```ts
3350
+ stateQuery(account): Promise<ModuleQueryResult>;
3351
+ ```
3352
+
3353
+ ### Parameters
3354
+
3355
+ #### account
3356
+
3357
+ `AccountInstance`
3358
+
3359
+ ### Returns
3360
+
3361
+ `Promise`\<`ModuleQueryResult`\>
3362
+
3363
+ ### Inherited from
3364
+
3365
+ ```ts
3366
+ AbstractArchivist.stateQuery
3367
+ ```
3368
+
3369
+ ***
3370
+
3371
+ ### subscribe()
3372
+
3373
+ ```ts
3374
+ subscribe(_queryAccount?): void;
3375
+ ```
3376
+
3377
+ ### Parameters
3378
+
3379
+ #### \_queryAccount?
3380
+
3381
+ `AccountInstance`
3382
+
3383
+ ### Returns
3384
+
3385
+ `void`
3386
+
3387
+ ### Inherited from
3388
+
3389
+ ```ts
3390
+ AbstractArchivist.subscribe
3391
+ ```
3392
+
3393
+ ***
3394
+
3395
+ ### manifestHandler()
3396
+
3397
+ ```ts
3398
+ protected manifestHandler(maxDepth?, _ignoreAddresses?): Promise<ModuleManifestPayload>;
3399
+ ```
3400
+
3401
+ ### Parameters
3402
+
3403
+ #### maxDepth?
3404
+
3405
+ `number`
3406
+
3407
+ #### \_ignoreAddresses?
3408
+
3409
+ `BrandedAddress`[]
3410
+
3411
+ ### Returns
3412
+
3413
+ `Promise`\<`ModuleManifestPayload`\>
3414
+
3415
+ ### Inherited from
3416
+
3417
+ ```ts
3418
+ AbstractArchivist.manifestHandler
3419
+ ```
3420
+
3421
+ ***
3422
+
3423
+ ### resolveArchivingArchivists()
3424
+
3425
+ ```ts
3426
+ protected resolveArchivingArchivists(): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>[]>;
3427
+ ```
3428
+
3429
+ ### Returns
3430
+
3431
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>[]\>
3432
+
3433
+ ### Inherited from
3434
+
3435
+ ```ts
3436
+ AbstractArchivist.resolveArchivingArchivists
3437
+ ```
3438
+
3439
+ ***
3440
+
3441
+ ### sendQuery()
3442
+
3443
+ ```ts
3444
+ protected sendQuery<T, P, R>(
3445
+ queryPayload,
3446
+ payloads?,
3447
+ account?): Promise<R[]>;
3448
+ ```
3449
+
3450
+ ### Type Parameters
3451
+
3452
+ #### T
3453
+
3454
+ `T` *extends* `Query`
3455
+
3456
+ #### P
3457
+
3458
+ `P` *extends* `Payload` = `Payload`
3459
+
3460
+ #### R
3461
+
3462
+ `R` *extends* `Payload` = `Payload`
3463
+
3464
+ ### Parameters
3465
+
3466
+ #### queryPayload
3467
+
3468
+ `T`
3469
+
3470
+ #### payloads?
3471
+
3472
+ `P`[]
3473
+
3474
+ #### account?
3475
+
3476
+ `AccountInstance`
3477
+
3478
+ ### Returns
3479
+
3480
+ `Promise`\<`R`[]\>
3481
+
3482
+ ### Inherited from
3483
+
3484
+ ```ts
3485
+ AbstractArchivist.sendQuery
3486
+ ```
3487
+
3488
+ ***
3489
+
3490
+ ### sendQueryRaw()
3491
+
3492
+ ```ts
3493
+ protected sendQueryRaw<T, P, R>(
3494
+ queryPayload,
3495
+ payloads?,
3496
+ account?): Promise<ModuleQueryResult<R>>;
3497
+ ```
3498
+
3499
+ ### Type Parameters
3500
+
3501
+ #### T
3502
+
3503
+ `T` *extends* `Query`
3504
+
3505
+ #### P
3506
+
3507
+ `P` *extends* `Payload` = `Payload`
3508
+
3509
+ #### R
3510
+
3511
+ `R` *extends* `Payload` = `Payload`
3512
+
3513
+ ### Parameters
3514
+
3515
+ #### queryPayload
3516
+
3517
+ `T`
3518
+
3519
+ #### payloads?
3520
+
3521
+ `P`[]
3522
+
3523
+ #### account?
3524
+
3525
+ `AccountInstance`
3526
+
3527
+ ### Returns
3528
+
3529
+ `Promise`\<`ModuleQueryResult`\<`R`\>\>
3530
+
3531
+ ### Inherited from
3532
+
3533
+ ```ts
3534
+ AbstractArchivist.sendQueryRaw
3535
+ ```
3536
+
3537
+ ***
3538
+
3539
+ ### storeToArchivists()
3540
+
3541
+ ```ts
3542
+ protected storeToArchivists(payloads): Promise<Payload[]>;
3543
+ ```
3544
+
3545
+ ### Parameters
3546
+
3547
+ #### payloads
3548
+
3549
+ `Payload`[]
3550
+
3551
+ ### Returns
3552
+
3553
+ `Promise`\<`Payload`[]\>
3554
+
3555
+ ### Inherited from
3556
+
3557
+ ```ts
3558
+ AbstractArchivist.storeToArchivists
3559
+ ```
3560
+
3561
+ ### type-aliases
3562
+
3563
+ ### <a id="CookieArchivistConfig"></a>CookieArchivistConfig
3564
+
3565
+ [**@xyo-network/archivist-cookie**](#../README)
3566
+
3567
+ ***
3568
+
3569
+ ```ts
3570
+ type CookieArchivistConfig = ArchivistConfig<{
3571
+ domain?: string;
3572
+ maxEntries?: number;
3573
+ maxEntrySize?: number;
3574
+ namespace?: string;
3575
+ schema: CookieArchivistConfigSchema;
3576
+ }>;
3577
+ ```
3578
+
3579
+ ### <a id="CookieArchivistConfigSchema"></a>CookieArchivistConfigSchema
3580
+
3581
+ [**@xyo-network/archivist-cookie**](#../README)
3582
+
3583
+ ***
3584
+
3585
+ ```ts
3586
+ type CookieArchivistConfigSchema = typeof CookieArchivistConfigSchema;
3587
+ ```
3588
+
3589
+ ### <a id="CookieArchivistParams"></a>CookieArchivistParams
3590
+
3591
+ [**@xyo-network/archivist-cookie**](#../README)
3592
+
3593
+ ***
3594
+
3595
+ ```ts
3596
+ type CookieArchivistParams = ArchivistParams<AnyConfigSchema<CookieArchivistConfig>>;
3597
+ ```
3598
+
3599
+ ### variables
3600
+
3601
+ ### <a id="CookieArchivistConfigSchema"></a>CookieArchivistConfigSchema
3602
+
3603
+ [**@xyo-network/archivist-cookie**](#../README)
3604
+
3605
+ ***
3606
+
3607
+ ```ts
3608
+ const CookieArchivistConfigSchema: "network.xyo.archivist.cookie.config" & object;
3609
+ ```
3610
+
3611
+ ## Type Declaration
3612
+
3613
+ ### \_\_schema
18
3614
 
19
- ## Credits
3615
+ ```ts
3616
+ readonly __schema: true;
3617
+ ```
20
3618
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
3619
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
3620
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
3621
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/archivist-cookie.svg
3622
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/archivist-cookie
3623
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/archivist-cookie.svg
3624
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE