@xyo-network/bridge-pub-sub 3.6.0-rc.1 → 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.
@@ -1,13 +1,13 @@
1
- import type { Address } from '@xylabs/hex';
1
+ import type { Address, Hex } from '@xylabs/hex';
2
2
  import { Base } from '@xylabs/object';
3
3
  import type { ArchivistInstance } from '@xyo-network/archivist-model';
4
4
  import type { BoundWitness } from '@xyo-network/boundwitness-model';
5
5
  import type { DivinerInstance } from '@xyo-network/diviner-model';
6
- import type { ModuleConfig, ModuleInstance } from '@xyo-network/module-model';
6
+ import type { ModuleConfig, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
7
7
  import { LRUCache } from 'lru-cache';
8
8
  import type { AsyncQueryBusParams } from './model/index.ts';
9
9
  export declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = AsyncQueryBusParams> extends Base<TParams> {
10
- protected _lastState?: LRUCache<Address, number>;
10
+ protected _lastState?: LRUCache<Address, Hex>;
11
11
  protected _targetConfigs: Record<Address, ModuleConfig>;
12
12
  protected _targetQueries: Record<Address, string[]>;
13
13
  private _lastResolveFailure;
@@ -25,106 +25,299 @@ export declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = Asy
25
25
  addToResolvers?: boolean;
26
26
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
27
27
  allowNameResolution?: boolean;
28
- 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 & {
29
- schema: "network.xyo.module.config";
30
- }, "schema"> & {
31
- schema: string;
32
- };
28
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
29
+ schema: import("@xyo-network/payload-model").Schema;
30
+ readonly archiving?: {
31
+ readonly archivists?: string[] | undefined;
32
+ readonly queries?: string[] | undefined;
33
+ } | undefined;
34
+ readonly allowedQueries?: string[] | undefined;
35
+ readonly archivist?: ModuleIdentifier | undefined;
36
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
37
+ readonly labels?: {
38
+ [x: string]: string | undefined;
39
+ } | undefined;
40
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
41
+ readonly paging?: {
42
+ [x: string]: {
43
+ size?: number | undefined;
44
+ };
45
+ } | undefined;
46
+ readonly retry?: {
47
+ backoff?: number | undefined;
48
+ interval?: number | undefined;
49
+ retries?: number | undefined;
50
+ } | undefined;
51
+ readonly security?: {
52
+ readonly allowAnonymous?: boolean | undefined;
53
+ readonly allowed?: {
54
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
55
+ } | undefined;
56
+ readonly disallowed?: {
57
+ [x: string]: Lowercase<string>[];
58
+ } | undefined;
59
+ } | undefined;
60
+ readonly sign?: boolean | undefined;
61
+ readonly storeQueries?: boolean | undefined;
62
+ readonly timestamp?: boolean | undefined;
63
+ }>;
33
64
  ephemeralQueryAccountEnabled?: boolean;
34
65
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
35
66
  }, import("@xyo-network/module-model").ModuleEventData<object>>;
36
67
  /**
37
68
  * A cache of the last offset of the Diviner process per address
38
69
  */
39
- protected get lastState(): LRUCache<Address, number>;
70
+ protected get lastState(): LRUCache<Address, Hex>;
40
71
  queriesArchivist(): Promise<ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
41
72
  account?: import("@xyo-network/account-model").AccountInstance | "random";
42
73
  addToResolvers?: boolean;
43
74
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
44
75
  allowNameResolution?: boolean;
