@xyo-network/diviner-stateful 2.87.0 → 2.87.1

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.
@@ -116,24 +116,157 @@ export declare const StatefulModuleMixin: <TParams extends import("@xyo-network/
116
116
  * @param store The store to retrieve the archivist for
117
117
  * @returns The archivist for the specified store
118
118
  */
119
- getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance>;
119
+ getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xyo-network/object").BaseParamsFields & {
120
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
121
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
122
+ readonly archivist?: string | undefined;
123
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
124
+ readonly name?: string | undefined;
125
+ readonly paging?: Record<string, {
126
+ size?: number | undefined;
127
+ }> | undefined;
128
+ schema: "network.xyo.archivist.config";
129
+ readonly security?: {
130
+ readonly allowAnonymous?: boolean | undefined;
131
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
132
+ readonly disallowed?: Record<string, string[]> | undefined;
133
+ } | undefined;
134
+ readonly sign?: boolean | undefined;
135
+ readonly storeQueries?: boolean | undefined;
136
+ readonly timestamp?: boolean | undefined;
137
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
138
+ readonly archivist?: string | undefined;
139
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
140
+ readonly name?: string | undefined;
141
+ readonly paging?: Record<string, {
142
+ size?: number | undefined;
143
+ }> | undefined;
144
+ schema: "network.xyo.archivist.config";
145
+ readonly security?: {
146
+ readonly allowAnonymous?: boolean | undefined;
147
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
148
+ readonly disallowed?: Record<string, string[]> | undefined;
149
+ } | undefined;
150
+ readonly sign?: boolean | undefined;
151
+ readonly storeQueries?: boolean | undefined;
152
+ readonly timestamp?: boolean | undefined;
153
+ } & {
154
+ parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
155
+ requireAllParents?: boolean | undefined;
156
+ schema: "network.xyo.archivist.config";
157
+ storeParentReads?: boolean | undefined;
158
+ }, "schema"> & {
159
+ schema: string;
160
+ };
161
+ ephemeralQueryAccountEnabled?: boolean | undefined;
162
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>;
120
163
  /**
121
164
  * Retrieves the BoundWitness Diviner for the specified store
122
165
  * @param store The store to retrieve the BoundWitness Diviner for
123
166
  * @returns The BoundWitness Diviner for the specified store
124
167
  */
125
- getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance>;
168
+ getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
169
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
170
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
171
+ readonly archivist?: string | undefined;
172
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
173
+ readonly name?: string | undefined;
174
+ readonly paging?: Record<string, {
175
+ size?: number | undefined;
176
+ }> | undefined;
177
+ schema: "network.xyo.diviner.config";
178
+ readonly security?: {
179
+ readonly allowAnonymous?: boolean | undefined;
180
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
+ readonly disallowed?: Record<string, string[]> | undefined;
182
+ } | undefined;
183
+ readonly sign?: boolean | undefined;
184
+ readonly storeQueries?: boolean | undefined;
185
+ readonly timestamp?: boolean | undefined;
186
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
187
+ readonly archivist?: string | undefined;
188
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
189
+ readonly name?: string | undefined;
190
+ readonly paging?: Record<string, {
191
+ size?: number | undefined;
192
+ }> | undefined;
193
+ schema: "network.xyo.diviner.config";
194
+ readonly security?: {
195
+ readonly allowAnonymous?: boolean | undefined;
196
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
197
+ readonly disallowed?: Record<string, string[]> | undefined;
198
+ } | undefined;
199
+ readonly sign?: boolean | undefined;
200
+ readonly storeQueries?: boolean | undefined;
201
+ readonly timestamp?: boolean | undefined;
202
+ } & {
203
+ schema: "network.xyo.diviner.config";
204
+ }, "schema"> & {
205
+ schema: string;
206
+ };
207
+ ephemeralQueryAccountEnabled?: boolean | undefined;
208
+ }, {
209
+ schema: string;
210
+ } & object, {
211
+ schema: string;
212
+ } & object>>;
126
213
  /**
127
214
  * Retrieves the Payload Diviner for the specified store
128
215
  * @param store The store to retrieve the Payload Diviner for
129
216
  * @returns The Payload Diviner for the specified store
130
217
  */
