@xyo-network/bridge-model 2.88.2 → 2.88.3
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/Config.d.cts +1 -1
- package/dist/browser/Config.d.cts.map +1 -1
- package/dist/browser/Config.d.mts +1 -1
- package/dist/browser/Config.d.mts.map +1 -1
- package/dist/browser/Config.d.ts +1 -1
- package/dist/browser/Config.d.ts.map +1 -1
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/typeChecks.d.cts +21 -5
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +21 -5
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +21 -5
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/node/Config.d.cts +1 -1
- package/dist/node/Config.d.cts.map +1 -1
- package/dist/node/Config.d.mts +1 -1
- package/dist/node/Config.d.mts.map +1 -1
- package/dist/node/Config.d.ts +1 -1
- package/dist/node/Config.d.ts.map +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/typeChecks.d.cts +21 -5
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +21 -5
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +21 -5
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/Config.ts +1 -1
- package/src/typeChecks.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
1
2
|
import { ModuleConfig } from '@xyo-network/module-model';
|
|
2
|
-
import { EmptyObject, WithAdditional } from '@xyo-network/object';
|
|
3
3
|
import { Payload } from '@xyo-network/payload-model';
|
|
4
4
|
export declare const BridgeConfigSchema = "network.xyo.bridge.config";
|
|
5
5
|
export type BridgeConfigSchema = typeof BridgeConfigSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,kBAAkB,8BAA8B,CAAA;AAC7D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,YAAY,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,YAAY,CAC1I,cAAc,CACZ;IACE,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAAA;CACzE,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
1
2
|
import { ModuleConfig } from '@xyo-network/module-model';
|
|
2
|
-
import { EmptyObject, WithAdditional } from '@xyo-network/object';
|
|
3
3
|
import { Payload } from '@xyo-network/payload-model';
|
|
4
4
|
export declare const BridgeConfigSchema = "network.xyo.bridge.config";
|
|
5
5
|
export type BridgeConfigSchema = typeof BridgeConfigSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,kBAAkB,8BAA8B,CAAA;AAC7D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,YAAY,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,YAAY,CAC1I,cAAc,CACZ;IACE,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAAA;CACzE,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
package/dist/browser/Config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
1
2
|
import { ModuleConfig } from '@xyo-network/module-model';
|
|
2
|
-
import { EmptyObject, WithAdditional } from '@xyo-network/object';
|
|
3
3
|
import { Payload } from '@xyo-network/payload-model';
|
|
4
4
|
export declare const BridgeConfigSchema = "network.xyo.bridge.config";
|
|
5
5
|
export type BridgeConfigSchema = typeof BridgeConfigSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,kBAAkB,8BAA8B,CAAA;AAC7D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,YAAY,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,YAAY,CAC1I,cAAc,CACZ;IACE,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAAA;CACzE,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
package/dist/browser/index.cjs
CHANGED
|
@@ -46,8 +46,8 @@ var BridgeConnectedQuerySchema = "network.xyo.query.bridge.connected";
|
|
|
46
46
|
var BridgeDisconnectQuerySchema = "network.xyo.query.bridge.disconnect";
|
|
47
47
|
|
|
48
48
|
// src/typeChecks.ts
|
|
49
|
+
var import_object = require("@xylabs/object");
|
|
49
50
|
var import_module_model = require("@xyo-network/module-model");
|
|
50
|
-
var import_object = require("@xyo-network/object");
|
|
51
51
|
var isBridgeInstance = new import_module_model.IsInstanceFactory().create({
|
|
52
52
|
connect: "function",
|
|
53
53
|
disconnect: "function"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Config.ts","../../src/Queries/Connect.ts","../../src/Queries/Connected.ts","../../src/Queries/Disconnect.ts","../../src/typeChecks.ts"],"sourcesContent":["export * from './Bridge'\nexport * from './Config'\nexport * from './Queries'\nexport * from './typeChecks'\n","import {
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Config.ts","../../src/Queries/Connect.ts","../../src/Queries/Connected.ts","../../src/Queries/Disconnect.ts","../../src/typeChecks.ts"],"sourcesContent":["export * from './Bridge'\nexport * from './Config'\nexport * from './Queries'\nexport * from './typeChecks'\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const BridgeConfigSchema = 'network.xyo.bridge.config'\nexport type BridgeConfigSchema = typeof BridgeConfigSchema\n\nexport interface CacheConfig {\n max?: number\n ttl?: number\n}\n\nexport type BridgeConfig<TConfig extends Payload | EmptyObject | undefined = undefined, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n discoverCache?: CacheConfig | true\n maxDepth?: number\n schema: TConfig extends Payload ? TConfig['schema'] : BridgeConfigSchema\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type BridgeConnectQuerySchema = 'network.xyo.query.bridge.connect'\nexport const BridgeConnectQuerySchema: BridgeConnectQuerySchema = 'network.xyo.query.bridge.connect'\n\nexport interface BridgeConnectQuery\n extends Query<{\n schema: BridgeConnectQuerySchema\n uri?: string\n }> {}\n","import { Query } from '@xyo-network/payload-model'\n\nexport type BridgeConnectedQuerySchema = 'network.xyo.query.bridge.connected'\nexport const BridgeConnectedQuerySchema: BridgeConnectedQuerySchema = 'network.xyo.query.bridge.connected'\n\nexport interface BridgeConnectedQuery\n extends Query<{\n schema: BridgeConnectedQuerySchema\n }> {}\n","import { Query } from '@xyo-network/payload-model'\n\nexport type BridgeDisconnectQuerySchema = 'network.xyo.query.bridge.disconnect'\nexport const BridgeDisconnectQuerySchema: BridgeDisconnectQuerySchema = 'network.xyo.query.bridge.disconnect'\n\nexport interface BridgeDisconnectQuery\n extends Query<{\n schema: BridgeDisconnectQuerySchema\n uri?: string\n }> {}\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { BridgeInstance, BridgeModule } from './Bridge'\nimport { BridgeConnectQuerySchema, BridgeDisconnectQuerySchema } from './Queries'\n\nexport const isBridgeInstance = new IsInstanceFactory<BridgeInstance>().create(\n {\n connect: 'function',\n disconnect: 'function',\n },\n [isModuleInstance],\n)\nexport const isBridgeModule = new IsModuleFactory<BridgeModule>().create([BridgeConnectQuerySchema, BridgeDisconnectQuerySchema])\n\nexport const asBridgeModule = AsObjectFactory.create(isBridgeModule)\nexport const asBridgeInstance = AsObjectFactory.create(isBridgeInstance)\nexport const withBridgeModule = WithFactory.create(isBridgeModule)\nexport const withBridgeInstance = WithFactory.create(isBridgeInstance)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;ACIO,IAAMA,qBAAqB;;;ACD3B,IAAMC,2BAAqD;;;ACA3D,IAAMC,6BAAyD;;;ACA/D,IAAMC,8BAA2D;;;ACHxE,oBAAgC;AAChC,0BAAkF;AAK3E,IAAMC,mBAAmB,IAAIC,sCAAAA,EAAoCC,OACtE;EACEC,SAAS;EACTC,YAAY;AACd,GACA;EAACC;CAAiB;AAEb,IAAMC,iBAAiB,IAAIC,oCAAAA,EAAgCL,OAAO;EAACM;EAA0BC;CAA4B;AAEzH,IAAMC,iBAAiBC,8BAAgBT,OAAOI,cAAAA;AAC9C,IAAMM,mBAAmBD,8BAAgBT,OAAOF,gBAAAA;AAChD,IAAMa,mBAAmBC,gCAAYZ,OAAOI,cAAAA;AAC5C,IAAMS,qBAAqBD,gCAAYZ,OAAOF,gBAAAA;","names":["BridgeConfigSchema","BridgeConnectQuerySchema","BridgeConnectedQuerySchema","BridgeDisconnectQuerySchema","isBridgeInstance","IsInstanceFactory","create","connect","disconnect","isModuleInstance","isBridgeModule","IsModuleFactory","BridgeConnectQuerySchema","BridgeDisconnectQuerySchema","asBridgeModule","AsObjectFactory","asBridgeInstance","withBridgeModule","WithFactory","withBridgeInstance"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -11,8 +11,8 @@ var BridgeConnectedQuerySchema = "network.xyo.query.bridge.connected";
|
|
|
11
11
|
var BridgeDisconnectQuerySchema = "network.xyo.query.bridge.disconnect";
|
|
12
12
|
|
|
13
13
|
// src/typeChecks.ts
|
|
14
|
+
import { AsObjectFactory } from "@xylabs/object";
|
|
14
15
|
import { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from "@xyo-network/module-model";
|
|
15
|
-
import { AsObjectFactory } from "@xyo-network/object";
|
|
16
16
|
var isBridgeInstance = new IsInstanceFactory().create({
|
|
17
17
|
connect: "function",
|
|
18
18
|
disconnect: "function"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Config.ts","../../src/Queries/Connect.ts","../../src/Queries/Connected.ts","../../src/Queries/Disconnect.ts","../../src/typeChecks.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Queries/Connect.ts","../../src/Queries/Connected.ts","../../src/Queries/Disconnect.ts","../../src/typeChecks.ts"],"sourcesContent":["import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const BridgeConfigSchema = 'network.xyo.bridge.config'\nexport type BridgeConfigSchema = typeof BridgeConfigSchema\n\nexport interface CacheConfig {\n max?: number\n ttl?: number\n}\n\nexport type BridgeConfig<TConfig extends Payload | EmptyObject | undefined = undefined, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n discoverCache?: CacheConfig | true\n maxDepth?: number\n schema: TConfig extends Payload ? TConfig['schema'] : BridgeConfigSchema\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type BridgeConnectQuerySchema = 'network.xyo.query.bridge.connect'\nexport const BridgeConnectQuerySchema: BridgeConnectQuerySchema = 'network.xyo.query.bridge.connect'\n\nexport interface BridgeConnectQuery\n extends Query<{\n schema: BridgeConnectQuerySchema\n uri?: string\n }> {}\n","import { Query } from '@xyo-network/payload-model'\n\nexport type BridgeConnectedQuerySchema = 'network.xyo.query.bridge.connected'\nexport const BridgeConnectedQuerySchema: BridgeConnectedQuerySchema = 'network.xyo.query.bridge.connected'\n\nexport interface BridgeConnectedQuery\n extends Query<{\n schema: BridgeConnectedQuerySchema\n }> {}\n","import { Query } from '@xyo-network/payload-model'\n\nexport type BridgeDisconnectQuerySchema = 'network.xyo.query.bridge.disconnect'\nexport const BridgeDisconnectQuerySchema: BridgeDisconnectQuerySchema = 'network.xyo.query.bridge.disconnect'\n\nexport interface BridgeDisconnectQuery\n extends Query<{\n schema: BridgeDisconnectQuerySchema\n uri?: string\n }> {}\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { BridgeInstance, BridgeModule } from './Bridge'\nimport { BridgeConnectQuerySchema, BridgeDisconnectQuerySchema } from './Queries'\n\nexport const isBridgeInstance = new IsInstanceFactory<BridgeInstance>().create(\n {\n connect: 'function',\n disconnect: 'function',\n },\n [isModuleInstance],\n)\nexport const isBridgeModule = new IsModuleFactory<BridgeModule>().create([BridgeConnectQuerySchema, BridgeDisconnectQuerySchema])\n\nexport const asBridgeModule = AsObjectFactory.create(isBridgeModule)\nexport const asBridgeInstance = AsObjectFactory.create(isBridgeInstance)\nexport const withBridgeModule = WithFactory.create(isBridgeModule)\nexport const withBridgeInstance = WithFactory.create(isBridgeInstance)\n"],"mappings":";AAIO,IAAMA,qBAAqB;;;ACD3B,IAAMC,2BAAqD;;;ACA3D,IAAMC,6BAAyD;;;ACA/D,IAAMC,8BAA2D;;;ACHxE,SAASC,uBAAuB;AAChC,SAASC,mBAAmBC,iBAAiBC,kBAAkBC,mBAAmB;AAK3E,IAAMC,mBAAmB,IAAIC,kBAAAA,EAAoCC,OACtE;EACEC,SAAS;EACTC,YAAY;AACd,GACA;EAACC;CAAiB;AAEb,IAAMC,iBAAiB,IAAIC,gBAAAA,EAAgCL,OAAO;EAACM;EAA0BC;CAA4B;AAEzH,IAAMC,iBAAiBC,gBAAgBT,OAAOI,cAAAA;AAC9C,IAAMM,mBAAmBD,gBAAgBT,OAAOF,gBAAAA;AAChD,IAAMa,mBAAmBC,YAAYZ,OAAOI,cAAAA;AAC5C,IAAMS,qBAAqBD,YAAYZ,OAAOF,gBAAAA;","names":["BridgeConfigSchema","BridgeConnectQuerySchema","BridgeConnectedQuerySchema","BridgeDisconnectQuerySchema","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","isBridgeInstance","IsInstanceFactory","create","connect","disconnect","isModuleInstance","isBridgeModule","IsModuleFactory","BridgeConnectQuerySchema","BridgeDisconnectQuerySchema","asBridgeModule","AsObjectFactory","asBridgeInstance","withBridgeModule","WithFactory","withBridgeInstance"]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BridgeInstance, BridgeModule } from './Bridge';
|
|
2
|
-
export declare const isBridgeInstance: import("@
|
|
2
|
+
export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
3
3
|
readonly archivist?: string | undefined;
|
|
4
4
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
5
5
|
readonly name?: string | undefined;
|
|
6
6
|
readonly paging?: Record<string, {
|
|
7
7
|
size?: number | undefined;
|
|
8
8
|
}> | undefined;
|
|
9
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
9
10
|
schema: "network.xyo.bridge.config";
|
|
10
11
|
readonly security?: {
|
|
11
12
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -22,6 +23,7 @@ export declare const isBridgeInstance: import("@xyo-network/object").TypeCheck<B
|
|
|
22
23
|
readonly paging?: Record<string, {
|
|
23
24
|
size?: number | undefined;
|
|
24
25
|
}> | undefined;
|
|
26
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
25
27
|
schema: "network.xyo.bridge.config";
|
|
26
28
|
readonly security?: {
|
|
27
29
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -45,6 +47,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
45
47
|
readonly paging?: Record<string, {
|
|
46
48
|
size?: number | undefined;
|
|
47
49
|
}> | undefined;
|
|
50
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
48
51
|
schema: "network.xyo.bridge.config";
|
|
49
52
|
readonly security?: {
|
|
50
53
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -61,6 +64,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
61
64
|
readonly paging?: Record<string, {
|
|
62
65
|
size?: number | undefined;
|
|
63
66
|
}> | undefined;
|
|
67
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
64
68
|
schema: "network.xyo.bridge.config";
|
|
65
69
|
readonly security?: {
|
|
66
70
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -85,6 +89,7 @@ export declare const asBridgeModule: {
|
|
|
85
89
|
readonly paging?: Record<string, {
|
|
86
90
|
size?: number | undefined;
|
|
87
91
|
}> | undefined;
|
|
92
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
88
93
|
schema: "network.xyo.bridge.config";
|
|
89
94
|
readonly security?: {
|
|
90
95
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -101,6 +106,7 @@ export declare const asBridgeModule: {
|
|
|
101
106
|
readonly paging?: Record<string, {
|
|
102
107
|
size?: number | undefined;
|
|
103
108
|
}> | undefined;
|
|
109
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
104
110
|
schema: "network.xyo.bridge.config";
|
|
105
111
|
readonly security?: {
|
|
106
112
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -116,7 +122,7 @@ export declare const asBridgeModule: {
|
|
|
116
122
|
schema: "network.xyo.bridge.config";
|
|
117
123
|
}, "schema"> & {
|
|
118
124
|
schema: string;
|
|
119
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@
|
|
125
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
120
126
|
<TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
121
127
|
readonly archivist?: string | undefined;
|
|
122
128
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
@@ -124,6 +130,7 @@ export declare const asBridgeModule: {
|
|
|
124
130
|
readonly paging?: Record<string, {
|
|
125
131
|
size?: number | undefined;
|
|
126
132
|
}> | undefined;
|
|
133
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
127
134
|
schema: "network.xyo.bridge.config";
|
|
128
135
|
readonly security?: {
|
|
129
136
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -140,6 +147,7 @@ export declare const asBridgeModule: {
|
|
|
140
147
|
readonly paging?: Record<string, {
|
|
141
148
|
size?: number | undefined;
|
|
142
149
|
}> | undefined;
|
|
150
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
143
151
|
schema: "network.xyo.bridge.config";
|
|
144
152
|
readonly security?: {
|
|
145
153
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -155,7 +163,7 @@ export declare const asBridgeModule: {
|
|
|
155
163
|
schema: "network.xyo.bridge.config";
|
|
156
164
|
}, "schema"> & {
|
|
157
165
|
schema: string;
|
|
158
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
166
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
159
167
|
};
|
|
160
168
|
export declare const asBridgeInstance: {
|
|
161
169
|
<TType extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
@@ -165,6 +173,7 @@ export declare const asBridgeInstance: {
|
|
|
165
173
|
readonly paging?: Record<string, {
|
|
166
174
|
size?: number | undefined;
|
|
167
175
|
}> | undefined;
|
|
176
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
168
177
|
schema: "network.xyo.bridge.config";
|
|
169
178
|
readonly security?: {
|
|
170
179
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -181,6 +190,7 @@ export declare const asBridgeInstance: {
|
|
|
181
190
|
readonly paging?: Record<string, {
|
|
182
191
|
size?: number | undefined;
|
|
183
192
|
}> | undefined;
|
|
193
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
184
194
|
schema: "network.xyo.bridge.config";
|
|
185
195
|
readonly security?: {
|
|
186
196
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -196,7 +206,7 @@ export declare const asBridgeInstance: {
|
|
|
196
206
|
schema: "network.xyo.bridge.config";
|
|
197
207
|
}, "schema"> & {
|
|
198
208
|
schema: string;
|
|
199
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@
|
|
209
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
200
210
|
<TType_1 extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
201
211
|
readonly archivist?: string | undefined;
|
|
202
212
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
@@ -204,6 +214,7 @@ export declare const asBridgeInstance: {
|
|
|
204
214
|
readonly paging?: Record<string, {
|
|
205
215
|
size?: number | undefined;
|
|
206
216
|
}> | undefined;
|
|
217
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
207
218
|
schema: "network.xyo.bridge.config";
|
|
208
219
|
readonly security?: {
|
|
209
220
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -220,6 +231,7 @@ export declare const asBridgeInstance: {
|
|
|
220
231
|
readonly paging?: Record<string, {
|
|
221
232
|
size?: number | undefined;
|
|
222
233
|
}> | undefined;
|
|
234
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
223
235
|
schema: "network.xyo.bridge.config";
|
|
224
236
|
readonly security?: {
|
|
225
237
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -235,7 +247,7 @@ export declare const asBridgeInstance: {
|
|
|
235
247
|
schema: "network.xyo.bridge.config";
|
|
236
248
|
}, "schema"> & {
|
|
237
249
|
schema: string;
|
|
238
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
250
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
239
251
|
};
|
|
240
252
|
export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
241
253
|
readonly archivist?: string | undefined;
|
|
@@ -244,6 +256,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
244
256
|
readonly paging?: Record<string, {
|
|
245
257
|
size?: number | undefined;
|
|
246
258
|
}> | undefined;
|
|
259
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
247
260
|
schema: "network.xyo.bridge.config";
|
|
248
261
|
readonly security?: {
|
|
249
262
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -260,6 +273,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
260
273
|
readonly paging?: Record<string, {
|
|
261
274
|
size?: number | undefined;
|
|
262
275
|
}> | undefined;
|
|
276
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
263
277
|
schema: "network.xyo.bridge.config";
|
|
264
278
|
readonly security?: {
|
|
265
279
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -283,6 +297,7 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
283
297
|
readonly paging?: Record<string, {
|
|
284
298
|
size?: number | undefined;
|
|
285
299
|
}> | undefined;
|
|
300
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
286
301
|
schema: "network.xyo.bridge.config";
|
|
287
302
|
readonly security?: {
|
|
288
303
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -299,6 +314,7 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
299
314
|
readonly paging?: Record<string, {
|
|
300
315
|
size?: number | undefined;
|
|
301
316
|
}> | undefined;
|
|
317
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
302
318
|
schema: "network.xyo.bridge.config";
|
|
303
319
|
readonly security?: {
|
|
304
320
|
readonly allowAnonymous?: boolean | 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEAM5B,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"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BridgeInstance, BridgeModule } from './Bridge';
|
|
2
|
-
export declare const isBridgeInstance: import("@
|
|
2
|
+
export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
3
3
|
readonly archivist?: string | undefined;
|
|
4
4
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
5
5
|
readonly name?: string | undefined;
|
|
6
6
|
readonly paging?: Record<string, {
|
|
7
7
|
size?: number | undefined;
|
|
8
8
|
}> | undefined;
|
|
9
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
9
10
|
schema: "network.xyo.bridge.config";
|
|
10
11
|
readonly security?: {
|
|
11
12
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -22,6 +23,7 @@ export declare const isBridgeInstance: import("@xyo-network/object").TypeCheck<B
|
|
|
22
23
|
readonly paging?: Record<string, {
|
|
23
24
|
size?: number | undefined;
|
|
24
25
|
}> | undefined;
|
|
26
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
25
27
|
schema: "network.xyo.bridge.config";
|
|
26
28
|
readonly security?: {
|
|
27
29
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -45,6 +47,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
45
47
|
readonly paging?: Record<string, {
|
|
46
48
|
size?: number | undefined;
|
|
47
49
|
}> | undefined;
|
|
50
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
48
51
|
schema: "network.xyo.bridge.config";
|
|
49
52
|
readonly security?: {
|
|
50
53
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -61,6 +64,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
61
64
|
readonly paging?: Record<string, {
|
|
62
65
|
size?: number | undefined;
|
|
63
66
|
}> | undefined;
|
|
67
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
64
68
|
schema: "network.xyo.bridge.config";
|
|
65
69
|
readonly security?: {
|
|
66
70
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -85,6 +89,7 @@ export declare const asBridgeModule: {
|
|
|
85
89
|
readonly paging?: Record<string, {
|
|
86
90
|
size?: number | undefined;
|
|
87
91
|
}> | undefined;
|
|
92
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
88
93
|
schema: "network.xyo.bridge.config";
|
|
89
94
|
readonly security?: {
|
|
90
95
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -101,6 +106,7 @@ export declare const asBridgeModule: {
|
|
|
101
106
|
readonly paging?: Record<string, {
|
|
102
107
|
size?: number | undefined;
|
|
103
108
|
}> | undefined;
|
|
109
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
104
110
|
schema: "network.xyo.bridge.config";
|
|
105
111
|
readonly security?: {
|
|
106
112
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -116,7 +122,7 @@ export declare const asBridgeModule: {
|
|
|
116
122
|
schema: "network.xyo.bridge.config";
|
|
117
123
|
}, "schema"> & {
|
|
118
124
|
schema: string;
|
|
119
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@
|
|
125
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
120
126
|
<TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
121
127
|
readonly archivist?: string | undefined;
|
|
122
128
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
@@ -124,6 +130,7 @@ export declare const asBridgeModule: {
|
|
|
124
130
|
readonly paging?: Record<string, {
|
|
125
131
|
size?: number | undefined;
|
|
126
132
|
}> | undefined;
|
|
133
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
127
134
|
schema: "network.xyo.bridge.config";
|
|
128
135
|
readonly security?: {
|
|
129
136
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -140,6 +147,7 @@ export declare const asBridgeModule: {
|
|
|
140
147
|
readonly paging?: Record<string, {
|
|
141
148
|
size?: number | undefined;
|
|
142
149
|
}> | undefined;
|
|
150
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
143
151
|
schema: "network.xyo.bridge.config";
|
|
144
152
|
readonly security?: {
|
|
145
153
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -155,7 +163,7 @@ export declare const asBridgeModule: {
|
|
|
155
163
|
schema: "network.xyo.bridge.config";
|
|
156
164
|
}, "schema"> & {
|
|
157
165
|
schema: string;
|
|
158
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
166
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
159
167
|
};
|
|
160
168
|
export declare const asBridgeInstance: {
|
|
161
169
|
<TType extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
@@ -165,6 +173,7 @@ export declare const asBridgeInstance: {
|
|
|
165
173
|
readonly paging?: Record<string, {
|
|
166
174
|
size?: number | undefined;
|
|
167
175
|
}> | undefined;
|
|
176
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
168
177
|
schema: "network.xyo.bridge.config";
|
|
169
178
|
readonly security?: {
|
|
170
179
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -181,6 +190,7 @@ export declare const asBridgeInstance: {
|
|
|
181
190
|
readonly paging?: Record<string, {
|
|
182
191
|
size?: number | undefined;
|
|
183
192
|
}> | undefined;
|
|
193
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
184
194
|
schema: "network.xyo.bridge.config";
|
|
185
195
|
readonly security?: {
|
|
186
196
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -196,7 +206,7 @@ export declare const asBridgeInstance: {
|
|
|
196
206
|
schema: "network.xyo.bridge.config";
|
|
197
207
|
}, "schema"> & {
|
|
198
208
|
schema: string;
|
|
199
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@
|
|
209
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
200
210
|
<TType_1 extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
201
211
|
readonly archivist?: string | undefined;
|
|
202
212
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
@@ -204,6 +214,7 @@ export declare const asBridgeInstance: {
|
|
|
204
214
|
readonly paging?: Record<string, {
|
|
205
215
|
size?: number | undefined;
|
|
206
216
|
}> | undefined;
|
|
217
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
207
218
|
schema: "network.xyo.bridge.config";
|
|
208
219
|
readonly security?: {
|
|
209
220
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -220,6 +231,7 @@ export declare const asBridgeInstance: {
|
|
|
220
231
|
readonly paging?: Record<string, {
|
|
221
232
|
size?: number | undefined;
|
|
222
233
|
}> | undefined;
|
|
234
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
223
235
|
schema: "network.xyo.bridge.config";
|
|
224
236
|
readonly security?: {
|
|
225
237
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -235,7 +247,7 @@ export declare const asBridgeInstance: {
|
|
|
235
247
|
schema: "network.xyo.bridge.config";
|
|
236
248
|
}, "schema"> & {
|
|
237
249
|
schema: string;
|
|
238
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
250
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
239
251
|
};
|
|
240
252
|
export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
241
253
|
readonly archivist?: string | undefined;
|
|
@@ -244,6 +256,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
244
256
|
readonly paging?: Record<string, {
|
|
245
257
|
size?: number | undefined;
|
|
246
258
|
}> | undefined;
|
|
259
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
247
260
|
schema: "network.xyo.bridge.config";
|
|
248
261
|
readonly security?: {
|
|
249
262
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -260,6 +273,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
260
273
|
readonly paging?: Record<string, {
|
|
261
274
|
size?: number | undefined;
|
|
262
275
|
}> | undefined;
|
|
276
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
263
277
|
schema: "network.xyo.bridge.config";
|
|
264
278
|
readonly security?: {
|
|
265
279
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -283,6 +297,7 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
283
297
|
readonly paging?: Record<string, {
|
|
284
298
|
size?: number | undefined;
|
|
285
299
|
}> | undefined;
|
|
300
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
286
301
|
schema: "network.xyo.bridge.config";
|
|
287
302
|
readonly security?: {
|
|
288
303
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -299,6 +314,7 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
299
314
|
readonly paging?: Record<string, {
|
|
300
315
|
size?: number | undefined;
|
|
301
316
|
}> | undefined;
|
|
317
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
302
318
|
schema: "network.xyo.bridge.config";
|
|
303
319
|
readonly security?: {
|
|
304
320
|
readonly allowAnonymous?: boolean | 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEAM5B,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"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BridgeInstance, BridgeModule } from './Bridge';
|
|
2
|
-
export declare const isBridgeInstance: import("@
|
|
2
|
+
export declare const isBridgeInstance: import("@xylabs/object").TypeCheck<BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
3
3
|
readonly archivist?: string | undefined;
|
|
4
4
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
5
5
|
readonly name?: string | undefined;
|
|
6
6
|
readonly paging?: Record<string, {
|
|
7
7
|
size?: number | undefined;
|
|
8
8
|
}> | undefined;
|
|
9
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
9
10
|
schema: "network.xyo.bridge.config";
|
|
10
11
|
readonly security?: {
|
|
11
12
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -22,6 +23,7 @@ export declare const isBridgeInstance: import("@xyo-network/object").TypeCheck<B
|
|
|
22
23
|
readonly paging?: Record<string, {
|
|
23
24
|
size?: number | undefined;
|
|
24
25
|
}> | undefined;
|
|
26
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
25
27
|
schema: "network.xyo.bridge.config";
|
|
26
28
|
readonly security?: {
|
|
27
29
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -45,6 +47,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
45
47
|
readonly paging?: Record<string, {
|
|
46
48
|
size?: number | undefined;
|
|
47
49
|
}> | undefined;
|
|
50
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
48
51
|
schema: "network.xyo.bridge.config";
|
|
49
52
|
readonly security?: {
|
|
50
53
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -61,6 +64,7 @@ export declare const isBridgeModule: import("@xyo-network/module-model").ModuleT
|
|
|
61
64
|
readonly paging?: Record<string, {
|
|
62
65
|
size?: number | undefined;
|
|
63
66
|
}> | undefined;
|
|
67
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
64
68
|
schema: "network.xyo.bridge.config";
|
|
65
69
|
readonly security?: {
|
|
66
70
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -85,6 +89,7 @@ export declare const asBridgeModule: {
|
|
|
85
89
|
readonly paging?: Record<string, {
|
|
86
90
|
size?: number | undefined;
|
|
87
91
|
}> | undefined;
|
|
92
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
88
93
|
schema: "network.xyo.bridge.config";
|
|
89
94
|
readonly security?: {
|
|
90
95
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -101,6 +106,7 @@ export declare const asBridgeModule: {
|
|
|
101
106
|
readonly paging?: Record<string, {
|
|
102
107
|
size?: number | undefined;
|
|
103
108
|
}> | undefined;
|
|
109
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
104
110
|
schema: "network.xyo.bridge.config";
|
|
105
111
|
readonly security?: {
|
|
106
112
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -116,7 +122,7 @@ export declare const asBridgeModule: {
|
|
|
116
122
|
schema: "network.xyo.bridge.config";
|
|
117
123
|
}, "schema"> & {
|
|
118
124
|
schema: string;
|
|
119
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@
|
|
125
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
120
126
|
<TType_1 extends BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
121
127
|
readonly archivist?: string | undefined;
|
|
122
128
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
@@ -124,6 +130,7 @@ export declare const asBridgeModule: {
|
|
|
124
130
|
readonly paging?: Record<string, {
|
|
125
131
|
size?: number | undefined;
|
|
126
132
|
}> | undefined;
|
|
133
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
127
134
|
schema: "network.xyo.bridge.config";
|
|
128
135
|
readonly security?: {
|
|
129
136
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -140,6 +147,7 @@ export declare const asBridgeModule: {
|
|
|
140
147
|
readonly paging?: Record<string, {
|
|
141
148
|
size?: number | undefined;
|
|
142
149
|
}> | undefined;
|
|
150
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
143
151
|
schema: "network.xyo.bridge.config";
|
|
144
152
|
readonly security?: {
|
|
145
153
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -155,7 +163,7 @@ export declare const asBridgeModule: {
|
|
|
155
163
|
schema: "network.xyo.bridge.config";
|
|
156
164
|
}, "schema"> & {
|
|
157
165
|
schema: string;
|
|
158
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
166
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
159
167
|
};
|
|
160
168
|
export declare const asBridgeInstance: {
|
|
161
169
|
<TType extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
@@ -165,6 +173,7 @@ export declare const asBridgeInstance: {
|
|
|
165
173
|
readonly paging?: Record<string, {
|
|
166
174
|
size?: number | undefined;
|
|
167
175
|
}> | undefined;
|
|
176
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
168
177
|
schema: "network.xyo.bridge.config";
|
|
169
178
|
readonly security?: {
|
|
170
179
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -181,6 +190,7 @@ export declare const asBridgeInstance: {
|
|
|
181
190
|
readonly paging?: Record<string, {
|
|
182
191
|
size?: number | undefined;
|
|
183
192
|
}> | undefined;
|
|
193
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
184
194
|
schema: "network.xyo.bridge.config";
|
|
185
195
|
readonly security?: {
|
|
186
196
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -196,7 +206,7 @@ export declare const asBridgeInstance: {
|
|
|
196
206
|
schema: "network.xyo.bridge.config";
|
|
197
207
|
}, "schema"> & {
|
|
198
208
|
schema: string;
|
|
199
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@
|
|
209
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
200
210
|
<TType_1 extends BridgeInstance<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
201
211
|
readonly archivist?: string | undefined;
|
|
202
212
|
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
@@ -204,6 +214,7 @@ export declare const asBridgeInstance: {
|
|
|
204
214
|
readonly paging?: Record<string, {
|
|
205
215
|
size?: number | undefined;
|
|
206
216
|
}> | undefined;
|
|
217
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
207
218
|
schema: "network.xyo.bridge.config";
|
|
208
219
|
readonly security?: {
|
|
209
220
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -220,6 +231,7 @@ export declare const asBridgeInstance: {
|
|
|
220
231
|
readonly paging?: Record<string, {
|
|
221
232
|
size?: number | undefined;
|
|
222
233
|
}> | undefined;
|
|
234
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
223
235
|
schema: "network.xyo.bridge.config";
|
|
224
236
|
readonly security?: {
|
|
225
237
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -235,7 +247,7 @@ export declare const asBridgeInstance: {
|
|
|
235
247
|
schema: "network.xyo.bridge.config";
|
|
236
248
|
}, "schema"> & {
|
|
237
249
|
schema: string;
|
|
238
|
-
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
250
|
+
}>, import("@xyo-network/module-model").ModuleEventData<object>>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
239
251
|
};
|
|
240
252
|
export declare const withBridgeModule: <R>(module: any, closure: (module: BridgeModule<import("./Bridge").BridgeParams<import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
241
253
|
readonly archivist?: string | undefined;
|
|
@@ -244,6 +256,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
244
256
|
readonly paging?: Record<string, {
|
|
245
257
|
size?: number | undefined;
|
|
246
258
|
}> | undefined;
|
|
259
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
247
260
|
schema: "network.xyo.bridge.config";
|
|
248
261
|
readonly security?: {
|
|
249
262
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -260,6 +273,7 @@ export declare const withBridgeModule: <R>(module: any, closure: (module: Bridge
|
|
|
260
273
|
readonly paging?: Record<string, {
|
|
261
274
|
size?: number | undefined;
|
|
262
275
|
}> | undefined;
|
|
276
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
263
277
|
schema: "network.xyo.bridge.config";
|
|
264
278
|
readonly security?: {
|
|
265
279
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -283,6 +297,7 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
283
297
|
readonly paging?: Record<string, {
|
|
284
298
|
size?: number | undefined;
|
|
285
299
|
}> | undefined;
|
|
300
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
286
301
|
schema: "network.xyo.bridge.config";
|
|
287
302
|
readonly security?: {
|
|
288
303
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -299,6 +314,7 @@ export declare const withBridgeInstance: <R>(module: any, closure: (module: Brid
|
|
|
299
314
|
readonly paging?: Record<string, {
|
|
300
315
|
size?: number | undefined;
|
|
301
316
|
}> | undefined;
|
|
317
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
302
318
|
schema: "network.xyo.bridge.config";
|
|
303
319
|
readonly security?: {
|
|
304
320
|
readonly allowAnonymous?: boolean | 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEAM5B,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"}
|