@xyo-network/diviner-stateful 3.9.2 → 3.9.3

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/dist/neutral/index.d.ts +35 -993
  2. package/package.json +19 -19
@@ -3,7 +3,6 @@ import { DivinerConfig, DivinerParams, DivinerModuleEventData, DivinerInstance }
3
3
  import * as _xyo_network_module_model from '@xyo-network/module-model';
4
4
  import { ModuleIdentifier, AnyConfigSchema, StateDictionary, ModuleState, ModuleParams, ModuleInstance } from '@xyo-network/module-model';
5
5
  import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
6
- import * as _xylabs_logger from '@xylabs/logger';
7
6
  import * as _xyo_network_account_model from '@xyo-network/account-model';
8
7
  import * as _xylabs_object from '@xylabs/object';
9
8
  import { ArchivistWrapper } from '@xyo-network/archivist-wrapper';
@@ -40,59 +39,7 @@ declare abstract class StatefulDiviner<TParams extends StatefulDivinerParams = S
40
39
  addToResolvers?: boolean;
41
40
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
42
41
  allowNameResolution?: boolean;
43
- config: _xylabs_object.DeepRestrictToStringKeys<{
44
- schema: Schema;
45
- readonly archiving?: {
46
- readonly archivists?: string[] | undefined;
47
- readonly queries?: string[] | undefined;
48
- } | undefined;
49
- readonly allowedQueries?: string[] | undefined;
50
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
51
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
52
- readonly labels?: {
53
- [x: string]: string | undefined;
54
- } | undefined;
55
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
56
- readonly paging?: {
57
- [x: string]: {
58
- size?: number | undefined;
59
- };
60
- } | undefined;
61
- readonly retry?: {
62
- backoff?: number | undefined;
63
- interval?: number | undefined;
64
- retries?: number | undefined;
65
- } | undefined;
66
- readonly security?: {
67
- readonly allowAnonymous?: boolean | undefined;
68
- readonly allowed?: {
69
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
70
- } | undefined;
71
- readonly disallowed?: {
72
- [x: string]: Lowercase<string>[];
73
- } | undefined;
74
- } | undefined;
75
- readonly sign?: boolean | undefined;
76
- readonly storeQueries?: boolean | undefined;
77
- readonly timestamp?: boolean | undefined;
78
- parents?: {
79
- commit?: string[] | undefined;
80
- read?: string[] | undefined;
81
- write?: string[] | undefined;
82
- } | undefined;
83
- requireAllParents?: boolean | undefined;
84
- storage?: {
85
- indexes?: {
86
- key: {
87
- [x: string]: _xyo_network_archivist_model.IndexDirection;
88
- };
89
- multiEntry?: boolean | undefined;
90
- name?: string | undefined;
91
- unique?: boolean | undefined;
92
- }[] | undefined;
93
- } | undefined;
94
- storeParentReads?: boolean | undefined;
95
- }>;
42
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>;
96
43
  ephemeralQueryAccountEnabled?: boolean;
97
44
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
98
45
  }, _xyo_network_archivist_model.ArchivistModuleEventData>>>;
@@ -101,42 +48,7 @@ declare abstract class StatefulDiviner<TParams extends StatefulDivinerParams = S
101
48
  addToResolvers?: boolean;
102
49
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
103
50
  allowNameResolution?: boolean;
104
- config: _xylabs_object.DeepRestrictToStringKeys<{
105
- schema: Schema;
106
- readonly archiving?: {
107
- readonly archivists?: string[] | undefined;
108
- readonly queries?: string[] | undefined;
109
- } | undefined;
110
- readonly allowedQueries?: string[] | undefined;
111
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
112
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
113
- readonly labels?: {
114
- [x: string]: string | undefined;
115
- } | undefined;
116
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
117
- readonly paging?: {
118
- [x: string]: {
119
- size?: number | undefined;
120
- };
121
- } | undefined;
122
- readonly retry?: {
123
- backoff?: number | undefined;
124
- interval?: number | undefined;
125
- retries?: number | undefined;
126
- } | undefined;
127
- readonly security?: {
128
- readonly allowAnonymous?: boolean | undefined;
129
- readonly allowed?: {
130
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
131
- } | undefined;
132
- readonly disallowed?: {
133
- [x: string]: Lowercase<string>[];
134
- } | undefined;
135
- } | undefined;
136
- readonly sign?: boolean | undefined;
137
- readonly storeQueries?: boolean | undefined;
138
- readonly timestamp?: boolean | undefined;
139
- }>;
51
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_model.DivinerConfig<void, void>>;
140
52
  ephemeralQueryAccountEnabled?: boolean;
141
53
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
142
54
  }, DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -144,94 +56,16 @@ declare abstract class StatefulDiviner<TParams extends StatefulDivinerParams = S
144
56
  addToResolvers?: boolean;
145
57
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
146
58
  allowNameResolution?: boolean;
147
- config: _xylabs_object.DeepRestrictToStringKeys<{
148
- schema: Schema;
149
- readonly archiving?: {
150
- readonly archivists?: string[] | undefined;
151
- readonly queries?: string[] | undefined;
152
- } | undefined;
153
- readonly allowedQueries?: string[] | undefined;
154
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
155
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
156
- readonly labels?: {
157
- [x: string]: string | undefined;
158
- } | undefined;
159
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
160
- readonly paging?: {
161
- [x: string]: {
162
- size?: number | undefined;
163
- };
164
- } | undefined;
165
- readonly retry?: {
166
- backoff?: number | undefined;
167
- interval?: number | undefined;
168
- retries?: number | undefined;
169
- } | undefined;
170
- readonly security?: {
171
- readonly allowAnonymous?: boolean | undefined;
172
- readonly allowed?: {
173
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
174
- } | undefined;
175
- readonly disallowed?: {
176
- [x: string]: Lowercase<string>[];
177
- } | undefined;
178
- } | undefined;
179
- readonly sign?: boolean | undefined;
180
- readonly storeQueries?: boolean | undefined;
181
- readonly timestamp?: boolean | undefined;
182
- }>;
59
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
183
60
  ephemeralQueryAccountEnabled?: boolean;
