@xyo-network/witness-model 3.7.2 → 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
|
@@ -1,465 +0,0 @@
|
|
|
1
|
-
import type { WitnessInstance } from './Instance.ts';
|
|
2
|
-
import type { WitnessModule } from './Module.ts';
|
|
3
|
-
export declare const isWitnessInstance: import("@xylabs/object").TypeCheck<WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
5
|
-
addToResolvers?: boolean;
|
|
6
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
7
|
-
allowNameResolution?: boolean;
|
|
8
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
9
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
10
|
-
readonly archiving?: {
|
|
11
|
-
readonly archivists?: string[] | undefined;
|
|
12
|
-
readonly queries?: string[] | undefined;
|
|
13
|
-
} | undefined;
|
|
14
|
-
readonly allowedQueries?: string[] | undefined;
|
|
15
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
16
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
17
|
-
readonly labels?: {
|
|
18
|
-
[x: string]: string | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
21
|
-
readonly paging?: {
|
|
22
|
-
[x: string]: {
|
|
23
|
-
size?: number | undefined;
|
|
24
|
-
};
|
|
25
|
-
} | undefined;
|
|
26
|
-
readonly retry?: {
|
|
27
|
-
backoff?: number | undefined;
|
|
28
|
-
interval?: number | undefined;
|
|
29
|
-
retries?: number | undefined;
|
|
30
|
-
} | undefined;
|
|
31
|
-
readonly security?: {
|
|
32
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
-
readonly allowed?: {
|
|
34
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
35
|
-
} | undefined;
|
|
36
|
-
readonly disallowed?: {
|
|
37
|
-
[x: string]: Lowercase<string>[];
|
|
38
|
-
} | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
readonly sign?: boolean | undefined;
|
|
41
|
-
readonly storeQueries?: boolean | undefined;
|
|
42
|
-
readonly timestamp?: boolean | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
45
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
46
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
47
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
48
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
49
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
50
|
-
}>, import("./EventData.ts").WitnessModuleEventData>>;
|
|
51
|
-
export declare const isWitnessModule: import("@xyo-network/module-model").ModuleTypeCheck<WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
52
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
53
|
-
addToResolvers?: boolean;
|
|
54
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
55
|
-
allowNameResolution?: boolean;
|
|
56
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
57
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
58
|
-
readonly archiving?: {
|
|
59
|
-
readonly archivists?: string[] | undefined;
|
|
60
|
-
readonly queries?: string[] | undefined;
|
|
61
|
-
} | undefined;
|
|
62
|
-
readonly allowedQueries?: string[] | undefined;
|
|
63
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
64
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
65
|
-
readonly labels?: {
|
|
66
|
-
[x: string]: string | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
69
|
-
readonly paging?: {
|
|
70
|
-
[x: string]: {
|
|
71
|
-
size?: number | undefined;
|
|
72
|
-
};
|
|
73
|
-
} | undefined;
|
|
74
|
-
readonly retry?: {
|
|
75
|
-
backoff?: number | undefined;
|
|
76
|
-
interval?: number | undefined;
|
|
77
|
-
retries?: number | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
readonly security?: {
|
|
80
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
81
|
-
readonly allowed?: {
|
|
82
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
83
|
-
} | undefined;
|
|
84
|
-
readonly disallowed?: {
|
|
85
|
-
[x: string]: Lowercase<string>[];
|
|
86
|
-
} | undefined;
|
|
87
|
-
} | undefined;
|
|
88
|
-
readonly sign?: boolean | undefined;
|
|
89
|
-
readonly storeQueries?: boolean | undefined;
|
|
90
|
-
readonly timestamp?: boolean | undefined;
|
|
91
|
-
}>;
|
|
92
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
93
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
94
|
-
}, import("./EventData.ts").WitnessModuleEventData>>;
|
|
95
|
-
export declare const asWitnessModule: {
|
|
96
|
-
<TType extends WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
97
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
98
|
-
addToResolvers?: boolean;
|
|
99
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
100
|
-
allowNameResolution?: boolean;
|
|
101
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
102
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
103
|
-
readonly archiving?: {
|
|
104
|
-
readonly archivists?: string[] | undefined;
|
|
105
|
-
readonly queries?: string[] | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
readonly allowedQueries?: string[] | undefined;
|
|
108
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
109
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
110
|
-
readonly labels?: {
|
|
111
|
-
[x: string]: string | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
114
|
-
readonly paging?: {
|
|
115
|
-
[x: string]: {
|
|
116
|
-
size?: number | undefined;
|
|
117
|
-
};
|
|
118
|
-
} | undefined;
|
|
119
|
-
readonly retry?: {
|
|
120
|
-
backoff?: number | undefined;
|
|
121
|
-
interval?: number | undefined;
|
|
122
|
-
retries?: number | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
readonly security?: {
|
|
125
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
126
|
-
readonly allowed?: {
|
|
127
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
128
|
-
} | undefined;
|
|
129
|
-
readonly disallowed?: {
|
|
130
|
-
[x: string]: Lowercase<string>[];
|
|
131
|
-
} | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
readonly sign?: boolean | undefined;
|
|
134
|
-
readonly storeQueries?: boolean | undefined;
|
|
135
|
-
readonly timestamp?: boolean | undefined;
|
|
136
|
-
}>;
|
|
137
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
138
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
139
|
-
}, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
140
|
-
<TType extends WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
141
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
142
|
-
addToResolvers?: boolean;
|
|
143
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
144
|
-
allowNameResolution?: boolean;
|
|
145
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
146
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
147
|
-
readonly archiving?: {
|
|
148
|
-
readonly archivists?: string[] | undefined;
|
|
149
|
-
readonly queries?: string[] | undefined;
|
|
150
|
-
} | undefined;
|
|
151
|
-
readonly allowedQueries?: string[] | undefined;
|
|
152
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
153
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
154
|
-
readonly labels?: {
|
|
155
|
-
[x: string]: string | undefined;
|
|
156
|
-
} | undefined;
|
|
157
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
158
|
-
readonly paging?: {
|
|
159
|
-
[x: string]: {
|
|
160
|
-
size?: number | undefined;
|
|
161
|
-
};
|
|
162
|
-
} | undefined;
|
|
163
|
-
readonly retry?: {
|
|
164
|
-
backoff?: number | undefined;
|
|
165
|
-
interval?: number | undefined;
|
|
166
|
-
retries?: number | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
readonly security?: {
|
|
169
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
170
|
-
readonly allowed?: {
|
|
171
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
172
|
-
} | undefined;
|
|
173
|
-
readonly disallowed?: {
|
|
174
|
-
[x: string]: Lowercase<string>[];
|
|
175
|
-
} | undefined;
|
|
176
|
-
} | undefined;
|
|
177
|
-
readonly sign?: boolean | undefined;
|
|
178
|
-
readonly storeQueries?: boolean | undefined;
|
|
179
|
-
readonly timestamp?: boolean | undefined;
|
|
180
|
-
}>;
|
|
181
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
182
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
183
|
-
}, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
184
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
185
|
-
addToResolvers?: boolean;
|
|
186
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
187
|
-
allowNameResolution?: boolean;
|
|
188
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
189
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
190
|
-
readonly archiving?: {
|
|
191
|
-
readonly archivists?: string[] | undefined;
|
|
192
|
-
readonly queries?: string[] | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
readonly allowedQueries?: string[] | undefined;
|
|
195
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
196
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
197
|
-
readonly labels?: {
|
|
198
|
-
[x: string]: string | undefined;
|
|
199
|
-
} | undefined;
|
|
200
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
201
|
-
readonly paging?: {
|
|
202
|
-
[x: string]: {
|
|
203
|
-
size?: number | undefined;
|
|
204
|
-
};
|
|
205
|
-
} | undefined;
|
|
206
|
-
readonly retry?: {
|
|
207
|
-
backoff?: number | undefined;
|
|
208
|
-
interval?: number | undefined;
|
|
209
|
-
retries?: number | undefined;
|
|
210
|
-
} | undefined;
|
|
211
|
-
readonly security?: {
|
|
212
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
213
|
-
readonly allowed?: {
|
|
214
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
215
|
-
} | undefined;
|
|
216
|
-
readonly disallowed?: {
|
|
217
|
-
[x: string]: Lowercase<string>[];
|
|
218
|
-
} | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
readonly sign?: boolean | undefined;
|
|
221
|
-
readonly storeQueries?: boolean | undefined;
|
|
222
|
-
readonly timestamp?: boolean | undefined;
|
|
223
|
-
}>;
|
|
224
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
225
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
226
|
-
}, import("./EventData.ts").WitnessModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
227
|
-
};
|
|
228
|
-
export declare const asWitnessInstance: {
|
|
229
|
-
<TType extends WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
230
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
231
|
-
addToResolvers?: boolean;
|
|
232
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
233
|
-
allowNameResolution?: boolean;
|
|
234
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
235
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
236
|
-
readonly archiving?: {
|
|
237
|
-
readonly archivists?: string[] | undefined;
|
|
238
|
-
readonly queries?: string[] | undefined;
|
|
239
|
-
} | undefined;
|
|
240
|
-
readonly allowedQueries?: string[] | undefined;
|
|
241
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
242
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
243
|
-
readonly labels?: {
|
|
244
|
-
[x: string]: string | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
247
|
-
readonly paging?: {
|
|
248
|
-
[x: string]: {
|
|
249
|
-
size?: number | undefined;
|
|
250
|
-
};
|
|
251
|
-
} | undefined;
|
|
252
|
-
readonly retry?: {
|
|
253
|
-
backoff?: number | undefined;
|
|
254
|
-
interval?: number | undefined;
|
|
255
|
-
retries?: number | undefined;
|
|
256
|
-
} | undefined;
|
|
257
|
-
readonly security?: {
|
|
258
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
259
|
-
readonly allowed?: {
|
|
260
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
261
|
-
} | undefined;
|
|
262
|
-
readonly disallowed?: {
|
|
263
|
-
[x: string]: Lowercase<string>[];
|
|
264
|
-
} | undefined;
|
|
265
|
-
} | undefined;
|
|
266
|
-
readonly sign?: boolean | undefined;
|
|
267
|
-
readonly storeQueries?: boolean | undefined;
|
|
268
|
-
readonly timestamp?: boolean | undefined;
|
|
269
|
-
}>;
|
|
270
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
271
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
272
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
273
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
274
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
275
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
276
|
-
}>, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
277
|
-
<TType extends WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
278
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
279
|
-
addToResolvers?: boolean;
|
|
280
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
281
|
-
allowNameResolution?: boolean;
|
|
282
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
283
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
284
|
-
readonly archiving?: {
|
|
285
|
-
readonly archivists?: string[] | undefined;
|
|
286
|
-
readonly queries?: string[] | undefined;
|
|
287
|
-
} | undefined;
|
|
288
|
-
readonly allowedQueries?: string[] | undefined;
|
|
289
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
290
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
291
|
-
readonly labels?: {
|
|
292
|
-
[x: string]: string | undefined;
|
|
293
|
-
} | undefined;
|
|
294
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
295
|
-
readonly paging?: {
|
|
296
|
-
[x: string]: {
|
|
297
|
-
size?: number | undefined;
|
|
298
|
-
};
|
|
299
|
-
} | undefined;
|
|
300
|
-
readonly retry?: {
|
|
301
|
-
backoff?: number | undefined;
|
|
302
|
-
interval?: number | undefined;
|
|
303
|
-
retries?: number | undefined;
|
|
304
|
-
} | undefined;
|
|
305
|
-
readonly security?: {
|
|
306
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
307
|
-
readonly allowed?: {
|
|
308
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
309
|
-
} | undefined;
|
|
310
|
-
readonly disallowed?: {
|
|
311
|
-
[x: string]: Lowercase<string>[];
|
|
312
|
-
} | undefined;
|
|
313
|
-
} | undefined;
|
|
314
|
-
readonly sign?: boolean | undefined;
|
|
315
|
-
readonly storeQueries?: boolean | undefined;
|
|
316
|
-
readonly timestamp?: boolean | undefined;
|
|
317
|
-
}>;
|
|
318
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
319
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
320
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
321
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
322
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
323
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
324
|
-
}>, import("./EventData.ts").WitnessModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
325
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
326
|
-
addToResolvers?: boolean;
|
|
327
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
328
|
-
allowNameResolution?: boolean;
|
|
329
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
330
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
331
|
-
readonly archiving?: {
|
|
332
|
-
readonly archivists?: string[] | undefined;
|
|
333
|
-
readonly queries?: string[] | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
readonly allowedQueries?: string[] | undefined;
|
|
336
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
337
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
338
|
-
readonly labels?: {
|
|
339
|
-
[x: string]: string | undefined;
|
|
340
|
-
} | undefined;
|
|
341
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
342
|
-
readonly paging?: {
|
|
343
|
-
[x: string]: {
|
|
344
|
-
size?: number | undefined;
|
|
345
|
-
};
|
|
346
|
-
} | undefined;
|
|
347
|
-
readonly retry?: {
|
|
348
|
-
backoff?: number | undefined;
|
|
349
|
-
interval?: number | undefined;
|
|
350
|
-
retries?: number | undefined;
|
|
351
|
-
} | undefined;
|
|
352
|
-
readonly security?: {
|
|
353
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
354
|
-
readonly allowed?: {
|
|
355
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
356
|
-
} | undefined;
|
|
357
|
-
readonly disallowed?: {
|
|
358
|
-
[x: string]: Lowercase<string>[];
|
|
359
|
-
} | undefined;
|
|
360
|
-
} | undefined;
|
|
361
|
-
readonly sign?: boolean | undefined;
|
|
362
|
-
readonly storeQueries?: boolean | undefined;
|
|
363
|
-
readonly timestamp?: boolean | undefined;
|
|
364
|
-
}>;
|
|
365
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
366
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
367
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
368
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
369
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
370
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
371
|
-
}>, import("./EventData.ts").WitnessModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
372
|
-
};
|
|
373
|
-
export declare const withWitnessModule: <R>(mod: any, closure: (mod: WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
374
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
375
|
-
addToResolvers?: boolean;
|
|
376
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
377
|
-
allowNameResolution?: boolean;
|
|
378
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
379
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
380
|
-
readonly archiving?: {
|
|
381
|
-
readonly archivists?: string[] | undefined;
|
|
382
|
-
readonly queries?: string[] | undefined;
|
|
383
|
-
} | undefined;
|
|
384
|
-
readonly allowedQueries?: string[] | undefined;
|
|
385
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
386
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
387
|
-
readonly labels?: {
|
|
388
|
-
[x: string]: string | undefined;
|
|
389
|
-
} | undefined;
|
|
390
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
391
|
-
readonly paging?: {
|
|
392
|
-
[x: string]: {
|
|
393
|
-
size?: number | undefined;
|
|
394
|
-
};
|
|
395
|
-
} | undefined;
|
|
396
|
-
readonly retry?: {
|
|
397
|
-
backoff?: number | undefined;
|
|
398
|
-
interval?: number | undefined;
|
|
399
|
-
retries?: number | undefined;
|
|
400
|
-
} | undefined;
|
|
401
|
-
readonly security?: {
|
|
402
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
403
|
-
readonly allowed?: {
|
|
404
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
405
|
-
} | undefined;
|
|
406
|
-
readonly disallowed?: {
|
|
407
|
-
[x: string]: Lowercase<string>[];
|
|
408
|
-
} | undefined;
|
|
409
|
-
} | undefined;
|
|
410
|
-
readonly sign?: boolean | undefined;
|
|
411
|
-
readonly storeQueries?: boolean | undefined;
|
|
412
|
-
readonly timestamp?: boolean | undefined;
|
|
413
|
-
}>;
|
|
414
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
415
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
416
|
-
}, import("./EventData.ts").WitnessModuleEventData>) => R) => R | undefined;
|
|
417
|
-
export declare const withWitnessInstance: <R>(mod: any, closure: (mod: WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
418
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
419
|
-
addToResolvers?: boolean;
|
|
420
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
421
|
-
allowNameResolution?: boolean;
|
|
422
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
423
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
424
|
-
readonly archiving?: {
|
|
425
|
-
readonly archivists?: string[] | undefined;
|
|
426
|
-
readonly queries?: string[] | undefined;
|
|
427
|
-
} | undefined;
|
|
428
|
-
readonly allowedQueries?: string[] | undefined;
|
|
429
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
430
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
431
|
-
readonly labels?: {
|
|
432
|
-
[x: string]: string | undefined;
|
|
433
|
-
} | undefined;
|
|
434
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
435
|
-
readonly paging?: {
|
|
436
|
-
[x: string]: {
|
|
437
|
-
size?: number | undefined;
|
|
438
|
-
};
|
|
439
|
-
} | undefined;
|
|
440
|
-
readonly retry?: {
|
|
441
|
-
backoff?: number | undefined;
|
|
442
|
-
interval?: number | undefined;
|
|
443
|
-
retries?: number | undefined;
|
|
444
|
-
} | undefined;
|
|
445
|
-
readonly security?: {
|
|
446
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
447
|
-
readonly allowed?: {
|
|
448
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
449
|
-
} | undefined;
|
|
450
|
-
readonly disallowed?: {
|
|
451
|
-
[x: string]: Lowercase<string>[];
|
|
452
|
-
} | undefined;
|
|
453
|
-
} | undefined;
|
|
454
|
-
readonly sign?: boolean | undefined;
|
|
455
|
-
readonly storeQueries?: boolean | undefined;
|
|
456
|
-
readonly timestamp?: boolean | undefined;
|
|
457
|
-
}>;
|
|
458
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
459
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
460
|
-
}, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
461
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
462
|
-
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
463
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
464
|
-
}>, import("./EventData.ts").WitnessModuleEventData>) => R) => R | undefined;
|
|
465
|
-
//# sourceMappingURL=typeChecks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA+F,CAAA;AAC7H,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA2E,CAAA;AAEvG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEANO,iBACjC,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uEAEe,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0EAC9B,gBAAoB;CAEP,CAAA;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAPK,iBACjC,iCAAiC,gBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAEe,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAC9B,gBAAoB;CAGH,CAAA;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EAAsC,CAAA;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAwC,CAAA"}
|