45
- 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 & {
46
- parents?: import("@xyo-network/archivist-model").ArchivistParents;
47
- requireAllParents?: boolean;
48
- schema: "network.xyo.archivist.config";
49
- storage?: import("@xyo-network/archivist-model").ArchivistStorage;
50
- storeParentReads?: boolean;
51
- }, "schema"> & {
52
- schema: "network.xyo.archivist.config";
53
- }, "schema"> & {
54
- schema: string;
55
- };
76
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
77
+ schema: import("@xyo-network/payload-model").Schema;
78
+ readonly archiving?: {
79
+ readonly archivists?: string[] | undefined;
80
+ readonly queries?: string[] | undefined;
81
+ } | undefined;
82
+ readonly allowedQueries?: string[] | undefined;
83
+ readonly archivist?: ModuleIdentifier | undefined;
84
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
85
+ readonly labels?: {
86
+ [x: string]: string | undefined;
87
+ } | undefined;
88
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
89
+ readonly paging?: {
90
+ [x: string]: {
91
+ size?: number | undefined;
92
+ };
93
+ } | undefined;
94
+ readonly retry?: {
95
+ backoff?: number | undefined;
96
+ interval?: number | undefined;
97
+ retries?: number | undefined;
98
+ } | undefined;
99
+ readonly security?: {
100
+ readonly allowAnonymous?: boolean | undefined;
101
+ readonly allowed?: {
102
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
103
+ } | undefined;
104
+ readonly disallowed?: {
105
+ [x: string]: Lowercase<string>[];
106
+ } | undefined;
107
+ } | undefined;
108
+ readonly sign?: boolean | undefined;
109
+ readonly storeQueries?: boolean | undefined;
110
+ readonly timestamp?: boolean | undefined;
111
+ parents?: {
112
+ commit?: Lowercase<string>[] | undefined;
113
+ read?: Lowercase<string>[] | undefined;
114
+ write?: Lowercase<string>[] | undefined;
115
+ } | undefined;
116
+ requireAllParents?: boolean | undefined;
117
+ storage?: {
118
+ indexes?: {
119
+ key: {
120
+ [x: string]: import("@xyo-network/archivist-model").IndexDirection;
121
+ };
122
+ multiEntry?: boolean | undefined;
123
+ name?: string | undefined;
124
+ unique?: boolean | undefined;
125
+ }[] | undefined;
126
+ } | undefined;
127
+ storeParentReads?: boolean | undefined;
128
+ }>;
56
129
  ephemeralQueryAccountEnabled?: boolean;
57
130
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
58
- }, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
59
- schema: string;
60
- } & import("@xyo-network/payload-model").PayloadFields> | undefined>;
131
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
132
+ schema: import("@xyo-network/payload-model").Schema;
133
+ }>> | undefined>;
61
134
  queriesDiviner(): Promise<DivinerInstance<import("@xylabs/object").BaseParamsFields & {
62
135
  account?: import("@xyo-network/account-model").AccountInstance | "random";
63
136
  addToResolvers?: boolean;
64
137
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
65
138
  allowNameResolution?: boolean;
66
- 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 & {
67
- schema: "network.xyo.diviner.boundwitness.config";
68
- } & {
69
- schema: string;
70
- } & import("@xyo-network/payload-model").PayloadFields & {
71
- schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfigSchema;
72
- }, "schema"> & {
73
- schema: "network.xyo.diviner.boundwitness.config";
74
- }, "schema"> & {
75
- schema: string;
76
- };
139
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
140
+ schema: import("@xyo-network/payload-model").Schema;
141
+ readonly archiving?: {
142
+ readonly archivists?: string[] | undefined;
143
+ readonly queries?: string[] | undefined;
144
+ } | undefined;
145
+ readonly allowedQueries?: string[] | undefined;
146
+ readonly archivist?: ModuleIdentifier | undefined;
147
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
148
+ readonly labels?: {
149
+ [x: string]: string | undefined;
150
+ } | undefined;
151
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
152
+ readonly paging?: {
153
+ [x: string]: {
154
+ size?: number | undefined;
155
+ };
156
+ } | undefined;
157
+ readonly retry?: {
158
+ backoff?: number | undefined;
159
+ interval?: number | undefined;
160
+ retries?: number | undefined;
161
+ } | undefined;
162
+ readonly security?: {
163
+ readonly allowAnonymous?: boolean | undefined;
164
+ readonly allowed?: {
165
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
166
+ } | undefined;
167
+ readonly disallowed?: {
168
+ [x: string]: Lowercase<string>[];
169
+ } | undefined;
170
+ } | undefined;
171
+ readonly sign?: boolean | undefined;
172
+ readonly storeQueries?: boolean | undefined;
173
+ readonly timestamp?: boolean | undefined;
174
+ }>;
77
175
  ephemeralQueryAccountEnabled?: boolean;
