@xyo-network/diviner-stateful 3.6.0-rc.4 → 3.6.0-rc.6

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.
@@ -1,4 +1,4 @@
1
- import type { AnyConfigSchema, ModuleInstance, ModuleParams, ModuleState, StateDictionary } from '@xyo-network/module-model';
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,55 @@ 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("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
16
- schema: "network.xyo.diviner.stateful.config";
17
- } & {
18
- schema: import("./Config.ts").StatefulDivinerConfigSchema;
15
+ config: import("@xyo-network/payload-model").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 certify?: boolean | undefined;
24
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
25
+ readonly labels?: {
26
+ [x: string]: string | undefined;
27
+ } | undefined;
28
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
29
+ readonly paging?: {
30
+ [x: string]: {
31
+ size?: number | undefined;
32
+ };
33
+ } | undefined;
34
+ readonly retry?: {
35
+ backoff?: number | undefined;
36
+ interval?: number | undefined;
37
+ retries?: number | undefined;
38
+ } | undefined;
39
+ readonly security?: {
40
+ readonly allowAnonymous?: boolean | undefined;
41
+ readonly allowed?: {
42
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
43
+ } | undefined;
44
+ readonly disallowed?: {
45
+ [x: string]: Lowercase<string>[];
46
+ } | undefined;
47
+ } | undefined;
48
+ readonly sign?: boolean | undefined;
49
+ readonly storeQueries?: boolean | undefined;
50
+ readonly timestamp?: boolean | undefined;
19
51
  stateStore: {
20
52
  archivist: import("@xyo-network/module-model").ModuleIdentifier;
21
53
  boundWitnessDiviner: import("@xyo-network/module-model").ModuleIdentifier;
22
54
  payloadDiviner: import("@xyo-network/module-model").ModuleIdentifier;
23
55
  };
24
- }, "schema"> & {
25
- schema: "network.xyo.diviner.stateful.config";
26
- }, "schema"> & {
27
- schema: string;
28
- };
56
+ }>;
29
57
  ephemeralQueryAccountEnabled?: boolean;
30
58
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
31
59
  }, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
32
- _lastState?: ModuleState<TState>;
60
+ _lastState?: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
61
+ schema: "network.xyo.module.state";
62
+ state: import("@xyo-network/payload-model").DeepOmitStartsWith<import("@xyo-network/payload-model").DeepOmitStartsWith<TState, "_">, "$">;
63
+ }> | undefined;
33
64
  /**
34
65
  * Commit the internal state of the Diviner process. This is similar
35
66
  * to a transaction completion in a database and should only be called
@@ -37,7 +68,10 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
37
68
  * external stores.
38
69
  * @param nextState The state to commit
39
70
  */
