@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
|
@@ -1,997 +0,0 @@
|
|
|
1
|
-
import type { AnyConfigSchema, ModuleInstance, ModuleParams, StateDictionary } from '@xyo-network/module-model';
|
|
2
|
-
import type { StatefulDivinerConfig } from './Config.ts';
|
|
3
|
-
export type StatefulModuleParams = ModuleParams<AnyConfigSchema<StatefulDivinerConfig>>;
|
|
4
|
-
export type AnyModule<TParams extends StatefulModuleParams = StatefulModuleParams> = new (...args: any[]) => ModuleInstance<TParams>;
|
|
5
|
-
/**
|
|
6
|
-
* @ignore Inherit from StatefulDiviner instead
|
|
7
|
-
* @param ModuleBase
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = import("@xylabs/object").BaseParamsFields & {
|
|
11
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
12
|
-
addToResolvers?: boolean;
|
|
13
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
14
|
-
allowNameResolution?: boolean;
|
|
15
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
16
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
17
|
-
readonly archiving?: {
|
|
18
|
-
readonly archivists?: string[] | undefined;
|
|
19
|
-
readonly queries?: string[] | undefined;
|
|
20
|
-
} | undefined;
|
|
21
|
-
readonly allowedQueries?: string[] | undefined;
|
|
22
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
23
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
24
|
-
readonly labels?: {
|
|
25
|
-
[x: string]: string | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
28
|
-
readonly paging?: {
|
|
29
|
-
[x: string]: {
|
|
30
|
-
size?: number | undefined;
|
|
31
|
-
};
|
|
32
|
-
} | undefined;
|
|
33
|
-
readonly retry?: {
|
|
34
|
-
backoff?: number | undefined;
|
|
35
|
-
interval?: number | undefined;
|
|
36
|
-
retries?: number | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
readonly security?: {
|
|
39
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
40
|
-
readonly allowed?: {
|
|
41
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
42
|
-
} | undefined;
|
|
43
|
-
readonly disallowed?: {
|
|
44
|
-
[x: string]: Lowercase<string>[];
|
|
45
|
-
} | undefined;
|
|
46
|
-
} | undefined;
|
|
47
|
-
readonly sign?: boolean | undefined;
|
|
48
|
-
readonly storeQueries?: boolean | undefined;
|
|
49
|
-
readonly timestamp?: boolean | undefined;
|
|
50
|
-
stateStore: {
|
|
51
|
-
archivist: import("@xyo-network/module-model").ModuleIdentifier;
|
|
52
|
-
boundWitnessDiviner: import("@xyo-network/module-model").ModuleIdentifier;
|
|
53
|
-
payloadDiviner: import("@xyo-network/module-model").ModuleIdentifier;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
57
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
58
|
-
}, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
|
|
59
|
-
_lastState?: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
60
|
-
schema: "network.xyo.module.state";
|
|
61
|
-
state: import("@xylabs/object").DeepOmitStartsWith<import("@xylabs/object").DeepOmitStartsWith<TState, "_">, "$">;
|
|
62
|
-
}> | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Commit the internal state of the Diviner process. This is similar
|
|
65
|
-
* to a transaction completion in a database and should only be called
|
|
66
|
-
* when results have been successfully persisted to the appropriate
|
|
67
|
-
* external stores.
|
|
68
|
-
* @param nextState The state to commit
|
|
69
|
-
*/
|
|
70
|
-
commitState(nextState: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
71
|
-
schema: "network.xyo.module.state";
|
|
72
|
-
state: import("@xylabs/object").DeepOmitStartsWith<import("@xylabs/object").DeepOmitStartsWith<TState, "_">, "$">;
|
|
73
|
-
}>): Promise<void>;
|
|
74
|
-
/**
|
|
75
|
-
* Retrieves the archivist for the specified store
|
|
76
|
-
* @param store The store to retrieve the archivist for
|
|
77
|
-
* @returns The archivist for the specified store
|
|
78
|
-
*/
|
|
79
|
-
getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
80
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
81
|
-
addToResolvers?: boolean;
|
|
82
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
83
|
-
allowNameResolution?: boolean;
|
|
84
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
85
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
86
|
-
parents?: {
|
|
87
|
-
commit?: string[] | undefined;
|
|
88
|
-
read?: string[] | undefined;
|
|
89
|
-
write?: string[] | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
requireAllParents?: boolean | undefined;
|
|
92
|
-
storage?: {
|
|
93
|
-
indexes?: {
|
|
94
|
-
key: {
|
|
95
|
-
[x: string]: import("@xyo-network/archivist-model").IndexDirection;
|
|
96
|
-
};
|
|
97
|
-
multiEntry?: boolean | undefined;
|
|
98
|
-
name?: string | undefined;
|
|
99
|
-
unique?: boolean | undefined;
|
|
100
|
-
}[] | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
storeParentReads?: boolean | undefined;
|
|
103
|
-
readonly archiving?: {
|
|
104
|
-
readonly archivists?: string[] | undefined;
|
|
105
|
-
readonly queries?: string[] | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
readonly allowedQueries?: string[] | undefined;
|
|
108
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
109
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
110
|
-
readonly labels?: {
|
|
111
|
-
[x: string]: string | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
114
|
-
readonly paging?: {
|
|
115
|
-
[x: string]: {
|
|
116
|
-
size?: number | undefined;
|
|
117
|
-
};
|
|
118
|
-
} | undefined;
|
|
119
|
-
readonly retry?: {
|
|
120
|
-
backoff?: number | undefined;
|
|
121
|
-
interval?: number | undefined;
|
|
122
|
-
retries?: number | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
readonly security?: {
|
|
125
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
126
|
-
readonly allowed?: {
|
|
127
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
128
|
-
} | undefined;
|
|
129
|
-
readonly disallowed?: {
|
|
130
|
-
[x: string]: Lowercase<string>[];
|
|
131
|
-
} | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
readonly sign?: boolean | undefined;
|
|
134
|
-
readonly storeQueries?: boolean | undefined;
|
|
135
|
-
readonly timestamp?: boolean | undefined;
|
|
136
|
-
}>;
|
|
137
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
138
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
139
|
-
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
140
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
141
|
-
}>>>;
|
|
142
|
-
/**
|
|
143
|
-
* Retrieves the BoundWitness Diviner for the specified store
|
|
144
|
-
* @param store The store to retrieve the BoundWitness Diviner for
|
|
145
|
-
* @returns The BoundWitness Diviner for the specified store
|
|
146
|
-
*/
|
|
147
|
-
getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
148
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
149
|
-
addToResolvers?: boolean;
|
|
150
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
151
|
-
allowNameResolution?: boolean;
|
|
152
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
153
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
154
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
155
|
-
readonly archiving?: {
|
|
156
|
-
readonly archivists?: string[] | undefined;
|
|
157
|
-
readonly queries?: string[] | undefined;
|
|
158
|
-
} | undefined;
|
|
159
|
-
readonly allowedQueries?: string[] | undefined;
|
|
160
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
161
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
162
|
-
readonly labels?: {
|
|
163
|
-
[x: string]: string | undefined;
|
|
164
|
-
} | undefined;
|
|
165
|
-
readonly paging?: {
|
|
166
|
-
[x: string]: {
|
|
167
|
-
size?: number | undefined;
|
|
168
|
-
};
|
|
169
|
-
} | undefined;
|
|
170
|
-
readonly retry?: {
|
|
171
|
-
backoff?: number | undefined;
|
|
172
|
-
interval?: number | undefined;
|
|
173
|
-
retries?: number | undefined;
|
|
174
|
-
} | undefined;
|
|
175
|
-
readonly security?: {
|
|
176
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
177
|
-
readonly allowed?: {
|
|
178
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
179
|
-
} | undefined;
|
|
180
|
-
readonly disallowed?: {
|
|
181
|
-
[x: string]: Lowercase<string>[];
|
|
182
|
-
} | undefined;
|
|
183
|
-
} | undefined;
|
|
184
|
-
readonly sign?: boolean | undefined;
|
|
185
|
-
readonly storeQueries?: boolean | undefined;
|
|
186
|
-
readonly timestamp?: boolean | undefined;
|
|
187
|
-
}>;
|
|
188
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
189
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
190
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
191
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
192
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
193
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
194
|
-
}>, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
195
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
196
|
-
addToResolvers?: boolean;
|
|
197
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
198
|
-
allowNameResolution?: boolean;
|
|
199
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
200
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
201
|
-
readonly archiving?: {
|
|
202
|
-
readonly archivists?: string[] | undefined;
|
|
203
|
-
readonly queries?: string[] | undefined;
|
|
204
|
-
} | undefined;
|
|
205
|
-
readonly allowedQueries?: string[] | undefined;
|
|
206
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
207
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
208
|
-
readonly labels?: {
|
|
209
|
-
[x: string]: string | undefined;
|
|
210
|
-
} | undefined;
|
|
211
|
-
readonly name?: import("@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?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
237
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
238
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
239
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
240
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
241
|
-
}>>>>;
|
|
242
|
-
/**
|
|
243
|
-
* Retrieves the Payload Diviner for the specified store
|
|
244
|
-
* @param store The store to retrieve the Payload Diviner for
|
|
245
|
-
* @returns The Payload Diviner for the specified store
|
|
246
|
-
*/
|
|
247
|
-
getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
248
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
249
|
-
addToResolvers?: boolean;
|
|
250
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
251
|
-
allowNameResolution?: boolean;
|
|
252
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
253
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
254
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
255
|
-
readonly archiving?: {
|
|
256
|
-
readonly archivists?: string[] | undefined;
|
|
257
|
-
readonly queries?: string[] | undefined;
|
|
258
|
-
} | undefined;
|
|
259
|
-
readonly allowedQueries?: string[] | undefined;
|
|
260
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
261
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
262
|
-
readonly labels?: {
|
|
263
|
-
[x: string]: string | undefined;
|
|
264
|
-
} | undefined;
|
|
265
|
-
readonly paging?: {
|
|
266
|
-
[x: string]: {
|
|
267
|
-
size?: number | undefined;
|
|
268
|
-
};
|
|
269
|
-
} | undefined;
|
|
270
|
-
readonly retry?: {
|
|
271
|
-
backoff?: number | undefined;
|
|
272
|
-
interval?: number | undefined;
|
|
273
|
-
retries?: number | undefined;
|
|
274
|
-
} | undefined;
|
|
275
|
-
readonly security?: {
|
|
276
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
277
|
-
readonly allowed?: {
|
|
278
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
279
|
-
} | undefined;
|
|
280
|
-
readonly disallowed?: {
|
|
281
|
-
[x: string]: Lowercase<string>[];
|
|
282
|
-
} | undefined;
|
|
283
|
-
} | undefined;
|
|
284
|
-
readonly sign?: boolean | undefined;
|
|
285
|
-
readonly storeQueries?: boolean | undefined;
|
|
286
|
-
readonly timestamp?: boolean | undefined;
|
|
287
|
-
}>;
|
|
288
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
289
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
290
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
291
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
292
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
293
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
294
|
-
}>, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
295
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
296
|
-
addToResolvers?: boolean;
|
|
297
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
298
|
-
allowNameResolution?: boolean;
|
|
299
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
300
|
-
schema: import("@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?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
307
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
308
|
-
readonly labels?: {
|
|
309
|
-
[x: string]: string | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
readonly name?: import("@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
|
-
}>;
|
|
335
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
336
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
337
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
338
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
339
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
340
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
341
|
-
}>>>>;
|
|
342
|
-
/**
|
|
343
|
-
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
344
|
-
* preemptions, reboots, etc.
|
|
345
|
-
*/
|
|
346
|
-
retrieveState(): Promise<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
347
|
-
schema: "network.xyo.module.state";
|
|
348
|
-
state: import("@xylabs/object").DeepOmitStartsWith<import("@xylabs/object").DeepOmitStartsWith<TState, "_">, "$">;
|
|
349
|
-
}> | undefined>;
|
|
350
|
-
readonly pipeline?: import("@xyo-network/module-model").ModulePipeLine;
|
|
351
|
-
readonly status: import("@xyo-network/module-model").ModuleStatus;
|
|
352
|
-
address: import("@xylabs/hex").Address;
|
|
353
|
-
config: TParams["config"];
|
|
354
|
-
id: string;
|
|
355
|
-
modName?: import("@xyo-network/module-model").ModuleName;
|
|
356
|
-
params: TParams;
|
|
357
|
-
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
358
|
-
queries: string[];
|
|
359
|
-
query: <T extends import("@xyo-network/boundwitness-model").QueryBoundWitness = import("@xyo-network/boundwitness-model").QueryBoundWitness, TConf extends import("@xyo-network/module-model").ModuleConfig = import("@xyo-network/module-model").ModuleConfig>(query: T, payloads?: import("@xyo-network/payload-model").Payload[], queryConfig?: TConf) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
360
|
-
queryable: <T extends import("@xyo-network/boundwitness-model").QueryBoundWitness = import("@xyo-network/boundwitness-model").QueryBoundWitness, TConf_1 extends import("@xyo-network/module-model").ModuleConfig = import("@xyo-network/module-model").ModuleConfig>(query: T, payloads?: import("@xyo-network/payload-model").Payload[], queryConfig?: TConf_1) => import("@xylabs/promise").Promisable<boolean>;
|
|
361
|
-
start?: () => import("@xylabs/promise").Promisable<boolean>;
|
|
362
|
-
stop?: () => import("@xylabs/promise").Promisable<boolean>;
|
|
363
|
-
eventData: import("@xyo-network/module-model").ModuleEventData<object>;
|
|
364
|
-
clearListeners(eventNames: keyof import("@xyo-network/module-model").ModuleEventData<object> | (keyof import("@xyo-network/module-model").ModuleEventData<object>)[]): void;
|
|
365
|
-
emit<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName, eventArgs: import("@xyo-network/module-model").ModuleEventData<object>[TEventName]): Promise<void>;
|
|
366
|
-
emitSerial<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName, eventArgs: import("@xyo-network/module-model").ModuleEventData<object>[TEventName]): Promise<void>;
|
|
367
|
-
listenerCount(eventNames: keyof import("@xyo-network/module-model").ModuleEventData<object> | (keyof import("@xyo-network/module-model").ModuleEventData<object>)[]): number;
|
|
368
|
-
off<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventNames: TEventName | TEventName[], listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName]>): void;
|
|
369
|
-
offAny(listener: import("@xyo-network/module-events").EventAnyListener | Promise<void>): void;
|
|
370
|
-
on<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventNames: TEventName | TEventName[], listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName]>): import("@xyo-network/module-events").EventUnsubscribeFunction;
|
|
371
|
-
onAny(listener: import("@xyo-network/module-events").EventAnyListener): import("@xyo-network/module-events").EventUnsubscribeFunction;
|
|
372
|
-
once<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName, listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName]>): import("@xyo-network/module-events").EventUnsubscribeFunction;
|
|
373
|
-
priority: import("@xyo-network/module-model").ObjectResolverPriority;
|
|
374
|
-
resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
375
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
376
|
-
addToResolvers?: boolean;
|
|
377
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
378
|
-
allowNameResolution?: boolean;
|
|
379
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
380
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
381
|
-
readonly archiving?: {
|
|
382
|
-
readonly archivists?: string[] | undefined;
|
|
383
|
-
readonly queries?: string[] | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
readonly allowedQueries?: string[] | undefined;
|
|
386
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
387
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
388
|
-
readonly labels?: {
|
|
389
|
-
[x: string]: string | undefined;
|
|
390
|
-
} | undefined;
|
|
391
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
392
|
-
readonly paging?: {
|
|
393
|
-
[x: string]: {
|
|
394
|
-
size?: number | undefined;
|
|
395
|
-
};
|
|
396
|
-
} | undefined;
|
|
397
|
-
readonly retry?: {
|
|
398
|
-
backoff?: number | undefined;
|
|
399
|
-
interval?: number | undefined;
|
|
400
|
-
retries?: number | undefined;
|
|
401
|
-
} | undefined;
|
|
402
|
-
readonly security?: {
|
|
403
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
404
|
-
readonly allowed?: {
|
|
405
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
406
|
-
} | undefined;
|
|
407
|
-
readonly disallowed?: {
|
|
408
|
-
[x: string]: Lowercase<string>[];
|
|
409
|
-
} | undefined;
|
|
410
|
-
} | undefined;
|
|
411
|
-
readonly sign?: boolean | undefined;
|
|
412
|
-
readonly storeQueries?: boolean | undefined;
|
|
413
|
-
readonly timestamp?: boolean | undefined;
|
|
414
|
-
}>;
|
|
415
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
416
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
417
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
418
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
419
|
-
addToResolvers?: boolean;
|
|
420
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
421
|
-
allowNameResolution?: boolean;
|
|
422
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
423
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
424
|
-
readonly archiving?: {
|
|
425
|
-
readonly archivists?: string[] | undefined;
|
|
426
|
-
readonly queries?: string[] | undefined;
|
|
427
|
-
} | undefined;
|
|
428
|
-
readonly allowedQueries?: string[] | undefined;
|
|
429
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
430
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
431
|
-
readonly labels?: {
|
|
432
|
-
[x: string]: string | undefined;
|
|
433
|
-
} | undefined;
|
|
434
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
435
|
-
readonly paging?: {
|
|
436
|
-
[x: string]: {
|
|
437
|
-
size?: number | undefined;
|
|
438
|
-
};
|
|
439
|
-
} | undefined;
|
|
440
|
-
readonly retry?: {
|
|
441
|
-
backoff?: number | undefined;
|
|
442
|
-
interval?: number | undefined;
|
|
443
|
-
retries?: number | undefined;
|
|
444
|
-
} | undefined;
|
|
445
|
-
readonly security?: {
|
|
446
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
447
|
-
readonly allowed?: {
|
|
448
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
449
|
-
} | undefined;
|
|
450
|
-
readonly disallowed?: {
|
|
451
|
-
[x: string]: Lowercase<string>[];
|
|
452
|
-
} | undefined;
|
|
453
|
-
} | undefined;
|
|
454
|
-
readonly sign?: boolean | undefined;
|
|
455
|
-
readonly storeQueries?: boolean | undefined;
|
|
456
|
-
readonly timestamp?: boolean | undefined;
|
|
457
|
-
}>;
|
|
458
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
459
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
460
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(): import("@xylabs/promise").Promisable<T | undefined>;
|
|
461
|
-
resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
462
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
463
|
-
addToResolvers?: boolean;
|
|
464
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
465
|
-
allowNameResolution?: boolean;
|
|
466
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
467
|
-
schema: import("@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?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
474
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
475
|
-
readonly labels?: {
|
|
476
|
-
[x: string]: string | undefined;
|
|
477
|
-
} | undefined;
|
|
478
|
-
readonly name?: import("@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?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
504
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
505
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
506
|
-
addToResolvers?: boolean;
|
|
507
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
508
|
-
allowNameResolution?: boolean;
|
|
509
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
510
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
511
|
-
readonly archiving?: {
|
|
512
|
-
readonly archivists?: string[] | undefined;
|
|
513
|
-
readonly queries?: string[] | undefined;
|
|
514
|
-
} | undefined;
|
|
515
|
-
readonly allowedQueries?: string[] | undefined;
|
|
516
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
517
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
518
|
-
readonly labels?: {
|
|
519
|
-
[x: string]: string | undefined;
|
|
520
|
-
} | undefined;
|
|
521
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
522
|
-
readonly paging?: {
|
|
523
|
-
[x: string]: {
|
|
524
|
-
size?: number | undefined;
|
|
525
|
-
};
|
|
526
|
-
} | undefined;
|
|
527
|
-
readonly retry?: {
|
|
528
|
-
backoff?: number | undefined;
|
|
529
|
-
interval?: number | undefined;
|
|
530
|
-
retries?: number | undefined;
|
|
531
|
-
} | undefined;
|
|
532
|
-
readonly security?: {
|
|
533
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
534
|
-
readonly allowed?: {
|
|
535
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
536
|
-
} | undefined;
|
|
537
|
-
readonly disallowed?: {
|
|
538
|
-
[x: string]: Lowercase<string>[];
|
|
539
|
-
} | undefined;
|
|
540
|
-
} | undefined;
|
|
541
|
-
readonly sign?: boolean | undefined;
|
|
542
|
-
readonly storeQueries?: boolean | undefined;
|
|
543
|
-
readonly timestamp?: boolean | undefined;
|
|
544
|
-
}>;
|
|
545
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
546
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
547
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
|
|
548
|
-
resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
549
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
550
|
-
addToResolvers?: boolean;
|
|
551
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
552
|
-
allowNameResolution?: boolean;
|
|
553
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
554
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
555
|
-
readonly archiving?: {
|
|
556
|
-
readonly archivists?: string[] | undefined;
|
|
557
|
-
readonly queries?: string[] | undefined;
|
|
558
|
-
} | undefined;
|
|
559
|
-
readonly allowedQueries?: string[] | undefined;
|
|
560
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
561
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
562
|
-
readonly labels?: {
|
|
563
|
-
[x: string]: string | undefined;
|
|
564
|
-
} | undefined;
|
|
565
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
566
|
-
readonly paging?: {
|
|
567
|
-
[x: string]: {
|
|
568
|
-
size?: number | undefined;
|
|
569
|
-
};
|
|
570
|
-
} | undefined;
|
|
571
|
-
readonly retry?: {
|
|
572
|
-
backoff?: number | undefined;
|
|
573
|
-
interval?: number | undefined;
|
|
574
|
-
retries?: number | undefined;
|
|
575
|
-
} | undefined;
|
|
576
|
-
readonly security?: {
|
|
577
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
578
|
-
readonly allowed?: {
|
|
579
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
580
|
-
} | undefined;
|
|
581
|
-
readonly disallowed?: {
|
|
582
|
-
[x: string]: Lowercase<string>[];
|
|
583
|
-
} | undefined;
|
|
584
|
-
} | undefined;
|
|
585
|
-
readonly sign?: boolean | undefined;
|
|
586
|
-
readonly storeQueries?: boolean | undefined;
|
|
587
|
-
readonly timestamp?: boolean | undefined;
|
|
588
|
-
}>;
|
|
589
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
590
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
591
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
592
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
593
|
-
addToResolvers?: boolean;
|
|
594
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
595
|
-
allowNameResolution?: boolean;
|
|
596
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
597
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
598
|
-
readonly archiving?: {
|
|
599
|
-
readonly archivists?: string[] | undefined;
|
|
600
|
-
readonly queries?: string[] | undefined;
|
|
601
|
-
} | undefined;
|
|
602
|
-
readonly allowedQueries?: string[] | undefined;
|
|
603
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
604
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
605
|
-
readonly labels?: {
|
|
606
|
-
[x: string]: string | undefined;
|
|
607
|
-
} | undefined;
|
|
608
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
609
|
-
readonly paging?: {
|
|
610
|
-
[x: string]: {
|
|
611
|
-
size?: number | undefined;
|
|
612
|
-
};
|
|
613
|
-
} | undefined;
|
|
614
|
-
readonly retry?: {
|
|
615
|
-
backoff?: number | undefined;
|
|
616
|
-
interval?: number | undefined;
|
|
617
|
-
retries?: number | undefined;
|
|
618
|
-
} | undefined;
|
|
619
|
-
readonly security?: {
|
|
620
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
621
|
-
readonly allowed?: {
|
|
622
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
623
|
-
} | undefined;
|
|
624
|
-
readonly disallowed?: {
|
|
625
|
-
[x: string]: Lowercase<string>[];
|
|
626
|
-
} | undefined;
|
|
627
|
-
} | undefined;
|
|
628
|
-
readonly sign?: boolean | undefined;
|
|
629
|
-
readonly storeQueries?: boolean | undefined;
|
|
630
|
-
readonly timestamp?: boolean | undefined;
|
|
631
|
-
}>;
|
|
632
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
633
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
634
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(id: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T | undefined>;
|
|
635
|
-
resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
636
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
637
|
-
addToResolvers?: boolean;
|
|
638
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
639
|
-
allowNameResolution?: boolean;
|
|
640
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
641
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
642
|
-
readonly archiving?: {
|
|
643
|
-
readonly archivists?: string[] | undefined;
|
|
644
|
-
readonly queries?: string[] | undefined;
|
|
645
|
-
} | undefined;
|
|
646
|
-
readonly allowedQueries?: string[] | undefined;
|
|
647
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
648
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
649
|
-
readonly labels?: {
|
|
650
|
-
[x: string]: string | undefined;
|
|
651
|
-
} | undefined;
|
|
652
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
653
|
-
readonly paging?: {
|
|
654
|
-
[x: string]: {
|
|
655
|
-
size?: number | undefined;
|
|
656
|
-
};
|
|
657
|
-
} | undefined;
|
|
658
|
-
readonly retry?: {
|
|
659
|
-
backoff?: number | undefined;
|
|
660
|
-
interval?: number | undefined;
|
|
661
|
-
retries?: number | undefined;
|
|
662
|
-
} | undefined;
|
|
663
|
-
readonly security?: {
|
|
664
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
665
|
-
readonly allowed?: {
|
|
666
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
667
|
-
} | undefined;
|
|
668
|
-
readonly disallowed?: {
|
|
669
|
-
[x: string]: Lowercase<string>[];
|
|
670
|
-
} | undefined;
|
|
671
|
-
} | undefined;
|
|
672
|
-
readonly sign?: boolean | undefined;
|
|
673
|
-
readonly storeQueries?: boolean | undefined;
|
|
674
|
-
readonly timestamp?: boolean | undefined;
|
|
675
|
-
}>;
|
|
676
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
677
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
678
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
679
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
680
|
-
addToResolvers?: boolean;
|
|
681
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
682
|
-
allowNameResolution?: boolean;
|
|
683
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
684
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
685
|
-
readonly archiving?: {
|
|
686
|
-
readonly archivists?: string[] | undefined;
|
|
687
|
-
readonly queries?: string[] | undefined;
|
|
688
|
-
} | undefined;
|
|
689
|
-
readonly allowedQueries?: string[] | undefined;
|
|
690
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
691
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
692
|
-
readonly labels?: {
|
|
693
|
-
[x: string]: string | undefined;
|
|
694
|
-
} | undefined;
|
|
695
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
696
|
-
readonly paging?: {
|
|
697
|
-
[x: string]: {
|
|
698
|
-
size?: number | undefined;
|
|
699
|
-
};
|
|
700
|
-
} | undefined;
|
|
701
|
-
readonly retry?: {
|
|
702
|
-
backoff?: number | undefined;
|
|
703
|
-
interval?: number | undefined;
|
|
704
|
-
retries?: number | undefined;
|
|
705
|
-
} | undefined;
|
|
706
|
-
readonly security?: {
|
|
707
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
708
|
-
readonly allowed?: {
|
|
709
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
710
|
-
} | undefined;
|
|
711
|
-
readonly disallowed?: {
|
|
712
|
-
[x: string]: Lowercase<string>[];
|
|
713
|
-
} | undefined;
|
|
714
|
-
} | undefined;
|
|
715
|
-
readonly sign?: boolean | undefined;
|
|
716
|
-
readonly storeQueries?: boolean | undefined;
|
|
717
|
-
readonly timestamp?: boolean | undefined;
|
|
718
|
-
}>;
|
|
719
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
720
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
721
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(id?: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T | T[] | undefined>;
|
|
722
|
-
resolvePrivate<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
723
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
724
|
-
addToResolvers?: boolean;
|
|
725
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
726
|
-
allowNameResolution?: boolean;
|
|
727
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
728
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
729
|
-
readonly archiving?: {
|
|
730
|
-
readonly archivists?: string[] | undefined;
|
|
731
|
-
readonly queries?: string[] | undefined;
|
|
732
|
-
} | undefined;
|
|
733
|
-
readonly allowedQueries?: string[] | undefined;
|
|
734
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
735
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
736
|
-
readonly labels?: {
|
|
737
|
-
[x: string]: string | undefined;
|
|
738
|
-
} | undefined;
|
|
739
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
740
|
-
readonly paging?: {
|
|
741
|
-
[x: string]: {
|
|
742
|
-
size?: number | undefined;
|
|
743
|
-
};
|
|
744
|
-
} | undefined;
|
|
745
|
-
readonly retry?: {
|
|
746
|
-
backoff?: number | undefined;
|
|
747
|
-
interval?: number | undefined;
|
|
748
|
-
retries?: number | undefined;
|
|
749
|
-
} | undefined;
|
|
750
|
-
readonly security?: {
|
|
751
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
752
|
-
readonly allowed?: {
|
|
753
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
754
|
-
} | undefined;
|
|
755
|
-
readonly disallowed?: {
|
|
756
|
-
[x: string]: Lowercase<string>[];
|
|
757
|
-
} | undefined;
|
|
758
|
-
} | undefined;
|
|
759
|
-
readonly sign?: boolean | undefined;
|
|
760
|
-
readonly storeQueries?: boolean | undefined;
|
|
761
|
-
readonly timestamp?: boolean | undefined;
|
|
762
|
-
}>;
|
|
763
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
764
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
765
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
766
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
767
|
-
addToResolvers?: boolean;
|
|
768
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
769
|
-
allowNameResolution?: boolean;
|
|
770
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
771
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
772
|
-
readonly archiving?: {
|
|
773
|
-
readonly archivists?: string[] | undefined;
|
|
774
|
-
readonly queries?: string[] | undefined;
|
|
775
|
-
} | undefined;
|
|
776
|
-
readonly allowedQueries?: string[] | undefined;
|
|
777
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
778
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
779
|
-
readonly labels?: {
|
|
780
|
-
[x: string]: string | undefined;
|
|
781
|
-
} | undefined;
|
|
782
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
783
|
-
readonly paging?: {
|
|
784
|
-
[x: string]: {
|
|
785
|
-
size?: number | undefined;
|
|
786
|
-
};
|
|
787
|
-
} | undefined;
|
|
788
|
-
readonly retry?: {
|
|
789
|
-
backoff?: number | undefined;
|
|
790
|
-
interval?: number | undefined;
|
|
791
|
-
retries?: number | undefined;
|
|
792
|
-
} | undefined;
|
|
793
|
-
readonly security?: {
|
|
794
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
795
|
-
readonly allowed?: {
|
|
796
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
797
|
-
} | undefined;
|
|
798
|
-
readonly disallowed?: {
|
|
799
|
-
[x: string]: Lowercase<string>[];
|
|
800
|
-
} | undefined;
|
|
801
|
-
} | undefined;
|
|
802
|
-
readonly sign?: boolean | undefined;
|
|
803
|
-
readonly storeQueries?: boolean | undefined;
|
|
804
|
-
readonly timestamp?: boolean | undefined;
|
|
805
|
-
}>;
|
|
806
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
807
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
808
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T[]>;
|
|
809
|
-
resolvePrivate<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
810
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
811
|
-
addToResolvers?: boolean;
|
|
812
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
813
|
-
allowNameResolution?: boolean;
|
|
814
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
815
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
816
|
-
readonly archiving?: {
|
|
817
|
-
readonly archivists?: string[] | undefined;
|
|
818
|
-
readonly queries?: string[] | undefined;
|
|
819
|
-
} | undefined;
|
|
820
|
-
readonly allowedQueries?: string[] | undefined;
|
|
821
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
822
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
823
|
-
readonly labels?: {
|
|
824
|
-
[x: string]: string | undefined;
|
|
825
|
-
} | undefined;
|
|
826
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
827
|
-
readonly paging?: {
|
|
828
|
-
[x: string]: {
|
|
829
|
-
size?: number | undefined;
|
|
830
|
-
};
|
|
831
|
-
} | undefined;
|
|
832
|
-
readonly retry?: {
|
|
833
|
-
backoff?: number | undefined;
|
|
834
|
-
interval?: number | undefined;
|
|
835
|
-
retries?: number | undefined;
|
|
836
|
-
} | undefined;
|
|
837
|
-
readonly security?: {
|
|
838
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
839
|
-
readonly allowed?: {
|
|
840
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
841
|
-
} | undefined;
|
|
842
|
-
readonly disallowed?: {
|
|
843
|
-
[x: string]: Lowercase<string>[];
|
|
844
|
-
} | undefined;
|
|
845
|
-
} | undefined;
|
|
846
|
-
readonly sign?: boolean | undefined;
|
|
847
|
-
readonly storeQueries?: boolean | undefined;
|
|
848
|
-
readonly timestamp?: boolean | undefined;
|
|
849
|
-
}>;
|
|
850
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
851
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
852
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
853
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
854
|
-
addToResolvers?: boolean;
|
|
855
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
856
|
-
allowNameResolution?: boolean;
|
|
857
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
858
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
859
|
-
readonly archiving?: {
|
|
860
|
-
readonly archivists?: string[] | undefined;
|
|
861
|
-
readonly queries?: string[] | undefined;
|
|
862
|
-
} | undefined;
|
|
863
|
-
readonly allowedQueries?: string[] | undefined;
|
|
864
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
865
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
866
|
-
readonly labels?: {
|
|
867
|
-
[x: string]: string | undefined;
|
|
868
|
-
} | undefined;
|
|
869
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
870
|
-
readonly paging?: {
|
|
871
|
-
[x: string]: {
|
|
872
|
-
size?: number | undefined;
|
|
873
|
-
};
|
|
874
|
-
} | undefined;
|
|
875
|
-
readonly retry?: {
|
|
876
|
-
backoff?: number | undefined;
|
|
877
|
-
interval?: number | undefined;
|
|
878
|
-
retries?: number | undefined;
|
|
879
|
-
} | undefined;
|
|
880
|
-
readonly security?: {
|
|
881
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
882
|
-
readonly allowed?: {
|
|
883
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
884
|
-
} | undefined;
|
|
885
|
-
readonly disallowed?: {
|
|
886
|
-
[x: string]: Lowercase<string>[];
|
|
887
|
-
} | undefined;
|
|
888
|
-
} | undefined;
|
|
889
|
-
readonly sign?: boolean | undefined;
|
|
890
|
-
readonly storeQueries?: boolean | undefined;
|
|
891
|
-
readonly timestamp?: boolean | undefined;
|
|
892
|
-
}>;
|
|
893
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
894
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
895
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(id: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T | undefined>;
|
|
896
|
-
resolvePrivate<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
897
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
898
|
-
addToResolvers?: boolean;
|
|
899
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
900
|
-
allowNameResolution?: boolean;
|
|
901
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
902
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
903
|
-
readonly archiving?: {
|
|
904
|
-
readonly archivists?: string[] | undefined;
|
|
905
|
-
readonly queries?: string[] | undefined;
|
|
906
|
-
} | undefined;
|
|
907
|
-
readonly allowedQueries?: string[] | undefined;
|
|
908
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
909
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
910
|
-
readonly labels?: {
|
|
911
|
-
[x: string]: string | undefined;
|
|
912
|
-
} | undefined;
|
|
913
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
914
|
-
readonly paging?: {
|
|
915
|
-
[x: string]: {
|
|
916
|
-
size?: number | undefined;
|
|
917
|
-
};
|
|
918
|
-
} | undefined;
|
|
919
|
-
readonly retry?: {
|
|
920
|
-
backoff?: number | undefined;
|
|
921
|
-
interval?: number | undefined;
|
|
922
|
-
retries?: number | undefined;
|
|
923
|
-
} | undefined;
|
|
924
|
-
readonly security?: {
|
|
925
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
926
|
-
readonly allowed?: {
|
|
927
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
928
|
-
} | undefined;
|
|
929
|
-
readonly disallowed?: {
|
|
930
|
-
[x: string]: Lowercase<string>[];
|
|
931
|
-
} | undefined;
|
|
932
|
-
} | undefined;
|
|
933
|
-
readonly sign?: boolean | undefined;
|
|
934
|
-
readonly storeQueries?: boolean | undefined;
|
|
935
|
-
readonly timestamp?: boolean | undefined;
|
|
936
|
-
}>;
|
|
937
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
938
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
939
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
940
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
941
|
-
addToResolvers?: boolean;
|
|
942
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
943
|
-
allowNameResolution?: boolean;
|
|
944
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
945
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
946
|
-
readonly archiving?: {
|
|
947
|
-
readonly archivists?: string[] | undefined;
|
|
948
|
-
readonly queries?: string[] | undefined;
|
|
949
|
-
} | undefined;
|
|
950
|
-
readonly allowedQueries?: string[] | undefined;
|
|
951
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
952
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
953
|
-
readonly labels?: {
|
|
954
|
-
[x: string]: string | undefined;
|
|
955
|
-
} | undefined;
|
|
956
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
957
|
-
readonly paging?: {
|
|
958
|
-
[x: string]: {
|
|
959
|
-
size?: number | undefined;
|
|
960
|
-
};
|
|
961
|
-
} | undefined;
|
|
962
|
-
readonly retry?: {
|
|
963
|
-
backoff?: number | undefined;
|
|
964
|
-
interval?: number | undefined;
|
|
965
|
-
retries?: number | undefined;
|
|
966
|
-
} | undefined;
|
|
967
|
-
readonly security?: {
|
|
968
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
969
|
-
readonly allowed?: {
|
|
970
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
971
|
-
} | undefined;
|
|
972
|
-
readonly disallowed?: {
|
|
973
|
-
[x: string]: Lowercase<string>[];
|
|
974
|
-
} | undefined;
|
|
975
|
-
} | undefined;
|
|
976
|
-
readonly sign?: boolean | undefined;
|
|
977
|
-
readonly storeQueries?: boolean | undefined;
|
|
978
|
-
readonly timestamp?: boolean | undefined;
|
|
979
|
-
}>;
|
|
980
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
981
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
982
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>(id: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T | T[] | undefined>;
|
|
983
|
-
manifest: (maxDepth?: number, ignoreAddresses?: import("@xylabs/hex").Address[]) => import("@xylabs/promise").Promisable<import("@xyo-network/manifest-model").ModuleManifestPayload>;
|
|
984
|
-
manifestQuery: (account: import("@xyo-network/account-model").AccountInstance, maxDepth?: number, ignoreAddresses?: import("@xylabs/hex").Address[]) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<import("@xyo-network/manifest-model").ModuleManifestPayload>>;
|
|
985
|
-
moduleAddress: () => import("@xylabs/promise").Promisable<(import("@xyo-network/module-model").AddressPreviousHashPayload | import("@xyo-network/module-model").AddressPayload)[]>;
|
|
986
|
-
state: () => import("@xylabs/promise").Promisable<import("@xyo-network/payload-model").Payload[]>;
|
|
987
|
-
stateQuery: (account: import("@xyo-network/account-model").AccountInstance) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
988
|
-
account?: import("@xyo-network/account-model").AccountInstance | undefined;
|
|
989
|
-
addParent: (mod: ModuleInstance) => void;
|
|
990
|
-
addressCache?: (direction: import("@xyo-network/module-model").Direction, includePrivate: boolean) => import("@xyo-network/module-model").AddressToWeakInstanceCache | undefined;
|
|
991
|
-
parents: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
|
|
992
|
-
privateChildren: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
|
|
993
|
-
publicChildren: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
|
|
994
|
-
removeParent: (address: import("@xylabs/hex").Address) => void;
|
|
995
|
-
siblings: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
|
|
996
|
-
}) & TModule;
|
|
997
|
-
//# sourceMappingURL=DivinerMixin.d.ts.map
|