@xyo-network/diviner-stateful 3.5.2 → 3.6.0-rc.10
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 +139 -39
- package/dist/neutral/Diviner.d.ts.map +1 -1
- package/dist/neutral/DivinerMixin.d.ts +917 -162
- 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 +28 -26
- package/src/Diviner.ts +10 -8
- package/src/DivinerMixin.ts +8 -7
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { AnyConfigSchema, ModuleInstance, ModuleParams,
|
|
2
|
-
import type { WithMeta } from '@xyo-network/payload-model';
|
|
1
|
+
import type { AnyConfigSchema, ModuleInstance, ModuleParams, StateDictionary } from '@xyo-network/module-model';
|
|
3
2
|
import type { StatefulDivinerConfig } from './Config.ts';
|
|
4
3
|
export type StatefulModuleParams = ModuleParams<AnyConfigSchema<StatefulDivinerConfig>>;
|
|
5
4
|
export type AnyModule<TParams extends StatefulModuleParams = StatefulModuleParams> = new (...args: any[]) => ModuleInstance<TParams>;
|
|
@@ -13,24 +12,54 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
13
12
|
addToResolvers?: boolean;
|
|
14
13
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
15
14
|
allowNameResolution?: boolean;
|
|
16
|
-
config: import("@
|
|
17
|
-
schema: "network.
|
|
18
|
-
|
|
19
|
-
|
|
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;
|
|
20
50
|
stateStore: {
|
|
21
51
|
archivist: import("@xyo-network/module-model").ModuleIdentifier;
|
|
22
52
|
boundWitnessDiviner: import("@xyo-network/module-model").ModuleIdentifier;
|
|
23
53
|
payloadDiviner: import("@xyo-network/module-model").ModuleIdentifier;
|
|
24
54
|
};
|
|
25
|
-
}
|
|
26
|
-
schema: "network.xyo.diviner.stateful.config";
|
|
27
|
-
}, "schema"> & {
|
|
28
|
-
schema: string;
|
|
29
|
-
};
|
|
55
|
+
}>;
|
|
30
56
|
ephemeralQueryAccountEnabled?: boolean;
|
|
31
57
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
32
58
|
}, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
|
|
33
|
-
_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;
|
|
34
63
|
/**
|
|
35
64
|
* Commit the internal state of the Diviner process. This is similar
|
|
36
65
|
* to a transaction completion in a database and should only be called
|
|
@@ -38,7 +67,10 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
38
67
|
* external stores.
|
|
39
68
|
* @param nextState The state to commit
|
|
40
69
|
*/
|
|
41
|
-
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>;
|
|
42
74
|
/**
|
|
43
75
|
* Retrieves the archivist for the specified store
|
|
44
76
|
* @param store The store to retrieve the archivist for
|
|
@@ -49,22 +81,64 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
49
81
|
addToResolvers?: boolean;
|
|
50
82
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
51
83
|
allowNameResolution?: boolean;
|
|
52
|
-
config: import("@
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
+
}>;
|
|
63
137
|
ephemeralQueryAccountEnabled?: boolean;
|
|
64
138
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
65
|
-
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
|
|
66
|
-
schema:
|
|
67
|
-
}
|
|
139
|
+
}, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
140
|
+
schema: import("@xyo-network/payload-model").Schema;
|
|
141
|
+
}>>>;
|
|
68
142
|
/**
|
|
69
143
|
* Retrieves the BoundWitness Diviner for the specified store
|
|
70
144
|
* @param store The store to retrieve the BoundWitness Diviner for
|
|
@@ -75,36 +149,96 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
75
149
|
addToResolvers?: boolean;
|
|
76
150
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
77
151
|
allowNameResolution?: boolean;
|
|
78
|
-
config: import("@
|
|
79
|
-
schema: "network.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
+
}>;
|
|
85
188
|
ephemeralQueryAccountEnabled?: boolean;
|
|
86
189
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
87
|
-
}, {
|
|
88
|
-
schema:
|
|
89
|
-
}
|
|
90
|
-
schema:
|
|
91
|
-
}
|
|
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 & {
|
|
92
195
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
93
196
|
addToResolvers?: boolean;
|
|
94
197
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
95
198
|
allowNameResolution?: boolean;
|
|
96
|
-
config: import("@
|
|
97
|
-
schema: "network.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
+
}>;
|
|
101
235
|
ephemeralQueryAccountEnabled?: boolean;
|
|
102
236
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
103
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>, {
|
|
104
|
-
schema:
|
|
105
|
-
}
|
|
106
|
-
schema:
|
|
107
|
-
}
|
|
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
|
+
}>>>>;
|
|
108
242
|
/**
|
|
109
243
|
* Retrieves the Payload Diviner for the specified store
|
|
110
244
|
* @param store The store to retrieve the Payload Diviner for
|
|
@@ -115,41 +249,104 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
115
249
|
addToResolvers?: boolean;
|
|
116
250
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
117
251
|
allowNameResolution?: boolean;
|
|
118
|
-
config: import("@
|
|
119
|
-
schema: "network.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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
|
+
}>;
|
|
125
288
|
ephemeralQueryAccountEnabled?: boolean;
|
|
126
289
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
127
|
-
}, {
|
|
128
|
-
schema:
|
|
129
|
-
}
|
|
130
|
-
schema:
|
|
131
|
-
}
|
|
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 & {
|
|
132
295
|
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
133
296
|
addToResolvers?: boolean;
|
|
134
297
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
135
298
|
allowNameResolution?: boolean;
|
|
136
|
-
config: import("@
|
|
137
|
-
schema: "network.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
+
}>;
|
|
141
335
|
ephemeralQueryAccountEnabled?: boolean;
|
|
142
336
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
143
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>, {
|
|
144
|
-
schema:
|
|
145
|
-
}
|
|
146
|
-
schema:
|
|
147
|
-
}
|
|
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
|
+
}>>>>;
|
|
148
342
|
/**
|
|
149
343
|
* Retrieves the last state of the Diviner process. Used to recover state after
|
|
150
344
|
* preemptions, reboots, etc.
|
|
151
345
|
*/
|
|
152
|
-
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>;
|
|
153
350
|
readonly pipeline?: import("@xyo-network/module-model").ModulePipeLine;
|
|
154
351
|
readonly status: import("@xyo-network/module-model").ModuleStatus;
|
|
155
352
|
address: import("@xylabs/hex").Address;
|
|
@@ -179,11 +376,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
179
376
|
addToResolvers?: boolean;
|
|
180
377
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
181
378
|
allowNameResolution?: boolean;
|
|
182
|
-
config: import("@
|
|
183
|
-
schema: "network.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
+
}>;
|
|
187
415
|
ephemeralQueryAccountEnabled?: boolean;
|
|
188
416
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
189
417
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -191,11 +419,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
191
419
|
addToResolvers?: boolean;
|
|
192
420
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
193
421
|
allowNameResolution?: boolean;
|
|
194
|
-
config: import("@
|
|
195
|
-
schema: "network.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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
|
+
}>;
|
|
199
458
|
ephemeralQueryAccountEnabled?: boolean;
|
|
200
459
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
201
460
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(): import("@xylabs/promise").Promisable<T | undefined>;
|
|
@@ -204,11 +463,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
204
463
|
addToResolvers?: boolean;
|
|
205
464
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
206
465
|
allowNameResolution?: boolean;
|
|
207
|
-
config: import("@
|
|
208
|
-
schema: "network.
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
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
|
+
}>;
|
|
212
502
|
ephemeralQueryAccountEnabled?: boolean;
|
|
213
503
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
214
504
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -216,11 +506,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
216
506
|
addToResolvers?: boolean;
|
|
217
507
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
218
508
|
allowNameResolution?: boolean;
|
|
219
|
-
config: import("@
|
|
220
|
-
schema: "network.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
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
|
+
}>;
|
|
224
545
|
ephemeralQueryAccountEnabled?: boolean;
|
|
225
546
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
226
547
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
|
|
@@ -229,11 +550,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
229
550
|
addToResolvers?: boolean;
|
|
230
551
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
231
552
|
allowNameResolution?: boolean;
|
|
232
|
-
config: import("@
|
|
233
|
-
schema: "network.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
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
|
+
}>;
|
|
237
589
|
ephemeralQueryAccountEnabled?: boolean;
|
|
238
590
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
239
591
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -241,11 +593,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
241
593
|
addToResolvers?: boolean;
|
|
242
594
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
243
595
|
allowNameResolution?: boolean;
|
|
244
|
-
config: import("@
|
|
245
|
-
schema: "network.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
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
|
+
}>;
|
|
249
632
|
ephemeralQueryAccountEnabled?: boolean;
|
|
250
633
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
251
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>;
|
|
@@ -254,11 +637,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
254
637
|
addToResolvers?: boolean;
|
|
255
638
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
256
639
|
allowNameResolution?: boolean;
|
|
257
|
-
config: import("@
|
|
258
|
-
schema: "network.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
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
|
+
}>;
|
|
262
676
|
ephemeralQueryAccountEnabled?: boolean;
|
|
263
677
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
264
678
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -266,11 +680,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
266
680
|
addToResolvers?: boolean;
|
|
267
681
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
268
682
|
allowNameResolution?: boolean;
|
|
269
|
-
config: import("@
|
|
270
|
-
schema: "network.
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
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
|
+
}>;
|
|
274
719
|
ephemeralQueryAccountEnabled?: boolean;
|
|
275
720
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
276
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[]>;
|
|
@@ -279,11 +724,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
279
724
|
addToResolvers?: boolean;
|
|
280
725
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
281
726
|
allowNameResolution?: boolean;
|
|
282
|
-
config: import("@
|
|
283
|
-
schema: "network.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
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
|
+
}>;
|
|
287
763
|
ephemeralQueryAccountEnabled?: boolean;
|
|
288
764
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
289
765
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -291,11 +767,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
291
767
|
addToResolvers?: boolean;
|
|
292
768
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
293
769
|
allowNameResolution?: boolean;
|
|
294
|
-
config: import("@
|
|
295
|
-
schema: "network.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
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
|
+
}>;
|
|
299
806
|
ephemeralQueryAccountEnabled?: boolean;
|
|
300
807
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
301
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[]>;
|
|
@@ -304,11 +811,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
304
811
|
addToResolvers?: boolean;
|
|
305
812
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
306
813
|
allowNameResolution?: boolean;
|
|
307
|
-
config: import("@
|
|
308
|
-
schema: "network.
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
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
|
+
}>;
|
|
312
850
|
ephemeralQueryAccountEnabled?: boolean;
|
|
313
851
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
314
852
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -316,11 +854,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
316
854
|
addToResolvers?: boolean;
|
|
317
855
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
318
856
|
allowNameResolution?: boolean;
|
|
319
|
-
config: import("@
|
|
320
|
-
schema: "network.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
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
|
+
}>;
|
|
324
893
|
ephemeralQueryAccountEnabled?: boolean;
|
|
325
894
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
326
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>;
|
|
@@ -329,11 +898,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
329
898
|
addToResolvers?: boolean;
|
|
330
899
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
331
900
|
allowNameResolution?: boolean;
|
|
332
|
-
config: import("@
|
|
333
|
-
schema: "network.
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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
|
+
}>;
|
|
337
937
|
ephemeralQueryAccountEnabled?: boolean;
|
|
338
938
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
339
939
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -341,11 +941,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
341
941
|
addToResolvers?: boolean;
|
|
342
942
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
343
943
|
allowNameResolution?: boolean;
|
|
344
|
-
config: import("@
|
|
345
|
-
schema: "network.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
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
|
+
}>;
|
|
349
980
|
ephemeralQueryAccountEnabled?: boolean;
|
|
350
981
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
351
982
|
}, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T[]>;
|
|
@@ -354,11 +985,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
354
985
|
addToResolvers?: boolean;
|
|
355
986
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
356
987
|
allowNameResolution?: boolean;
|
|
357
|
-
config: import("@
|
|
358
|
-
schema: "network.
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
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
|
+
}>;
|
|
362
1024
|
ephemeralQueryAccountEnabled?: boolean;
|
|
363
1025
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
364
1026
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -366,11 +1028,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
366
1028
|
addToResolvers?: boolean;
|
|
367
1029
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
368
1030
|
allowNameResolution?: boolean;
|
|
369
|
-
config: import("@
|
|
370
|
-
schema: "network.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
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
|
+
}>;
|
|
374
1067
|
ephemeralQueryAccountEnabled?: boolean;
|
|
375
1068
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
376
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>;
|
|
@@ -379,11 +1072,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
379
1072
|
addToResolvers?: boolean;
|
|
380
1073
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
381
1074
|
allowNameResolution?: boolean;
|
|
382
|
-
config: import("@
|
|
383
|
-
schema: "network.
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
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
|
+
}>;
|
|
387
1111
|
ephemeralQueryAccountEnabled?: boolean;
|
|
388
1112
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
389
1113
|
}, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
|
|
@@ -391,11 +1115,42 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
|
|
|
391
1115
|
addToResolvers?: boolean;
|
|
392
1116
|
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
393
1117
|
allowNameResolution?: boolean;
|
|
394
|
-
config: import("@
|
|
395
|
-
schema: "network.
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
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
|
+
}>;
|
|
399
1154
|
ephemeralQueryAccountEnabled?: boolean;
|
|
400
1155
|
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
401
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>;
|