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