@xyo-network/diviner-stateful 2.106.0 → 2.107.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.
Files changed (85) hide show
  1. package/dist/browser/Config.d.cts +0 -9
  2. package/dist/browser/Config.d.cts.map +1 -1
  3. package/dist/browser/Config.d.mts +0 -9
  4. package/dist/browser/Config.d.mts.map +1 -1
  5. package/dist/browser/Config.d.ts +0 -9
  6. package/dist/browser/Config.d.ts.map +1 -1
  7. package/dist/browser/Diviner.d.cts +21 -53
  8. package/dist/browser/Diviner.d.cts.map +1 -1
  9. package/dist/browser/Diviner.d.mts +21 -53
  10. package/dist/browser/Diviner.d.mts.map +1 -1
  11. package/dist/browser/Diviner.d.ts +21 -53
  12. package/dist/browser/Diviner.d.ts.map +1 -1
  13. package/dist/browser/DivinerMixin.d.cts +195 -370
  14. package/dist/browser/DivinerMixin.d.cts.map +1 -1
  15. package/dist/browser/DivinerMixin.d.mts +195 -370
  16. package/dist/browser/DivinerMixin.d.mts.map +1 -1
  17. package/dist/browser/DivinerMixin.d.ts +195 -370
  18. package/dist/browser/DivinerMixin.d.ts.map +1 -1
  19. package/dist/browser/Params.d.cts +0 -3
  20. package/dist/browser/Params.d.cts.map +1 -1
  21. package/dist/browser/Params.d.mts +0 -3
  22. package/dist/browser/Params.d.mts.map +1 -1
  23. package/dist/browser/Params.d.ts +0 -3
  24. package/dist/browser/Params.d.ts.map +1 -1
  25. package/dist/browser/index.cjs +1 -262
  26. package/dist/browser/index.cjs.map +1 -1
  27. package/dist/browser/index.js +1 -241
  28. package/dist/browser/index.js.map +1 -1
  29. package/dist/neutral/Config.d.cts +0 -9
  30. package/dist/neutral/Config.d.cts.map +1 -1
  31. package/dist/neutral/Config.d.mts +0 -9
  32. package/dist/neutral/Config.d.mts.map +1 -1
  33. package/dist/neutral/Config.d.ts +0 -9
  34. package/dist/neutral/Config.d.ts.map +1 -1
  35. package/dist/neutral/Diviner.d.cts +21 -53
  36. package/dist/neutral/Diviner.d.cts.map +1 -1
  37. package/dist/neutral/Diviner.d.mts +21 -53
  38. package/dist/neutral/Diviner.d.mts.map +1 -1
  39. package/dist/neutral/Diviner.d.ts +21 -53
  40. package/dist/neutral/Diviner.d.ts.map +1 -1
  41. package/dist/neutral/DivinerMixin.d.cts +195 -370
  42. package/dist/neutral/DivinerMixin.d.cts.map +1 -1
  43. package/dist/neutral/DivinerMixin.d.mts +195 -370
  44. package/dist/neutral/DivinerMixin.d.mts.map +1 -1
  45. package/dist/neutral/DivinerMixin.d.ts +195 -370
  46. package/dist/neutral/DivinerMixin.d.ts.map +1 -1
  47. package/dist/neutral/Params.d.cts +0 -3
  48. package/dist/neutral/Params.d.cts.map +1 -1
  49. package/dist/neutral/Params.d.mts +0 -3
  50. package/dist/neutral/Params.d.mts.map +1 -1
  51. package/dist/neutral/Params.d.ts +0 -3
  52. package/dist/neutral/Params.d.ts.map +1 -1
  53. package/dist/neutral/index.cjs +1 -262
  54. package/dist/neutral/index.cjs.map +1 -1
  55. package/dist/neutral/index.js +1 -241
  56. package/dist/neutral/index.js.map +1 -1
  57. package/dist/node/Config.d.cts +0 -9
  58. package/dist/node/Config.d.cts.map +1 -1
  59. package/dist/node/Config.d.mts +0 -9
  60. package/dist/node/Config.d.mts.map +1 -1
  61. package/dist/node/Config.d.ts +0 -9
  62. package/dist/node/Config.d.ts.map +1 -1
  63. package/dist/node/Diviner.d.cts +21 -53
  64. package/dist/node/Diviner.d.cts.map +1 -1
  65. package/dist/node/Diviner.d.mts +21 -53
  66. package/dist/node/Diviner.d.mts.map +1 -1
  67. package/dist/node/Diviner.d.ts +21 -53
  68. package/dist/node/Diviner.d.ts.map +1 -1
  69. package/dist/node/DivinerMixin.d.cts +195 -370
  70. package/dist/node/DivinerMixin.d.cts.map +1 -1
  71. package/dist/node/DivinerMixin.d.mts +195 -370
  72. package/dist/node/DivinerMixin.d.mts.map +1 -1
  73. package/dist/node/DivinerMixin.d.ts +195 -370
  74. package/dist/node/DivinerMixin.d.ts.map +1 -1
  75. package/dist/node/Params.d.cts +0 -3
  76. package/dist/node/Params.d.cts.map +1 -1
  77. package/dist/node/Params.d.mts +0 -3
  78. package/dist/node/Params.d.mts.map +1 -1
  79. package/dist/node/Params.d.ts +0 -3
  80. package/dist/node/Params.d.ts.map +1 -1
  81. package/dist/node/index.cjs +1 -285
  82. package/dist/node/index.cjs.map +1 -1
  83. package/dist/node/index.js +1 -257
  84. package/dist/node/index.js.map +1 -1
  85. package/package.json +22 -22
