@xyo-network/archivist-memory 5.3.25 → 5.3.27

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