184
61
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
185
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
186
- schema: Schema;
187
- }>, _xylabs_object.DeepRestrictToStringKeys<{
188
- schema: Schema;
189
- }>>>, _xylabs_object.DeepRestrictToStringKeys<{
190
- schema: Schema;
191
- }>, _xylabs_object.DeepRestrictToStringKeys<{
192
- schema: Schema;
193
- }>>>;
62
+ }, _xyo_network_module_model.ModuleEventData<object>>, Payload, Payload>>, Payload, Payload>>;
194
63
  protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<_xyo_network_diviner_model.DivinerModule<_xylabs_object.BaseParamsFields & {
195
64
  account?: _xyo_network_account_model.AccountInstance | "random";
196
65
  addToResolvers?: boolean;
197
66
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
198
67
  allowNameResolution?: boolean;
199
- config: _xylabs_object.DeepRestrictToStringKeys<{
200
- schema: Schema;
201
- readonly archiving?: {
202
- readonly archivists?: string[] | undefined;
203
- readonly queries?: string[] | undefined;
204
- } | undefined;
205
- readonly allowedQueries?: string[] | undefined;
206
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
207
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
208
- readonly labels?: {
209
- [x: string]: string | undefined;
210
- } | undefined;
211
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
212
- readonly paging?: {
213
- [x: string]: {
214
- size?: number | undefined;
215
- };
216
- } | undefined;
217
- readonly retry?: {
218
- backoff?: number | undefined;
219
- interval?: number | undefined;
220
- retries?: number | undefined;
221
- } | undefined;
222
- readonly security?: {
223
- readonly allowAnonymous?: boolean | undefined;
224
- readonly allowed?: {
225
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
226
- } | undefined;
227
- readonly disallowed?: {
228
- [x: string]: Lowercase<string>[];
229
- } | undefined;
230
- } | undefined;
231
- readonly sign?: boolean | undefined;
232
- readonly storeQueries?: boolean | undefined;
233
- readonly timestamp?: boolean | undefined;
234
- }>;
68
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_model.DivinerConfig<void, void>>;
235
69
  ephemeralQueryAccountEnabled?: boolean;
236
70
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
237
71
  }, DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -239,53 +73,10 @@ declare abstract class StatefulDiviner<TParams extends StatefulDivinerParams = S
239
73
  addToResolvers?: boolean;
240
74
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
241
75
  allowNameResolution?: boolean;
242
- config: _xylabs_object.DeepRestrictToStringKeys<{
243
- schema: Schema;
244
- readonly archiving?: {
245
- readonly archivists?: string[] | undefined;
246
- readonly queries?: string[] | undefined;
247
- } | undefined;
248
- readonly allowedQueries?: string[] | undefined;
249
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
250
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
251
- readonly labels?: {
252
- [x: string]: string | undefined;
253
- } | undefined;
254
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
255
- readonly paging?: {
256
- [x: string]: {
257
- size?: number | undefined;
258
- };
259
- } | undefined;
260
- readonly retry?: {
261
- backoff?: number | undefined;
262
- interval?: number | undefined;
263
- retries?: number | undefined;
264
- } | undefined;
265
- readonly security?: {
266
- readonly allowAnonymous?: boolean | undefined;
267
- readonly allowed?: {
268
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
269
- } | undefined;
270
- readonly disallowed?: {
271
- [x: string]: Lowercase<string>[];
272
- } | undefined;
273
- } | undefined;
274
- readonly sign?: boolean | undefined;
275
- readonly storeQueries?: boolean | undefined;
276
- readonly timestamp?: boolean | undefined;
277
- }>;
76
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
278
77
  ephemeralQueryAccountEnabled?: boolean;
279
78
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
280
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
281
- schema: Schema;
282
- }>, _xylabs_object.DeepRestrictToStringKeys<{
283
- schema: Schema;
284
- }>>>, _xylabs_object.DeepRestrictToStringKeys<{
285
- schema: Schema;
286
- }>, _xylabs_object.DeepRestrictToStringKeys<{
287
- schema: Schema;
288
- }>>>;
79
+ }, _xyo_network_module_model.ModuleEventData<object>>, Payload, Payload>>, Payload, Payload>>;
289
80
  protected retrieveState(): Promise<ModuleState<TState> | undefined>;
290
81
  }
291
82
 
@@ -296,315 +87,56 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
296
87
  addToResolvers?: boolean;
297
88
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
298
89
  allowNameResolution?: boolean;
299
- config: _xylabs_object.DeepRestrictToStringKeys<{
300
- schema: _xyo_network_payload_model.Schema;
301
- readonly archiving?: {
302
- readonly archivists?: string[] | undefined;
303
- readonly queries?: string[] | undefined;
304
- } | undefined;
305
- readonly allowedQueries?: string[] | undefined;
306
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
307
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
308
- readonly labels?: {
309
- [x: string]: string | undefined;
310
- } | undefined;
311
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
312
- readonly paging?: {
313
- [x: string]: {
314
- size?: number | undefined;
315
- };
316
- } | undefined;
317
- readonly retry?: {
318
- backoff?: number | undefined;
319
- interval?: number | undefined;
320
- retries?: number | undefined;
321
- } | undefined;
322
- readonly security?: {
323
- readonly allowAnonymous?: boolean | undefined;
324
- readonly allowed?: {
325
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
326
- } | undefined;
327
- readonly disallowed?: {
328
- [x: string]: Lowercase<string>[];
329
- } | undefined;
330
- } | undefined;
331
- readonly sign?: boolean | undefined;
332
- readonly storeQueries?: boolean | undefined;
333
- readonly timestamp?: boolean | undefined;
334
- stateStore: {
335
- archivist: _xyo_network_module_model.ModuleIdentifier;
336
- boundWitnessDiviner: _xyo_network_module_model.ModuleIdentifier;
337
- payloadDiviner: _xyo_network_module_model.ModuleIdentifier;
338
- };
339
- }>;
90
+ config: AnyConfigSchema<StatefulDivinerConfig>;
340
91
  ephemeralQueryAccountEnabled?: boolean;
341
92
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
342
93
  }, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