@@ -3,98 +3,55 @@ import { WithMeta } from '@xyo-network/payload-model';
3
3
  import { StatefulDivinerConfig } from './Config';
4
4
  export type StatefulModuleParams = ModuleParams<AnyConfigSchema<StatefulDivinerConfig>>;
5
5
  export type AnyModule<TParams extends StatefulModuleParams = StatefulModuleParams> = new (...args: any[]) => ModuleInstance<TParams>;
6
- /**
7
- * @ignore Inherit from StatefulDiviner instead
8
- * @param ModuleBase
9
- * @returns
10
- */
11
- export declare const StatefulModuleMixin: <TParams extends import("@xylabs/object").BaseParamsFields & {
12
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
13
- addToResolvers?: boolean | undefined;
14
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
15
- allowNameResolution?: boolean | undefined;
6
+ export declare const StatefulModuleMixin: <TParams extends StatefulModuleParams = import("@xylabs/object").BaseParamsFields & {
7
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
8
+ addToResolvers?: boolean;
9
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
10
+ allowNameResolution?: boolean;
16
11
  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 & {
17
12
  schema: "network.xyo.diviner.stateful.config";
18
13
  } & {
19
- schema: "network.xyo.diviner.stateful.config";
20
- stateStore: {
21
- archivist: string;
22
- boundWitnessDiviner: string;
23
- payloadDiviner: string;
24
- };
25
- }, "schema"> & {
26
- schema: "network.xyo.diviner.stateful.config";
27
- }, "schema"> & {
28
- schema: string;
29
- };
30
- ephemeralQueryAccountEnabled?: boolean | undefined;
31
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
32
- } = import("@xylabs/object").BaseParamsFields & {
33
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
34
- addToResolvers?: boolean | undefined;
35
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
36
- allowNameResolution?: boolean | undefined;
37
- 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 & {
38
- schema: "network.xyo.diviner.stateful.config";
39
- } & {
40
- schema: "network.xyo.diviner.stateful.config";
14
+ schema: import("./Config").StatefulDivinerConfigSchema;
41
15
  stateStore: {
42
- archivist: string;
43
- boundWitnessDiviner: string;
44
- payloadDiviner: string;
16
+ archivist: import("@xyo-network/module-model").ModuleIdentifier;
17
+ boundWitnessDiviner: import("@xyo-network/module-model").ModuleIdentifier;
18
+ payloadDiviner: import("@xyo-network/module-model").ModuleIdentifier;
45
19
  };
46
20
  }, "schema"> & {
47
21
  schema: "network.xyo.diviner.stateful.config";
48
22
  }, "schema"> & {
49
23
  schema: string;
50
24
  };
51
- ephemeralQueryAccountEnabled?: boolean | undefined;
52
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
25
+ ephemeralQueryAccountEnabled?: boolean;
26
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
53
27
  }, TModule extends AnyModule<TParams> = AnyModule<TParams>, TState extends StateDictionary = StateDictionary>(ModuleBase: TModule) => (abstract new (...args: any[]) => {
54
- _lastState?: WithMeta<ModuleState<TState>> | undefined;
55
- /**
56
- * Commit the internal state of the Diviner process. This is similar
57
- * to a transaction completion in a database and should only be called
58
- * when results have been successfully persisted to the appropriate
59
- * external stores.
60
- * @param nextState The state to commit
61
- */
28
+ _lastState?: WithMeta<ModuleState<TState>>;
62
29
  commitState(nextState: WithMeta<ModuleState<TState>>): Promise<void>;
63
- /**
64
- * Retrieves the archivist for the specified store
65
- * @param store The store to retrieve the archivist for
66
- * @returns The archivist for the specified store
67
- */
68
30
  getArchivistForStore(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
69
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
70
- addToResolvers?: boolean | undefined;
71
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
72
- allowNameResolution?: boolean | undefined;
31
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
32
+ addToResolvers?: boolean;
33
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
34
+ allowNameResolution?: boolean;
73
35
  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 & {
74
- parents?: import("@xyo-network/archivist-model").ArchivistParents | undefined;
75
- requireAllParents?: boolean | undefined;
36
+ parents?: import("@xyo-network/archivist-model").ArchivistParents;
37
+ requireAllParents?: boolean;
76
38
  schema: "network.xyo.archivist.config";
77
- storeParentReads?: boolean | undefined;
39
+ storeParentReads?: boolean;
78
40
  }, "schema"> & {
79
41
  schema: "network.xyo.archivist.config";
80
42
  }, "schema"> & {
81
43
  schema: string;
82
44
  };
83
- ephemeralQueryAccountEnabled?: boolean | undefined;
84
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
45
+ ephemeralQueryAccountEnabled?: boolean;
46
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
85
47
  }, import("@xyo-network/archivist-model").ArchivistModuleEventData, {
86
48
  schema: string;
87
49
  } & import("@xyo-network/payload-model").PayloadFields>>;
88
- /**
89
- * Retrieves the BoundWitness Diviner for the specified store
90
- * @param store The store to retrieve the BoundWitness Diviner for
91
- * @returns The BoundWitness Diviner for the specified store
92
- */
93
50
  getBoundWitnessDivinerForStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
94
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
95
- addToResolvers?: boolean | undefined;
96
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
97
- allowNameResolution?: boolean | undefined;
51
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
52
+ addToResolvers?: boolean;
53
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
54
+ allowNameResolution?: boolean;
98
55
  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 & {
99
56
  schema: "network.xyo.diviner.config";
100
57
  }, "schema"> & {
@@ -102,39 +59,34 @@ export declare const StatefulModuleMixin: <TParams extends import("@xylabs/objec
102
59
  }, "schema"> & {
103
60
  schema: string;
104
61
  };
105
- ephemeralQueryAccountEnabled?: boolean | undefined;
106
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
62
+ ephemeralQueryAccountEnabled?: boolean;
63
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
107
64
  }, {
108
65
  schema: string;
109
66
  } & import("@xyo-network/payload-model").PayloadFields, {
110
67
  schema: string;
111
68
  } & import("@xyo-network/payload-model").PayloadFields, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
112
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
113
- addToResolvers?: boolean | undefined;
114
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
115
- allowNameResolution?: boolean | undefined;
69
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
70
+ addToResolvers?: boolean;
71
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
72
+ allowNameResolution?: boolean;
116
73
  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 & {
117
74
  schema: "network.xyo.module.config";
118
75
  }, "schema"> & {
119
76
  schema: string;
120
77
  };
121
- ephemeralQueryAccountEnabled?: boolean | undefined;
122
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
78
+ ephemeralQueryAccountEnabled?: boolean;
79
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
123
80
  }, import("@xyo-network/module-model").ModuleEventData<object>>, {
124
81
  schema: string;
125
82
  } & import("@xyo-network/payload-model").PayloadFields, {
126
83
  schema: string;
127
84
  } & import("@xyo-network/payload-model").PayloadFields>>>;
128
- /**
129
- * Retrieves the Payload Diviner for the specified store
130
- * @param store The store to retrieve the Payload Diviner for
131
- * @returns The Payload Diviner for the specified store
132
- */
133
85
  getPayloadDivinerForStateStore(): Promise<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
134
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
135
- addToResolvers?: boolean | undefined;
136
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
137
- allowNameResolution?: boolean | undefined;
86
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
87
+ addToResolvers?: boolean;
88
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
89
+ allowNameResolution?: boolean;
138
90
  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 & {
139
91
  schema: "network.xyo.diviner.config";
140
92
  }, "schema"> & {
@@ -142,418 +94,291 @@ export declare const StatefulModuleMixin: <TParams extends import("@xylabs/objec
142
94
  }, "schema"> & {
143
95
  schema: string;
144
96
  };
145
- ephemeralQueryAccountEnabled?: boolean | undefined;
146
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
97
+ ephemeralQueryAccountEnabled?: boolean;
98
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
147
99
  }, {
148
100
  schema: string;
149
101
  } & import("@xyo-network/payload-model").PayloadFields, {
150
102
  schema: string;
151
103
  } & import("@xyo-network/payload-model").PayloadFields, import("@xyo-network/diviner-model").DivinerModuleEventData<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
152
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
153
- addToResolvers?: boolean | undefined;
154
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
155
- allowNameResolution?: boolean | undefined;
104
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
105
+ addToResolvers?: boolean;
106
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
107
+ allowNameResolution?: boolean;
156
108
  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 & {
157
109
  schema: "network.xyo.module.config";
158
110
  }, "schema"> & {
159
111
  schema: string;
160
112
  };
161
- ephemeralQueryAccountEnabled?: boolean | undefined;
162
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
113
+ ephemeralQueryAccountEnabled?: boolean;
114
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
163
115
  }, import("@xyo-network/module-model").ModuleEventData<object>>, {
164
116
  schema: string;
165
117
  } & import("@xyo-network/payload-model").PayloadFields, {
166
118
  schema: string;
167
119
  } & import("@xyo-network/payload-model").PayloadFields>>>;
168
- /**
169
- * Retrieves the last state of the Diviner process. Used to recover state after
170
- * preemptions, reboots, etc.
171
- */
172
120
  retrieveState(): Promise<WithMeta<ModuleState<TState>> | undefined>;
173
- readonly pipeline?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many" | undefined;
121
+ readonly pipeline?: import("@xyo-network/module-model").ModulePipeLine;
174
122
  readonly status: import("@xyo-network/module-model").ModuleStatus;
175
- address: Lowercase<string>;
123
+ address: import("@xylabs/hex").Address;
176
124
  config: TParams["config"];
177
125
  id: string;
178
- modName?: string | undefined;
126
+ modName?: import("@xyo-network/module-model").ModuleName;
179
127
  params: TParams;
180
128
  previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
181
129
  queries: string[];
182
- query: <T extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
183
- additional?: Lowercase<string>[] | undefined;
184
- query: Lowercase<string>;
185
- resultSet?: string | undefined;
186
- schema: "network.xyo.boundwitness";
187
- }, "schema"> & {
188
- schema: "network.xyo.boundwitness";
189
- } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
190
- additional?: Lowercase<string>[] | undefined;
191
- query: Lowercase<string>;
192
- resultSet?: string | undefined;
193
- schema: "network.xyo.boundwitness";
194
- }, "schema"> & {
195
- schema: "network.xyo.boundwitness";
196
- }, TConf extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
197
- schema: "network.xyo.module.config";
198
- } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
199
- schema: "network.xyo.module.config";
200
- }>(query: T, payloads?: ({
201
- schema: string;
202
- } & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
203
- queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
204
- additional?: Lowercase<string>[] | undefined;
205
- query: Lowercase<string>;
206
- resultSet?: string | undefined;
207
- schema: "network.xyo.boundwitness";
208
- }, "schema"> & {
209
- schema: "network.xyo.boundwitness";
210
- } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
211
- additional?: Lowercase<string>[] | undefined;
212
- query: Lowercase<string>;
213
- resultSet?: string | undefined;
214
- schema: "network.xyo.boundwitness";
215
- }, "schema"> & {
216
- schema: "network.xyo.boundwitness";
217
- }, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
218
- schema: "network.xyo.module.config";
219
- } = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
220
- schema: "network.xyo.module.config";
221
- }>(query: T_1, payloads?: ({
222
- schema: string;
223
- } & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean>;
224
- start?: (() => import("@xylabs/promise").Promisable<boolean>) | undefined;
225
- stop?: (() => import("@xylabs/promise").Promisable<boolean>) | undefined;
130
+ query: <T extends import("@xyo-network/boundwitness-model").QueryBoundWitness = import("@xyo-network/boundwitness-model").QueryBoundWitness, TConf extends import("@xyo-network/module-model").ModuleConfig = import("@xyo-network/module-model").ModuleConfig>(query: T, payloads?: import("@xyo-network/payload-model").Payload[], queryConfig?: TConf) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
131
+ queryable: <T extends import("@xyo-network/boundwitness-model").QueryBoundWitness = import("@xyo-network/boundwitness-model").QueryBoundWitness, TConf_1 extends import("@xyo-network/module-model").ModuleConfig = import("@xyo-network/module-model").ModuleConfig>(query: T, payloads?: import("@xyo-network/payload-model").Payload[], queryConfig?: TConf_1) => import("@xylabs/promise").Promisable<boolean>;
132
+ start?: () => import("@xylabs/promise").Promisable<boolean>;
133
+ stop?: () => import("@xylabs/promise").Promisable<boolean>;
226
134
  eventData: import("@xyo-network/module-model").ModuleEventData<object>;
227
135
  clearListeners(eventNames: keyof import("@xyo-network/module-model").ModuleEventData<object> | (keyof import("@xyo-network/module-model").ModuleEventData<object>)[]): void;
228
136
  emit<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName, eventArgs: import("@xyo-network/module-model").ModuleEventData<object>[TEventName]): Promise<void>;
229
- emitSerial<TEventName_1 extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName_1, eventArgs: import("@xyo-network/module-model").ModuleEventData<object>[TEventName_1]): Promise<void>;
137
+ emitSerial<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName, eventArgs: import("@xyo-network/module-model").ModuleEventData<object>[TEventName]): Promise<void>;
230
138
  listenerCount(eventNames: keyof import("@xyo-network/module-model").ModuleEventData<object> | (keyof import("@xyo-network/module-model").ModuleEventData<object>)[]): number;