78
176
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
79
- }, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
80
- schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerQuerySchema;
81
- } & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
177
+ }, import("@xylabs/object").DeepRestrictToStringKeys<{
82
178
  schema: "network.xyo.diviner.boundwitness.query";
83
- }, import("@xyo-network/boundwitness-model").UnsignedQueryBoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData>>;
179
+ block?: Lowercase<string> | undefined;
180
+ chain?: Lowercase<string> | undefined;
181
+ root?: Lowercase<string> | undefined;
182
+ addresses?: Lowercase<string>[] | undefined;
183
+ payload_hashes?: Lowercase<string>[] | undefined;
184
+ payload_schemas?: string[] | undefined;
185
+ previous_hashes?: import("@xylabs/object").DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
186
+ cursor?: Lowercase<string> | undefined;
187
+ limit?: number | undefined;
188
+ order?: import("@xyo-network/diviner-payload-model").Order | undefined;
189
+ destination?: string[] | undefined;
190
+ sourceQuery?: string | undefined;
191
+ address?: Lowercase<string> | Lowercase<string>[] | undefined;
192
+ budget?: number | undefined;
193
+ maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
194
+ minBid?: number | undefined;
195
+ }>, import("@xyo-network/boundwitness-model").UnsignedQueryBoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData>>;
84
196
  responsesArchivist(): Promise<ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
85
197
  account?: import("@xyo-network/account-model").AccountInstance | "random";
86
198
  addToResolvers?: boolean;
87
199
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
88
200
  allowNameResolution?: boolean;
89
- 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 & {
90
- parents?: import("@xyo-network/archivist-model").ArchivistParents;
91
- requireAllParents?: boolean;
92
- schema: "network.xyo.archivist.config";
93
- storage?: import("@xyo-network/archivist-model").ArchivistStorage;
94
- storeParentReads?: boolean;
95
- }, "schema"> & {
96
- schema: "network.xyo.archivist.config";
97
- }, "schema"> & {
98
- schema: string;
99
- };
201
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
202
+ schema: import("@xyo-network/payload-model").Schema;
203
+ readonly archiving?: {
204
+ readonly archivists?: string[] | undefined;
205
+ readonly queries?: string[] | undefined;
206
+ } | undefined;
207
+ readonly allowedQueries?: string[] | undefined;
208
+ readonly archivist?: ModuleIdentifier | undefined;
209
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
210
+ readonly labels?: {
211
+ [x: string]: string | undefined;
212
+ } | undefined;
213
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
214
+ readonly paging?: {
215
+ [x: string]: {
216
+ size?: number | undefined;
217
+ };
218
+ } | undefined;
219
+ readonly retry?: {
220
+ backoff?: number | undefined;
221
+ interval?: number | undefined;
222
+ retries?: number | undefined;
223
+ } | undefined;
224
+ readonly security?: {
225
+ readonly allowAnonymous?: boolean | undefined;
226
+ readonly allowed?: {
227
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
228
+ } | undefined;
229
+ readonly disallowed?: {
230
+ [x: string]: Lowercase<string>[];
231
+ } | undefined;
232
+ } | undefined;
233
+ readonly sign?: boolean | undefined;
234
+ readonly storeQueries?: boolean | undefined;
235
+ readonly timestamp?: boolean | undefined;
236
+ parents?: {
237
+ commit?: Lowercase<string>[] | undefined;
238
+ read?: Lowercase<string>[] | undefined;
239
+ write?: Lowercase<string>[] | undefined;
240
+ } | undefined;
241
+ requireAllParents?: boolean | undefined;
242
+ storage?: {
243
+ indexes?: {
244
+ key: {
245
+ [x: string]: import("@xyo-network/archivist-model").IndexDirection;
246
+ };
247
+ multiEntry?: boolean | undefined;
248
+ name?: string | undefined;
249
+ unique?: boolean | undefined;
250
+ }[] | undefined;
251
+ } | undefined;
252
+ storeParentReads?: boolean | undefined;
253
+ }>;
100
254
  ephemeralQueryAccountEnabled?: boolean;
