@xyo-network/diviner-temporal-indexing-memory 3.9.1 → 3.9.3

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.
@@ -6,9 +6,9 @@ import { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
6
6
  import { AbstractDiviner } from '@xyo-network/diviner-abstract';
7
7
  import { SchemaToPayloadTransformersDictionary, SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
8
8
  import * as _xyo_network_module_model from '@xyo-network/module-model';
9
- import { Labels, ModuleState, ModuleIdentifier } from '@xyo-network/module-model';
10
- import * as _xyo_network_diviner_payload_model from '@xyo-network/diviner-payload-model';
11
- import * as _xylabs_logger from '@xylabs/logger';
9
+ import { Labels, ModuleState } from '@xyo-network/module-model';
10
+ import * as _xyo_network_diviner_boundwitness_model from '@xyo-network/diviner-boundwitness-model';
11
+ import { BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model';
12
12
  import * as _xyo_network_account_model from '@xyo-network/account-model';
13
13
  import * as _xylabs_object from '@xylabs/object';
14
14
  import { ArchivistInstance } from '@xyo-network/archivist-model';
@@ -79,207 +79,26 @@ declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extend
79
79
  addToResolvers?: boolean;
80
80
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
81
81
  allowNameResolution?: boolean;
82
- config: _xylabs_object.DeepRestrictToStringKeys<{
83
- schema: Schema;
84
- readonly archiving?: {
85
- readonly archivists?: string[] | undefined;
86
- readonly queries?: string[] | undefined;
87
- } | undefined;
88
- readonly allowedQueries?: string[] | undefined;
89
- readonly archivist?: ModuleIdentifier | undefined;
90
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
91
- readonly labels?: {
92
- [x: string]: string | undefined;
93
- } | undefined;
94
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
95
- readonly paging?: {
96
- [x: string]: {
97
- size?: number | undefined;
98
- };
99
- } | undefined;
100
- readonly retry?: {
101
- backoff?: number | undefined;
102
- interval?: number | undefined;
103
- retries?: number | undefined;
104
- } | undefined;
105
- readonly security?: {
106
- readonly allowAnonymous?: boolean | undefined;
107
- readonly allowed?: {
108
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
109
- } | undefined;
110
- readonly disallowed?: {
111
- [x: string]: Lowercase<string>[];
112
- } | undefined;
113
- } | undefined;
114
- readonly sign?: boolean | undefined;
115
- readonly storeQueries?: boolean | undefined;
116
- readonly timestamp?: boolean | undefined;
117
- }>;
82
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<Payload>>;
118
83
  ephemeralQueryAccountEnabled?: boolean;
119
84
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
120
- }, _xylabs_object.DeepRestrictToStringKeys<{
121
- schema: "network.xyo.diviner.boundwitness.query";
122
- block?: Lowercase<string> | undefined;
123
- chain?: Lowercase<string> | undefined;
124
- root?: Lowercase<string> | undefined;
125
- addresses?: Lowercase<string>[] | undefined;
126
- payload_hashes?: Lowercase<string>[] | undefined;
127
- payload_schemas?: string[] | undefined;
128
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
129
- limit?: number | undefined;
130
- cursor?: Lowercase<string> | undefined;
131
- order?: _xyo_network_diviner_payload_model.Order | undefined;
132
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
133
- budget?: number | undefined;
134
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
135
- minBid?: number | undefined;
136
- destination?: string[] | undefined;
137
- sourceQuery?: string | undefined;
138
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
85
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
139
86
  account?: _xyo_network_account_model.AccountInstance | "random";
140
87
  addToResolvers?: boolean;
141
88
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
142
89
  allowNameResolution?: boolean;
143
- config: _xylabs_object.DeepRestrictToStringKeys<{
144
- schema: Schema;
145
- readonly archiving?: {
146
- readonly archivists?: string[] | undefined;
147
- readonly queries?: string[] | undefined;
148
- } | undefined;
149
- readonly allowedQueries?: string[] | undefined;
150
- readonly archivist?: ModuleIdentifier | undefined;
151
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
152
- readonly labels?: {
153
- [x: string]: string | undefined;
154
- } | undefined;
155
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
156
- readonly paging?: {
157
- [x: string]: {
158
- size?: number | undefined;
159
- };
160
- } | undefined;
161
- readonly retry?: {
162
- backoff?: number | undefined;
163
- interval?: number | undefined;
164
- retries?: number | undefined;
165
- } | undefined;
166
- readonly security?: {
167
- readonly allowAnonymous?: boolean | undefined;
168
- readonly allowed?: {
169
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
170
- } | undefined;
171
- readonly disallowed?: {
172
- [x: string]: Lowercase<string>[];
173
- } | undefined;
174
- } | undefined;
175
- readonly sign?: boolean | undefined;
176
- readonly storeQueries?: boolean | undefined;
177
- readonly timestamp?: boolean | undefined;
178
- }>;
90
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<Payload>>;
179
91
  ephemeralQueryAccountEnabled?: boolean;
180
92
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
181
- }, _xylabs_object.DeepRestrictToStringKeys<{
182
- schema: "network.xyo.diviner.boundwitness.query";
183
- block?: Lowercase<string> | undefined;
184
- chain?: Lowercase<string> | undefined;
185
- root?: Lowercase<string> | undefined;
186
- addresses?: Lowercase<string>[] | undefined;
187
- payload_hashes?: Lowercase<string>[] | undefined;
188
- payload_schemas?: string[] | undefined;
189
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
190
- limit?: number | undefined;
191
- cursor?: Lowercase<string> | undefined;
192
- order?: _xyo_network_diviner_payload_model.Order | undefined;
193
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
194
- budget?: number | undefined;
195
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
196
- minBid?: number | undefined;
197
- destination?: string[] | undefined;
198
- sourceQuery?: string | undefined;
199
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
93
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
200
94
  account?: _xyo_network_account_model.AccountInstance | "random";
201
95
  addToResolvers?: boolean;
202
96
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
203
97
  allowNameResolution?: boolean;
204
- config: _xylabs_object.DeepRestrictToStringKeys<{
205
- schema: Schema;
206
- readonly archiving?: {
207
- readonly archivists?: string[] | undefined;
208
- readonly queries?: string[] | undefined;
209
- } | undefined;
210
- readonly allowedQueries?: string[] | undefined;
211
- readonly archivist?: ModuleIdentifier | undefined;
212
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
213
- readonly labels?: {
214
- [x: string]: string | undefined;
215
- } | undefined;
216
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
217
- readonly paging?: {
218
- [x: string]: {
219
- size?: number | undefined;
220
- };
221
- } | undefined;
222
- readonly retry?: {
223
- backoff?: number | undefined;
224
- interval?: number | undefined;
225
- retries?: number | undefined;
226
- } | undefined;
227
- readonly security?: {
228
- readonly allowAnonymous?: boolean | undefined;
229
- readonly allowed?: {
230
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
231
- } | undefined;
232
- readonly disallowed?: {
233
- [x: string]: Lowercase<string>[];
234
- } | undefined;
235
- } | undefined;
236
- readonly sign?: boolean | undefined;
237
- readonly storeQueries?: boolean | undefined;
238
- readonly timestamp?: boolean | undefined;
239
- }>;
98
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
240
99
  ephemeralQueryAccountEnabled?: boolean;
241
100
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
242
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
243
- schema: Schema;
244
- }>, _xylabs_object.DeepRestrictToStringKeys<{
245
- schema: Schema;
246
- }>>>, _xylabs_object.DeepRestrictToStringKeys<{
247
- schema: "network.xyo.diviner.boundwitness.query";
248
- block?: Lowercase<string> | undefined;
249
- chain?: Lowercase<string> | undefined;
250
- root?: Lowercase<string> | undefined;
251
- addresses?: Lowercase<string>[] | undefined;
252
- payload_hashes?: Lowercase<string>[] | undefined;
253
- payload_schemas?: string[] | undefined;
254
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
255
- limit?: number | undefined;
256
- cursor?: Lowercase<string> | undefined;
257
- order?: _xyo_network_diviner_payload_model.Order | undefined;
258
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
259
- budget?: number | undefined;
260
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
261
- minBid?: number | undefined;
262
- destination?: string[] | undefined;
263
- sourceQuery?: string | undefined;
264
- }>, BoundWitness>>, _xylabs_object.DeepRestrictToStringKeys<{
265
- schema: "network.xyo.diviner.boundwitness.query";
266
- block?: Lowercase<string> | undefined;
267
- chain?: Lowercase<string> | undefined;
268
- root?: Lowercase<string> | undefined;
269
- addresses?: Lowercase<string>[] | undefined;
270
- payload_hashes?: Lowercase<string>[] | undefined;
271
- payload_schemas?: string[] | undefined;
272
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
273
- limit?: number | undefined;
274
- cursor?: Lowercase<string> | undefined;
275
- order?: _xyo_network_diviner_payload_model.Order | undefined;
276
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
277
- budget?: number | undefined;
278
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
279
- minBid?: number | undefined;
280
- destination?: string[] | undefined;
281
- sourceQuery?: string | undefined;
282
- }>, WithStorageMeta<BoundWitness>> | undefined>;
101
+ }, _xyo_network_module_model.ModuleEventData<object>>, Payload, Payload>>, BoundWitnessDivinerQueryPayload, BoundWitness>>, BoundWitnessDivinerQueryPayload, WithStorageMeta<BoundWitness>> | undefined>;
283
102
  protected getPayloadsInBoundWitness(bw: BoundWitness, archivist: ArchivistInstance): Promise<IndexCandidate[] | undefined>;
284
103
  }