131
- getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance>;
218
+ getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
219
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
220
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
221
+ readonly archivist?: string | undefined;
222
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
223
+ readonly name?: string | undefined;
224
+ readonly paging?: Record<string, {
225
+ size?: number | undefined;
226
+ }> | undefined;
227
+ schema: "network.xyo.diviner.config";
228
+ readonly security?: {
229
+ readonly allowAnonymous?: boolean | undefined;
230
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
231
+ readonly disallowed?: Record<string, string[]> | undefined;
232
+ } | undefined;
233
+ readonly sign?: boolean | undefined;
234
+ readonly storeQueries?: boolean | undefined;
235
+ readonly timestamp?: boolean | undefined;
236
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
237
+ readonly archivist?: string | undefined;
238
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
239
+ readonly name?: string | undefined;
240
+ readonly paging?: Record<string, {
241
+ size?: number | undefined;
242
+ }> | undefined;
243
+ schema: "network.xyo.diviner.config";
244
+ readonly security?: {
245
+ readonly allowAnonymous?: boolean | undefined;
246
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
247
+ readonly disallowed?: Record<string, string[]> | undefined;
248
+ } | undefined;
249
+ readonly sign?: boolean | undefined;
250
+ readonly storeQueries?: boolean | undefined;
251
+ readonly timestamp?: boolean | undefined;
252
+ } & {
253
+ schema: "network.xyo.diviner.config";
254
+ }, "schema"> & {
255
+ schema: string;
256
+ };
257
+ ephemeralQueryAccountEnabled?: boolean | undefined;
258
+ }, {
259
+ schema: string;
260
+ } & object, {
261
+ schema: string;
262
+ } & object>>;
132
263
  /**
133
264
  * Retrieves the last state of the Diviner process. Used to recover state after
134
265
  * preemptions, reboots, etc.
135
266
  */
136
267
  retrieveState(): Promise<ModuleState<TState> | undefined>;
268
+ readonly downResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
269
+ readonly upResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
137
270
  address: string;
138
271
  config: TParams["config"];
139
272
  id: string;
@@ -501,7 +634,5 @@ export declare const StatefulModuleMixin: <TParams extends import("@xyo-network/
501
634
  previousHash?: string | undefined;
502
635
  schema: string;
503
636
  })[]>;
504
- readonly downResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
505
- readonly upResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
506
637
  }) & TModule;
507
638
  //# sourceMappingURL=DivinerMixin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DivinerMixin.d.ts","sourceRoot":"","sources":["../../src/DivinerMixin.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,eAAe,EAEf,cAAc,EACd,YAAY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in: <TParams extends import("@xyo-network/
116
116
  * @param store The store to retrieve the archivist for
117
117
  * @returns The archivist for the specified store
118
118
  */
119
- getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance>;
119
+ getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xyo-network/object").BaseParamsFields & {
120
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
121
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
122
+ readonly archivist?: string | undefined;
123
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
124
+ readonly name?: string | undefined;
125
+ readonly paging?: Record<string, {
126
+ size?: number | undefined;
127
+ }> | undefined;
128
+ schema: "network.xyo.archivist.config";
129
+ readonly security?: {
130
+ readonly allowAnonymous?: boolean | undefined;
131
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
132
+ readonly disallowed?: Record<string, string[]> | undefined;
133
+ } | undefined;
134
+ readonly sign?: boolean | undefined;
135
+ readonly storeQueries?: boolean | undefined;
136
+ readonly timestamp?: boolean | undefined;
137
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
138
+ readonly archivist?: string | undefined;
139
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
140
+ readonly name?: string | undefined;
141
+ readonly paging?: Record<string, {
142
+ size?: number | undefined;
143
+ }> | undefined;
144
+ schema: "network.xyo.archivist.config";
145
+ readonly security?: {
146
+ readonly allowAnonymous?: boolean | undefined;
147
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
148
+ readonly disallowed?: Record<string, string[]> | undefined;
149
+ } | undefined;
150
+ readonly sign?: boolean | undefined;
151
+ readonly storeQueries?: boolean | undefined;
152
+ readonly timestamp?: boolean | undefined;
153
+ } & {
154
+ parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
155
+ requireAllParents?: boolean | undefined;
156
+ schema: "network.xyo.archivist.config";
157
+ storeParentReads?: boolean | undefined;
158
+ }, "schema"> & {
159
+ schema: string;
160
+ };
161
+ ephemeralQueryAccountEnabled?: boolean | undefined;
162
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>;
120
163
  /**
121
164
  * Retrieves the BoundWitness Diviner for the specified store
122
165
  * @param store The store to retrieve the BoundWitness Diviner for
123
166
  * @returns The BoundWitness Diviner for the specified store
124
167
  */
