@xyo-network/bridge-model 2.90.22 → 2.91.0
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/Bridge.d.cts +9 -8
- package/dist/browser/Bridge.d.cts.map +1 -1
- package/dist/browser/Bridge.d.mts +9 -8
- package/dist/browser/Bridge.d.mts.map +1 -1
- package/dist/browser/Bridge.d.ts +9 -8
- package/dist/browser/Bridge.d.ts.map +1 -1
- package/dist/browser/typeChecks.d.cts +32 -32
- package/dist/browser/typeChecks.d.mts +32 -32
- package/dist/browser/typeChecks.d.ts +32 -32
- package/dist/node/Bridge.d.cts +9 -8
- package/dist/node/Bridge.d.cts.map +1 -1
- package/dist/node/Bridge.d.mts +9 -8
- package/dist/node/Bridge.d.mts.map +1 -1
- package/dist/node/Bridge.d.ts +9 -8
- package/dist/node/Bridge.d.ts.map +1 -1
- package/dist/node/typeChecks.d.cts +32 -32
- package/dist/node/typeChecks.d.mts +32 -32
- package/dist/node/typeChecks.d.ts +32 -32
- package/package.json +10 -9
- package/src/Bridge.ts +9 -8
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
1
2
|
import { Promisable } from '@xylabs/promise';
|
|
2
3
|
import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
4
|
import { ModuleManifestPayload } from '@xyo-network/manifest-model';
|
|
@@ -18,12 +19,12 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
18
19
|
* though its children (through potentially several generations) are also able to be communicated to
|
|
19
20
|
* across the bridge.
|
|
20
21
|
*/
|
|
21
|
-
getRootAddress(): Promisable<
|
|
22
|
+
getRootAddress(): Promisable<Address>;
|
|
22
23
|
/**
|
|
23
24
|
* Returns the config for a bridged module
|
|
24
25
|
* @param address Address of the module connected to the bridge
|
|
25
26
|
*/
|
|
26
|
-
targetConfig(address:
|
|
27
|
+
targetConfig(address: Address): ModuleConfig;
|
|
27
28
|
/**
|
|
28
29
|
* Returns the result of a discover query for a bridged module
|
|
29
30
|
* @param address Address of the module connected to the bridge
|
|
@@ -45,14 +46,14 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
45
46
|
* Returns the supported queries for a bridged module
|
|
46
47
|
* @param address Address of the module connected to the bridge
|
|
47
48
|
*/
|
|
48
|
-
targetQueries(address:
|
|
49
|
+
targetQueries(address: Address): string[];
|
|
49
50
|
/**
|
|
50
51
|
* Queries a module connected to the bridge using the supplied query, payloads, and query configuration
|
|
51
52
|
* @param address Address of the module connected to the bridge
|
|
52
53
|
* @param query The query to issue against the address
|
|
53
54
|
* @param payloads The payloads to use in the query
|
|
54
55
|
*/
|
|
55
|
-
targetQuery(address:
|
|
56
|
+
targetQuery(address: Address, query: Query, payloads?: Payload[]): Promisable<ModuleQueryResult>;
|
|
56
57
|
/**
|
|
57
58
|
* Determines if a bridged module is queryable using the supplied query, payloads, and query configuration
|
|
58
59
|
* @param address Address of the module connected to the bridge
|
|
@@ -60,28 +61,28 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
60
61
|
* @param payloads The payloads to use in the query
|
|
61
62
|
* @param queryConfig The query configuration
|
|
62
63
|
*/
|
|
63
|
-
targetQueryable(address:
|
|
64
|
+
targetQueryable(address: Address, query: QueryBoundWitness, payloads?: Payload[], queryConfig?: ModuleConfig): Promisable<boolean>;
|
|
64
65
|
/**
|
|
65
66
|
*
|
|
66
67
|
* @param address Address of the module potentially connected to the bridge
|
|
67
68
|
* @param filter
|
|
68
69
|
* @param options
|
|
69
70
|
*/
|
|
70
|
-
targetResolve(address:
|
|
71
|
+
targetResolve(address: Address, filter?: ModuleFilter, options?: ModuleFilterOptions): Promisable<ModuleInstance[]>;
|
|
71
72
|
/**
|
|
72
73
|
*
|
|
73
74
|
* @param address Address of the module potentially connected to the bridge
|
|
74
75
|
* @param nameOrAddress
|
|
75
76
|
* @param options
|
|
76
77
|
*/
|
|
77
|
-
targetResolve(address:
|
|
78
|
+
targetResolve(address: Address, nameOrAddress: string, options?: ModuleFilterOptions): Promisable<ModuleInstance | undefined>;
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
80
81
|
* @param address Address of the module potentially connected to the bridge
|
|
81
82
|
* @param nameOrAddressOrFilter
|
|
82
83
|
* @param options
|
|
83
84
|
*/
|
|
84
|
-
targetResolve(address:
|
|
85
|
+
targetResolve(address: Address, nameOrAddressOrFilter?: ModuleFilter | string, options?: ModuleFilterOptions): Promisable<ModuleInstance | ModuleInstance[] | undefined>;
|
|
85
86
|
}
|
|
86
87
|
export interface BridgeInstance<TParams extends BridgeParams = BridgeParams, TEventData extends ModuleEventData = ModuleEventData> extends BridgeModule<TParams, TEventData>, Bridge {
|
|
87
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bridge.d.ts","sourceRoot":"","sources":["../../src/Bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,eAAe,EACf,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,YAAY,CAAC,OAAO,SAAS,eAAe,CAAC,YAA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AAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,UAAU,CAAC,cAAc,GAAG,SAAS,CAAC,CAAA;IAC7H;;;;;OAKG;IACH,aAAa,CACX,OAAO,EAAE,OAAO,EAChB,qBAAqB,CAAC,EAAE,YAAY,GAAG,MAAM,EAC7C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,UAAU,CAAC,cAAc,GAAG,cAAc,EAAE,GAAG,SAAS,CAAC,CAAA;CAC7D;AAED,MAAM,WAAW,cAAc,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,EAAE,UAAU,SAAS,eAAe,GAAG,eAAe,CAC/H,SAAQ,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,EACvC,MAAM;CAAG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
1
2
|
import { Promisable } from '@xylabs/promise';
|
|
2
3
|
import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
4
|
import { ModuleManifestPayload } from '@xyo-network/manifest-model';
|
|
@@ -18,12 +19,12 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
18
19
|
* though its children (through potentially several generations) are also able to be communicated to
|
|
19
20
|
* across the bridge.
|
|
20
21
|
*/
|
|
21
|
-
getRootAddress(): Promisable<
|
|
22
|
+
getRootAddress(): Promisable<Address>;
|
|
22
23
|
/**
|
|
23
24
|
* Returns the config for a bridged module
|
|
24
25
|
* @param address Address of the module connected to the bridge
|
|
25
26
|
*/
|
|
26
|
-
targetConfig(address:
|
|
27
|
+
targetConfig(address: Address): ModuleConfig;
|
|
27
28
|
/**
|
|
28
29
|
* Returns the result of a discover query for a bridged module
|
|
29
30
|
* @param address Address of the module connected to the bridge
|
|
@@ -45,14 +46,14 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
45
46
|
* Returns the supported queries for a bridged module
|
|
46
47
|
* @param address Address of the module connected to the bridge
|
|
47
48
|
*/
|
|
48
|
-
targetQueries(address:
|
|
49
|
+
targetQueries(address: Address): string[];
|
|
49
50
|
/**
|
|
50
51
|
* Queries a module connected to the bridge using the supplied query, payloads, and query configuration
|
|
51
52
|
* @param address Address of the module connected to the bridge
|
|
52
53
|
* @param query The query to issue against the address
|
|
53
54
|
* @param payloads The payloads to use in the query
|
|
54
55
|
*/
|
|
55
|
-
targetQuery(address:
|
|
56
|
+
targetQuery(address: Address, query: Query, payloads?: Payload[]): Promisable<ModuleQueryResult>;
|
|
56
57
|
/**
|
|
57
58
|
* Determines if a bridged module is queryable using the supplied query, payloads, and query configuration
|
|
58
59
|
* @param address Address of the module connected to the bridge
|
|
@@ -60,28 +61,28 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
60
61
|
* @param payloads The payloads to use in the query
|
|
61
62
|
* @param queryConfig The query configuration
|
|
62
63
|
*/
|
|
63
|
-
targetQueryable(address:
|
|
64
|
+
targetQueryable(address: Address, query: QueryBoundWitness, payloads?: Payload[], queryConfig?: ModuleConfig): Promisable<boolean>;
|
|
64
65
|
/**
|
|
65
66
|
*
|
|
66
67
|
* @param address Address of the module potentially connected to the bridge
|
|
67
68
|
* @param filter
|
|
68
69
|
* @param options
|
|
69
70
|
*/
|
|
70
|
-
targetResolve(address:
|
|
71
|
+
targetResolve(address: Address, filter?: ModuleFilter, options?: ModuleFilterOptions): Promisable<ModuleInstance[]>;
|
|
71
72
|
/**
|
|
72
73
|
*
|
|
73
74
|
* @param address Address of the module potentially connected to the bridge
|
|
74
75
|
* @param nameOrAddress
|
|
75
76
|
* @param options
|
|
76
77
|
*/
|
|
77
|
-
targetResolve(address:
|
|
78
|
+
targetResolve(address: Address, nameOrAddress: string, options?: ModuleFilterOptions): Promisable<ModuleInstance | undefined>;
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
80
81
|
* @param address Address of the module potentially connected to the bridge
|
|
81
82
|
* @param nameOrAddressOrFilter
|
|
82
83
|
* @param options
|
|
83
84
|
*/
|
|
84
|
-
targetResolve(address:
|
|
85
|
+
targetResolve(address: Address, nameOrAddressOrFilter?: ModuleFilter | string, options?: ModuleFilterOptions): Promisable<ModuleInstance | ModuleInstance[] | undefined>;
|
|
85
86
|
}
|
|
86
87
|
export interface BridgeInstance<TParams extends BridgeParams = BridgeParams, TEventData extends ModuleEventData = ModuleEventData> extends BridgeModule<TParams, TEventData>, Bridge {
|
|
87
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bridge.d.ts","sourceRoot":"","sources":["../../src/Bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,eAAe,EACf,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,YAAY,CAAC,OAAO,SAAS,eAAe,CAAC,YAAY,CAAC,GAAG,eAAe,CAAC,YAAY,CAAC,CACzG,SAAQ,YAAY,CAAC,OAAO,CAAC,EAC3B,YAAY,CAAC,OAAO,CAAC;CAAG;AAE5B,MAAM,WAAW,YAAY,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,EAAE,UAAU,SAAS,eAAe,GAAG,eAAe,CAC7H,SAAQ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AAU,CAAC,cAAc,GAAG,cAAc,EAAE,GAAG,SAAS,CAAC,CAAA;CAC7D;AAED,MAAM,WAAW,cAAc,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,EAAE,UAAU,SAAS,eAAe,GAAG,eAAe,CAC/H,SAAQ,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,EACvC,MAAM;CAAG"}
|
package/dist/browser/Bridge.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
1
2
|
import { Promisable } from '@xylabs/promise';
|
|
2
3
|
import { QueryBoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
4
|
import { ModuleManifestPayload } from '@xyo-network/manifest-model';
|
|
@@ -18,12 +19,12 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
18
19
|
* though its children (through potentially several generations) are also able to be communicated to
|
|
19
20
|
* across the bridge.
|
|
20
21
|
*/
|
|
21
|
-
getRootAddress(): Promisable<
|
|
22
|
+
getRootAddress(): Promisable<Address>;
|
|
22
23
|
/**
|
|
23
24
|
* Returns the config for a bridged module
|
|
24
25
|
* @param address Address of the module connected to the bridge
|
|
25
26
|
*/
|
|
26
|
-
targetConfig(address:
|
|
27
|
+
targetConfig(address: Address): ModuleConfig;
|
|
27
28
|
/**
|
|
28
29
|
* Returns the result of a discover query for a bridged module
|
|
29
30
|
* @param address Address of the module connected to the bridge
|
|
@@ -45,14 +46,14 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
45
46
|
* Returns the supported queries for a bridged module
|
|
46
47
|
* @param address Address of the module connected to the bridge
|
|
47
48
|
*/
|
|
48
|
-
targetQueries(address:
|
|
49
|
+
targetQueries(address: Address): string[];
|
|
49
50
|
/**
|
|
50
51
|
* Queries a module connected to the bridge using the supplied query, payloads, and query configuration
|
|
51
52
|
* @param address Address of the module connected to the bridge
|
|
52
53
|
* @param query The query to issue against the address
|
|
53
54
|
* @param payloads The payloads to use in the query
|
|
54
55
|
*/
|
|
55
|
-
targetQuery(address:
|
|
56
|
+
targetQuery(address: Address, query: Query, payloads?: Payload[]): Promisable<ModuleQueryResult>;
|
|
56
57
|
/**
|
|
57
58
|
* Determines if a bridged module is queryable using the supplied query, payloads, and query configuration
|
|
58
59
|
* @param address Address of the module connected to the bridge
|
|
@@ -60,28 +61,28 @@ export interface BridgeModule<TParams extends BridgeParams = BridgeParams, TEven
|
|
|
60
61
|
* @param payloads The payloads to use in the query
|
|
61
62
|
* @param queryConfig The query configuration
|
|
62
63
|
*/
|
|
63
|
-
targetQueryable(address:
|
|
64
|
+
targetQueryable(address: Address, query: QueryBoundWitness, payloads?: Payload[], queryConfig?: ModuleConfig): Promisable<boolean>;
|
|
64
65
|
/**
|
|
65
66
|
*
|
|
66
67
|
* @param address Address of the module potentially connected to the bridge
|
|
67
68
|
* @param filter
|
|
68
69
|
* @param options
|
|
69
70
|
*/
|
|
70
|
-
targetResolve(address:
|
|
71
|
+
targetResolve(address: Address, filter?: ModuleFilter, options?: ModuleFilterOptions): Promisable<ModuleInstance[]>;
|
|
71
72
|
/**
|
|
72
73
|
*
|
|
73
74
|
* @param address Address of the module potentially connected to the bridge
|
|
74
75
|
* @param nameOrAddress
|
|
75
76
|
* @param options
|
|
76
77
|
*/
|
|
77
|
-
targetResolve(address:
|
|
78
|
+
targetResolve(address: Address, nameOrAddress: string, options?: ModuleFilterOptions): Promisable<ModuleInstance | undefined>;
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
80
81
|
* @param address Address of the module potentially connected to the bridge
|
|
81
82
|
* @param nameOrAddressOrFilter
|
|
82
83
|
* @param options
|
|
83
84
|
*/
|
|
84
|
-
targetResolve(address:
|
|
85
|
+
targetResolve(address: Address, nameOrAddressOrFilter?: ModuleFilter | string, options?: ModuleFilterOptions): Promisable<ModuleInstance | ModuleInstance[] | undefined>;
|
|
85
86
|
}
|
|
86
87
|
export interface BridgeInstance<TParams extends BridgeParams = BridgeParams, TEventData extends ModuleEventData = ModuleEventData> extends BridgeModule<TParams, TEventData>, Bridge {
|
|
87
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bridge.d.ts","sourceRoot":"","sources":["../../src/Bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EACL,eAAe,EACf,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,YAAY,CAAC,OAAO,SAAS,eAAe,CAAC,YAAY,CAAC,GAAG,eAAe,CAAC,YAAY,CAAC,CACzG,SAAQ,YAAY,CAAC,OAAO,CAAC,EAC3B,YAAY,CAAC,OAAO,CAAC;CAAG;AAE5B,MAAM,WAAW,YAAY,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,EAAE,UAAU,SAAS,eAAe,GAAG,eAAe,CAC7H,SAAQ,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC;IAC3C;;;;;OAKG;IACH,cAAc,IAAI,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"Bridge.d.ts","sourceRoot":"","sources":["../../src/Bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE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AAE,UAAU,CAAC,EACvC,MAAM;CAAG"}
|
|
@@ -10,8 +10,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
|
|
|
10
10
|
schema: "network.xyo.bridge.config";
|
|
11
11
|
readonly security?: {
|
|
12
12
|
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
13
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
15
15
|
} | undefined;
|
|
16
16
|
readonly sign?: boolean | undefined;
|
|
17
17
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -27,8 +27,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
|
|
|
27
27
|
schema: "network.xyo.bridge.config";
|
|
28
28
|
readonly security?: {
|
|
29
29
|
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
readonly sign?: boolean | undefined;
|
|
34
34
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -51,8 +51,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
51
51
|
schema: "network.xyo.bridge.config";
|
|
52
52
|
readonly security?: {
|
|
53
53
|
readonly allowAnonymous?: boolean | undefined;
|
|
54
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
55
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
54
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
55
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
56
56
|
} | undefined;
|
|
57
57
|
readonly sign?: boolean | undefined;
|
|
58
58
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -68,8 +68,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
68
68
|
schema: "network.xyo.bridge.config";
|
|
69
69
|
readonly security?: {
|
|
70
70
|
readonly allowAnonymous?: boolean | undefined;
|
|
71
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
72
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
72
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
73
73
|
} | undefined;
|
|
74
74
|
readonly sign?: boolean | undefined;
|
|
75
75
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -93,8 +93,8 @@ export declare const asBridgeModule: {
|
|
|
93
93
|
schema: "network.xyo.bridge.config";
|
|
94
94
|
readonly security?: {
|
|
95
95
|
readonly allowAnonymous?: boolean | undefined;
|
|
96
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
97
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
96
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
97
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
98
98
|
} | undefined;
|
|
99
99
|
readonly sign?: boolean | undefined;
|
|
100
100
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -110,8 +110,8 @@ export declare const asBridgeModule: {
|
|
|
110
110
|
schema: "network.xyo.bridge.config";
|
|
111
111
|
readonly security?: {
|
|
112
112
|
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
113
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
115
115
|
} | undefined;
|
|
116
116
|
readonly sign?: boolean | undefined;
|
|
117
117
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -134,8 +134,8 @@ export declare const asBridgeModule: {
|
|
|
134
134
|
schema: "network.xyo.bridge.config";
|
|
135
135
|
readonly security?: {
|
|
136
136
|
readonly allowAnonymous?: boolean | undefined;
|
|
137
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
138
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
137
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
138
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
139
139
|
} | undefined;
|
|
140
140
|
readonly sign?: boolean | undefined;
|
|
141
141
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -151,8 +151,8 @@ export declare const asBridgeModule: {
|
|
|
151
151
|
schema: "network.xyo.bridge.config";
|
|
152
152
|
readonly security?: {
|
|
153
153
|
readonly allowAnonymous?: boolean | undefined;
|
|
154
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
155
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
154
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
155
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
156
156
|
} | undefined;
|
|
157
157
|
readonly sign?: boolean | undefined;
|
|
158
158
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -177,8 +177,8 @@ export declare const asBridgeInstance: {
|
|
|
177
177
|
schema: "network.xyo.bridge.config";
|
|
178
178
|
readonly security?: {
|
|
179
179
|
readonly allowAnonymous?: boolean | undefined;
|
|
180
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
181
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
180
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
181
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
182
182
|
} | undefined;
|
|
183
183
|
readonly sign?: boolean | undefined;
|
|
184
184
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -194,8 +194,8 @@ export declare const asBridgeInstance: {
|
|
|
194
194
|
schema: "network.xyo.bridge.config";
|
|
195
195
|
readonly security?: {
|
|
196
196
|
readonly allowAnonymous?: boolean | undefined;
|
|
197
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
197
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
199
199
|
} | undefined;
|
|
200
200
|
readonly sign?: boolean | undefined;
|
|
201
201
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -218,8 +218,8 @@ export declare const asBridgeInstance: {
|
|
|
218
218
|
schema: "network.xyo.bridge.config";
|
|
219
219
|
readonly security?: {
|
|
220
220
|
readonly allowAnonymous?: boolean | undefined;
|
|
221
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
222
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
221
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
222
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
223
223
|
} | undefined;
|
|
224
224
|
readonly sign?: boolean | undefined;
|
|
225
225
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -235,8 +235,8 @@ export declare const asBridgeInstance: {
|
|
|
235
235
|
schema: "network.xyo.bridge.config";
|
|
236
236
|
readonly security?: {
|
|
237
237
|
readonly allowAnonymous?: boolean | undefined;
|
|
238
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
239
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
238
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
239
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
240
240
|
} | undefined;
|
|
241
241
|
readonly sign?: boolean | undefined;
|
|
242
242
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -260,8 +260,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
260
260
|
schema: "network.xyo.bridge.config";
|
|
261
261
|
readonly security?: {
|
|
262
262
|
readonly allowAnonymous?: boolean | undefined;
|
|
263
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
264
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
263
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
264
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
265
265
|
} | undefined;
|
|
266
266
|
readonly sign?: boolean | undefined;
|
|
267
267
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -277,8 +277,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
277
277
|
schema: "network.xyo.bridge.config";
|
|
278
278
|
readonly security?: {
|
|
279
279
|
readonly allowAnonymous?: boolean | undefined;
|
|
280
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
281
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
280
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
281
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
282
282
|
} | undefined;
|
|
283
283
|
readonly sign?: boolean | undefined;
|
|
284
284
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -301,8 +301,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
301
301
|
schema: "network.xyo.bridge.config";
|
|
302
302
|
readonly security?: {
|
|
303
303
|
readonly allowAnonymous?: boolean | undefined;
|
|
304
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
305
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
304
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
305
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
306
306
|
} | undefined;
|
|
307
307
|
readonly sign?: boolean | undefined;
|
|
308
308
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -318,8 +318,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
318
318
|
schema: "network.xyo.bridge.config";
|
|
319
319
|
readonly security?: {
|
|
320
320
|
readonly allowAnonymous?: boolean | undefined;
|
|
321
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
322
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
321
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
322
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
323
323
|
} | undefined;
|
|
324
324
|
readonly sign?: boolean | undefined;
|
|
325
325
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -10,8 +10,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
|
|
|
10
10
|
schema: "network.xyo.bridge.config";
|
|
11
11
|
readonly security?: {
|
|
12
12
|
readonly allowAnonymous?: boolean | undefined;
|
|
13
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
13
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
14
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
15
15
|
} | undefined;
|
|
16
16
|
readonly sign?: boolean | undefined;
|
|
17
17
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -27,8 +27,8 @@ export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<Bridge
|
|
|
27
27
|
schema: "network.xyo.bridge.config";
|
|
28
28
|
readonly security?: {
|
|
29
29
|
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
readonly sign?: boolean | undefined;
|
|
34
34
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -51,8 +51,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
51
51
|
schema: "network.xyo.bridge.config";
|
|
52
52
|
readonly security?: {
|
|
53
53
|
readonly allowAnonymous?: boolean | undefined;
|
|
54
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
55
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
54
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
55
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
56
56
|
} | undefined;
|
|
57
57
|
readonly sign?: boolean | undefined;
|
|
58
58
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -68,8 +68,8 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
68
68
|
schema: "network.xyo.bridge.config";
|
|
69
69
|
readonly security?: {
|
|
70
70
|
readonly allowAnonymous?: boolean | undefined;
|
|
71
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
72
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
71
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
72
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
73
73
|
} | undefined;
|
|
74
74
|
readonly sign?: boolean | undefined;
|
|
75
75
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -93,8 +93,8 @@ export declare const asBridgeModule: {
|
|
|
93
93
|
schema: "network.xyo.bridge.config";
|
|
94
94
|
readonly security?: {
|
|
95
95
|
readonly allowAnonymous?: boolean | undefined;
|
|
96
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
97
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
96
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
97
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
98
98
|
} | undefined;
|
|
99
99
|
readonly sign?: boolean | undefined;
|
|
100
100
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -110,8 +110,8 @@ export declare const asBridgeModule: {
|
|
|
110
110
|
schema: "network.xyo.bridge.config";
|
|
111
111
|
readonly security?: {
|
|
112
112
|
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
113
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
114
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
115
115
|
} | undefined;
|
|
116
116
|
readonly sign?: boolean | undefined;
|
|
117
117
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -134,8 +134,8 @@ export declare const asBridgeModule: {
|
|
|
134
134
|
schema: "network.xyo.bridge.config";
|
|
135
135
|
readonly security?: {
|
|
136
136
|
readonly allowAnonymous?: boolean | undefined;
|
|
137
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
138
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
137
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
138
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
139
139
|
} | undefined;
|
|
140
140
|
readonly sign?: boolean | undefined;
|
|
141
141
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -151,8 +151,8 @@ export declare const asBridgeModule: {
|
|
|
151
151
|
schema: "network.xyo.bridge.config";
|
|
152
152
|
readonly security?: {
|
|
153
153
|
readonly allowAnonymous?: boolean | undefined;
|
|
154
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
155
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
154
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
155
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
156
156
|
} | undefined;
|
|
157
157
|
readonly sign?: boolean | undefined;
|
|
158
158
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -177,8 +177,8 @@ export declare const asBridgeInstance: {
|
|
|
177
177
|
schema: "network.xyo.bridge.config";
|
|
178
178
|
readonly security?: {
|
|
179
179
|
readonly allowAnonymous?: boolean | undefined;
|
|
180
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
181
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
180
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
181
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
182
182
|
} | undefined;
|
|
183
183
|
readonly sign?: boolean | undefined;
|
|
184
184
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -194,8 +194,8 @@ export declare const asBridgeInstance: {
|
|
|
194
194
|
schema: "network.xyo.bridge.config";
|
|
195
195
|
readonly security?: {
|
|
196
196
|
readonly allowAnonymous?: boolean | undefined;
|
|
197
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
197
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
198
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
199
199
|
} | undefined;
|
|
200
200
|
readonly sign?: boolean | undefined;
|
|
201
201
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -218,8 +218,8 @@ export declare const asBridgeInstance: {
|
|
|
218
218
|
schema: "network.xyo.bridge.config";
|
|
219
219
|
readonly security?: {
|
|
220
220
|
readonly allowAnonymous?: boolean | undefined;
|
|
221
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
222
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
221
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
222
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
223
223
|
} | undefined;
|
|
224
224
|
readonly sign?: boolean | undefined;
|
|
225
225
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -235,8 +235,8 @@ export declare const asBridgeInstance: {
|
|
|
235
235
|
schema: "network.xyo.bridge.config";
|
|
236
236
|
readonly security?: {
|
|
237
237
|
readonly allowAnonymous?: boolean | undefined;
|
|
238
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
239
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
238
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
239
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
240
240
|
} | undefined;
|
|
241
241
|
readonly sign?: boolean | undefined;
|
|
242
242
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -260,8 +260,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
260
260
|
schema: "network.xyo.bridge.config";
|
|
261
261
|
readonly security?: {
|
|
262
262
|
readonly allowAnonymous?: boolean | undefined;
|
|
263
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
264
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
263
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
264
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
265
265
|
} | undefined;
|
|
266
266
|
readonly sign?: boolean | undefined;
|
|
267
267
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -277,8 +277,8 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
277
277
|
schema: "network.xyo.bridge.config";
|
|
278
278
|
readonly security?: {
|
|
279
279
|
readonly allowAnonymous?: boolean | undefined;
|
|
280
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
281
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
280
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
281
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
282
282
|
} | undefined;
|
|
283
283
|
readonly sign?: boolean | undefined;
|
|
284
284
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -301,8 +301,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
301
301
|
schema: "network.xyo.bridge.config";
|
|
302
302
|
readonly security?: {
|
|
303
303
|
readonly allowAnonymous?: boolean | undefined;
|
|
304
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
305
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
304
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
305
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
306
306
|
} | undefined;
|
|
307
307
|
readonly sign?: boolean | undefined;
|
|
308
308
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -318,8 +318,8 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
318
318
|
schema: "network.xyo.bridge.config";
|
|
319
319
|
readonly security?: {
|
|
320
320
|
readonly allowAnonymous?: boolean | undefined;
|
|
321
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
322
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
321
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
322
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
323
323
|
} | undefined;
|
|
324
324
|
readonly sign?: boolean | undefined;
|
|
325
325
|
readonly storeQueries?: boolean | undefined;
|