231
- off<TEventName_2 extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventNames: TEventName_2 | TEventName_2[], listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName_2]>): void;
232
- offAny(listener: Promise<void> | import("@xyo-network/module-events").EventAnyListener<import("@xyo-network/module-events").EventArgs>): void;
233
- on<TEventName_3 extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventNames: TEventName_3 | TEventName_3[], listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName_3]>): import("@xyo-network/module-events").EventUnsubscribeFunction;
234
- onAny(listener: import("@xyo-network/module-events").EventAnyListener<import("@xyo-network/module-events").EventArgs>): import("@xyo-network/module-events").EventUnsubscribeFunction;
235
- once<TEventName_4 extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName_4, listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName_4]>): import("@xyo-network/module-events").EventUnsubscribeFunction;
139
+ off<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventNames: TEventName | TEventName[], listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName]>): void;
140
+ offAny(listener: import("@xyo-network/module-events").EventAnyListener | Promise<void>): void;
141
+ on<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventNames: TEventName | TEventName[], listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName]>): import("@xyo-network/module-events").EventUnsubscribeFunction;
142
+ onAny(listener: import("@xyo-network/module-events").EventAnyListener): import("@xyo-network/module-events").EventUnsubscribeFunction;
143
+ once<TEventName extends keyof import("@xyo-network/module-model").ModuleEventData<object>>(eventName: TEventName, listener: import("@xyo-network/module-events").EventListener<import("@xyo-network/module-model").ModuleEventData<object>[TEventName]>): import("@xyo-network/module-events").EventUnsubscribeFunction;
236
144
  priority: import("@xyo-network/module-model").ObjectResolverPriority;
