@xyo-network/witness-model 2.92.1 → 2.92.2
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/browser/typeChecks.d.cts +16 -272
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +16 -272
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +16 -272
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/node/typeChecks.d.cts +16 -272
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +16 -272
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +16 -272
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -2,41 +2,9 @@ import { WitnessInstance } from './Instance';
|
|
|
2
2
|
import { WitnessModule } from './Module';
|
|
3
3
|
export declare const isWitnessInstance: import("@xylabs/object").TypeCheck<WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
4
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
6
|
-
readonly archivist?: string | undefined;
|
|
7
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
-
readonly name?: string | undefined;
|
|
9
|
-
readonly paging?: Record<string, {
|
|
10
|
-
size?: number | undefined;
|
|
11
|
-
}> | undefined;
|
|
12
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
5
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
13
6
|
schema: "network.xyo.witness.config";
|
|
14
|
-
|
|
15
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
16
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
17
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
18
|
-
} | undefined;
|
|
19
|
-
readonly sign?: boolean | undefined;
|
|
20
|
-
readonly storeQueries?: boolean | undefined;
|
|
21
|
-
readonly timestamp?: boolean | undefined;
|
|
22
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
23
|
-
readonly archivist?: string | undefined;
|
|
24
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
25
|
-
readonly name?: string | undefined;
|
|
26
|
-
readonly paging?: Record<string, {
|
|
27
|
-
size?: number | undefined;
|
|
28
|
-
}> | undefined;
|
|
29
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
30
|
-
schema: "network.xyo.witness.config";
|
|
31
|
-
readonly security?: {
|
|
32
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
33
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
34
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
readonly sign?: boolean | undefined;
|
|
37
|
-
readonly storeQueries?: boolean | undefined;
|
|
38
|
-
readonly timestamp?: boolean | undefined;
|
|
39
|
-
} & {
|
|
7
|
+
}, "schema"> & {
|
|
40
8
|
schema: "network.xyo.witness.config";
|
|
41
9
|
}, "schema"> & {
|
|
42
10
|
schema: string;
|
|
@@ -49,41 +17,9 @@ export declare const isWitnessInstance: import("@xylabs/object").TypeCheck<Witne
|
|
|
49
17
|
} & object>>;
|
|
50
18
|
export declare const isWitnessModule: import("@xyo-network/module-model").ModuleTypeCheck<WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
51
19
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
52
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
53
|
-
readonly archivist?: string | undefined;
|
|
54
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
55
|
-
readonly name?: string | undefined;
|
|
56
|
-
readonly paging?: Record<string, {
|
|
57
|
-
size?: number | undefined;
|
|
58
|
-
}> | undefined;
|
|
59
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
20
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
60
21
|
schema: "network.xyo.witness.config";
|
|
61
|
-
|
|
62
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
63
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
64
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
readonly sign?: boolean | undefined;
|
|
67
|
-
readonly storeQueries?: boolean | undefined;
|
|
68
|
-
readonly timestamp?: boolean | undefined;
|
|
69
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
70
|
-
readonly archivist?: string | undefined;
|
|
71
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
72
|
-
readonly name?: string | undefined;
|
|
73
|
-
readonly paging?: Record<string, {
|
|
74
|
-
size?: number | undefined;
|
|
75
|
-
}> | undefined;
|
|
76
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
77
|
-
schema: "network.xyo.witness.config";
|
|
78
|
-
readonly security?: {
|
|
79
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
80
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
81
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
readonly sign?: boolean | undefined;
|
|
84
|
-
readonly storeQueries?: boolean | undefined;
|
|
85
|
-
readonly timestamp?: boolean | undefined;
|
|
86
|
-
} & {
|
|
22
|
+
}, "schema"> & {
|
|
87
23
|
schema: "network.xyo.witness.config";
|
|
88
24
|
}, "schema"> & {
|
|
89
25
|
schema: string;
|
|
@@ -97,41 +33,9 @@ export declare const isWitnessModule: import("@xyo-network/module-model").Module
|
|
|
97
33
|
export declare const asWitnessModule: {
|
|
98
34
|
<TType extends WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
99
35
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
100
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
101
|
-
readonly archivist?: string | undefined;
|
|
102
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
103
|
-
readonly name?: string | undefined;
|
|
104
|
-
readonly paging?: Record<string, {
|
|
105
|
-
size?: number | undefined;
|
|
106
|
-
}> | undefined;
|
|
107
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
36
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
108
37
|
schema: "network.xyo.witness.config";
|
|
109
|
-
|
|
110
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
111
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
112
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
readonly sign?: boolean | undefined;
|
|
115
|
-
readonly storeQueries?: boolean | undefined;
|
|
116
|
-
readonly timestamp?: boolean | undefined;
|
|
117
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
118
|
-
readonly archivist?: string | undefined;
|
|
119
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
120
|
-
readonly name?: string | undefined;
|
|
121
|
-
readonly paging?: Record<string, {
|
|
122
|
-
size?: number | undefined;
|
|
123
|
-
}> | undefined;
|
|
124
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
125
|
-
schema: "network.xyo.witness.config";
|
|
126
|
-
readonly security?: {
|
|
127
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
128
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
129
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
readonly sign?: boolean | undefined;
|
|
132
|
-
readonly storeQueries?: boolean | undefined;
|
|
133
|
-
readonly timestamp?: boolean | undefined;
|
|
134
|
-
} & {
|
|
38
|
+
}, "schema"> & {
|
|
135
39
|
schema: "network.xyo.witness.config";
|
|
136
40
|
}, "schema"> & {
|
|
137
41
|
schema: string;
|
|
@@ -144,41 +48,9 @@ export declare const asWitnessModule: {
|
|
|
144
48
|
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
145
49
|
<TType_1 extends WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
146
50
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
147
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
148
|
-
readonly archivist?: string | undefined;
|
|
149
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
150
|
-
readonly name?: string | undefined;
|
|
151
|
-
readonly paging?: Record<string, {
|
|
152
|
-
size?: number | undefined;
|
|
153
|
-
}> | undefined;
|
|
154
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
51
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
155
52
|
schema: "network.xyo.witness.config";
|
|
156
|
-
|
|
157
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
158
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
159
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
160
|
-
} | undefined;
|
|
161
|
-
readonly sign?: boolean | undefined;
|
|
162
|
-
readonly storeQueries?: boolean | undefined;
|
|
163
|
-
readonly timestamp?: boolean | undefined;
|
|
164
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
165
|
-
readonly archivist?: string | undefined;
|
|
166
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
167
|
-
readonly name?: string | undefined;
|
|
168
|
-
readonly paging?: Record<string, {
|
|
169
|
-
size?: number | undefined;
|
|
170
|
-
}> | undefined;
|
|
171
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
172
|
-
schema: "network.xyo.witness.config";
|
|
173
|
-
readonly security?: {
|
|
174
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
175
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
176
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
177
|
-
} | undefined;
|
|
178
|
-
readonly sign?: boolean | undefined;
|
|
179
|
-
readonly storeQueries?: boolean | undefined;
|
|
180
|
-
readonly timestamp?: boolean | undefined;
|
|
181
|
-
} & {
|
|
53
|
+
}, "schema"> & {
|
|
182
54
|
schema: "network.xyo.witness.config";
|
|
183
55
|
}, "schema"> & {
|
|
184
56
|
schema: string;
|
|
@@ -193,41 +65,9 @@ export declare const asWitnessModule: {
|
|
|
193
65
|
export declare const asWitnessInstance: {
|
|
194
66
|
<TType extends WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
195
67
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
196
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
197
|
-
readonly archivist?: string | undefined;
|
|
198
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
199
|
-
readonly name?: string | undefined;
|
|
200
|
-
readonly paging?: Record<string, {
|
|
201
|
-
size?: number | undefined;
|
|
202
|
-
}> | undefined;
|
|
203
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
68
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
204
69
|
schema: "network.xyo.witness.config";
|
|
205
|
-
|
|
206
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
207
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
208
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
readonly sign?: boolean | undefined;
|
|
211
|
-
readonly storeQueries?: boolean | undefined;
|
|
212
|
-
readonly timestamp?: boolean | undefined;
|
|
213
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
214
|
-
readonly archivist?: string | undefined;
|
|
215
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
216
|
-
readonly name?: string | undefined;
|
|
217
|
-
readonly paging?: Record<string, {
|
|
218
|
-
size?: number | undefined;
|
|
219
|
-
}> | undefined;
|
|
220
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
221
|
-
schema: "network.xyo.witness.config";
|
|
222
|
-
readonly security?: {
|
|
223
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
224
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
225
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
readonly sign?: boolean | undefined;
|
|
228
|
-
readonly storeQueries?: boolean | undefined;
|
|
229
|
-
readonly timestamp?: boolean | undefined;
|
|
230
|
-
} & {
|
|
70
|
+
}, "schema"> & {
|
|
231
71
|
schema: "network.xyo.witness.config";
|
|
232
72
|
}, "schema"> & {
|
|
233
73
|
schema: string;
|
|
@@ -240,41 +80,9 @@ export declare const asWitnessInstance: {
|
|
|
240
80
|
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
241
81
|
<TType_1 extends WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
242
82
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
243
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
244
|
-
readonly archivist?: string | undefined;
|
|
245
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
246
|
-
readonly name?: string | undefined;
|
|
247
|
-
readonly paging?: Record<string, {
|
|
248
|
-
size?: number | undefined;
|
|
249
|
-
}> | undefined;
|
|
250
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
83
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
251
84
|
schema: "network.xyo.witness.config";
|
|
252
|
-
|
|
253
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
254
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
255
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
256
|
-
} | undefined;
|
|
257
|
-
readonly sign?: boolean | undefined;
|
|
258
|
-
readonly storeQueries?: boolean | undefined;
|
|
259
|
-
readonly timestamp?: boolean | undefined;
|
|
260
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
261
|
-
readonly archivist?: string | undefined;
|
|
262
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
263
|
-
readonly name?: string | undefined;
|
|
264
|
-
readonly paging?: Record<string, {
|
|
265
|
-
size?: number | undefined;
|
|
266
|
-
}> | undefined;
|
|
267
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
268
|
-
schema: "network.xyo.witness.config";
|
|
269
|
-
readonly security?: {
|
|
270
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
271
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
272
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
273
|
-
} | undefined;
|
|
274
|
-
readonly sign?: boolean | undefined;
|
|
275
|
-
readonly storeQueries?: boolean | undefined;
|
|
276
|
-
readonly timestamp?: boolean | undefined;
|
|
277
|
-
} & {
|
|
85
|
+
}, "schema"> & {
|
|
278
86
|
schema: "network.xyo.witness.config";
|
|
279
87
|
}, "schema"> & {
|
|
280
88
|
schema: string;
|
|
@@ -288,41 +96,9 @@ export declare const asWitnessInstance: {
|
|
|
288
96
|
};
|
|
289
97
|
export declare const withWitnessModule: <R>(module: any, closure: (module: WitnessModule<import("@xylabs/object").BaseParamsFields & {
|
|
290
98
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
291
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
292
|
-
readonly archivist?: string | undefined;
|
|
293
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
294
|
-
readonly name?: string | undefined;
|
|
295
|
-
readonly paging?: Record<string, {
|
|
296
|
-
size?: number | undefined;
|
|
297
|
-
}> | undefined;
|
|
298
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
99
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
299
100
|
schema: "network.xyo.witness.config";
|
|
300
|
-
|
|
301
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
302
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
303
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
304
|
-
} | undefined;
|
|
305
|
-
readonly sign?: boolean | undefined;
|
|
306
|
-
readonly storeQueries?: boolean | undefined;
|
|
307
|
-
readonly timestamp?: boolean | undefined;
|
|
308
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
309
|
-
readonly archivist?: string | undefined;
|
|
310
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
311
|
-
readonly name?: string | undefined;
|
|
312
|
-
readonly paging?: Record<string, {
|
|
313
|
-
size?: number | undefined;
|
|
314
|
-
}> | undefined;
|
|
315
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
316
|
-
schema: "network.xyo.witness.config";
|
|
317
|
-
readonly security?: {
|
|
318
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
319
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
320
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
321
|
-
} | undefined;
|
|
322
|
-
readonly sign?: boolean | undefined;
|
|
323
|
-
readonly storeQueries?: boolean | undefined;
|
|
324
|
-
readonly timestamp?: boolean | undefined;
|
|
325
|
-
} & {
|
|
101
|
+
}, "schema"> & {
|
|
326
102
|
schema: "network.xyo.witness.config";
|
|
327
103
|
}, "schema"> & {
|
|
328
104
|
schema: string;
|
|
@@ -335,41 +111,9 @@ export declare const withWitnessModule: <R>(module: any, closure: (module: Witne
|
|
|
335
111
|
} & object>) => R) => R | undefined;
|
|
336
112
|
export declare const withWitnessInstance: <R>(module: any, closure: (module: WitnessInstance<import("@xylabs/object").BaseParamsFields & {
|
|
337
113
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
338
|
-
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
339
|
-
readonly archivist?: string | undefined;
|
|
340
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
341
|
-
readonly name?: string | undefined;
|
|
342
|
-
readonly paging?: Record<string, {
|
|
343
|
-
size?: number | undefined;
|
|
344
|
-
}> | undefined;
|
|
345
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
114
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
346
115
|
schema: "network.xyo.witness.config";
|
|
347
|
-
|
|
348
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
349
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
350
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
351
|
-
} | undefined;
|
|
352
|
-
readonly sign?: boolean | undefined;
|
|
353
|
-
readonly storeQueries?: boolean | undefined;
|
|
354
|
-
readonly timestamp?: boolean | undefined;
|
|
355
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
356
|
-
readonly archivist?: string | undefined;
|
|
357
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
358
|
-
readonly name?: string | undefined;
|
|
359
|
-
readonly paging?: Record<string, {
|
|
360
|
-
size?: number | undefined;
|
|
361
|
-
}> | undefined;
|
|
362
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
363
|
-
schema: "network.xyo.witness.config";
|
|
364
|
-
readonly security?: {
|
|
365
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
366
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
367
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
readonly sign?: boolean | undefined;
|
|
370
|
-
readonly storeQueries?: boolean | undefined;
|
|
371
|
-
readonly timestamp?: boolean | undefined;
|
|
372
|
-
} & {
|
|
116
|
+
}, "schema"> & {
|
|
373
117
|
schema: "network.xyo.witness.config";
|
|
374
118
|
}, "schema"> & {
|
|
375
119
|
schema: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;YAA+F,CAAA;AAC7H,eAAO,MAAM,eAAe;;;;;;;;;;;;;;YAA2E,CAAA;AAEvG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAA;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;mCAAsC,CAAA;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;mCAAwC,CAAA"}
|