40
- commitState(nextState: ModuleState<TState>): Promise<void>;
71
+ commitState(nextState: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
72
+ schema: "network.xyo.module.state";
73
+ state: import("@xyo-network/payload-model").DeepOmitStartsWith<import("@xyo-network/payload-model").DeepOmitStartsWith<TState, "_">, "$">;
74
+ }>): Promise<void>;
41
75
  /**
42
76
  * Retrieves the archivist for the specified store
43
77
  * @param store The store to retrieve the archivist for
@@ -48,22 +82,65 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
48
82
  addToResolvers?: boolean;
49
83
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
50
84
  allowNameResolution?: boolean;
51
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
52
- parents?: import("@xyo-network/archivist-model").ArchivistParents;
53
- requireAllParents?: boolean;
54
- schema: "network.xyo.archivist.config";
55
- storage?: import("@xyo-network/archivist-model").ArchivistStorage;
56
- storeParentReads?: boolean;
57
- }, "schema"> & {
58
- schema: "network.xyo.archivist.config";
59
- }, "schema"> & {
60
- schema: string;
61
- };
85
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
86
+ schema: import("@xyo-network/payload-model").Schema;
87
+ parents?: {
88
+ commit?: Lowercase<string>[] | undefined;
89
+ read?: Lowercase<string>[] | undefined;
90
+ write?: Lowercase<string>[] | undefined;
91
+ } | undefined;
92
+ requireAllParents?: boolean | undefined;
93
+ storage?: {
94
+ indexes?: {
95
+ key: {
96
+ [x: string]: import("@xyo-network/archivist-model").IndexDirection;
97
+ };
98
+ multiEntry?: boolean | undefined;
99
+ name?: string | undefined;
100
+ unique?: boolean | undefined;
101
+ }[] | undefined;
102
+ } | undefined;
103
+ storeParentReads?: boolean | undefined;
104
+ readonly archiving?: {
105
+ readonly archivists?: string[] | undefined;
106
+ readonly queries?: string[] | undefined;
107
+ } | undefined;
108
+ readonly allowedQueries?: string[] | undefined;
109
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
110
+ readonly certify?: boolean | undefined;
111
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
112
+ readonly labels?: {
113
+ [x: string]: string | undefined;
114
+ } | undefined;
115
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
116
+ readonly paging?: {
117
+ [x: string]: {
118
+ size?: number | undefined;
119
+ };
120
+ } | undefined;
121
+ readonly retry?: {
122
+ backoff?: number | undefined;
123
+ interval?: number | undefined;
124
+ retries?: number | undefined;
125
+ } | undefined;
126
+ readonly security?: {
127
+ readonly allowAnonymous?: boolean | undefined;
128
+ readonly allowed?: {
129
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
130
+ } | undefined;
131
+ readonly disallowed?: {
132
+ [x: string]: Lowercase<string>[];
133
+ } | undefined;
134
+ } | undefined;
135
+ readonly sign?: boolean | undefined;
136
+ readonly storeQueries?: boolean | undefined;
137
+ readonly timestamp?: boolean | undefined;
138
+ }>;
62
139
  ephemeralQueryAccountEnabled?: boolean;
63
140
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
64
- }, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
65
- schema: string;
66
- } & import("@xyo-network/payload-model").PayloadFields>>;
141
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
142
+ schema: import("@xyo-network/payload-model").Schema;
143
+ }>>>;
67
144
  /**
68
145
  * Retrieves the BoundWitness Diviner for the specified store
69
146
  * @param store The store to retrieve the BoundWitness Diviner for
@@ -74,36 +151,98 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
74
151
  addToResolvers?: boolean;
75
152
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
76
153
  allowNameResolution?: boolean;
77
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
78
- schema: "network.xyo.diviner.config";
79
- }, "schema"> & {
80
- schema: "network.xyo.diviner.config";
81
- }, "schema"> & {
82
- schema: string;
83
- };
154
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
155
+ schema: import("@xyo-network/payload-model").Schema;
156
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
157
+ readonly archiving?: {
158
+ readonly archivists?: string[] | undefined;
159
+ readonly queries?: string[] | undefined;
160
+ } | undefined;
161
+ readonly allowedQueries?: string[] | undefined;
162
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
163
+ readonly certify?: boolean | undefined;
164
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
165
+ readonly labels?: {
166
+ [x: string]: string | undefined;
167
+ } | undefined;
168
+ readonly paging?: {
169
+ [x: string]: {
170
+ size?: number | undefined;
171
+ };
172
+ } | undefined;
173
+ readonly retry?: {
174
+ backoff?: number | undefined;
175
+ interval?: number | undefined;
176
+ retries?: number | undefined;
177
+ } | undefined;
178
+ readonly security?: {
179
+ readonly allowAnonymous?: boolean | undefined;
180
+ readonly allowed?: {
181
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
182
+ } | undefined;
183
+ readonly disallowed?: {
184
+ [x: string]: Lowercase<string>[];
185
+ } | undefined;
186
+ } | undefined;
187
+ readonly sign?: boolean | undefined;
188
+ readonly storeQueries?: boolean | undefined;
189
+ readonly timestamp?: boolean | undefined;
190
+ }>;
84
191
  ephemeralQueryAccountEnabled?: boolean;
85
192
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
86
- }, {
87
- schema: string;
88
- } & import("@xyo-network/payload-model").PayloadFields, {
89
- schema: string;
90
- } & import("@xyo-network/payload-model").PayloadFields, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
193
+ }, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
194
+ schema: import("@xyo-network/payload-model").Schema;
195
+ }>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
196
+ schema: import("@xyo-network/payload-model").Schema;
197
+ }>, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
91
198
  account?: import("@xyo-network/account-model").AccountInstance | "random";
92
199
  addToResolvers?: boolean;
93
200
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
94
201
  allowNameResolution?: boolean;
95
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
96
- schema: "network.xyo.module.config";
97
- }, "schema"> & {
98
- schema: string;
99
- };
202
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
203
+ schema: import("@xyo-network/payload-model").Schema;
204
+ readonly archiving?: {
205
+ readonly archivists?: string[] | undefined;
206
+ readonly queries?: string[] | undefined;
207
+ } | undefined;
208
+ readonly allowedQueries?: string[] | undefined;
209
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
210
+ readonly certify?: boolean | undefined;
211
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
212
+ readonly labels?: {
213
+ [x: string]: string | undefined;
214
+ } | undefined;
215
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
216
+ readonly paging?: {
217
+ [x: string]: {
218
+ size?: number | undefined;
219
+ };
220
+ } | undefined;
221
+ readonly retry?: {
222
+ backoff?: number | undefined;
223
+ interval?: number | undefined;
224
+ retries?: number | undefined;
225
+ } | undefined;
226
+ readonly security?: {
227
+ readonly allowAnonymous?: boolean | undefined;
228
+ readonly allowed?: {
229
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
230
+ } | undefined;
231
+ readonly disallowed?: {
232
+ [x: string]: Lowercase<string>[];
233
+ } | undefined;
234
+ } | undefined;
235
+ readonly sign?: boolean | undefined;
236
+ readonly storeQueries?: boolean | undefined;
237
+ readonly timestamp?: boolean | undefined;
238
+ }>;
100
239
  ephemeralQueryAccountEnabled?: boolean;
101
240
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
102
- }, import("@xyo-network/module-model").ModuleEventData<object>>, {
103
- schema: string;
104
- } & import("@xyo-network/payload-model").PayloadFields, {
105
- schema: string;
106
- } & import("@xyo-network/payload-model").PayloadFields>>>;
241
+ }, import("@xyo-network/module-model").ModuleEventData<object>>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
242
+ schema: import("@xyo-network/payload-model").Schema;
243
+ }>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
244
+ schema: import("@xyo-network/payload-model").Schema;
245
+ }>>>>;
107
246
  /**
108
247
  * Retrieves the Payload Diviner for the specified store
109
248
  * @param store The store to retrieve the Payload Diviner for
@@ -114,41 +253,106 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
114
253
  addToResolvers?: boolean;
115
254
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
116
255
  allowNameResolution?: boolean;
117
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
118
- schema: "network.xyo.diviner.config";
119
- }, "schema"> & {
120
- schema: "network.xyo.diviner.config";
121
- }, "schema"> & {
122
- schema: string;
123
- };
256
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
257
+ schema: import("@xyo-network/payload-model").Schema;
258
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
259
+ readonly archiving?: {
260
+ readonly archivists?: string[] | undefined;
261
+ readonly queries?: string[] | undefined;
262
+ } | undefined;
263
+ readonly allowedQueries?: string[] | undefined;
264
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
265
+ readonly certify?: boolean | undefined;
266
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
267
+ readonly labels?: {
268
+ [x: string]: string | undefined;
269
+ } | undefined;
270
+ readonly paging?: {
271
+ [x: string]: {
272
+ size?: number | undefined;
273
+ };
274
+ } | undefined;
275
+ readonly retry?: {
276
+ backoff?: number | undefined;
277
+ interval?: number | undefined;
278
+ retries?: number | undefined;
279
+ } | undefined;
280
+ readonly security?: {
281
+ readonly allowAnonymous?: boolean | undefined;
282
+ readonly allowed?: {
283
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
284
+ } | undefined;
285
+ readonly disallowed?: {
286
+ [x: string]: Lowercase<string>[];
287
+ } | undefined;
288
+ } | undefined;
289
+ readonly sign?: boolean | undefined;
290
+ readonly storeQueries?: boolean | undefined;
291
+ readonly timestamp?: boolean | undefined;
292
+ }>;
124
293
  ephemeralQueryAccountEnabled?: boolean;
125
294
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
126
- }, {
127
- schema: string;
128
- } & import("@xyo-network/payload-model").PayloadFields, {
129
- schema: string;
130
- } & import("@xyo-network/payload-model").PayloadFields, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
295
+ }, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
296
+ schema: import("@xyo-network/payload-model").Schema;
297
+ }>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
298
+ schema: import("@xyo-network/payload-model").Schema;
299
+ }>, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
131
300
  account?: import("@xyo-network/account-model").AccountInstance | "random";
132
301
  addToResolvers?: boolean;
133
302
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
134
303
  allowNameResolution?: boolean;
135
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
136
- schema: "network.xyo.module.config";
137
- }, "schema"> & {
138
- schema: string;
139
- };
304
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
305
+ schema: import("@xyo-network/payload-model").Schema;
306
+ readonly archiving?: {
307
+ readonly archivists?: string[] | undefined;
308
+ readonly queries?: string[] | undefined;
309
+ } | undefined;
310
+ readonly allowedQueries?: string[] | undefined;
311
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
312
+ readonly certify?: boolean | undefined;
313
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
314
+ readonly labels?: {
315
+ [x: string]: string | undefined;
316
+ } | undefined;
317
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
318
+ readonly paging?: {
319
+ [x: string]: {
320
+ size?: number | undefined;
321
+ };
322
+ } | undefined;
323
+ readonly retry?: {
324
+ backoff?: number | undefined;
325
+ interval?: number | undefined;
326
+ retries?: number | undefined;
327
+ } | undefined;
328
+ readonly security?: {
329
+ readonly allowAnonymous?: boolean | undefined;
330
+ readonly allowed?: {
331
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
332
+ } | undefined;
333
+ readonly disallowed?: {
334
+ [x: string]: Lowercase<string>[];
335
+ } | undefined;
336
+ } | undefined;
337
+ readonly sign?: boolean | undefined;
338
+ readonly storeQueries?: boolean | undefined;
339
+ readonly timestamp?: boolean | undefined;
340
+ }>;
140
341
  ephemeralQueryAccountEnabled?: boolean;
141
342
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
142
- }, import("@xyo-network/module-model").ModuleEventData<object>>, {
143
- schema: string;
144
- } & import("@xyo-network/payload-model").PayloadFields, {
145
- schema: string;
146
- } & import("@xyo-network/payload-model").PayloadFields>>>;
343
+ }, import("@xyo-network/module-model").ModuleEventData<object>>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
344
+ schema: import("@xyo-network/payload-model").Schema;
345
+ }>, import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
346
+ schema: import("@xyo-network/payload-model").Schema;
347
+ }>>>>;
147
348
  /**
148
349
  * Retrieves the last state of the Diviner process. Used to recover state after
149
350
  * preemptions, reboots, etc.
150
351
  */