343
- _lastState?: _xylabs_object.DeepRestrictToStringKeys<{
344
- schema: "network.xyo.module.state";
345
- state: _xylabs_object.DeepOmitStartsWith<_xylabs_object.DeepOmitStartsWith<TState, "_">, "$">;
346
- }> | undefined;
347
- commitState(nextState: _xylabs_object.DeepRestrictToStringKeys<{
348
- schema: "network.xyo.module.state";
349
- state: _xylabs_object.DeepOmitStartsWith<_xylabs_object.DeepOmitStartsWith<TState, "_">, "$">;
350
- }>): Promise<void>;
94
+ _lastState?: ModuleState<TState>;
95
+ commitState(nextState: ModuleState<TState>): Promise<void>;
351
96
  getArchivistForStore(): Promise<_xyo_network_archivist_model.ArchivistInstance<_xylabs_object.BaseParamsFields & {
352
97
  account?: _xyo_network_account_model.AccountInstance | "random";
353
98
  addToResolvers?: boolean;
354
99
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
355
100
  allowNameResolution?: boolean;
356
- config: _xylabs_object.DeepRestrictToStringKeys<{
357
- schema: _xyo_network_payload_model.Schema;
358
- parents?: {
359
- commit?: string[] | undefined;
360
- read?: string[] | undefined;
361
- write?: string[] | undefined;
362
- } | undefined;
363
- requireAllParents?: boolean | undefined;
364
- storage?: {
365
- indexes?: {
366
- key: {
367
- [x: string]: _xyo_network_archivist_model.IndexDirection;
368
- };
369
- multiEntry?: boolean | undefined;
370
- name?: string | undefined;
371
- unique?: boolean | undefined;
372
- }[] | undefined;
373
- } | undefined;
374
- storeParentReads?: boolean | undefined;
375
- readonly archiving?: {
376
- readonly archivists?: string[] | undefined;
377
- readonly queries?: string[] | undefined;
378
- } | undefined;
379
- readonly allowedQueries?: string[] | undefined;
380
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
381
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
382
- readonly labels?: {
383
- [x: string]: string | undefined;
384
- } | undefined;
385
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
386
- readonly paging?: {
387
- [x: string]: {
388
- size?: number | undefined;
389
- };
390
- } | undefined;
391
- readonly retry?: {
392
- backoff?: number | undefined;
393
- interval?: number | undefined;
394
- retries?: number | undefined;
395
- } | undefined;
396
- readonly security?: {
397
- readonly allowAnonymous?: boolean | undefined;
398
- readonly allowed?: {
399
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
400
- } | undefined;
401
- readonly disallowed?: {
402
- [x: string]: Lowercase<string>[];
403
- } | undefined;
404
- } | undefined;
405
- readonly sign?: boolean | undefined;
406
- readonly storeQueries?: boolean | undefined;
407
- readonly timestamp?: boolean | undefined;
408
- }>;
101
+ config: AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig>;
409
102
  ephemeralQueryAccountEnabled?: boolean;
410
103
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
411
- } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xylabs_object.DeepRestrictToStringKeys<{
412
- schema: _xyo_network_payload_model.Schema;
413
- }>>>;
104
+ } & _xyo_network_archivist_model.ArchivistParamFields & object, _xyo_network_archivist_model.ArchivistModuleEventData, _xyo_network_payload_model.Payload>>;
414
105
  getBoundWitnessDivinerForStore(): Promise<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
415
106
  account?: _xyo_network_account_model.AccountInstance | "random";
416
107
  addToResolvers?: boolean;
417
108
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
418
109
  allowNameResolution?: boolean;
419
- config: _xylabs_object.DeepRestrictToStringKeys<{
420
- schema: _xyo_network_payload_model.Schema;
421
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
422
- readonly archiving?: {
423
- readonly archivists?: string[] | undefined;
424
- readonly queries?: string[] | undefined;
425
- } | undefined;
426
- readonly allowedQueries?: string[] | undefined;
427
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
428
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
429
- readonly labels?: {
430
- [x: string]: string | undefined;
431
- } | undefined;
432
- readonly paging?: {
433
- [x: string]: {
434
- size?: number | undefined;
435
- };
436
- } | undefined;
437
- readonly retry?: {
438
- backoff?: number | undefined;
439
- interval?: number | undefined;
440
- retries?: number | undefined;
441
- } | undefined;
442
- readonly security?: {
443
- readonly allowAnonymous?: boolean | undefined;
444
- readonly allowed?: {
445
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
446
- } | undefined;
447
- readonly disallowed?: {
448
- [x: string]: Lowercase<string>[];
449
- } | undefined;
450
- } | undefined;
451
- readonly sign?: boolean | undefined;
452
- readonly storeQueries?: boolean | undefined;
453
- readonly timestamp?: boolean | undefined;
454
- }>;
110
+ config: AnyConfigSchema<_xyo_network_diviner_model.DivinerConfig>;
455
111
  ephemeralQueryAccountEnabled?: boolean;
456
112
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
457
- }, _xylabs_object.DeepRestrictToStringKeys<{
458
- schema: _xyo_network_payload_model.Schema;
459
- }>, _xylabs_object.DeepRestrictToStringKeys<{
460
- schema: _xyo_network_payload_model.Schema;
461
- }>, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
113
+ }, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
462
114
  account?: _xyo_network_account_model.AccountInstance | "random";
463
115
  addToResolvers?: boolean;
464
116
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
465
117
  allowNameResolution?: boolean;
466
- config: _xylabs_object.DeepRestrictToStringKeys<{
467
- schema: _xyo_network_payload_model.Schema;
468
- readonly archiving?: {
469
- readonly archivists?: string[] | undefined;
470
- readonly queries?: string[] | undefined;
471
- } | undefined;
472
- readonly allowedQueries?: string[] | undefined;
473
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
474
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
475
- readonly labels?: {
476
- [x: string]: string | undefined;
477
- } | undefined;
478
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
479
- readonly paging?: {
480
- [x: string]: {
481
- size?: number | undefined;
482
- };
483
- } | undefined;
484
- readonly retry?: {
485
- backoff?: number | undefined;
486
- interval?: number | undefined;
487
- retries?: number | undefined;
488
- } | undefined;
489
- readonly security?: {
490
- readonly allowAnonymous?: boolean | undefined;
491
- readonly allowed?: {
492
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
493
- } | undefined;
494
- readonly disallowed?: {
495
- [x: string]: Lowercase<string>[];
496
- } | undefined;
497
- } | undefined;
498
- readonly sign?: boolean | undefined;
499
- readonly storeQueries?: boolean | undefined;
500
- readonly timestamp?: boolean | undefined;
501
- }>;
118
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
502
119
  ephemeralQueryAccountEnabled?: boolean;