285
104
 
@@ -6,9 +6,9 @@ import { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
6
6
  import { AbstractDiviner } from '@xyo-network/diviner-abstract';
7
7
  import { SchemaToPayloadTransformersDictionary, SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
8
8
  import * as _xyo_network_module_model from '@xyo-network/module-model';
9
- import { Labels, ModuleState, ModuleIdentifier } from '@xyo-network/module-model';
10
- import * as _xyo_network_diviner_payload_model from '@xyo-network/diviner-payload-model';
11
- import * as _xylabs_logger from '@xylabs/logger';
9
+ import { Labels, ModuleState } from '@xyo-network/module-model';
10
+ import * as _xyo_network_diviner_boundwitness_model from '@xyo-network/diviner-boundwitness-model';
11
+ import { BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model';
12
12
  import * as _xyo_network_account_model from '@xyo-network/account-model';
13
13
  import * as _xylabs_object from '@xylabs/object';
14
14
  import { ArchivistInstance } from '@xyo-network/archivist-model';
@@ -79,207 +79,26 @@ declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extend
79
79
  addToResolvers?: boolean;
80
80
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
81
81
  allowNameResolution?: boolean;
82
- config: _xylabs_object.DeepRestrictToStringKeys<{
83
- schema: Schema;
84
- readonly archiving?: {
85
- readonly archivists?: string[] | undefined;
86
- readonly queries?: string[] | undefined;
87
- } | undefined;
88
- readonly allowedQueries?: string[] | undefined;
89
- readonly archivist?: ModuleIdentifier | undefined;
90
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
91
- readonly labels?: {
92
- [x: string]: string | undefined;
93
- } | undefined;
94
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
95
- readonly paging?: {
96
- [x: string]: {
97
- size?: number | undefined;
98
- };
99
- } | undefined;
100
- readonly retry?: {
101
- backoff?: number | undefined;
102
- interval?: number | undefined;
103
- retries?: number | undefined;
104
- } | undefined;
105
- readonly security?: {
106
- readonly allowAnonymous?: boolean | undefined;
107
- readonly allowed?: {
108
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
109
- } | undefined;
110
- readonly disallowed?: {
111
- [x: string]: Lowercase<string>[];
112
- } | undefined;
113
- } | undefined;
114
- readonly sign?: boolean | undefined;
115
- readonly storeQueries?: boolean | undefined;
116
- readonly timestamp?: boolean | undefined;
117
- }>;
82
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<Payload>>;
118
83
  ephemeralQueryAccountEnabled?: boolean;
119
84
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
120
- }, _xylabs_object.DeepRestrictToStringKeys<{
121
- schema: "network.xyo.diviner.boundwitness.query";
122
- block?: Lowercase<string> | undefined;
123
- chain?: Lowercase<string> | undefined;
124
- root?: Lowercase<string> | undefined;
125
- addresses?: Lowercase<string>[] | undefined;
126
- payload_hashes?: Lowercase<string>[] | undefined;
127
- payload_schemas?: string[] | undefined;
128
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
129
- limit?: number | undefined;
130
- cursor?: Lowercase<string> | undefined;
131
- order?: _xyo_network_diviner_payload_model.Order | undefined;
132
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
133
- budget?: number | undefined;
134
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
135
- minBid?: number | undefined;
136
- destination?: string[] | undefined;
137
- sourceQuery?: string | undefined;
138
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
85
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
139
86
  account?: _xyo_network_account_model.AccountInstance | "random";
140
87
  addToResolvers?: boolean;
141
88
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
142
89
  allowNameResolution?: boolean;
143
- config: _xylabs_object.DeepRestrictToStringKeys<{
144
- schema: Schema;
145
- readonly archiving?: {
146
- readonly archivists?: string[] | undefined;
147
- readonly queries?: string[] | undefined;
148
- } | undefined;
149
- readonly allowedQueries?: string[] | undefined;
150
- readonly archivist?: ModuleIdentifier | undefined;
151
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
152
- readonly labels?: {
153
- [x: string]: string | undefined;
154
- } | undefined;
155
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
156
- readonly paging?: {
157
- [x: string]: {
158
- size?: number | undefined;
159
- };
160
- } | undefined;
161
- readonly retry?: {
162
- backoff?: number | undefined;
163
- interval?: number | undefined;
164
- retries?: number | undefined;
165
- } | undefined;
166
- readonly security?: {
167
- readonly allowAnonymous?: boolean | undefined;
168
- readonly allowed?: {
169
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
170
- } | undefined;
171
- readonly disallowed?: {
172
- [x: string]: Lowercase<string>[];
173
- } | undefined;
174
- } | undefined;
175
- readonly sign?: boolean | undefined;
176
- readonly storeQueries?: boolean | undefined;
177
- readonly timestamp?: boolean | undefined;
178
- }>;
90
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<Payload>>;
179
91
  ephemeralQueryAccountEnabled?: boolean;
180
92
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
181
- }, _xylabs_object.DeepRestrictToStringKeys<{
182
- schema: "network.xyo.diviner.boundwitness.query";
183
- block?: Lowercase<string> | undefined;
184
- chain?: Lowercase<string> | undefined;
185
- root?: Lowercase<string> | undefined;
186
- addresses?: Lowercase<string>[] | undefined;
187
- payload_hashes?: Lowercase<string>[] | undefined;
188
- payload_schemas?: string[] | undefined;
189
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
190
- limit?: number | undefined;
191
- cursor?: Lowercase<string> | undefined;
192
- order?: _xyo_network_diviner_payload_model.Order | undefined;
193
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
194
- budget?: number | undefined;
195
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
196
- minBid?: number | undefined;
197
- destination?: string[] | undefined;
198
- sourceQuery?: string | undefined;
199
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
93
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
200
94
  account?: _xyo_network_account_model.AccountInstance | "random";
201
95
  addToResolvers?: boolean;
202
96
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
203
97
  allowNameResolution?: boolean;
204
- config: _xylabs_object.DeepRestrictToStringKeys<{
205
- schema: Schema;
206
- readonly archiving?: {
207
- readonly archivists?: string[] | undefined;
208
- readonly queries?: string[] | undefined;
209
- } | undefined;
210
- readonly allowedQueries?: string[] | undefined;
211
- readonly archivist?: ModuleIdentifier | undefined;
212
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
213
- readonly labels?: {
214
- [x: string]: string | undefined;
215
- } | undefined;
216
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
217
- readonly paging?: {
218
- [x: string]: {
219
- size?: number | undefined;
220
- };
221
- } | undefined;
222
- readonly retry?: {
223
- backoff?: number | undefined;
224
- interval?: number | undefined;
225
- retries?: number | undefined;
226
- } | undefined;
227
- readonly security?: {
228
- readonly allowAnonymous?: boolean | undefined;
229
- readonly allowed?: {
230
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
231
- } | undefined;
232
- readonly disallowed?: {
233
- [x: string]: Lowercase<string>[];
234
- } | undefined;
235
- } | undefined;
236
- readonly sign?: boolean | undefined;
237
- readonly storeQueries?: boolean | undefined;
238
- readonly timestamp?: boolean | undefined;
239
- }>;
98
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
240
99
  ephemeralQueryAccountEnabled?: boolean;
241
100
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
242
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
243
- schema: Schema;
244
- }>, _xylabs_object.DeepRestrictToStringKeys<{
245
- schema: Schema;
246
- }>>>, _xylabs_object.DeepRestrictToStringKeys<{
247
- schema: "network.xyo.diviner.boundwitness.query";
248
- block?: Lowercase<string> | undefined;
249
- chain?: Lowercase<string> | undefined;
250
- root?: Lowercase<string> | undefined;
251
- addresses?: Lowercase<string>[] | undefined;
252
- payload_hashes?: Lowercase<string>[] | undefined;
253
- payload_schemas?: string[] | undefined;
254
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
255
- limit?: number | undefined;
256
- cursor?: Lowercase<string> | undefined;
257
- order?: _xyo_network_diviner_payload_model.Order | undefined;
258
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
259
- budget?: number | undefined;
260
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
261
- minBid?: number | undefined;
262
- destination?: string[] | undefined;
263
- sourceQuery?: string | undefined;
264
- }>, BoundWitness>>, _xylabs_object.DeepRestrictToStringKeys<{
265
- schema: "network.xyo.diviner.boundwitness.query";
266
- block?: Lowercase<string> | undefined;
267
- chain?: Lowercase<string> | undefined;
268
- root?: Lowercase<string> | undefined;
269
- addresses?: Lowercase<string>[] | undefined;
270
- payload_hashes?: Lowercase<string>[] | undefined;
271
- payload_schemas?: string[] | undefined;
272
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
273
- limit?: number | undefined;
274
- cursor?: Lowercase<string> | undefined;
275
- order?: _xyo_network_diviner_payload_model.Order | undefined;
276
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
277
- budget?: number | undefined;
278
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
279
- minBid?: number | undefined;
280
- destination?: string[] | undefined;
281
- sourceQuery?: string | undefined;
282
- }>, WithStorageMeta<BoundWitness>> | undefined>;
101
+ }, _xyo_network_module_model.ModuleEventData<object>>, Payload, Payload>>, BoundWitnessDivinerQueryPayload, BoundWitness>>, BoundWitnessDivinerQueryPayload, WithStorageMeta<BoundWitness>> | undefined>;
283
102
  protected getPayloadsInBoundWitness(bw: BoundWitness, archivist: ArchivistInstance): Promise<IndexCandidate[] | undefined>;
284
103
  }