151
- retrieveState(): Promise<ModuleState<TState> | undefined>;
352
+ retrieveState(): Promise<import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
353
+ schema: "network.xyo.module.state";
354
+ state: import("@xyo-network/payload-model").DeepOmitStartsWith<import("@xyo-network/payload-model").DeepOmitStartsWith<TState, "_">, "$">;
355
+ }> | undefined>;
152
356
  readonly pipeline?: import("@xyo-network/module-model").ModulePipeLine;
153
357
  readonly status: import("@xyo-network/module-model").ModuleStatus;
154
358
  address: import("@xylabs/hex").Address;
@@ -178,11 +382,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
178
382
  addToResolvers?: boolean;
179
383
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
180
384
  allowNameResolution?: boolean;
181
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
182
- schema: "network.xyo.module.config";
183
- }, "schema"> & {
184
- schema: string;
185
- };
385
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
386
+ schema: import("@xyo-network/payload-model").Schema;
387
+ readonly archiving?: {
388
+ readonly archivists?: string[] | undefined;
389
+ readonly queries?: string[] | undefined;
390
+ } | undefined;
391
+ readonly allowedQueries?: string[] | undefined;
392
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
393
+ readonly certify?: boolean | undefined;
394
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
395
+ readonly labels?: {
396
+ [x: string]: string | undefined;
397
+ } | undefined;
398
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
399
+ readonly paging?: {
400
+ [x: string]: {
401
+ size?: number | undefined;
402
+ };
403
+ } | undefined;
404
+ readonly retry?: {
405
+ backoff?: number | undefined;
406
+ interval?: number | undefined;
407
+ retries?: number | undefined;
408
+ } | undefined;
409
+ readonly security?: {
410
+ readonly allowAnonymous?: boolean | undefined;
411
+ readonly allowed?: {
412
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
413
+ } | undefined;
414
+ readonly disallowed?: {
415
+ [x: string]: Lowercase<string>[];
416
+ } | undefined;
417
+ } | undefined;
418
+ readonly sign?: boolean | undefined;
419
+ readonly storeQueries?: boolean | undefined;
420
+ readonly timestamp?: boolean | undefined;
421
+ }>;
186
422
  ephemeralQueryAccountEnabled?: boolean;
