@xyo-network/diviner-stateful 3.8.0 → 3.8.2
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 +1259 -6
- package/dist/neutral/index.mjs +3 -3
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +22 -22
- package/src/Diviner.ts +1 -1
- package/src/DivinerMixin.ts +2 -2
- package/dist/neutral/Config.d.ts +0 -22
- package/dist/neutral/Config.d.ts.map +0 -1
- package/dist/neutral/Diviner.d.ts +0 -204
- package/dist/neutral/Diviner.d.ts.map +0 -1
- package/dist/neutral/DivinerMixin.d.ts +0 -997
- package/dist/neutral/DivinerMixin.d.ts.map +0 -1
- package/dist/neutral/Params.d.ts +0 -8
- package/dist/neutral/Params.d.ts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -3
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,6 +1,1259 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as _xyo_network_diviner_model from '@xyo-network/diviner-model';
|
|
2
|
+
import { DivinerConfig, DivinerParams, DivinerModuleEventData, DivinerInstance } from '@xyo-network/diviner-model';
|
|
3
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
4
|
+
import { ModuleIdentifier, AnyConfigSchema, StateDictionary, ModuleState, ModuleParams, ModuleInstance } from '@xyo-network/module-model';
|
|
5
|
+
import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
|
|
6
|
+
import * as _xylabs_logger from '@xylabs/logger';
|
|
7
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
8
|
+
import * as _xylabs_object from '@xylabs/object';
|
|
9
|
+
import { ArchivistWrapper } from '@xyo-network/archivist-wrapper';
|
|
10
|
+
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
11
|
+
import { DivinerWrapper } from '@xyo-network/diviner-wrapper';
|
|
12
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
13
|
+
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
14
|
+
import * as _xyo_network_manifest_model from '@xyo-network/manifest-model';
|
|
15
|
+
import * as _xyo_network_module_events from '@xyo-network/module-events';
|
|
16
|
+
import * as _xyo_network_boundwitness_model from '@xyo-network/boundwitness-model';
|
|
17
|
+
import * as _xylabs_promise from '@xylabs/promise';
|
|
18
|
+
import * as _xylabs_hex from '@xylabs/hex';
|
|
19
|
+
|
|
20
|
+
declare const StatefulDivinerConfigSchema: "network.xyo.diviner.stateful.config";
|
|
21
|
+
type StatefulDivinerConfigSchema = typeof StatefulDivinerConfigSchema;
|
|
22
|
+
type StatefulDivinerConfig = DivinerConfig<{
|
|
23
|
+
schema: StatefulDivinerConfigSchema;
|
|
24
|
+
stateStore: {
|
|
25
|
+
archivist: ModuleIdentifier;
|
|
26
|
+
boundWitnessDiviner: ModuleIdentifier;
|
|
27
|
+
payloadDiviner: ModuleIdentifier;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
|
|
31
|
+
type StatefulDivinerParams = DivinerParams<AnyConfigSchema<StatefulDivinerConfig>>;
|
|
32
|
+
|
|
33
|
+
declare abstract class StatefulDiviner<TParams extends StatefulDivinerParams = StatefulDivinerParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut>, TState extends StateDictionary = StateDictionary> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {
|
|
34
|
+
static readonly configSchemas: Schema[];
|
|
35
|
+
static readonly defaultConfigSchema: Schema;
|
|
36
|
+
protected _lastState?: ModuleState<TState>;
|
|
37
|
+
protected commitState(nextState: ModuleState<TState>): Promise<void>;
|
|
38
|
+
protected getArchivistForStateStore(): Promise<ArchivistWrapper<_xyo_network_archivist_model.ArchivistModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
39
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
40
|
+
addToResolvers?: boolean;
|
|
41
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
42
|
+
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
|
+
}>;
|
|
96
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
97
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
98
|
+
}, _xyo_network_archivist_model.ArchivistModuleEventData>>>;
|
|
99
|
+
protected getBoundWitnessDivinerForStateStore(): Promise<DivinerWrapper<_xyo_network_diviner_model.DivinerModule<_xylabs_object.BaseParamsFields & {
|
|
100
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
101
|
+
addToResolvers?: boolean;
|
|
102
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
103
|
+
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
|
+
}>;
|
|
140
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
141
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
142
|
+
}, DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
143
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
144
|
+
addToResolvers?: boolean;
|
|
145
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
146
|
+
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
|
+
}>;
|
|
183
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
184
|
+
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
|
+
}>>>;
|
|
194
|
+
protected getPayloadDivinerForStateStore(): Promise<DivinerWrapper<_xyo_network_diviner_model.DivinerModule<_xylabs_object.BaseParamsFields & {
|
|
195
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
196
|
+
addToResolvers?: boolean;
|
|
197
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
198
|
+
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
|
+
}>;
|
|
235
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
236
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
237
|
+
}, DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
238
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
239
|
+
addToResolvers?: boolean;
|
|
240
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
241
|
+
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
|
+
}>;
|
|
278
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
279
|
+
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
|
+
}>>>;
|
|
289
|
+
protected retrieveState(): Promise<ModuleState<TState> | undefined>;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
type StatefulModuleParams = ModuleParams<AnyConfigSchema<StatefulDivinerConfig>>;
|
|
293
|
+
type AnyModule<TParams extends StatefulModuleParams = StatefulModuleParams> = new (...args: any[]) => ModuleInstance<TParams>;
|
|
294
|
+
declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = _xylabs_object.BaseParamsFields & {
|
|
295
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
296
|
+
addToResolvers?: boolean;
|
|
297
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
298
|
+
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
|
+
}>;
|
|
340
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
341
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
342
|
+
}, 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>;
|
|
351
|
+
getArchivistForStore(): Promise<_xyo_network_archivist_model.ArchivistInstance<_xylabs_object.BaseParamsFields & {
|
|
352
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
353
|
+
addToResolvers?: boolean;
|
|
354
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
355
|
+
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
|
+
}>;
|
|
409
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
410
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
411
|
+
}, _xyo_network_archivist_model.ArchivistModuleEventData, _xylabs_object.DeepRestrictToStringKeys<{
|
|
412
|
+
schema: _xyo_network_payload_model.Schema;
|
|
413
|
+
}>>>;
|
|
414
|
+
getBoundWitnessDivinerForStore(): Promise<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
415
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
416
|
+
addToResolvers?: boolean;
|
|
417
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
418
|
+
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
|
+
}>;
|
|
455
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
456
|
+
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 & {
|
|
462
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
463
|
+
addToResolvers?: boolean;
|
|
464
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
465
|
+
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
|
+
}>;
|
|
502
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
503
|
+
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
|
+
}>>>>;
|
|
509
|
+
getPayloadDivinerForStateStore(): Promise<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
|
|
510
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
511
|
+
addToResolvers?: boolean;
|
|
512
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
513
|
+
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
|
+
}>;
|
|
550
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
551
|
+
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 & {
|
|
557
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
558
|
+
addToResolvers?: boolean;
|
|
559
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
560
|
+
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
|
+
}>;
|
|
597
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
598
|
+
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>;
|
|
608
|
+
readonly pipeline?: _xyo_network_module_model.ModulePipeLine;
|
|
609
|
+
readonly status: _xyo_network_module_model.ModuleStatus;
|
|
610
|
+
address: _xylabs_hex.Address;
|
|
611
|
+
config: TParams["config"];
|
|
612
|
+
id: string;
|
|
613
|
+
modName?: _xyo_network_module_model.ModuleName;
|
|
614
|
+
params: TParams;
|
|
615
|
+
previousHash: () => _xylabs_promise.Promisable<string | undefined>;
|
|
616
|
+
queries: string[];
|
|
617
|
+
query: <T extends _xyo_network_boundwitness_model.QueryBoundWitness = _xyo_network_boundwitness_model.QueryBoundWitness, TConf extends _xyo_network_module_model.ModuleConfig = _xyo_network_module_model.ModuleConfig>(query: T, payloads?: _xyo_network_payload_model.Payload[], queryConfig?: TConf) => _xylabs_promise.Promisable<_xyo_network_module_model.ModuleQueryResult>;
|
|
618
|
+
queryable: <T extends _xyo_network_boundwitness_model.QueryBoundWitness = _xyo_network_boundwitness_model.QueryBoundWitness, TConf_1 extends _xyo_network_module_model.ModuleConfig = _xyo_network_module_model.ModuleConfig>(query: T, payloads?: _xyo_network_payload_model.Payload[], queryConfig?: TConf_1) => _xylabs_promise.Promisable<boolean>;
|
|
619
|
+
start?: () => _xylabs_promise.Promisable<boolean>;
|
|
620
|
+
stop?: () => _xylabs_promise.Promisable<boolean>;
|
|
621
|
+
eventData: _xyo_network_module_model.ModuleEventData<object>;
|
|
622
|
+
clearListeners(eventNames: keyof _xyo_network_module_model.ModuleEventData<object> | (keyof _xyo_network_module_model.ModuleEventData<object>)[]): void;
|
|
623
|
+
emit<TEventName extends keyof _xyo_network_module_model.ModuleEventData<object>>(eventName: TEventName, eventArgs: _xyo_network_module_model.ModuleEventData<object>[TEventName]): Promise<void>;
|
|
624
|
+
emitSerial<TEventName extends keyof _xyo_network_module_model.ModuleEventData<object>>(eventName: TEventName, eventArgs: _xyo_network_module_model.ModuleEventData<object>[TEventName]): Promise<void>;
|
|
625
|
+
listenerCount(eventNames: keyof _xyo_network_module_model.ModuleEventData<object> | (keyof _xyo_network_module_model.ModuleEventData<object>)[]): number;
|
|
626
|
+
off<TEventName extends keyof _xyo_network_module_model.ModuleEventData<object>>(eventNames: TEventName | TEventName[], listener: _xyo_network_module_events.EventListener<_xyo_network_module_model.ModuleEventData<object>[TEventName]>): void;
|
|
627
|
+
offAny(listener: _xyo_network_module_events.EventAnyListener | Promise<void>): void;
|
|
628
|
+
on<TEventName extends keyof _xyo_network_module_model.ModuleEventData<object>>(eventNames: TEventName | TEventName[], listener: _xyo_network_module_events.EventListener<_xyo_network_module_model.ModuleEventData<object>[TEventName]>): _xyo_network_module_events.EventUnsubscribeFunction;
|
|
629
|
+
onAny(listener: _xyo_network_module_events.EventAnyListener): _xyo_network_module_events.EventUnsubscribeFunction;
|
|
630
|
+
once<TEventName extends keyof _xyo_network_module_model.ModuleEventData<object>>(eventName: TEventName, listener: _xyo_network_module_events.EventListener<_xyo_network_module_model.ModuleEventData<object>[TEventName]>): _xyo_network_module_events.EventUnsubscribeFunction;
|
|
631
|
+
priority: _xyo_network_module_model.ObjectResolverPriority;
|
|
632
|
+
resolve<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
633
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
634
|
+
addToResolvers?: boolean;
|
|
635
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
636
|
+
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
|
+
}>;
|
|
673
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
674
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
675
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
676
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
677
|
+
addToResolvers?: boolean;
|
|
678
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
679
|
+
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
|
+
}>;
|
|
716
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
717
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
718
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>(): _xylabs_promise.Promisable<T | undefined>;
|
|
719
|
+
resolve<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
720
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
721
|
+
addToResolvers?: boolean;
|
|
722
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
723
|
+
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
|
+
}>;
|
|
760
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
761
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
762
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
763
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
764
|
+
addToResolvers?: boolean;
|
|
765
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
766
|
+
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
|
+
}>;
|
|
803
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
804
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
805
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>(all: "*", options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): _xylabs_promise.Promisable<T[]>;
|
|
806
|
+
resolve<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
807
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
808
|
+
addToResolvers?: boolean;
|
|
809
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
810
|
+
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
|
+
}>;
|
|
847
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
848
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
849
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
850
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
851
|
+
addToResolvers?: boolean;
|
|
852
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
853
|
+
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
|
+
}>;
|
|
890
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
891
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
892
|
+
}, _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>;
|
|
893
|
+
resolve<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
894
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
895
|
+
addToResolvers?: boolean;
|
|
896
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
897
|
+
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
|
+
}>;
|
|
934
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
935
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
936
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
937
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
938
|
+
addToResolvers?: boolean;
|
|
939
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
940
|
+
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
|
+
}>;
|
|
977
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
978
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
979
|
+
}, _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>;
|
|
980
|
+
resolvePrivate<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
981
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
982
|
+
addToResolvers?: boolean;
|
|
983
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
984
|
+
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
|
+
}>;
|
|
1021
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1022
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1023
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
1024
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1025
|
+
addToResolvers?: boolean;
|
|
1026
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1027
|
+
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
|
+
}>;
|
|
1064
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1065
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1066
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>(all: "*", options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): Promise<T[]>;
|
|
1067
|
+
resolvePrivate<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
1068
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1069
|
+
addToResolvers?: boolean;
|
|
1070
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1071
|
+
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
|
+
}>;
|
|
1108
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1109
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1110
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
1111
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1112
|
+
addToResolvers?: boolean;
|
|
1113
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1114
|
+
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
|
+
}>;
|
|
1151
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1152
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1153
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>(id: _xyo_network_module_model.ModuleIdentifier, options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): Promise<T | undefined>;
|
|
1154
|
+
resolvePrivate<T extends ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
1155
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1156
|
+
addToResolvers?: boolean;
|
|
1157
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1158
|
+
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
|
+
}>;
|
|
1195
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1196
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1197
|
+
}, _xyo_network_module_model.ModuleEventData<object>> = ModuleInstance<_xylabs_object.BaseParamsFields & {
|
|
1198
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1199
|
+
addToResolvers?: boolean;
|
|
1200
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1201
|
+
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
|
+
}>;
|
|
1238
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1239
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1240
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>(id: _xyo_network_module_model.ModuleIdentifier, options?: _xyo_network_module_model.ObjectFilterOptions<T> | undefined): Promise<T | T[] | undefined>;
|
|
1241
|
+
manifest: (maxDepth?: number, ignoreAddresses?: _xylabs_hex.Address[]) => _xylabs_promise.Promisable<_xyo_network_manifest_model.ModuleManifestPayload>;
|
|
1242
|
+
manifestQuery: (account: _xyo_network_account_model.AccountInstance, maxDepth?: number, ignoreAddresses?: _xylabs_hex.Address[]) => _xylabs_promise.Promisable<_xyo_network_module_model.ModuleQueryResult<_xyo_network_manifest_model.ModuleManifestPayload>>;
|
|
1243
|
+
moduleAddress: () => _xylabs_promise.Promisable<(_xyo_network_module_model.AddressPreviousHashPayload | _xyo_network_module_model.AddressPayload)[]>;
|
|
1244
|
+
state: () => _xylabs_promise.Promisable<_xyo_network_payload_model.Payload[]>;
|
|
1245
|
+
stateQuery: (account: _xyo_network_account_model.AccountInstance) => _xylabs_promise.Promisable<_xyo_network_module_model.ModuleQueryResult>;
|
|
1246
|
+
account?: _xyo_network_account_model.AccountInstance;
|
|
1247
|
+
addParent: (mod: ModuleInstance) => void;
|
|
1248
|
+
addressCache?: (direction: _xyo_network_module_model.Direction, includePrivate: boolean) => _xyo_network_module_model.AddressToWeakInstanceCache | undefined;
|
|
1249
|
+
parents: () => _xylabs_promise.Promisable<ModuleInstance[]>;
|
|
1250
|
+
privateChildren: () => _xylabs_promise.Promisable<ModuleInstance[]>;
|
|
1251
|
+
publicChildren: () => _xylabs_promise.Promisable<ModuleInstance[]>;
|
|
1252
|
+
removeParent: (address: _xylabs_hex.Address) => void;
|
|
1253
|
+
siblings: () => _xylabs_promise.Promisable<ModuleInstance[]>;
|
|
1254
|
+
}) & TModule;
|
|
1255
|
+
|
|
1256
|
+
declare const StatefulDivinerSchema: "network.xyo.diviner.stateful";
|
|
1257
|
+
type StatefulDivinerSchema = typeof StatefulDivinerSchema;
|
|
1258
|
+
|
|
1259
|
+
export { type AnyModule, StatefulDiviner, type StatefulDivinerConfig, StatefulDivinerConfigSchema, type StatefulDivinerParams, StatefulDivinerSchema, StatefulModuleMixin, type StatefulModuleParams };
|