285
104
 
@@ -6,9 +6,9 @@ import { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
6
6
  import { AbstractDiviner } from '@xyo-network/diviner-abstract';
7
7
  import { SchemaToPayloadTransformersDictionary, SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
8
8
  import * as _xyo_network_module_model from '@xyo-network/module-model';
9
- import { Labels, ModuleState, ModuleIdentifier } from '@xyo-network/module-model';
10
- import * as _xyo_network_diviner_payload_model from '@xyo-network/diviner-payload-model';
11
- import * as _xylabs_logger from '@xylabs/logger';
9
+ import { Labels, ModuleState } from '@xyo-network/module-model';
10
+ import * as _xyo_network_diviner_boundwitness_model from '@xyo-network/diviner-boundwitness-model';
11
+ import { BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model';
12
12
  import * as _xyo_network_account_model from '@xyo-network/account-model';
13
13
  import * as _xylabs_object from '@xylabs/object';
14
14
  import { ArchivistInstance } from '@xyo-network/archivist-model';
@@ -79,207 +79,26 @@ declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extend
79
79
  addToResolvers?: boolean;
80
80
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
81
81
  allowNameResolution?: boolean;
82
- config: _xylabs_object.DeepRestrictToStringKeys<{
83
- schema: Schema;
84
- readonly archiving?: {
85
- readonly archivists?: string[] | undefined;
86
- readonly queries?: string[] | undefined;
87
- } | undefined;
88
- readonly allowedQueries?: string[] | undefined;
89
- readonly archivist?: ModuleIdentifier | undefined;
90
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
91
- readonly labels?: {
92
- [x: string]: string | undefined;
93
- } | undefined;
94
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
95
- readonly paging?: {
96
- [x: string]: {
97
- size?: number | undefined;
98
- };
99
- } | undefined;
100
- readonly retry?: {
101
- backoff?: number | undefined;
102
- interval?: number | undefined;
103
- retries?: number | undefined;
104
- } | undefined;
105
- readonly security?: {
106
- readonly allowAnonymous?: boolean | undefined;
107
- readonly allowed?: {
108
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
109
- } | undefined;
110
- readonly disallowed?: {
111
- [x: string]: Lowercase<string>[];
112
- } | undefined;
113
- } | undefined;
114
- readonly sign?: boolean | undefined;
115
- readonly storeQueries?: boolean | undefined;
116
- readonly timestamp?: boolean | undefined;
117
- }>;
82
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<Payload>>;
118
83
  ephemeralQueryAccountEnabled?: boolean;
119
84
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
120
- }, _xylabs_object.DeepRestrictToStringKeys<{
121
- schema: "network.xyo.diviner.boundwitness.query";
122
- block?: Lowercase<string> | undefined;
123
- chain?: Lowercase<string> | undefined;
124
- root?: Lowercase<string> | undefined;
125
- addresses?: Lowercase<string>[] | undefined;
126
- payload_hashes?: Lowercase<string>[] | undefined;
127
- payload_schemas?: string[] | undefined;
128
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
129
- limit?: number | undefined;
130
- cursor?: Lowercase<string> | undefined;
131
- order?: _xyo_network_diviner_payload_model.Order | undefined;
132
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
133
- budget?: number | undefined;
134
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
135
- minBid?: number | undefined;
136
- destination?: string[] | undefined;
137
- sourceQuery?: string | undefined;
138
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
85
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_diviner_model.DivinerInstance<_xylabs_object.BaseParamsFields & {
139
86
  account?: _xyo_network_account_model.AccountInstance | "random";
140
87
  addToResolvers?: boolean;
141
88
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
142
89
  allowNameResolution?: boolean;
143
- config: _xylabs_object.DeepRestrictToStringKeys<{
144
- schema: Schema;
145
- readonly archiving?: {
146
- readonly archivists?: string[] | undefined;
147
- readonly queries?: string[] | undefined;
148
- } | undefined;
149
- readonly allowedQueries?: string[] | undefined;
150
- readonly archivist?: ModuleIdentifier | undefined;
151
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
152
- readonly labels?: {
153
- [x: string]: string | undefined;
154
- } | undefined;
155
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
156
- readonly paging?: {
157
- [x: string]: {
158
- size?: number | undefined;
159
- };
160
- } | undefined;
161
- readonly retry?: {
162
- backoff?: number | undefined;
163
- interval?: number | undefined;
164
- retries?: number | undefined;
165
- } | undefined;
166
- readonly security?: {
167
- readonly allowAnonymous?: boolean | undefined;
168
- readonly allowed?: {
169
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
170
- } | undefined;
171
- readonly disallowed?: {
172
- [x: string]: Lowercase<string>[];
173
- } | undefined;
174
- } | undefined;
175
- readonly sign?: boolean | undefined;
176
- readonly storeQueries?: boolean | undefined;
177
- readonly timestamp?: boolean | undefined;
178
- }>;
90
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_diviner_boundwitness_model.BoundWitnessDivinerConfig<Payload>>;
179
91
  ephemeralQueryAccountEnabled?: boolean;
180
92
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
181
- }, _xylabs_object.DeepRestrictToStringKeys<{
182
- schema: "network.xyo.diviner.boundwitness.query";
183
- block?: Lowercase<string> | undefined;
184
- chain?: Lowercase<string> | undefined;
185
- root?: Lowercase<string> | undefined;
186
- addresses?: Lowercase<string>[] | undefined;
187
- payload_hashes?: Lowercase<string>[] | undefined;
188
- payload_schemas?: string[] | undefined;
189
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
190
- limit?: number | undefined;
191
- cursor?: Lowercase<string> | undefined;
192
- order?: _xyo_network_diviner_payload_model.Order | undefined;
193
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
194
- budget?: number | undefined;
195
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
196
- minBid?: number | undefined;
197
- destination?: string[] | undefined;
198
- sourceQuery?: string | undefined;
199
- }>, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
93
+ }, BoundWitnessDivinerQueryPayload, BoundWitness, _xyo_network_diviner_model.DivinerModuleEventData<_xyo_network_module_model.ModuleInstance<_xylabs_object.BaseParamsFields & {
200
94
  account?: _xyo_network_account_model.AccountInstance | "random";
201
95
  addToResolvers?: boolean;
202
96
  additionalSigners?: _xyo_network_account_model.AccountInstance[];
203
97
  allowNameResolution?: boolean;
204
- config: _xylabs_object.DeepRestrictToStringKeys<{
205
- schema: Schema;
206
- readonly archiving?: {
207
- readonly archivists?: string[] | undefined;
208
- readonly queries?: string[] | undefined;
209
- } | undefined;
210
- readonly allowedQueries?: string[] | undefined;
211
- readonly archivist?: ModuleIdentifier | undefined;
212
- readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
213
- readonly labels?: {
214
- [x: string]: string | undefined;
215
- } | undefined;
216
- readonly name?: _xyo_network_module_model.ModuleName | undefined;
217
- readonly paging?: {
218
- [x: string]: {
219
- size?: number | undefined;
220
- };
221
- } | undefined;
222
- readonly retry?: {
223
- backoff?: number | undefined;
224
- interval?: number | undefined;
225
- retries?: number | undefined;
226
- } | undefined;
227
- readonly security?: {
228
- readonly allowAnonymous?: boolean | undefined;
229
- readonly allowed?: {
230
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
231
- } | undefined;
232
- readonly disallowed?: {
233
- [x: string]: Lowercase<string>[];
234
- } | undefined;
235
- } | undefined;
236
- readonly sign?: boolean | undefined;
237
- readonly storeQueries?: boolean | undefined;
238
- readonly timestamp?: boolean | undefined;
239
- }>;
98
+ config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_module_model.ModuleConfig<void, void>>;
240
99
  ephemeralQueryAccountEnabled?: boolean;
241
100
  moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
242
- }, _xyo_network_module_model.ModuleEventData<object>>, _xylabs_object.DeepRestrictToStringKeys<{
243
- schema: Schema;
244
- }>, _xylabs_object.DeepRestrictToStringKeys<{
245
- schema: Schema;
246
- }>>>, _xylabs_object.DeepRestrictToStringKeys<{
247
- schema: "network.xyo.diviner.boundwitness.query";
248
- block?: Lowercase<string> | undefined;
249
- chain?: Lowercase<string> | undefined;
250
- root?: Lowercase<string> | undefined;
251
- addresses?: Lowercase<string>[] | undefined;
252
- payload_hashes?: Lowercase<string>[] | undefined;
253
- payload_schemas?: string[] | undefined;
254
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
255
- limit?: number | undefined;
256
- cursor?: Lowercase<string> | undefined;
257
- order?: _xyo_network_diviner_payload_model.Order | undefined;
258
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
259
- budget?: number | undefined;
260
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
261
- minBid?: number | undefined;
262
- destination?: string[] | undefined;
263
- sourceQuery?: string | undefined;
264
- }>, BoundWitness>>, _xylabs_object.DeepRestrictToStringKeys<{
265
- schema: "network.xyo.diviner.boundwitness.query";
266
- block?: Lowercase<string> | undefined;
267
- chain?: Lowercase<string> | undefined;
268
- root?: Lowercase<string> | undefined;
269
- addresses?: Lowercase<string>[] | undefined;
270
- payload_hashes?: Lowercase<string>[] | undefined;
271
- payload_schemas?: string[] | undefined;
272
- previous_hashes?: _xylabs_object.DeepRestrictToStringKeys<Lowercase<string> | null>[] | undefined;
273
- limit?: number | undefined;
274
- cursor?: Lowercase<string> | undefined;
275
- order?: _xyo_network_diviner_payload_model.Order | undefined;
276
- address?: Lowercase<string> | Lowercase<string>[] | undefined;
277
- budget?: number | undefined;
278
- maxFrequency?: "once" | "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
279
- minBid?: number | undefined;
280
- destination?: string[] | undefined;
281
- sourceQuery?: string | undefined;
282
- }>, WithStorageMeta<BoundWitness>> | undefined>;
101
+ }, _xyo_network_module_model.ModuleEventData<object>>, Payload, Payload>>, BoundWitnessDivinerQueryPayload, BoundWitness>>, BoundWitnessDivinerQueryPayload, WithStorageMeta<BoundWitness>> | undefined>;
283
102
  protected getPayloadsInBoundWitness(bw: BoundWitness, archivist: ArchivistInstance): Promise<IndexCandidate[] | undefined>;
284
103
  }
