@xyo-network/witness-model 3.8.0 → 3.8.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.
- package/dist/neutral/index.d.ts +684 -13
- package/package.json +7 -7
- package/dist/neutral/Config.d.ts +0 -9
- package/dist/neutral/Config.d.ts.map +0 -1
- package/dist/neutral/CustomInstance.d.ts +0 -9
- package/dist/neutral/CustomInstance.d.ts.map +0 -1
- package/dist/neutral/CustomModule.d.ts +0 -7
- package/dist/neutral/CustomModule.d.ts.map +0 -1
- package/dist/neutral/EventData.d.ts +0 -5
- package/dist/neutral/EventData.d.ts.map +0 -1
- package/dist/neutral/EventsModels/ObserveEnd.d.ts +0 -12
- package/dist/neutral/EventsModels/ObserveEnd.d.ts.map +0 -1
- package/dist/neutral/EventsModels/ObserveStart.d.ts +0 -10
- package/dist/neutral/EventsModels/ObserveStart.d.ts.map +0 -1
- package/dist/neutral/EventsModels/index.d.ts +0 -3
- package/dist/neutral/EventsModels/index.d.ts.map +0 -1
- package/dist/neutral/Instance.d.ts +0 -9
- package/dist/neutral/Instance.d.ts.map +0 -1
- package/dist/neutral/Module.d.ts +0 -6
- package/dist/neutral/Module.d.ts.map +0 -1
- package/dist/neutral/Params.d.ts +0 -5
- package/dist/neutral/Params.d.ts.map +0 -1
- package/dist/neutral/Queries/Observe.d.ts +0 -8
- package/dist/neutral/Queries/Observe.d.ts.map +0 -1
- package/dist/neutral/Queries/index.d.ts +0 -6
- package/dist/neutral/Queries/index.d.ts.map +0 -1
- package/dist/neutral/QueryFunctions.d.ts +0 -9
- package/dist/neutral/QueryFunctions.d.ts.map +0 -1
- package/dist/neutral/attachable/AttachableInstance.d.ts +0 -13
- package/dist/neutral/attachable/AttachableInstance.d.ts.map +0 -1
- package/dist/neutral/attachable/asAttachableInstance.d.ts +0 -146
- package/dist/neutral/attachable/asAttachableInstance.d.ts.map +0 -1
- package/dist/neutral/attachable/index.d.ts +0 -4
- package/dist/neutral/attachable/index.d.ts.map +0 -1
- package/dist/neutral/attachable/isAttachableInstance.d.ts +0 -6
- package/dist/neutral/attachable/isAttachableInstance.d.ts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/typeChecks.d.ts +0 -465
- package/dist/neutral/typeChecks.d.ts.map +0 -1
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,13 +1,684 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as _xylabs_promise from '@xylabs/promise';
|
|
2
|
+
import { Promisable } from '@xylabs/promise';
|
|
3
|
+
import * as _xylabs_object from '@xylabs/object';
|
|
4
|
+
import { EmptyObject, WithAdditional, TypeCheck, IsObjectFactory } from '@xylabs/object';
|
|
5
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
6
|
+
import { ModuleInstance, ModuleEventArgs, ModuleEventData, ModuleConfig, AnyConfigSchema, ModuleParams, Module, ModuleQueryResult, AttachableModuleInstance, ModuleQueries } from '@xyo-network/module-model';
|
|
7
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
8
|
+
import { Payload, WithoutPrivateStorageMeta, Query } from '@xyo-network/payload-model';
|
|
9
|
+
import { EventData } from '@xyo-network/module-events';
|
|
10
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
11
|
+
import { AccountInstance } from '@xyo-network/account-model';
|
|
12
|
+
import * as _xylabs_logger from '@xylabs/logger';
|
|
13
|
+
import { ObjectTypeShape } from '@xylabs/typeof';
|
|
14
|
+
|
|
15
|
+
type ObserveEndEventArgs<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload, TOut extends Payload = Payload> = ModuleEventArgs<T, {
|
|
16
|
+
errors?: Error[];
|
|
17
|
+
inPayloads?: TIn[];
|
|
18
|
+
outPayloads?: TOut[];
|
|
19
|
+
}>;
|
|
20
|
+
interface ObserveEndEventData<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload, TOut extends Payload = Payload> extends EventData {
|
|
21
|
+
observeEnd: ObserveEndEventArgs<T, TIn, TOut>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type ObserveStartEventArgs<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload> = ModuleEventArgs<T, {
|
|
25
|
+
inPayloads?: TIn[];
|
|
26
|
+
}>;
|
|
27
|
+
interface ObserveStartEventData<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload> extends EventData {
|
|
28
|
+
observeStart: ObserveStartEventArgs<T, TIn>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type WitnessModuleEventData<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload, TOut extends Payload = Payload> = ObserveEndEventData<T, TIn, TOut> & ObserveStartEventData<T, TIn> & ModuleEventData<T>;
|
|
32
|
+
|
|
33
|
+
declare const WitnessConfigSchema: "network.xyo.witness.config";
|
|
34
|
+
type WitnessConfigSchema = typeof WitnessConfigSchema;
|
|
35
|
+
type WitnessConfig<TConfig extends EmptyObject | Payload | void = void, TSchema extends string | void = void> = ModuleConfig<WithAdditional<{
|
|
36
|
+
schema: TConfig extends Payload ? TConfig['schema'] : WitnessConfigSchema;
|
|
37
|
+
}, TConfig>, TSchema>;
|
|
38
|
+
|
|
39
|
+
type WitnessParams<TConfig extends AnyConfigSchema<WitnessConfig> = AnyConfigSchema<WitnessConfig>, TAdditionalParams extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
40
|
+
|
|
41
|
+
interface WitnessModule<TParams extends WitnessParams = WitnessParams, TEvents extends WitnessModuleEventData = WitnessModuleEventData> extends Module<TParams, TEvents> {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
interface WitnessQueryFunctions<TIn extends Payload = Payload, TOut extends Payload = Payload> {
|
|
45
|
+
observe: (payloads?: TIn[]) => Promisable<WithoutPrivateStorageMeta<TOut>[]>;
|
|
46
|
+
observeQuery: (payloads?: TIn[], account?: AccountInstance) => Promisable<ModuleQueryResult<TOut>>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface WitnessInstance<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEvents extends WitnessModuleEventData = WitnessModuleEventData> extends WitnessModule<TParams, TEvents>, WitnessQueryFunctions<TIn, TOut>, ModuleInstance<TParams, TEvents> {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
interface AttachableWitnessInstance<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends WitnessModuleEventData = WitnessModuleEventData> extends WitnessInstance<TParams, TIn, TOut, TEventData>, AttachableModuleInstance<TParams, TEventData> {
|
|
53
|
+
}
|
|
54
|
+
type AttachableWitnessInstanceTypeCheck<T extends AttachableWitnessInstance = AttachableWitnessInstance> = TypeCheck<T>;
|
|
55
|
+
declare class IsAttachableWitnessInstanceFactory<T extends AttachableWitnessInstance = AttachableWitnessInstance> extends IsObjectFactory<T> {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare const asAttachableWitnessInstance: {
|
|
59
|
+
<TType extends AttachableWitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
60
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
61
|
+
addToResolvers?: boolean;
|
|
62
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
63
|
+
allowNameResolution?: boolean;
|
|
64
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
65
|
+
schema: _xyo_network_payload_model.Schema;
|
|
66
|
+
readonly archiving?: {
|
|
67
|
+
readonly archivists?: string[] | undefined;
|
|
68
|
+
readonly queries?: string[] | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
readonly allowedQueries?: string[] | undefined;
|
|
71
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
72
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
73
|
+
readonly labels?: {
|
|
74
|
+
[x: string]: string | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
77
|
+
readonly paging?: {
|
|
78
|
+
[x: string]: {
|
|
79
|
+
size?: number | undefined;
|
|
80
|
+
};
|
|
81
|
+
} | undefined;
|
|
82
|
+
readonly retry?: {
|
|
83
|
+
backoff?: number | undefined;
|
|
84
|
+
interval?: number | undefined;
|
|
85
|
+
retries?: number | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
readonly security?: {
|
|
88
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
89
|
+
readonly allowed?: {
|
|
90
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
91
|
+
} | undefined;
|
|
92
|
+
readonly disallowed?: {
|
|
93
|
+
[x: string]: Lowercase<string>[];
|
|
94
|
+
} | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
readonly sign?: boolean | undefined;
|
|
97
|
+
readonly storeQueries?: boolean | undefined;
|
|
98
|
+
readonly timestamp?: boolean | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
101
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
102
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
103
|
+
schema: _xyo_network_payload_model.Schema;
|
|
104
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
105
|
+
schema: _xyo_network_payload_model.Schema;
|
|
106
|
+
}>, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
107
|
+
<TType extends AttachableWitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
108
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
109
|
+
addToResolvers?: boolean;
|
|
110
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
111
|
+
allowNameResolution?: boolean;
|
|
112
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
113
|
+
schema: _xyo_network_payload_model.Schema;
|
|
114
|
+
readonly archiving?: {
|
|
115
|
+
readonly archivists?: string[] | undefined;
|
|
116
|
+
readonly queries?: string[] | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
readonly allowedQueries?: string[] | undefined;
|
|
119
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
120
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
121
|
+
readonly labels?: {
|
|
122
|
+
[x: string]: string | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
125
|
+
readonly paging?: {
|
|
126
|
+
[x: string]: {
|
|
127
|
+
size?: number | undefined;
|
|
128
|
+
};
|
|
129
|
+
} | undefined;
|
|
130
|
+
readonly retry?: {
|
|
131
|
+
backoff?: number | undefined;
|
|
132
|
+
interval?: number | undefined;
|
|
133
|
+
retries?: number | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
readonly security?: {
|
|
136
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
137
|
+
readonly allowed?: {
|
|
138
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
139
|
+
} | undefined;
|
|
140
|
+
readonly disallowed?: {
|
|
141
|
+
[x: string]: Lowercase<string>[];
|
|
142
|
+
} | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
readonly sign?: boolean | undefined;
|
|
145
|
+
readonly storeQueries?: boolean | undefined;
|
|
146
|
+
readonly timestamp?: boolean | undefined;
|
|
147
|
+
}>;
|
|
148
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
149
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
150
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
151
|
+
schema: _xyo_network_payload_model.Schema;
|
|
152
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
153
|
+
schema: _xyo_network_payload_model.Schema;
|
|
154
|
+
}>, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableWitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
155
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
156
|
+
addToResolvers?: boolean;
|
|
157
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
158
|
+
allowNameResolution?: boolean;
|
|
159
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
160
|
+
schema: _xyo_network_payload_model.Schema;
|
|
161
|
+
readonly archiving?: {
|
|
162
|
+
readonly archivists?: string[] | undefined;
|
|
163
|
+
readonly queries?: string[] | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
readonly allowedQueries?: string[] | undefined;
|
|
166
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
167
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
168
|
+
readonly labels?: {
|
|
169
|
+
[x: string]: string | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
172
|
+
readonly paging?: {
|
|
173
|
+
[x: string]: {
|
|
174
|
+
size?: number | undefined;
|
|
175
|
+
};
|
|
176
|
+
} | undefined;
|
|
177
|
+
readonly retry?: {
|
|
178
|
+
backoff?: number | undefined;
|
|
179
|
+
interval?: number | undefined;
|
|
180
|
+
retries?: number | undefined;
|
|
181
|
+
} | undefined;
|
|
182
|
+
readonly security?: {
|
|
183
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
184
|
+
readonly allowed?: {
|
|
185
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
186
|
+
} | undefined;
|
|
187
|
+
readonly disallowed?: {
|
|
188
|
+
[x: string]: Lowercase<string>[];
|
|
189
|
+
} | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
readonly sign?: boolean | undefined;
|
|
192
|
+
readonly storeQueries?: boolean | undefined;
|
|
193
|
+
readonly timestamp?: boolean | undefined;
|
|
194
|
+
}>;
|
|
195
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
196
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
197
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
198
|
+
schema: _xyo_network_payload_model.Schema;
|
|
199
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
200
|
+
schema: _xyo_network_payload_model.Schema;
|
|
201
|
+
}>, WitnessModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
declare const requiredAttachableWitnessInstanceFunctions: ObjectTypeShape;
|
|
205
|
+
declare const isAttachableWitnessInstance: TypeCheck<AttachableWitnessInstance>;
|
|
206
|
+
|
|
207
|
+
type CustomWitnessModule<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEvents extends WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut> = WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut>> = Module<TParams, TEvents>;
|
|
208
|
+
|
|
209
|
+
type CustomWitnessInstance<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEvents extends WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut> = WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut>> = CustomWitnessModule<TParams, TIn, TOut, TEvents> & WitnessQueryFunctions<TIn, TOut> & ModuleInstance;
|
|
210
|
+
|
|
211
|
+
declare const WitnessObserveQuerySchema: "network.xyo.query.witness.observe";
|
|
212
|
+
type WitnessObserveQuerySchema = typeof WitnessObserveQuerySchema;
|
|
213
|
+
type WitnessObserveQuery = Query<{
|
|
214
|
+
payloads?: string[];
|
|
215
|
+
schema: WitnessObserveQuerySchema;
|
|
216
|
+
}>;
|
|
217
|
+
|
|
218
|
+
type WitnessQueries = WitnessObserveQuery;
|
|
219
|
+
type WitnessModuleQueries = ModuleQueries | WitnessQueries;
|
|
220
|
+
|
|
221
|
+
declare const isWitnessInstance: _xylabs_object.TypeCheck<WitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
222
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
223
|
+
addToResolvers?: boolean;
|
|
224
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
225
|
+
allowNameResolution?: boolean;
|
|
226
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
227
|
+
schema: _xyo_network_payload_model.Schema;
|
|
228
|
+
readonly archiving?: {
|
|
229
|
+
readonly archivists?: string[] | undefined;
|
|
230
|
+
readonly queries?: string[] | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
readonly allowedQueries?: string[] | undefined;
|
|
233
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
234
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
235
|
+
readonly labels?: {
|
|
236
|
+
[x: string]: string | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
239
|
+
readonly paging?: {
|
|
240
|
+
[x: string]: {
|
|
241
|
+
size?: number | undefined;
|
|
242
|
+
};
|
|
243
|
+
} | undefined;
|
|
244
|
+
readonly retry?: {
|
|
245
|
+
backoff?: number | undefined;
|
|
246
|
+
interval?: number | undefined;
|
|
247
|
+
retries?: number | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
readonly security?: {
|
|
250
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
251
|
+
readonly allowed?: {
|
|
252
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
253
|
+
} | undefined;
|
|
254
|
+
readonly disallowed?: {
|
|
255
|
+
[x: string]: Lowercase<string>[];
|
|
256
|
+
} | undefined;
|
|
257
|
+
} | undefined;
|
|
258
|
+
readonly sign?: boolean | undefined;
|
|
259
|
+
readonly storeQueries?: boolean | undefined;
|
|
260
|
+
readonly timestamp?: boolean | undefined;
|
|
261
|
+
}>;
|
|
262
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
263
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
264
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
265
|
+
schema: _xyo_network_payload_model.Schema;
|
|
266
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
267
|
+
schema: _xyo_network_payload_model.Schema;
|
|
268
|
+
}>, WitnessModuleEventData>>;
|
|
269
|
+
declare const isWitnessModule: _xyo_network_module_model.ModuleTypeCheck<WitnessModule<_xylabs_object.BaseParamsFields & {
|
|
270
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
271
|
+
addToResolvers?: boolean;
|
|
272
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
273
|
+
allowNameResolution?: boolean;
|
|
274
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
275
|
+
schema: _xyo_network_payload_model.Schema;
|
|
276
|
+
readonly archiving?: {
|
|
277
|
+
readonly archivists?: string[] | undefined;
|
|
278
|
+
readonly queries?: string[] | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
readonly allowedQueries?: string[] | undefined;
|
|
281
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
282
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
283
|
+
readonly labels?: {
|
|
284
|
+
[x: string]: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
287
|
+
readonly paging?: {
|
|
288
|
+
[x: string]: {
|
|
289
|
+
size?: number | undefined;
|
|
290
|
+
};
|
|
291
|
+
} | undefined;
|
|
292
|
+
readonly retry?: {
|
|
293
|
+
backoff?: number | undefined;
|
|
294
|
+
interval?: number | undefined;
|
|
295
|
+
retries?: number | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
readonly security?: {
|
|
298
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
299
|
+
readonly allowed?: {
|
|
300
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
301
|
+
} | undefined;
|
|
302
|
+
readonly disallowed?: {
|
|
303
|
+
[x: string]: Lowercase<string>[];
|
|
304
|
+
} | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
readonly sign?: boolean | undefined;
|
|
307
|
+
readonly storeQueries?: boolean | undefined;
|
|
308
|
+
readonly timestamp?: boolean | undefined;
|
|
309
|
+
}>;
|
|
310
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
311
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
312
|
+
}, WitnessModuleEventData>>;
|
|
313
|
+
declare const asWitnessModule: {
|
|
314
|
+
<TType extends WitnessModule<_xylabs_object.BaseParamsFields & {
|
|
315
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
316
|
+
addToResolvers?: boolean;
|
|
317
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
318
|
+
allowNameResolution?: boolean;
|
|
319
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
320
|
+
schema: _xyo_network_payload_model.Schema;
|
|
321
|
+
readonly archiving?: {
|
|
322
|
+
readonly archivists?: string[] | undefined;
|
|
323
|
+
readonly queries?: string[] | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
readonly allowedQueries?: string[] | undefined;
|
|
326
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
327
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
328
|
+
readonly labels?: {
|
|
329
|
+
[x: string]: string | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
332
|
+
readonly paging?: {
|
|
333
|
+
[x: string]: {
|
|
334
|
+
size?: number | undefined;
|
|
335
|
+
};
|
|
336
|
+
} | undefined;
|
|
337
|
+
readonly retry?: {
|
|
338
|
+
backoff?: number | undefined;
|
|
339
|
+
interval?: number | undefined;
|
|
340
|
+
retries?: number | undefined;
|
|
341
|
+
} | undefined;
|
|
342
|
+
readonly security?: {
|
|
343
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
344
|
+
readonly allowed?: {
|
|
345
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
346
|
+
} | undefined;
|
|
347
|
+
readonly disallowed?: {
|
|
348
|
+
[x: string]: Lowercase<string>[];
|
|
349
|
+
} | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
readonly sign?: boolean | undefined;
|
|
352
|
+
readonly storeQueries?: boolean | undefined;
|
|
353
|
+
readonly timestamp?: boolean | undefined;
|
|
354
|
+
}>;
|
|
355
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
356
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
357
|
+
}, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
358
|
+
<TType extends WitnessModule<_xylabs_object.BaseParamsFields & {
|
|
359
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
360
|
+
addToResolvers?: boolean;
|
|
361
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
362
|
+
allowNameResolution?: boolean;
|
|
363
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
364
|
+
schema: _xyo_network_payload_model.Schema;
|
|
365
|
+
readonly archiving?: {
|
|
366
|
+
readonly archivists?: string[] | undefined;
|
|
367
|
+
readonly queries?: string[] | undefined;
|
|
368
|
+
} | undefined;
|
|
369
|
+
readonly allowedQueries?: string[] | undefined;
|
|
370
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
371
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
372
|
+
readonly labels?: {
|
|
373
|
+
[x: string]: string | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
376
|
+
readonly paging?: {
|
|
377
|
+
[x: string]: {
|
|
378
|
+
size?: number | undefined;
|
|
379
|
+
};
|
|
380
|
+
} | undefined;
|
|
381
|
+
readonly retry?: {
|
|
382
|
+
backoff?: number | undefined;
|
|
383
|
+
interval?: number | undefined;
|
|
384
|
+
retries?: number | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
readonly security?: {
|
|
387
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
388
|
+
readonly allowed?: {
|
|
389
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
390
|
+
} | undefined;
|
|
391
|
+
readonly disallowed?: {
|
|
392
|
+
[x: string]: Lowercase<string>[];
|
|
393
|
+
} | undefined;
|
|
394
|
+
} | undefined;
|
|
395
|
+
readonly sign?: boolean | undefined;
|
|
396
|
+
readonly storeQueries?: boolean | undefined;
|
|
397
|
+
readonly timestamp?: boolean | undefined;
|
|
398
|
+
}>;
|
|
399
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
400
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
401
|
+
}, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WitnessModule<_xylabs_object.BaseParamsFields & {
|
|
402
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
403
|
+
addToResolvers?: boolean;
|
|
404
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
405
|
+
allowNameResolution?: boolean;
|
|
406
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
407
|
+
schema: _xyo_network_payload_model.Schema;
|
|
408
|
+
readonly archiving?: {
|
|
409
|
+
readonly archivists?: string[] | undefined;
|
|
410
|
+
readonly queries?: string[] | undefined;
|
|
411
|
+
} | undefined;
|
|
412
|
+
readonly allowedQueries?: string[] | undefined;
|
|
413
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
414
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
415
|
+
readonly labels?: {
|
|
416
|
+
[x: string]: string | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
419
|
+
readonly paging?: {
|
|
420
|
+
[x: string]: {
|
|
421
|
+
size?: number | undefined;
|
|
422
|
+
};
|
|
423
|
+
} | undefined;
|
|
424
|
+
readonly retry?: {
|
|
425
|
+
backoff?: number | undefined;
|
|
426
|
+
interval?: number | undefined;
|
|
427
|
+
retries?: number | undefined;
|
|
428
|
+
} | undefined;
|
|
429
|
+
readonly security?: {
|
|
430
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
431
|
+
readonly allowed?: {
|
|
432
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
433
|
+
} | undefined;
|
|
434
|
+
readonly disallowed?: {
|
|
435
|
+
[x: string]: Lowercase<string>[];
|
|
436
|
+
} | undefined;
|
|
437
|
+
} | undefined;
|
|
438
|
+
readonly sign?: boolean | undefined;
|
|
439
|
+
readonly storeQueries?: boolean | undefined;
|
|
440
|
+
readonly timestamp?: boolean | undefined;
|
|
441
|
+
}>;
|
|
442
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
443
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
444
|
+
}, WitnessModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
445
|
+
};
|
|
446
|
+
declare const asWitnessInstance: {
|
|
447
|
+
<TType extends WitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
448
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
449
|
+
addToResolvers?: boolean;
|
|
450
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
451
|
+
allowNameResolution?: boolean;
|
|
452
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
453
|
+
schema: _xyo_network_payload_model.Schema;
|
|
454
|
+
readonly archiving?: {
|
|
455
|
+
readonly archivists?: string[] | undefined;
|
|
456
|
+
readonly queries?: string[] | undefined;
|
|
457
|
+
} | undefined;
|
|
458
|
+
readonly allowedQueries?: string[] | undefined;
|
|
459
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
460
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
461
|
+
readonly labels?: {
|
|
462
|
+
[x: string]: string | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
465
|
+
readonly paging?: {
|
|
466
|
+
[x: string]: {
|
|
467
|
+
size?: number | undefined;
|
|
468
|
+
};
|
|
469
|
+
} | undefined;
|
|
470
|
+
readonly retry?: {
|
|
471
|
+
backoff?: number | undefined;
|
|
472
|
+
interval?: number | undefined;
|
|
473
|
+
retries?: number | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
readonly security?: {
|
|
476
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
477
|
+
readonly allowed?: {
|
|
478
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
479
|
+
} | undefined;
|
|
480
|
+
readonly disallowed?: {
|
|
481
|
+
[x: string]: Lowercase<string>[];
|
|
482
|
+
} | undefined;
|
|
483
|
+
} | undefined;
|
|
484
|
+
readonly sign?: boolean | undefined;
|
|
485
|
+
readonly storeQueries?: boolean | undefined;
|
|
486
|
+
readonly timestamp?: boolean | undefined;
|
|
487
|
+
}>;
|
|
488
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
489
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
490
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
491
|
+
schema: _xyo_network_payload_model.Schema;
|
|
492
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
493
|
+
schema: _xyo_network_payload_model.Schema;
|
|
494
|
+
}>, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
495
|
+
<TType extends WitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
496
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
497
|
+
addToResolvers?: boolean;
|
|
498
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
499
|
+
allowNameResolution?: boolean;
|
|
500
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
501
|
+
schema: _xyo_network_payload_model.Schema;
|
|
502
|
+
readonly archiving?: {
|
|
503
|
+
readonly archivists?: string[] | undefined;
|
|
504
|
+
readonly queries?: string[] | undefined;
|
|
505
|
+
} | undefined;
|
|
506
|
+
readonly allowedQueries?: string[] | undefined;
|
|
507
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
508
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
509
|
+
readonly labels?: {
|
|
510
|
+
[x: string]: string | undefined;
|
|
511
|
+
} | undefined;
|
|
512
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
513
|
+
readonly paging?: {
|
|
514
|
+
[x: string]: {
|
|
515
|
+
size?: number | undefined;
|
|
516
|
+
};
|
|
517
|
+
} | undefined;
|
|
518
|
+
readonly retry?: {
|
|
519
|
+
backoff?: number | undefined;
|
|
520
|
+
interval?: number | undefined;
|
|
521
|
+
retries?: number | undefined;
|
|
522
|
+
} | undefined;
|
|
523
|
+
readonly security?: {
|
|
524
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
525
|
+
readonly allowed?: {
|
|
526
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
527
|
+
} | undefined;
|
|
528
|
+
readonly disallowed?: {
|
|
529
|
+
[x: string]: Lowercase<string>[];
|
|
530
|
+
} | undefined;
|
|
531
|
+
} | undefined;
|
|
532
|
+
readonly sign?: boolean | undefined;
|
|
533
|
+
readonly storeQueries?: boolean | undefined;
|
|
534
|
+
readonly timestamp?: boolean | undefined;
|
|
535
|
+
}>;
|
|
536
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
537
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
538
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
539
|
+
schema: _xyo_network_payload_model.Schema;
|
|
540
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
541
|
+
schema: _xyo_network_payload_model.Schema;
|
|
542
|
+
}>, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
543
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
544
|
+
addToResolvers?: boolean;
|
|
545
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
546
|
+
allowNameResolution?: boolean;
|
|
547
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
548
|
+
schema: _xyo_network_payload_model.Schema;
|
|
549
|
+
readonly archiving?: {
|
|
550
|
+
readonly archivists?: string[] | undefined;
|
|
551
|
+
readonly queries?: string[] | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
readonly allowedQueries?: string[] | undefined;
|
|
554
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
555
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
556
|
+
readonly labels?: {
|
|
557
|
+
[x: string]: string | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
560
|
+
readonly paging?: {
|
|
561
|
+
[x: string]: {
|
|
562
|
+
size?: number | undefined;
|
|
563
|
+
};
|
|
564
|
+
} | undefined;
|
|
565
|
+
readonly retry?: {
|
|
566
|
+
backoff?: number | undefined;
|
|
567
|
+
interval?: number | undefined;
|
|
568
|
+
retries?: number | undefined;
|
|
569
|
+
} | undefined;
|
|
570
|
+
readonly security?: {
|
|
571
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
572
|
+
readonly allowed?: {
|
|
573
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
574
|
+
} | undefined;
|
|
575
|
+
readonly disallowed?: {
|
|
576
|
+
[x: string]: Lowercase<string>[];
|
|
577
|
+
} | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
readonly sign?: boolean | undefined;
|
|
580
|
+
readonly storeQueries?: boolean | undefined;
|
|
581
|
+
readonly timestamp?: boolean | undefined;
|
|
582
|
+
}>;
|
|
583
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
584
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
585
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
586
|
+
schema: _xyo_network_payload_model.Schema;
|
|
587
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
588
|
+
schema: _xyo_network_payload_model.Schema;
|
|
589
|
+
}>, WitnessModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
590
|
+
};
|
|
591
|
+
declare const withWitnessModule: <R>(mod: any, closure: (mod: WitnessModule<_xylabs_object.BaseParamsFields & {
|
|
592
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
593
|
+
addToResolvers?: boolean;
|
|
594
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
595
|
+
allowNameResolution?: boolean;
|
|
596
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
597
|
+
schema: _xyo_network_payload_model.Schema;
|
|
598
|
+
readonly archiving?: {
|
|
599
|
+
readonly archivists?: string[] | undefined;
|
|
600
|
+
readonly queries?: string[] | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
readonly allowedQueries?: string[] | undefined;
|
|
603
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
604
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
605
|
+
readonly labels?: {
|
|
606
|
+
[x: string]: string | undefined;
|
|
607
|
+
} | undefined;
|
|
608
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
609
|
+
readonly paging?: {
|
|
610
|
+
[x: string]: {
|
|
611
|
+
size?: number | undefined;
|
|
612
|
+
};
|
|
613
|
+
} | undefined;
|
|
614
|
+
readonly retry?: {
|
|
615
|
+
backoff?: number | undefined;
|
|
616
|
+
interval?: number | undefined;
|
|
617
|
+
retries?: number | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
readonly security?: {
|
|
620
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
621
|
+
readonly allowed?: {
|
|
622
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
623
|
+
} | undefined;
|
|
624
|
+
readonly disallowed?: {
|
|
625
|
+
[x: string]: Lowercase<string>[];
|
|
626
|
+
} | undefined;
|
|
627
|
+
} | undefined;
|
|
628
|
+
readonly sign?: boolean | undefined;
|
|
629
|
+
readonly storeQueries?: boolean | undefined;
|
|
630
|
+
readonly timestamp?: boolean | undefined;
|
|
631
|
+
}>;
|
|
632
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
633
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
634
|
+
}, WitnessModuleEventData>) => R) => R | undefined;
|
|
635
|
+
declare const withWitnessInstance: <R>(mod: any, closure: (mod: WitnessInstance<_xylabs_object.BaseParamsFields & {
|
|
636
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
637
|
+
addToResolvers?: boolean;
|
|
638
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
639
|
+
allowNameResolution?: boolean;
|
|
640
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
641
|
+
schema: _xyo_network_payload_model.Schema;
|
|
642
|
+
readonly archiving?: {
|
|
643
|
+
readonly archivists?: string[] | undefined;
|
|
644
|
+
readonly queries?: string[] | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
readonly allowedQueries?: string[] | undefined;
|
|
647
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
648
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
649
|
+
readonly labels?: {
|
|
650
|
+
[x: string]: string | undefined;
|
|
651
|
+
} | undefined;
|
|
652
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
653
|
+
readonly paging?: {
|
|
654
|
+
[x: string]: {
|
|
655
|
+
size?: number | undefined;
|
|
656
|
+
};
|
|
657
|
+
} | undefined;
|
|
658
|
+
readonly retry?: {
|
|
659
|
+
backoff?: number | undefined;
|
|
660
|
+
interval?: number | undefined;
|
|
661
|
+
retries?: number | undefined;
|
|
662
|
+
} | undefined;
|
|
663
|
+
readonly security?: {
|
|
664
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
665
|
+
readonly allowed?: {
|
|
666
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
667
|
+
} | undefined;
|
|
668
|
+
readonly disallowed?: {
|
|
669
|
+
[x: string]: Lowercase<string>[];
|
|
670
|
+
} | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
readonly sign?: boolean | undefined;
|
|
673
|
+
readonly storeQueries?: boolean | undefined;
|
|
674
|
+
readonly timestamp?: boolean | undefined;
|
|
675
|
+
}>;
|
|
676
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
677
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
678
|
+
}, _xylabs_object.DeepRestrictToStringKeys<{
|
|
679
|
+
schema: _xyo_network_payload_model.Schema;
|
|
680
|
+
}>, _xylabs_object.DeepRestrictToStringKeys<{
|
|
681
|
+
schema: _xyo_network_payload_model.Schema;
|
|
682
|
+
}>, WitnessModuleEventData>) => R) => R | undefined;
|
|
683
|
+
|
|
684
|
+
export { type AttachableWitnessInstance, type AttachableWitnessInstanceTypeCheck, type CustomWitnessInstance, type CustomWitnessModule, IsAttachableWitnessInstanceFactory, type ObserveEndEventArgs, type ObserveEndEventData, type ObserveStartEventArgs, type ObserveStartEventData, type WitnessConfig, WitnessConfigSchema, type WitnessInstance, type WitnessModule, type WitnessModuleEventData, type WitnessModuleQueries, type WitnessObserveQuery, WitnessObserveQuerySchema, type WitnessParams, type WitnessQueries, type WitnessQueryFunctions, asAttachableWitnessInstance, asWitnessInstance, asWitnessModule, isAttachableWitnessInstance, isWitnessInstance, isWitnessModule, requiredAttachableWitnessInstanceFunctions, withWitnessInstance, withWitnessModule };
|