187
423
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
188
424
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -190,11 +426,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
190
426
  addToResolvers?: boolean;
191
427
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
192
428
  allowNameResolution?: boolean;
193
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
194
- schema: "network.xyo.module.config";
195
- }, "schema"> & {
196
- schema: string;
197
- };
429
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
430
+ schema: import("@xyo-network/payload-model").Schema;
431
+ readonly archiving?: {
432
+ readonly archivists?: string[] | undefined;
433
+ readonly queries?: string[] | undefined;
434
+ } | undefined;
435
+ readonly allowedQueries?: string[] | undefined;
436
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
437
+ readonly certify?: boolean | undefined;
438
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
439
+ readonly labels?: {
440
+ [x: string]: string | undefined;
441
+ } | undefined;
442
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
443
+ readonly paging?: {
444
+ [x: string]: {
445
+ size?: number | undefined;
446
+ };
447
+ } | undefined;
448
+ readonly retry?: {
449
+ backoff?: number | undefined;
450
+ interval?: number | undefined;
451
+ retries?: number | undefined;
452
+ } | undefined;
453
+ readonly security?: {
454
+ readonly allowAnonymous?: boolean | undefined;
455
+ readonly allowed?: {
456
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
457
+ } | undefined;
458
+ readonly disallowed?: {
459
+ [x: string]: Lowercase<string>[];
460
+ } | undefined;
461
+ } | undefined;
462
+ readonly sign?: boolean | undefined;
463
+ readonly storeQueries?: boolean | undefined;
464
+ readonly timestamp?: boolean | undefined;
465
+ }>;
198
466
  ephemeralQueryAccountEnabled?: boolean;
199
467
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
200
468
  }, import("@xyo-network/module-model").ModuleEventData<object>>>(): import("@xylabs/promise").Promisable<T | undefined>;
@@ -203,11 +471,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
203
471
  addToResolvers?: boolean;
204
472
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
205
473
  allowNameResolution?: boolean;
206
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
207
- schema: "network.xyo.module.config";
208
- }, "schema"> & {
209
- schema: string;
210
- };
474
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
475
+ schema: import("@xyo-network/payload-model").Schema;
476
+ readonly archiving?: {
477
+ readonly archivists?: string[] | undefined;
478
+ readonly queries?: string[] | undefined;
479
+ } | undefined;
480
+ readonly allowedQueries?: string[] | undefined;
481
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
482
+ readonly certify?: boolean | undefined;
483
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
484
+ readonly labels?: {
485
+ [x: string]: string | undefined;
486
+ } | undefined;
487
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
488
+ readonly paging?: {
489
+ [x: string]: {
490
+ size?: number | undefined;
491
+ };
492
+ } | undefined;
493
+ readonly retry?: {
494
+ backoff?: number | undefined;
495
+ interval?: number | undefined;
496
+ retries?: number | undefined;
497
+ } | undefined;
498
+ readonly security?: {
499
+ readonly allowAnonymous?: boolean | undefined;
500
+ readonly allowed?: {
501
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
502
+ } | undefined;
503
+ readonly disallowed?: {
504
+ [x: string]: Lowercase<string>[];
505
+ } | undefined;
506
+ } | undefined;
507
+ readonly sign?: boolean | undefined;
508
+ readonly storeQueries?: boolean | undefined;
509
+ readonly timestamp?: boolean | undefined;
510
+ }>;
211
511
  ephemeralQueryAccountEnabled?: boolean;
212
512
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
213
513
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -215,11 +515,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
215
515
  addToResolvers?: boolean;
216
516
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
217
517
  allowNameResolution?: boolean;
218
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
219
- schema: "network.xyo.module.config";
220
- }, "schema"> & {
221
- schema: string;
222
- };
518
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
519
+ schema: import("@xyo-network/payload-model").Schema;
520
+ readonly archiving?: {
521
+ readonly archivists?: string[] | undefined;
522
+ readonly queries?: string[] | undefined;
523
+ } | undefined;
524
+ readonly allowedQueries?: string[] | undefined;
525
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
526
+ readonly certify?: boolean | undefined;
527
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
528
+ readonly labels?: {
529
+ [x: string]: string | undefined;
530
+ } | undefined;
531
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
532
+ readonly paging?: {
533
+ [x: string]: {
534
+ size?: number | undefined;
535
+ };
536
+ } | undefined;
537
+ readonly retry?: {
538
+ backoff?: number | undefined;
539
+ interval?: number | undefined;
540
+ retries?: number | undefined;
541
+ } | undefined;
542
+ readonly security?: {
543
+ readonly allowAnonymous?: boolean | undefined;
544
+ readonly allowed?: {
545
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
546
+ } | undefined;
547
+ readonly disallowed?: {
548
+ [x: string]: Lowercase<string>[];
549
+ } | undefined;
550
+ } | undefined;
551
+ readonly sign?: boolean | undefined;
552
+ readonly storeQueries?: boolean | undefined;
553
+ readonly timestamp?: boolean | undefined;
554
+ }>;
223
555
  ephemeralQueryAccountEnabled?: boolean;
224
556
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
225
557
  }, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
@@ -228,11 +560,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
228
560
  addToResolvers?: boolean;
229
561
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
230
562
  allowNameResolution?: boolean;
