@xyo-network/bridge-model 2.84.15 → 2.84.16

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.
@@ -1,6 +1,6 @@
1
1
  import { BridgeInstance, BridgeModule } from './Bridge';
2
2
  export declare const isBridgeInstance: import("@xyo-network/object").TypeCheck<BridgeInstance>;
3
- export declare const isBridgeModule: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
3
+ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
4
4
  accountDerivationPath?: string | undefined;
5
5
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
6
6
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -16,13 +16,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
16
16
  readonly sign?: boolean | undefined;
17
17
  readonly storeQueries?: boolean | undefined;
18
18
  readonly timestamp?: boolean | undefined;
19
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
20
- discoverCache?: true | import("./Config").CacheConfig | undefined;
21
- maxDepth?: number | undefined;
22
- schema: "network.xyo.bridge.config";
23
- }, "schema"> & {
24
- schema: "network.xyo.bridge.config";
25
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
19
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
26
20
  accountDerivationPath?: string | undefined;
27
21
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
28
22
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -44,53 +38,11 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
44
38
  schema: "network.xyo.bridge.config";
45
39
  }, "schema"> & {
46
40
  schema: "network.xyo.bridge.config";
47
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
48
- accountDerivationPath?: string | undefined;
49
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
50
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
51
- readonly name?: string | undefined;
52
- readonly paging?: Record<string, {
53
- size?: number | undefined;
54
- }> | undefined;
55
- readonly security?: {
56
- readonly allowAnonymous?: boolean | undefined;
57
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
58
- readonly disallowed?: Record<string, string[]> | undefined;
59
- } | undefined;
60
- readonly sign?: boolean | undefined;
61
- readonly storeQueries?: boolean | undefined;
62
- readonly timestamp?: boolean | undefined;
63
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
64
- discoverCache?: true | import("./Config").CacheConfig | undefined;
65
- maxDepth?: number | undefined;
66
- schema: "network.xyo.bridge.config";
67
41
  }, "schema"> & {
68
- schema: "network.xyo.bridge.config";
69
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
70
- accountDerivationPath?: string | undefined;
71
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
72
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
73
- readonly name?: string | undefined;
74
- readonly paging?: Record<string, {
75
- size?: number | undefined;
76
- }> | undefined;
77
- readonly security?: {
78
- readonly allowAnonymous?: boolean | undefined;
79
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
80
- readonly disallowed?: Record<string, string[]> | undefined;
81
- } | undefined;
82
- readonly sign?: boolean | undefined;
83
- readonly storeQueries?: boolean | undefined;
84
- readonly timestamp?: boolean | undefined;
85
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
86
- discoverCache?: true | import("./Config").CacheConfig | undefined;
87
- maxDepth?: number | undefined;
88
- schema: "network.xyo.bridge.config";
89
- }, "schema"> & {
90
- schema: "network.xyo.bridge.config";
91
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>>;
42
+ schema: string;
43
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>>;
92
44
  export declare const asBridgeModule: {
93
- <TType extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
45
+ <TType extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
94
46
  accountDerivationPath?: string | undefined;
95
47
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
96
48
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -106,57 +58,7 @@ export declare const asBridgeModule: {
106
58
  readonly sign?: boolean | undefined;
107
59
  readonly storeQueries?: boolean | undefined;
108
60
  readonly timestamp?: boolean | undefined;
109
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
110
- discoverCache?: true | import("./Config").CacheConfig | undefined;
111
- maxDepth?: number | undefined;
112
- schema: "network.xyo.bridge.config";
113
- }, "schema"> & {
114
- schema: "network.xyo.bridge.config";
115
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
116
- accountDerivationPath?: string | undefined;
117
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
118
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
119
- readonly name?: string | undefined;
120
- readonly paging?: Record<string, {
121
- size?: number | undefined;
122
- }> | undefined;
123
- readonly security?: {
124
- readonly allowAnonymous?: boolean | undefined;
125
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
126
- readonly disallowed?: Record<string, string[]> | undefined;
127
- } | undefined;
128
- readonly sign?: boolean | undefined;
129
- readonly storeQueries?: boolean | undefined;
130
- readonly timestamp?: boolean | undefined;
131
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
132
- discoverCache?: true | import("./Config").CacheConfig | undefined;
133
- maxDepth?: number | undefined;
134
- schema: "network.xyo.bridge.config";
135
- }, "schema"> & {
136
- schema: "network.xyo.bridge.config";
137
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
138
- accountDerivationPath?: string | undefined;
139
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
140
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
141
- readonly name?: string | undefined;
142
- readonly paging?: Record<string, {
143
- size?: number | undefined;
144
- }> | undefined;
145
- readonly security?: {
146
- readonly allowAnonymous?: boolean | undefined;
147
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
148
- readonly disallowed?: Record<string, string[]> | undefined;
149
- } | undefined;
150
- readonly sign?: boolean | undefined;
151
- readonly storeQueries?: boolean | undefined;
152
- readonly timestamp?: boolean | undefined;
153
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
154
- discoverCache?: true | import("./Config").CacheConfig | undefined;
155
- maxDepth?: number | undefined;
156
- schema: "network.xyo.bridge.config";
157
- }, "schema"> & {
158
- schema: "network.xyo.bridge.config";
159
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
61
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
160
62
  accountDerivationPath?: string | undefined;
161
63
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
162
64
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -178,30 +80,10 @@ export declare const asBridgeModule: {
178
80
  schema: "network.xyo.bridge.config";
179
81
  }, "schema"> & {
180
82
  schema: "network.xyo.bridge.config";
181
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
182
- <TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
183
- accountDerivationPath?: string | undefined;
184
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
185
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
186
- readonly name?: string | undefined;
187
- readonly paging?: Record<string, {
188
- size?: number | undefined;
189
- }> | undefined;
190
- readonly security?: {
191
- readonly allowAnonymous?: boolean | undefined;
192
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
193
- readonly disallowed?: Record<string, string[]> | undefined;
194
- } | undefined;
195
- readonly sign?: boolean | undefined;
196
- readonly storeQueries?: boolean | undefined;
197
- readonly timestamp?: boolean | undefined;
198
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
199
- discoverCache?: true | import("./Config").CacheConfig | undefined;
200
- maxDepth?: number | undefined;
201
- schema: "network.xyo.bridge.config";
202
83
  }, "schema"> & {
203
- schema: "network.xyo.bridge.config";
204
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
84
+ schema: string;
85
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
86
+ <TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
205
87
  accountDerivationPath?: string | undefined;
206
88
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
207
89
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -217,13 +99,7 @@ export declare const asBridgeModule: {
217
99
  readonly sign?: boolean | undefined;
218
100
  readonly storeQueries?: boolean | undefined;
219
101
  readonly timestamp?: boolean | undefined;
220
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
221
- discoverCache?: true | import("./Config").CacheConfig | undefined;
222
- maxDepth?: number | undefined;
223
- schema: "network.xyo.bridge.config";
224
- }, "schema"> & {
225
- schema: "network.xyo.bridge.config";
226
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
102
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
227
103
  accountDerivationPath?: string | undefined;
228
104
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
229
105
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -245,35 +121,15 @@ export declare const asBridgeModule: {
245
121
  schema: "network.xyo.bridge.config";
246
122
  }, "schema"> & {
247
123
  schema: "network.xyo.bridge.config";
248
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
249
- accountDerivationPath?: string | undefined;
250
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
251
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
252
- readonly name?: string | undefined;
253
- readonly paging?: Record<string, {
254
- size?: number | undefined;
255
- }> | undefined;
256
- readonly security?: {
257
- readonly allowAnonymous?: boolean | undefined;
258
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
259
- readonly disallowed?: Record<string, string[]> | undefined;
260
- } | undefined;
261
- readonly sign?: boolean | undefined;
262
- readonly storeQueries?: boolean | undefined;
263
- readonly timestamp?: boolean | undefined;
264
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
265
- discoverCache?: true | import("./Config").CacheConfig | undefined;
266
- maxDepth?: number | undefined;
267
- schema: "network.xyo.bridge.config";
268
124
  }, "schema"> & {
269
- schema: "network.xyo.bridge.config";
270
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
125
+ schema: string;
126
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
271
127
  };
272
128
  export declare const asBridgeInstance: {
273
129
  <TType extends BridgeInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
274
130
  <TType_1 extends BridgeInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
275
131
  };
276
- export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
132
+ export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
277
133
  accountDerivationPath?: string | undefined;
278
134
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
279
135
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -289,13 +145,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
289
145
  readonly sign?: boolean | undefined;
290
146
  readonly storeQueries?: boolean | undefined;
291
147
  readonly timestamp?: boolean | undefined;
292
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
293
- discoverCache?: true | import("./Config").CacheConfig | undefined;
294
- maxDepth?: number | undefined;
295
- schema: "network.xyo.bridge.config";
296
- }, "schema"> & {
297
- schema: "network.xyo.bridge.config";
298
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
148
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
299
149
  accountDerivationPath?: string | undefined;
300
150
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
301
151
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -317,50 +167,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
317
167
  schema: "network.xyo.bridge.config";
318
168
  }, "schema"> & {
319
169
  schema: "network.xyo.bridge.config";
320
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
321
- accountDerivationPath?: string | undefined;
322
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
323
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
324
- readonly name?: string | undefined;
325
- readonly paging?: Record<string, {
326
- size?: number | undefined;
327
- }> | undefined;
328
- readonly security?: {
329
- readonly allowAnonymous?: boolean | undefined;
330
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
331
- readonly disallowed?: Record<string, string[]> | undefined;
332
- } | undefined;
333
- readonly sign?: boolean | undefined;
334
- readonly storeQueries?: boolean | undefined;
335
- readonly timestamp?: boolean | undefined;
336
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
337
- discoverCache?: true | import("./Config").CacheConfig | undefined;
338
- maxDepth?: number | undefined;
339
- schema: "network.xyo.bridge.config";
340
170
  }, "schema"> & {
341
- schema: "network.xyo.bridge.config";
342
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
343
- accountDerivationPath?: string | undefined;
344
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
345
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
346
- readonly name?: string | undefined;
347
- readonly paging?: Record<string, {
348
- size?: number | undefined;
349
- }> | undefined;
350
- readonly security?: {
351
- readonly allowAnonymous?: boolean | undefined;
352
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
353
- readonly disallowed?: Record<string, string[]> | undefined;
354
- } | undefined;
355
- readonly sign?: boolean | undefined;
356
- readonly storeQueries?: boolean | undefined;
357
- readonly timestamp?: boolean | undefined;
358
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
359
- discoverCache?: true | import("./Config").CacheConfig | undefined;
360
- maxDepth?: number | undefined;
361
- schema: "network.xyo.bridge.config";
362
- }, "schema"> & {
363
- schema: "network.xyo.bridge.config";
364
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>) => R) => R | undefined;
171
+ schema: string;
172
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>) => R) => R | undefined;
365
173
  export declare const withBridgeInstance: <R>(module: any, closure: (module: BridgeInstance) => R) => R | undefined;
366
174
  //# sourceMappingURL=typeChecks.d.ts.map
@@ -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,yDAM5B,CAAA;AACD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAAsG,CAAA;AAEjI,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0FAAqC,CAAA;AAClE,eAAO,MAAM,kBAAkB,2EAAuC,CAAA"}
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,yDAM5B,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,2EAAuC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { BridgeInstance, BridgeModule } from './Bridge';
2
2
  export declare const isBridgeInstance: import("@xyo-network/object").TypeCheck<BridgeInstance>;
3
- export declare const isBridgeModule: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
3
+ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleTypeCheck<BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
4
4
  accountDerivationPath?: string | undefined;
5
5
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
6
6
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -16,13 +16,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
16
16
  readonly sign?: boolean | undefined;
17
17
  readonly storeQueries?: boolean | undefined;
18
18
  readonly timestamp?: boolean | undefined;
19
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
20
- discoverCache?: true | import("./Config").CacheConfig | undefined;
21
- maxDepth?: number | undefined;
22
- schema: "network.xyo.bridge.config";
23
- }, "schema"> & {
24
- schema: "network.xyo.bridge.config";
25
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
19
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
26
20
  accountDerivationPath?: string | undefined;
27
21
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
28
22
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -44,53 +38,11 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
44
38
  schema: "network.xyo.bridge.config";
45
39
  }, "schema"> & {
46
40
  schema: "network.xyo.bridge.config";
47
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
48
- accountDerivationPath?: string | undefined;
49
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
50
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
51
- readonly name?: string | undefined;
52
- readonly paging?: Record<string, {
53
- size?: number | undefined;
54
- }> | undefined;
55
- readonly security?: {
56
- readonly allowAnonymous?: boolean | undefined;
57
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
58
- readonly disallowed?: Record<string, string[]> | undefined;
59
- } | undefined;
60
- readonly sign?: boolean | undefined;
61
- readonly storeQueries?: boolean | undefined;
62
- readonly timestamp?: boolean | undefined;
63
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
64
- discoverCache?: true | import("./Config").CacheConfig | undefined;
65
- maxDepth?: number | undefined;
66
- schema: "network.xyo.bridge.config";
67
41
  }, "schema"> & {
68
- schema: "network.xyo.bridge.config";
69
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
70
- accountDerivationPath?: string | undefined;
71
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
72
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
73
- readonly name?: string | undefined;
74
- readonly paging?: Record<string, {
75
- size?: number | undefined;
76
- }> | undefined;
77
- readonly security?: {
78
- readonly allowAnonymous?: boolean | undefined;
79
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
80
- readonly disallowed?: Record<string, string[]> | undefined;
81
- } | undefined;
82
- readonly sign?: boolean | undefined;
83
- readonly storeQueries?: boolean | undefined;
84
- readonly timestamp?: boolean | undefined;
85
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
86
- discoverCache?: true | import("./Config").CacheConfig | undefined;
87
- maxDepth?: number | undefined;
88
- schema: "network.xyo.bridge.config";
89
- }, "schema"> & {
90
- schema: "network.xyo.bridge.config";
91
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>>;
42
+ schema: string;
43
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>>;
92
44
  export declare const asBridgeModule: {
93
- <TType extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
45
+ <TType extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
94
46
  accountDerivationPath?: string | undefined;
95
47
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
96
48
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -106,57 +58,7 @@ export declare const asBridgeModule: {
106
58
  readonly sign?: boolean | undefined;
107
59
  readonly storeQueries?: boolean | undefined;
108
60
  readonly timestamp?: boolean | undefined;
109
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
110
- discoverCache?: true | import("./Config").CacheConfig | undefined;
111
- maxDepth?: number | undefined;
112
- schema: "network.xyo.bridge.config";
113
- }, "schema"> & {
114
- schema: "network.xyo.bridge.config";
115
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
116
- accountDerivationPath?: string | undefined;
117
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
118
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
119
- readonly name?: string | undefined;
120
- readonly paging?: Record<string, {
121
- size?: number | undefined;
122
- }> | undefined;
123
- readonly security?: {
124
- readonly allowAnonymous?: boolean | undefined;
125
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
126
- readonly disallowed?: Record<string, string[]> | undefined;
127
- } | undefined;
128
- readonly sign?: boolean | undefined;
129
- readonly storeQueries?: boolean | undefined;
130
- readonly timestamp?: boolean | undefined;
131
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
132
- discoverCache?: true | import("./Config").CacheConfig | undefined;
133
- maxDepth?: number | undefined;
134
- schema: "network.xyo.bridge.config";
135
- }, "schema"> & {
136
- schema: "network.xyo.bridge.config";
137
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
138
- accountDerivationPath?: string | undefined;
139
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
140
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
141
- readonly name?: string | undefined;
142
- readonly paging?: Record<string, {
143
- size?: number | undefined;
144
- }> | undefined;
145
- readonly security?: {
146
- readonly allowAnonymous?: boolean | undefined;
147
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
148
- readonly disallowed?: Record<string, string[]> | undefined;
149
- } | undefined;
150
- readonly sign?: boolean | undefined;
151
- readonly storeQueries?: boolean | undefined;
152
- readonly timestamp?: boolean | undefined;
153
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
154
- discoverCache?: true | import("./Config").CacheConfig | undefined;
155
- maxDepth?: number | undefined;
156
- schema: "network.xyo.bridge.config";
157
- }, "schema"> & {
158
- schema: "network.xyo.bridge.config";
159
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
61
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
160
62
  accountDerivationPath?: string | undefined;
161
63
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
162
64
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -178,30 +80,10 @@ export declare const asBridgeModule: {
178
80
  schema: "network.xyo.bridge.config";
179
81
  }, "schema"> & {
180
82
  schema: "network.xyo.bridge.config";
181
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
182
- <TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
183
- accountDerivationPath?: string | undefined;
184
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
185
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
186
- readonly name?: string | undefined;
187
- readonly paging?: Record<string, {
188
- size?: number | undefined;
189
- }> | undefined;
190
- readonly security?: {
191
- readonly allowAnonymous?: boolean | undefined;
192
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
193
- readonly disallowed?: Record<string, string[]> | undefined;
194
- } | undefined;
195
- readonly sign?: boolean | undefined;
196
- readonly storeQueries?: boolean | undefined;
197
- readonly timestamp?: boolean | undefined;
198
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
199
- discoverCache?: true | import("./Config").CacheConfig | undefined;
200
- maxDepth?: number | undefined;
201
- schema: "network.xyo.bridge.config";
202
83
  }, "schema"> & {
203
- schema: "network.xyo.bridge.config";
204
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
84
+ schema: string;
85
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
86
+ <TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
205
87
  accountDerivationPath?: string | undefined;
206
88
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
207
89
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -217,13 +99,7 @@ export declare const asBridgeModule: {
217
99
  readonly sign?: boolean | undefined;
218
100
  readonly storeQueries?: boolean | undefined;
219
101
  readonly timestamp?: boolean | undefined;
220
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
221
- discoverCache?: true | import("./Config").CacheConfig | undefined;
222
- maxDepth?: number | undefined;
223
- schema: "network.xyo.bridge.config";
224
- }, "schema"> & {
225
- schema: "network.xyo.bridge.config";
226
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
102
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
227
103
  accountDerivationPath?: string | undefined;
228
104
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
229
105
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -245,35 +121,15 @@ export declare const asBridgeModule: {
245
121
  schema: "network.xyo.bridge.config";
246
122
  }, "schema"> & {
247
123
  schema: "network.xyo.bridge.config";
248
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
249
- accountDerivationPath?: string | undefined;
250
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
251
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
252
- readonly name?: string | undefined;
253
- readonly paging?: Record<string, {
254
- size?: number | undefined;
255
- }> | undefined;
256
- readonly security?: {
257
- readonly allowAnonymous?: boolean | undefined;
258
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
259
- readonly disallowed?: Record<string, string[]> | undefined;
260
- } | undefined;
261
- readonly sign?: boolean | undefined;
262
- readonly storeQueries?: boolean | undefined;
263
- readonly timestamp?: boolean | undefined;
264
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
265
- discoverCache?: true | import("./Config").CacheConfig | undefined;
266
- maxDepth?: number | undefined;
267
- schema: "network.xyo.bridge.config";
268
124
  }, "schema"> & {
269
- schema: "network.xyo.bridge.config";
270
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
125
+ schema: string;
126
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
271
127
  };
272
128
  export declare const asBridgeInstance: {
273
129
  <TType extends BridgeInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
274
130
  <TType_1 extends BridgeInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
275
131
  };
276
- export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/module-model").AnyConfigSchema<(import("@xyo-network/payload-model").SchemaFields & object & Omit<{
132
+ export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
277
133
  accountDerivationPath?: string | undefined;
278
134
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
279
135
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -289,13 +145,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
289
145
  readonly sign?: boolean | undefined;
290
146
  readonly storeQueries?: boolean | undefined;
291
147
  readonly timestamp?: boolean | undefined;
292
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
293
- discoverCache?: true | import("./Config").CacheConfig | undefined;
294
- maxDepth?: number | undefined;
295
- schema: "network.xyo.bridge.config";
296
- }, "schema"> & {
297
- schema: "network.xyo.bridge.config";
298
- }) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
148
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & Omit<{
299
149
  accountDerivationPath?: string | undefined;
300
150
  readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
301
151
  readonly labels?: import("@xyo-network/module-model").Labels | undefined;
@@ -317,50 +167,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
317
167
  schema: "network.xyo.bridge.config";
318
168
  }, "schema"> & {
319
169
  schema: "network.xyo.bridge.config";
320
- } & object) | (import("@xyo-network/payload-model").SchemaFields & object & Omit<{
321
- accountDerivationPath?: string | undefined;
322
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
323
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
324
- readonly name?: string | undefined;
325
- readonly paging?: Record<string, {
326
- size?: number | undefined;
327
- }> | undefined;
328
- readonly security?: {
329
- readonly allowAnonymous?: boolean | undefined;
330
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
331
- readonly disallowed?: Record<string, string[]> | undefined;
332
- } | undefined;
333
- readonly sign?: boolean | undefined;
334
- readonly storeQueries?: boolean | undefined;
335
- readonly timestamp?: boolean | undefined;
336
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
337
- discoverCache?: true | import("./Config").CacheConfig | undefined;
338
- maxDepth?: number | undefined;
339
- schema: "network.xyo.bridge.config";
340
170
  }, "schema"> & {
341
- schema: "network.xyo.bridge.config";
342
- } & import("@xyo-network/payload-model").PayloadMetaFields) | (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadMetaFields & Omit<{
343
- accountDerivationPath?: string | undefined;
344
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
345
- readonly labels?: import("@xyo-network/module-model").Labels | undefined;
346
- readonly name?: string | undefined;
347
- readonly paging?: Record<string, {
348
- size?: number | undefined;
349
- }> | undefined;
350
- readonly security?: {
351
- readonly allowAnonymous?: boolean | undefined;
352
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
353
- readonly disallowed?: Record<string, string[]> | undefined;
354
- } | undefined;
355
- readonly sign?: boolean | undefined;
356
- readonly storeQueries?: boolean | undefined;
357
- readonly timestamp?: boolean | undefined;
358
- } & import("@xyo-network/module-model").ArchivingModuleConfig & {
359
- discoverCache?: true | import("./Config").CacheConfig | undefined;
360
- maxDepth?: number | undefined;
361
- schema: "network.xyo.bridge.config";
362
- }, "schema"> & {
363
- schema: "network.xyo.bridge.config";
364
- })>>, import("@xyo-network/module-model").ModuleEventData<object>>) => R) => R | undefined;
171
+ schema: string;
172
+ }>, import("@xyo-network/module-model").ModuleEventData<object>>) => R) => R | undefined;
365
173
  export declare const withBridgeInstance: <R>(module: any, closure: (module: BridgeInstance) => R) => R | undefined;
366
174
  //# sourceMappingURL=typeChecks.d.ts.map
@@ -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,yDAM5B,CAAA;AACD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAAsG,CAAA;AAEjI,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyC,CAAA;AACpE,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0FAAqC,CAAA;AAClE,eAAO,MAAM,kBAAkB,2EAAuC,CAAA"}
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,yDAM5B,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,2EAAuC,CAAA"}