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