231
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
232
- schema: "network.xyo.module.config";
233
- }, "schema"> & {
234
- schema: string;
235
- };
563
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
564
+ schema: import("@xyo-network/payload-model").Schema;
565
+ readonly archiving?: {
566
+ readonly archivists?: string[] | undefined;
567
+ readonly queries?: string[] | undefined;
568
+ } | undefined;
569
+ readonly allowedQueries?: string[] | undefined;
570
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
571
+ readonly certify?: boolean | undefined;
572
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
573
+ readonly labels?: {
574
+ [x: string]: string | undefined;
575
+ } | undefined;
576
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
577
+ readonly paging?: {
578
+ [x: string]: {
579
+ size?: number | undefined;
580
+ };
581
+ } | undefined;
582
+ readonly retry?: {
583
+ backoff?: number | undefined;
584
+ interval?: number | undefined;
585
+ retries?: number | undefined;
586
+ } | undefined;
587
+ readonly security?: {
588
+ readonly allowAnonymous?: boolean | undefined;
589
+ readonly allowed?: {
590
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
591
+ } | undefined;
592
+ readonly disallowed?: {
593
+ [x: string]: Lowercase<string>[];
594
+ } | undefined;
595
+ } | undefined;
596
+ readonly sign?: boolean | undefined;
597
+ readonly storeQueries?: boolean | undefined;
598
+ readonly timestamp?: boolean | undefined;
599
+ }>;
236
600
  ephemeralQueryAccountEnabled?: boolean;
237
601
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
238
602
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -240,11 +604,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
240
604
  addToResolvers?: boolean;
241
605
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
242
606
  allowNameResolution?: boolean;
243
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
244
- schema: "network.xyo.module.config";
245
- }, "schema"> & {
246
- schema: string;
247
- };
607
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
608
+ schema: import("@xyo-network/payload-model").Schema;
609
+ readonly archiving?: {
610
+ readonly archivists?: string[] | undefined;
611
+ readonly queries?: string[] | undefined;
612
+ } | undefined;
613
+ readonly allowedQueries?: string[] | undefined;
614
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
615
+ readonly certify?: boolean | undefined;
616
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
617
+ readonly labels?: {
618
+ [x: string]: string | undefined;
619
+ } | undefined;
620
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
621
+ readonly paging?: {
622
+ [x: string]: {
623
+ size?: number | undefined;
624
+ };
625
+ } | undefined;
626
+ readonly retry?: {
627
+ backoff?: number | undefined;
628
+ interval?: number | undefined;
629
+ retries?: number | undefined;
630
+ } | undefined;
631
+ readonly security?: {
632
+ readonly allowAnonymous?: boolean | undefined;
633
+ readonly allowed?: {
634
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
635
+ } | undefined;
636
+ readonly disallowed?: {
637
+ [x: string]: Lowercase<string>[];
638
+ } | undefined;
639
+ } | undefined;
640
+ readonly sign?: boolean | undefined;
641
+ readonly storeQueries?: boolean | undefined;
642
+ readonly timestamp?: boolean | undefined;
643
+ }>;
248
644
  ephemeralQueryAccountEnabled?: boolean;
249
645
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
250
646
  }, 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 +649,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
253
649
  addToResolvers?: boolean;
254
650
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
255
651
  allowNameResolution?: boolean;
256
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
257
- schema: "network.xyo.module.config";
258
- }, "schema"> & {
259
- schema: string;
260
- };
652
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
653
+ schema: import("@xyo-network/payload-model").Schema;
654
+ readonly archiving?: {
655
+ readonly archivists?: string[] | undefined;
656
+ readonly queries?: string[] | undefined;
657
+ } | undefined;
658
+ readonly allowedQueries?: string[] | undefined;
659
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
660
+ readonly certify?: boolean | undefined;
661
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
662
+ readonly labels?: {
663
+ [x: string]: string | undefined;
664
+ } | undefined;
665
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
666
+ readonly paging?: {
667
+ [x: string]: {
668
+ size?: number | undefined;
669
+ };
670
+ } | undefined;
671
+ readonly retry?: {
672
+ backoff?: number | undefined;
673
+ interval?: number | undefined;
674
+ retries?: number | undefined;
675
+ } | undefined;
676
+ readonly security?: {
677
+ readonly allowAnonymous?: boolean | undefined;
678
+ readonly allowed?: {
679
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
680
+ } | undefined;
681
+ readonly disallowed?: {
682
+ [x: string]: Lowercase<string>[];
683
+ } | undefined;
684
+ } | undefined;
685
+ readonly sign?: boolean | undefined;
686
+ readonly storeQueries?: boolean | undefined;
687
+ readonly timestamp?: boolean | undefined;
688
+ }>;
261
689
  ephemeralQueryAccountEnabled?: boolean;
262
690
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
263
691
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -265,11 +693,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
265
693
  addToResolvers?: boolean;
266
694
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
267
695
  allowNameResolution?: boolean;
268
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
269
- schema: "network.xyo.module.config";
270
- }, "schema"> & {
271
- schema: string;
272
- };
696
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
697
+ schema: import("@xyo-network/payload-model").Schema;
698
+ readonly archiving?: {
699
+ readonly archivists?: string[] | undefined;
700
+ readonly queries?: string[] | undefined;
701
+ } | undefined;
702
+ readonly allowedQueries?: string[] | undefined;
703
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
704
+ readonly certify?: boolean | undefined;
705
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
706
+ readonly labels?: {
707
+ [x: string]: string | undefined;
708
+ } | undefined;
709
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
710
+ readonly paging?: {
711
+ [x: string]: {
712
+ size?: number | undefined;
713
+ };
714
+ } | undefined;
715
+ readonly retry?: {
716
+ backoff?: number | undefined;
717
+ interval?: number | undefined;
718
+ retries?: number | undefined;
719
+ } | undefined;
720
+ readonly security?: {
721
+ readonly allowAnonymous?: boolean | undefined;
722
+ readonly allowed?: {
723
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
724
+ } | undefined;
725
+ readonly disallowed?: {
726
+ [x: string]: Lowercase<string>[];
727
+ } | undefined;
728
+ } | undefined;
729
+ readonly sign?: boolean | undefined;
730
+ readonly storeQueries?: boolean | undefined;
731
+ readonly timestamp?: boolean | undefined;
732
+ }>;
273
733
  ephemeralQueryAccountEnabled?: boolean;