285
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-temporal-indexing-memory",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -33,38 +33,38 @@
33
33
  "@xylabs/assert": "^4.5.1",
34
34
  "@xylabs/exists": "^4.5.1",
35
35
  "@xylabs/hex": "^4.5.1",
36
- "@xyo-network/archivist-model": "^3.9.1",
37
- "@xyo-network/archivist-wrapper": "^3.9.1",
38
- "@xyo-network/boundwitness-model": "^3.9.1",
39
- "@xyo-network/boundwitness-validator": "^3.9.1",
40
- "@xyo-network/diviner-abstract": "^3.9.1",
41
- "@xyo-network/diviner-boundwitness-abstract": "^3.9.1",
42
- "@xyo-network/diviner-boundwitness-model": "^3.9.1",
43
- "@xyo-network/diviner-indexing-memory": "^3.9.1",
44
- "@xyo-network/diviner-indexing-model": "^3.9.1",
45
- "@xyo-network/diviner-jsonpath-aggregate-memory": "^3.9.1",
46
- "@xyo-network/diviner-jsonpath-model": "^3.9.1",
47
- "@xyo-network/diviner-model": "^3.9.1",
48
- "@xyo-network/diviner-payload-model": "^3.9.1",
49
- "@xyo-network/diviner-temporal-indexing-model": "^3.9.1",
50
- "@xyo-network/diviner-wrapper": "^3.9.1",
51
- "@xyo-network/module-model": "^3.9.1",
52
- "@xyo-network/payload-builder": "^3.9.1",
53
- "@xyo-network/payload-model": "^3.9.1",
54
- "@xyo-network/payload-utils": "^3.9.1",
55
- "@xyo-network/witness-timestamp": "^3.9.1"
36
+ "@xyo-network/archivist-model": "^3.9.3",
37
+ "@xyo-network/archivist-wrapper": "^3.9.3",
38
+ "@xyo-network/boundwitness-model": "^3.9.3",
39
+ "@xyo-network/boundwitness-validator": "^3.9.3",
40
+ "@xyo-network/diviner-abstract": "^3.9.3",
41
+ "@xyo-network/diviner-boundwitness-abstract": "^3.9.3",
42
+ "@xyo-network/diviner-boundwitness-model": "^3.9.3",
43
+ "@xyo-network/diviner-indexing-memory": "^3.9.3",
44
+ "@xyo-network/diviner-indexing-model": "^3.9.3",
45
+ "@xyo-network/diviner-jsonpath-aggregate-memory": "^3.9.3",
46
+ "@xyo-network/diviner-jsonpath-model": "^3.9.3",
47
+ "@xyo-network/diviner-model": "^3.9.3",
48
+ "@xyo-network/diviner-payload-model": "^3.9.3",
49
+ "@xyo-network/diviner-temporal-indexing-model": "^3.9.3",
50
+ "@xyo-network/diviner-wrapper": "^3.9.3",
51
+ "@xyo-network/module-model": "^3.9.3",
52
+ "@xyo-network/payload-builder": "^3.9.3",
53
+ "@xyo-network/payload-model": "^3.9.3",
54
+ "@xyo-network/payload-utils": "^3.9.3",
55
+ "@xyo-network/witness-timestamp": "^3.9.3"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@xylabs/delay": "^4.5.1",
59
59
  "@xylabs/ts-scripts-yarn3": "^5.0.24",
60
60
  "@xylabs/tsconfig": "^5.0.24",
61
61
  "@xylabs/vitest-extended": "^4.5.1",
62
- "@xyo-network/account": "^3.9.1",
63
- "@xyo-network/archivist-memory": "^3.9.1",
64
- "@xyo-network/boundwitness-builder": "^3.9.1",
65
- "@xyo-network/manifest": "^3.9.1",
66
- "@xyo-network/module-factory-locator": "^3.9.1",
67
- "@xyo-network/node-memory": "^3.9.1",
62
+ "@xyo-network/account": "^3.9.3",
63
+ "@xyo-network/archivist-memory": "^3.9.3",
64
+ "@xyo-network/boundwitness-builder": "^3.9.3",
65
+ "@xyo-network/manifest": "^3.9.3",
66
+ "@xyo-network/module-factory-locator": "^3.9.3",
67
+ "@xyo-network/node-memory": "^3.9.3",
68
68
  "typescript": "^5.7.3",
69
69
  "vitest": "^3.0.5"
70
70
  },