237
- resolve<T_2 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
238
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
239
- addToResolvers?: boolean | undefined;
240
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
241
- allowNameResolution?: boolean | undefined;
145
+ resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
146
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
147
+ addToResolvers?: boolean;
148
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
149
+ allowNameResolution?: boolean;
242
150
  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 & {
243
151
  schema: "network.xyo.module.config";
244
152
  }, "schema"> & {
245
153
  schema: string;
246
154
  };
247
- ephemeralQueryAccountEnabled?: boolean | undefined;
248
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
155
+ ephemeralQueryAccountEnabled?: boolean;
156
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
249
157
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
250
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
251
- addToResolvers?: boolean | undefined;
252
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
253
- allowNameResolution?: boolean | undefined;
158
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
159
+ addToResolvers?: boolean;
160
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
161
+ allowNameResolution?: boolean;
254
162
  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 & {
255
163
  schema: "network.xyo.module.config";
256
164
  }, "schema"> & {
257
165
  schema: string;
258
166
  };
259
- ephemeralQueryAccountEnabled?: boolean | undefined;
260
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
261
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(): import("@xylabs/promise").Promisable<T_2 | undefined>;
262
- resolve<T_3 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
263
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
264
- addToResolvers?: boolean | undefined;
265
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
266
- allowNameResolution?: boolean | undefined;
167
+ ephemeralQueryAccountEnabled?: boolean;
168
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
169
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(): import("@xylabs/promise").Promisable<T | undefined>;
170
+ resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
171
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
172
+ addToResolvers?: boolean;
173
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
174
+ allowNameResolution?: boolean;
267
175
  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 & {
268
176
  schema: "network.xyo.module.config";
269
177
  }, "schema"> & {
270
178
  schema: string;
271
179
  };