274
734
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
275
735
  }, 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 +738,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
278
738
  addToResolvers?: boolean;
279
739
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
280
740
  allowNameResolution?: boolean;
281
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
282
- schema: "network.xyo.module.config";
283
- }, "schema"> & {
284
- schema: string;
285
- };
741
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
742
+ schema: import("@xyo-network/payload-model").Schema;
743
+ readonly archiving?: {
744
+ readonly archivists?: string[] | undefined;
745
+ readonly queries?: string[] | undefined;
746
+ } | undefined;
747
+ readonly allowedQueries?: string[] | undefined;
748
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
749
+ readonly certify?: boolean | undefined;
750
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
751
+ readonly labels?: {
752
+ [x: string]: string | undefined;
753
+ } | undefined;
754
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
755
+ readonly paging?: {
756
+ [x: string]: {
757
+ size?: number | undefined;
758
+ };
759
+ } | undefined;
760
+ readonly retry?: {
761
+ backoff?: number | undefined;
762
+ interval?: number | undefined;
763
+ retries?: number | undefined;
764
+ } | undefined;
765
+ readonly security?: {
766
+ readonly allowAnonymous?: boolean | undefined;
767
+ readonly allowed?: {
768
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
769
+ } | undefined;
770
+ readonly disallowed?: {
771
+ [x: string]: Lowercase<string>[];
772
+ } | undefined;
773
+ } | undefined;
774
+ readonly sign?: boolean | undefined;
775
+ readonly storeQueries?: boolean | undefined;
776
+ readonly timestamp?: boolean | undefined;
777
+ }>;
286
778
  ephemeralQueryAccountEnabled?: boolean;
287
779
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
288
780
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -290,11 +782,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
290
782
  addToResolvers?: boolean;
291
783
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
292
784
  allowNameResolution?: boolean;
293
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
294
- schema: "network.xyo.module.config";
295
- }, "schema"> & {
296
- schema: string;
297
- };
785
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
786
+ schema: import("@xyo-network/payload-model").Schema;
787
+ readonly archiving?: {
788
+ readonly archivists?: string[] | undefined;
789
+ readonly queries?: string[] | undefined;
790
+ } | undefined;
791
+ readonly allowedQueries?: string[] | undefined;
792
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
793
+ readonly certify?: boolean | undefined;
794
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
795
+ readonly labels?: {
796
+ [x: string]: string | undefined;
797
+ } | undefined;
798
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
799
+ readonly paging?: {
800
+ [x: string]: {
801
+ size?: number | undefined;
802
+ };
803
+ } | undefined;
804
+ readonly retry?: {
805
+ backoff?: number | undefined;
806
+ interval?: number | undefined;
807
+ retries?: number | undefined;
808
+ } | undefined;
809
+ readonly security?: {
810
+ readonly allowAnonymous?: boolean | undefined;
811
+ readonly allowed?: {
812
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
813
+ } | undefined;
814
+ readonly disallowed?: {
815
+ [x: string]: Lowercase<string>[];
816
+ } | undefined;
817
+ } | undefined;
818
+ readonly sign?: boolean | undefined;
819
+ readonly storeQueries?: boolean | undefined;
820
+ readonly timestamp?: boolean | undefined;
821
+ }>;
298
822
  ephemeralQueryAccountEnabled?: boolean;
299
823
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
300
824
  }, 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 +827,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
303
827
  addToResolvers?: boolean;
304
828
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
305
829
  allowNameResolution?: boolean;
306
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
307
- schema: "network.xyo.module.config";
308
- }, "schema"> & {
309
- schema: string;
310
- };
830
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
831
+ schema: import("@xyo-network/payload-model").Schema;
832
+ readonly archiving?: {
833
+ readonly archivists?: string[] | undefined;
834
+ readonly queries?: string[] | undefined;
835
+ } | undefined;
836
+ readonly allowedQueries?: string[] | undefined;
837
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
838
+ readonly certify?: boolean | undefined;
839
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
840
+ readonly labels?: {
841
+ [x: string]: string | undefined;
842
+ } | undefined;
843
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
844
+ readonly paging?: {
845
+ [x: string]: {
846
+ size?: number | undefined;
847
+ };
848
+ } | undefined;
849
+ readonly retry?: {
850
+ backoff?: number | undefined;
851
+ interval?: number | undefined;
852
+ retries?: number | undefined;
853
+ } | undefined;
854
+ readonly security?: {
855
+ readonly allowAnonymous?: boolean | undefined;
856
+ readonly allowed?: {
857
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
858
+ } | undefined;
859
+ readonly disallowed?: {
860
+ [x: string]: Lowercase<string>[];
861
+ } | undefined;
862
+ } | undefined;
863
+ readonly sign?: boolean | undefined;
864
+ readonly storeQueries?: boolean | undefined;
865
+ readonly timestamp?: boolean | undefined;
866
+ }>;
311
867
  ephemeralQueryAccountEnabled?: boolean;
312
868
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
313
869
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -315,11 +871,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
315
871
  addToResolvers?: boolean;
316
872
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
317
873
  allowNameResolution?: boolean;
