@xyo-network/diviner-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/DivinerQueryFunctions.d.cts +2 -1
- package/dist/browser/DivinerQueryFunctions.d.cts.map +1 -1
- package/dist/browser/DivinerQueryFunctions.d.mts +2 -1
- package/dist/browser/DivinerQueryFunctions.d.mts.map +1 -1
- package/dist/browser/DivinerQueryFunctions.d.ts +2 -1
- package/dist/browser/DivinerQueryFunctions.d.ts.map +1 -1
- package/dist/browser/Params.d.cts +1 -1
- package/dist/browser/Params.d.cts.map +1 -1
- package/dist/browser/Params.d.mts +1 -1
- package/dist/browser/Params.d.mts.map +1 -1
- package/dist/browser/Params.d.ts +1 -1
- package/dist/browser/Params.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 +28 -12
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +28 -12
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +28 -12
- 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/DivinerQueryFunctions.d.cts +2 -1
- package/dist/node/DivinerQueryFunctions.d.cts.map +1 -1
- package/dist/node/DivinerQueryFunctions.d.mts +2 -1
- package/dist/node/DivinerQueryFunctions.d.mts.map +1 -1
- package/dist/node/DivinerQueryFunctions.d.ts +2 -1
- package/dist/node/DivinerQueryFunctions.d.ts.map +1 -1
- package/dist/node/Params.d.cts +1 -1
- package/dist/node/Params.d.cts.map +1 -1
- package/dist/node/Params.d.mts +1 -1
- package/dist/node/Params.d.mts.map +1 -1
- package/dist/node/Params.d.ts +1 -1
- package/dist/node/Params.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 +28 -12
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +28 -12
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +28 -12
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +7 -6
- package/src/Config.ts +1 -1
- package/src/DivinerQueryFunctions.ts +2 -1
- package/src/Params.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 DivinerConfigSchema = "network.xyo.diviner.config";
|
|
5
5
|
export type DivinerConfigSchema = typeof DivinerConfigSchema;
|
|
@@ -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,mBAAmB,+BAA+B,CAAA;AAC/D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,MAAM,MAAM,aAAa,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,YAAY,CACjI,cAAc,CACZ;IACE,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAA;CAC1E,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 DivinerConfigSchema = "network.xyo.diviner.config";
|
|
5
5
|
export type DivinerConfigSchema = typeof DivinerConfigSchema;
|
|
@@ -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,mBAAmB,+BAA+B,CAAA;AAC/D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,MAAM,MAAM,aAAa,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,YAAY,CACjI,cAAc,CACZ;IACE,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAA;CAC1E,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 DivinerConfigSchema = "network.xyo.diviner.config";
|
|
5
5
|
export type DivinerConfigSchema = typeof DivinerConfigSchema;
|
|
@@ -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,mBAAmB,+BAA+B,CAAA;AAC/D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,MAAM,MAAM,aAAa,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,YAAY,CACjI,cAAc,CACZ;IACE,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,mBAAmB,CAAA;CAC1E,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { RetryConfig } from '@xylabs/retry';
|
|
2
3
|
import { Payload } from '@xyo-network/payload-model';
|
|
3
4
|
export interface DivinerQueryFunctions {
|
|
4
|
-
divine: (payloads?: Payload[]) => Promisable<Payload[]>;
|
|
5
|
+
divine: (payloads?: Payload[], retry?: RetryConfig) => Promisable<Payload[]>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=DivinerQueryFunctions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DivinerQueryFunctions.d.ts","sourceRoot":"","sources":["../../src/DivinerQueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,KAAK,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"DivinerQueryFunctions.d.ts","sourceRoot":"","sources":["../../src/DivinerQueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,CAAC,EAAE,WAAW,KAAK,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;CAC7E"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { RetryConfig } from '@xylabs/retry';
|
|
2
3
|
import { Payload } from '@xyo-network/payload-model';
|
|
3
4
|
export interface DivinerQueryFunctions {
|
|
4
|
-
divine: (payloads?: Payload[]) => Promisable<Payload[]>;
|
|
5
|
+
divine: (payloads?: Payload[], retry?: RetryConfig) => Promisable<Payload[]>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=DivinerQueryFunctions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DivinerQueryFunctions.d.ts","sourceRoot":"","sources":["../../src/DivinerQueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,KAAK,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"DivinerQueryFunctions.d.ts","sourceRoot":"","sources":["../../src/DivinerQueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,CAAC,EAAE,WAAW,KAAK,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;CAC7E"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Promisable } from '@xylabs/promise';
|
|
2
|
+
import { RetryConfig } from '@xylabs/retry';
|
|
2
3
|
import { Payload } from '@xyo-network/payload-model';
|
|
3
4
|
export interface DivinerQueryFunctions {
|
|
4
|
-
divine: (payloads?: Payload[]) => Promisable<Payload[]>;
|
|
5
|
+
divine: (payloads?: Payload[], retry?: RetryConfig) => Promisable<Payload[]>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=DivinerQueryFunctions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DivinerQueryFunctions.d.ts","sourceRoot":"","sources":["../../src/DivinerQueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,KAAK,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"DivinerQueryFunctions.d.ts","sourceRoot":"","sources":["../../src/DivinerQueryFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,CAAC,EAAE,WAAW,KAAK,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;CAC7E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EmptyObject } from '@xylabs/object';
|
|
1
2
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
-
import { EmptyObject } from '@xyo-network/object';
|
|
3
3
|
import { DivinerConfig } from './Config';
|
|
4
4
|
export type DivinerParams<TConfig extends AnyConfigSchema<DivinerConfig> = AnyConfigSchema<DivinerConfig>, TAdditional extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditional>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,MAAM,aAAa,CACvB,OAAO,SAAS,eAAe,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,EAC/E,WAAW,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAC3C,YAAY,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EmptyObject } from '@xylabs/object';
|
|
1
2
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
-
import { EmptyObject } from '@xyo-network/object';
|
|
3
3
|
import { DivinerConfig } from './Config';
|
|
4
4
|
export type DivinerParams<TConfig extends AnyConfigSchema<DivinerConfig> = AnyConfigSchema<DivinerConfig>, TAdditional extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditional>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,MAAM,aAAa,CACvB,OAAO,SAAS,eAAe,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,EAC/E,WAAW,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAC3C,YAAY,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA"}
|
package/dist/browser/Params.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { EmptyObject } from '@xylabs/object';
|
|
1
2
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
-
import { EmptyObject } from '@xyo-network/object';
|
|
3
3
|
import { DivinerConfig } from './Config';
|
|
4
4
|
export type DivinerParams<TConfig extends AnyConfigSchema<DivinerConfig> = AnyConfigSchema<DivinerConfig>, TAdditional extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditional>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,MAAM,aAAa,CACvB,OAAO,SAAS,eAAe,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,EAC/E,WAAW,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAC3C,YAAY,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA"}
|
package/dist/browser/index.cjs
CHANGED
|
@@ -38,8 +38,8 @@ var DivinerConfigSchema = "network.xyo.diviner.config";
|
|
|
38
38
|
var DivinerDivineQuerySchema = "network.xyo.query.diviner.divine";
|
|
39
39
|
|
|
40
40
|
// src/typeChecks.ts
|
|
41
|
+
var import_object = require("@xylabs/object");
|
|
41
42
|
var import_module_model = require("@xyo-network/module-model");
|
|
42
|
-
var import_object = require("@xyo-network/object");
|
|
43
43
|
var isDivinerInstance = new import_module_model.IsInstanceFactory().create({
|
|
44
44
|
divine: "function"
|
|
45
45
|
}, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Config.ts","../../src/Queries/Divine.ts","../../src/typeChecks.ts"],"sourcesContent":["export * from './Config'\nexport * from './DivinerQueryFunctions'\nexport * from './EventData'\nexport * from './EventsModels'\nexport * from './Instance'\nexport * from './Module'\nexport * from './Params'\nexport * from './Queries'\nexport * from './SearchableStorage'\nexport * from './typeChecks'\n","import {
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Config.ts","../../src/Queries/Divine.ts","../../src/typeChecks.ts"],"sourcesContent":["export * from './Config'\nexport * from './DivinerQueryFunctions'\nexport * from './EventData'\nexport * from './EventsModels'\nexport * from './Instance'\nexport * from './Module'\nexport * from './Params'\nexport * from './Queries'\nexport * from './SearchableStorage'\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 DivinerConfigSchema = 'network.xyo.diviner.config'\nexport type DivinerConfigSchema = typeof DivinerConfigSchema\n\nexport type DivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n schema: TConfig extends Payload ? TConfig['schema'] : DivinerConfigSchema\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type DivinerDivineQuerySchema = 'network.xyo.query.diviner.divine'\nexport const DivinerDivineQuerySchema: DivinerDivineQuerySchema = 'network.xyo.query.diviner.divine'\n\nexport type DivinerDivineQuery = Query<{\n schema: DivinerDivineQuerySchema\n}>\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { DivinerInstance } from './Instance'\nimport { DivinerModule } from './Module'\nimport { DivinerDivineQuerySchema } from './Queries'\n\nexport const isDivinerInstance = new IsInstanceFactory<DivinerInstance>().create({ divine: 'function' }, [isModuleInstance])\nexport const isDivinerModule = new IsModuleFactory<DivinerModule>().create([DivinerDivineQuerySchema])\n\nexport const asDivinerModule = AsObjectFactory.create(isDivinerModule)\nexport const asDivinerInstance = AsObjectFactory.create(isDivinerInstance)\nexport const withDivinerModule = WithFactory.create(isDivinerModule)\nexport const withDivinerInstance = WithFactory.create(isDivinerInstance)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;ACIO,IAAMA,sBAAsB;;;ACD5B,IAAMC,2BAAqD;;;ACHlE,oBAAgC;AAChC,0BAAkF;AAM3E,IAAMC,oBAAoB,IAAIC,sCAAAA,EAAqCC,OAAO;EAAEC,QAAQ;AAAW,GAAG;EAACC;CAAiB;AACpH,IAAMC,kBAAkB,IAAIC,oCAAAA,EAAiCJ,OAAO;EAACK;CAAyB;AAE9F,IAAMC,kBAAkBC,8BAAgBP,OAAOG,eAAAA;AAC/C,IAAMK,oBAAoBD,8BAAgBP,OAAOF,iBAAAA;AACjD,IAAMW,oBAAoBC,gCAAYV,OAAOG,eAAAA;AAC7C,IAAMQ,sBAAsBD,gCAAYV,OAAOF,iBAAAA;","names":["DivinerConfigSchema","DivinerDivineQuerySchema","isDivinerInstance","IsInstanceFactory","create","divine","isModuleInstance","isDivinerModule","IsModuleFactory","DivinerDivineQuerySchema","asDivinerModule","AsObjectFactory","asDivinerInstance","withDivinerModule","WithFactory","withDivinerInstance"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -5,8 +5,8 @@ var DivinerConfigSchema = "network.xyo.diviner.config";
|
|
|
5
5
|
var DivinerDivineQuerySchema = "network.xyo.query.diviner.divine";
|
|
6
6
|
|
|
7
7
|
// src/typeChecks.ts
|
|
8
|
+
import { AsObjectFactory } from "@xylabs/object";
|
|
8
9
|
import { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from "@xyo-network/module-model";
|
|
9
|
-
import { AsObjectFactory } from "@xyo-network/object";
|
|
10
10
|
var isDivinerInstance = new IsInstanceFactory().create({
|
|
11
11
|
divine: "function"
|
|
12
12
|
}, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Config.ts","../../src/Queries/Divine.ts","../../src/typeChecks.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../src/Config.ts","../../src/Queries/Divine.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 DivinerConfigSchema = 'network.xyo.diviner.config'\nexport type DivinerConfigSchema = typeof DivinerConfigSchema\n\nexport type DivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n schema: TConfig extends Payload ? TConfig['schema'] : DivinerConfigSchema\n },\n TConfig\n >,\n TSchema\n>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type DivinerDivineQuerySchema = 'network.xyo.query.diviner.divine'\nexport const DivinerDivineQuerySchema: DivinerDivineQuerySchema = 'network.xyo.query.diviner.divine'\n\nexport type DivinerDivineQuery = Query<{\n schema: DivinerDivineQuerySchema\n}>\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { DivinerInstance } from './Instance'\nimport { DivinerModule } from './Module'\nimport { DivinerDivineQuerySchema } from './Queries'\n\nexport const isDivinerInstance = new IsInstanceFactory<DivinerInstance>().create({ divine: 'function' }, [isModuleInstance])\nexport const isDivinerModule = new IsModuleFactory<DivinerModule>().create([DivinerDivineQuerySchema])\n\nexport const asDivinerModule = AsObjectFactory.create(isDivinerModule)\nexport const asDivinerInstance = AsObjectFactory.create(isDivinerInstance)\nexport const withDivinerModule = WithFactory.create(isDivinerModule)\nexport const withDivinerInstance = WithFactory.create(isDivinerInstance)\n"],"mappings":";AAIO,IAAMA,sBAAsB;;;ACD5B,IAAMC,2BAAqD;;;ACHlE,SAASC,uBAAuB;AAChC,SAASC,mBAAmBC,iBAAiBC,kBAAkBC,mBAAmB;AAM3E,IAAMC,oBAAoB,IAAIC,kBAAAA,EAAqCC,OAAO;EAAEC,QAAQ;AAAW,GAAG;EAACC;CAAiB;AACpH,IAAMC,kBAAkB,IAAIC,gBAAAA,EAAiCJ,OAAO;EAACK;CAAyB;AAE9F,IAAMC,kBAAkBC,gBAAgBP,OAAOG,eAAAA;AAC/C,IAAMK,oBAAoBD,gBAAgBP,OAAOF,iBAAAA;AACjD,IAAMW,oBAAoBC,YAAYV,OAAOG,eAAAA;AAC7C,IAAMQ,sBAAsBD,YAAYV,OAAOF,iBAAAA;","names":["DivinerConfigSchema","DivinerDivineQuerySchema","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","isDivinerInstance","IsInstanceFactory","create","divine","isModuleInstance","isDivinerModule","IsModuleFactory","DivinerDivineQuerySchema","asDivinerModule","AsObjectFactory","asDivinerInstance","withDivinerModule","WithFactory","withDivinerInstance"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DivinerInstance } from './Instance';
|
|
2
2
|
import { DivinerModule } from './Module';
|
|
3
|
-
export declare const isDivinerInstance: import("@
|
|
3
|
+
export declare const isDivinerInstance: import("@xylabs/object").TypeCheck<DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
4
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
5
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
6
6
|
readonly archivist?: string | undefined;
|
|
@@ -9,6 +9,7 @@ export declare const isDivinerInstance: import("@xyo-network/object").TypeCheck<
|
|
|
9
9
|
readonly paging?: Record<string, {
|
|
10
10
|
size?: number | undefined;
|
|
11
11
|
}> | undefined;
|
|
12
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
12
13
|
schema: "network.xyo.diviner.config";
|
|
13
14
|
readonly security?: {
|
|
14
15
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -25,6 +26,7 @@ export declare const isDivinerInstance: import("@xyo-network/object").TypeCheck<
|
|
|
25
26
|
readonly paging?: Record<string, {
|
|
26
27
|
size?: number | undefined;
|
|
27
28
|
}> | undefined;
|
|
29
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
28
30
|
schema: "network.xyo.diviner.config";
|
|
29
31
|
readonly security?: {
|
|
30
32
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -45,7 +47,7 @@ export declare const isDivinerInstance: import("@xyo-network/object").TypeCheck<
|
|
|
45
47
|
} & object, {
|
|
46
48
|
schema: string;
|
|
47
49
|
} & object>>;
|
|
48
|
-
export declare const isDivinerModule: import("@xyo-network/module-model").ModuleTypeCheck<DivinerModule<import("@
|
|
50
|
+
export declare const isDivinerModule: import("@xyo-network/module-model").ModuleTypeCheck<DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
49
51
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
50
52
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
51
53
|
readonly archivist?: string | undefined;
|
|
@@ -54,6 +56,7 @@ export declare const isDivinerModule: import("@xyo-network/module-model").Module
|
|
|
54
56
|
readonly paging?: Record<string, {
|
|
55
57
|
size?: number | undefined;
|
|
56
58
|
}> | undefined;
|
|
59
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
57
60
|
schema: "network.xyo.diviner.config";
|
|
58
61
|
readonly security?: {
|
|
59
62
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -70,6 +73,7 @@ export declare const isDivinerModule: import("@xyo-network/module-model").Module
|
|
|
70
73
|
readonly paging?: Record<string, {
|
|
71
74
|
size?: number | undefined;
|
|
72
75
|
}> | undefined;
|
|
76
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
73
77
|
schema: "network.xyo.diviner.config";
|
|
74
78
|
readonly security?: {
|
|
75
79
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -91,7 +95,7 @@ export declare const isDivinerModule: import("@xyo-network/module-model").Module
|
|
|
91
95
|
schema: string;
|
|
92
96
|
} & object>>;
|
|
93
97
|
export declare const asDivinerModule: {
|
|
94
|
-
<TType extends DivinerModule<import("@
|
|
98
|
+
<TType extends DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
95
99
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
96
100
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
97
101
|
readonly archivist?: string | undefined;
|
|
@@ -100,6 +104,7 @@ export declare const asDivinerModule: {
|
|
|
100
104
|
readonly paging?: Record<string, {
|
|
101
105
|
size?: number | undefined;
|
|
102
106
|
}> | undefined;
|
|
107
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
103
108
|
schema: "network.xyo.diviner.config";
|
|
104
109
|
readonly security?: {
|
|
105
110
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -116,6 +121,7 @@ export declare const asDivinerModule: {
|
|
|
116
121
|
readonly paging?: Record<string, {
|
|
117
122
|
size?: number | undefined;
|
|
118
123
|
}> | undefined;
|
|
124
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
119
125
|
schema: "network.xyo.diviner.config";
|
|
120
126
|
readonly security?: {
|
|
121
127
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -135,8 +141,8 @@ export declare const asDivinerModule: {
|
|
|
135
141
|
schema: string;
|
|
136
142
|
} & object, {
|
|
137
143
|
schema: string;
|
|
138
|
-
} & object>>(value: unknown, config?: import("@
|
|
139
|
-
<TType_1 extends DivinerModule<import("@
|
|
144
|
+
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
145
|
+
<TType_1 extends DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
140
146
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
141
147
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
142
148
|
readonly archivist?: string | undefined;
|
|
@@ -145,6 +151,7 @@ export declare const asDivinerModule: {
|
|
|
145
151
|
readonly paging?: Record<string, {
|
|
146
152
|
size?: number | undefined;
|
|
147
153
|
}> | undefined;
|
|
154
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
148
155
|
schema: "network.xyo.diviner.config";
|
|
149
156
|
readonly security?: {
|
|
150
157
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -161,6 +168,7 @@ export declare const asDivinerModule: {
|
|
|
161
168
|
readonly paging?: Record<string, {
|
|
162
169
|
size?: number | undefined;
|
|
163
170
|
}> | undefined;
|
|
171
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
164
172
|
schema: "network.xyo.diviner.config";
|
|
165
173
|
readonly security?: {
|
|
166
174
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -180,10 +188,10 @@ export declare const asDivinerModule: {
|
|
|
180
188
|
schema: string;
|
|
181
189
|
} & object, {
|
|
182
190
|
schema: string;
|
|
183
|
-
} & object>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
191
|
+
} & object>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
184
192
|
};
|
|
185
193
|
export declare const asDivinerInstance: {
|
|
186
|
-
<TType extends DivinerInstance<import("@
|
|
194
|
+
<TType extends DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
187
195
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
188
196
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
189
197
|
readonly archivist?: string | undefined;
|
|
@@ -192,6 +200,7 @@ export declare const asDivinerInstance: {
|
|
|
192
200
|
readonly paging?: Record<string, {
|
|
193
201
|
size?: number | undefined;
|
|
194
202
|
}> | undefined;
|
|
203
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
195
204
|
schema: "network.xyo.diviner.config";
|
|
196
205
|
readonly security?: {
|
|
197
206
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -208,6 +217,7 @@ export declare const asDivinerInstance: {
|
|
|
208
217
|
readonly paging?: Record<string, {
|
|
209
218
|
size?: number | undefined;
|
|
210
219
|
}> | undefined;
|
|
220
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
211
221
|
schema: "network.xyo.diviner.config";
|
|
212
222
|
readonly security?: {
|
|
213
223
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -227,8 +237,8 @@ export declare const asDivinerInstance: {
|
|
|
227
237
|
schema: string;
|
|
228
238
|
} & object, {
|
|
229
239
|
schema: string;
|
|
230
|
-
} & object>>(value: unknown, config?: import("@
|
|
231
|
-
<TType_1 extends DivinerInstance<import("@
|
|
240
|
+
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
241
|
+
<TType_1 extends DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
232
242
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
233
243
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
234
244
|
readonly archivist?: string | undefined;
|
|
@@ -237,6 +247,7 @@ export declare const asDivinerInstance: {
|
|
|
237
247
|
readonly paging?: Record<string, {
|
|
238
248
|
size?: number | undefined;
|
|
239
249
|
}> | undefined;
|
|
250
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
240
251
|
schema: "network.xyo.diviner.config";
|
|
241
252
|
readonly security?: {
|
|
242
253
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -253,6 +264,7 @@ export declare const asDivinerInstance: {
|
|
|
253
264
|
readonly paging?: Record<string, {
|
|
254
265
|
size?: number | undefined;
|
|
255
266
|
}> | undefined;
|
|
267
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
256
268
|
schema: "network.xyo.diviner.config";
|
|
257
269
|
readonly security?: {
|
|
258
270
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -272,9 +284,9 @@ export declare const asDivinerInstance: {
|
|
|
272
284
|
schema: string;
|
|
273
285
|
} & object, {
|
|
274
286
|
schema: string;
|
|
275
|
-
} & object>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
287
|
+
} & object>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
276
288
|
};
|
|
277
|
-
export declare const withDivinerModule: <R>(module: any, closure: (module: DivinerModule<import("@
|
|
289
|
+
export declare const withDivinerModule: <R>(module: any, closure: (module: DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
278
290
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
279
291
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
280
292
|
readonly archivist?: string | undefined;
|
|
@@ -283,6 +295,7 @@ export declare const withDivinerModule: <R>(module: any, closure: (module: Divin
|
|
|
283
295
|
readonly paging?: Record<string, {
|
|
284
296
|
size?: number | undefined;
|
|
285
297
|
}> | undefined;
|
|
298
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
286
299
|
schema: "network.xyo.diviner.config";
|
|
287
300
|
readonly security?: {
|
|
288
301
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -299,6 +312,7 @@ export declare const withDivinerModule: <R>(module: any, closure: (module: Divin
|
|
|
299
312
|
readonly paging?: Record<string, {
|
|
300
313
|
size?: number | undefined;
|
|
301
314
|
}> | undefined;
|
|
315
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
302
316
|
schema: "network.xyo.diviner.config";
|
|
303
317
|
readonly security?: {
|
|
304
318
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -319,7 +333,7 @@ export declare const withDivinerModule: <R>(module: any, closure: (module: Divin
|
|
|
319
333
|
} & object, {
|
|
320
334
|
schema: string;
|
|
321
335
|
} & object>) => R) => R | undefined;
|
|
322
|
-
export declare const withDivinerInstance: <R>(module: any, closure: (module: DivinerInstance<import("@
|
|
336
|
+
export declare const withDivinerInstance: <R>(module: any, closure: (module: DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
323
337
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
324
338
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
325
339
|
readonly archivist?: string | undefined;
|
|
@@ -328,6 +342,7 @@ export declare const withDivinerInstance: <R>(module: any, closure: (module: Div
|
|
|
328
342
|
readonly paging?: Record<string, {
|
|
329
343
|
size?: number | undefined;
|
|
330
344
|
}> | undefined;
|
|
345
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
331
346
|
schema: "network.xyo.diviner.config";
|
|
332
347
|
readonly security?: {
|
|
333
348
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -344,6 +359,7 @@ export declare const withDivinerInstance: <R>(module: any, closure: (module: Div
|
|
|
344
359
|
readonly paging?: Record<string, {
|
|
345
360
|
size?: number | undefined;
|
|
346
361
|
}> | undefined;
|
|
362
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
347
363
|
schema: "network.xyo.diviner.config";
|
|
348
364
|
readonly security?: {
|
|
349
365
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA8F,CAAA;AAC5H,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA0E,CAAA;AAEtG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAA;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAsC,CAAA;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAwC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DivinerInstance } from './Instance';
|
|
2
2
|
import { DivinerModule } from './Module';
|
|
3
|
-
export declare const isDivinerInstance: import("@
|
|
3
|
+
export declare const isDivinerInstance: import("@xylabs/object").TypeCheck<DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
4
4
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
5
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
6
6
|
readonly archivist?: string | undefined;
|
|
@@ -9,6 +9,7 @@ export declare const isDivinerInstance: import("@xyo-network/object").TypeCheck<
|
|
|
9
9
|
readonly paging?: Record<string, {
|
|
10
10
|
size?: number | undefined;
|
|
11
11
|
}> | undefined;
|
|
12
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
12
13
|
schema: "network.xyo.diviner.config";
|
|
13
14
|
readonly security?: {
|
|
14
15
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -25,6 +26,7 @@ export declare const isDivinerInstance: import("@xyo-network/object").TypeCheck<
|
|
|
25
26
|
readonly paging?: Record<string, {
|
|
26
27
|
size?: number | undefined;
|
|
27
28
|
}> | undefined;
|
|
29
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
28
30
|
schema: "network.xyo.diviner.config";
|
|
29
31
|
readonly security?: {
|
|
30
32
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -45,7 +47,7 @@ export declare const isDivinerInstance: import("@xyo-network/object").TypeCheck<
|
|
|
45
47
|
} & object, {
|
|
46
48
|
schema: string;
|
|
47
49
|
} & object>>;
|
|
48
|
-
export declare const isDivinerModule: import("@xyo-network/module-model").ModuleTypeCheck<DivinerModule<import("@
|
|
50
|
+
export declare const isDivinerModule: import("@xyo-network/module-model").ModuleTypeCheck<DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
49
51
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
50
52
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
51
53
|
readonly archivist?: string | undefined;
|
|
@@ -54,6 +56,7 @@ export declare const isDivinerModule: import("@xyo-network/module-model").Module
|
|
|
54
56
|
readonly paging?: Record<string, {
|
|
55
57
|
size?: number | undefined;
|
|
56
58
|
}> | undefined;
|
|
59
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
57
60
|
schema: "network.xyo.diviner.config";
|
|
58
61
|
readonly security?: {
|
|
59
62
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -70,6 +73,7 @@ export declare const isDivinerModule: import("@xyo-network/module-model").Module
|
|
|
70
73
|
readonly paging?: Record<string, {
|
|
71
74
|
size?: number | undefined;
|
|
72
75
|
}> | undefined;
|
|
76
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
73
77
|
schema: "network.xyo.diviner.config";
|
|
74
78
|
readonly security?: {
|
|
75
79
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -91,7 +95,7 @@ export declare const isDivinerModule: import("@xyo-network/module-model").Module
|
|
|
91
95
|
schema: string;
|
|
92
96
|
} & object>>;
|
|
93
97
|
export declare const asDivinerModule: {
|
|
94
|
-
<TType extends DivinerModule<import("@
|
|
98
|
+
<TType extends DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
95
99
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
96
100
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
97
101
|
readonly archivist?: string | undefined;
|
|
@@ -100,6 +104,7 @@ export declare const asDivinerModule: {
|
|
|
100
104
|
readonly paging?: Record<string, {
|
|
101
105
|
size?: number | undefined;
|
|
102
106
|
}> | undefined;
|
|
107
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
103
108
|
schema: "network.xyo.diviner.config";
|
|
104
109
|
readonly security?: {
|
|
105
110
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -116,6 +121,7 @@ export declare const asDivinerModule: {
|
|
|
116
121
|
readonly paging?: Record<string, {
|
|
117
122
|
size?: number | undefined;
|
|
118
123
|
}> | undefined;
|
|
124
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
119
125
|
schema: "network.xyo.diviner.config";
|
|
120
126
|
readonly security?: {
|
|
121
127
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -135,8 +141,8 @@ export declare const asDivinerModule: {
|
|
|
135
141
|
schema: string;
|
|
136
142
|
} & object, {
|
|
137
143
|
schema: string;
|
|
138
|
-
} & object>>(value: unknown, config?: import("@
|
|
139
|
-
<TType_1 extends DivinerModule<import("@
|
|
144
|
+
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
145
|
+
<TType_1 extends DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
140
146
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
141
147
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
142
148
|
readonly archivist?: string | undefined;
|
|
@@ -145,6 +151,7 @@ export declare const asDivinerModule: {
|
|
|
145
151
|
readonly paging?: Record<string, {
|
|
146
152
|
size?: number | undefined;
|
|
147
153
|
}> | undefined;
|
|
154
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
148
155
|
schema: "network.xyo.diviner.config";
|
|
149
156
|
readonly security?: {
|
|
150
157
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -161,6 +168,7 @@ export declare const asDivinerModule: {
|
|
|
161
168
|
readonly paging?: Record<string, {
|
|
162
169
|
size?: number | undefined;
|
|
163
170
|
}> | undefined;
|
|
171
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
164
172
|
schema: "network.xyo.diviner.config";
|
|
165
173
|
readonly security?: {
|
|
166
174
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -180,10 +188,10 @@ export declare const asDivinerModule: {
|
|
|
180
188
|
schema: string;
|
|
181
189
|
} & object, {
|
|
182
190
|
schema: string;
|
|
183
|
-
} & object>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
191
|
+
} & object>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
184
192
|
};
|
|
185
193
|
export declare const asDivinerInstance: {
|
|
186
|
-
<TType extends DivinerInstance<import("@
|
|
194
|
+
<TType extends DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
187
195
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
188
196
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
189
197
|
readonly archivist?: string | undefined;
|
|
@@ -192,6 +200,7 @@ export declare const asDivinerInstance: {
|
|
|
192
200
|
readonly paging?: Record<string, {
|
|
193
201
|
size?: number | undefined;
|
|
194
202
|
}> | undefined;
|
|
203
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
195
204
|
schema: "network.xyo.diviner.config";
|
|
196
205
|
readonly security?: {
|
|
197
206
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -208,6 +217,7 @@ export declare const asDivinerInstance: {
|
|
|
208
217
|
readonly paging?: Record<string, {
|
|
209
218
|
size?: number | undefined;
|
|
210
219
|
}> | undefined;
|
|
220
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
211
221
|
schema: "network.xyo.diviner.config";
|
|
212
222
|
readonly security?: {
|
|
213
223
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -227,8 +237,8 @@ export declare const asDivinerInstance: {
|
|
|
227
237
|
schema: string;
|
|
228
238
|
} & object, {
|
|
229
239
|
schema: string;
|
|
230
|
-
} & object>>(value: unknown, config?: import("@
|
|
231
|
-
<TType_1 extends DivinerInstance<import("@
|
|
240
|
+
} & object>>(value: unknown, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
|
|
241
|
+
<TType_1 extends DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
232
242
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
233
243
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
234
244
|
readonly archivist?: string | undefined;
|
|
@@ -237,6 +247,7 @@ export declare const asDivinerInstance: {
|
|
|
237
247
|
readonly paging?: Record<string, {
|
|
238
248
|
size?: number | undefined;
|
|
239
249
|
}> | undefined;
|
|
250
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
240
251
|
schema: "network.xyo.diviner.config";
|
|
241
252
|
readonly security?: {
|
|
242
253
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -253,6 +264,7 @@ export declare const asDivinerInstance: {
|
|
|
253
264
|
readonly paging?: Record<string, {
|
|
254
265
|
size?: number | undefined;
|
|
255
266
|
}> | undefined;
|
|
267
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
256
268
|
schema: "network.xyo.diviner.config";
|
|
257
269
|
readonly security?: {
|
|
258
270
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -272,9 +284,9 @@ export declare const asDivinerInstance: {
|
|
|
272
284
|
schema: string;
|
|
273
285
|
} & object, {
|
|
274
286
|
schema: string;
|
|
275
|
-
} & object>>(value: unknown, assert: string | (() => string), config?: import("@
|
|
287
|
+
} & object>>(value: unknown, assert: string | (() => string), config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
|
|
276
288
|
};
|
|
277
|
-
export declare const withDivinerModule: <R>(module: any, closure: (module: DivinerModule<import("@
|
|
289
|
+
export declare const withDivinerModule: <R>(module: any, closure: (module: DivinerModule<import("@xylabs/object").BaseParamsFields & {
|
|
278
290
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
279
291
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
280
292
|
readonly archivist?: string | undefined;
|
|
@@ -283,6 +295,7 @@ export declare const withDivinerModule: <R>(module: any, closure: (module: Divin
|
|
|
283
295
|
readonly paging?: Record<string, {
|
|
284
296
|
size?: number | undefined;
|
|
285
297
|
}> | undefined;
|
|
298
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
286
299
|
schema: "network.xyo.diviner.config";
|
|
287
300
|
readonly security?: {
|
|
288
301
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -299,6 +312,7 @@ export declare const withDivinerModule: <R>(module: any, closure: (module: Divin
|
|
|
299
312
|
readonly paging?: Record<string, {
|
|
300
313
|
size?: number | undefined;
|
|
301
314
|
}> | undefined;
|
|
315
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
302
316
|
schema: "network.xyo.diviner.config";
|
|
303
317
|
readonly security?: {
|
|
304
318
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -319,7 +333,7 @@ export declare const withDivinerModule: <R>(module: any, closure: (module: Divin
|
|
|
319
333
|
} & object, {
|
|
320
334
|
schema: string;
|
|
321
335
|
} & object>) => R) => R | undefined;
|
|
322
|
-
export declare const withDivinerInstance: <R>(module: any, closure: (module: DivinerInstance<import("@
|
|
336
|
+
export declare const withDivinerInstance: <R>(module: any, closure: (module: DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
323
337
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
324
338
|
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
325
339
|
readonly archivist?: string | undefined;
|
|
@@ -328,6 +342,7 @@ export declare const withDivinerInstance: <R>(module: any, closure: (module: Div
|
|
|
328
342
|
readonly paging?: Record<string, {
|
|
329
343
|
size?: number | undefined;
|
|
330
344
|
}> | undefined;
|
|
345
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
331
346
|
schema: "network.xyo.diviner.config";
|
|
332
347
|
readonly security?: {
|
|
333
348
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -344,6 +359,7 @@ export declare const withDivinerInstance: <R>(module: any, closure: (module: Div
|
|
|
344
359
|
readonly paging?: Record<string, {
|
|
345
360
|
size?: number | undefined;
|
|
346
361
|
}> | undefined;
|
|
362
|
+
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
347
363
|
schema: "network.xyo.diviner.config";
|
|
348
364
|
readonly security?: {
|
|
349
365
|
readonly allowAnonymous?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA8F,CAAA;AAC5H,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA0E,CAAA;AAEtG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAA;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAsC,CAAA;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAwC,CAAA"}
|