503
120
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
504
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
505
- schema: _xyo_network_payload_model.Schema;
506
- }>, _xylabs_object.DeepRestrictToStringKeys<{
507
- schema: _xyo_network_payload_model.Schema;
508
- }>>>>;
121
+ }, _xyo_network_module_model.ModuleEventData<object>>, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload>>>;
509
122
  getPayloadDivinerForStateStore(): Promise<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
510
123
  account?: _xyo_network_account_model.AccountInstance | "random";
511
124
  addToResolvers?: boolean;
512
125
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
513
126
  allowNameResolution?: boolean;
514
- config: _xylabs_object.DeepRestrictToStringKeys<{
515
- schema: _xyo_network_payload_model.Schema;
516
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
517
- readonly archiving?: {
518
- readonly archivists?: string[] | undefined;
519
- readonly queries?: string[] | undefined;
520
- } | undefined;
521
- readonly allowedQueries?: string[] | undefined;
522
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
523
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
524
- readonly labels?: {
525
- [x: string]: string | undefined;
526
- } | undefined;
527
- readonly paging?: {
528
- [x: string]: {
529
- size?: number | undefined;
530
- };
531
- } | undefined;
532
- readonly retry?: {
533
- backoff?: number | undefined;
534
- interval?: number | undefined;
535
- retries?: number | undefined;
536
- } | undefined;
537
- readonly security?: {
538
- readonly allowAnonymous?: boolean | undefined;
539
- readonly allowed?: {
540
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
541
- } | undefined;
542
- readonly disallowed?: {
543
- [x: string]: Lowercase<string>[];
544
- } | undefined;
545
- } | undefined;
546
- readonly sign?: boolean | undefined;
547
- readonly storeQueries?: boolean | undefined;
548
- readonly timestamp?: boolean | undefined;
549
- }>;
127
+ config: AnyConfigSchema<_xyo_network_diviner_model.DivinerConfig>;
550
128
  ephemeralQueryAccountEnabled?: boolean;
551
129
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
552
- }, _xylabs_object.DeepRestrictToStringKeys<{
553
- schema: _xyo_network_payload_model.Schema;
554
- }>, _xylabs_object.DeepRestrictToStringKeys<{
555
- schema: _xyo_network_payload_model.Schema;
556
- }>, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
130
+ }, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, _xyo_network_diviner_model.DivinerModuleEventData<ModuleInstance<_xylabs_object.BaseParamsFields & {
557
131
  account?: _xyo_network_account_model.AccountInstance | "random";
558
132
  addToResolvers?: boolean;
559
133
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
560
134
  allowNameResolution?: boolean;
561
- config: _xylabs_object.DeepRestrictToStringKeys<{
562
- schema: _xyo_network_payload_model.Schema;
563
- readonly archiving?: {
564
- readonly archivists?: string[] | undefined;
565
- readonly queries?: string[] | undefined;
566
- } | undefined;
567
- readonly allowedQueries?: string[] | undefined;
568
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
569
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
570
- readonly labels?: {
571
- [x: string]: string | undefined;
572
- } | undefined;
573
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
574
- readonly paging?: {
575
- [x: string]: {
576
- size?: number | undefined;
577
- };
578
- } | undefined;
579
- readonly retry?: {
580
- backoff?: number | undefined;
581
- interval?: number | undefined;
582
- retries?: number | undefined;
583
- } | undefined;
584
- readonly security?: {
585
- readonly allowAnonymous?: boolean | undefined;
586
- readonly allowed?: {
587
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
588
- } | undefined;
589
- readonly disallowed?: {
590
- [x: string]: Lowercase<string>[];
591
- } | undefined;
592
- } | undefined;
593
- readonly sign?: boolean | undefined;
594
- readonly storeQueries?: boolean | undefined;
595
- readonly timestamp?: boolean | undefined;
596
- }>;
135
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
597
136
  ephemeralQueryAccountEnabled?: boolean;
598
137
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
599
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
600
- schema: _xyo_network_payload_model.Schema;
601
- }>, _xylabs_object.DeepRestrictToStringKeys<{
602
- schema: _xyo_network_payload_model.Schema;
603
- }>>>>;
604
- retrieveState(): Promise<_xylabs_object.DeepRestrictToStringKeys<{
605
- schema: "network.xyo.module.state";
606
- state: _xylabs_object.DeepOmitStartsWith<_xylabs_object.DeepOmitStartsWith<TState, "_">, "$">;
607
- }> | undefined>;
138
+ }, _xyo_network_module_model.ModuleEventData<object>>, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload>>>;
139
+ retrieveState(): Promise<ModuleState<TState> | undefined>;
608
140
  readonly pipeline?: _xyo_network_module_model.ModulePipeLine;
609
141
  readonly status: _xyo_network_module_model.ModuleStatus;
610
142
  address: _xylabs_hex.Address;
@@ -634,42 +166,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
634
166
  addToResolvers?: boolean;
635
167
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
636
168
  allowNameResolution?: boolean;