125
- getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance>;
168
+ getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
169
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
170
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
171
+ readonly archivist?: string | undefined;
172
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
173
+ readonly name?: string | undefined;
174
+ readonly paging?: Record<string, {
175
+ size?: number | undefined;
176
+ }> | undefined;
177
+ schema: "network.xyo.diviner.config";
178
+ readonly security?: {
179
+ readonly allowAnonymous?: boolean | undefined;
180
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
+ readonly disallowed?: Record<string, string[]> | undefined;
182
+ } | undefined;
183
+ readonly sign?: boolean | undefined;
184
+ readonly storeQueries?: boolean | undefined;
185
+ readonly timestamp?: boolean | undefined;
186
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
187
+ readonly archivist?: string | undefined;
188
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
189
+ readonly name?: string | undefined;
190
+ readonly paging?: Record<string, {
191
+ size?: number | undefined;
192
+ }> | undefined;
193
+ schema: "network.xyo.diviner.config";
194
+ readonly security?: {
195
+ readonly allowAnonymous?: boolean | undefined;
196
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
197
+ readonly disallowed?: Record<string, string[]> | undefined;
198
+ } | undefined;
199
+ readonly sign?: boolean | undefined;
200
+ readonly storeQueries?: boolean | undefined;
201
+ readonly timestamp?: boolean | undefined;
202
+ } & {
203
+ schema: "network.xyo.diviner.config";
204
+ }, "schema"> & {
205
+ schema: string;
206
+ };
207
+ ephemeralQueryAccountEnabled?: boolean | undefined;
208
+ }, {
209
+ schema: string;
210
+ } & object, {
211
+ schema: string;
212
+ } & object>>;
126
213
  /**
127
214
  * Retrieves the Payload Diviner for the specified store
128
215
  * @param store The store to retrieve the Payload Diviner for
129
216
  * @returns The Payload Diviner for the specified store
130
217
  */
131
- getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance>;
218
+ getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
219
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
220
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
221
+ readonly archivist?: string | undefined;
222
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
223
+ readonly name?: string | undefined;
224
+ readonly paging?: Record<string, {
225
+ size?: number | undefined;
226
+ }> | undefined;
227
+ schema: "network.xyo.diviner.config";
228
+ readonly security?: {
229
+ readonly allowAnonymous?: boolean | undefined;
230
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
231
+ readonly disallowed?: Record<string, string[]> | undefined;
232
+ } | undefined;
233
+ readonly sign?: boolean | undefined;
234
+ readonly storeQueries?: boolean | undefined;
235
+ readonly timestamp?: boolean | undefined;
236
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
237
+ readonly archivist?: string | undefined;
238
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
239
+ readonly name?: string | undefined;
240
+ readonly paging?: Record<string, {
241
+ size?: number | undefined;
242
+ }> | undefined;
243
+ schema: "network.xyo.diviner.config";
244
+ readonly security?: {
245
+ readonly allowAnonymous?: boolean | undefined;
246
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
247
+ readonly disallowed?: Record<string, string[]> | undefined;
248
+ } | undefined;
249
+ readonly sign?: boolean | undefined;
250
+ readonly storeQueries?: boolean | undefined;
251
+ readonly timestamp?: boolean | undefined;
252
+ } & {
253
+ schema: "network.xyo.diviner.config";
254
+ }, "schema"> & {
255
+ schema: string;
256
+ };
257
+ ephemeralQueryAccountEnabled?: boolean | undefined;
258
+ }, {
259
+ schema: string;
260
+ } & object, {
261
+ schema: string;
262
+ } & object>>;
132
263
  /**
133
264
  * Retrieves the last state of the Diviner process. Used to recover state after
134
265
  * preemptions, reboots, etc.
135
266
  */