272
- ephemeralQueryAccountEnabled?: boolean | undefined;
273
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
180
+ ephemeralQueryAccountEnabled?: boolean;
181
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
274
182
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
275
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
276
- addToResolvers?: boolean | undefined;
277
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
278
- allowNameResolution?: boolean | undefined;
183
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
184
+ addToResolvers?: boolean;
185
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
186
+ allowNameResolution?: boolean;
279
187
  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 & {
280
188
  schema: "network.xyo.module.config";
281
189
  }, "schema"> & {
282
190
  schema: string;
283
191
  };
284
- ephemeralQueryAccountEnabled?: boolean | undefined;
285
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
286
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T_3> | undefined): import("@xylabs/promise").Promisable<T_3[]>;
287
- resolve<T_4 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
288
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
289
- addToResolvers?: boolean | undefined;
290
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
291
- allowNameResolution?: boolean | undefined;
192
+ ephemeralQueryAccountEnabled?: boolean;
193
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
194
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
195
+ resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
196
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
197
+ addToResolvers?: boolean;
198
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
199
+ allowNameResolution?: boolean;
292
200
  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 & {
293
201
  schema: "network.xyo.module.config";
294
202
  }, "schema"> & {
295
203
  schema: string;
296
204
  };
297
- ephemeralQueryAccountEnabled?: boolean | undefined;
298
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
205
+ ephemeralQueryAccountEnabled?: boolean;
206
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
299
207
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
300
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
301
- addToResolvers?: boolean | undefined;
302
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
303
- allowNameResolution?: boolean | undefined;
208
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
209
+ addToResolvers?: boolean;
210
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
211
+ allowNameResolution?: boolean;
304
212
  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 & {
305
213
  schema: "network.xyo.module.config";
306
214
  }, "schema"> & {
307
215
  schema: string;
308
216
  };