637
- config: _xylabs_object.DeepRestrictToStringKeys<{
638
- schema: _xyo_network_payload_model.Schema;
639
- readonly archiving?: {
640
- readonly archivists?: string[] | undefined;
641
- readonly queries?: string[] | undefined;
642
- } | undefined;
643
- readonly allowedQueries?: string[] | undefined;
644
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
645
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
646
- readonly labels?: {
647
- [x: string]: string | undefined;
648
- } | undefined;
649
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
650
- readonly paging?: {
651
- [x: string]: {
652
- size?: number | undefined;
653
- };
654
- } | undefined;
655
- readonly retry?: {
656
- backoff?: number | undefined;
657
- interval?: number | undefined;
658
- retries?: number | undefined;
659
- } | undefined;
660
- readonly security?: {
661
- readonly allowAnonymous?: boolean | undefined;
662
- readonly allowed?: {
663
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
664
- } | undefined;
665
- readonly disallowed?: {
666
- [x: string]: Lowercase<string>[];
667
- } | undefined;
668
- } | undefined;
669
- readonly sign?: boolean | undefined;
670
- readonly storeQueries?: boolean | undefined;
671
- readonly timestamp?: boolean | undefined;
672
- }>;
169
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
673
170
  ephemeralQueryAccountEnabled?: boolean;
674
171
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
675
172
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -677,42 +174,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
677
174
  addToResolvers?: boolean;
678
175
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
679
176
  allowNameResolution?: boolean;
680
- config: _xylabs_object.DeepRestrictToStringKeys<{
681
- schema: _xyo_network_payload_model.Schema;
682
- readonly archiving?: {
683
- readonly archivists?: string[] | undefined;
684
- readonly queries?: string[] | undefined;
685
- } | undefined;
686
- readonly allowedQueries?: string[] | undefined;
687
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
688
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
689
- readonly labels?: {
690
- [x: string]: string | undefined;
691
- } | undefined;
692
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
693
- readonly paging?: {
694
- [x: string]: {
695
- size?: number | undefined;
696
- };
697
- } | undefined;
698
- readonly retry?: {
699
- backoff?: number | undefined;
700
- interval?: number | undefined;
701
- retries?: number | undefined;
702
- } | undefined;
703
- readonly security?: {
704
- readonly allowAnonymous?: boolean | undefined;
705
- readonly allowed?: {
706
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
707
- } | undefined;
708
- readonly disallowed?: {
709
- [x: string]: Lowercase<string>[];
710
- } | undefined;
711
- } | undefined;
712
- readonly sign?: boolean | undefined;
713
- readonly storeQueries?: boolean | undefined;
714
- readonly timestamp?: boolean | undefined;
715
- }>;
177
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
716
178
  ephemeralQueryAccountEnabled?: boolean;
717
179
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
718
180
  }, _xyo_network_module_model.ModuleEventData<object>>>(): _xylabs_promise.Promisable<T | undefined>;
@@ -721,42 +183,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
721
183
  addToResolvers?: boolean;
722
184
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
723
185
  allowNameResolution?: boolean;
724
- config: _xylabs_object.DeepRestrictToStringKeys<{
725
- schema: _xyo_network_payload_model.Schema;
726
- readonly archiving?: {
727
- readonly archivists?: string[] | undefined;
728
- readonly queries?: string[] | undefined;
729
- } | undefined;
730
- readonly allowedQueries?: string[] | undefined;
731
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
732
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
733
- readonly labels?: {
734
- [x: string]: string | undefined;
735
- } | undefined;
736
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
737
- readonly paging?: {
738
- [x: string]: {
739
- size?: number | undefined;
740
- };
741
- } | undefined;
742
- readonly retry?: {
743
- backoff?: number | undefined;
744
- interval?: number | undefined;
745
- retries?: number | undefined;
746
- } | undefined;
747
- readonly security?: {
748
- readonly allowAnonymous?: boolean | undefined;
749
- readonly allowed?: {
750
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
751
- } | undefined;
752
- readonly disallowed?: {
753
- [x: string]: Lowercase<string>[];
754
- } | undefined;
755
- } | undefined;
756
- readonly sign?: boolean | undefined;
757
- readonly storeQueries?: boolean | undefined;
758
- readonly timestamp?: boolean | undefined;
759
- }>;
186
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
760
187
  ephemeralQueryAccountEnabled?: boolean;
761
188
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
762
189
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -764,42 +191,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
764
191
  addToResolvers?: boolean;
765
192
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
766
193
  allowNameResolution?: boolean;
767
- config: _xylabs_object.DeepRestrictToStringKeys<{
768
- schema: _xyo_network_payload_model.Schema;
769
- readonly archiving?: {
770
- readonly archivists?: string[] | undefined;
771
- readonly queries?: string[] | undefined;
772
- } | undefined;
773
- readonly allowedQueries?: string[] | undefined;
774
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
775
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
776
- readonly labels?: {
777
- [x: string]: string | undefined;
778
- } | undefined;
779
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
780
- readonly paging?: {
781
- [x: string]: {
782
- size?: number | undefined;
783
- };
784
- } | undefined;
785
- readonly retry?: {
786
- backoff?: number | undefined;
787
- interval?: number | undefined;
788
- retries?: number | undefined;
789
- } | undefined;
790
- readonly security?: {
791
- readonly allowAnonymous?: boolean | undefined;
792
- readonly allowed?: {
793
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
794
- } | undefined;
795
- readonly disallowed?: {
796
- [x: string]: Lowercase<string>[];
797
- } | undefined;
798
- } | undefined;
799
- readonly sign?: boolean | undefined;
800
- readonly storeQueries?: boolean | undefined;
801
- readonly timestamp?: boolean | undefined;
802
- }>;
194
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
803
195
  ephemeralQueryAccountEnabled?: boolean;
804
196
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
805
197
  }, _xyo_network_module_model.ModuleEventData<object>>>(all: "*", options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): _xylabs_promise.Promisable<T[]>;
@@ -808,42 +200,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
808
200
  addToResolvers?: boolean;
809
201
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
810
202
  allowNameResolution?: boolean;
811
- config: _xylabs_object.DeepRestrictToStringKeys<{
812
- schema: _xyo_network_payload_model.Schema;
813
- readonly archiving?: {
814
- readonly archivists?: string[] | undefined;
815
- readonly queries?: string[] | undefined;
816
- } | undefined;
817
- readonly allowedQueries?: string[] | undefined;
818
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
819
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
820
- readonly labels?: {
821
- [x: string]: string | undefined;
822
- } | undefined;
823
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
824
- readonly paging?: {
825
- [x: string]: {
826
- size?: number | undefined;
827
- };
828
- } | undefined;
829
- readonly retry?: {
830
- backoff?: number | undefined;
831
- interval?: number | undefined;
832
- retries?: number | undefined;
833
- } | undefined;
834
- readonly security?: {
835
- readonly allowAnonymous?: boolean | undefined;
836
- readonly allowed?: {
837
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
838
- } | undefined;
839
- readonly disallowed?: {
840
- [x: string]: Lowercase<string>[];
841
- } | undefined;
842
- } | undefined;
843
- readonly sign?: boolean | undefined;
844
- readonly storeQueries?: boolean | undefined;
845
- readonly timestamp?: boolean | undefined;
846
- }>;
203
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
847
204
  ephemeralQueryAccountEnabled?: boolean;
848
205
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
849
206
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -851,42 +208,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
851
208
  addToResolvers?: boolean;
852
209
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
853
210
  allowNameResolution?: boolean;
854
- config: _xylabs_object.DeepRestrictToStringKeys<{
855
- schema: _xyo_network_payload_model.Schema;
856
- readonly archiving?: {
857
- readonly archivists?: string[] | undefined;
858
- readonly queries?: string[] | undefined;
859
- } | undefined;
860
- readonly allowedQueries?: string[] | undefined;
861
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
862
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
863
- readonly labels?: {
864
- [x: string]: string | undefined;
865
- } | undefined;
866
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
867
- readonly paging?: {
868
- [x: string]: {
869
- size?: number | undefined;
870
- };
871
- } | undefined;
872
- readonly retry?: {
873
- backoff?: number | undefined;
874
- interval?: number | undefined;
875
- retries?: number | undefined;
876
- } | undefined;
877
- readonly security?: {
878
- readonly allowAnonymous?: boolean | undefined;
879
- readonly allowed?: {
880
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
881
- } | undefined;
882
- readonly disallowed?: {
883
- [x: string]: Lowercase<string>[];
884
- } | undefined;
885
- } | undefined;
886
- readonly sign?: boolean | undefined;
887
- readonly storeQueries?: boolean | undefined;
888
- readonly timestamp?: boolean | undefined;
889
- }>;
211
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
890
212
  ephemeralQueryAccountEnabled?: boolean;
891
213
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
892
214
  }, _xyo_network_module_model.ModuleEventData<object>>>(id: _xyo_network_module_model.ModuleIdentifier, options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): _xylabs_promise.Promisable<T | undefined>;
@@ -895,42 +217,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
895
217
  addToResolvers?: boolean;
896
218
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
897
219
  allowNameResolution?: boolean;
898
- config: _xylabs_object.DeepRestrictToStringKeys<{
899
- schema: _xyo_network_payload_model.Schema;
900
- readonly archiving?: {
901
- readonly archivists?: string[] | undefined;
902
- readonly queries?: string[] | undefined;
903
- } | undefined;
904
- readonly allowedQueries?: string[] | undefined;
905
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
906
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
907
- readonly labels?: {
908
- [x: string]: string | undefined;
909
- } | undefined;
910
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
911
- readonly paging?: {
912
- [x: string]: {
913
- size?: number | undefined;
914
- };
915
- } | undefined;
916
- readonly retry?: {
917
- backoff?: number | undefined;
918
- interval?: number | undefined;
919
- retries?: number | undefined;
920
- } | undefined;
921
- readonly security?: {
922
- readonly allowAnonymous?: boolean | undefined;
923
- readonly allowed?: {
924
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
925
- } | undefined;
926
- readonly disallowed?: {
927
- [x: string]: Lowercase<string>[];
928
- } | undefined;
929
- } | undefined;
930
- readonly sign?: boolean | undefined;
931
- readonly storeQueries?: boolean | undefined;
932
- readonly timestamp?: boolean | undefined;
933
- }>;
220
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
934
221
  ephemeralQueryAccountEnabled?: boolean;
935
222
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
936
223
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -938,42 +225,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
938
225
  addToResolvers?: boolean;
939
226
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
940
227
  allowNameResolution?: boolean;
941
- config: _xylabs_object.DeepRestrictToStringKeys<{
942
- schema: _xyo_network_payload_model.Schema;
943
- readonly archiving?: {
944
- readonly archivists?: string[] | undefined;
945
- readonly queries?: string[] | undefined;
946
- } | undefined;
947
- readonly allowedQueries?: string[] | undefined;
948
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
949
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
950
- readonly labels?: {
951
- [x: string]: string | undefined;
952
- } | undefined;
953
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
954
- readonly paging?: {
955
- [x: string]: {
956
- size?: number | undefined;
957
- };
958
- } | undefined;
959
- readonly retry?: {
960
- backoff?: number | undefined;
961
- interval?: number | undefined;
962
- retries?: number | undefined;
963
- } | undefined;
964
- readonly security?: {
965
- readonly allowAnonymous?: boolean | undefined;
966
- readonly allowed?: {
967
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
968
- } | undefined;
969
- readonly disallowed?: {
970
- [x: string]: Lowercase<string>[];
971
- } | undefined;
972
- } | undefined;
973
- readonly sign?: boolean | undefined;
974
- readonly storeQueries?: boolean | undefined;
975
- readonly timestamp?: boolean | undefined;
976
- }>;
228
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
977
229
  ephemeralQueryAccountEnabled?: boolean;
978
230
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
979
231
  }, _xyo_network_module_model.ModuleEventData<object>>>(id?: _xyo_network_module_model.ModuleIdentifier, options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): _xylabs_promise.Promisable<T | T[] | undefined>;
@@ -982,42 +234,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
982
234
  addToResolvers?: boolean;
983
235
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
984
236
  allowNameResolution?: boolean;
985
- config: _xylabs_object.DeepRestrictToStringKeys<{
986
- schema: _xyo_network_payload_model.Schema;
987
- readonly archiving?: {
988
- readonly archivists?: string[] | undefined;
989
- readonly queries?: string[] | undefined;
990
- } | undefined;
991
- readonly allowedQueries?: string[] | undefined;
992
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
993
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
994
- readonly labels?: {
995
- [x: string]: string | undefined;
996
- } | undefined;
997
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
998
- readonly paging?: {
999
- [x: string]: {
1000
- size?: number | undefined;
1001
- };
1002
- } | undefined;
1003
- readonly retry?: {
1004
- backoff?: number | undefined;
1005
- interval?: number | undefined;
1006
- retries?: number | undefined;
1007
- } | undefined;
1008
- readonly security?: {
1009
- readonly allowAnonymous?: boolean | undefined;
1010
- readonly allowed?: {
1011
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1012
- } | undefined;
1013
- readonly disallowed?: {
1014
- [x: string]: Lowercase<string>[];
1015
- } | undefined;
1016
- } | undefined;
1017
- readonly sign?: boolean | undefined;
1018
- readonly storeQueries?: boolean | undefined;
1019
- readonly timestamp?: boolean | undefined;
1020
- }>;
237
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
1021
238
  ephemeralQueryAccountEnabled?: boolean;
1022
239
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
1023
240
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -1025,42 +242,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
1025
242
  addToResolvers?: boolean;
1026
243
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
1027
244
  allowNameResolution?: boolean;
1028
- config: _xylabs_object.DeepRestrictToStringKeys<{
1029
- schema: _xyo_network_payload_model.Schema;
1030
- readonly archiving?: {
1031
- readonly archivists?: string[] | undefined;
1032
- readonly queries?: string[] | undefined;
1033
- } | undefined;
1034
- readonly allowedQueries?: string[] | undefined;
1035
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
1036
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
1037
- readonly labels?: {
1038
- [x: string]: string | undefined;
1039
- } | undefined;
1040
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
1041
- readonly paging?: {
1042
- [x: string]: {
1043
- size?: number | undefined;
1044
- };
1045
- } | undefined;
1046
- readonly retry?: {
1047
- backoff?: number | undefined;
1048
- interval?: number | undefined;
1049
- retries?: number | undefined;
1050
- } | undefined;
1051
- readonly security?: {
1052
- readonly allowAnonymous?: boolean | undefined;
1053
- readonly allowed?: {
1054
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1055
- } | undefined;
1056
- readonly disallowed?: {
1057
- [x: string]: Lowercase<string>[];
1058
- } | undefined;
1059
- } | undefined;
1060
- readonly sign?: boolean | undefined;
1061
- readonly storeQueries?: boolean | undefined;
1062
- readonly timestamp?: boolean | undefined;
1063
- }>;
245
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
1064
246
  ephemeralQueryAccountEnabled?: boolean;
1065
247
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
1066
248
  }, _xyo_network_module_model.ModuleEventData<object>>>(all: "*", options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): Promise<T[]>;
@@ -1069,42 +251,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
1069
251
  addToResolvers?: boolean;
1070
252
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
1071
253
  allowNameResolution?: boolean;
1072
- config: _xylabs_object.DeepRestrictToStringKeys<{
1073
- schema: _xyo_network_payload_model.Schema;
1074
- readonly archiving?: {
1075
- readonly archivists?: string[] | undefined;
1076
- readonly queries?: string[] | undefined;
1077
- } | undefined;
1078
- readonly allowedQueries?: string[] | undefined;
1079
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
1080
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
1081
- readonly labels?: {
1082
- [x: string]: string | undefined;
1083
- } | undefined;
1084
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
1085
- readonly paging?: {
1086
- [x: string]: {
1087
- size?: number | undefined;
1088
- };
1089
- } | undefined;
1090
- readonly retry?: {
1091
- backoff?: number | undefined;
1092
- interval?: number | undefined;
1093
- retries?: number | undefined;
1094
- } | undefined;
1095
- readonly security?: {
1096
- readonly allowAnonymous?: boolean | undefined;
1097
- readonly allowed?: {
1098
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1099
- } | undefined;
1100
- readonly disallowed?: {
1101
- [x: string]: Lowercase<string>[];
1102
- } | undefined;
1103
- } | undefined;
1104
- readonly sign?: boolean | undefined;
1105
- readonly storeQueries?: boolean | undefined;
1106
- readonly timestamp?: boolean | undefined;
1107
- }>;
254
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
1108
255
  ephemeralQueryAccountEnabled?: boolean;
1109
256
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
1110
257
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -1112,42 +259,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
1112
259
  addToResolvers?: boolean;
1113
260
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
1114
261
  allowNameResolution?: boolean;
1115
- config: _xylabs_object.DeepRestrictToStringKeys<{
1116
- schema: _xyo_network_payload_model.Schema;
1117
- readonly archiving?: {
1118
- readonly archivists?: string[] | undefined;
1119
- readonly queries?: string[] | undefined;
1120
- } | undefined;
1121
- readonly allowedQueries?: string[] | undefined;
1122
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
1123
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
1124
- readonly labels?: {
1125
- [x: string]: string | undefined;
1126
- } | undefined;
1127
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
1128
- readonly paging?: {
1129
- [x: string]: {
1130
- size?: number | undefined;
1131
- };
1132
- } | undefined;
1133
- readonly retry?: {
1134
- backoff?: number | undefined;
1135
- interval?: number | undefined;
1136
- retries?: number | undefined;
1137
- } | undefined;
1138
- readonly security?: {
1139
- readonly allowAnonymous?: boolean | undefined;
1140
- readonly allowed?: {
1141
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1142
- } | undefined;
1143
- readonly disallowed?: {
1144
- [x: string]: Lowercase<string>[];
1145
- } | undefined;
1146
- } | undefined;
1147
- readonly sign?: boolean | undefined;
1148
- readonly storeQueries?: boolean | undefined;
1149
- readonly timestamp?: boolean | undefined;
1150
- }>;
262
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
1151
263
  ephemeralQueryAccountEnabled?: boolean;
1152
264
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
1153
265
  }, _xyo_network_module_model.ModuleEventData<object>>>(id: _xyo_network_module_model.ModuleIdentifier, options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): Promise<T | undefined>;
@@ -1156,42 +268,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
1156
268
  addToResolvers?: boolean;
1157
269
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
1158
270
  allowNameResolution?: boolean;
