@xyo-network/bridge-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 +24 -280
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +24 -280
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +24 -280
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/node/typeChecks.d.cts +24 -280
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +24 -280
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +24 -280
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,333 +1,77 @@
|
|
|
1
1
|
import { BridgeInstance, BridgeModule } from './Bridge';
|
|
2
|
-
export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
3
|
-
readonly archivist?: string | undefined;
|
|
4
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
5
|
-
readonly name?: string | undefined;
|
|
6
|
-
readonly paging?: Record<string, {
|
|
7
|
-
size?: number | undefined;
|
|
8
|
-
}> | undefined;
|
|
9
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
10
|
-
schema: "network.xyo.bridge.config";
|
|
11
|
-
readonly security?: {
|
|
12
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
readonly sign?: boolean | undefined;
|
|
17
|
-
readonly storeQueries?: boolean | undefined;
|
|
18
|
-
readonly timestamp?: boolean | undefined;
|
|
19
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
20
|
-
readonly archivist?: string | undefined;
|
|
21
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
22
|
-
readonly name?: string | undefined;
|
|
23
|
-
readonly paging?: Record<string, {
|
|
24
|
-
size?: number | undefined;
|
|
25
|
-
}> | undefined;
|
|
26
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
27
|
-
schema: "network.xyo.bridge.config";
|
|
28
|
-
readonly security?: {
|
|
29
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
32
|
-
} | undefined;
|
|
33
|
-
readonly sign?: boolean | undefined;
|
|
34
|
-
readonly storeQueries?: boolean | undefined;
|
|
35
|
-
readonly timestamp?: boolean | undefined;
|
|
36
|
-
} & {
|
|
2
|
+
export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<BridgeInstance<import("./Bridge").BridgeParams<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 & {
|
|
37
3
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
38
4
|
maxDepth?: number | undefined;
|
|
39
5
|
schema: "network.xyo.bridge.config";
|
|
6
|
+
}, "schema"> & {
|
|
7
|
+
schema: "network.xyo.bridge.config";
|
|
40
8
|
}, "schema"> & {
|
|
41
9
|
schema: string;
|
|
42
10
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
43
|
-
export declare const isBridgeModule: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
44
|
-
readonly archivist?: string | undefined;
|
|
45
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
46
|
-
readonly name?: string | undefined;
|
|
47
|
-
readonly paging?: Record<string, {
|
|
48
|
-
size?: number | undefined;
|
|
49
|
-
}> | undefined;
|
|
50
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
51
|
-
schema: "network.xyo.bridge.config";
|
|
52
|
-
readonly security?: {
|
|
53
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
54
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
55
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
readonly sign?: boolean | undefined;
|
|
58
|
-
readonly storeQueries?: boolean | undefined;
|
|
59
|
-
readonly timestamp?: boolean | undefined;
|
|
60
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
61
|
-
readonly archivist?: string | undefined;
|
|
62
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
63
|
-
readonly name?: string | undefined;
|
|
64
|
-
readonly paging?: Record<string, {
|
|
65
|
-
size?: number | undefined;
|
|
66
|
-
}> | undefined;
|
|
67
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
68
|
-
schema: "network.xyo.bridge.config";
|
|
69
|
-
readonly security?: {
|
|
70
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
71
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
72
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
readonly sign?: boolean | undefined;
|
|
75
|
-
readonly storeQueries?: boolean | undefined;
|
|
76
|
-
readonly timestamp?: boolean | undefined;
|
|
77
|
-
} & {
|
|
11
|
+
export declare const isBridgeModule: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("./Bridge").BridgeParams<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 & {
|
|
78
12
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
79
13
|
maxDepth?: number | undefined;
|
|
80
14
|
schema: "network.xyo.bridge.config";
|
|
15
|
+
}, "schema"> & {
|
|
16
|
+
schema: "network.xyo.bridge.config";
|
|
81
17
|
}, "schema"> & {
|
|
82
18
|
schema: string;
|
|
83
19
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>;
|
|
84
20
|
export declare const asBridgeModule: {
|
|
85
|
-
<TType extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
86
|
-
readonly archivist?: string | undefined;
|
|
87
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
88
|
-
readonly name?: string | undefined;
|
|
89
|
-
readonly paging?: Record<string, {
|
|
90
|
-
size?: number | undefined;
|
|
91
|
-
}> | undefined;
|
|
92
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
93
|
-
schema: "network.xyo.bridge.config";
|
|
94
|
-
readonly security?: {
|
|
95
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
96
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
97
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
readonly sign?: boolean | undefined;
|
|
100
|
-
readonly storeQueries?: boolean | undefined;
|
|
101
|
-
readonly timestamp?: boolean | undefined;
|
|
102
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
103
|
-
readonly archivist?: string | undefined;
|
|
104
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
105
|
-
readonly name?: string | undefined;
|
|
106
|
-
readonly paging?: Record<string, {
|
|
107
|
-
size?: number | undefined;
|
|
108
|
-
}> | undefined;
|
|
109
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
110
|
-
schema: "network.xyo.bridge.config";
|
|
111
|
-
readonly security?: {
|
|
112
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
readonly sign?: boolean | undefined;
|
|
117
|
-
readonly storeQueries?: boolean | undefined;
|
|
118
|
-
readonly timestamp?: boolean | undefined;
|
|
119
|
-
} & {
|
|
21
|
+
<TType extends BridgeModule<import("./Bridge").BridgeParams<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 & {
|
|
120
22
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
121
23
|
maxDepth?: number | undefined;
|
|
122
24
|
schema: "network.xyo.bridge.config";
|
|
25
|
+
}, "schema"> & {
|
|
26
|
+
schema: "network.xyo.bridge.config";
|
|
123
27
|
}, "schema"> & {
|
|
124
28
|
schema: string;
|
|
125
29
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
126
|
-
<TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
127
|
-
readonly archivist?: string | undefined;
|
|
128
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
129
|
-
readonly name?: string | undefined;
|
|
130
|
-
readonly paging?: Record<string, {
|
|
131
|
-
size?: number | undefined;
|
|
132
|
-
}> | undefined;
|
|
133
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
134
|
-
schema: "network.xyo.bridge.config";
|
|
135
|
-
readonly security?: {
|
|
136
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
137
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
138
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
readonly sign?: boolean | undefined;
|
|
141
|
-
readonly storeQueries?: boolean | undefined;
|
|
142
|
-
readonly timestamp?: boolean | undefined;
|
|
143
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
144
|
-
readonly archivist?: string | undefined;
|
|
145
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
146
|
-
readonly name?: string | undefined;
|
|
147
|
-
readonly paging?: Record<string, {
|
|
148
|
-
size?: number | undefined;
|
|
149
|
-
}> | undefined;
|
|
150
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
151
|
-
schema: "network.xyo.bridge.config";
|
|
152
|
-
readonly security?: {
|
|
153
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
154
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
155
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
156
|
-
} | undefined;
|
|
157
|
-
readonly sign?: boolean | undefined;
|
|
158
|
-
readonly storeQueries?: boolean | undefined;
|
|
159
|
-
readonly timestamp?: boolean | undefined;
|
|
160
|
-
} & {
|
|
30
|
+
<TType_1 extends BridgeModule<import("./Bridge").BridgeParams<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 & {
|
|
161
31
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
162
32
|
maxDepth?: number | undefined;
|
|
163
33
|
schema: "network.xyo.bridge.config";
|
|
34
|
+
}, "schema"> & {
|
|
35
|
+
schema: "network.xyo.bridge.config";
|
|
164
36
|
}, "schema"> & {
|
|
165
37
|
schema: string;
|
|
166
38
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
167
39
|
};
|
|
168
40
|
export declare const asBridgeInstance: {
|
|
169
|
-
<TType extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
170
|
-
readonly archivist?: string | undefined;
|
|
171
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
172
|
-
readonly name?: string | undefined;
|
|
173
|
-
readonly paging?: Record<string, {
|
|
174
|
-
size?: number | undefined;
|
|
175
|
-
}> | undefined;
|
|
176
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
177
|
-
schema: "network.xyo.bridge.config";
|
|
178
|
-
readonly security?: {
|
|
179
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
180
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
181
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
readonly sign?: boolean | undefined;
|
|
184
|
-
readonly storeQueries?: boolean | undefined;
|
|
185
|
-
readonly timestamp?: boolean | undefined;
|
|
186
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
187
|
-
readonly archivist?: string | undefined;
|
|
188
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
189
|
-
readonly name?: string | undefined;
|
|
190
|
-
readonly paging?: Record<string, {
|
|
191
|
-
size?: number | undefined;
|
|
192
|
-
}> | undefined;
|
|
193
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
194
|
-
schema: "network.xyo.bridge.config";
|
|
195
|
-
readonly security?: {
|
|
196
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
197
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
199
|
-
} | undefined;
|
|
200
|
-
readonly sign?: boolean | undefined;
|
|
201
|
-
readonly storeQueries?: boolean | undefined;
|
|
202
|
-
readonly timestamp?: boolean | undefined;
|
|
203
|
-
} & {
|
|
41
|
+
<TType extends BridgeInstance<import("./Bridge").BridgeParams<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
42
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
205
43
|
maxDepth?: number | undefined;
|
|
206
44
|
schema: "network.xyo.bridge.config";
|
|
45
|
+
}, "schema"> & {
|
|
46
|
+
schema: "network.xyo.bridge.config";
|
|
207
47
|
}, "schema"> & {
|
|
208
48
|
schema: string;
|
|
209
49
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
210
|
-
<TType_1 extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
211
|
-
readonly archivist?: string | undefined;
|
|
212
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
213
|
-
readonly name?: string | undefined;
|
|
214
|
-
readonly paging?: Record<string, {
|
|
215
|
-
size?: number | undefined;
|
|
216
|
-
}> | undefined;
|
|
217
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
218
|
-
schema: "network.xyo.bridge.config";
|
|
219
|
-
readonly security?: {
|
|
220
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
221
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
222
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
223
|
-
} | undefined;
|
|
224
|
-
readonly sign?: boolean | undefined;
|
|
225
|
-
readonly storeQueries?: boolean | undefined;
|
|
226
|
-
readonly timestamp?: boolean | undefined;
|
|
227
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
228
|
-
readonly archivist?: string | undefined;
|
|
229
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
230
|
-
readonly name?: string | undefined;
|
|
231
|
-
readonly paging?: Record<string, {
|
|
232
|
-
size?: number | undefined;
|
|
233
|
-
}> | undefined;
|
|
234
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
235
|
-
schema: "network.xyo.bridge.config";
|
|
236
|
-
readonly security?: {
|
|
237
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
238
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
239
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
readonly sign?: boolean | undefined;
|
|
242
|
-
readonly storeQueries?: boolean | undefined;
|
|
243
|
-
readonly timestamp?: boolean | undefined;
|
|
244
|
-
} & {
|
|
50
|
+
<TType_1 extends BridgeInstance<import("./Bridge").BridgeParams<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 & {
|
|
245
51
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
246
52
|
maxDepth?: number | undefined;
|
|
247
53
|
schema: "network.xyo.bridge.config";
|
|
54
|
+
}, "schema"> & {
|
|
55
|
+
schema: "network.xyo.bridge.config";
|
|
248
56
|
}, "schema"> & {
|
|
249
57
|
schema: string;
|
|
250
58
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
251
59
|
};
|
|
252
|
-
export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
253
|
-
readonly archivist?: string | undefined;
|
|
254
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
255
|
-
readonly name?: string | undefined;
|
|
256
|
-
readonly paging?: Record<string, {
|
|
257
|
-
size?: number | undefined;
|
|
258
|
-
}> | undefined;
|
|
259
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
260
|
-
schema: "network.xyo.bridge.config";
|
|
261
|
-
readonly security?: {
|
|
262
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
263
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
264
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
265
|
-
} | undefined;
|
|
266
|
-
readonly sign?: boolean | undefined;
|
|
267
|
-
readonly storeQueries?: boolean | undefined;
|
|
268
|
-
readonly timestamp?: boolean | undefined;
|
|
269
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
270
|
-
readonly archivist?: string | undefined;
|
|
271
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
272
|
-
readonly name?: string | undefined;
|
|
273
|
-
readonly paging?: Record<string, {
|
|
274
|
-
size?: number | undefined;
|
|
275
|
-
}> | undefined;
|
|
276
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
277
|
-
schema: "network.xyo.bridge.config";
|
|
278
|
-
readonly security?: {
|
|
279
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
280
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
281
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
282
|
-
} | undefined;
|
|
283
|
-
readonly sign?: boolean | undefined;
|
|
284
|
-
readonly storeQueries?: boolean | undefined;
|
|
285
|
-
readonly timestamp?: boolean | undefined;
|
|
286
|
-
} & {
|
|
60
|
+
export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<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 & {
|
|
287
61
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
288
62
|
maxDepth?: number | undefined;
|
|
289
63
|
schema: "network.xyo.bridge.config";
|
|
64
|
+
}, "schema"> & {
|
|
65
|
+
schema: "network.xyo.bridge.config";
|
|
290
66
|
}, "schema"> & {
|
|
291
67
|
schema: string;
|
|
292
68
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>) => R) => R | undefined;
|
|
293
|
-
export declare const withBridgeInstance: <R>(module: any, closure: (module: BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
294
|
-
readonly archivist?: string | undefined;
|
|
295
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
296
|
-
readonly name?: string | undefined;
|
|
297
|
-
readonly paging?: Record<string, {
|
|
298
|
-
size?: number | undefined;
|
|
299
|
-
}> | undefined;
|
|
300
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
301
|
-
schema: "network.xyo.bridge.config";
|
|
302
|
-
readonly security?: {
|
|
303
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
304
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
305
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
306
|
-
} | undefined;
|
|
307
|
-
readonly sign?: boolean | undefined;
|
|
308
|
-
readonly storeQueries?: boolean | undefined;
|
|
309
|
-
readonly timestamp?: boolean | undefined;
|
|
310
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
311
|
-
readonly archivist?: string | undefined;
|
|
312
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
313
|
-
readonly name?: string | undefined;
|
|
314
|
-
readonly paging?: Record<string, {
|
|
315
|
-
size?: number | undefined;
|
|
316
|
-
}> | undefined;
|
|
317
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
318
|
-
schema: "network.xyo.bridge.config";
|
|
319
|
-
readonly security?: {
|
|
320
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
321
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
322
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
323
|
-
} | undefined;
|
|
324
|
-
readonly sign?: boolean | undefined;
|
|
325
|
-
readonly storeQueries?: boolean | undefined;
|
|
326
|
-
readonly timestamp?: boolean | undefined;
|
|
327
|
-
} & {
|
|
69
|
+
export declare const withBridgeInstance: <R>(module: any, closure: (module: BridgeInstance<import("./Bridge").BridgeParams<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 & {
|
|
328
70
|
discoverCache?: true | import("./Config").CacheConfig | undefined;
|
|
329
71
|
maxDepth?: number | undefined;
|
|
330
72
|
schema: "network.xyo.bridge.config";
|
|
73
|
+
}, "schema"> & {
|
|
74
|
+
schema: "network.xyo.bridge.config";
|
|
331
75
|
}, "schema"> & {
|
|
332
76
|
schema: string;
|
|
333
77
|
}>, import("@xyo-network/module-model").ModuleEventData<object>>) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGvD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGvD,eAAO,MAAM,gBAAgB;;;;;;;;iEAK5B,CAAA;AACD,eAAO,MAAM,cAAc;;;;;;;;iEAAsG,CAAA;AAEjI,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAA2C,CAAA;AACxE,eAAO,MAAM,gBAAgB;;;;;;;;wFAAqC,CAAA;AAClE,eAAO,MAAM,kBAAkB;;;;;;;;wFAAuC,CAAA"}
|