@xyo-network/diviner-model 3.9.1 → 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.
- package/dist/neutral/index.d.ts +21 -509
- package/package.json +5 -5
package/dist/neutral/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { EventData } from '@xyo-network/module-events';
|
|
|
9
9
|
import { RetryConfig } from '@xylabs/retry';
|
|
10
10
|
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
11
11
|
import { AccountInstance } from '@xyo-network/account-model';
|
|
12
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
13
12
|
import { ObjectTypeShape } from '@xylabs/typeof';
|
|
14
13
|
import { Hash } from '@xylabs/hex';
|
|
15
14
|
|
|
@@ -63,144 +62,27 @@ declare const asAttachableDivinerInstance: {
|
|
|
63
62
|
addToResolvers?: boolean;
|
|
64
63
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
65
64
|
allowNameResolution?: boolean;
|
|
66
|
-
config:
|
|
67
|
-
schema: _xyo_network_payload_model.Schema;
|
|
68
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
69
|
-
readonly archiving?: {
|
|
70
|
-
readonly archivists?: string[] | undefined;
|
|
71
|
-
readonly queries?: string[] | undefined;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly allowedQueries?: string[] | undefined;
|
|
74
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
75
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
76
|
-
readonly labels?: {
|
|
77
|
-
[x: string]: string | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
readonly paging?: {
|
|
80
|
-
[x: string]: {
|
|
81
|
-
size?: number | undefined;
|
|
82
|
-
};
|
|
83
|
-
} | undefined;
|
|
84
|
-
readonly retry?: {
|
|
85
|
-
backoff?: number | undefined;
|
|
86
|
-
interval?: number | undefined;
|
|
87
|
-
retries?: number | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
readonly security?: {
|
|
90
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
91
|
-
readonly allowed?: {
|
|
92
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
93
|
-
} | undefined;
|
|
94
|
-
readonly disallowed?: {
|
|
95
|
-
[x: string]: Lowercase<string>[];
|
|
96
|
-
} | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
readonly sign?: boolean | undefined;
|
|
99
|
-
readonly storeQueries?: boolean | undefined;
|
|
100
|
-
readonly timestamp?: boolean | undefined;
|
|
101
|
-
}>;
|
|
65
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
102
66
|
ephemeralQueryAccountEnabled?: boolean;
|
|
103
67
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
104
|
-
}, _xylabs_object.
|
|
105
|
-
schema: _xyo_network_payload_model.Schema;
|
|
106
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
107
|
-
schema: _xyo_network_payload_model.Schema;
|
|
108
|
-
}>, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
68
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
109
69
|
<TType extends AttachableDivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
110
70
|
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
111
71
|
addToResolvers?: boolean;
|
|
112
72
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
113
73
|
allowNameResolution?: boolean;
|
|
114
|
-
config:
|
|
115
|
-
schema: _xyo_network_payload_model.Schema;
|
|
116
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
117
|
-
readonly archiving?: {
|
|
118
|
-
readonly archivists?: string[] | undefined;
|
|
119
|
-
readonly queries?: string[] | undefined;
|
|
120
|
-
} | undefined;
|
|
121
|
-
readonly allowedQueries?: string[] | undefined;
|
|
122
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
123
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
124
|
-
readonly labels?: {
|
|
125
|
-
[x: string]: string | undefined;
|
|
126
|
-
} | undefined;
|
|
127
|
-
readonly paging?: {
|
|
128
|
-
[x: string]: {
|
|
129
|
-
size?: number | undefined;
|
|
130
|
-
};
|
|
131
|
-
} | undefined;
|
|
132
|
-
readonly retry?: {
|
|
133
|
-
backoff?: number | undefined;
|
|
134
|
-
interval?: number | undefined;
|
|
135
|
-
retries?: number | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
readonly security?: {
|
|
138
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
139
|
-
readonly allowed?: {
|
|
140
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
141
|
-
} | undefined;
|
|
142
|
-
readonly disallowed?: {
|
|
143
|
-
[x: string]: Lowercase<string>[];
|
|
144
|
-
} | undefined;
|
|
145
|
-
} | undefined;
|
|
146
|
-
readonly sign?: boolean | undefined;
|
|
147
|
-
readonly storeQueries?: boolean | undefined;
|
|
148
|
-
readonly timestamp?: boolean | undefined;
|
|
149
|
-
}>;
|
|
74
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
150
75
|
ephemeralQueryAccountEnabled?: boolean;
|
|
151
76
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
152
|
-
}, _xylabs_object.
|
|
153
|
-
schema: _xyo_network_payload_model.Schema;
|
|
154
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
155
|
-
schema: _xyo_network_payload_model.Schema;
|
|
156
|
-
}>, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableDivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
77
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableDivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
157
78
|
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
158
79
|
addToResolvers?: boolean;
|
|
159
80
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
160
81
|
allowNameResolution?: boolean;
|
|
161
|
-
config:
|
|
162
|
-
schema: _xyo_network_payload_model.Schema;
|
|
163
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
164
|
-
readonly archiving?: {
|
|
165
|
-
readonly archivists?: string[] | undefined;
|
|
166
|
-
readonly queries?: string[] | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
readonly allowedQueries?: string[] | undefined;
|
|
169
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
170
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
171
|
-
readonly labels?: {
|
|
172
|
-
[x: string]: string | undefined;
|
|
173
|
-
} | undefined;
|
|
174
|
-
readonly paging?: {
|
|
175
|
-
[x: string]: {
|
|
176
|
-
size?: number | undefined;
|
|
177
|
-
};
|
|
178
|
-
} | undefined;
|
|
179
|
-
readonly retry?: {
|
|
180
|
-
backoff?: number | undefined;
|
|
181
|
-
interval?: number | undefined;
|
|
182
|
-
retries?: number | undefined;
|
|
183
|
-
} | undefined;
|
|
184
|
-
readonly security?: {
|
|
185
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
186
|
-
readonly allowed?: {
|
|
187
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
188
|
-
} | undefined;
|
|
189
|
-
readonly disallowed?: {
|
|
190
|
-
[x: string]: Lowercase<string>[];
|
|
191
|
-
} | undefined;
|
|
192
|
-
} | undefined;
|
|
193
|
-
readonly sign?: boolean | undefined;
|
|
194
|
-
readonly storeQueries?: boolean | undefined;
|
|
195
|
-
readonly timestamp?: boolean | undefined;
|
|
196
|
-
}>;
|
|
82
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
197
83
|
ephemeralQueryAccountEnabled?: boolean;
|
|
198
84
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
199
|
-
}, _xylabs_object.
|
|
200
|
-
schema: _xyo_network_payload_model.Schema;
|
|
201
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
202
|
-
schema: _xyo_network_payload_model.Schema;
|
|
203
|
-
}>, DivinerModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
85
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
204
86
|
};
|
|
205
87
|
|
|
206
88
|
declare const requiredAttachableDivinerInstanceFunctions: ObjectTypeShape;
|
|
@@ -230,90 +112,16 @@ declare const isDivinerInstance: _xylabs_object.TypeCheck<DivinerInstance<_xylab
|
|
|
230
112
|
addToResolvers?: boolean;
|
|
231
113
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
232
114
|
allowNameResolution?: boolean;
|
|
233
|
-
config:
|
|
234
|
-
schema: _xyo_network_payload_model.Schema;
|
|
235
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
236
|
-
readonly archiving?: {
|
|
237
|
-
readonly archivists?: string[] | undefined;
|
|
238
|
-
readonly queries?: string[] | undefined;
|
|
239
|
-
} | undefined;
|
|
240
|
-
readonly allowedQueries?: string[] | undefined;
|
|
241
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
242
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
243
|
-
readonly labels?: {
|
|
244
|
-
[x: string]: string | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
readonly paging?: {
|
|
247
|
-
[x: string]: {
|
|
248
|
-
size?: number | undefined;
|
|
249
|
-
};
|
|
250
|
-
} | undefined;
|
|
251
|
-
readonly retry?: {
|
|
252
|
-
backoff?: number | undefined;
|
|
253
|
-
interval?: number | undefined;
|
|
254
|
-
retries?: number | undefined;
|
|
255
|
-
} | undefined;
|
|
256
|
-
readonly security?: {
|
|
257
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
258
|
-
readonly allowed?: {
|
|
259
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
260
|
-
} | undefined;
|
|
261
|
-
readonly disallowed?: {
|
|
262
|
-
[x: string]: Lowercase<string>[];
|
|
263
|
-
} | undefined;
|
|
264
|
-
} | undefined;
|
|
265
|
-
readonly sign?: boolean | undefined;
|
|
266
|
-
readonly storeQueries?: boolean | undefined;
|
|
267
|
-
readonly timestamp?: boolean | undefined;
|
|
268
|
-
}>;
|
|
115
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
269
116
|
ephemeralQueryAccountEnabled?: boolean;
|
|
270
117
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
271
|
-
},
|
|
272
|
-
schema: _xyo_network_payload_model.Schema;
|
|
273
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
274
|
-
schema: _xyo_network_payload_model.Schema;
|
|
275
|
-
}>, DivinerModuleEventData>>;
|
|
118
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>;
|
|
276
119
|
declare const isDivinerModule: _xyo_network_module_model.ModuleTypeCheck<DivinerModule<_xylabs_object.BaseParamsFields & {
|
|
277
120
|
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
278
121
|
addToResolvers?: boolean;
|
|
279
122
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
280
123
|
allowNameResolution?: boolean;
|
|
281
|
-
config:
|
|
282
|
-
schema: _xyo_network_payload_model.Schema;
|
|
283
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
284
|
-
readonly archiving?: {
|
|
285
|
-
readonly archivists?: string[] | undefined;
|
|
286
|
-
readonly queries?: string[] | undefined;
|
|
287
|
-
} | undefined;
|
|
288
|
-
readonly allowedQueries?: string[] | undefined;
|
|
289
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
290
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
291
|
-
readonly labels?: {
|
|
292
|
-
[x: string]: string | undefined;
|
|
293
|
-
} | undefined;
|
|
294
|
-
readonly paging?: {
|
|
295
|
-
[x: string]: {
|
|
296
|
-
size?: number | undefined;
|
|
297
|
-
};
|
|
298
|
-
} | undefined;
|
|
299
|
-
readonly retry?: {
|
|
300
|
-
backoff?: number | undefined;
|
|
301
|
-
interval?: number | undefined;
|
|
302
|
-
retries?: number | undefined;
|
|
303
|
-
} | undefined;
|
|
304
|
-
readonly security?: {
|
|
305
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
306
|
-
readonly allowed?: {
|
|
307
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
308
|
-
} | undefined;
|
|
309
|
-
readonly disallowed?: {
|
|
310
|
-
[x: string]: Lowercase<string>[];
|
|
311
|
-
} | undefined;
|
|
312
|
-
} | undefined;
|
|
313
|
-
readonly sign?: boolean | undefined;
|
|
314
|
-
readonly storeQueries?: boolean | undefined;
|
|
315
|
-
readonly timestamp?: boolean | undefined;
|
|
316
|
-
}>;
|
|
124
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
317
125
|
ephemeralQueryAccountEnabled?: boolean;
|
|
318
126
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
319
127
|
}, DivinerModuleEventData>>;
|
|
@@ -323,42 +131,7 @@ declare const asDivinerModule: {
|
|
|
323
131
|
addToResolvers?: boolean;
|
|
324
132
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
325
133
|
allowNameResolution?: boolean;
|
|
326
|
-
config:
|
|
327
|
-
schema: _xyo_network_payload_model.Schema;
|
|
328
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
329
|
-
readonly archiving?: {
|
|
330
|
-
readonly archivists?: string[] | undefined;
|
|
331
|
-
readonly queries?: string[] | undefined;
|
|
332
|
-
} | undefined;
|
|
333
|
-
readonly allowedQueries?: string[] | undefined;
|
|
334
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
335
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
336
|
-
readonly labels?: {
|
|
337
|
-
[x: string]: string | undefined;
|
|
338
|
-
} | undefined;
|
|
339
|
-
readonly paging?: {
|
|
340
|
-
[x: string]: {
|
|
341
|
-
size?: number | undefined;
|
|
342
|
-
};
|
|
343
|
-
} | undefined;
|
|
344
|
-
readonly retry?: {
|
|
345
|
-
backoff?: number | undefined;
|
|
346
|
-
interval?: number | undefined;
|
|
347
|
-
retries?: number | undefined;
|
|
348
|
-
} | undefined;
|
|
349
|
-
readonly security?: {
|
|
350
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
351
|
-
readonly allowed?: {
|
|
352
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
353
|
-
} | undefined;
|
|
354
|
-
readonly disallowed?: {
|
|
355
|
-
[x: string]: Lowercase<string>[];
|
|
356
|
-
} | undefined;
|
|
357
|
-
} | undefined;
|
|
358
|
-
readonly sign?: boolean | undefined;
|
|
359
|
-
readonly storeQueries?: boolean | undefined;
|
|
360
|
-
readonly timestamp?: boolean | undefined;
|
|
361
|
-
}>;
|
|
134
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
362
135
|
ephemeralQueryAccountEnabled?: boolean;
|
|
363
136
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
364
137
|
}, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -367,42 +140,7 @@ declare const asDivinerModule: {
|
|
|
367
140
|
addToResolvers?: boolean;
|
|
368
141
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
369
142
|
allowNameResolution?: boolean;
|
|
370
|
-
config:
|
|
371
|
-
schema: _xyo_network_payload_model.Schema;
|
|
372
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
373
|
-
readonly archiving?: {
|
|
374
|
-
readonly archivists?: string[] | undefined;
|
|
375
|
-
readonly queries?: string[] | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
readonly allowedQueries?: string[] | undefined;
|
|
378
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
379
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
380
|
-
readonly labels?: {
|
|
381
|
-
[x: string]: string | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
readonly paging?: {
|
|
384
|
-
[x: string]: {
|
|
385
|
-
size?: number | undefined;
|
|
386
|
-
};
|
|
387
|
-
} | undefined;
|
|
388
|
-
readonly retry?: {
|
|
389
|
-
backoff?: number | undefined;
|
|
390
|
-
interval?: number | undefined;
|
|
391
|
-
retries?: number | undefined;
|
|
392
|
-
} | undefined;
|
|
393
|
-
readonly security?: {
|
|
394
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
395
|
-
readonly allowed?: {
|
|
396
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
397
|
-
} | undefined;
|
|
398
|
-
readonly disallowed?: {
|
|
399
|
-
[x: string]: Lowercase<string>[];
|
|
400
|
-
} | undefined;
|
|
401
|
-
} | undefined;
|
|
402
|
-
readonly sign?: boolean | undefined;
|
|
403
|
-
readonly storeQueries?: boolean | undefined;
|
|
404
|
-
readonly timestamp?: boolean | undefined;
|
|
405
|
-
}>;
|
|
143
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
406
144
|
ephemeralQueryAccountEnabled?: boolean;
|
|
407
145
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
408
146
|
}, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DivinerModule<_xylabs_object.BaseParamsFields & {
|
|
@@ -410,42 +148,7 @@ declare const asDivinerModule: {
|
|
|
410
148
|
addToResolvers?: boolean;
|
|
411
149
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
412
150
|
allowNameResolution?: boolean;
|
|
413
|
-
config:
|
|
414
|
-
schema: _xyo_network_payload_model.Schema;
|
|
415
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
416
|
-
readonly archiving?: {
|
|
417
|
-
readonly archivists?: string[] | undefined;
|
|
418
|
-
readonly queries?: string[] | undefined;
|
|
419
|
-
} | undefined;
|
|
420
|
-
readonly allowedQueries?: string[] | undefined;
|
|
421
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
422
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
423
|
-
readonly labels?: {
|
|
424
|
-
[x: string]: string | undefined;
|
|
425
|
-
} | undefined;
|
|
426
|
-
readonly paging?: {
|
|
427
|
-
[x: string]: {
|
|
428
|
-
size?: number | undefined;
|
|
429
|
-
};
|
|
430
|
-
} | undefined;
|
|
431
|
-
readonly retry?: {
|
|
432
|
-
backoff?: number | undefined;
|
|
433
|
-
interval?: number | undefined;
|
|
434
|
-
retries?: number | undefined;
|
|
435
|
-
} | undefined;
|
|
436
|
-
readonly security?: {
|
|
437
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
438
|
-
readonly allowed?: {
|
|
439
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
440
|
-
} | undefined;
|
|
441
|
-
readonly disallowed?: {
|
|
442
|
-
[x: string]: Lowercase<string>[];
|
|
443
|
-
} | undefined;
|
|
444
|
-
} | undefined;
|
|
445
|
-
readonly sign?: boolean | undefined;
|
|
446
|
-
readonly storeQueries?: boolean | undefined;
|
|
447
|
-
readonly timestamp?: boolean | undefined;
|
|
448
|
-
}>;
|
|
151
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
449
152
|
ephemeralQueryAccountEnabled?: boolean;
|
|
450
153
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
451
154
|
}, DivinerModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -456,186 +159,34 @@ declare const asDivinerInstance: {
|
|
|
456
159
|
addToResolvers?: boolean;
|
|
457
160
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
458
161
|
allowNameResolution?: boolean;
|
|
459
|
-
config:
|
|
460
|
-
schema: _xyo_network_payload_model.Schema;
|
|
461
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
462
|
-
readonly archiving?: {
|
|
463
|
-
readonly archivists?: string[] | undefined;
|
|
464
|
-
readonly queries?: string[] | undefined;
|
|
465
|
-
} | undefined;
|
|
466
|
-
readonly allowedQueries?: string[] | undefined;
|
|
467
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
468
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
469
|
-
readonly labels?: {
|
|
470
|
-
[x: string]: string | undefined;
|
|
471
|
-
} | undefined;
|
|
472
|
-
readonly paging?: {
|
|
473
|
-
[x: string]: {
|
|
474
|
-
size?: number | undefined;
|
|
475
|
-
};
|
|
476
|
-
} | undefined;
|
|
477
|
-
readonly retry?: {
|
|
478
|
-
backoff?: number | undefined;
|
|
479
|
-
interval?: number | undefined;
|
|
480
|
-
retries?: number | undefined;
|
|
481
|
-
} | undefined;
|
|
482
|
-
readonly security?: {
|
|
483
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
484
|
-
readonly allowed?: {
|
|
485
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
486
|
-
} | undefined;
|
|
487
|
-
readonly disallowed?: {
|
|
488
|
-
[x: string]: Lowercase<string>[];
|
|
489
|
-
} | undefined;
|
|
490
|
-
} | undefined;
|
|
491
|
-
readonly sign?: boolean | undefined;
|
|
492
|
-
readonly storeQueries?: boolean | undefined;
|
|
493
|
-
readonly timestamp?: boolean | undefined;
|
|
494
|
-
}>;
|
|
162
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
495
163
|
ephemeralQueryAccountEnabled?: boolean;
|
|
496
164
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
497
|
-
}, _xylabs_object.
|
|
498
|
-
schema: _xyo_network_payload_model.Schema;
|
|
499
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
500
|
-
schema: _xyo_network_payload_model.Schema;
|
|
501
|
-
}>, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
165
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
502
166
|
<TType extends DivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
503
167
|
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
504
168
|
addToResolvers?: boolean;
|
|
505
169
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
506
170
|
allowNameResolution?: boolean;
|
|
507
|
-
config:
|
|
508
|
-
schema: _xyo_network_payload_model.Schema;
|
|
509
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
510
|
-
readonly archiving?: {
|
|
511
|
-
readonly archivists?: string[] | undefined;
|
|
512
|
-
readonly queries?: string[] | undefined;
|
|
513
|
-
} | undefined;
|
|
514
|
-
readonly allowedQueries?: string[] | undefined;
|
|
515
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
516
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
517
|
-
readonly labels?: {
|
|
518
|
-
[x: string]: string | undefined;
|
|
519
|
-
} | undefined;
|
|
520
|
-
readonly paging?: {
|
|
521
|
-
[x: string]: {
|
|
522
|
-
size?: number | undefined;
|
|
523
|
-
};
|
|
524
|
-
} | undefined;
|
|
525
|
-
readonly retry?: {
|
|
526
|
-
backoff?: number | undefined;
|
|
527
|
-
interval?: number | undefined;
|
|
528
|
-
retries?: number | undefined;
|
|
529
|
-
} | undefined;
|
|
530
|
-
readonly security?: {
|
|
531
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
532
|
-
readonly allowed?: {
|
|
533
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
534
|
-
} | undefined;
|
|
535
|
-
readonly disallowed?: {
|
|
536
|
-
[x: string]: Lowercase<string>[];
|
|
537
|
-
} | undefined;
|
|
538
|
-
} | undefined;
|
|
539
|
-
readonly sign?: boolean | undefined;
|
|
540
|
-
readonly storeQueries?: boolean | undefined;
|
|
541
|
-
readonly timestamp?: boolean | undefined;
|
|
542
|
-
}>;
|
|
171
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
543
172
|
ephemeralQueryAccountEnabled?: boolean;
|
|
544
173
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
545
|
-
}, _xylabs_object.
|
|
546
|
-
schema: _xyo_network_payload_model.Schema;
|
|
547
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
548
|
-
schema: _xyo_network_payload_model.Schema;
|
|
549
|
-
}>, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
174
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<DivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
550
175
|
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
551
176
|
addToResolvers?: boolean;
|
|
552
177
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
553
178
|
allowNameResolution?: boolean;
|
|
554
|
-
config:
|
|
555
|
-
schema: _xyo_network_payload_model.Schema;
|
|
556
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
557
|
-
readonly archiving?: {
|
|
558
|
-
readonly archivists?: string[] | undefined;
|
|
559
|
-
readonly queries?: string[] | undefined;
|
|
560
|
-
} | undefined;
|
|
561
|
-
readonly allowedQueries?: string[] | undefined;
|
|
562
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
563
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
564
|
-
readonly labels?: {
|
|
565
|
-
[x: string]: string | undefined;
|
|
566
|
-
} | undefined;
|
|
567
|
-
readonly paging?: {
|
|
568
|
-
[x: string]: {
|
|
569
|
-
size?: number | undefined;
|
|
570
|
-
};
|
|
571
|
-
} | undefined;
|
|
572
|
-
readonly retry?: {
|
|
573
|
-
backoff?: number | undefined;
|
|
574
|
-
interval?: number | undefined;
|
|
575
|
-
retries?: number | undefined;
|
|
576
|
-
} | undefined;
|
|
577
|
-
readonly security?: {
|
|
578
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
579
|
-
readonly allowed?: {
|
|
580
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
581
|
-
} | undefined;
|
|
582
|
-
readonly disallowed?: {
|
|
583
|
-
[x: string]: Lowercase<string>[];
|
|
584
|
-
} | undefined;
|
|
585
|
-
} | undefined;
|
|
586
|
-
readonly sign?: boolean | undefined;
|
|
587
|
-
readonly storeQueries?: boolean | undefined;
|
|
588
|
-
readonly timestamp?: boolean | undefined;
|
|
589
|
-
}>;
|
|
179
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
590
180
|
ephemeralQueryAccountEnabled?: boolean;
|
|
591
181
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
592
|
-
}, _xylabs_object.
|
|
593
|
-
schema: _xyo_network_payload_model.Schema;
|
|
594
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
595
|
-
schema: _xyo_network_payload_model.Schema;
|
|
596
|
-
}>, DivinerModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
182
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
597
183
|
};
|
|
598
184
|
declare const withDivinerModule: <R>(mod: any, closure: (mod: DivinerModule<_xylabs_object.BaseParamsFields & {
|
|
599
185
|
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
600
186
|
addToResolvers?: boolean;
|
|
601
187
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
602
188
|
allowNameResolution?: boolean;
|
|
603
|
-
config:
|
|
604
|
-
schema: _xyo_network_payload_model.Schema;
|
|
605
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
606
|
-
readonly archiving?: {
|
|
607
|
-
readonly archivists?: string[] | undefined;
|
|
608
|
-
readonly queries?: string[] | undefined;
|
|
609
|
-
} | undefined;
|
|
610
|
-
readonly allowedQueries?: string[] | undefined;
|
|
611
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
612
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
613
|
-
readonly labels?: {
|
|
614
|
-
[x: string]: string | undefined;
|
|
615
|
-
} | undefined;
|
|
616
|
-
readonly paging?: {
|
|
617
|
-
[x: string]: {
|
|
618
|
-
size?: number | undefined;
|
|
619
|
-
};
|
|
620
|
-
} | undefined;
|
|
621
|
-
readonly retry?: {
|
|
622
|
-
backoff?: number | undefined;
|
|
623
|
-
interval?: number | undefined;
|
|
624
|
-
retries?: number | undefined;
|
|
625
|
-
} | undefined;
|
|
626
|
-
readonly security?: {
|
|
627
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
628
|
-
readonly allowed?: {
|
|
629
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
630
|
-
} | undefined;
|
|
631
|
-
readonly disallowed?: {
|
|
632
|
-
[x: string]: Lowercase<string>[];
|
|
633
|
-
} | undefined;
|
|
634
|
-
} | undefined;
|
|
635
|
-
readonly sign?: boolean | undefined;
|
|
636
|
-
readonly storeQueries?: boolean | undefined;
|
|
637
|
-
readonly timestamp?: boolean | undefined;
|
|
638
|
-
}>;
|
|
189
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
639
190
|
ephemeralQueryAccountEnabled?: boolean;
|
|
640
191
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
641
192
|
}, DivinerModuleEventData>) => R) => R | undefined;
|
|
@@ -644,48 +195,9 @@ declare const withDivinerInstance: <R>(mod: any, closure: (mod: DivinerInstance<
|
|
|
644
195
|
addToResolvers?: boolean;
|
|
645
196
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
646
197
|
allowNameResolution?: boolean;
|
|
647
|
-
config:
|
|
648
|
-
schema: _xyo_network_payload_model.Schema;
|
|
649
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
650
|
-
readonly archiving?: {
|
|
651
|
-
readonly archivists?: string[] | undefined;
|
|
652
|
-
readonly queries?: string[] | undefined;
|
|
653
|
-
} | undefined;
|
|
654
|
-
readonly allowedQueries?: string[] | undefined;
|
|
655
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
656
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
657
|
-
readonly labels?: {
|
|
658
|
-
[x: string]: string | undefined;
|
|
659
|
-
} | undefined;
|
|
660
|
-
readonly paging?: {
|
|
661
|
-
[x: string]: {
|
|
662
|
-
size?: number | undefined;
|
|
663
|
-
};
|
|
664
|
-
} | undefined;
|
|
665
|
-
readonly retry?: {
|
|
666
|
-
backoff?: number | undefined;
|
|
667
|
-
interval?: number | undefined;
|
|
668
|
-
retries?: number | undefined;
|
|
669
|
-
} | undefined;
|
|
670
|
-
readonly security?: {
|
|
671
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
672
|
-
readonly allowed?: {
|
|
673
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
674
|
-
} | undefined;
|
|
675
|
-
readonly disallowed?: {
|
|
676
|
-
[x: string]: Lowercase<string>[];
|
|
677
|
-
} | undefined;
|
|
678
|
-
} | undefined;
|
|
679
|
-
readonly sign?: boolean | undefined;
|
|
680
|
-
readonly storeQueries?: boolean | undefined;
|
|
681
|
-
readonly timestamp?: boolean | undefined;
|
|
682
|
-
}>;
|
|
198
|
+
config: _xyo_network_module_model.AnyConfigSchema<DivinerConfig>;
|
|
683
199
|
ephemeralQueryAccountEnabled?: boolean;
|
|
684
200
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
685
|
-
},
|
|
686
|
-
schema: _xyo_network_payload_model.Schema;
|
|
687
|
-
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
688
|
-
schema: _xyo_network_payload_model.Schema;
|
|
689
|
-
}>, DivinerModuleEventData>) => R) => R | undefined;
|
|
201
|
+
}, _xyo_network_payload_model.Payload, _xyo_network_payload_model.Payload, DivinerModuleEventData>) => R) => R | undefined;
|
|
690
202
|
|
|
691
203
|
export { type AttachableDivinerInstance, type AttachableDivinerInstanceTypeCheck, type DivineEndEventArgs, type DivineEndEventData, type DivineStartEventArgs, type DivineStartEventData, type DivinedPayload, type DivinerConfig, DivinerConfigSchema, type DivinerDivineQuery, DivinerDivineQuerySchema, type DivinerDivineResult, type DivinerInstance, type DivinerModule, type DivinerModuleEventData, type DivinerModuleQueries, type DivinerParams, type DivinerQueries, type DivinerQueryFunctions, IsAttachableDivinerInstanceFactory, type SearchableStorage, asAttachableDivinerInstance, asDivinerInstance, asDivinerModule, isAttachableDivinerInstance, isDivinerInstance, isDivinerModule, requiredAttachableDivinerInstanceFunctions, withDivinerInstance, withDivinerModule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-model",
|
|
3
|
-
"version": "3.9.
|
|
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": {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@xylabs/object": "^4.5.1",
|
|
34
34
|
"@xylabs/retry": "^4.5.1",
|
|
35
35
|
"@xylabs/typeof": "^4.5.1",
|
|
36
|
-
"@xyo-network/account-model": "^3.9.
|
|
37
|
-
"@xyo-network/module-events": "^3.9.
|
|
38
|
-
"@xyo-network/module-model": "^3.9.
|
|
39
|
-
"@xyo-network/payload-model": "^3.9.
|
|
36
|
+
"@xyo-network/account-model": "^3.9.3",
|
|
37
|
+
"@xyo-network/module-events": "^3.9.3",
|
|
38
|
+
"@xyo-network/module-model": "^3.9.3",
|
|
39
|
+
"@xyo-network/payload-model": "^3.9.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|