101
255
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
102
- }, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
103
- schema: string;
104
- } & import("@xyo-network/payload-model").PayloadFields> | undefined>;
256
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
257
+ schema: import("@xyo-network/payload-model").Schema;
258
+ }>> | undefined>;
105
259
  responsesDiviner(): Promise<DivinerInstance<import("@xylabs/object").BaseParamsFields & {
106
260
  account?: import("@xyo-network/account-model").AccountInstance | "random";
107
261
  addToResolvers?: boolean;
108
262
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
109
263
  allowNameResolution?: boolean;
110
- 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 & {
111
- schema: "network.xyo.diviner.boundwitness.config";
112
- } & {
113
- schema: string;
114
- } & import("@xyo-network/payload-model").PayloadFields & {
115
- schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfigSchema;
116
- }, "schema"> & {
117
- schema: "network.xyo.diviner.boundwitness.config";
118
- }, "schema"> & {
119
- schema: string;
120
- };
264
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
265
+ schema: import("@xyo-network/payload-model").Schema;
266
+ readonly archiving?: {
267
+ readonly archivists?: string[] | undefined;
268
+ readonly queries?: string[] | undefined;
269
+ } | undefined;
270
+ readonly allowedQueries?: string[] | undefined;
271
+ readonly archivist?: ModuleIdentifier | undefined;
272
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
273
+ readonly labels?: {
274
+ [x: string]: string | undefined;
275
+ } | undefined;
276
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
277
+ readonly paging?: {
278
+ [x: string]: {
279
+ size?: number | undefined;
280
+ };
281
+ } | undefined;
282
+ readonly retry?: {
283
+ backoff?: number | undefined;
284
+ interval?: number | undefined;
285
+ retries?: number | undefined;
286
+ } | undefined;
287
+ readonly security?: {
288
+ readonly allowAnonymous?: boolean | undefined;
289
+ readonly allowed?: {
290
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
291
+ } | undefined;
292
+ readonly disallowed?: {
293
+ [x: string]: Lowercase<string>[];
294
+ } | undefined;
295
+ } | undefined;
296
+ readonly sign?: boolean | undefined;
297
+ readonly storeQueries?: boolean | undefined;
298
+ readonly timestamp?: boolean | undefined;
299
+ }>;
121
300
  ephemeralQueryAccountEnabled?: boolean;
122
301
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
123
- }, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
124
- schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerQuerySchema;
125
- } & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
302
+ }, import("@xylabs/object").DeepRestrictToStringKeys<{
126
303
  schema: "network.xyo.diviner.boundwitness.query";
127
- }, BoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData>>;
304
+ block?: Lowercase<string> | undefined;
305
+ chain?: Lowercase<string> | undefined;
306
+ root?: Lowercase<string> | undefined;
307
+ addresses?: Lowercase<string>[] | undefined;
308
+ payload_hashes?: Lowercase<string>[] | undefined;
309
+ payload_schemas?: string[] | undefined;
310
+ previous_hashes?: import("@xylabs/object").DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
311
+ cursor?: Lowercase<string> | undefined;
312
+ limit?: number | undefined;
313
+ order?: import("@xyo-network/diviner-payload-model").Order | undefined;
314
+ destination?: string[] | undefined;
315
+ sourceQuery?: string | undefined;
316
+ address?: Lowercase<string> | Lowercase<string>[] | undefined;
317
+ budget?: number | undefined;
318
+ maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
319
+ minBid?: number | undefined;
320
+ }>, BoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData>>;
128
321
  /**
129
322
  * Commit the internal state of the process. This is similar
130
323
  * to a transaction completion in a database and should only be called
@@ -133,12 +326,12 @@ export declare class AsyncQueryBusBase<TParams extends AsyncQueryBusParams = Asy
133
326
  * @param address The module address to commit the state for
134
327
  * @param nextState The state to commit
135
328
  */
136
- protected commitState(address: Address, nextState: number): Promise<void>;
329
+ protected commitState(address: Address, nextState: Hex): Promise<void>;
137
330
  /**
138
331
  * Retrieves the last state of the process. Used to recover state after
139
332
  * preemptions, reboots, etc.
140
333
  */
141
- protected retrieveState(address: Address): Promise<number>;
334
+ protected retrieveState(address: Address): Promise<Hex>;
142
335
  private resolve;
143
336
  }
144
337
  //# sourceMappingURL=AsyncQueryBusBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncQueryBusBase.d.ts","sourceRoot":"","sources":["../../../src/AsyncQueryBus/AsyncQueryBusBase.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,OAAO,KAAK,EAAE,YAAY,EAAqB,MAAM,iCAAiC,CAAA;AAEtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EACV,YAAY,EAAoB,cAAc,EAC/C,MAAM,2BAA2B,CAAA;AAGlC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAM3D,qBAAa,iBAAiB,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,CAAE,SAAQ,IAAI,CAAC,OAAO,CAAC;IAC7G,SAAS,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;IAChD,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,CAAK;IAC5D,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,E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QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAA;IACtE,OAAO,CAAC,UAAU,CAAI;IACtB,OAAO,CAAC,OAAO,CAAC,CAAQ;gBAEZ,MAAM,EAAE,OAAO;IAI3B,IAAI,gBAAgB,IAAI,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,EAAE,OAAO,CAAC,CAKtF;IAED,IAAI,OAAO,YAEV;IAED;;OAEG;IACH,SAAS,KAAK,UAAU,IAAI,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAKzE;IAED,kBAAkB;IAIZ,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAqEpH;;;OAGG;IACH,OAAO,CAAC,IAAI;IAcZ;;OAEG;IACH,OAAO,CAAC,wBAAwB,CA4B/B;IAED,OAAO,CAAC,KAAK;IAOb,OAAO,CAAC,IAAI;CAQb"}