318
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
319
- schema: "network.xyo.module.config";
320
- }, "schema"> & {
321
- schema: string;
322
- };
874
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
875
+ schema: import("@xyo-network/payload-model").Schema;
876
+ readonly archiving?: {
877
+ readonly archivists?: string[] | undefined;
878
+ readonly queries?: string[] | undefined;
879
+ } | undefined;
880
+ readonly allowedQueries?: string[] | undefined;
881
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
882
+ readonly certify?: boolean | undefined;
883
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
884
+ readonly labels?: {
885
+ [x: string]: string | undefined;
886
+ } | undefined;
887
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
888
+ readonly paging?: {
889
+ [x: string]: {
890
+ size?: number | undefined;
891
+ };
892
+ } | undefined;
893
+ readonly retry?: {
894
+ backoff?: number | undefined;
895
+ interval?: number | undefined;
896
+ retries?: number | undefined;
897
+ } | undefined;
898
+ readonly security?: {
899
+ readonly allowAnonymous?: boolean | undefined;
900
+ readonly allowed?: {
901
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
902
+ } | undefined;
903
+ readonly disallowed?: {
904
+ [x: string]: Lowercase<string>[];
905
+ } | undefined;
906
+ } | undefined;
907
+ readonly sign?: boolean | undefined;
908
+ readonly storeQueries?: boolean | undefined;
909
+ readonly timestamp?: boolean | undefined;
910
+ }>;
323
911
  ephemeralQueryAccountEnabled?: boolean;
324
912
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
325
913
  }, 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 +916,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
328
916
  addToResolvers?: boolean;
329
917
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
330
918
  allowNameResolution?: boolean;
331
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
332
- schema: "network.xyo.module.config";
333
- }, "schema"> & {
334
- schema: string;
335
- };
919
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
920
+ schema: import("@xyo-network/payload-model").Schema;
921
+ readonly archiving?: {
922
+ readonly archivists?: string[] | undefined;
923
+ readonly queries?: string[] | undefined;
924
+ } | undefined;
925
+ readonly allowedQueries?: string[] | undefined;
926
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
927
+ readonly certify?: boolean | undefined;
928
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
929
+ readonly labels?: {
930
+ [x: string]: string | undefined;
931
+ } | undefined;
932
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
933
+ readonly paging?: {
934
+ [x: string]: {
935
+ size?: number | undefined;
936
+ };
937
+ } | undefined;
938
+ readonly retry?: {
939
+ backoff?: number | undefined;
940
+ interval?: number | undefined;
941
+ retries?: number | undefined;
942
+ } | undefined;
943
+ readonly security?: {
944
+ readonly allowAnonymous?: boolean | undefined;
945
+ readonly allowed?: {
946
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
947
+ } | undefined;
948
+ readonly disallowed?: {
949
+ [x: string]: Lowercase<string>[];
950
+ } | undefined;
951
+ } | undefined;
952
+ readonly sign?: boolean | undefined;
953
+ readonly storeQueries?: boolean | undefined;
954
+ readonly timestamp?: boolean | undefined;
955
+ }>;
336
956
  ephemeralQueryAccountEnabled?: boolean;
337
957
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
338
958
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -340,11 +960,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
340
960
  addToResolvers?: boolean;
341
961
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
342
962
  allowNameResolution?: boolean;
343
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
344
- schema: "network.xyo.module.config";
345
- }, "schema"> & {
346
- schema: string;
347
- };
963
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
964
+ schema: import("@xyo-network/payload-model").Schema;
965
+ readonly archiving?: {
966
+ readonly archivists?: string[] | undefined;
967
+ readonly queries?: string[] | undefined;
968
+ } | undefined;
969
+ readonly allowedQueries?: string[] | undefined;
970
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
971
+ readonly certify?: boolean | undefined;
972
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
973
+ readonly labels?: {
974
+ [x: string]: string | undefined;
975
+ } | undefined;
976
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
977
+ readonly paging?: {
978
+ [x: string]: {
979
+ size?: number | undefined;
980
+ };
981
+ } | undefined;
982
+ readonly retry?: {
983
+ backoff?: number | undefined;
984
+ interval?: number | undefined;
985
+ retries?: number | undefined;
986
+ } | undefined;
987
+ readonly security?: {
988
+ readonly allowAnonymous?: boolean | undefined;
989
+ readonly allowed?: {
990
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
991
+ } | undefined;
992
+ readonly disallowed?: {
993
+ [x: string]: Lowercase<string>[];
994
+ } | undefined;
995
+ } | undefined;
996
+ readonly sign?: boolean | undefined;
997
+ readonly storeQueries?: boolean | undefined;
998
+ readonly timestamp?: boolean | undefined;
999
+ }>;
348
1000
  ephemeralQueryAccountEnabled?: boolean;
349
1001
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
350
1002
  }, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T[]>;
@@ -353,11 +1005,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
353
1005
  addToResolvers?: boolean;
354
1006
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
355
1007
  allowNameResolution?: boolean;
356
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
357
- schema: "network.xyo.module.config";
358
- }, "schema"> & {
359
- schema: string;
360
- };
1008
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
1009
+ schema: import("@xyo-network/payload-model").Schema;
1010
+ readonly archiving?: {
1011
+ readonly archivists?: string[] | undefined;
1012
+ readonly queries?: string[] | undefined;
1013
+ } | undefined;
1014
+ readonly allowedQueries?: string[] | undefined;
1015
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
1016
+ readonly certify?: boolean | undefined;
1017
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
1018
+ readonly labels?: {
1019
+ [x: string]: string | undefined;
1020
+ } | undefined;
1021
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
1022
+ readonly paging?: {
1023
+ [x: string]: {
1024
+ size?: number | undefined;
1025
+ };
1026
+ } | undefined;
1027
+ readonly retry?: {
1028
+ backoff?: number | undefined;
1029
+ interval?: number | undefined;
1030
+ retries?: number | undefined;
1031
+ } | undefined;
1032
+ readonly security?: {
1033
+ readonly allowAnonymous?: boolean | undefined;
1034
+ readonly allowed?: {
1035
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1036
+ } | undefined;
1037
+ readonly disallowed?: {
1038
+ [x: string]: Lowercase<string>[];
1039
+ } | undefined;
1040
+ } | undefined;
1041
+ readonly sign?: boolean | undefined;
1042
+ readonly storeQueries?: boolean | undefined;
1043
+ readonly timestamp?: boolean | undefined;
1044
+ }>;
361
1045
  ephemeralQueryAccountEnabled?: boolean;
