@xyo-network/diviner-stateful 3.6.0-rc.1 → 3.6.0-rc.11
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/Diviner.d.ts +136 -36
- package/dist/neutral/Diviner.d.ts.map +1 -1
- package/dist/neutral/DivinerMixin.d.ts +917 -161
- package/dist/neutral/DivinerMixin.d.ts.map +1 -1
- package/dist/neutral/index.mjs +8 -4
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +25 -24
- package/src/Diviner.ts +8 -4
- package/src/DivinerMixin.ts +5 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyConfigSchema, ModuleInstance, ModuleParams,
|
|
1
|
+
import type { AnyConfigSchema, ModuleInstance, ModuleParams, StateDictionary } from '@xyo-network/module-model';
|
|
2
2
|
import type { StatefulDivinerConfig } from './Config.ts';
|
|
3
3
|
export type StatefulModuleParams = ModuleParams<AnyConfigSchema<StatefulDivinerConfig>>;
|
|
4
4
|
export type AnyModule<TParams extends StatefulModuleParams = StatefulModuleParams> = new (...args: any[]) => ModuleInstance<TParams>;
|
|
@@ -12,24 +12,54 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
12
12
|
addToResolvers?: boolean;
|
|
13
13
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
14
14
|
allowNameResolution?: boolean;
|
|
15
|
-
config: import("@
|
|
16
|
-
schema: "network.
|
|
17
|
-
|
|
18
|
-
|
|
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;
|
|
19
50
|
stateStore: {
|
|
20
51
|
archivist: import("@xyo-network/module-model").ModuleIdentifier;
|
|
21
52
|
boundWitnessDiviner: import("@xyo-network/module-model").ModuleIdentifier;
|
|
22
53
|
payloadDiviner: import("@xyo-network/module-model").ModuleIdentifier;
|
|
23
54
|
};
|
|
24
|
-
}
|
|
25
|
-
schema: "network.xyo.diviner.stateful.config";
|
|
26
|
-
}, "schema"> & {
|
|
27
|
-
schema: string;
|
|
28
|
-
};
|
|
55
|
+
}>;
|
|
29
56
|
ephemeralQueryAccountEnabled?: boolean;
|
|
30
57
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
31
58
|
}, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
|
|
32
|
-
_lastState?:
|
|
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;
|
|
33
63
|
/**
|
|
34
64
|
* Commit the internal state of the Diviner process. This is similar
|
|
35
65
|
* to a transaction completion in a database and should only be called
|
|
@@ -37,7 +67,10 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
37
67
|
* external stores.
|
|
38
68
|
* @param nextState The state to commit
|
|
39
69
|
*/
|
|
40
|
-
commitState(nextState:
|
|
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>;
|
|
41
74
|
/**
|
|
42
75
|
* Retrieves the archivist for the specified store
|
|
43
76
|
* @param store The store to retrieve the archivist for
|
|
@@ -48,22 +81,64 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
48
81
|
addToResolvers?: boolean;
|
|
49
82
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
50
83
|
allowNameResolution?: boolean;
|
|
51
|
-
config: import("@
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
84
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
85
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
86
|
+
parents?: {
|
|
87
|
+
commit?: Lowercase<string>[] | undefined;
|
|
88
|
+
read?: Lowercase<string>[] | undefined;
|
|
89
|
+
write?: Lowercase<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
|
+
}>;
|
|
62
137
|
ephemeralQueryAccountEnabled?: boolean;
|
|
63
138
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
64
|
-
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
|
|
65
|
-
schema:
|
|
66
|
-
}
|
|
139
|
+
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
140
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
141
|
+
}>>>;
|
|
67
142
|
/**
|
|
68
143
|
* Retrieves the BoundWitness Diviner for the specified store
|
|
69
144
|
* @param store The store to retrieve the BoundWitness Diviner for
|
|
@@ -74,36 +149,96 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
74
149
|
addToResolvers?: boolean;
|
|
75
150
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
76
151
|
allowNameResolution?: boolean;
|
|
77
|
-
config: import("@
|
|
78
|
-
schema: "network.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
+
}>;
|
|
84
188
|
ephemeralQueryAccountEnabled?: boolean;
|
|
85
189
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
86
|
-
}, {
|
|
87
|
-
schema:
|
|
88
|
-
}
|
|
89
|
-
schema:
|
|
90
|
-
}
|
|
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 & {
|
|
91
195
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
92
196
|
addToResolvers?: boolean;
|
|
93
197
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
94
198
|
allowNameResolution?: boolean;
|
|
95
|
-
config: import("@
|
|
96
|
-
schema: "network.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
+
}>;
|
|
100
235
|
ephemeralQueryAccountEnabled?: boolean;
|
|
101
236
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
102
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>, {
|
|
103
|
-
schema:
|
|
104
|
-
}
|
|
105
|
-
schema:
|
|
106
|
-
}
|
|
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
|
+
}>>>>;
|
|
107
242
|
/**
|
|
108
243
|
* Retrieves the Payload Diviner for the specified store
|
|
109
244
|
* @param store The store to retrieve the Payload Diviner for
|
|
@@ -114,41 +249,104 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
114
249
|
addToResolvers?: boolean;
|
|
115
250
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
116
251
|
allowNameResolution?: boolean;
|
|
117
|
-
config: import("@
|
|
118
|
-
schema: "network.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
+
}>;
|
|
124
288
|
ephemeralQueryAccountEnabled?: boolean;
|
|
125
289
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
126
|
-
}, {
|
|
127
|
-
schema:
|
|
128
|
-
}
|
|
129
|
-
schema:
|
|
130
|
-
}
|
|
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 & {
|
|
131
295
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
132
296
|
addToResolvers?: boolean;
|
|
133
297
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
134
298
|
allowNameResolution?: boolean;
|
|
135
|
-
config: import("@
|
|
136
|
-
schema: "network.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
+
}>;
|
|
140
335
|
ephemeralQueryAccountEnabled?: boolean;
|
|
141
336
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
142
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>, {
|
|
143
|
-
schema:
|
|
144
|
-
}
|
|
145
|
-
schema:
|
|
146
|
-
}
|
|
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
|
+
}>>>>;
|
|
147
342
|
/**
|
|
148
343
|
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
149
344
|
* preemptions, reboots, etc.
|
|
150
345
|
*/
|
|
151
|
-
retrieveState(): Promise<
|
|
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>;
|
|
152
350
|
readonly pipeline?: import("@xyo-network/module-model").ModulePipeLine;
|
|
153
351
|
readonly status: import("@xyo-network/module-model").ModuleStatus;
|
|
154
352
|
address: import("@xylabs/hex").Address;
|
|
@@ -178,11 +376,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
178
376
|
addToResolvers?: boolean;
|
|
179
377
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
180
378
|
allowNameResolution?: boolean;
|
|
181
|
-
config: import("@
|
|
182
|
-
schema: "network.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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
|
+
}>;
|
|
186
415
|
ephemeralQueryAccountEnabled?: boolean;
|
|
187
416
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
188
417
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -190,11 +419,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
190
419
|
addToResolvers?: boolean;
|
|
191
420
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
192
421
|
allowNameResolution?: boolean;
|
|
193
|
-
config: import("@
|
|
194
|
-
schema: "network.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
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
|
+
}>;
|
|
198
458
|
ephemeralQueryAccountEnabled?: boolean;
|
|
199
459
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
200
460
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(): import("@xylabs/promise").Promisable<T | undefined>;
|
|
@@ -203,11 +463,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
203
463
|
addToResolvers?: boolean;
|
|
204
464
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
205
465
|
allowNameResolution?: boolean;
|
|
206
|
-
config: import("@
|
|
207
|
-
schema: "network.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
+
}>;
|
|
211
502
|
ephemeralQueryAccountEnabled?: boolean;
|
|
212
503
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
213
504
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -215,11 +506,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
215
506
|
addToResolvers?: boolean;
|
|
216
507
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
217
508
|
allowNameResolution?: boolean;
|
|
218
|
-
config: import("@
|
|
219
|
-
schema: "network.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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
|
+
}>;
|
|
223
545
|
ephemeralQueryAccountEnabled?: boolean;
|
|
224
546
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
225
547
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
|
|
@@ -228,11 +550,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
228
550
|
addToResolvers?: boolean;
|
|
229
551
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
230
552
|
allowNameResolution?: boolean;
|
|
231
|
-
config: import("@
|
|
232
|
-
schema: "network.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
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
|
+
}>;
|
|
236
589
|
ephemeralQueryAccountEnabled?: boolean;
|
|
237
590
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
238
591
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -240,11 +593,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
240
593
|
addToResolvers?: boolean;
|
|
241
594
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
242
595
|
allowNameResolution?: boolean;
|
|
243
|
-
config: import("@
|
|
244
|
-
schema: "network.
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
+
}>;
|
|
248
632
|
ephemeralQueryAccountEnabled?: boolean;
|
|
249
633
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
250
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>;
|
|
@@ -253,11 +637,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
253
637
|
addToResolvers?: boolean;
|
|
254
638
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
255
639
|
allowNameResolution?: boolean;
|
|
256
|
-
config: import("@
|
|
257
|
-
schema: "network.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
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
|
+
}>;
|
|
261
676
|
ephemeralQueryAccountEnabled?: boolean;
|
|
262
677
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
263
678
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -265,11 +680,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
265
680
|
addToResolvers?: boolean;
|
|
266
681
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
267
682
|
allowNameResolution?: boolean;
|
|
268
|
-
config: import("@
|
|
269
|
-
schema: "network.
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
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
|
+
}>;
|
|
273
719
|
ephemeralQueryAccountEnabled?: boolean;
|
|
274
720
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
275
721
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(filter: import("@xyo-network/module-model").ObjectFilter<T>, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
|
|
@@ -278,11 +724,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
278
724
|
addToResolvers?: boolean;
|
|
279
725
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
280
726
|
allowNameResolution?: boolean;
|
|
281
|
-
config: import("@
|
|
282
|
-
schema: "network.
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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
|
+
}>;
|
|
286
763
|
ephemeralQueryAccountEnabled?: boolean;
|
|
287
764
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
288
765
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -290,11 +767,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
290
767
|
addToResolvers?: boolean;
|
|
291
768
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
292
769
|
allowNameResolution?: boolean;
|
|
293
|
-
config: import("@
|
|
294
|
-
schema: "network.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
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
|
+
}>;
|
|
298
806
|
ephemeralQueryAccountEnabled?: boolean;
|
|
299
807
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
300
808
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(filter?: import("@xyo-network/module-model").ObjectFilter<T> | undefined, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
|
|
@@ -303,11 +811,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
303
811
|
addToResolvers?: boolean;
|
|
304
812
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
305
813
|
allowNameResolution?: boolean;
|
|
306
|
-
config: import("@
|
|
307
|
-
schema: "network.
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
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
|
+
}>;
|
|
311
850
|
ephemeralQueryAccountEnabled?: boolean;
|
|
312
851
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
313
852
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -315,11 +854,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
315
854
|
addToResolvers?: boolean;
|
|
316
855
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
317
856
|
allowNameResolution?: boolean;
|
|
318
|
-
config: import("@
|
|
319
|
-
schema: "network.
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
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
|
+
}>;
|
|
323
893
|
ephemeralQueryAccountEnabled?: boolean;
|
|
324
894
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
325
895
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(idOrFilter?: string | import("@xyo-network/module-model").ObjectFilter<T> | undefined, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T | T[] | undefined>;
|
|
@@ -328,11 +898,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
328
898
|
addToResolvers?: boolean;
|
|
329
899
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
330
900
|
allowNameResolution?: boolean;
|
|
331
|
-
config: import("@
|
|
332
|
-
schema: "network.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
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
|
+
}>;
|
|
336
937
|
ephemeralQueryAccountEnabled?: boolean;
|
|
337
938
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
338
939
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -340,11 +941,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
340
941
|
addToResolvers?: boolean;
|
|
341
942
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
342
943
|
allowNameResolution?: boolean;
|
|
343
|
-
config: import("@
|
|
344
|
-
schema: "network.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
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
|
+
}>;
|
|
348
980
|
ephemeralQueryAccountEnabled?: boolean;
|
|
349
981
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
350
982
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T[]>;
|
|
@@ -353,11 +985,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
353
985
|
addToResolvers?: boolean;
|
|
354
986
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
355
987
|
allowNameResolution?: boolean;
|
|
356
|
-
config: import("@
|
|
357
|
-
schema: "network.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
988
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
989
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
990
|
+
readonly archiving?: {
|
|
991
|
+
readonly archivists?: string[] | undefined;
|
|
992
|
+
readonly queries?: string[] | undefined;
|
|
993
|
+
} | undefined;
|
|
994
|
+
readonly allowedQueries?: string[] | undefined;
|
|
995
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
996
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
997
|
+
readonly labels?: {
|
|
998
|
+
[x: string]: string | undefined;
|
|
999
|
+
} | undefined;
|
|
1000
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
1001
|
+
readonly paging?: {
|
|
1002
|
+
[x: string]: {
|
|
1003
|
+
size?: number | undefined;
|
|
1004
|
+
};
|
|
1005
|
+
} | undefined;
|
|
1006
|
+
readonly retry?: {
|
|
1007
|
+
backoff?: number | undefined;
|
|
1008
|
+
interval?: number | undefined;
|
|
1009
|
+
retries?: number | undefined;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
readonly security?: {
|
|
1012
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1013
|
+
readonly allowed?: {
|
|
1014
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
readonly disallowed?: {
|
|
1017
|
+
[x: string]: Lowercase<string>[];
|
|
1018
|
+
} | undefined;
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
readonly sign?: boolean | undefined;
|
|
1021
|
+
readonly storeQueries?: boolean | undefined;
|
|
1022
|
+
readonly timestamp?: boolean | undefined;
|
|
1023
|
+
}>;
|
|
361
1024
|
ephemeralQueryAccountEnabled?: boolean;
|
|
362
1025
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
363
1026
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -365,11 +1028,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
365
1028
|
addToResolvers?: boolean;
|
|
366
1029
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
367
1030
|
allowNameResolution?: boolean;
|
|
368
|
-
config: import("@
|
|
369
|
-
schema: "network.
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
1031
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
1032
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
1033
|
+
readonly archiving?: {
|
|
1034
|
+
readonly archivists?: string[] | undefined;
|
|
1035
|
+
readonly queries?: string[] | undefined;
|
|
1036
|
+
} | undefined;
|
|
1037
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1038
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
1039
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
1040
|
+
readonly labels?: {
|
|
1041
|
+
[x: string]: string | undefined;
|
|
1042
|
+
} | undefined;
|
|
1043
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
1044
|
+
readonly paging?: {
|
|
1045
|
+
[x: string]: {
|
|
1046
|
+
size?: number | undefined;
|
|
1047
|
+
};
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
readonly retry?: {
|
|
1050
|
+
backoff?: number | undefined;
|
|
1051
|
+
interval?: number | undefined;
|
|
1052
|
+
retries?: number | undefined;
|
|
1053
|
+
} | undefined;
|
|
1054
|
+
readonly security?: {
|
|
1055
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1056
|
+
readonly allowed?: {
|
|
1057
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1058
|
+
} | undefined;
|
|
1059
|
+
readonly disallowed?: {
|
|
1060
|
+
[x: string]: Lowercase<string>[];
|
|
1061
|
+
} | undefined;
|
|
1062
|
+
} | undefined;
|
|
1063
|
+
readonly sign?: boolean | undefined;
|
|
1064
|
+
readonly storeQueries?: boolean | undefined;
|
|
1065
|
+
readonly timestamp?: boolean | undefined;
|
|
1066
|
+
}>;
|
|
373
1067
|
ephemeralQueryAccountEnabled?: boolean;
|
|
374
1068
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
375
1069
|
}, 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>;
|
|
@@ -378,11 +1072,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
378
1072
|
addToResolvers?: boolean;
|
|
379
1073
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
380
1074
|
allowNameResolution?: boolean;
|
|
381
|
-
config: import("@
|
|
382
|
-
schema: "network.
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
1075
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
1076
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
1077
|
+
readonly archiving?: {
|
|
1078
|
+
readonly archivists?: string[] | undefined;
|
|
1079
|
+
readonly queries?: string[] | undefined;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1082
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
1083
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
1084
|
+
readonly labels?: {
|
|
1085
|
+
[x: string]: string | undefined;
|
|
1086
|
+
} | undefined;
|
|
1087
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
1088
|
+
readonly paging?: {
|
|
1089
|
+
[x: string]: {
|
|
1090
|
+
size?: number | undefined;
|
|
1091
|
+
};
|
|
1092
|
+
} | undefined;
|
|
1093
|
+
readonly retry?: {
|
|
1094
|
+
backoff?: number | undefined;
|
|
1095
|
+
interval?: number | undefined;
|
|
1096
|
+
retries?: number | undefined;
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
readonly security?: {
|
|
1099
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1100
|
+
readonly allowed?: {
|
|
1101
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1102
|
+
} | undefined;
|
|
1103
|
+
readonly disallowed?: {
|
|
1104
|
+
[x: string]: Lowercase<string>[];
|
|
1105
|
+
} | undefined;
|
|
1106
|
+
} | undefined;
|
|
1107
|
+
readonly sign?: boolean | undefined;
|
|
1108
|
+
readonly storeQueries?: boolean | undefined;
|
|
1109
|
+
readonly timestamp?: boolean | undefined;
|
|
1110
|
+
}>;
|
|
386
1111
|
ephemeralQueryAccountEnabled?: boolean;
|
|
387
1112
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
388
1113
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -390,11 +1115,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
390
1115
|
addToResolvers?: boolean;
|
|
391
1116
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
392
1117
|
allowNameResolution?: boolean;
|
|
393
|
-
config: import("@
|
|
394
|
-
schema: "network.
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
1118
|
+
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
1119
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
1120
|
+
readonly archiving?: {
|
|
1121
|
+
readonly archivists?: string[] | undefined;
|
|
1122
|
+
readonly queries?: string[] | undefined;
|
|
1123
|
+
} | undefined;
|
|
1124
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1125
|
+
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
1126
|
+
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
1127
|
+
readonly labels?: {
|
|
1128
|
+
[x: string]: string | undefined;
|
|
1129
|
+
} | undefined;
|
|
1130
|
+
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
1131
|
+
readonly paging?: {
|
|
1132
|
+
[x: string]: {
|
|
1133
|
+
size?: number | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
} | undefined;
|
|
1136
|
+
readonly retry?: {
|
|
1137
|
+
backoff?: number | undefined;
|
|
1138
|
+
interval?: number | undefined;
|
|
1139
|
+
retries?: number | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
|
+
readonly security?: {
|
|
1142
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1143
|
+
readonly allowed?: {
|
|
1144
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
readonly disallowed?: {
|
|
1147
|
+
[x: string]: Lowercase<string>[];
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
} | undefined;
|
|
1150
|
+
readonly sign?: boolean | undefined;
|
|
1151
|
+
readonly storeQueries?: boolean | undefined;
|
|
1152
|
+
readonly timestamp?: boolean | undefined;
|
|
1153
|
+
}>;
|
|
398
1154
|
ephemeralQueryAccountEnabled?: boolean;
|
|
399
1155
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
400
1156
|
}, 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>;
|