309
- ephemeralQueryAccountEnabled?: boolean | undefined;
310
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
311
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(id: string, options?: import("@xyo-network/module-model").ObjectFilterOptions<T_4> | undefined): import("@xylabs/promise").Promisable<T_4 | undefined>;
312
- resolve<T_5 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
313
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
314
- addToResolvers?: boolean | undefined;
315
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
316
- allowNameResolution?: boolean | undefined;
217
+ ephemeralQueryAccountEnabled?: boolean;
218
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
219
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(id: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T | undefined>;
220
+ resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
221
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
222
+ addToResolvers?: boolean;
223
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
224
+ allowNameResolution?: boolean;
317
225
  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 & {
318
226
  schema: "network.xyo.module.config";
319
227
  }, "schema"> & {
320
228
  schema: string;
321
229
  };
322
- ephemeralQueryAccountEnabled?: boolean | undefined;
323
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
230
+ ephemeralQueryAccountEnabled?: boolean;
231
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
324
232
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
325
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
326
- addToResolvers?: boolean | undefined;
327
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
328
- allowNameResolution?: boolean | undefined;
233
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
234
+ addToResolvers?: boolean;
235
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
236
+ allowNameResolution?: boolean;
329
237
  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 & {
330
238
  schema: "network.xyo.module.config";
331
239
  }, "schema"> & {
332
240
  schema: string;
333
241
  };
334
- ephemeralQueryAccountEnabled?: boolean | undefined;
335
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
336
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(filter: import("@xyo-network/module-model").ObjectFilter<T_5>, options?: import("@xyo-network/module-model").ObjectFilterOptions<T_5> | undefined): import("@xylabs/promise").Promisable<T_5[]>;
337
- resolve<T_6 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
338
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
339
- addToResolvers?: boolean | undefined;
340
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
341
- allowNameResolution?: boolean | undefined;
242
+ ephemeralQueryAccountEnabled?: boolean;
243
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
244
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(filter: import("@xyo-network/module-model").ObjectFilter<T>, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
245
+ resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
246
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
247
+ addToResolvers?: boolean;
248
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
249
+ allowNameResolution?: boolean;
342
250
  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 & {
343
251
  schema: "network.xyo.module.config";
344
252
  }, "schema"> & {
345
253
  schema: string;
346
254
  };
347
- ephemeralQueryAccountEnabled?: boolean | undefined;
348
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
255
+ ephemeralQueryAccountEnabled?: boolean;
256
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
349
257
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
350
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
351
- addToResolvers?: boolean | undefined;
352
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
353
- allowNameResolution?: boolean | undefined;
258
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
259
+ addToResolvers?: boolean;
260
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
261
+ allowNameResolution?: boolean;
354
262
  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 & {
355
263
  schema: "network.xyo.module.config";
356
264
  }, "schema"> & {
357
265
  schema: string;
358
266
  };
359
- ephemeralQueryAccountEnabled?: boolean | undefined;
360
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
361
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(filter?: import("@xyo-network/module-model").ObjectFilter<T_6> | undefined, options?: import("@xyo-network/module-model").ObjectFilterOptions<T_6> | undefined): import("@xylabs/promise").Promisable<T_6[]>;
362
- resolve<T_7 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
363
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
364
- addToResolvers?: boolean | undefined;
365
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
366
- allowNameResolution?: boolean | undefined;
267
+ ephemeralQueryAccountEnabled?: boolean;
268
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
269
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(filter?: import("@xyo-network/module-model").ObjectFilter<T> | undefined, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T[]>;
270
+ resolve<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
271
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
272
+ addToResolvers?: boolean;
273
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
274
+ allowNameResolution?: boolean;
367
275
  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 & {
368
276
  schema: "network.xyo.module.config";
369
277
  }, "schema"> & {
370
278
  schema: string;
371
279
  };
372
- ephemeralQueryAccountEnabled?: boolean | undefined;
373
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
280
+ ephemeralQueryAccountEnabled?: boolean;
281
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
374
282
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
375
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
376
- addToResolvers?: boolean | undefined;
377
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
378
- allowNameResolution?: boolean | undefined;
283
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
284
+ addToResolvers?: boolean;
285
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
286
+ allowNameResolution?: boolean;
379
287
  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 & {
380
288
  schema: "network.xyo.module.config";
381
289
  }, "schema"> & {
382
290
  schema: string;
383
291
  };
384
- ephemeralQueryAccountEnabled?: boolean | undefined;
385
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
386
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(idOrFilter?: string | import("@xyo-network/module-model").ObjectFilter<T_7> | undefined, options?: import("@xyo-network/module-model").ObjectFilterOptions<T_7> | undefined): import("@xylabs/promise").Promisable<T_7 | T_7[] | undefined>;
387
- resolvePrivate<T_8 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
388
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
389
- addToResolvers?: boolean | undefined;
390
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
391
- allowNameResolution?: boolean | undefined;
292
+ ephemeralQueryAccountEnabled?: boolean;
293
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
294
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(idOrFilter?: string | import("@xyo-network/module-model").ObjectFilter<T> | undefined, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): import("@xylabs/promise").Promisable<T | T[] | undefined>;
295
+ resolvePrivate<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
296
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
297
+ addToResolvers?: boolean;
298
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
299
+ allowNameResolution?: boolean;
392
300
  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 & {
393
301
  schema: "network.xyo.module.config";
394
302
  }, "schema"> & {
395
303
  schema: string;
396
304
  };
397
- ephemeralQueryAccountEnabled?: boolean | undefined;
398
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
305
+ ephemeralQueryAccountEnabled?: boolean;
306
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
399
307
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
400
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
401
- addToResolvers?: boolean | undefined;
402
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
403
- allowNameResolution?: boolean | undefined;
308
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
309
+ addToResolvers?: boolean;
310
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
311
+ allowNameResolution?: boolean;
404
312
  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 & {
405
313
  schema: "network.xyo.module.config";
406
314
  }, "schema"> & {
407
315
  schema: string;
408
316
  };
409
- ephemeralQueryAccountEnabled?: boolean | undefined;
410
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
411
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T_8> | undefined): Promise<T_8[]>;
412
- resolvePrivate<T_9 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
413
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
414
- addToResolvers?: boolean | undefined;
415
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
416
- allowNameResolution?: boolean | undefined;
317
+ ephemeralQueryAccountEnabled?: boolean;
318
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
319
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(all: "*", options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T[]>;
320
+ resolvePrivate<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
321
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
322
+ addToResolvers?: boolean;
323
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
324
+ allowNameResolution?: boolean;
417
325
  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 & {
418
326
  schema: "network.xyo.module.config";
419
327
  }, "schema"> & {
420
328
  schema: string;
421
329
  };
422
- ephemeralQueryAccountEnabled?: boolean | undefined;
423
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
330
+ ephemeralQueryAccountEnabled?: boolean;
331
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
424
332
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
425
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
426
- addToResolvers?: boolean | undefined;
427
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
428
- allowNameResolution?: boolean | undefined;
333
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
334
+ addToResolvers?: boolean;
335
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
336
+ allowNameResolution?: boolean;
429
337
  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 & {
430
338
  schema: "network.xyo.module.config";
431
339
  }, "schema"> & {
432
340
  schema: string;
433
341
  };
434
- ephemeralQueryAccountEnabled?: boolean | undefined;
435
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
436
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(id: string, options?: import("@xyo-network/module-model").ObjectFilterOptions<T_9> | undefined): Promise<T_9 | undefined>;
437
- resolvePrivate<T_10 extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
438
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
439
- addToResolvers?: boolean | undefined;
440
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
441
- allowNameResolution?: boolean | undefined;
342
+ ephemeralQueryAccountEnabled?: boolean;
343
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
344
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(id: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T | undefined>;
345
+ resolvePrivate<T extends ModuleInstance<import("@xylabs/object").BaseParamsFields & {
346
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
347
+ addToResolvers?: boolean;
348
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
349
+ allowNameResolution?: boolean;
442
350
  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 & {
443
351
  schema: "network.xyo.module.config";
444
352
  }, "schema"> & {
445
353
  schema: string;
446
354
  };
447
- ephemeralQueryAccountEnabled?: boolean | undefined;
448
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
355
+ ephemeralQueryAccountEnabled?: boolean;
356
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
449
357
  }, import("@xyo-network/module-model").ModuleEventData<object>> = ModuleInstance<import("@xylabs/object").BaseParamsFields & {
450
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
451
- addToResolvers?: boolean | undefined;
452
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
453
- allowNameResolution?: boolean | undefined;
358
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
359
+ addToResolvers?: boolean;
360
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
361
+ allowNameResolution?: boolean;
454
362
  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 & {
455
363
  schema: "network.xyo.module.config";
456
364
  }, "schema"> & {
457
365
  schema: string;
458
366
  };
459
- ephemeralQueryAccountEnabled?: boolean | undefined;
460
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
461
- }, import("@xyo-network/module-model").ModuleEventData<object>>>(id: string, options?: import("@xyo-network/module-model").ObjectFilterOptions<T_10> | undefined): Promise<T_10 | T_10[] | undefined>;
462
- manifest: (maxDepth?: number | undefined, ignoreAddresses?: Lowercase<string>[] | undefined) => import("@xylabs/promise").Promisable<(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/manifest-model").ModuleManifest & {
463
- schema: "network.xyo.module.manifest";
464
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/manifest-model").ModuleManifest & {
465
- schema: "network.xyo.node.manifest";
466
- })>;
467
- manifestQuery: (account: import("@xyo-network/account-model").AccountInstance, maxDepth?: number | undefined, ignoreAddresses?: Lowercase<string>[] | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/manifest-model").ModuleManifest & {
468
- schema: "network.xyo.module.manifest";
469
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/manifest-model").ModuleManifest & {
470
- schema: "network.xyo.node.manifest";
471
- })>>;
472
- moduleAddress: () => import("@xylabs/promise").Promisable<((import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
473
- address: Lowercase<string>;
474
- previousHash?: string | undefined;
475
- } & {
476
- schema: "network.xyo.address.hash.previous";
477
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").AddressFields & {
478
- schema: "network.xyo.address";
479
- }))[]>;
480
- state: () => import("@xylabs/promise").Promisable<({
481
- schema: string;
482
- } & import("@xyo-network/payload-model").PayloadFields)[]>;
367
+ ephemeralQueryAccountEnabled?: boolean;
368
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
369
+ }, import("@xyo-network/module-model").ModuleEventData<object>>>(id: import("@xyo-network/module-model").ModuleIdentifier, options?: import("@xyo-network/module-model").ObjectFilterOptions<T> | undefined): Promise<T | T[] | undefined>;
370
+ manifest: (maxDepth?: number, ignoreAddresses?: import("@xylabs/hex").Address[]) => import("@xylabs/promise").Promisable<import("@xyo-network/manifest-model").ModuleManifestPayload>;
371
+ manifestQuery: (account: import("@xyo-network/account-model").AccountInstance, maxDepth?: number, ignoreAddresses?: import("@xylabs/hex").Address[]) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult<import("@xyo-network/manifest-model").ModuleManifestPayload>>;
372
+ moduleAddress: () => import("@xylabs/promise").Promisable<(import("@xyo-network/module-model").AddressPreviousHashPayload | import("@xyo-network/module-model").AddressPayload)[]>;
373
+ state: () => import("@xylabs/promise").Promisable<import("@xyo-network/payload-model").Payload[]>;
483
374
  stateQuery: (account: import("@xyo-network/account-model").AccountInstance) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