@@ -1,7 +1,7 @@
1
1
  import type { Address } from '@xylabs/hex';
2
2
  import type { QueryBoundWitness } from '@xyo-network/boundwitness-model';
3
3
  import type { ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
4
- import type { Schema } from '@xyo-network/payload-model';
4
+ import { type Schema, type WithStorageMeta } from '@xyo-network/payload-model';
5
5
  import { AsyncQueryBusBase } from './AsyncQueryBusBase.ts';
6
6
  import type { AsyncQueryBusHostParams } from './model/index.ts';
7
7
  export interface ExposeOptions {
@@ -25,11 +25,42 @@ export declare class AsyncQueryBusHost<TParams extends AsyncQueryBusHostParams =
25
25
  addToResolvers?: boolean;
26
26
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
27
27
  allowNameResolution?: boolean;
28
- 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 & {
29
- schema: "network.xyo.module.config";
30
- }, "schema"> & {
31
- schema: string;
32
- };
28
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
29
+ schema: Schema;
30
+ readonly archiving?: {
31
+ readonly archivists?: string[] | undefined;
32
+ readonly queries?: string[] | undefined;
33
+ } | undefined;
34
+ readonly allowedQueries?: string[] | undefined;
35
+ readonly archivist?: ModuleIdentifier | undefined;
36
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
37
+ readonly labels?: {
38
+ [x: string]: string | undefined;
39
+ } | undefined;
40
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
41
+ readonly paging?: {
42
+ [x: string]: {
43
+ size?: number | undefined;
44
+ };
45
+ } | undefined;
46
+ readonly retry?: {
47
+ backoff?: number | undefined;
48
+ interval?: number | undefined;
49
+ retries?: number | undefined;
50
+ } | undefined;
51
+ readonly security?: {
52
+ readonly allowAnonymous?: boolean | undefined;
53
+ readonly allowed?: {
54
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
55
+ } | undefined;
56
+ readonly disallowed?: {
57
+ [x: string]: Lowercase<string>[];
58
+ } | undefined;
59
+ } | undefined;
60
+ readonly sign?: boolean | undefined;
61
+ readonly storeQueries?: boolean | undefined;
62
+ readonly timestamp?: boolean | undefined;
63
+ }>;
33
64
  ephemeralQueryAccountEnabled?: boolean;
34
65
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
35
66
  }, import("@xyo-network/module-model").ModuleEventData<object>> | undefined;
@@ -41,20 +72,51 @@ export declare class AsyncQueryBusHost<TParams extends AsyncQueryBusHostParams =
41
72
  addToResolvers?: boolean;
42
73
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
43
74
  allowNameResolution?: boolean;
44
- 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 & {
45
- schema: "network.xyo.module.config";
46
- }, "schema"> & {
47
- schema: string;
48
- };
75
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
76
+ schema: import("@xyo-network/payload-model").Schema;
77
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
78
+ readonly archiving?: {
79
+ readonly archivists?: string[] | undefined;
80
+ readonly queries?: string[] | undefined;
81
+ } | undefined;
82
+ readonly allowedQueries?: string[] | undefined;
83
+ readonly archivist?: string | undefined;
84
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
85
+ readonly labels?: {
86
+ [x: string]: string | undefined;
87
+ } | undefined;
88
+ readonly paging?: {
89
+ [x: string]: {
90
+ size?: number | undefined;
91
+ };
92
+ } | undefined;
93
+ readonly retry?: {
94
+ backoff?: number | undefined;
95
+ interval?: number | undefined;
96
+ retries?: number | undefined;
97
+ } | undefined;
98
+ readonly security?: {
99
+ readonly allowAnonymous?: boolean | undefined;
100
+ readonly allowed?: {
101
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
102
+ } | undefined;
103
+ readonly disallowed?: {
104
+ [x: string]: Lowercase<string>[];
105
+ } | undefined;
106
+ } | undefined;
107
+ readonly sign?: boolean | undefined;
108
+ readonly storeQueries?: boolean | undefined;
109
+ readonly timestamp?: boolean | undefined;
110
+ }>;
49
111
  ephemeralQueryAccountEnabled?: boolean;
