@xyo-network/sentinel-model 5.3.24 → 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 +4532 -10
  2. package/package.json +21 -21
package/README.md CHANGED
@@ -1,23 +1,4545 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/sentinel-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__sentinel-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
+ ### sentinel
50
+
51
+ ### packages
52
+
53
+ ### model
54
+
55
+ ### .temp-typedoc
56
+
57
+ ### classes
58
+
59
+ ### <a id="IsAttachableSentinelInstanceFactory"></a>IsAttachableSentinelInstanceFactory
60
+
61
+ [**@xyo-network/sentinel-model**](#../README)
62
+
63
+ ***
64
+
65
+ ## Extends
66
+
67
+ - `IsObjectFactory`\<`T`\>
68
+
69
+ ## Type Parameters
70
+
71
+ ### T
72
+
73
+ `T` *extends* [`AttachableSentinelInstance`](#../interfaces/AttachableSentinelInstance) = [`AttachableSentinelInstance`](#../interfaces/AttachableSentinelInstance)
74
+
75
+ ## Constructors
76
+
77
+ ### Constructor
78
+
79
+ ```ts
80
+ new IsAttachableSentinelInstanceFactory<T>(): IsAttachableSentinelInstanceFactory<T>;
81
+ ```
82
+
83
+ ### Returns
84
+
85
+ `IsAttachableSentinelInstanceFactory`\<`T`\>
86
+
87
+ ### Inherited from
88
+
89
+ ```ts
90
+ IsObjectFactory<T>.constructor
91
+ ```
92
+
93
+ ### interfaces
94
+
95
+ ### <a id="AttachableSentinelInstance"></a>AttachableSentinelInstance
96
+
97
+ [**@xyo-network/sentinel-model**](#../README)
98
+
99
+ ***
100
+
101
+ ## Extends
102
+
103
+ - [`SentinelModule`](#SentinelModule)\<`TParams`, `TEventData`\>.`AttachableModuleInstance`\<`TParams`, `TEventData`\>.[`SentinelInstance`](#SentinelInstance)\<`TParams`, `TEventData`\>
104
+
105
+ ## Type Parameters
106
+
107
+ ### TParams
108
+
109
+ `TParams` *extends* [`SentinelParams`](#SentinelParams) = [`SentinelParams`](#SentinelParams)
110
+
111
+ ### TEventData
112
+
113
+ `TEventData` *extends* [`SentinelModuleEventData`](#SentinelModuleEventData) = [`SentinelModuleEventData`](#SentinelModuleEventData)
114
+
115
+ ## Properties
116
+
117
+ ### address
118
+
119
+ ```ts
120
+ address: BrandedAddress;
121
+ ```
122
+
123
+ ### Inherited from
124
+
125
+ [`SentinelModule`](#SentinelModule).[`address`](SentinelModule.md#address)
126
+
127
+ ***
128
+
129
+ ### config
130
+
131
+ ```ts
132
+ config: TParams["config"];
133
+ ```
134
+
135
+ ### Inherited from
136
+
137
+ [`SentinelModule`](#SentinelModule).[`config`](SentinelModule.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
+ [`SentinelInstance`](#SentinelInstance).[`id`](SentinelInstance.md#id)
152
+
153
+ ***
154
+
155
+ ### modName?
156
+
157
+ ```ts
158
+ optional modName?: string;
159
+ ```
160
+
161
+ ### Inherited from
162
+
163
+ [`SentinelInstance`](#SentinelInstance).[`modName`](SentinelInstance.md#modname)
164
+
165
+ ***
166
+
167
+ ### params
168
+
169
+ ```ts
170
+ params: TParams;
171
+ ```
172
+
173
+ ### Inherited from
174
+
175
+ [`SentinelModule`](#SentinelModule).[`params`](SentinelModule.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
+ [`SentinelModule`](#SentinelModule).[`previousHash`](SentinelModule.md#previoushash)
192
+
193
+ ***
194
+
195
+ ### queries
196
+
197
+ ```ts
198
+ queries: string[];
199
+ ```
200
+
201
+ ### Inherited from
202
+
203
+ [`SentinelInstance`](#SentinelInstance).[`queries`](SentinelInstance.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
+ [`SentinelModule`](#SentinelModule).[`query`](SentinelModule.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
+ [`SentinelModule`](#SentinelModule).[`queryable`](SentinelModule.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
+ [`SentinelInstance`](#SentinelInstance).[`manifest`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`manifestQuery`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`moduleAddress`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`state`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`stateQuery`](SentinelInstance.md#statequery)
394
+
395
+ ***
396
+
397
+ ### account?
398
+
399
+ ```ts
400
+ optional account?: AccountInstance;
401
+ ```
402
+
403
+ ### Inherited from
404
+
405
+ [`SentinelInstance`](#SentinelInstance).[`account`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`addParent`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`addressCache`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`parents`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`privateChildren`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`publicChildren`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`removeParent`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`siblings`](SentinelInstance.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
+ [`SentinelInstance`](#SentinelInstance).[`pipeline`](SentinelInstance.md#pipeline)
552
+
553
+ ***
554
+
555
+ ### status
556
+
557
+ ```ts
558
+ readonly status: ModuleStatus | null;
559
+ ```
560
+
561
+ ### Inherited from
562
+
563
+ [`SentinelInstance`](#SentinelInstance).[`status`](SentinelInstance.md#status)
564
+
565
+ ***
566
+
567
+ ### priority
568
+
569
+ ```ts
570
+ priority: ObjectResolverPriority;
571
+ ```
572
+
573
+ ### Inherited from
574
+
575
+ [`SentinelInstance`](#SentinelInstance).[`priority`](SentinelInstance.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
+ ### report
622
+
623
+ ```ts
624
+ report: (payloads?) => Promisable<Payload[]>;
625
+ ```
626
+
627
+ ### Parameters
628
+
629
+ #### payloads?
630
+
631
+ `Payload`[]
632
+
633
+ ### Returns
634
+
635
+ `Promisable`\<`Payload`[]\>
636
+
637
+ ### Inherited from
638
+
639
+ [`SentinelInstance`](#SentinelInstance).[`report`](SentinelInstance.md#report)
640
+
641
+ ***
642
+
643
+ ### reportQuery
644
+
645
+ ```ts
646
+ reportQuery: (payloads?, account?) => Promisable<ModuleQueryResult<Payload>>;
647
+ ```
648
+
649
+ ### Parameters
650
+
651
+ #### payloads?
652
+
653
+ `Payload`[]
654
+
655
+ #### account?
656
+
657
+ `AccountInstance`
658
+
659
+ ### Returns
660
+
661
+ `Promisable`\<`ModuleQueryResult`\<`Payload`\>\>
662
+
663
+ ### Inherited from
664
+
665
+ [`SentinelInstance`](#SentinelInstance).[`reportQuery`](SentinelInstance.md#reportquery)
666
+
667
+ ## Methods
668
+
669
+ ### resolve()
670
+
671
+ ### Call Signature
672
+
673
+ ```ts
674
+ resolve<T>(all, options?): Promisable<T[]>;
675
+ ```
676
+
677
+ #### Type Parameters
678
+
679
+ ##### T
680
+
681
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
682
+
683
+ #### Parameters
684
+
685
+ ##### all
686
+
687
+ `"*"`
688
+
689
+ ##### options?
690
+
691
+ `ObjectFilterOptions`\<`T`\>
692
+
693
+ #### Returns
694
+
695
+ `Promisable`\<`T`[]\>
696
+
697
+ #### Inherited from
698
+
699
+ [`SentinelInstance`](#SentinelInstance).[`resolve`](SentinelInstance.md#resolve)
700
+
701
+ ### Call Signature
702
+
703
+ ```ts
704
+ resolve<T>(id, options?): Promisable<T | undefined>;
705
+ ```
706
+
707
+ #### Type Parameters
708
+
709
+ ##### T
710
+
711
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
712
+
713
+ #### Parameters
714
+
715
+ ##### id
716
+
717
+ `ModuleIdentifier`
718
+
719
+ ##### options?
720
+
721
+ `ObjectFilterOptions`\<`T`\>
722
+
723
+ #### Returns
724
+
725
+ `Promisable`\<`T` \| `undefined`\>
726
+
727
+ #### Inherited from
728
+
729
+ [`SentinelInstance`](#SentinelInstance).[`resolve`](SentinelInstance.md#resolve)
730
+
731
+ ### Call Signature
732
+
733
+ ```ts
734
+ resolve<T>(id?, options?): Promisable<T | T[] | undefined>;
735
+ ```
736
+
737
+ #### Type Parameters
738
+
739
+ ##### T
740
+
741
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
742
+
743
+ #### Parameters
744
+
745
+ ##### id?
746
+
747
+ `ModuleIdentifier`
748
+
749
+ ##### options?
750
+
751
+ `ObjectFilterOptions`\<`T`\>
752
+
753
+ #### Returns
754
+
755
+ `Promisable`\<`T` \| `T`[] \| `undefined`\>
756
+
757
+ #### Inherited from
758
+
759
+ [`SentinelInstance`](#SentinelInstance).[`resolve`](SentinelInstance.md#resolve)
760
+
761
+ ***
762
+
763
+ ### resolvePrivate()
764
+
765
+ ### Call Signature
766
+
767
+ ```ts
768
+ resolvePrivate<T>(all, options?): Promise<T[]>;
769
+ ```
770
+
771
+ #### Type Parameters
772
+
773
+ ##### T
774
+
775
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
776
+
777
+ #### Parameters
778
+
779
+ ##### all
780
+
781
+ `"*"`
782
+
783
+ ##### options?
784
+
785
+ `ObjectFilterOptions`\<`T`\>
786
+
787
+ #### Returns
788
+
789
+ `Promise`\<`T`[]\>
790
+
791
+ #### Inherited from
792
+
793
+ [`SentinelInstance`](#SentinelInstance).[`resolvePrivate`](SentinelInstance.md#resolveprivate)
794
+
795
+ ### Call Signature
796
+
797
+ ```ts
798
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
799
+ ```
800
+
801
+ #### Type Parameters
802
+
803
+ ##### T
804
+
805
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
806
+
807
+ #### Parameters
808
+
809
+ ##### id
810
+
811
+ `ModuleIdentifier`
812
+
813
+ ##### options?
814
+
815
+ `ObjectFilterOptions`\<`T`\>
816
+
817
+ #### Returns
818
+
819
+ `Promise`\<`T` \| `undefined`\>
820
+
821
+ #### Inherited from
822
+
823
+ [`SentinelInstance`](#SentinelInstance).[`resolvePrivate`](SentinelInstance.md#resolveprivate)
824
+
825
+ ### Call Signature
826
+
827
+ ```ts
828
+ resolvePrivate<T>(id, options?): Promise<T | T[] | undefined>;
829
+ ```
830
+
831
+ #### Type Parameters
832
+
833
+ ##### T
834
+
835
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
836
+
837
+ #### Parameters
838
+
839
+ ##### id
840
+
841
+ `ModuleIdentifier`
842
+
843
+ ##### options?
844
+
845
+ `ObjectFilterOptions`\<`T`\>
846
+
847
+ #### Returns
848
+
849
+ `Promise`\<`T` \| `T`[] \| `undefined`\>
850
+
851
+ #### Inherited from
852
+
853
+ [`SentinelInstance`](#SentinelInstance).[`resolvePrivate`](SentinelInstance.md#resolveprivate)
854
+
855
+ ### <a id="CustomSentinelInstance"></a>CustomSentinelInstance
856
+
857
+ [**@xyo-network/sentinel-model**](#../README)
858
+
859
+ ***
860
+
861
+ ## Extends
862
+
863
+ - [`CustomSentinelModule`](#CustomSentinelModule)\<`TParams`, `TEvents`\>.[`Sentinel`](#Sentinel).[`SentinelInstance`](#SentinelInstance)\<`TParams`, `TEvents`\>
864
+
865
+ ## Type Parameters
866
+
867
+ ### TParams
868
+
869
+ `TParams` *extends* [`SentinelParams`](#SentinelParams) = [`SentinelParams`](#SentinelParams)
870
+
871
+ ### TEvents
872
+
873
+ `TEvents` *extends* [`SentinelModuleEventData`](#SentinelModuleEventData)\<[`SentinelInstance`](#SentinelInstance)\<`TParams`\>\> = [`SentinelModuleEventData`](#SentinelModuleEventData)\<[`SentinelInstance`](#SentinelInstance)\<`TParams`\>\>
874
+
875
+ ## Properties
876
+
877
+ ### address
878
+
879
+ ```ts
880
+ address: BrandedAddress;
881
+ ```
882
+
883
+ ### Inherited from
884
+
885
+ [`CustomSentinelModule`](#CustomSentinelModule).[`address`](CustomSentinelModule.md#address)
886
+
887
+ ***
888
+
889
+ ### config
890
+
891
+ ```ts
892
+ config: TParams["config"];
893
+ ```
894
+
895
+ ### Inherited from
896
+
897
+ [`CustomSentinelModule`](#CustomSentinelModule).[`config`](CustomSentinelModule.md#config)
898
+
899
+ ***
900
+
901
+ ### id
902
+
903
+ ```ts
904
+ id: string;
905
+ ```
906
+
907
+ The name (if specified) or address of the module
908
+
909
+ ### Inherited from
910
+
911
+ [`CustomSentinelModule`](#CustomSentinelModule).[`id`](CustomSentinelModule.md#id)
912
+
913
+ ***
914
+
915
+ ### modName?
916
+
917
+ ```ts
918
+ optional modName?: string;
919
+ ```
920
+
921
+ ### Inherited from
922
+
923
+ [`CustomSentinelModule`](#CustomSentinelModule).[`modName`](CustomSentinelModule.md#modname)
924
+
925
+ ***
926
+
927
+ ### params
928
+
929
+ ```ts
930
+ params: TParams;
931
+ ```
932
+
933
+ ### Inherited from
934
+
935
+ [`CustomSentinelModule`](#CustomSentinelModule).[`params`](CustomSentinelModule.md#params)
936
+
937
+ ***
938
+
939
+ ### previousHash
940
+
941
+ ```ts
942
+ previousHash: () => Promisable<string | undefined>;
943
+ ```
944
+
945
+ ### Returns
946
+
947
+ `Promisable`\<`string` \| `undefined`\>
948
+
949
+ ### Inherited from
950
+
951
+ [`CustomSentinelModule`](#CustomSentinelModule).[`previousHash`](CustomSentinelModule.md#previoushash)
952
+
953
+ ***
954
+
955
+ ### queries
956
+
957
+ ```ts
958
+ queries: string[];
959
+ ```
960
+
961
+ ### Inherited from
962
+
963
+ [`CustomSentinelModule`](#CustomSentinelModule).[`queries`](CustomSentinelModule.md#queries)
964
+
965
+ ***
966
+
967
+ ### query
968
+
969
+ ```ts
970
+ query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
971
+ ```
972
+
973
+ ### Type Parameters
974
+
975
+ #### T
976
+
977
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
978
+
979
+ #### TConf
980
+
981
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
982
+
983
+ ### Parameters
984
+
985
+ #### query
986
+
987
+ `T`
988
+
989
+ #### payloads?
990
+
991
+ `Payload`[]
992
+
993
+ #### queryConfig?
994
+
995
+ `TConf`
996
+
997
+ ### Returns
998
+
999
+ `Promisable`\<`ModuleQueryResult`\>
1000
+
1001
+ ### Inherited from
1002
+
1003
+ [`CustomSentinelModule`](#CustomSentinelModule).[`query`](CustomSentinelModule.md#query)
1004
+
1005
+ ***
1006
+
1007
+ ### queryable
1008
+
1009
+ ```ts
1010
+ queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
1011
+ ```
1012
+
1013
+ ### Type Parameters
1014
+
1015
+ #### T
1016
+
1017
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1018
+
1019
+ #### TConf
1020
+
1021
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1022
+
1023
+ ### Parameters
1024
+
1025
+ #### query
1026
+
1027
+ `T`
1028
+
1029
+ #### payloads?
1030
+
1031
+ `Payload`[]
1032
+
1033
+ #### queryConfig?
1034
+
1035
+ `TConf`
1036
+
1037
+ ### Returns
1038
+
1039
+ `Promisable`\<`boolean`\>
1040
+
1041
+ ### Inherited from
1042
+
1043
+ [`CustomSentinelModule`](#CustomSentinelModule).[`queryable`](CustomSentinelModule.md#queryable)
1044
+
1045
+ ***
1046
+
1047
+ ### manifest
1048
+
1049
+ ```ts
1050
+ manifest: (maxDepth?, ignoreAddresses?) => Promisable<ModuleManifestPayload>;
1051
+ ```
1052
+
1053
+ ### Parameters
1054
+
1055
+ #### maxDepth?
1056
+
1057
+ `number`
1058
+
1059
+ #### ignoreAddresses?
1060
+
1061
+ `BrandedAddress`[]
1062
+
1063
+ ### Returns
1064
+
1065
+ `Promisable`\<`ModuleManifestPayload`\>
1066
+
1067
+ ### Inherited from
1068
+
1069
+ [`SentinelInstance`](#SentinelInstance).[`manifest`](SentinelInstance.md#manifest)
1070
+
1071
+ ***
1072
+
1073
+ ### manifestQuery
1074
+
1075
+ ```ts
1076
+ manifestQuery: (account, maxDepth?, ignoreAddresses?) => Promisable<ModuleQueryResult<ModuleManifestPayload>>;
1077
+ ```
1078
+
1079
+ ### Parameters
1080
+
1081
+ #### account
1082
+
1083
+ `AccountInstance`
1084
+
1085
+ #### maxDepth?
1086
+
1087
+ `number`
1088
+
1089
+ #### ignoreAddresses?
1090
+
1091
+ `BrandedAddress`[]
1092
+
1093
+ ### Returns
1094
+
1095
+ `Promisable`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
1096
+
1097
+ ### Inherited from
1098
+
1099
+ [`SentinelInstance`](#SentinelInstance).[`manifestQuery`](SentinelInstance.md#manifestquery)
1100
+
1101
+ ***
1102
+
1103
+ ### moduleAddress
1104
+
1105
+ ```ts
1106
+ moduleAddress: () => Promisable<(AddressPreviousHashPayload | AddressPayload)[]>;
1107
+ ```
1108
+
1109
+ ### Returns
1110
+
1111
+ `Promisable`\<(`AddressPreviousHashPayload` \| `AddressPayload`)[]\>
1112
+
1113
+ ### Inherited from
1114
+
1115
+ [`SentinelInstance`](#SentinelInstance).[`moduleAddress`](SentinelInstance.md#moduleaddress)
1116
+
1117
+ ***
1118
+
1119
+ ### state
1120
+
1121
+ ```ts
1122
+ state: () => Promisable<Payload[]>;
1123
+ ```
1124
+
1125
+ ### Returns
1126
+
1127
+ `Promisable`\<`Payload`[]\>
1128
+
1129
+ ### Inherited from
1130
+
1131
+ [`SentinelInstance`](#SentinelInstance).[`state`](SentinelInstance.md#state)
1132
+
1133
+ ***
1134
+
1135
+ ### stateQuery
1136
+
1137
+ ```ts
1138
+ stateQuery: (account) => Promisable<ModuleQueryResult>;
1139
+ ```
1140
+
1141
+ ### Parameters
1142
+
1143
+ #### account
1144
+
1145
+ `AccountInstance`
1146
+
1147
+ ### Returns
1148
+
1149
+ `Promisable`\<`ModuleQueryResult`\>
1150
+
1151
+ ### Inherited from
1152
+
1153
+ [`SentinelInstance`](#SentinelInstance).[`stateQuery`](SentinelInstance.md#statequery)
1154
+
1155
+ ***
1156
+
1157
+ ### account?
1158
+
1159
+ ```ts
1160
+ optional account?: AccountInstance;
1161
+ ```
1162
+
1163
+ ### Inherited from
1164
+
1165
+ [`SentinelInstance`](#SentinelInstance).[`account`](SentinelInstance.md#account)
1166
+
1167
+ ***
1168
+
1169
+ ### addParent
1170
+
1171
+ ```ts
1172
+ addParent: (mod) => void;
1173
+ ```
1174
+
1175
+ ### Parameters
1176
+
1177
+ #### mod
1178
+
1179
+ `ModuleInstance`
1180
+
1181
+ ### Returns
1182
+
1183
+ `void`
1184
+
1185
+ ### Inherited from
1186
+
1187
+ [`SentinelInstance`](#SentinelInstance).[`addParent`](SentinelInstance.md#addparent)
1188
+
1189
+ ***
1190
+
1191
+ ### addressCache?
1192
+
1193
+ ```ts
1194
+ optional addressCache?: (direction, includePrivate) => AddressToWeakInstanceCache | undefined;
1195
+ ```
1196
+
1197
+ ### Parameters
1198
+
1199
+ #### direction
1200
+
1201
+ `Direction`
1202
+
1203
+ #### includePrivate
1204
+
1205
+ `boolean`
1206
+
1207
+ ### Returns
1208
+
1209
+ `AddressToWeakInstanceCache` \| `undefined`
1210
+
1211
+ ### Inherited from
1212
+
1213
+ [`SentinelInstance`](#SentinelInstance).[`addressCache`](SentinelInstance.md#addresscache)
1214
+
1215
+ ***
1216
+
1217
+ ### parents
1218
+
1219
+ ```ts
1220
+ parents: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1221
+ ```
1222
+
1223
+ ### Returns
1224
+
1225
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1226
+
1227
+ ### Inherited from
1228
+
1229
+ [`SentinelInstance`](#SentinelInstance).[`parents`](SentinelInstance.md#parents)
1230
+
1231
+ ***
1232
+
1233
+ ### privateChildren
1234
+
1235
+ ```ts
1236
+ privateChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1237
+ ```
1238
+
1239
+ ### Returns
1240
+
1241
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1242
+
1243
+ ### Inherited from
1244
+
1245
+ [`SentinelInstance`](#SentinelInstance).[`privateChildren`](SentinelInstance.md#privatechildren)
1246
+
1247
+ ***
1248
+
1249
+ ### publicChildren
1250
+
1251
+ ```ts
1252
+ publicChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1253
+ ```
1254
+
1255
+ ### Returns
1256
+
1257
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1258
+
1259
+ ### Inherited from
1260
+
1261
+ [`SentinelInstance`](#SentinelInstance).[`publicChildren`](SentinelInstance.md#publicchildren)
1262
+
1263
+ ***
1264
+
1265
+ ### removeParent
1266
+
1267
+ ```ts
1268
+ removeParent: (address) => void;
1269
+ ```
1270
+
1271
+ ### Parameters
1272
+
1273
+ #### address
1274
+
1275
+ `BrandedAddress`
1276
+
1277
+ ### Returns
1278
+
1279
+ `void`
1280
+
1281
+ ### Inherited from
1282
+
1283
+ [`SentinelInstance`](#SentinelInstance).[`removeParent`](SentinelInstance.md#removeparent)
1284
+
1285
+ ***
1286
+
1287
+ ### siblings
1288
+
1289
+ ```ts
1290
+ siblings: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
1291
+ ```
1292
+
1293
+ ### Returns
1294
+
1295
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
1296
+
1297
+ ### Inherited from
1298
+
1299
+ [`SentinelInstance`](#SentinelInstance).[`siblings`](SentinelInstance.md#siblings)
1300
+
1301
+ ***
1302
+
1303
+ ### pipeline?
1304
+
1305
+ ```ts
1306
+ readonly optional pipeline?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
1307
+ ```
1308
+
1309
+ ### Inherited from
1310
+
1311
+ [`SentinelInstance`](#SentinelInstance).[`pipeline`](SentinelInstance.md#pipeline)
1312
+
1313
+ ***
1314
+
1315
+ ### status
1316
+
1317
+ ```ts
1318
+ readonly status: ModuleStatus | null;
1319
+ ```
1320
+
1321
+ ### Inherited from
1322
+
1323
+ [`SentinelInstance`](#SentinelInstance).[`status`](SentinelInstance.md#status)
1324
+
1325
+ ***
1326
+
1327
+ ### priority
1328
+
1329
+ ```ts
1330
+ priority: ObjectResolverPriority;
1331
+ ```
1332
+
1333
+ ### Inherited from
1334
+
1335
+ [`SentinelInstance`](#SentinelInstance).[`priority`](SentinelInstance.md#priority)
1336
+
1337
+ ***
1338
+
1339
+ ### report
1340
+
1341
+ ```ts
1342
+ report: (payloads?) => Promisable<Payload[]>;
1343
+ ```
1344
+
1345
+ ### Parameters
1346
+
1347
+ #### payloads?
1348
+
1349
+ `Payload`[]
1350
+
1351
+ ### Returns
1352
+
1353
+ `Promisable`\<`Payload`[]\>
1354
+
1355
+ ### Inherited from
1356
+
1357
+ [`Sentinel`](#Sentinel).[`report`](Sentinel.md#report)
1358
+
1359
+ ***
1360
+
1361
+ ### reportQuery
1362
+
1363
+ ```ts
1364
+ reportQuery: (payloads?, account?) => Promisable<ModuleQueryResult<Payload>>;
1365
+ ```
1366
+
1367
+ ### Parameters
1368
+
1369
+ #### payloads?
1370
+
1371
+ `Payload`[]
1372
+
1373
+ #### account?
1374
+
1375
+ `AccountInstance`
1376
+
1377
+ ### Returns
1378
+
1379
+ `Promisable`\<`ModuleQueryResult`\<`Payload`\>\>
1380
+
1381
+ ### Inherited from
1382
+
1383
+ [`Sentinel`](#Sentinel).[`reportQuery`](Sentinel.md#reportquery)
1384
+
1385
+ ## Methods
1386
+
1387
+ ### resolve()
1388
+
1389
+ ### Call Signature
1390
+
1391
+ ```ts
1392
+ resolve<T>(all, options?): Promisable<T[]>;
1393
+ ```
1394
+
1395
+ #### Type Parameters
1396
+
1397
+ ##### T
1398
+
1399
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1400
+
1401
+ #### Parameters
1402
+
1403
+ ##### all
1404
+
1405
+ `"*"`
1406
+
1407
+ ##### options?
1408
+
1409
+ `ObjectFilterOptions`\<`T`\>
1410
+
1411
+ #### Returns
1412
+
1413
+ `Promisable`\<`T`[]\>
1414
+
1415
+ #### Inherited from
1416
+
1417
+ [`SentinelInstance`](#SentinelInstance).[`resolve`](SentinelInstance.md#resolve)
1418
+
1419
+ ### Call Signature
1420
+
1421
+ ```ts
1422
+ resolve<T>(id, options?): Promisable<T | undefined>;
1423
+ ```
1424
+
1425
+ #### Type Parameters
1426
+
1427
+ ##### T
1428
+
1429
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1430
+
1431
+ #### Parameters
1432
+
1433
+ ##### id
1434
+
1435
+ `ModuleIdentifier`
1436
+
1437
+ ##### options?
1438
+
1439
+ `ObjectFilterOptions`\<`T`\>
1440
+
1441
+ #### Returns
1442
+
1443
+ `Promisable`\<`T` \| `undefined`\>
1444
+
1445
+ #### Inherited from
1446
+
1447
+ [`SentinelInstance`](#SentinelInstance).[`resolve`](SentinelInstance.md#resolve)
1448
+
1449
+ ### Call Signature
1450
+
1451
+ ```ts
1452
+ resolve<T>(id?, options?): Promisable<T | T[] | undefined>;
1453
+ ```
1454
+
1455
+ #### Type Parameters
1456
+
1457
+ ##### T
1458
+
1459
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1460
+
1461
+ #### Parameters
1462
+
1463
+ ##### id?
1464
+
1465
+ `ModuleIdentifier`
1466
+
1467
+ ##### options?
1468
+
1469
+ `ObjectFilterOptions`\<`T`\>
1470
+
1471
+ #### Returns
1472
+
1473
+ `Promisable`\<`T` \| `T`[] \| `undefined`\>
1474
+
1475
+ #### Inherited from
1476
+
1477
+ [`SentinelInstance`](#SentinelInstance).[`resolve`](SentinelInstance.md#resolve)
1478
+
1479
+ ***
1480
+
1481
+ ### resolvePrivate()
1482
+
1483
+ ### Call Signature
1484
+
1485
+ ```ts
1486
+ resolvePrivate<T>(all, options?): Promise<T[]>;
1487
+ ```
1488
+
1489
+ #### Type Parameters
1490
+
1491
+ ##### T
1492
+
1493
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1494
+
1495
+ #### Parameters
1496
+
1497
+ ##### all
1498
+
1499
+ `"*"`
1500
+
1501
+ ##### options?
1502
+
1503
+ `ObjectFilterOptions`\<`T`\>
1504
+
1505
+ #### Returns
1506
+
1507
+ `Promise`\<`T`[]\>
1508
+
1509
+ #### Inherited from
1510
+
1511
+ [`SentinelInstance`](#SentinelInstance).[`resolvePrivate`](SentinelInstance.md#resolveprivate)
1512
+
1513
+ ### Call Signature
1514
+
1515
+ ```ts
1516
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
1517
+ ```
1518
+
1519
+ #### Type Parameters
1520
+
1521
+ ##### T
1522
+
1523
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1524
+
1525
+ #### Parameters
1526
+
1527
+ ##### id
1528
+
1529
+ `ModuleIdentifier`
1530
+
1531
+ ##### options?
1532
+
1533
+ `ObjectFilterOptions`\<`T`\>
1534
+
1535
+ #### Returns
1536
+
1537
+ `Promise`\<`T` \| `undefined`\>
1538
+
1539
+ #### Inherited from
1540
+
1541
+ [`SentinelInstance`](#SentinelInstance).[`resolvePrivate`](SentinelInstance.md#resolveprivate)
1542
+
1543
+ ### Call Signature
1544
+
1545
+ ```ts
1546
+ resolvePrivate<T>(id, options?): Promise<T | T[] | undefined>;
1547
+ ```
1548
+
1549
+ #### Type Parameters
1550
+
1551
+ ##### T
1552
+
1553
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1554
+
1555
+ #### Parameters
1556
+
1557
+ ##### id
1558
+
1559
+ `ModuleIdentifier`
1560
+
1561
+ ##### options?
1562
+
1563
+ `ObjectFilterOptions`\<`T`\>
1564
+
1565
+ #### Returns
1566
+
1567
+ `Promise`\<`T` \| `T`[] \| `undefined`\>
1568
+
1569
+ #### Inherited from
1570
+
1571
+ [`SentinelInstance`](#SentinelInstance).[`resolvePrivate`](SentinelInstance.md#resolveprivate)
1572
+
1573
+ ### <a id="CustomSentinelModule"></a>CustomSentinelModule
1574
+
1575
+ [**@xyo-network/sentinel-model**](#../README)
1576
+
1577
+ ***
1578
+
1579
+ ## Extends
1580
+
1581
+ - `QueryableModule`\<`TParams`, `TEvents`\>
1582
+
1583
+ ## Extended by
1584
+
1585
+ - [`CustomSentinelInstance`](#CustomSentinelInstance)
1586
+
1587
+ ## Type Parameters
1588
+
1589
+ ### TParams
1590
+
1591
+ `TParams` *extends* [`SentinelParams`](#SentinelParams) = [`SentinelParams`](#SentinelParams)
1592
+
1593
+ ### TEvents
1594
+
1595
+ `TEvents` *extends* [`SentinelModuleEventData`](#SentinelModuleEventData)\<[`SentinelModule`](#SentinelModule)\<`TParams`\>\> = [`SentinelModuleEventData`](#SentinelModuleEventData)\<[`SentinelModule`](#SentinelModule)\<`TParams`\>\>
1596
+
1597
+ ## Properties
1598
+
1599
+ ### address
1600
+
1601
+ ```ts
1602
+ address: BrandedAddress;
1603
+ ```
1604
+
1605
+ ### Inherited from
1606
+
1607
+ ```ts
1608
+ QueryableModule.address
1609
+ ```
1610
+
1611
+ ***
1612
+
1613
+ ### config
1614
+
1615
+ ```ts
1616
+ config: TParams["config"];
1617
+ ```
1618
+
1619
+ ### Inherited from
1620
+
1621
+ ```ts
1622
+ QueryableModule.config
1623
+ ```
1624
+
1625
+ ***
1626
+
1627
+ ### id
1628
+
1629
+ ```ts
1630
+ id: string;
1631
+ ```
1632
+
1633
+ The name (if specified) or address of the module
1634
+
1635
+ ### Inherited from
1636
+
1637
+ ```ts
1638
+ QueryableModule.id
1639
+ ```
1640
+
1641
+ ***
1642
+
1643
+ ### modName?
1644
+
1645
+ ```ts
1646
+ optional modName?: string;
1647
+ ```
1648
+
1649
+ ### Inherited from
1650
+
1651
+ ```ts
1652
+ QueryableModule.modName
1653
+ ```
1654
+
1655
+ ***
1656
+
1657
+ ### params
1658
+
1659
+ ```ts
1660
+ params: TParams;
1661
+ ```
1662
+
1663
+ ### Inherited from
1664
+
1665
+ ```ts
1666
+ QueryableModule.params
1667
+ ```
1668
+
1669
+ ***
1670
+
1671
+ ### previousHash
1672
+
1673
+ ```ts
1674
+ previousHash: () => Promisable<string | undefined>;
1675
+ ```
1676
+
1677
+ ### Returns
1678
+
1679
+ `Promisable`\<`string` \| `undefined`\>
1680
+
1681
+ ### Inherited from
1682
+
1683
+ ```ts
1684
+ QueryableModule.previousHash
1685
+ ```
1686
+
1687
+ ***
1688
+
1689
+ ### queries
1690
+
1691
+ ```ts
1692
+ queries: string[];
1693
+ ```
1694
+
1695
+ ### Inherited from
1696
+
1697
+ ```ts
1698
+ QueryableModule.queries
1699
+ ```
1700
+
1701
+ ***
1702
+
1703
+ ### query
1704
+
1705
+ ```ts
1706
+ query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
1707
+ ```
1708
+
1709
+ ### Type Parameters
1710
+
1711
+ #### T
1712
+
1713
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1714
+
1715
+ #### TConf
1716
+
1717
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1718
+
1719
+ ### Parameters
1720
+
1721
+ #### query
1722
+
1723
+ `T`
1724
+
1725
+ #### payloads?
1726
+
1727
+ `Payload`[]
1728
+
1729
+ #### queryConfig?
1730
+
1731
+ `TConf`
1732
+
1733
+ ### Returns
1734
+
1735
+ `Promisable`\<`ModuleQueryResult`\>
1736
+
1737
+ ### Inherited from
1738
+
1739
+ ```ts
1740
+ QueryableModule.query
1741
+ ```
1742
+
1743
+ ***
1744
+
1745
+ ### queryable
1746
+
1747
+ ```ts
1748
+ queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
1749
+ ```
1750
+
1751
+ ### Type Parameters
1752
+
1753
+ #### T
1754
+
1755
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1756
+
1757
+ #### TConf
1758
+
1759
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
1760
+
1761
+ ### Parameters
1762
+
1763
+ #### query
1764
+
1765
+ `T`
1766
+
1767
+ #### payloads?
1768
+
1769
+ `Payload`[]
1770
+
1771
+ #### queryConfig?
1772
+
1773
+ `TConf`
1774
+
1775
+ ### Returns
1776
+
1777
+ `Promisable`\<`boolean`\>
1778
+
1779
+ ### Inherited from
1780
+
1781
+ ```ts
1782
+ QueryableModule.queryable
1783
+ ```
1784
+
1785
+ ### <a id="JobEndEventData"></a>JobEndEventData
1786
+
1787
+ [**@xyo-network/sentinel-model**](#../README)
1788
+
1789
+ ***
1790
+
1791
+ ## Extends
1792
+
1793
+ - `EventData`
1794
+
1795
+ ## Extended by
1796
+
1797
+ - [`SentinelModuleEventData`](#SentinelModuleEventData)
1798
+
1799
+ ## Type Parameters
1800
+
1801
+ ### T
1802
+
1803
+ `T` *extends* `QueryableModule` = `QueryableModule`
1804
+
1805
+ ## Indexable
1806
+
1807
+ ```ts
1808
+ [key: string | number | symbol]: EventArgs
1809
+ ```
1810
+
1811
+ ## Properties
1812
+
1813
+ ### jobEnd
1814
+
1815
+ ```ts
1816
+ jobEnd: object & object;
1817
+ ```
1818
+
1819
+ ### Type Declaration
1820
+
1821
+ #### mod
1822
+
1823
+ ```ts
1824
+ mod: T;
1825
+ ```
1826
+
1827
+ ### Type Declaration
1828
+
1829
+ #### finalResult?
1830
+
1831
+ ```ts
1832
+ optional finalResult?: Record<BrandedAddress, Payload[]>;
1833
+ ```
1834
+
1835
+ #### inPayloads?
1836
+
1837
+ ```ts
1838
+ optional inPayloads?: Payload[];
1839
+ ```
1840
+
1841
+ ### <a id="JobStartEventData"></a>JobStartEventData
1842
+
1843
+ [**@xyo-network/sentinel-model**](#../README)
1844
+
1845
+ ***
1846
+
1847
+ ## Extends
1848
+
1849
+ - `EventData`
1850
+
1851
+ ## Extended by
1852
+
1853
+ - [`SentinelModuleEventData`](#SentinelModuleEventData)
1854
+
1855
+ ## Type Parameters
1856
+
1857
+ ### T
1858
+
1859
+ `T` *extends* `QueryableModule` = `QueryableModule`
1860
+
1861
+ ## Indexable
1862
+
1863
+ ```ts
1864
+ [key: string | number | symbol]: EventArgs
1865
+ ```
1866
+
1867
+ ## Properties
1868
+
1869
+ ### jobStart
1870
+
1871
+ ```ts
1872
+ jobStart: object & object;
1873
+ ```
1874
+
1875
+ ### Type Declaration
1876
+
1877
+ #### mod
1878
+
1879
+ ```ts
1880
+ mod: T;
1881
+ ```
1882
+
1883
+ ### Type Declaration
1884
+
1885
+ #### inPayloads?
1886
+
1887
+ ```ts
1888
+ optional inPayloads?: Payload[];
1889
+ ```
1890
+
1891
+ ### <a id="ModuleTask"></a>ModuleTask
1892
+
1893
+ [**@xyo-network/sentinel-model**](#../README)
1894
+
1895
+ ***
1896
+
1897
+ ## Type Parameters
1898
+
1899
+ ### TEndpoints
1900
+
1901
+ `TEndpoints` *extends* `string` = `string`
1902
+
1903
+ ## Properties
1904
+
1905
+ ### endPoint?
1906
+
1907
+ ```ts
1908
+ optional endPoint?: TEndpoints;
1909
+ ```
1910
+
1911
+ ### Field
1912
+
1913
+ the name of the endPoint that is being called. If not specified, the default endPoint is used
1914
+
1915
+ ***
1916
+
1917
+ ### input?
1918
+
1919
+ ```ts
1920
+ optional input?: boolean | ModuleIdentifier | ModuleIdentifier[];
1921
+ ```
1922
+
1923
+ ### Field
1924
+
1925
+ determines what inputs are sent to each module - if string, that is the output from other module (name/address)
1926
+
1927
+ ***
1928
+
1929
+ ### mod
1930
+
1931
+ ```ts
1932
+ mod: ModuleIdentifier;
1933
+ ```
1934
+
1935
+ ### Field
1936
+
1937
+ the modules that performs the task
1938
+
1939
+ ***
1940
+
1941
+ ### required?
1942
+
1943
+ ```ts
1944
+ optional required?: boolean;
1945
+ ```
1946
+
1947
+ ### <a id="ReportEndEventData"></a>ReportEndEventData
1948
+
1949
+ [**@xyo-network/sentinel-model**](#../README)
1950
+
1951
+ ***
1952
+
1953
+ ## Extends
1954
+
1955
+ - `EventData`
1956
+
1957
+ ## Extended by
1958
+
1959
+ - [`SentinelModuleEventData`](#SentinelModuleEventData)
1960
+
1961
+ ## Type Parameters
1962
+
1963
+ ### T
1964
+
1965
+ `T` *extends* `QueryableModule` = `QueryableModule`
1966
+
1967
+ ## Indexable
1968
+
1969
+ ```ts
1970
+ [key: string | number | symbol]: EventArgs
1971
+ ```
1972
+
1973
+ ## Properties
1974
+
1975
+ ### reportEnd
1976
+
1977
+ ```ts
1978
+ reportEnd: object & object;
1979
+ ```
1980
+
1981
+ ### Type Declaration
1982
+
1983
+ #### mod
1984
+
1985
+ ```ts
1986
+ mod: T;
1987
+ ```
1988
+
1989
+ ### Type Declaration
1990
+
1991
+ #### boundwitness?
1992
+
1993
+ ```ts
1994
+ optional boundwitness?: object;
1995
+ ```
1996
+
1997
+ ##### boundwitness.schema
1998
+
1999
+ ```ts
2000
+ schema: "network.xyo.boundwitness" & object;
2001
+ ```
2002
+
2003
+ ##### Type Declaration
2004
+
2005
+ ##### \_\_schema
2006
+
2007
+ ```ts
2008
+ readonly __schema: true;
2009
+ ```
2010
+
2011
+ ##### boundwitness.addresses
2012
+
2013
+ ```ts
2014
+ addresses: Lowercase<string> & object & object[];
2015
+ ```
2016
+
2017
+ ##### boundwitness.payload\_hashes
2018
+
2019
+ ```ts
2020
+ payload_hashes: BrandedHash[];
2021
+ ```
2022
+
2023
+ ##### boundwitness.payload\_schemas
2024
+
2025
+ ```ts
2026
+ payload_schemas: BrandedSchema<string>[];
2027
+ ```
2028
+
2029
+ ##### boundwitness.previous\_hashes
2030
+
2031
+ ```ts
2032
+ previous_hashes: (BrandedHash | null)[];
2033
+ ```
2034
+
2035
+ ##### boundwitness.$destination?
2036
+
2037
+ ```ts
2038
+ optional $destination?: Lowercase<string> & object & object;
2039
+ ```
2040
+
2041
+ ##### Type Declaration
2042
+
2043
+ ##### \_\_hex
2044
+
2045
+ ```ts
2046
+ readonly __hex: true;
2047
+ ```
2048
+
2049
+ ##### Type Declaration
2050
+
2051
+ ##### \_\_address
2052
+
2053
+ ```ts
2054
+ readonly __address: true;
2055
+ ```
2056
+
2057
+ ##### boundwitness.$sourceQuery?
2058
+
2059
+ ```ts
2060
+ optional $sourceQuery?: BrandedHash;
2061
+ ```
2062
+
2063
+ ##### boundwitness.$signatures
2064
+
2065
+ ```ts
2066
+ $signatures: (BrandedHex | null)[];
2067
+ ```
2068
+
2069
+ #### inPayloads?
2070
+
2071
+ ```ts
2072
+ optional inPayloads?: Payload[];
2073
+ ```
2074
+
2075
+ #### outPayloads?
2076
+
2077
+ ```ts
2078
+ optional outPayloads?: Payload[];
2079
+ ```
2080
+
2081
+ ### <a id="ReportStartEventData"></a>ReportStartEventData
2082
+
2083
+ [**@xyo-network/sentinel-model**](#../README)
2084
+
2085
+ ***
2086
+
2087
+ ## Extends
2088
+
2089
+ - `EventData`
2090
+
2091
+ ## Extended by
2092
+
2093
+ - [`SentinelModuleEventData`](#SentinelModuleEventData)
2094
+
2095
+ ## Type Parameters
2096
+
2097
+ ### T
2098
+
2099
+ `T` *extends* `QueryableModule` = `QueryableModule`
2100
+
2101
+ ## Indexable
2102
+
2103
+ ```ts
2104
+ [key: string | number | symbol]: EventArgs
2105
+ ```
2106
+
2107
+ ## Properties
2108
+
2109
+ ### reportStart
2110
+
2111
+ ```ts
2112
+ reportStart: object & object;
2113
+ ```
2114
+
2115
+ ### Type Declaration
2116
+
2117
+ #### mod
2118
+
2119
+ ```ts
2120
+ mod: T;
2121
+ ```
2122
+
2123
+ ### Type Declaration
2124
+
2125
+ #### inPayloads?
2126
+
2127
+ ```ts
2128
+ optional inPayloads?: Payload[];
2129
+ ```
2130
+
2131
+ ### <a id="Sentinel"></a>Sentinel
2132
+
2133
+ [**@xyo-network/sentinel-model**](#../README)
2134
+
2135
+ ***
2136
+
2137
+ ## Extended by
2138
+
2139
+ - [`SentinelInstance`](#SentinelInstance)
2140
+ - [`CustomSentinelInstance`](#CustomSentinelInstance)
2141
+
2142
+ ## Type Parameters
2143
+
2144
+ ### TIn
2145
+
2146
+ `TIn` *extends* `Payload` = `Payload`
2147
+
2148
+ ### TOut
2149
+
2150
+ `TOut` *extends* `Payload` = `Payload`
2151
+
2152
+ ## Properties
2153
+
2154
+ ### report
2155
+
2156
+ ```ts
2157
+ report: (payloads?) => Promisable<TOut[]>;
2158
+ ```
2159
+
2160
+ ### Parameters
2161
+
2162
+ #### payloads?
2163
+
2164
+ `TIn`[]
2165
+
2166
+ ### Returns
2167
+
2168
+ `Promisable`\<`TOut`[]\>
2169
+
2170
+ ***
2171
+
2172
+ ### reportQuery
2173
+
2174
+ ```ts
2175
+ reportQuery: (payloads?, account?) => Promisable<ModuleQueryResult<TOut>>;
2176
+ ```
2177
+
2178
+ ### Parameters
2179
+
2180
+ #### payloads?
2181
+
2182
+ `TIn`[]
2183
+
2184
+ #### account?
2185
+
2186
+ `AccountInstance`
2187
+
2188
+ ### Returns
2189
+
2190
+ `Promisable`\<`ModuleQueryResult`\<`TOut`\>\>
2191
+
2192
+ ### <a id="SentinelInstance"></a>SentinelInstance
2193
+
2194
+ [**@xyo-network/sentinel-model**](#../README)
2195
+
2196
+ ***
2197
+
2198
+ ## Extends
2199
+
2200
+ - [`SentinelModule`](#SentinelModule)\<`TParams`, `TEventData`\>.[`Sentinel`](#Sentinel).`ModuleInstance`\<`TParams`, `TEventData`\>
2201
+
2202
+ ## Extended by
2203
+
2204
+ - [`AttachableSentinelInstance`](#AttachableSentinelInstance)
2205
+ - [`CustomSentinelInstance`](#CustomSentinelInstance)
2206
+
2207
+ ## Type Parameters
2208
+
2209
+ ### TParams
2210
+
2211
+ `TParams` *extends* [`SentinelParams`](#SentinelParams) = [`SentinelParams`](#SentinelParams)
2212
+
2213
+ ### TEventData
2214
+
2215
+ `TEventData` *extends* [`SentinelModuleEventData`](#SentinelModuleEventData) = [`SentinelModuleEventData`](#SentinelModuleEventData)
2216
+
2217
+ ## Properties
2218
+
2219
+ ### address
2220
+
2221
+ ```ts
2222
+ address: BrandedAddress;
2223
+ ```
2224
+
2225
+ ### Inherited from
2226
+
2227
+ [`SentinelModule`](#SentinelModule).[`address`](SentinelModule.md#address)
2228
+
2229
+ ***
2230
+
2231
+ ### config
2232
+
2233
+ ```ts
2234
+ config: TParams["config"];
2235
+ ```
2236
+
2237
+ ### Inherited from
2238
+
2239
+ [`SentinelModule`](#SentinelModule).[`config`](SentinelModule.md#config)
2240
+
2241
+ ***
2242
+
2243
+ ### id
2244
+
2245
+ ```ts
2246
+ id: string;
2247
+ ```
2248
+
2249
+ The name (if specified) or address of the module
2250
+
2251
+ ### Inherited from
2252
+
2253
+ [`SentinelModule`](#SentinelModule).[`id`](SentinelModule.md#id)
2254
+
2255
+ ***
2256
+
2257
+ ### modName?
2258
+
2259
+ ```ts
2260
+ optional modName?: string;
2261
+ ```
2262
+
2263
+ ### Inherited from
2264
+
2265
+ [`SentinelModule`](#SentinelModule).[`modName`](SentinelModule.md#modname)
2266
+
2267
+ ***
2268
+
2269
+ ### params
2270
+
2271
+ ```ts
2272
+ params: TParams;
2273
+ ```
2274
+
2275
+ ### Inherited from
2276
+
2277
+ [`SentinelModule`](#SentinelModule).[`params`](SentinelModule.md#params)
2278
+
2279
+ ***
2280
+
2281
+ ### previousHash
2282
+
2283
+ ```ts
2284
+ previousHash: () => Promisable<string | undefined>;
2285
+ ```
2286
+
2287
+ ### Returns
2288
+
2289
+ `Promisable`\<`string` \| `undefined`\>
2290
+
2291
+ ### Inherited from
2292
+
2293
+ [`SentinelModule`](#SentinelModule).[`previousHash`](SentinelModule.md#previoushash)
2294
+
2295
+ ***
2296
+
2297
+ ### queries
2298
+
2299
+ ```ts
2300
+ queries: string[];
2301
+ ```
2302
+
2303
+ ### Inherited from
2304
+
2305
+ [`SentinelModule`](#SentinelModule).[`queries`](SentinelModule.md#queries)
2306
+
2307
+ ***
2308
+
2309
+ ### query
2310
+
2311
+ ```ts
2312
+ query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
2313
+ ```
2314
+
2315
+ ### Type Parameters
2316
+
2317
+ #### T
2318
+
2319
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
2320
+
2321
+ #### TConf
2322
+
2323
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
2324
+
2325
+ ### Parameters
2326
+
2327
+ #### query
2328
+
2329
+ `T`
2330
+
2331
+ #### payloads?
2332
+
2333
+ `Payload`[]
2334
+
2335
+ #### queryConfig?
2336
+
2337
+ `TConf`
2338
+
2339
+ ### Returns
2340
+
2341
+ `Promisable`\<`ModuleQueryResult`\>
2342
+
2343
+ ### Inherited from
2344
+
2345
+ [`SentinelModule`](#SentinelModule).[`query`](SentinelModule.md#query)
2346
+
2347
+ ***
2348
+
2349
+ ### queryable
2350
+
2351
+ ```ts
2352
+ queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
2353
+ ```
2354
+
2355
+ ### Type Parameters
2356
+
2357
+ #### T
2358
+
2359
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
2360
+
2361
+ #### TConf
2362
+
2363
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
2364
+
2365
+ ### Parameters
2366
+
2367
+ #### query
2368
+
2369
+ `T`
2370
+
2371
+ #### payloads?
2372
+
2373
+ `Payload`[]
2374
+
2375
+ #### queryConfig?
2376
+
2377
+ `TConf`
2378
+
2379
+ ### Returns
2380
+
2381
+ `Promisable`\<`boolean`\>
2382
+
2383
+ ### Inherited from
2384
+
2385
+ [`SentinelModule`](#SentinelModule).[`queryable`](SentinelModule.md#queryable)
2386
+
2387
+ ***
2388
+
2389
+ ### manifest
2390
+
2391
+ ```ts
2392
+ manifest: (maxDepth?, ignoreAddresses?) => Promisable<ModuleManifestPayload>;
2393
+ ```
2394
+
2395
+ ### Parameters
2396
+
2397
+ #### maxDepth?
2398
+
2399
+ `number`
2400
+
2401
+ #### ignoreAddresses?
2402
+
2403
+ `BrandedAddress`[]
2404
+
2405
+ ### Returns
2406
+
2407
+ `Promisable`\<`ModuleManifestPayload`\>
2408
+
2409
+ ### Inherited from
2410
+
2411
+ ```ts
2412
+ ModuleInstance.manifest
2413
+ ```
2414
+
2415
+ ***
2416
+
2417
+ ### manifestQuery
2418
+
2419
+ ```ts
2420
+ manifestQuery: (account, maxDepth?, ignoreAddresses?) => Promisable<ModuleQueryResult<ModuleManifestPayload>>;
2421
+ ```
2422
+
2423
+ ### Parameters
2424
+
2425
+ #### account
2426
+
2427
+ `AccountInstance`
2428
+
2429
+ #### maxDepth?
2430
+
2431
+ `number`
2432
+
2433
+ #### ignoreAddresses?
2434
+
2435
+ `BrandedAddress`[]
2436
+
2437
+ ### Returns
2438
+
2439
+ `Promisable`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
2440
+
2441
+ ### Inherited from
2442
+
2443
+ ```ts
2444
+ ModuleInstance.manifestQuery
2445
+ ```
2446
+
2447
+ ***
2448
+
2449
+ ### moduleAddress
2450
+
2451
+ ```ts
2452
+ moduleAddress: () => Promisable<(AddressPreviousHashPayload | AddressPayload)[]>;
2453
+ ```
2454
+
2455
+ ### Returns
2456
+
2457
+ `Promisable`\<(`AddressPreviousHashPayload` \| `AddressPayload`)[]\>
2458
+
2459
+ ### Inherited from
2460
+
2461
+ ```ts
2462
+ ModuleInstance.moduleAddress
2463
+ ```
2464
+
2465
+ ***
2466
+
2467
+ ### state
2468
+
2469
+ ```ts
2470
+ state: () => Promisable<Payload[]>;
2471
+ ```
2472
+
2473
+ ### Returns
2474
+
2475
+ `Promisable`\<`Payload`[]\>
2476
+
2477
+ ### Inherited from
2478
+
2479
+ ```ts
2480
+ ModuleInstance.state
2481
+ ```
2482
+
2483
+ ***
2484
+
2485
+ ### stateQuery
2486
+
2487
+ ```ts
2488
+ stateQuery: (account) => Promisable<ModuleQueryResult>;
2489
+ ```
2490
+
2491
+ ### Parameters
2492
+
2493
+ #### account
2494
+
2495
+ `AccountInstance`
2496
+
2497
+ ### Returns
2498
+
2499
+ `Promisable`\<`ModuleQueryResult`\>
2500
+
2501
+ ### Inherited from
2502
+
2503
+ ```ts
2504
+ ModuleInstance.stateQuery
2505
+ ```
2506
+
2507
+ ***
2508
+
2509
+ ### account?
2510
+
2511
+ ```ts
2512
+ optional account?: AccountInstance;
2513
+ ```
2514
+
2515
+ ### Inherited from
2516
+
2517
+ ```ts
2518
+ ModuleInstance.account
2519
+ ```
2520
+
2521
+ ***
2522
+
2523
+ ### addParent
2524
+
2525
+ ```ts
2526
+ addParent: (mod) => void;
2527
+ ```
2528
+
2529
+ ### Parameters
2530
+
2531
+ #### mod
2532
+
2533
+ `ModuleInstance`
2534
+
2535
+ ### Returns
2536
+
2537
+ `void`
2538
+
2539
+ ### Inherited from
2540
+
2541
+ ```ts
2542
+ ModuleInstance.addParent
2543
+ ```
2544
+
2545
+ ***
2546
+
2547
+ ### addressCache?
2548
+
2549
+ ```ts
2550
+ optional addressCache?: (direction, includePrivate) => AddressToWeakInstanceCache | undefined;
2551
+ ```
2552
+
2553
+ ### Parameters
2554
+
2555
+ #### direction
2556
+
2557
+ `Direction`
2558
+
2559
+ #### includePrivate
2560
+
2561
+ `boolean`
2562
+
2563
+ ### Returns
2564
+
2565
+ `AddressToWeakInstanceCache` \| `undefined`
2566
+
2567
+ ### Inherited from
2568
+
2569
+ ```ts
2570
+ ModuleInstance.addressCache
2571
+ ```
2572
+
2573
+ ***
2574
+
2575
+ ### parents
2576
+
2577
+ ```ts
2578
+ parents: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2579
+ ```
2580
+
2581
+ ### Returns
2582
+
2583
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2584
+
2585
+ ### Inherited from
2586
+
2587
+ ```ts
2588
+ ModuleInstance.parents
2589
+ ```
2590
+
2591
+ ***
2592
+
2593
+ ### privateChildren
2594
+
2595
+ ```ts
2596
+ privateChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2597
+ ```
2598
+
2599
+ ### Returns
2600
+
2601
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2602
+
2603
+ ### Inherited from
2604
+
2605
+ ```ts
2606
+ ModuleInstance.privateChildren
2607
+ ```
2608
+
2609
+ ***
2610
+
2611
+ ### publicChildren
2612
+
2613
+ ```ts
2614
+ publicChildren: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2615
+ ```
2616
+
2617
+ ### Returns
2618
+
2619
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2620
+
2621
+ ### Inherited from
2622
+
2623
+ ```ts
2624
+ ModuleInstance.publicChildren
2625
+ ```
2626
+
2627
+ ***
2628
+
2629
+ ### removeParent
2630
+
2631
+ ```ts
2632
+ removeParent: (address) => void;
2633
+ ```
2634
+
2635
+ ### Parameters
2636
+
2637
+ #### address
2638
+
2639
+ `BrandedAddress`
2640
+
2641
+ ### Returns
2642
+
2643
+ `void`
2644
+
2645
+ ### Inherited from
2646
+
2647
+ ```ts
2648
+ ModuleInstance.removeParent
2649
+ ```
2650
+
2651
+ ***
2652
+
2653
+ ### siblings
2654
+
2655
+ ```ts
2656
+ siblings: () => Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2657
+ ```
2658
+
2659
+ ### Returns
2660
+
2661
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2662
+
2663
+ ### Inherited from
2664
+
2665
+ ```ts
2666
+ ModuleInstance.siblings
2667
+ ```
2668
+
2669
+ ***
2670
+
2671
+ ### pipeline?
2672
+
2673
+ ```ts
2674
+ readonly optional pipeline?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
2675
+ ```
2676
+
2677
+ ### Inherited from
2678
+
2679
+ ```ts
2680
+ ModuleInstance.pipeline
2681
+ ```
2682
+
2683
+ ***
2684
+
2685
+ ### status
2686
+
2687
+ ```ts
2688
+ readonly status: ModuleStatus | null;
2689
+ ```
2690
+
2691
+ ### Inherited from
2692
+
2693
+ ```ts
2694
+ ModuleInstance.status
2695
+ ```
2696
+
2697
+ ***
2698
+
2699
+ ### priority
2700
+
2701
+ ```ts
2702
+ priority: ObjectResolverPriority;
2703
+ ```
2704
+
2705
+ ### Inherited from
2706
+
2707
+ ```ts
2708
+ ModuleInstance.priority
2709
+ ```
2710
+
2711
+ ***
2712
+
2713
+ ### report
2714
+
2715
+ ```ts
2716
+ report: (payloads?) => Promisable<Payload[]>;
2717
+ ```
2718
+
2719
+ ### Parameters
2720
+
2721
+ #### payloads?
2722
+
2723
+ `Payload`[]
2724
+
2725
+ ### Returns
2726
+
2727
+ `Promisable`\<`Payload`[]\>
2728
+
2729
+ ### Inherited from
2730
+
2731
+ [`Sentinel`](#Sentinel).[`report`](Sentinel.md#report)
2732
+
2733
+ ***
2734
+
2735
+ ### reportQuery
2736
+
2737
+ ```ts
2738
+ reportQuery: (payloads?, account?) => Promisable<ModuleQueryResult<Payload>>;
2739
+ ```
2740
+
2741
+ ### Parameters
2742
+
2743
+ #### payloads?
2744
+
2745
+ `Payload`[]
2746
+
2747
+ #### account?
2748
+
2749
+ `AccountInstance`
2750
+
2751
+ ### Returns
2752
+
2753
+ `Promisable`\<`ModuleQueryResult`\<`Payload`\>\>
2754
+
2755
+ ### Inherited from
2756
+
2757
+ [`Sentinel`](#Sentinel).[`reportQuery`](Sentinel.md#reportquery)
2758
+
2759
+ ## Methods
2760
+
2761
+ ### resolve()
2762
+
2763
+ ### Call Signature
2764
+
2765
+ ```ts
2766
+ resolve<T>(all, options?): Promisable<T[]>;
2767
+ ```
2768
+
2769
+ #### Type Parameters
2770
+
2771
+ ##### T
2772
+
2773
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2774
+
2775
+ #### Parameters
2776
+
2777
+ ##### all
2778
+
2779
+ `"*"`
2780
+
2781
+ ##### options?
2782
+
2783
+ `ObjectFilterOptions`\<`T`\>
2784
+
2785
+ #### Returns
2786
+
2787
+ `Promisable`\<`T`[]\>
2788
+
2789
+ #### Inherited from
2790
+
2791
+ ```ts
2792
+ ModuleInstance.resolve
2793
+ ```
2794
+
2795
+ ### Call Signature
2796
+
2797
+ ```ts
2798
+ resolve<T>(id, options?): Promisable<T | undefined>;
2799
+ ```
2800
+
2801
+ #### Type Parameters
2802
+
2803
+ ##### T
2804
+
2805
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2806
+
2807
+ #### Parameters
2808
+
2809
+ ##### id
2810
+
2811
+ `ModuleIdentifier`
2812
+
2813
+ ##### options?
2814
+
2815
+ `ObjectFilterOptions`\<`T`\>
2816
+
2817
+ #### Returns
2818
+
2819
+ `Promisable`\<`T` \| `undefined`\>
2820
+
2821
+ #### Inherited from
2822
+
2823
+ ```ts
2824
+ ModuleInstance.resolve
2825
+ ```
2826
+
2827
+ ### Call Signature
2828
+
2829
+ ```ts
2830
+ resolve<T>(id?, options?): Promisable<T | T[] | undefined>;
2831
+ ```
2832
+
2833
+ #### Type Parameters
2834
+
2835
+ ##### T
2836
+
2837
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2838
+
2839
+ #### Parameters
2840
+
2841
+ ##### id?
2842
+
2843
+ `ModuleIdentifier`
2844
+
2845
+ ##### options?
2846
+
2847
+ `ObjectFilterOptions`\<`T`\>
2848
+
2849
+ #### Returns
2850
+
2851
+ `Promisable`\<`T` \| `T`[] \| `undefined`\>
2852
+
2853
+ #### Inherited from
2854
+
2855
+ ```ts
2856
+ ModuleInstance.resolve
2857
+ ```
2858
+
2859
+ ***
2860
+
2861
+ ### resolvePrivate()
2862
+
2863
+ ### Call Signature
2864
+
2865
+ ```ts
2866
+ resolvePrivate<T>(all, options?): Promise<T[]>;
2867
+ ```
2868
+
2869
+ #### Type Parameters
2870
+
2871
+ ##### T
2872
+
2873
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2874
+
2875
+ #### Parameters
2876
+
2877
+ ##### all
2878
+
2879
+ `"*"`
2880
+
2881
+ ##### options?
2882
+
2883
+ `ObjectFilterOptions`\<`T`\>
2884
+
2885
+ #### Returns
2886
+
2887
+ `Promise`\<`T`[]\>
2888
+
2889
+ #### Inherited from
2890
+
2891
+ ```ts
2892
+ ModuleInstance.resolvePrivate
2893
+ ```
2894
+
2895
+ ### Call Signature
2896
+
2897
+ ```ts
2898
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
2899
+ ```
2900
+
2901
+ #### Type Parameters
2902
+
2903
+ ##### T
2904
+
2905
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2906
+
2907
+ #### Parameters
2908
+
2909
+ ##### id
2910
+
2911
+ `ModuleIdentifier`
2912
+
2913
+ ##### options?
2914
+
2915
+ `ObjectFilterOptions`\<`T`\>
2916
+
2917
+ #### Returns
2918
+
2919
+ `Promise`\<`T` \| `undefined`\>
2920
+
2921
+ #### Inherited from
2922
+
2923
+ ```ts
2924
+ ModuleInstance.resolvePrivate
2925
+ ```
2926
+
2927
+ ### Call Signature
2928
+
2929
+ ```ts
2930
+ resolvePrivate<T>(id, options?): Promise<T | T[] | undefined>;
2931
+ ```
2932
+
2933
+ #### Type Parameters
2934
+
2935
+ ##### T
2936
+
2937
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2938
+
2939
+ #### Parameters
2940
+
2941
+ ##### id
2942
+
2943
+ `ModuleIdentifier`
2944
+
2945
+ ##### options?
2946
+
2947
+ `ObjectFilterOptions`\<`T`\>
2948
+
2949
+ #### Returns
2950
+
2951
+ `Promise`\<`T` \| `T`[] \| `undefined`\>
2952
+
2953
+ #### Inherited from
2954
+
2955
+ ```ts
2956
+ ModuleInstance.resolvePrivate
2957
+ ```
2958
+
2959
+ ### <a id="SentinelJob"></a>SentinelJob
2960
+
2961
+ [**@xyo-network/sentinel-model**](#../README)
2962
+
2963
+ ***
2964
+
2965
+ ## Properties
2966
+
2967
+ ### tasks
2968
+
2969
+ ```ts
2970
+ tasks: ResolvedTask[][];
2971
+ ```
2972
+
2973
+ ### <a id="SentinelModule"></a>SentinelModule
2974
+
2975
+ [**@xyo-network/sentinel-model**](#../README)
2976
+
2977
+ ***
2978
+
2979
+ ## Extends
2980
+
2981
+ - `QueryableModule`\<`TParams`, `TEventData`\>
2982
+
2983
+ ## Extended by
2984
+
2985
+ - [`AttachableSentinelInstance`](#AttachableSentinelInstance)
2986
+ - [`SentinelInstance`](#SentinelInstance)
2987
+
2988
+ ## Type Parameters
2989
+
2990
+ ### TParams
2991
+
2992
+ `TParams` *extends* [`SentinelParams`](#SentinelParams) = [`SentinelParams`](#SentinelParams)
2993
+
2994
+ ### TEventData
2995
+
2996
+ `TEventData` *extends* [`SentinelModuleEventData`](#SentinelModuleEventData) = [`SentinelModuleEventData`](#SentinelModuleEventData)
2997
+
2998
+ ## Properties
2999
+
3000
+ ### address
3001
+
3002
+ ```ts
3003
+ address: BrandedAddress;
3004
+ ```
3005
+
3006
+ ### Inherited from
3007
+
3008
+ ```ts
3009
+ QueryableModule.address
3010
+ ```
3011
+
3012
+ ***
3013
+
3014
+ ### config
3015
+
3016
+ ```ts
3017
+ config: TParams["config"];
3018
+ ```
3019
+
3020
+ ### Inherited from
3021
+
3022
+ ```ts
3023
+ QueryableModule.config
3024
+ ```
3025
+
3026
+ ***
3027
+
3028
+ ### id
3029
+
3030
+ ```ts
3031
+ id: string;
3032
+ ```
3033
+
3034
+ The name (if specified) or address of the module
3035
+
3036
+ ### Inherited from
3037
+
3038
+ ```ts
3039
+ QueryableModule.id
3040
+ ```
3041
+
3042
+ ***
3043
+
3044
+ ### modName?
3045
+
3046
+ ```ts
3047
+ optional modName?: string;
3048
+ ```
3049
+
3050
+ ### Inherited from
3051
+
3052
+ ```ts
3053
+ QueryableModule.modName
3054
+ ```
3055
+
3056
+ ***
3057
+
3058
+ ### params
3059
+
3060
+ ```ts
3061
+ params: TParams;
3062
+ ```
3063
+
3064
+ ### Inherited from
3065
+
3066
+ ```ts
3067
+ QueryableModule.params
3068
+ ```
3069
+
3070
+ ***
3071
+
3072
+ ### previousHash
3073
+
3074
+ ```ts
3075
+ previousHash: () => Promisable<string | undefined>;
3076
+ ```
3077
+
3078
+ ### Returns
3079
+
3080
+ `Promisable`\<`string` \| `undefined`\>
3081
+
3082
+ ### Inherited from
3083
+
3084
+ ```ts
3085
+ QueryableModule.previousHash
3086
+ ```
3087
+
3088
+ ***
3089
+
3090
+ ### queries
3091
+
3092
+ ```ts
3093
+ queries: string[];
3094
+ ```
3095
+
3096
+ ### Inherited from
3097
+
3098
+ ```ts
3099
+ QueryableModule.queries
3100
+ ```
3101
+
3102
+ ***
3103
+
3104
+ ### query
3105
+
3106
+ ```ts
3107
+ query: <T, TConf>(query, payloads?, queryConfig?) => Promisable<ModuleQueryResult>;
3108
+ ```
3109
+
3110
+ ### Type Parameters
3111
+
3112
+ #### T
3113
+
3114
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
3115
+
3116
+ #### TConf
3117
+
3118
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
3119
+
3120
+ ### Parameters
3121
+
3122
+ #### query
3123
+
3124
+ `T`
3125
+
3126
+ #### payloads?
3127
+
3128
+ `Payload`[]
3129
+
3130
+ #### queryConfig?
3131
+
3132
+ `TConf`
3133
+
3134
+ ### Returns
3135
+
3136
+ `Promisable`\<`ModuleQueryResult`\>
3137
+
3138
+ ### Inherited from
3139
+
3140
+ ```ts
3141
+ QueryableModule.query
3142
+ ```
3143
+
3144
+ ***
3145
+
3146
+ ### queryable
3147
+
3148
+ ```ts
3149
+ queryable: <T, TConf>(query, payloads?, queryConfig?) => Promisable<boolean>;
3150
+ ```
3151
+
3152
+ ### Type Parameters
3153
+
3154
+ #### T
3155
+
3156
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
3157
+
3158
+ #### TConf
3159
+
3160
+ `TConf` *extends* `ModuleConfig` = `ModuleConfig`
3161
+
3162
+ ### Parameters
3163
+
3164
+ #### query
3165
+
3166
+ `T`
3167
+
3168
+ #### payloads?
3169
+
3170
+ `Payload`[]
3171
+
3172
+ #### queryConfig?
3173
+
3174
+ `TConf`
3175
+
3176
+ ### Returns
3177
+
3178
+ `Promisable`\<`boolean`\>
3179
+
3180
+ ### Inherited from
3181
+
3182
+ ```ts
3183
+ QueryableModule.queryable
3184
+ ```
3185
+
3186
+ ### <a id="SentinelModuleEventData"></a>SentinelModuleEventData
3187
+
3188
+ [**@xyo-network/sentinel-model**](#../README)
3189
+
3190
+ ***
3191
+
3192
+ ## Extends
3193
+
3194
+ - [`TaskEndEventData`](#TaskEndEventData)\<`T`\>.[`TaskStartEventData`](#TaskStartEventData)\<`T`\>.[`JobEndEventData`](#JobEndEventData)\<`T`\>.[`JobStartEventData`](#JobStartEventData)\<`T`\>.[`ReportEndEventData`](#ReportEndEventData)\<`T`\>.[`ReportStartEventData`](#ReportStartEventData)\<`T`\>.`ModuleEventData`\<`T`\>
3195
+
3196
+ ## Type Parameters
3197
+
3198
+ ### T
3199
+
3200
+ `T` *extends* `QueryableModule` = `QueryableModule`
3201
+
3202
+ ## Indexable
3203
+
3204
+ ```ts
3205
+ [key: string | number | symbol]: EventArgs
3206
+ ```
3207
+
3208
+ ## Properties
3209
+
3210
+ ### moduleBusy
3211
+
3212
+ ```ts
3213
+ moduleBusy: object & object;
3214
+ ```
3215
+
3216
+ ### Type Declaration
3217
+
3218
+ #### mod
3219
+
3220
+ ```ts
3221
+ mod: T;
3222
+ ```
3223
+
3224
+ ### Type Declaration
3225
+
3226
+ #### busy
3227
+
3228
+ ```ts
3229
+ busy: boolean;
3230
+ ```
3231
+
3232
+ ### Inherited from
3233
+
3234
+ ```ts
3235
+ ModuleEventData.moduleBusy
3236
+ ```
3237
+
3238
+ ***
3239
+
3240
+ ### moduleError
3241
+
3242
+ ```ts
3243
+ moduleError: object & object;
3244
+ ```
3245
+
3246
+ ### Type Declaration
3247
+
3248
+ #### mod
3249
+
3250
+ ```ts
3251
+ mod: T;
3252
+ ```
3253
+
3254
+ ### Type Declaration
3255
+
3256
+ #### error
3257
+
3258
+ ```ts
3259
+ error: Error;
3260
+ ```
3261
+
3262
+ ### Inherited from
3263
+
3264
+ ```ts
3265
+ ModuleEventData.moduleError
3266
+ ```
3267
+
3268
+ ***
3269
+
3270
+ ### moduleQueried
3271
+
3272
+ ```ts
3273
+ moduleQueried: object & object;
3274
+ ```
3275
+
3276
+ ### Type Declaration
3277
+
3278
+ #### mod
3279
+
3280
+ ```ts
3281
+ mod: T;
3282
+ ```
3283
+
3284
+ ### Type Declaration
3285
+
3286
+ #### payloads?
3287
+
3288
+ ```ts
3289
+ optional payloads?: Payload[];
3290
+ ```
3291
+
3292
+ #### query
3293
+
3294
+ ```ts
3295
+ query: UnsignedQueryBoundWitness;
3296
+ ```
3297
+
3298
+ #### result
3299
+
3300
+ ```ts
3301
+ result: ModuleQueryResult;
3302
+ ```
3303
+
3304
+ ### Inherited from
3305
+
3306
+ ```ts
3307
+ ModuleEventData.moduleQueried
3308
+ ```
3309
+
3310
+ ***
3311
+
3312
+ ### jobEnd
3313
+
3314
+ ```ts
3315
+ jobEnd: object & object;
3316
+ ```
3317
+
3318
+ ### Type Declaration
3319
+
3320
+ #### mod
3321
+
3322
+ ```ts
3323
+ mod: T;
3324
+ ```
3325
+
3326
+ ### Type Declaration
3327
+
3328
+ #### finalResult?
3329
+
3330
+ ```ts
3331
+ optional finalResult?: Record<BrandedAddress, Payload[]>;
3332
+ ```
3333
+
3334
+ #### inPayloads?
3335
+
3336
+ ```ts
3337
+ optional inPayloads?: Payload[];
3338
+ ```
3339
+
3340
+ ### Inherited from
3341
+
3342
+ [`JobEndEventData`](#JobEndEventData).[`jobEnd`](JobEndEventData.md#jobend)
3343
+
3344
+ ***
3345
+
3346
+ ### jobStart
3347
+
3348
+ ```ts
3349
+ jobStart: object & object;
3350
+ ```
3351
+
3352
+ ### Type Declaration
3353
+
3354
+ #### mod
3355
+
3356
+ ```ts
3357
+ mod: T;
3358
+ ```
3359
+
3360
+ ### Type Declaration
3361
+
3362
+ #### inPayloads?
3363
+
3364
+ ```ts
3365
+ optional inPayloads?: Payload[];
3366
+ ```
3367
+
3368
+ ### Inherited from
3369
+
3370
+ [`JobStartEventData`](#JobStartEventData).[`jobStart`](JobStartEventData.md#jobstart)
3371
+
3372
+ ***
3373
+
3374
+ ### reportEnd
3375
+
3376
+ ```ts
3377
+ reportEnd: object & object;
3378
+ ```
3379
+
3380
+ ### Type Declaration
3381
+
3382
+ #### mod
3383
+
3384
+ ```ts
3385
+ mod: T;
3386
+ ```
3387
+
3388
+ ### Type Declaration
3389
+
3390
+ #### boundwitness?
3391
+
3392
+ ```ts
3393
+ optional boundwitness?: object;
3394
+ ```
3395
+
3396
+ ##### boundwitness.schema
3397
+
3398
+ ```ts
3399
+ schema: "network.xyo.boundwitness" & object;
3400
+ ```
3401
+
3402
+ ##### Type Declaration
3403
+
3404
+ ##### \_\_schema
3405
+
3406
+ ```ts
3407
+ readonly __schema: true;
3408
+ ```
3409
+
3410
+ ##### boundwitness.addresses
3411
+
3412
+ ```ts
3413
+ addresses: Lowercase<string> & object & object[];
3414
+ ```
3415
+
3416
+ ##### boundwitness.payload\_hashes
3417
+
3418
+ ```ts
3419
+ payload_hashes: BrandedHash[];
3420
+ ```
3421
+
3422
+ ##### boundwitness.payload\_schemas
3423
+
3424
+ ```ts
3425
+ payload_schemas: BrandedSchema<string>[];
3426
+ ```
3427
+
3428
+ ##### boundwitness.previous\_hashes
3429
+
3430
+ ```ts
3431
+ previous_hashes: (BrandedHash | null)[];
3432
+ ```
3433
+
3434
+ ##### boundwitness.$destination?
3435
+
3436
+ ```ts
3437
+ optional $destination?: Lowercase<string> & object & object;
3438
+ ```
3439
+
3440
+ ##### Type Declaration
3441
+
3442
+ ##### \_\_hex
3443
+
3444
+ ```ts
3445
+ readonly __hex: true;
3446
+ ```
3447
+
3448
+ ##### Type Declaration
3449
+
3450
+ ##### \_\_address
3451
+
3452
+ ```ts
3453
+ readonly __address: true;
3454
+ ```
3455
+
3456
+ ##### boundwitness.$sourceQuery?
3457
+
3458
+ ```ts
3459
+ optional $sourceQuery?: BrandedHash;
3460
+ ```
3461
+
3462
+ ##### boundwitness.$signatures
3463
+
3464
+ ```ts
3465
+ $signatures: (BrandedHex | null)[];
3466
+ ```
3467
+
3468
+ #### inPayloads?
3469
+
3470
+ ```ts
3471
+ optional inPayloads?: Payload[];
3472
+ ```
3473
+
3474
+ #### outPayloads?
3475
+
3476
+ ```ts
3477
+ optional outPayloads?: Payload[];
3478
+ ```
3479
+
3480
+ ### Inherited from
3481
+
3482
+ [`ReportEndEventData`](#ReportEndEventData).[`reportEnd`](ReportEndEventData.md#reportend)
3483
+
3484
+ ***
3485
+
3486
+ ### reportStart
3487
+
3488
+ ```ts
3489
+ reportStart: object & object;
3490
+ ```
3491
+
3492
+ ### Type Declaration
3493
+
3494
+ #### mod
3495
+
3496
+ ```ts
3497
+ mod: T;
3498
+ ```
3499
+
3500
+ ### Type Declaration
3501
+
3502
+ #### inPayloads?
3503
+
3504
+ ```ts
3505
+ optional inPayloads?: Payload[];
3506
+ ```
3507
+
3508
+ ### Inherited from
3509
+
3510
+ [`ReportStartEventData`](#ReportStartEventData).[`reportStart`](ReportStartEventData.md#reportstart)
3511
+
3512
+ ***
3513
+
3514
+ ### taskEnd
3515
+
3516
+ ```ts
3517
+ taskEnd: object & object;
3518
+ ```
3519
+
3520
+ ### Type Declaration
3521
+
3522
+ #### mod
3523
+
3524
+ ```ts
3525
+ mod: T;
3526
+ ```
3527
+
3528
+ ### Type Declaration
3529
+
3530
+ #### address
3531
+
3532
+ ```ts
3533
+ address: BrandedAddress;
3534
+ ```
3535
+
3536
+ #### inPayloads?
3537
+
3538
+ ```ts
3539
+ optional inPayloads?: Payload[];
3540
+ ```
3541
+
3542
+ #### name?
3543
+
3544
+ ```ts
3545
+ optional name?: string;
3546
+ ```
3547
+
3548
+ #### outPayloads?
3549
+
3550
+ ```ts
3551
+ optional outPayloads?: Payload[];
3552
+ ```
3553
+
3554
+ ### Inherited from
3555
+
3556
+ [`TaskEndEventData`](#TaskEndEventData).[`taskEnd`](TaskEndEventData.md#taskend)
3557
+
3558
+ ***
3559
+
3560
+ ### taskStart
3561
+
3562
+ ```ts
3563
+ taskStart: object & object;
3564
+ ```
3565
+
3566
+ ### Type Declaration
3567
+
3568
+ #### mod
3569
+
3570
+ ```ts
3571
+ mod: T;
3572
+ ```
3573
+
3574
+ ### Type Declaration
3575
+
3576
+ #### address
3577
+
3578
+ ```ts
3579
+ address: BrandedAddress;
3580
+ ```
3581
+
3582
+ #### inPayloads?
3583
+
3584
+ ```ts
3585
+ optional inPayloads?: Payload[];
3586
+ ```
3587
+
3588
+ #### name?
3589
+
3590
+ ```ts
3591
+ optional name?: string;
3592
+ ```
3593
+
3594
+ ### Inherited from
3595
+
3596
+ [`TaskStartEventData`](#TaskStartEventData).[`taskStart`](TaskStartEventData.md#taskstart)
3597
+
3598
+ ### <a id="SentinelParams"></a>SentinelParams
3599
+
3600
+ [**@xyo-network/sentinel-model**](#../README)
3601
+
3602
+ ***
3603
+
3604
+ ## Extends
3605
+
3606
+ - `QueryableModuleParams`\<`TConfig`\>
3607
+
3608
+ ## Type Parameters
3609
+
3610
+ ### TConfig
3611
+
3612
+ `TConfig` *extends* `AnyConfigSchema`\<[`SentinelConfig`](#../type-aliases/SentinelConfig)\> = `AnyConfigSchema`\<[`SentinelConfig`](#../type-aliases/SentinelConfig)\>
3613
+
3614
+ ## Properties
3615
+
3616
+ ### account?
3617
+
3618
+ ```ts
3619
+ optional account?: AccountInstance | "random";
3620
+ ```
3621
+
3622
+ ### Inherited from
3623
+
3624
+ ```ts
3625
+ QueryableModuleParams.account
3626
+ ```
3627
+
3628
+ ***
3629
+
3630
+ ### addToResolvers?
3631
+
3632
+ ```ts
3633
+ optional addToResolvers?: boolean;
3634
+ ```
3635
+
3636
+ ### Inherited from
3637
+
3638
+ ```ts
3639
+ QueryableModuleParams.addToResolvers
3640
+ ```
3641
+
3642
+ ***
3643
+
3644
+ ### additionalSigners?
3645
+
3646
+ ```ts
3647
+ optional additionalSigners?: AccountInstance[];
3648
+ ```
3649
+
3650
+ ### Inherited from
3651
+
3652
+ ```ts
3653
+ QueryableModuleParams.additionalSigners
3654
+ ```
3655
+
3656
+ ***
3657
+
3658
+ ### allowNameResolution?
3659
+
3660
+ ```ts
3661
+ optional allowNameResolution?: boolean;
3662
+ ```
3663
+
3664
+ ### Inherited from
3665
+
3666
+ ```ts
3667
+ QueryableModuleParams.allowNameResolution
3668
+ ```
3669
+
3670
+ ***
3671
+
3672
+ ### config
3673
+
3674
+ ```ts
3675
+ config: Partial<TConfig>;
3676
+ ```
3677
+
3678
+ ### Inherited from
3679
+
3680
+ ```ts
3681
+ QueryableModuleParams.config
3682
+ ```
3683
+
3684
+ ***
3685
+
3686
+ ### ephemeralQueryAccountEnabled?
3687
+
3688
+ ```ts
3689
+ optional ephemeralQueryAccountEnabled?: boolean;
3690
+ ```
3691
+
3692
+ ### Inherited from
3693
+
3694
+ ```ts
3695
+ QueryableModuleParams.ephemeralQueryAccountEnabled
3696
+ ```
3697
+
3698
+ ***
3699
+
3700
+ ### moduleIdentifierTransformers?
3701
+
3702
+ ```ts
3703
+ optional moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
3704
+ ```
3705
+
3706
+ ### Inherited from
3707
+
3708
+ ```ts
3709
+ QueryableModuleParams.moduleIdentifierTransformers
3710
+ ```
3711
+
3712
+ ***
3713
+
3714
+ ### statusReporter?
3715
+
3716
+ ```ts
3717
+ optional statusReporter?: ModuleStatusReporter;
3718
+ ```
3719
+
3720
+ Optional reporter for broadcasting status changes.
3721
+
3722
+ ### Inherited from
3723
+
3724
+ ```ts
3725
+ QueryableModuleParams.statusReporter
3726
+ ```
3727
+
3728
+ ### <a id="TaskEndEventData"></a>TaskEndEventData
3729
+
3730
+ [**@xyo-network/sentinel-model**](#../README)
3731
+
3732
+ ***
3733
+
3734
+ ## Extends
3735
+
3736
+ - `EventData`
3737
+
3738
+ ## Extended by
3739
+
3740
+ - [`SentinelModuleEventData`](#SentinelModuleEventData)
3741
+
3742
+ ## Type Parameters
3743
+
3744
+ ### T
3745
+
3746
+ `T` *extends* `QueryableModule` = `QueryableModule`
3747
+
3748
+ ## Indexable
3749
+
3750
+ ```ts
3751
+ [key: string | number | symbol]: EventArgs
3752
+ ```
3753
+
3754
+ ## Properties
3755
+
3756
+ ### taskEnd
3757
+
3758
+ ```ts
3759
+ taskEnd: object & object;
3760
+ ```
3761
+
3762
+ ### Type Declaration
3763
+
3764
+ #### mod
3765
+
3766
+ ```ts
3767
+ mod: T;
3768
+ ```
3769
+
3770
+ ### Type Declaration
3771
+
3772
+ #### address
3773
+
3774
+ ```ts
3775
+ address: BrandedAddress;
3776
+ ```
3777
+
3778
+ #### inPayloads?
3779
+
3780
+ ```ts
3781
+ optional inPayloads?: Payload[];
3782
+ ```
3783
+
3784
+ #### name?
3785
+
3786
+ ```ts
3787
+ optional name?: string;
3788
+ ```
3789
+
3790
+ #### outPayloads?
3791
+
3792
+ ```ts
3793
+ optional outPayloads?: Payload[];
3794
+ ```
3795
+
3796
+ ### <a id="TaskStartEventData"></a>TaskStartEventData
3797
+
3798
+ [**@xyo-network/sentinel-model**](#../README)
3799
+
3800
+ ***
3801
+
3802
+ ## Extends
3803
+
3804
+ - `EventData`
3805
+
3806
+ ## Extended by
3807
+
3808
+ - [`SentinelModuleEventData`](#SentinelModuleEventData)
3809
+
3810
+ ## Type Parameters
3811
+
3812
+ ### T
3813
+
3814
+ `T` *extends* `QueryableModule` = `QueryableModule`
3815
+
3816
+ ## Indexable
3817
+
3818
+ ```ts
3819
+ [key: string | number | symbol]: EventArgs
3820
+ ```
3821
+
3822
+ ## Properties
3823
+
3824
+ ### taskStart
3825
+
3826
+ ```ts
3827
+ taskStart: object & object;
3828
+ ```
3829
+
3830
+ ### Type Declaration
3831
+
3832
+ #### mod
3833
+
3834
+ ```ts
3835
+ mod: T;
3836
+ ```
3837
+
3838
+ ### Type Declaration
3839
+
3840
+ #### address
3841
+
3842
+ ```ts
3843
+ address: BrandedAddress;
3844
+ ```
3845
+
3846
+ #### inPayloads?
3847
+
3848
+ ```ts
3849
+ optional inPayloads?: Payload[];
3850
+ ```
3851
+
3852
+ #### name?
3853
+
3854
+ ```ts
3855
+ optional name?: string;
3856
+ ```
3857
+
3858
+ ### type-aliases
3859
+
3860
+ ### <a id="ArchivistTask"></a>ArchivistTask
3861
+
3862
+ [**@xyo-network/sentinel-model**](#../README)
3863
+
3864
+ ***
3865
+
3866
+ ```ts
3867
+ type ArchivistTask = ModuleTask<"all" | "clear" | "commit" | "delete" | "get" | "insert">;
3868
+ ```
3869
+
3870
+ ### <a id="AttachableSentinelInstanceTypeCheck"></a>AttachableSentinelInstanceTypeCheck
3871
+
3872
+ [**@xyo-network/sentinel-model**](#../README)
3873
+
3874
+ ***
3875
+
3876
+ ```ts
3877
+ type AttachableSentinelInstanceTypeCheck<T> = TypeCheck<T>;
3878
+ ```
3879
+
3880
+ ## Type Parameters
3881
+
3882
+ ### T
3883
+
3884
+ `T` *extends* [`AttachableSentinelInstance`](#../interfaces/AttachableSentinelInstance) = [`AttachableSentinelInstance`](#../interfaces/AttachableSentinelInstance)
3885
+
3886
+ ### <a id="DivinerTask"></a>DivinerTask
3887
+
3888
+ [**@xyo-network/sentinel-model**](#../README)
3889
+
3890
+ ***
3891
+
3892
+ ```ts
3893
+ type DivinerTask = ModuleTask<"divine">;
3894
+ ```
3895
+
3896
+ ### <a id="JobEndEventArgs"></a>JobEndEventArgs
3897
+
3898
+ [**@xyo-network/sentinel-model**](#../README)
3899
+
3900
+ ***
3901
+
3902
+ ```ts
3903
+ type JobEndEventArgs<T> = ModuleEventArgs<T, {
3904
+ finalResult?: Record<Address, Payload[]>;
3905
+ inPayloads?: Payload[];
3906
+ }>;
3907
+ ```
3908
+
3909
+ ## Type Parameters
3910
+
3911
+ ### T
3912
+
3913
+ `T` *extends* `QueryableModule` = `QueryableModule`
3914
+
3915
+ ### <a id="JobStartEventArgs"></a>JobStartEventArgs
3916
+
3917
+ [**@xyo-network/sentinel-model**](#../README)
3918
+
3919
+ ***
3920
+
3921
+ ```ts
3922
+ type JobStartEventArgs<T> = ModuleEventArgs<T, {
3923
+ inPayloads?: Payload[];
3924
+ }>;
3925
+ ```
3926
+
3927
+ ## Type Parameters
3928
+
3929
+ ### T
3930
+
3931
+ `T` *extends* `QueryableModule` = `QueryableModule`
3932
+
3933
+ ### <a id="ReportEndEventArgs"></a>ReportEndEventArgs
3934
+
3935
+ [**@xyo-network/sentinel-model**](#../README)
3936
+
3937
+ ***
3938
+
3939
+ ```ts
3940
+ type ReportEndEventArgs<T> = ModuleEventArgs<T, {
3941
+ boundwitness?: BoundWitness;
3942
+ inPayloads?: Payload[];
3943
+ outPayloads?: Payload[];
3944
+ }>;
3945
+ ```
3946
+
3947
+ ## Type Parameters
3948
+
3949
+ ### T
3950
+
3951
+ `T` *extends* `QueryableModule` = `QueryableModule`
3952
+
3953
+ ### <a id="ReportStartEventArgs"></a>ReportStartEventArgs
3954
+
3955
+ [**@xyo-network/sentinel-model**](#../README)
3956
+
3957
+ ***
3958
+
3959
+ ```ts
3960
+ type ReportStartEventArgs<T> = ModuleEventArgs<T, {
3961
+ inPayloads?: Payload[];
3962
+ }>;
3963
+ ```
3964
+
3965
+ ## Type Parameters
3966
+
3967
+ ### T
3968
+
3969
+ `T` *extends* `QueryableModule` = `QueryableModule`
3970
+
3971
+ ### <a id="ResolvedArchivistTask"></a>ResolvedArchivistTask
3972
+
3973
+ [**@xyo-network/sentinel-model**](#../README)
3974
+
3975
+ ***
3976
+
3977
+ ```ts
3978
+ type ResolvedArchivistTask = ResolvedModuleTask<ArchivistTask, ArchivistInstance>;
3979
+ ```
3980
+
3981
+ ### <a id="ResolvedDivinerTask"></a>ResolvedDivinerTask
3982
+
3983
+ [**@xyo-network/sentinel-model**](#../README)
3984
+
3985
+ ***
3986
+
3987
+ ```ts
3988
+ type ResolvedDivinerTask = ResolvedModuleTask<DivinerTask, DivinerInstance>;
3989
+ ```
3990
+
3991
+ ### <a id="ResolvedModuleTask"></a>ResolvedModuleTask
3992
+
3993
+ [**@xyo-network/sentinel-model**](#../README)
3994
+
3995
+ ***
3996
+
3997
+ ```ts
3998
+ type ResolvedModuleTask<TTask, TInstance> = Omit<TTask, "mod"> & object;
3999
+ ```
4000
+
4001
+ ## Type Declaration
4002
+
4003
+ ### mod
4004
+
4005
+ ```ts
4006
+ mod: TInstance;
4007
+ ```
4008
+
4009
+ ### Field
4010
+
4011
+ the modules that performs the task
4012
+
4013
+ ## Type Parameters
4014
+
4015
+ ### TTask
4016
+
4017
+ `TTask` *extends* [`ModuleTask`](#../interfaces/ModuleTask) = [`ModuleTask`](#../interfaces/ModuleTask)
4018
+
4019
+ ### TInstance
4020
+
4021
+ `TInstance` *extends* `ModuleInstance` = `ModuleInstance`
4022
+
4023
+ ### <a id="ResolvedTask"></a>ResolvedTask
4024
+
4025
+ [**@xyo-network/sentinel-model**](#../README)
4026
+
4027
+ ***
4028
+
4029
+ ```ts
4030
+ type ResolvedTask =
4031
+ | ResolvedArchivistTask
4032
+ | ResolvedDivinerTask
4033
+ | ResolvedWitnessTask
4034
+ | ResolvedModuleTask;
4035
+ ```
4036
+
4037
+ ### <a id="ResolvedWitnessTask"></a>ResolvedWitnessTask
4038
+
4039
+ [**@xyo-network/sentinel-model**](#../README)
4040
+
4041
+ ***
4042
+
4043
+ ```ts
4044
+ type ResolvedWitnessTask = ResolvedModuleTask<WitnessTask, WitnessInstance>;
4045
+ ```
4046
+
4047
+ ### <a id="SentinelAutomationPayload"></a>SentinelAutomationPayload
4048
+
4049
+ [**@xyo-network/sentinel-model**](#../README)
4050
+
4051
+ ***
4052
+
4053
+ ```ts
4054
+ type SentinelAutomationPayload = Payload<
4055
+ | SentinelIntervalAutomationPayload
4056
+ | SentinelModuleEventAutomationPayload,
4057
+ | SentinelAutomationSchema
4058
+ | SentinelIntervalAutomationSchema
4059
+ | SentinelModuleEventAutomationSchema>;
4060
+ ```
4061
+
4062
+ Settings for an Automation
4063
+
4064
+ ### <a id="SentinelAutomationSchema"></a>SentinelAutomationSchema
4065
+
4066
+ [**@xyo-network/sentinel-model**](#../README)
4067
+
4068
+ ***
4069
+
4070
+ ```ts
4071
+ type SentinelAutomationSchema = typeof SentinelAutomationSchema;
4072
+ ```
4073
+
4074
+ ### <a id="SentinelBaseAutomationPayload"></a>SentinelBaseAutomationPayload
4075
+
4076
+ [**@xyo-network/sentinel-model**](#../README)
4077
+
4078
+ ***
4079
+
4080
+ ```ts
4081
+ type SentinelBaseAutomationPayload<T> = Payload<object & T>;
4082
+ ```
4083
+
4084
+ ## Type Parameters
4085
+
4086
+ ### T
4087
+
4088
+ `T` *extends* `Payload`
4089
+
4090
+ ### <a id="SentinelConfig"></a>SentinelConfig
4091
+
4092
+ [**@xyo-network/sentinel-model**](#../README)
4093
+
4094
+ ***
4095
+
4096
+ ```ts
4097
+ type SentinelConfig<TConfig, TSchema> = ModuleConfig<WithAdditional<{
4098
+ automations?: SentinelAutomationPayload[];
4099
+ schema: TConfig extends Payload ? TConfig["schema"] : SentinelConfigSchema;
4100
+ synchronous?: boolean;
4101
+ tasks: Task[];
4102
+ throwErrors?: boolean;
4103
+ }, TConfig>, TSchema>;
4104
+ ```
4105
+
4106
+ ## Type Parameters
4107
+
4108
+ ### TConfig
4109
+
4110
+ `TConfig` *extends* `Payload` \| `void` = `void`
4111
+
4112
+ ### TSchema
4113
+
4114
+ `TSchema` *extends* `Schema` \| `void` = `void`
4115
+
4116
+ ### <a id="SentinelConfigSchema"></a>SentinelConfigSchema
4117
+
4118
+ [**@xyo-network/sentinel-model**](#../README)
4119
+
4120
+ ***
4121
+
4122
+ ```ts
4123
+ type SentinelConfigSchema = typeof SentinelConfigSchema;
4124
+ ```
4125
+
4126
+ ### <a id="SentinelIntervalAutomationPayload"></a>SentinelIntervalAutomationPayload
4127
+
4128
+ [**@xyo-network/sentinel-model**](#../README)
4129
+
4130
+ ***
4131
+
4132
+ ```ts
4133
+ type SentinelIntervalAutomationPayload = SentinelBaseAutomationPayload<{
4134
+ end?: number;
4135
+ frequency?: number;
4136
+ frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis";
4137
+ remaining?: number;
4138
+ schema: SentinelIntervalAutomationSchema;
4139
+ start: number;
4140
+ type: "interval";
4141
+ }>;
4142
+ ```
4143
+
4144
+ Settings for an Interval Automation
4145
+
4146
+ ### <a id="SentinelIntervalAutomationSchema"></a>SentinelIntervalAutomationSchema
4147
+
4148
+ [**@xyo-network/sentinel-model**](#../README)
4149
+
4150
+ ***
4151
+
4152
+ ```ts
4153
+ type SentinelIntervalAutomationSchema = typeof SentinelIntervalAutomationSchema;
4154
+ ```
4155
+
4156
+ ### <a id="SentinelModuleEventAutomationPayload"></a>SentinelModuleEventAutomationPayload
4157
+
4158
+ [**@xyo-network/sentinel-model**](#../README)
4159
+
4160
+ ***
4161
+
4162
+ ```ts
4163
+ type SentinelModuleEventAutomationPayload = SentinelBaseAutomationPayload<{
4164
+ eventName: EventName;
4165
+ schema: SentinelModuleEventAutomationSchema;
4166
+ source: ModuleIdentifier;
4167
+ type: "event";
4168
+ }>;
4169
+ ```
4170
+
4171
+ Settings for an Module Event Automation
4172
+
4173
+ ### <a id="SentinelModuleEventAutomationSchema"></a>SentinelModuleEventAutomationSchema
4174
+
4175
+ [**@xyo-network/sentinel-model**](#../README)
4176
+
4177
+ ***
4178
+
4179
+ ```ts
4180
+ type SentinelModuleEventAutomationSchema = typeof SentinelModuleEventAutomationSchema;
4181
+ ```
4182
+
4183
+ ### <a id="SentinelModuleQueries"></a>SentinelModuleQueries
4184
+
4185
+ [**@xyo-network/sentinel-model**](#../README)
4186
+
4187
+ ***
4188
+
4189
+ ```ts
4190
+ type SentinelModuleQueries = ModuleQueries | SentinelQueries;
4191
+ ```
4192
+
4193
+ ### <a id="SentinelQueries"></a>SentinelQueries
4194
+
4195
+ [**@xyo-network/sentinel-model**](#../README)
4196
+
4197
+ ***
4198
+
4199
+ ```ts
4200
+ type SentinelQueries = SentinelReportQuery;
4201
+ ```
4202
+
4203
+ ### <a id="SentinelReportQuery"></a>SentinelReportQuery
4204
+
4205
+ [**@xyo-network/sentinel-model**](#../README)
4206
+
4207
+ ***
4208
+
4209
+ ```ts
4210
+ type SentinelReportQuery = Query<{
4211
+ schema: SentinelReportQuerySchema;
4212
+ }>;
4213
+ ```
4214
+
4215
+ ### <a id="SentinelReportQuerySchema"></a>SentinelReportQuerySchema
4216
+
4217
+ [**@xyo-network/sentinel-model**](#../README)
4218
+
4219
+ ***
4220
+
4221
+ ```ts
4222
+ type SentinelReportQuerySchema = typeof SentinelReportQuerySchema;
4223
+ ```
4224
+
4225
+ ### <a id="Task"></a>Task
4226
+
4227
+ [**@xyo-network/sentinel-model**](#../README)
4228
+
4229
+ ***
4230
+
4231
+ ```ts
4232
+ type Task =
4233
+ | WitnessTask
4234
+ | DivinerTask
4235
+ | ArchivistTask
4236
+ | ModuleTask;
4237
+ ```
4238
+
4239
+ ### <a id="TaskEndEventArgs"></a>TaskEndEventArgs
4240
+
4241
+ [**@xyo-network/sentinel-model**](#../README)
4242
+
4243
+ ***
4244
+
4245
+ ```ts
4246
+ type TaskEndEventArgs<T> = ModuleEventArgs<T, {
4247
+ address: Address;
4248
+ inPayloads?: Payload[];
4249
+ name?: string;
4250
+ outPayloads?: Payload[];
4251
+ }>;
4252
+ ```
4253
+
4254
+ ## Type Parameters
4255
+
4256
+ ### T
4257
+
4258
+ `T` *extends* `QueryableModule` = `QueryableModule`
4259
+
4260
+ ### <a id="TaskStartEventArgs"></a>TaskStartEventArgs
4261
+
4262
+ [**@xyo-network/sentinel-model**](#../README)
4263
+
4264
+ ***
4265
+
4266
+ ```ts
4267
+ type TaskStartEventArgs<T> = ModuleEventArgs<T, {
4268
+ address: Address;
4269
+ inPayloads?: Payload[];
4270
+ name?: string;
4271
+ }>;
4272
+ ```
4273
+
4274
+ ## Type Parameters
4275
+
4276
+ ### T
4277
+
4278
+ `T` *extends* `QueryableModule` = `QueryableModule`
4279
+
4280
+ ### <a id="WitnessTask"></a>WitnessTask
4281
+
4282
+ [**@xyo-network/sentinel-model**](#../README)
4283
+
4284
+ ***
4285
+
4286
+ ```ts
4287
+ type WitnessTask = ModuleTask<"observe">;
4288
+ ```
4289
+
4290
+ ### variables
4291
+
4292
+ ### <a id="SentinelAutomationSchema"></a>SentinelAutomationSchema
4293
+
4294
+ [**@xyo-network/sentinel-model**](#../README)
4295
+
4296
+ ***
4297
+
4298
+ ```ts
4299
+ const SentinelAutomationSchema: "network.xyo.automation" & object;
4300
+ ```
4301
+
4302
+ ## Type Declaration
4303
+
4304
+ ### \_\_schema
4305
+
4306
+ ```ts
4307
+ readonly __schema: true;
4308
+ ```
4309
+
4310
+ ### <a id="SentinelConfigSchema"></a>SentinelConfigSchema
4311
+
4312
+ [**@xyo-network/sentinel-model**](#../README)
4313
+
4314
+ ***
4315
+
4316
+ ```ts
4317
+ const SentinelConfigSchema: "network.xyo.sentinel.config" & object;
4318
+ ```
4319
+
4320
+ ## Type Declaration
4321
+
4322
+ ### \_\_schema
4323
+
4324
+ ```ts
4325
+ readonly __schema: true;
4326
+ ```
4327
+
4328
+ ### <a id="SentinelIntervalAutomationSchema"></a>SentinelIntervalAutomationSchema
4329
+
4330
+ [**@xyo-network/sentinel-model**](#../README)
4331
+
4332
+ ***
4333
+
4334
+ ```ts
4335
+ const SentinelIntervalAutomationSchema: "network.xyo.automation.interval" & object;
4336
+ ```
4337
+
4338
+ ## Type Declaration
4339
+
4340
+ ### \_\_schema
4341
+
4342
+ ```ts
4343
+ readonly __schema: true;
4344
+ ```
4345
+
4346
+ ### <a id="SentinelModuleEventAutomationSchema"></a>SentinelModuleEventAutomationSchema
4347
+
4348
+ [**@xyo-network/sentinel-model**](#../README)
4349
+
4350
+ ***
4351
+
4352
+ ```ts
4353
+ const SentinelModuleEventAutomationSchema: "network.xyo.automation.event.module" & object;
4354
+ ```
4355
+
4356
+ ## Type Declaration
4357
+
4358
+ ### \_\_schema
4359
+
4360
+ ```ts
4361
+ readonly __schema: true;
4362
+ ```
4363
+
4364
+ ### <a id="SentinelReportQuerySchema"></a>SentinelReportQuerySchema
4365
+
4366
+ [**@xyo-network/sentinel-model**](#../README)
4367
+
4368
+ ***
4369
+
4370
+ ```ts
4371
+ const SentinelReportQuerySchema: "network.xyo.query.sentinel.report" & object;
4372
+ ```
4373
+
4374
+ ## Type Declaration
4375
+
4376
+ ### \_\_schema
4377
+
4378
+ ```ts
4379
+ readonly __schema: true;
4380
+ ```
4381
+
4382
+ ### <a id="asAttachableSentinelInstance"></a>asAttachableSentinelInstance
4383
+
4384
+ [**@xyo-network/sentinel-model**](#../README)
4385
+
4386
+ ***
4387
+
4388
+ ```ts
4389
+ const asAttachableSentinelInstance: AsTypeFunction<AttachableSentinelInstance<SentinelParams<AnyConfigSchema<SentinelConfig>>, SentinelModuleEventData<QueryableModule<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>>>>;
4390
+ ```
4391
+
4392
+ ### <a id="asSentinelInstance"></a>asSentinelInstance
4393
+
4394
+ [**@xyo-network/sentinel-model**](#../README)
4395
+
4396
+ ***
4397
+
4398
+ ```ts
4399
+ const asSentinelInstance: AsTypeFunction<SentinelInstance<SentinelParams<AnyConfigSchema<SentinelConfig>>, SentinelModuleEventData<QueryableModule<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>>>>;
4400
+ ```
4401
+
4402
+ ### <a id="asSentinelModule"></a>asSentinelModule
4403
+
4404
+ [**@xyo-network/sentinel-model**](#../README)
4405
+
4406
+ ***
4407
+
4408
+ ```ts
4409
+ const asSentinelModule: AsTypeFunction<SentinelModule<SentinelParams<AnyConfigSchema<SentinelConfig>>, SentinelModuleEventData<QueryableModule<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>>>>;
4410
+ ```
4411
+
4412
+ ### <a id="isAttachableSentinelInstance"></a>isAttachableSentinelInstance
4413
+
4414
+ [**@xyo-network/sentinel-model**](#../README)
4415
+
4416
+ ***
4417
+
4418
+ ```ts
4419
+ const isAttachableSentinelInstance: TypeCheck<AttachableSentinelInstance>;
4420
+ ```
4421
+
4422
+ ### <a id="isSentinelInstance"></a>isSentinelInstance
4423
+
4424
+ [**@xyo-network/sentinel-model**](#../README)
4425
+
4426
+ ***
4427
+
4428
+ ```ts
4429
+ const isSentinelInstance: TypeCheck<SentinelInstance<SentinelParams<AnyConfigSchema<SentinelConfig>>, SentinelModuleEventData<QueryableModule<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>>>>;
4430
+ ```
4431
+
4432
+ ### <a id="isSentinelIntervalAutomation"></a>isSentinelIntervalAutomation
4433
+
4434
+ [**@xyo-network/sentinel-model**](#../README)
4435
+
4436
+ ***
4437
+
4438
+ ```ts
4439
+ const isSentinelIntervalAutomation: (x?) => x is SentinelIntervalAutomationPayload;
4440
+ ```
4441
+
4442
+ ## Parameters
4443
+
4444
+ ### x?
4445
+
4446
+ `unknown`
4447
+
4448
+ ## Returns
4449
+
4450
+ `x is SentinelIntervalAutomationPayload`
4451
+
4452
+ ### <a id="isSentinelModule"></a>isSentinelModule
4453
+
4454
+ [**@xyo-network/sentinel-model**](#../README)
4455
+
4456
+ ***
4457
+
4458
+ ```ts
4459
+ const isSentinelModule: QueryableModuleTypeCheck<SentinelModule<SentinelParams<AnyConfigSchema<SentinelConfig>>, SentinelModuleEventData<QueryableModule<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>>>>;
4460
+ ```
4461
+
4462
+ ### <a id="requiredAttachableSentinelInstanceFunctions"></a>requiredAttachableSentinelInstanceFunctions
4463
+
4464
+ [**@xyo-network/sentinel-model**](#../README)
4465
+
4466
+ ***
4467
+
4468
+ ```ts
4469
+ const requiredAttachableSentinelInstanceFunctions: ObjectTypeShape = {};
4470
+ ```
4471
+
4472
+ ### <a id="withSentinelInstance"></a>withSentinelInstance
4473
+
4474
+ [**@xyo-network/sentinel-model**](#../README)
4475
+
4476
+ ***
4477
+
4478
+ ```ts
4479
+ const withSentinelInstance: <R>(mod, closure) => R | undefined;
4480
+ ```
4481
+
4482
+ ## Type Parameters
4483
+
4484
+ ### R
4485
+
4486
+ `R`
4487
+
4488
+ ## Parameters
4489
+
4490
+ ### mod
4491
+
4492
+ `any`
4493
+
4494
+ ### closure
4495
+
4496
+ (`mod`) => `R`
4497
+
4498
+ ## Returns
4499
+
4500
+ `R` \| `undefined`
4501
+
4502
+ ## Deprecated
4503
+
4504
+ use narrowing instead [ if(is) ]
4505
+
4506
+ ### <a id="withSentinelModule"></a>withSentinelModule
4507
+
4508
+ [**@xyo-network/sentinel-model**](#../README)
4509
+
4510
+ ***
4511
+
4512
+ ```ts
4513
+ const withSentinelModule: <R>(mod, closure) => R | undefined;
4514
+ ```
4515
+
4516
+ ## Type Parameters
4517
+
4518
+ ### R
4519
+
4520
+ `R`
4521
+
4522
+ ## Parameters
4523
+
4524
+ ### mod
4525
+
4526
+ `any`
4527
+
4528
+ ### closure
4529
+
4530
+ (`mod`) => `R`
4531
+
4532
+ ## Returns
4533
+
4534
+ `R` \| `undefined`
4535
+
4536
+ ## Deprecated
18
4537
 
19
- ## Credits
4538
+ use narrowing instead [ if(is) ]
20
4539
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
4540
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
4541
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
4542
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/sentinel-model.svg
4543
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/sentinel-model
4544
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/sentinel-model.svg
4545
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE