@xyo-network/module-model 3.9.2 → 3.9.4
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.
- package/dist/neutral/index.d.ts +21 -703
- package/package.json +6 -6
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
2
1
|
import { Schema, Payload, ModuleError, WithoutPrivateStorageMeta, WithSources, Query } from '@xyo-network/payload-model';
|
|
3
2
|
import { Address } from '@xylabs/hex';
|
|
4
3
|
import * as _xylabs_object from '@xylabs/object';
|
|
5
4
|
import { EmptyObject, WithAdditional, BaseParams, TypeCheck, AnyObject, IsObjectFactory, JsonValue } from '@xylabs/object';
|
|
6
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
7
5
|
import { LogLevel, Logger } from '@xylabs/logger';
|
|
8
6
|
import { RetryConfig } from '@xylabs/retry';
|
|
9
7
|
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
@@ -199,42 +197,7 @@ declare const asModule: {
|
|
|
199
197
|
addToResolvers?: boolean;
|
|
200
198
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
201
199
|
allowNameResolution?: boolean;
|
|
202
|
-
config:
|
|
203
|
-
schema: _xyo_network_payload_model.Schema;
|
|
204
|
-
readonly archiving?: {
|
|
205
|
-
readonly archivists?: string[] | undefined;
|
|
206
|
-
readonly queries?: string[] | undefined;
|
|
207
|
-
} | undefined;
|
|
208
|
-
readonly allowedQueries?: string[] | undefined;
|
|
209
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
210
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
211
|
-
readonly labels?: {
|
|
212
|
-
[x: string]: string | undefined;
|
|
213
|
-
} | undefined;
|
|
214
|
-
readonly name?: ModuleName | undefined;
|
|
215
|
-
readonly paging?: {
|
|
216
|
-
[x: string]: {
|
|
217
|
-
size?: number | undefined;
|
|
218
|
-
};
|
|
219
|
-
} | undefined;
|
|
220
|
-
readonly retry?: {
|
|
221
|
-
backoff?: number | undefined;
|
|
222
|
-
interval?: number | undefined;
|
|
223
|
-
retries?: number | undefined;
|
|
224
|
-
} | undefined;
|
|
225
|
-
readonly security?: {
|
|
226
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
227
|
-
readonly allowed?: {
|
|
228
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
229
|
-
} | undefined;
|
|
230
|
-
readonly disallowed?: {
|
|
231
|
-
[x: string]: Lowercase<string>[];
|
|
232
|
-
} | undefined;
|
|
233
|
-
} | undefined;
|
|
234
|
-
readonly sign?: boolean | undefined;
|
|
235
|
-
readonly storeQueries?: boolean | undefined;
|
|
236
|
-
readonly timestamp?: boolean | undefined;
|
|
237
|
-
}>;
|
|
200
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
238
201
|
ephemeralQueryAccountEnabled?: boolean;
|
|
239
202
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
240
203
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -243,42 +206,7 @@ declare const asModule: {
|
|
|
243
206
|
addToResolvers?: boolean;
|
|
244
207
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
245
208
|
allowNameResolution?: boolean;
|
|
246
|
-
config:
|
|
247
|
-
schema: _xyo_network_payload_model.Schema;
|
|
248
|
-
readonly archiving?: {
|
|
249
|
-
readonly archivists?: string[] | undefined;
|
|
250
|
-
readonly queries?: string[] | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
readonly allowedQueries?: string[] | undefined;
|
|
253
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
254
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
255
|
-
readonly labels?: {
|
|
256
|
-
[x: string]: string | undefined;
|
|
257
|
-
} | undefined;
|
|
258
|
-
readonly name?: ModuleName | undefined;
|
|
259
|
-
readonly paging?: {
|
|
260
|
-
[x: string]: {
|
|
261
|
-
size?: number | undefined;
|
|
262
|
-
};
|
|
263
|
-
} | undefined;
|
|
264
|
-
readonly retry?: {
|
|
265
|
-
backoff?: number | undefined;
|
|
266
|
-
interval?: number | undefined;
|
|
267
|
-
retries?: number | undefined;
|
|
268
|
-
} | undefined;
|
|
269
|
-
readonly security?: {
|
|
270
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
271
|
-
readonly allowed?: {
|
|
272
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
273
|
-
} | undefined;
|
|
274
|
-
readonly disallowed?: {
|
|
275
|
-
[x: string]: Lowercase<string>[];
|
|
276
|
-
} | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
readonly sign?: boolean | undefined;
|
|
279
|
-
readonly storeQueries?: boolean | undefined;
|
|
280
|
-
readonly timestamp?: boolean | undefined;
|
|
281
|
-
}>;
|
|
209
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
282
210
|
ephemeralQueryAccountEnabled?: boolean;
|
|
283
211
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
284
212
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<Module<_xylabs_object.BaseParamsFields & {
|
|
@@ -286,42 +214,7 @@ declare const asModule: {
|
|
|
286
214
|
addToResolvers?: boolean;
|
|
287
215
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
288
216
|
allowNameResolution?: boolean;
|
|
289
|
-
config:
|
|
290
|
-
schema: _xyo_network_payload_model.Schema;
|
|
291
|
-
readonly archiving?: {
|
|
292
|
-
readonly archivists?: string[] | undefined;
|
|
293
|
-
readonly queries?: string[] | undefined;
|
|
294
|
-
} | undefined;
|
|
295
|
-
readonly allowedQueries?: string[] | undefined;
|
|
296
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
297
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
298
|
-
readonly labels?: {
|
|
299
|
-
[x: string]: string | undefined;
|
|
300
|
-
} | undefined;
|
|
301
|
-
readonly name?: ModuleName | undefined;
|
|
302
|
-
readonly paging?: {
|
|
303
|
-
[x: string]: {
|
|
304
|
-
size?: number | undefined;
|
|
305
|
-
};
|
|
306
|
-
} | undefined;
|
|
307
|
-
readonly retry?: {
|
|
308
|
-
backoff?: number | undefined;
|
|
309
|
-
interval?: number | undefined;
|
|
310
|
-
retries?: number | undefined;
|
|
311
|
-
} | undefined;
|
|
312
|
-
readonly security?: {
|
|
313
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
314
|
-
readonly allowed?: {
|
|
315
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
316
|
-
} | undefined;
|
|
317
|
-
readonly disallowed?: {
|
|
318
|
-
[x: string]: Lowercase<string>[];
|
|
319
|
-
} | undefined;
|
|
320
|
-
} | undefined;
|
|
321
|
-
readonly sign?: boolean | undefined;
|
|
322
|
-
readonly storeQueries?: boolean | undefined;
|
|
323
|
-
readonly timestamp?: boolean | undefined;
|
|
324
|
-
}>;
|
|
217
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
325
218
|
ephemeralQueryAccountEnabled?: boolean;
|
|
326
219
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
327
220
|
}, ModuleEventData<object>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -333,42 +226,7 @@ declare const asModuleObject: {
|
|
|
333
226
|
addToResolvers?: boolean;
|
|
334
227
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
335
228
|
allowNameResolution?: boolean;
|
|
336
|
-
config:
|
|
337
|
-
schema: _xyo_network_payload_model.Schema;
|
|
338
|
-
readonly archiving?: {
|
|
339
|
-
readonly archivists?: string[] | undefined;
|
|
340
|
-
readonly queries?: string[] | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
readonly allowedQueries?: string[] | undefined;
|
|
343
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
344
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
345
|
-
readonly labels?: {
|
|
346
|
-
[x: string]: string | undefined;
|
|
347
|
-
} | undefined;
|
|
348
|
-
readonly name?: ModuleName | undefined;
|
|
349
|
-
readonly paging?: {
|
|
350
|
-
[x: string]: {
|
|
351
|
-
size?: number | undefined;
|
|
352
|
-
};
|
|
353
|
-
} | undefined;
|
|
354
|
-
readonly retry?: {
|
|
355
|
-
backoff?: number | undefined;
|
|
356
|
-
interval?: number | undefined;
|
|
357
|
-
retries?: number | undefined;
|
|
358
|
-
} | undefined;
|
|
359
|
-
readonly security?: {
|
|
360
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
361
|
-
readonly allowed?: {
|
|
362
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
363
|
-
} | undefined;
|
|
364
|
-
readonly disallowed?: {
|
|
365
|
-
[x: string]: Lowercase<string>[];
|
|
366
|
-
} | undefined;
|
|
367
|
-
} | undefined;
|
|
368
|
-
readonly sign?: boolean | undefined;
|
|
369
|
-
readonly storeQueries?: boolean | undefined;
|
|
370
|
-
readonly timestamp?: boolean | undefined;
|
|
371
|
-
}>;
|
|
229
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
372
230
|
ephemeralQueryAccountEnabled?: boolean;
|
|
373
231
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
374
232
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -377,42 +235,7 @@ declare const asModuleObject: {
|
|
|
377
235
|
addToResolvers?: boolean;
|
|
378
236
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
379
237
|
allowNameResolution?: boolean;
|
|
380
|
-
config:
|
|
381
|
-
schema: _xyo_network_payload_model.Schema;
|
|
382
|
-
readonly archiving?: {
|
|
383
|
-
readonly archivists?: string[] | undefined;
|
|
384
|
-
readonly queries?: string[] | undefined;
|
|
385
|
-
} | undefined;
|
|
386
|
-
readonly allowedQueries?: string[] | undefined;
|
|
387
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
388
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
389
|
-
readonly labels?: {
|
|
390
|
-
[x: string]: string | undefined;
|
|
391
|
-
} | undefined;
|
|
392
|
-
readonly name?: ModuleName | undefined;
|
|
393
|
-
readonly paging?: {
|
|
394
|
-
[x: string]: {
|
|
395
|
-
size?: number | undefined;
|
|
396
|
-
};
|
|
397
|
-
} | undefined;
|
|
398
|
-
readonly retry?: {
|
|
399
|
-
backoff?: number | undefined;
|
|
400
|
-
interval?: number | undefined;
|
|
401
|
-
retries?: number | undefined;
|
|
402
|
-
} | undefined;
|
|
403
|
-
readonly security?: {
|
|
404
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
405
|
-
readonly allowed?: {
|
|
406
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
407
|
-
} | undefined;
|
|
408
|
-
readonly disallowed?: {
|
|
409
|
-
[x: string]: Lowercase<string>[];
|
|
410
|
-
} | undefined;
|
|
411
|
-
} | undefined;
|
|
412
|
-
readonly sign?: boolean | undefined;
|
|
413
|
-
readonly storeQueries?: boolean | undefined;
|
|
414
|
-
readonly timestamp?: boolean | undefined;
|
|
415
|
-
}>;
|
|
238
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
416
239
|
ephemeralQueryAccountEnabled?: boolean;
|
|
417
240
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
418
241
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<Module<_xylabs_object.BaseParamsFields & {
|
|
@@ -420,42 +243,7 @@ declare const asModuleObject: {
|
|
|
420
243
|
addToResolvers?: boolean;
|
|
421
244
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
422
245
|
allowNameResolution?: boolean;
|
|
423
|
-
config:
|
|
424
|
-
schema: _xyo_network_payload_model.Schema;
|
|
425
|
-
readonly archiving?: {
|
|
426
|
-
readonly archivists?: string[] | undefined;
|
|
427
|
-
readonly queries?: string[] | undefined;
|
|
428
|
-
} | undefined;
|
|
429
|
-
readonly allowedQueries?: string[] | undefined;
|
|
430
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
431
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
432
|
-
readonly labels?: {
|
|
433
|
-
[x: string]: string | undefined;
|
|
434
|
-
} | undefined;
|
|
435
|
-
readonly name?: ModuleName | undefined;
|
|
436
|
-
readonly paging?: {
|
|
437
|
-
[x: string]: {
|
|
438
|
-
size?: number | undefined;
|
|
439
|
-
};
|
|
440
|
-
} | undefined;
|
|
441
|
-
readonly retry?: {
|
|
442
|
-
backoff?: number | undefined;
|
|
443
|
-
interval?: number | undefined;
|
|
444
|
-
retries?: number | undefined;
|
|
445
|
-
} | undefined;
|
|
446
|
-
readonly security?: {
|
|
447
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
448
|
-
readonly allowed?: {
|
|
449
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
450
|
-
} | undefined;
|
|
451
|
-
readonly disallowed?: {
|
|
452
|
-
[x: string]: Lowercase<string>[];
|
|
453
|
-
} | undefined;
|
|
454
|
-
} | undefined;
|
|
455
|
-
readonly sign?: boolean | undefined;
|
|
456
|
-
readonly storeQueries?: boolean | undefined;
|
|
457
|
-
readonly timestamp?: boolean | undefined;
|
|
458
|
-
}>;
|
|
246
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
459
247
|
ephemeralQueryAccountEnabled?: boolean;
|
|
460
248
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
461
249
|
}, ModuleEventData<object>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -475,42 +263,7 @@ declare const isModuleObject: _xylabs_object.TypeCheck<Module<_xylabs_object.Bas
|
|
|
475
263
|
addToResolvers?: boolean;
|
|
476
264
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
477
265
|
allowNameResolution?: boolean;
|
|
478
|
-
config:
|
|
479
|
-
schema: _xyo_network_payload_model.Schema;
|
|
480
|
-
readonly archiving?: {
|
|
481
|
-
readonly archivists?: string[] | undefined;
|
|
482
|
-
readonly queries?: string[] | undefined;
|
|
483
|
-
} | undefined;
|
|
484
|
-
readonly allowedQueries?: string[] | undefined;
|
|
485
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
486
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
487
|
-
readonly labels?: {
|
|
488
|
-
[x: string]: string | undefined;
|
|
489
|
-
} | undefined;
|
|
490
|
-
readonly name?: ModuleName | undefined;
|
|
491
|
-
readonly paging?: {
|
|
492
|
-
[x: string]: {
|
|
493
|
-
size?: number | undefined;
|
|
494
|
-
};
|
|
495
|
-
} | undefined;
|
|
496
|
-
readonly retry?: {
|
|
497
|
-
backoff?: number | undefined;
|
|
498
|
-
interval?: number | undefined;
|
|
499
|
-
retries?: number | undefined;
|
|
500
|
-
} | undefined;
|
|
501
|
-
readonly security?: {
|
|
502
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
503
|
-
readonly allowed?: {
|
|
504
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
505
|
-
} | undefined;
|
|
506
|
-
readonly disallowed?: {
|
|
507
|
-
[x: string]: Lowercase<string>[];
|
|
508
|
-
} | undefined;
|
|
509
|
-
} | undefined;
|
|
510
|
-
readonly sign?: boolean | undefined;
|
|
511
|
-
readonly storeQueries?: boolean | undefined;
|
|
512
|
-
readonly timestamp?: boolean | undefined;
|
|
513
|
-
}>;
|
|
266
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
514
267
|
ephemeralQueryAccountEnabled?: boolean;
|
|
515
268
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
516
269
|
}, ModuleEventData<object>>>;
|
|
@@ -559,23 +312,8 @@ type ModuleState<T extends StateDictionary = StateDictionary> = Payload<State<T>
|
|
|
559
312
|
declare const isModuleState: <T extends StateDictionary = StateDictionary>(payload?: unknown) => payload is ModuleState<T>;
|
|
560
313
|
declare const isModuleStateWithSources: <T extends StateDictionary = StateDictionary>(payload?: unknown) => payload is WithSources<ModuleState<T>>;
|
|
561
314
|
declare const asModuleState: {
|
|
562
|
-
<TType extends _xylabs_object.
|
|
563
|
-
|
|
564
|
-
state: {
|
|
565
|
-
[x: string]: string | number;
|
|
566
|
-
};
|
|
567
|
-
}>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
568
|
-
<TType extends _xylabs_object.DeepRestrictToStringKeys<{
|
|
569
|
-
schema: "network.xyo.module.state";
|
|
570
|
-
state: {
|
|
571
|
-
[x: string]: string | number;
|
|
572
|
-
};
|
|
573
|
-
}>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<_xylabs_object.DeepRestrictToStringKeys<{
|
|
574
|
-
schema: "network.xyo.module.state";
|
|
575
|
-
state: {
|
|
576
|
-
[x: string]: string | number;
|
|
577
|
-
};
|
|
578
|
-
}>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
315
|
+
<TType extends ModuleState<StateDictionary>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
316
|
+
<TType extends ModuleState<StateDictionary>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<ModuleState<StateDictionary>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
579
317
|
};
|
|
580
318
|
|
|
581
319
|
interface ModuleQueryFunctions {
|
|
@@ -674,42 +412,7 @@ declare const asModuleInstance: {
|
|
|
674
412
|
addToResolvers?: boolean;
|
|
675
413
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
676
414
|
allowNameResolution?: boolean;
|
|
677
|
-
config:
|
|
678
|
-
schema: _xyo_network_payload_model.Schema;
|
|
679
|
-
readonly archiving?: {
|
|
680
|
-
readonly archivists?: string[] | undefined;
|
|
681
|
-
readonly queries?: string[] | undefined;
|
|
682
|
-
} | undefined;
|
|
683
|
-
readonly allowedQueries?: string[] | undefined;
|
|
684
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
685
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
686
|
-
readonly labels?: {
|
|
687
|
-
[x: string]: string | undefined;
|
|
688
|
-
} | undefined;
|
|
689
|
-
readonly name?: ModuleName | undefined;
|
|
690
|
-
readonly paging?: {
|
|
691
|
-
[x: string]: {
|
|
692
|
-
size?: number | undefined;
|
|
693
|
-
};
|
|
694
|
-
} | undefined;
|
|
695
|
-
readonly retry?: {
|
|
696
|
-
backoff?: number | undefined;
|
|
697
|
-
interval?: number | undefined;
|
|
698
|
-
retries?: number | undefined;
|
|
699
|
-
} | undefined;
|
|
700
|
-
readonly security?: {
|
|
701
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
702
|
-
readonly allowed?: {
|
|
703
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
704
|
-
} | undefined;
|
|
705
|
-
readonly disallowed?: {
|
|
706
|
-
[x: string]: Lowercase<string>[];
|
|
707
|
-
} | undefined;
|
|
708
|
-
} | undefined;
|
|
709
|
-
readonly sign?: boolean | undefined;
|
|
710
|
-
readonly storeQueries?: boolean | undefined;
|
|
711
|
-
readonly timestamp?: boolean | undefined;
|
|
712
|
-
}>;
|
|
415
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
713
416
|
ephemeralQueryAccountEnabled?: boolean;
|
|
714
417
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
715
418
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -718,42 +421,7 @@ declare const asModuleInstance: {
|
|
|
718
421
|
addToResolvers?: boolean;
|
|
719
422
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
720
423
|
allowNameResolution?: boolean;
|
|
721
|
-
config:
|
|
722
|
-
schema: _xyo_network_payload_model.Schema;
|
|
723
|
-
readonly archiving?: {
|
|
724
|
-
readonly archivists?: string[] | undefined;
|
|
725
|
-
readonly queries?: string[] | undefined;
|
|
726
|
-
} | undefined;
|
|
727
|
-
readonly allowedQueries?: string[] | undefined;
|
|
728
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
729
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
730
|
-
readonly labels?: {
|
|
731
|
-
[x: string]: string | undefined;
|
|
732
|
-
} | undefined;
|
|
733
|
-
readonly name?: ModuleName | undefined;
|
|
734
|
-
readonly paging?: {
|
|
735
|
-
[x: string]: {
|
|
736
|
-
size?: number | undefined;
|
|
737
|
-
};
|
|
738
|
-
} | undefined;
|
|
739
|
-
readonly retry?: {
|
|
740
|
-
backoff?: number | undefined;
|
|
741
|
-
interval?: number | undefined;
|
|
742
|
-
retries?: number | undefined;
|
|
743
|
-
} | undefined;
|
|
744
|
-
readonly security?: {
|
|
745
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
746
|
-
readonly allowed?: {
|
|
747
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
748
|
-
} | undefined;
|
|
749
|
-
readonly disallowed?: {
|
|
750
|
-
[x: string]: Lowercase<string>[];
|
|
751
|
-
} | undefined;
|
|
752
|
-
} | undefined;
|
|
753
|
-
readonly sign?: boolean | undefined;
|
|
754
|
-
readonly storeQueries?: boolean | undefined;
|
|
755
|
-
readonly timestamp?: boolean | undefined;
|
|
756
|
-
}>;
|
|
424
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
757
425
|
ephemeralQueryAccountEnabled?: boolean;
|
|
758
426
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
759
427
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
@@ -761,42 +429,7 @@ declare const asModuleInstance: {
|
|
|
761
429
|
addToResolvers?: boolean;
|
|
762
430
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
763
431
|
allowNameResolution?: boolean;
|
|
764
|
-
config:
|
|
765
|
-
schema: _xyo_network_payload_model.Schema;
|
|
766
|
-
readonly archiving?: {
|
|
767
|
-
readonly archivists?: string[] | undefined;
|
|
768
|
-
readonly queries?: string[] | undefined;
|
|
769
|
-
} | undefined;
|
|
770
|
-
readonly allowedQueries?: string[] | undefined;
|
|
771
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
772
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
773
|
-
readonly labels?: {
|
|
774
|
-
[x: string]: string | undefined;
|
|
775
|
-
} | undefined;
|
|
776
|
-
readonly name?: ModuleName | undefined;
|
|
777
|
-
readonly paging?: {
|
|
778
|
-
[x: string]: {
|
|
779
|
-
size?: number | undefined;
|
|
780
|
-
};
|
|
781
|
-
} | undefined;
|
|
782
|
-
readonly retry?: {
|
|
783
|
-
backoff?: number | undefined;
|
|
784
|
-
interval?: number | undefined;
|
|
785
|
-
retries?: number | undefined;
|
|
786
|
-
} | undefined;
|
|
787
|
-
readonly security?: {
|
|
788
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
789
|
-
readonly allowed?: {
|
|
790
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
791
|
-
} | undefined;
|
|
792
|
-
readonly disallowed?: {
|
|
793
|
-
[x: string]: Lowercase<string>[];
|
|
794
|
-
} | undefined;
|
|
795
|
-
} | undefined;
|
|
796
|
-
readonly sign?: boolean | undefined;
|
|
797
|
-
readonly storeQueries?: boolean | undefined;
|
|
798
|
-
readonly timestamp?: boolean | undefined;
|
|
799
|
-
}>;
|
|
432
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
800
433
|
ephemeralQueryAccountEnabled?: boolean;
|
|
801
434
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
802
435
|
}, ModuleEventData<object>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -807,42 +440,7 @@ declare const isModuleResolver: (value?: unknown) => value is ObjectResolver<Mod
|
|
|
807
440
|
addToResolvers?: boolean;
|
|
808
441
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
809
442
|
allowNameResolution?: boolean;
|
|
810
|
-
config:
|
|
811
|
-
schema: _xyo_network_payload_model.Schema;
|
|
812
|
-
readonly archiving?: {
|
|
813
|
-
readonly archivists?: string[] | undefined;
|
|
814
|
-
readonly queries?: string[] | undefined;
|
|
815
|
-
} | undefined;
|
|
816
|
-
readonly allowedQueries?: string[] | undefined;
|
|
817
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
818
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
819
|
-
readonly labels?: {
|
|
820
|
-
[x: string]: string | undefined;
|
|
821
|
-
} | undefined;
|
|
822
|
-
readonly name?: ModuleName | undefined;
|
|
823
|
-
readonly paging?: {
|
|
824
|
-
[x: string]: {
|
|
825
|
-
size?: number | undefined;
|
|
826
|
-
};
|
|
827
|
-
} | undefined;
|
|
828
|
-
readonly retry?: {
|
|
829
|
-
backoff?: number | undefined;
|
|
830
|
-
interval?: number | undefined;
|
|
831
|
-
retries?: number | undefined;
|
|
832
|
-
} | undefined;
|
|
833
|
-
readonly security?: {
|
|
834
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
835
|
-
readonly allowed?: {
|
|
836
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
837
|
-
} | undefined;
|
|
838
|
-
readonly disallowed?: {
|
|
839
|
-
[x: string]: Lowercase<string>[];
|
|
840
|
-
} | undefined;
|
|
841
|
-
} | undefined;
|
|
842
|
-
readonly sign?: boolean | undefined;
|
|
843
|
-
readonly storeQueries?: boolean | undefined;
|
|
844
|
-
readonly timestamp?: boolean | undefined;
|
|
845
|
-
}>;
|
|
443
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
846
444
|
ephemeralQueryAccountEnabled?: boolean;
|
|
847
445
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
848
446
|
}, ModuleEventData<object>>>;
|
|
@@ -872,42 +470,7 @@ declare const asAttachableModuleInstance: {
|
|
|
872
470
|
addToResolvers?: boolean;
|
|
873
471
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
874
472
|
allowNameResolution?: boolean;
|
|
875
|
-
config:
|
|
876
|
-
schema: _xyo_network_payload_model.Schema;
|
|
877
|
-
readonly archiving?: {
|
|
878
|
-
readonly archivists?: string[] | undefined;
|
|
879
|
-
readonly queries?: string[] | undefined;
|
|
880
|
-
} | undefined;
|
|
881
|
-
readonly allowedQueries?: string[] | undefined;
|
|
882
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
883
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
884
|
-
readonly labels?: {
|
|
885
|
-
[x: string]: string | undefined;
|
|
886
|
-
} | undefined;
|
|
887
|
-
readonly name?: ModuleName | undefined;
|
|
888
|
-
readonly paging?: {
|
|
889
|
-
[x: string]: {
|
|
890
|
-
size?: number | undefined;
|
|
891
|
-
};
|
|
892
|
-
} | undefined;
|
|
893
|
-
readonly retry?: {
|
|
894
|
-
backoff?: number | undefined;
|
|
895
|
-
interval?: number | undefined;
|
|
896
|
-
retries?: number | undefined;
|
|
897
|
-
} | undefined;
|
|
898
|
-
readonly security?: {
|
|
899
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
900
|
-
readonly allowed?: {
|
|
901
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
902
|
-
} | undefined;
|
|
903
|
-
readonly disallowed?: {
|
|
904
|
-
[x: string]: Lowercase<string>[];
|
|
905
|
-
} | undefined;
|
|
906
|
-
} | undefined;
|
|
907
|
-
readonly sign?: boolean | undefined;
|
|
908
|
-
readonly storeQueries?: boolean | undefined;
|
|
909
|
-
readonly timestamp?: boolean | undefined;
|
|
910
|
-
}>;
|
|
473
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
911
474
|
ephemeralQueryAccountEnabled?: boolean;
|
|
912
475
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
913
476
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -916,42 +479,7 @@ declare const asAttachableModuleInstance: {
|
|
|
916
479
|
addToResolvers?: boolean;
|
|
917
480
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
918
481
|
allowNameResolution?: boolean;
|
|
919
|
-
config:
|
|
920
|
-
schema: _xyo_network_payload_model.Schema;
|
|
921
|
-
readonly archiving?: {
|
|
922
|
-
readonly archivists?: string[] | undefined;
|
|
923
|
-
readonly queries?: string[] | undefined;
|
|
924
|
-
} | undefined;
|
|
925
|
-
readonly allowedQueries?: string[] | undefined;
|
|
926
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
927
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
928
|
-
readonly labels?: {
|
|
929
|
-
[x: string]: string | undefined;
|
|
930
|
-
} | undefined;
|
|
931
|
-
readonly name?: ModuleName | undefined;
|
|
932
|
-
readonly paging?: {
|
|
933
|
-
[x: string]: {
|
|
934
|
-
size?: number | undefined;
|
|
935
|
-
};
|
|
936
|
-
} | undefined;
|
|
937
|
-
readonly retry?: {
|
|
938
|
-
backoff?: number | undefined;
|
|
939
|
-
interval?: number | undefined;
|
|
940
|
-
retries?: number | undefined;
|
|
941
|
-
} | undefined;
|
|
942
|
-
readonly security?: {
|
|
943
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
944
|
-
readonly allowed?: {
|
|
945
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
946
|
-
} | undefined;
|
|
947
|
-
readonly disallowed?: {
|
|
948
|
-
[x: string]: Lowercase<string>[];
|
|
949
|
-
} | undefined;
|
|
950
|
-
} | undefined;
|
|
951
|
-
readonly sign?: boolean | undefined;
|
|
952
|
-
readonly storeQueries?: boolean | undefined;
|
|
953
|
-
readonly timestamp?: boolean | undefined;
|
|
954
|
-
}>;
|
|
482
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
955
483
|
ephemeralQueryAccountEnabled?: boolean;
|
|
956
484
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
957
485
|
}, ModuleEventData<object>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
@@ -959,42 +487,7 @@ declare const asAttachableModuleInstance: {
|
|
|
959
487
|
addToResolvers?: boolean;
|
|
960
488
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
961
489
|
allowNameResolution?: boolean;
|
|
962
|
-
config:
|
|
963
|
-
schema: _xyo_network_payload_model.Schema;
|
|
964
|
-
readonly archiving?: {
|
|
965
|
-
readonly archivists?: string[] | undefined;
|
|
966
|
-
readonly queries?: string[] | undefined;
|
|
967
|
-
} | undefined;
|
|
968
|
-
readonly allowedQueries?: string[] | undefined;
|
|
969
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
970
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
971
|
-
readonly labels?: {
|
|
972
|
-
[x: string]: string | undefined;
|
|
973
|
-
} | undefined;
|
|
974
|
-
readonly name?: ModuleName | undefined;
|
|
975
|
-
readonly paging?: {
|
|
976
|
-
[x: string]: {
|
|
977
|
-
size?: number | undefined;
|
|
978
|
-
};
|
|
979
|
-
} | undefined;
|
|
980
|
-
readonly retry?: {
|
|
981
|
-
backoff?: number | undefined;
|
|
982
|
-
interval?: number | undefined;
|
|
983
|
-
retries?: number | undefined;
|
|
984
|
-
} | undefined;
|
|
985
|
-
readonly security?: {
|
|
986
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
987
|
-
readonly allowed?: {
|
|
988
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
989
|
-
} | undefined;
|
|
990
|
-
readonly disallowed?: {
|
|
991
|
-
[x: string]: Lowercase<string>[];
|
|
992
|
-
} | undefined;
|
|
993
|
-
} | undefined;
|
|
994
|
-
readonly sign?: boolean | undefined;
|
|
995
|
-
readonly storeQueries?: boolean | undefined;
|
|
996
|
-
readonly timestamp?: boolean | undefined;
|
|
997
|
-
}>;
|
|
490
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
998
491
|
ephemeralQueryAccountEnabled?: boolean;
|
|
999
492
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
1000
493
|
}, ModuleEventData<object>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -1013,42 +506,7 @@ declare const isAddressModuleFilter: (value: unknown) => value is AddressObjectF
|
|
|
1013
506
|
addToResolvers?: boolean;
|
|
1014
507
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1015
508
|
allowNameResolution?: boolean;
|
|
1016
|
-
config:
|
|
1017
|
-
schema: _xyo_network_payload_model.Schema;
|
|
1018
|
-
readonly archiving?: {
|
|
1019
|
-
readonly archivists?: string[] | undefined;
|
|
1020
|
-
readonly queries?: string[] | undefined;
|
|
1021
|
-
} | undefined;
|
|
1022
|
-
readonly allowedQueries?: string[] | undefined;
|
|
1023
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
1024
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1025
|
-
readonly labels?: {
|
|
1026
|
-
[x: string]: string | undefined;
|
|
1027
|
-
} | undefined;
|
|
1028
|
-
readonly name?: ModuleName | undefined;
|
|
1029
|
-
readonly paging?: {
|
|
1030
|
-
[x: string]: {
|
|
1031
|
-
size?: number | undefined;
|
|
1032
|
-
};
|
|
1033
|
-
} | undefined;
|
|
1034
|
-
readonly retry?: {
|
|
1035
|
-
backoff?: number | undefined;
|
|
1036
|
-
interval?: number | undefined;
|
|
1037
|
-
retries?: number | undefined;
|
|
1038
|
-
} | undefined;
|
|
1039
|
-
readonly security?: {
|
|
1040
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
1041
|
-
readonly allowed?: {
|
|
1042
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1043
|
-
} | undefined;
|
|
1044
|
-
readonly disallowed?: {
|
|
1045
|
-
[x: string]: Lowercase<string>[];
|
|
1046
|
-
} | undefined;
|
|
1047
|
-
} | undefined;
|
|
1048
|
-
readonly sign?: boolean | undefined;
|
|
1049
|
-
readonly storeQueries?: boolean | undefined;
|
|
1050
|
-
readonly timestamp?: boolean | undefined;
|
|
1051
|
-
}>;
|
|
509
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
1052
510
|
ephemeralQueryAccountEnabled?: boolean;
|
|
1053
511
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
1054
512
|
}, ModuleEventData<object>>>;
|
|
@@ -1057,42 +515,7 @@ declare const isNameModuleFilter: (value: unknown) => value is NameObjectFilter<
|
|
|
1057
515
|
addToResolvers?: boolean;
|
|
1058
516
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1059
517
|
allowNameResolution?: boolean;
|
|
1060
|
-
config:
|
|
1061
|
-
schema: _xyo_network_payload_model.Schema;
|
|
1062
|
-
readonly archiving?: {
|
|
1063
|
-
readonly archivists?: string[] | undefined;
|
|
1064
|
-
readonly queries?: string[] | undefined;
|
|
1065
|
-
} | undefined;
|
|
1066
|
-
readonly allowedQueries?: string[] | undefined;
|
|
1067
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
1068
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1069
|
-
readonly labels?: {
|
|
1070
|
-
[x: string]: string | undefined;
|
|
1071
|
-
} | undefined;
|
|
1072
|
-
readonly name?: ModuleName | undefined;
|
|
1073
|
-
readonly paging?: {
|
|
1074
|
-
[x: string]: {
|
|
1075
|
-
size?: number | undefined;
|
|
1076
|
-
};
|
|
1077
|
-
} | undefined;
|
|
1078
|
-
readonly retry?: {
|
|
1079
|
-
backoff?: number | undefined;
|
|
1080
|
-
interval?: number | undefined;
|
|
1081
|
-
retries?: number | undefined;
|
|
1082
|
-
} | undefined;
|
|
1083
|
-
readonly security?: {
|
|
1084
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
1085
|
-
readonly allowed?: {
|
|
1086
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1087
|
-
} | undefined;
|
|
1088
|
-
readonly disallowed?: {
|
|
1089
|
-
[x: string]: Lowercase<string>[];
|
|
1090
|
-
} | undefined;
|
|
1091
|
-
} | undefined;
|
|
1092
|
-
readonly sign?: boolean | undefined;
|
|
1093
|
-
readonly storeQueries?: boolean | undefined;
|
|
1094
|
-
readonly timestamp?: boolean | undefined;
|
|
1095
|
-
}>;
|
|
518
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
1096
519
|
ephemeralQueryAccountEnabled?: boolean;
|
|
1097
520
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
1098
521
|
}, ModuleEventData<object>>>;
|
|
@@ -1101,42 +524,7 @@ declare const isQueryModuleFilter: (value: unknown) => value is QueryObjectFilte
|
|
|
1101
524
|
addToResolvers?: boolean;
|
|
1102
525
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1103
526
|
allowNameResolution?: boolean;
|
|
1104
|
-
config:
|
|
1105
|
-
schema: _xyo_network_payload_model.Schema;
|
|
1106
|
-
readonly archiving?: {
|
|
1107
|
-
readonly archivists?: string[] | undefined;
|
|
1108
|
-
readonly queries?: string[] | undefined;
|
|
1109
|
-
} | undefined;
|
|
1110
|
-
readonly allowedQueries?: string[] | undefined;
|
|
1111
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
1112
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1113
|
-
readonly labels?: {
|
|
1114
|
-
[x: string]: string | undefined;
|
|
1115
|
-
} | undefined;
|
|
1116
|
-
readonly name?: ModuleName | undefined;
|
|
1117
|
-
readonly paging?: {
|
|
1118
|
-
[x: string]: {
|
|
1119
|
-
size?: number | undefined;
|
|
1120
|
-
};
|
|
1121
|
-
} | undefined;
|
|
1122
|
-
readonly retry?: {
|
|
1123
|
-
backoff?: number | undefined;
|
|
1124
|
-
interval?: number | undefined;
|
|
1125
|
-
retries?: number | undefined;
|
|
1126
|
-
} | undefined;
|
|
1127
|
-
readonly security?: {
|
|
1128
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
1129
|
-
readonly allowed?: {
|
|
1130
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1131
|
-
} | undefined;
|
|
1132
|
-
readonly disallowed?: {
|
|
1133
|
-
[x: string]: Lowercase<string>[];
|
|
1134
|
-
} | undefined;
|
|
1135
|
-
} | undefined;
|
|
1136
|
-
readonly sign?: boolean | undefined;
|
|
1137
|
-
readonly storeQueries?: boolean | undefined;
|
|
1138
|
-
readonly timestamp?: boolean | undefined;
|
|
1139
|
-
}>;
|
|
527
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
1140
528
|
ephemeralQueryAccountEnabled?: boolean;
|
|
1141
529
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
1142
530
|
}, ModuleEventData<object>>>;
|
|
@@ -1302,42 +690,7 @@ declare const withModule: <R>(mod: any, closure: (mod: Module<_xylabs_object.Bas
|
|
|
1302
690
|
addToResolvers?: boolean;
|
|
1303
691
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1304
692
|
allowNameResolution?: boolean;
|
|
1305
|
-
config:
|
|
1306
|
-
schema: _xyo_network_payload_model.Schema;
|
|
1307
|
-
readonly archiving?: {
|
|
1308
|
-
readonly archivists?: string[] | undefined;
|
|
1309
|
-
readonly queries?: string[] | undefined;
|
|
1310
|
-
} | undefined;
|
|
1311
|
-
readonly allowedQueries?: string[] | undefined;
|
|
1312
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
1313
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1314
|
-
readonly labels?: {
|
|
1315
|
-
[x: string]: string | undefined;
|
|
1316
|
-
} | undefined;
|
|
1317
|
-
readonly name?: ModuleName | undefined;
|
|
1318
|
-
readonly paging?: {
|
|
1319
|
-
[x: string]: {
|
|
1320
|
-
size?: number | undefined;
|
|
1321
|
-
};
|
|
1322
|
-
} | undefined;
|
|
1323
|
-
readonly retry?: {
|
|
1324
|
-
backoff?: number | undefined;
|
|
1325
|
-
interval?: number | undefined;
|
|
1326
|
-
retries?: number | undefined;
|
|
1327
|
-
} | undefined;
|
|
1328
|
-
readonly security?: {
|
|
1329
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
1330
|
-
readonly allowed?: {
|
|
1331
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1332
|
-
} | undefined;
|
|
1333
|
-
readonly disallowed?: {
|
|
1334
|
-
[x: string]: Lowercase<string>[];
|
|
1335
|
-
} | undefined;
|
|
1336
|
-
} | undefined;
|
|
1337
|
-
readonly sign?: boolean | undefined;
|
|
1338
|
-
readonly storeQueries?: boolean | undefined;
|
|
1339
|
-
readonly timestamp?: boolean | undefined;
|
|
1340
|
-
}>;
|
|
693
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
1341
694
|
ephemeralQueryAccountEnabled?: boolean;
|
|
1342
695
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
1343
696
|
}, ModuleEventData<object>>) => R) => R | undefined;
|
|
@@ -1346,42 +699,7 @@ declare const withModuleInstance: <R>(mod: any, closure: (mod: ModuleInstance<_x
|
|
|
1346
699
|
addToResolvers?: boolean;
|
|
1347
700
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1348
701
|
allowNameResolution?: boolean;
|
|
1349
|
-
config:
|
|
1350
|
-
schema: _xyo_network_payload_model.Schema;
|
|
1351
|
-
readonly archiving?: {
|
|
1352
|
-
readonly archivists?: string[] | undefined;
|
|
1353
|
-
readonly queries?: string[] | undefined;
|
|
1354
|
-
} | undefined;
|
|
1355
|
-
readonly allowedQueries?: string[] | undefined;
|
|
1356
|
-
readonly archivist?: ModuleIdentifier | undefined;
|
|
1357
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1358
|
-
readonly labels?: {
|
|
1359
|
-
[x: string]: string | undefined;
|
|
1360
|
-
} | undefined;
|
|
1361
|
-
readonly name?: ModuleName | undefined;
|
|
1362
|
-
readonly paging?: {
|
|
1363
|
-
[x: string]: {
|
|
1364
|
-
size?: number | undefined;
|
|
1365
|
-
};
|
|
1366
|
-
} | undefined;
|
|
1367
|
-
readonly retry?: {
|
|
1368
|
-
backoff?: number | undefined;
|
|
1369
|
-
interval?: number | undefined;
|
|
1370
|
-
retries?: number | undefined;
|
|
1371
|
-
} | undefined;
|
|
1372
|
-
readonly security?: {
|
|
1373
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
1374
|
-
readonly allowed?: {
|
|
1375
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1376
|
-
} | undefined;
|
|
1377
|
-
readonly disallowed?: {
|
|
1378
|
-
[x: string]: Lowercase<string>[];
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
|
-
readonly sign?: boolean | undefined;
|
|
1382
|
-
readonly storeQueries?: boolean | undefined;
|
|
1383
|
-
readonly timestamp?: boolean | undefined;
|
|
1384
|
-
}>;
|
|
702
|
+
config: AnyConfigSchema<ModuleConfig>;
|
|
1385
703
|
ephemeralQueryAccountEnabled?: boolean;
|
|
1386
704
|
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
|
|
1387
705
|
}, ModuleEventData<object>>) => R) => R | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-model",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@xylabs/promise": "^4.5.1",
|
|
38
38
|
"@xylabs/retry": "^4.5.1",
|
|
39
39
|
"@xylabs/typeof": "^4.5.1",
|
|
40
|
-
"@xyo-network/account-model": "^3.9.
|
|
41
|
-
"@xyo-network/boundwitness-model": "^3.9.
|
|
42
|
-
"@xyo-network/manifest-model": "^3.9.
|
|
43
|
-
"@xyo-network/module-events": "^3.9.
|
|
44
|
-
"@xyo-network/payload-model": "^3.9.
|
|
40
|
+
"@xyo-network/account-model": "^3.9.4",
|
|
41
|
+
"@xyo-network/boundwitness-model": "^3.9.4",
|
|
42
|
+
"@xyo-network/manifest-model": "^3.9.4",
|
|
43
|
+
"@xyo-network/module-events": "^3.9.4",
|
|
44
|
+
"@xyo-network/payload-model": "^3.9.4"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|