362
1046
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
363
1047
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -365,11 +1049,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
365
1049
  addToResolvers?: boolean;
366
1050
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
367
1051
  allowNameResolution?: boolean;
368
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
369
- schema: "network.xyo.module.config";
370
- }, "schema"> & {
371
- schema: string;
372
- };
1052
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
1053
+ schema: import("@xyo-network/payload-model").Schema;
1054
+ readonly archiving?: {
1055
+ readonly archivists?: string[] | undefined;
1056
+ readonly queries?: string[] | undefined;
1057
+ } | undefined;
1058
+ readonly allowedQueries?: string[] | undefined;
1059
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
1060
+ readonly certify?: boolean | undefined;
1061
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
1062
+ readonly labels?: {
1063
+ [x: string]: string | undefined;
1064
+ } | undefined;
1065
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
1066
+ readonly paging?: {
1067
+ [x: string]: {
1068
+ size?: number | undefined;
1069
+ };
1070
+ } | undefined;
1071
+ readonly retry?: {
1072
+ backoff?: number | undefined;
1073
+ interval?: number | undefined;
1074
+ retries?: number | undefined;
1075
+ } | undefined;
1076
+ readonly security?: {
1077
+ readonly allowAnonymous?: boolean | undefined;
1078
+ readonly allowed?: {
1079
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1080
+ } | undefined;
1081
+ readonly disallowed?: {
1082
+ [x: string]: Lowercase<string>[];
1083
+ } | undefined;
1084
+ } | undefined;
1085
+ readonly sign?: boolean | undefined;
1086
+ readonly storeQueries?: boolean | undefined;
1087
+ readonly timestamp?: boolean | undefined;
1088
+ }>;
373
1089
  ephemeralQueryAccountEnabled?: boolean;
374
1090
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
375
1091
  }, 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 +1094,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
378
1094
  addToResolvers?: boolean;
379
1095
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
380
1096
  allowNameResolution?: boolean;
381
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
382
- schema: "network.xyo.module.config";
383
- }, "schema"> & {
384
- schema: string;
385
- };
1097
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
1098
+ schema: import("@xyo-network/payload-model").Schema;
1099
+ readonly archiving?: {
1100
+ readonly archivists?: string[] | undefined;
1101
+ readonly queries?: string[] | undefined;
1102
+ } | undefined;
1103
+ readonly allowedQueries?: string[] | undefined;
1104
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
1105
+ readonly certify?: boolean | undefined;
1106
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
1107
+ readonly labels?: {
1108
+ [x: string]: string | undefined;
1109
+ } | undefined;
1110
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
1111
+ readonly paging?: {
1112
+ [x: string]: {
1113
+ size?: number | undefined;
1114
+ };
1115
+ } | undefined;
1116
+ readonly retry?: {
1117
+ backoff?: number | undefined;
1118
+ interval?: number | undefined;
1119
+ retries?: number | undefined;
1120
+ } | undefined;
1121
+ readonly security?: {
1122
+ readonly allowAnonymous?: boolean | undefined;
1123
+ readonly allowed?: {
1124
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1125
+ } | undefined;
1126
+ readonly disallowed?: {
1127
+ [x: string]: Lowercase<string>[];
1128
+ } | undefined;
1129
+ } | undefined;
1130
+ readonly sign?: boolean | undefined;
1131
+ readonly storeQueries?: boolean | undefined;
1132
+ readonly timestamp?: boolean | undefined;
1133
+ }>;
386
1134
  ephemeralQueryAccountEnabled?: boolean;
387
1135
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
388
1136
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
@@ -390,11 +1138,43 @@ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams
390
1138
  addToResolvers?: boolean;
391
1139
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
392
1140
  allowNameResolution?: boolean;
393
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
394
- schema: "network.xyo.module.config";
395
- }, "schema"> & {
396
- schema: string;
397
- };
1141
+ config: import("@xyo-network/payload-model").DeepRestrictToStringKeys<{
1142
+ schema: import("@xyo-network/payload-model").Schema;
1143
+ readonly archiving?: {
1144
+ readonly archivists?: string[] | undefined;
1145
+ readonly queries?: string[] | undefined;
1146
+ } | undefined;
1147
+ readonly allowedQueries?: string[] | undefined;
1148
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
1149
+ readonly certify?: boolean | undefined;
1150
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
1151
+ readonly labels?: {
1152
+ [x: string]: string | undefined;
1153
+ } | undefined;
1154
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
1155
+ readonly paging?: {
1156
+ [x: string]: {
1157
+ size?: number | undefined;
1158
+ };
1159
+ } | undefined;
1160
+ readonly retry?: {
1161
+ backoff?: number | undefined;
1162
+ interval?: number | undefined;
1163
+ retries?: number | undefined;
1164
+ } | undefined;
1165
+ readonly security?: {
1166
+ readonly allowAnonymous?: boolean | undefined;
1167
+ readonly allowed?: {
1168
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
1169
+ } | undefined;
1170
+ readonly disallowed?: {
1171
+ [x: string]: Lowercase<string>[];
1172
+ } | undefined;
1173
+ } | undefined;
1174
+ readonly sign?: boolean | undefined;
1175
+ readonly storeQueries?: boolean | undefined;
1176
+ readonly timestamp?: boolean | undefined;
1177
+ }>;
398
1178
  ephemeralQueryAccountEnabled?: boolean;
399
1179
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
400
1180
  }, 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>;