1159
- config: _xylabs_object.DeepRestrictToStringKeys<{
1160
- schema: _xyo_network_payload_model.Schema;
1161
- readonly archiving?: {
1162
- readonly archivists?: string[] | undefined;
1163
- readonly queries?: string[] | undefined;
1164
- } | undefined;
1165
- readonly allowedQueries?: string[] | undefined;
1166
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
1167
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
1168
- readonly labels?: {
1169
- [x: string]: string | undefined;
1170
- } | undefined;
1171
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
1172
- readonly paging?: {
1173
- [x: string]: {
1174
- size?: number | undefined;
1175
- };
1176
- } | undefined;
1177
- readonly retry?: {
1178
- backoff?: number | undefined;
1179
- interval?: number | undefined;
1180
- retries?: number | undefined;
1181
- } | undefined;
1182
- readonly security?: {
1183
- readonly allowAnonymous?: boolean | undefined;
1184
- readonly allowed?: {
1185
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1186
- } | undefined;
1187
- readonly disallowed?: {
1188
- [x: string]: Lowercase<string>[];
1189
- } | undefined;
1190
- } | undefined;
1191
- readonly sign?: boolean | undefined;
1192
- readonly storeQueries?: boolean | undefined;
1193
- readonly timestamp?: boolean | undefined;
1194
- }>;
271
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
1195
272
  ephemeralQueryAccountEnabled?: boolean;
1196
273
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
1197
274
  }, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
@@ -1199,42 +276,7 @@ declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xyla
1199
276
  addToResolvers?: boolean;
1200
277
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
1201
278
  allowNameResolution?: boolean;
1202
- config: _xylabs_object.DeepRestrictToStringKeys<{
1203
- schema: _xyo_network_payload_model.Schema;
1204
- readonly archiving?: {
1205
- readonly archivists?: string[] | undefined;
1206
- readonly queries?: string[] | undefined;
1207
- } | undefined;
1208
- readonly allowedQueries?: string[] | undefined;
1209
- readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
1210
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
1211
- readonly labels?: {
1212
- [x: string]: string | undefined;
1213
- } | undefined;
1214
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
1215
- readonly paging?: {
1216
- [x: string]: {
1217
- size?: number | undefined;
1218
- };
1219
- } | undefined;
1220
- readonly retry?: {
1221
- backoff?: number | undefined;
1222
- interval?: number | undefined;
1223
- retries?: number | undefined;
1224
- } | undefined;
1225
- readonly security?: {
1226
- readonly allowAnonymous?: boolean | undefined;
1227
- readonly allowed?: {
1228
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1229
- } | undefined;
1230
- readonly disallowed?: {
1231
- [x: string]: Lowercase<string>[];
1232
- } | undefined;
1233
- } | undefined;
1234
- readonly sign?: boolean | undefined;
1235
- readonly storeQueries?: boolean | undefined;
1236
- readonly timestamp?: boolean | undefined;
1237
- }>;
279
+ config: AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
1238
280
  ephemeralQueryAccountEnabled?: boolean;
1239
281
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
1240
282
  }, _xyo_network_module_model.ModuleEventData<object>>>(id: _xyo_network_module_model.ModuleIdentifier, options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): Promise<T | T[] | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-stateful",
3
- "version": "3.9.2",
3
+ "version": "3.9.3",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -32,29 +32,29 @@
32
32
  "@xylabs/assert": "^4.5.1",
33
33
  "@xylabs/hex": "^4.5.1",
34
34
  "@xylabs/object": "^4.5.1",
35
- "@xyo-network/archivist-model": "^3.9.2",
36
- "@xyo-network/archivist-wrapper": "^3.9.2",
37
- "@xyo-network/boundwitness-builder": "^3.9.2",
38
- "@xyo-network/boundwitness-model": "^3.9.2",
39
- "@xyo-network/diviner-abstract": "^3.9.2",
40
- "@xyo-network/diviner-boundwitness-model": "^3.9.2",
41
- "@xyo-network/diviner-model": "^3.9.2",
42
- "@xyo-network/diviner-wrapper": "^3.9.2",
43
- "@xyo-network/module-model": "^3.9.2",
44
- "@xyo-network/payload-builder": "^3.9.2",
45
- "@xyo-network/payload-model": "^3.9.2"
35
+ "@xyo-network/archivist-model": "^3.9.3",
36
+ "@xyo-network/archivist-wrapper": "^3.9.3",
37
+ "@xyo-network/boundwitness-builder": "^3.9.3",
38
+ "@xyo-network/boundwitness-model": "^3.9.3",
39
+ "@xyo-network/diviner-abstract": "^3.9.3",
40
+ "@xyo-network/diviner-boundwitness-model": "^3.9.3",
41
+ "@xyo-network/diviner-model": "^3.9.3",
42
+ "@xyo-network/diviner-wrapper": "^3.9.3",
43
+ "@xyo-network/module-model": "^3.9.3",
44
+ "@xyo-network/payload-builder": "^3.9.3",
45
+ "@xyo-network/payload-model": "^3.9.3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@xylabs/ts-scripts-yarn3": "^5.0.24",
49
49
  "@xylabs/tsconfig": "^5.0.24",
50
50
  "@xylabs/vitest-extended": "^4.5.1",
51
- "@xyo-network/account": "^3.9.2",
52
- "@xyo-network/archivist-memory": "^3.9.2",
53
- "@xyo-network/diviner-boundwitness-memory": "^3.9.2",
54
- "@xyo-network/diviner-payload-memory": "^3.9.2",
55
- "@xyo-network/manifest": "^3.9.2",
56
- "@xyo-network/module-factory-locator": "^3.9.2",
57
- "@xyo-network/node-memory": "^3.9.2",
51
+ "@xyo-network/account": "^3.9.3",
52
+ "@xyo-network/archivist-memory": "^3.9.3",
53
+ "@xyo-network/diviner-boundwitness-memory": "^3.9.3",
54
+ "@xyo-network/diviner-payload-memory": "^3.9.3",
55
+ "@xyo-network/manifest": "^3.9.3",
56
+ "@xyo-network/module-factory-locator": "^3.9.3",
57
+ "@xyo-network/node-memory": "^3.9.3",
58
58
  "typescript": "^5.7.3",
59
59
  "vitest": "^3.0.5"
60
60
  },