136
267
  retrieveState(): Promise<ModuleState<TState> | undefined>;
268
+ readonly downResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
269
+ readonly upResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
137
270
  address: string;
138
271
  config: TParams["config"];
139
272
  id: string;
@@ -501,7 +634,5 @@ export declare const StatefulModuleMixin: <TParams extends import("@xyo-network/
501
634
  previousHash?: string | undefined;
502
635
  schema: string;
503
636
  })[]>;
504
- readonly downResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
505
- readonly upResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
506
637
  }) & TModule;
507
638
  //# sourceMappingURL=DivinerMixin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DivinerMixin.d.ts","sourceRoot":"","sources":["../../src/DivinerMixin.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,eAAe,EAEf,cAAc,EACd,YAAY,EACZ,WAAW,EAEX,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAGlC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAEhD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,eAA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;AAGvF,MAAM,MAAM,SAAS,CAAC,OAAO,SAAS,oBAAoB,GAAG,oBAAoB,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,cAAc,CAAC,OAAO,CAAC,CAAA;AAIpI;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8JATmE,GAAG,EAAE;;IAmBpG;;;;;;OAMG;;IAWH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3EP;;;;WAIG;;;QAJH;;;;WAIG;;;;;;;;YAkHF,CAAA"}
@@ -116,24 +116,157 @@ export declare const StatefulModuleMixin: <TParams extends import("@xyo-network/
116
116
  * @param store The store to retrieve the archivist for
117
117
  * @returns The archivist for the specified store
118
118
  */
119
- getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance>;
119
+ getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xyo-network/object").BaseParamsFields & {
120
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
121
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
122
+ readonly archivist?: string | undefined;
123
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
124
+ readonly name?: string | undefined;
125
+ readonly paging?: Record<string, {
126
+ size?: number | undefined;
127
+ }> | undefined;
128
+ schema: "network.xyo.archivist.config";
129
+ readonly security?: {
130
+ readonly allowAnonymous?: boolean | undefined;
131
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
132
+ readonly disallowed?: Record<string, string[]> | undefined;
133
+ } | undefined;
134
+ readonly sign?: boolean | undefined;
135
+ readonly storeQueries?: boolean | undefined;
136
+ readonly timestamp?: boolean | undefined;
137
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
138
+ readonly archivist?: string | undefined;
139
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
140
+ readonly name?: string | undefined;
141
+ readonly paging?: Record<string, {
142
+ size?: number | undefined;
143
+ }> | undefined;
144
+ schema: "network.xyo.archivist.config";
145
+ readonly security?: {
146
+ readonly allowAnonymous?: boolean | undefined;
147
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
148
+ readonly disallowed?: Record<string, string[]> | undefined;
149
+ } | undefined;
150
+ readonly sign?: boolean | undefined;
151
+ readonly storeQueries?: boolean | undefined;
152
+ readonly timestamp?: boolean | undefined;
153
+ } & {
154
+ parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
155
+ requireAllParents?: boolean | undefined;
156
+ schema: "network.xyo.archivist.config";
157
+ storeParentReads?: boolean | undefined;
158
+ }, "schema"> & {
159
+ schema: string;
160
+ };
161
+ ephemeralQueryAccountEnabled?: boolean | undefined;
162
+ }, import("@xyo-network/archivist-model").ArchivistModuleEventData>>;
120
163
  /**
121
164
  * Retrieves the BoundWitness Diviner for the specified store
122
165
  * @param store The store to retrieve the BoundWitness Diviner for
123
166
  * @returns The BoundWitness Diviner for the specified store
124
167
  */