50
112
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
51
113
  }, import("@xyo-network/module-model").ModuleEventData<object>> | undefined>;
52
- protected callLocalModule: (localModule: ModuleInstance, query: QueryBoundWitness) => Promise<void>;
114
+ protected callLocalModule: (localModule: ModuleInstance, query: WithStorageMeta<QueryBoundWitness>) => Promise<void>;
53
115
  /**
54
116
  * Finds unprocessed commands addressed to the supplied address
55
117
  * @param address The address to find commands for
56
118
  */
57
- protected findQueriesToAddress: (address: Address) => Promise<import("@xyo-network/boundwitness-model").UnsignedQueryBoundWitness[] | undefined>;
119
+ protected findQueriesToAddress: (address: Address) => Promise<WithStorageMeta<import("@xyo-network/boundwitness-model").UnsignedQueryBoundWitness>[] | undefined>;
58
120
  /**
59
121
  * Runs the background divine process on a loop with a delay
60
122
  * specified by the `config.pollFrequency`
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncQueryBusHost.d.ts","sourceRoot":"","sources":["../../../src/AsyncQueryBus/AsyncQueryBusHost.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAKxE,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAQlC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAE/D,MAAM,WAAW,aAAa;IAC5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AAUD,qBAAa,iBAAiB,CAAC,OAAO,SAAS,uBAAuB,GAAG,uBAAuB,CAAE,SAAQ,iBAAiB,CAAC,OAAO,CAAC;IAClI,SAAS,CAAC,iBAAiB,yBAAqB;IAChD,OAAO,CAAC,cAAc,CAAqC;IAC3D,OAAO,CAAC,KAAK,CAAQ;IACrB,OAAO,CAAC,cAAc,CAAC,CAAQ;IAC/B,OAAO,CAAC,OAAO,CAAC,CAAQ;gBAEZ,MAAM,EAAE,OAAO;IAI3B,IAAI,gBAAgB,2BAEnB;IAED,IAAI,iBAAiB,WASpB;IAED,IAAI,aAAa,WASh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C,oBAAoB,YAAmB,OAAO,iHAgCvD;IAED;;;OAGG;IACH,OAAO,CAAC,IAAI;IAqBZ;;OAEG;IACH,OAAO,CAAC,sBAAsB,CAsB7B;CACF"}
@@ -13,11 +13,42 @@ export declare class PubSubBridgeModuleResolver extends AbstractBridgeModuleReso
13
13
  addToResolvers?: boolean;
14
14
  additionalSigners?: import("@xyo-network/account").AccountInstance[];
15
15
  allowNameResolution?: boolean;
16
- 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 & {
17
- schema: "network.xyo.module.config";
18
- }, "schema"> & {
19
- schema: string;
20
- };
16
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
17
+ schema: import("@xyo-network/payload-model").Schema;
18
+ readonly archiving?: {
19
+ readonly archivists?: string[] | undefined;
20
+ readonly queries?: string[] | undefined;
21
+ } | undefined;
22
+ readonly allowedQueries?: string[] | undefined;
23
+ readonly archivist?: ModuleIdentifier | 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;
51
+ }>;
21
52
  ephemeralQueryAccountEnabled?: boolean;
22
53
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
23
54
  }, import("@xyo-network/module-model").ModuleEventData<object>>, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"PubSubBridgeModuleResolver.d.ts","sourceRoot":"","sources":["../../src/PubSubBridgeModuleResolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,EAAE,4BAA4B,EAAsB,MAAM,8BAA8B,CAAA;AAG/F,OAAO,KAAK,EAEV,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAMlC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,KAAK,EAAE,mBAAmB,EAAkC,MAAM,0BAA0B,CAAA;AAGnG,MAAM,WAAW,gCAAiC,SAAQ,0BAA0B;IAClF,SAAS,EAAE,mBAAmB,CAAA;CAC/B;AAED,qBAAa,0BAA2B,SAAQ,4BAA4B,CAAC,gCAAgC,CAAC;IAC5G,SAAS,CAAC,cAAc;;;;;;;;;;;;8EAAuD;IAC/E,SAAS,CAAC,mBAAmB,QAAc;IAE5B,cAAc,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EAAE,EAAE,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;CA8C/I"}
1
+ {"version":3,"file":"PubSubBridgeModuleResolver.d.ts","sourceRoot":"","sources":["../../src/PubSubBridgeModuleResolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,EAAE,4BAA4B,EAAsB,MAAM,8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