@xyo-network/node-model 5.3.25 → 5.3.27

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