125
- getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance>;
168
+ getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
169
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
170
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
171
+ readonly archivist?: string | undefined;
172
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
173
+ readonly name?: string | undefined;
174
+ readonly paging?: Record<string, {
175
+ size?: number | undefined;
176
+ }> | undefined;
177
+ schema: "network.xyo.diviner.config";
178
+ readonly security?: {
179
+ readonly allowAnonymous?: boolean | undefined;
180
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
181
+ readonly disallowed?: Record<string, string[]> | undefined;
182
+ } | undefined;
183
+ readonly sign?: boolean | undefined;
184
+ readonly storeQueries?: boolean | undefined;
185
+ readonly timestamp?: boolean | undefined;
186
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
187
+ readonly archivist?: string | undefined;
188
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
189
+ readonly name?: string | undefined;
190
+ readonly paging?: Record<string, {
191
+ size?: number | undefined;
192
+ }> | undefined;
193
+ schema: "network.xyo.diviner.config";
194
+ readonly security?: {
195
+ readonly allowAnonymous?: boolean | undefined;
196
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
197
+ readonly disallowed?: Record<string, string[]> | undefined;
198
+ } | undefined;
199
+ readonly sign?: boolean | undefined;
200
+ readonly storeQueries?: boolean | undefined;
201
+ readonly timestamp?: boolean | undefined;
202
+ } & {
203
+ schema: "network.xyo.diviner.config";
204
+ }, "schema"> & {
205
+ schema: string;
206
+ };
207
+ ephemeralQueryAccountEnabled?: boolean | undefined;
208
+ }, {
209
+ schema: string;
210
+ } & object, {
211
+ schema: string;
212
+ } & object>>;
126
213
  /**
127
214
  * Retrieves the Payload Diviner for the specified store
128
215
  * @param store The store to retrieve the Payload Diviner for
129
216
  * @returns The Payload Diviner for the specified store
130
217
  */
131
- getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance>;
218
+ getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xyo-network/object").BaseParamsFields & {
219
+ account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
220
+ config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
221
+ readonly archivist?: string | undefined;
222
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
223
+ readonly name?: string | undefined;
224
+ readonly paging?: Record<string, {
225
+ size?: number | undefined;
226
+ }> | undefined;
227
+ schema: "network.xyo.diviner.config";
228
+ readonly security?: {
229
+ readonly allowAnonymous?: boolean | undefined;
230
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
231
+ readonly disallowed?: Record<string, string[]> | undefined;
232
+ } | undefined;
233
+ readonly sign?: boolean | undefined;
234
+ readonly storeQueries?: boolean | undefined;
235
+ readonly timestamp?: boolean | undefined;
236
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
237
+ readonly archivist?: string | undefined;
238
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
239
+ readonly name?: string | undefined;
240
+ readonly paging?: Record<string, {
241
+ size?: number | undefined;
242
+ }> | undefined;
243
+ schema: "network.xyo.diviner.config";
244
+ readonly security?: {
245
+ readonly allowAnonymous?: boolean | undefined;
246
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
247
+ readonly disallowed?: Record<string, string[]> | undefined;
248
+ } | undefined;
249
+ readonly sign?: boolean | undefined;
250
+ readonly storeQueries?: boolean | undefined;
251
+ readonly timestamp?: boolean | undefined;
252
+ } & {
253
+ schema: "network.xyo.diviner.config";
254
+ }, "schema"> & {
255
+ schema: string;
256
+ };
257
+ ephemeralQueryAccountEnabled?: boolean | undefined;
258
+ }, {
259
+ schema: string;
260
+ } & object, {
261
+ schema: string;
262
+ } & object>>;
132
263
  /**
133
264
  * Retrieves the last state of the Diviner process. Used to recover state after
134
265
  * preemptions, reboots, etc.
135
266
  */
136
267
  retrieveState(): Promise<ModuleState<TState> | undefined>;
268
+ readonly downResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
269
+ readonly upResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
137
270
  address: string;
138
271
  config: TParams["config"];
139
272
  id: string;
@@ -501,7 +634,5 @@ export declare const StatefulModuleMixin: <TParams extends import("@xyo-network/
501
634
  previousHash?: string | undefined;
502
635
  schema: string;
503
636
  })[]>;
504
- readonly downResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
505
- readonly upResolver: Omit<import("@xyo-network/module-model").ModuleResolver, "resolve">;
506
637
  }) & TModule;
507
638
  //# sourceMappingURL=DivinerMixin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DivinerMixin.d.ts","sourceRoot":"","sources":["../../src/DivinerMixin.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,eAAe,EAEf,cAAc,EACd,YAAY,EACZ,WAAW,EAEX,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAGlC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAEhD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA;AAGvF,MAAM,MAAM,SAAS,CAAC,OAAO,SAAS,oBAAoB,GAAG,oBAAoB,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,cAA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