484
375
  account?: import("@xyo-network/account-model").AccountInstance | undefined;
485
- addParent: (module: ModuleInstance<import("@xylabs/object").BaseParamsFields & {
486
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
487
- addToResolvers?: boolean | undefined;
488
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
489
- allowNameResolution?: boolean | undefined;
490
- 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 & {
491
- schema: "network.xyo.module.config";
492
- }, "schema"> & {
493
- schema: string;
494
- };
495
- ephemeralQueryAccountEnabled?: boolean | undefined;
496
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
497
- }, import("@xyo-network/module-model").ModuleEventData<object>>) => void;
498
- addressCache?: ((direction: import("@xyo-network/module-model").Direction, includePrivate: boolean) => import("@xyo-network/module-model").AddressToWeakInstanceCache | undefined) | undefined;
499
- parents: () => import("@xylabs/promise").Promisable<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
500
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
501
- addToResolvers?: boolean | undefined;
502
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
503
- allowNameResolution?: boolean | undefined;
504
- 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 & {
505
- schema: "network.xyo.module.config";
506
- }, "schema"> & {
507
- schema: string;
508
- };
509
- ephemeralQueryAccountEnabled?: boolean | undefined;
510
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
511
- }, import("@xyo-network/module-model").ModuleEventData<object>>[]>;
512
- privateChildren: () => import("@xylabs/promise").Promisable<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
513
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
514
- addToResolvers?: boolean | undefined;
515
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
516
- allowNameResolution?: boolean | undefined;
517
- 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 & {
518
- schema: "network.xyo.module.config";
519
- }, "schema"> & {
520
- schema: string;
521
- };
522
- ephemeralQueryAccountEnabled?: boolean | undefined;
523
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
524
- }, import("@xyo-network/module-model").ModuleEventData<object>>[]>;
525
- publicChildren: () => import("@xylabs/promise").Promisable<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
526
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
527
- addToResolvers?: boolean | undefined;
528
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
529
- allowNameResolution?: boolean | undefined;
530
- 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 & {
531
- schema: "network.xyo.module.config";
532
- }, "schema"> & {
533
- schema: string;
534
- };
535
- ephemeralQueryAccountEnabled?: boolean | undefined;
536
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
537
- }, import("@xyo-network/module-model").ModuleEventData<object>>[]>;
538
- removeParent: (address: Lowercase<string>) => void; /**
539
- * Commit the internal state of the Diviner process. This is similar
540
- * to a transaction completion in a database and should only be called
541
- * when results have been successfully persisted to the appropriate
542
- * external stores.
543
- * @param nextState The state to commit
544
- */
545
- siblings: () => import("@xylabs/promise").Promisable<ModuleInstance<import("@xylabs/object").BaseParamsFields & {
546
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
547
- addToResolvers?: boolean | undefined;
548
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
549
- allowNameResolution?: boolean | undefined;
550
- 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 & {
551
- schema: "network.xyo.module.config";
552
- }, "schema"> & {
553
- schema: string;
554
- };
555
- ephemeralQueryAccountEnabled?: boolean | undefined;
556
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
557
- }, import("@xyo-network/module-model").ModuleEventData<object>>[]>;
376
+ addParent: (module: ModuleInstance) => void;
377
+ addressCache?: (direction: import("@xyo-network/module-model").Direction, includePrivate: boolean) => import("@xyo-network/module-model").AddressToWeakInstanceCache | undefined;
378
+ parents: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
379
+ privateChildren: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
380
+ publicChildren: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
381
+ removeParent: (address: import("@xylabs/hex").Address) => void;
382
+ siblings: () => import("@xylabs/promise").Promisable<ModuleInstance[]>;
558
383
  }) & TModule;
559
384
  //# sourceMappingURL=DivinerMixin.d.ts.map