@xyo-network/diviner-indexing-model 2.111.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +38 -7
- package/package.json +11 -30
- package/xy.config.ts +12 -0
- package/dist/browser/Config.d.cts +0 -15
- package/dist/browser/Config.d.cts.map +0 -1
- package/dist/browser/Config.d.mts +0 -15
- package/dist/browser/Config.d.mts.map +0 -1
- package/dist/browser/Config.d.ts +0 -15
- package/dist/browser/Config.d.ts.map +0 -1
- package/dist/browser/Labels.d.cts +0 -6
- package/dist/browser/Labels.d.cts.map +0 -1
- package/dist/browser/Labels.d.mts +0 -6
- package/dist/browser/Labels.d.mts.map +0 -1
- package/dist/browser/Labels.d.ts +0 -6
- package/dist/browser/Labels.d.ts.map +0 -1
- package/dist/browser/Params.d.cts +0 -5
- package/dist/browser/Params.d.cts.map +0 -1
- package/dist/browser/Params.d.mts +0 -5
- package/dist/browser/Params.d.mts.map +0 -1
- package/dist/browser/Params.d.ts +0 -5
- package/dist/browser/Params.d.ts.map +0 -1
- package/dist/browser/Schema.d.cts +0 -3
- package/dist/browser/Schema.d.cts.map +0 -1
- package/dist/browser/Schema.d.mts +0 -3
- package/dist/browser/Schema.d.mts.map +0 -1
- package/dist/browser/Schema.d.ts +0 -3
- package/dist/browser/Schema.d.ts.map +0 -1
- package/dist/browser/Stage.d.cts +0 -8
- package/dist/browser/Stage.d.cts.map +0 -1
- package/dist/browser/Stage.d.mts +0 -8
- package/dist/browser/Stage.d.mts.map +0 -1
- package/dist/browser/Stage.d.ts +0 -8
- package/dist/browser/Stage.d.ts.map +0 -1
- package/dist/browser/State.d.cts +0 -5
- package/dist/browser/State.d.cts.map +0 -1
- package/dist/browser/State.d.mts +0 -5
- package/dist/browser/State.d.mts.map +0 -1
- package/dist/browser/State.d.ts +0 -5
- package/dist/browser/State.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -37
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -7
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -7
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts +0 -7
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.mjs +0 -14
- package/dist/browser/index.mjs.map +0 -1
- package/dist/neutral/Config.d.cts +0 -15
- package/dist/neutral/Config.d.cts.map +0 -1
- package/dist/neutral/Config.d.mts +0 -15
- package/dist/neutral/Config.d.mts.map +0 -1
- package/dist/neutral/Config.d.ts +0 -15
- package/dist/neutral/Config.d.ts.map +0 -1
- package/dist/neutral/Labels.d.cts +0 -6
- package/dist/neutral/Labels.d.cts.map +0 -1
- package/dist/neutral/Labels.d.mts +0 -6
- package/dist/neutral/Labels.d.mts.map +0 -1
- package/dist/neutral/Labels.d.ts +0 -6
- package/dist/neutral/Labels.d.ts.map +0 -1
- package/dist/neutral/Params.d.cts +0 -5
- package/dist/neutral/Params.d.cts.map +0 -1
- package/dist/neutral/Params.d.mts +0 -5
- package/dist/neutral/Params.d.mts.map +0 -1
- package/dist/neutral/Params.d.ts +0 -5
- package/dist/neutral/Params.d.ts.map +0 -1
- package/dist/neutral/Schema.d.cts +0 -3
- package/dist/neutral/Schema.d.cts.map +0 -1
- package/dist/neutral/Schema.d.mts +0 -3
- package/dist/neutral/Schema.d.mts.map +0 -1
- package/dist/neutral/Schema.d.ts +0 -3
- package/dist/neutral/Schema.d.ts.map +0 -1
- package/dist/neutral/Stage.d.cts +0 -8
- package/dist/neutral/Stage.d.cts.map +0 -1
- package/dist/neutral/Stage.d.mts +0 -8
- package/dist/neutral/Stage.d.mts.map +0 -1
- package/dist/neutral/Stage.d.ts +0 -8
- package/dist/neutral/Stage.d.ts.map +0 -1
- package/dist/neutral/State.d.cts +0 -5
- package/dist/neutral/State.d.cts.map +0 -1
- package/dist/neutral/State.d.mts +0 -5
- package/dist/neutral/State.d.mts.map +0 -1
- package/dist/neutral/State.d.ts +0 -5
- package/dist/neutral/State.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -37
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -7
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -7
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/node/Config.d.cts +0 -15
- package/dist/node/Config.d.cts.map +0 -1
- package/dist/node/Config.d.mts +0 -15
- package/dist/node/Config.d.mts.map +0 -1
- package/dist/node/Config.d.ts +0 -15
- package/dist/node/Config.d.ts.map +0 -1
- package/dist/node/Labels.d.cts +0 -6
- package/dist/node/Labels.d.cts.map +0 -1
- package/dist/node/Labels.d.mts +0 -6
- package/dist/node/Labels.d.mts.map +0 -1
- package/dist/node/Labels.d.ts +0 -6
- package/dist/node/Labels.d.ts.map +0 -1
- package/dist/node/Params.d.cts +0 -5
- package/dist/node/Params.d.cts.map +0 -1
- package/dist/node/Params.d.mts +0 -5
- package/dist/node/Params.d.mts.map +0 -1
- package/dist/node/Params.d.ts +0 -5
- package/dist/node/Params.d.ts.map +0 -1
- package/dist/node/Schema.d.cts +0 -3
- package/dist/node/Schema.d.cts.map +0 -1
- package/dist/node/Schema.d.mts +0 -3
- package/dist/node/Schema.d.mts.map +0 -1
- package/dist/node/Schema.d.ts +0 -3
- package/dist/node/Schema.d.ts.map +0 -1
- package/dist/node/Stage.d.cts +0 -8
- package/dist/node/Stage.d.cts.map +0 -1
- package/dist/node/Stage.d.mts +0 -8
- package/dist/node/Stage.d.mts.map +0 -1
- package/dist/node/Stage.d.ts +0 -8
- package/dist/node/Stage.d.ts.map +0 -1
- package/dist/node/State.d.cts +0 -5
- package/dist/node/State.d.cts.map +0 -1
- package/dist/node/State.d.mts +0 -5
- package/dist/node/State.d.mts.map +0 -1
- package/dist/node/State.d.ts +0 -5
- package/dist/node/State.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -43
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -7
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -7
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -7
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -14
- package/dist/node/index.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gCAA0C,CAAA;AAC5E,MAAM,MAAM,2BAA2B,GAAG,OAAO,qBAAqB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gCAA0C,CAAA;AAC5E,MAAM,MAAM,2BAA2B,GAAG,OAAO,qBAAqB,CAAA"}
|
package/dist/neutral/Schema.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gCAA0C,CAAA;AAC5E,MAAM,MAAM,2BAA2B,GAAG,OAAO,qBAAqB,CAAA"}
|
package/dist/neutral/Stage.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type DivinerStageSchema = 'network.xyo.diviner.stage';
|
|
2
|
-
export declare const DivinerStageSchema: DivinerStageSchema;
|
|
3
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
-
export type IndexingDivinerStage = 'divinerQueryToIndexQueryDiviner' | 'indexCandidateToIndexDiviner' | 'indexQueryResponseToDivinerQueryResponseDiviner' | 'stateToIndexCandidateDiviner';
|
|
5
|
-
export type IndexingDivinerStageConfig = {
|
|
6
|
-
[key in IndexingDivinerStage]: ModuleIdentifier;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=Stage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/Stage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,MAAM,MAAM,oBAAoB,GAI5B,iCAAiC,GAIjC,8BAA8B,GAI9B,iDAAiD,GAIjD,8BAA8B,CAAA;AAKlC,MAAM,MAAM,0BAA0B,GAAG;KACtC,GAAG,IAAI,oBAAoB,GAAG,gBAAgB;CAChD,CAAA"}
|
package/dist/neutral/Stage.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type DivinerStageSchema = 'network.xyo.diviner.stage';
|
|
2
|
-
export declare const DivinerStageSchema: DivinerStageSchema;
|
|
3
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
-
export type IndexingDivinerStage = 'divinerQueryToIndexQueryDiviner' | 'indexCandidateToIndexDiviner' | 'indexQueryResponseToDivinerQueryResponseDiviner' | 'stateToIndexCandidateDiviner';
|
|
5
|
-
export type IndexingDivinerStageConfig = {
|
|
6
|
-
[key in IndexingDivinerStage]: ModuleIdentifier;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=Stage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/Stage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,MAAM,MAAM,oBAAoB,GAI5B,iCAAiC,GAIjC,8BAA8B,GAI9B,iDAAiD,GAIjD,8BAA8B,CAAA;AAKlC,MAAM,MAAM,0BAA0B,GAAG;KACtC,GAAG,IAAI,oBAAoB,GAAG,gBAAgB;CAChD,CAAA"}
|
package/dist/neutral/Stage.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type DivinerStageSchema = 'network.xyo.diviner.stage';
|
|
2
|
-
export declare const DivinerStageSchema: DivinerStageSchema;
|
|
3
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
-
export type IndexingDivinerStage = 'divinerQueryToIndexQueryDiviner' | 'indexCandidateToIndexDiviner' | 'indexQueryResponseToDivinerQueryResponseDiviner' | 'stateToIndexCandidateDiviner';
|
|
5
|
-
export type IndexingDivinerStageConfig = {
|
|
6
|
-
[key in IndexingDivinerStage]: ModuleIdentifier;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=Stage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/Stage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,MAAM,MAAM,oBAAoB,GAI5B,iCAAiC,GAIjC,8BAA8B,GAI9B,iDAAiD,GAIjD,8BAA8B,CAAA;AAKlC,MAAM,MAAM,0BAA0B,GAAG;KACtC,GAAG,IAAI,oBAAoB,GAAG,gBAAgB;CAChD,CAAA"}
|
package/dist/neutral/State.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
package/dist/neutral/State.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
package/dist/neutral/State.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
package/dist/neutral/index.cjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
DivinerStageSchema: () => DivinerStageSchema,
|
|
24
|
-
IndexingDivinerConfigSchema: () => IndexingDivinerConfigSchema,
|
|
25
|
-
IndexingDivinerSchema: () => IndexingDivinerSchema
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(src_exports);
|
|
28
|
-
|
|
29
|
-
// src/Schema.ts
|
|
30
|
-
var IndexingDivinerSchema = "network.xyo.diviner.indexing";
|
|
31
|
-
|
|
32
|
-
// src/Config.ts
|
|
33
|
-
var IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config`;
|
|
34
|
-
|
|
35
|
-
// src/Stage.ts
|
|
36
|
-
var DivinerStageSchema = "network.xyo.diviner.stage";
|
|
37
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts","../../src/Stage.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Labels.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\nexport * from './Stage.ts'\nexport * from './State.ts'\n","export const IndexingDivinerSchema = 'network.xyo.diviner.indexing' as const\nexport type ImageThumbnailDivinerSchema = typeof IndexingDivinerSchema\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { IndexingDivinerSchema } from './Schema.ts'\nimport { IndexingDivinerStageConfig } from './Stage.ts'\n\nexport const IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config` as const\nexport type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema\n\nexport type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<\n WithAdditional<\n {\n /**\n * Where the diviner should store it's index\n */\n indexStore?: SearchableStorage\n /**\n * Config section for name/address of individual diviner stages\n */\n indexingDivinerStages?: IndexingDivinerStageConfig\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * How often to poll for new payloads to index\n */\n pollFrequency?: number\n /**\n * The schema for the Diviner config\n */\n schema: IndexingDivinerConfigSchema\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n },\n TConfig\n >,\n TSchema\n>\n","export type DivinerStageSchema = 'network.xyo.diviner.stage'\nexport const DivinerStageSchema: DivinerStageSchema = 'network.xyo.diviner.stage'\n\nimport { ModuleIdentifier } from '@xyo-network/module-model'\n\n/**\n * The diviners for each stage of an indexing diviner\n */\nexport type IndexingDivinerStage =\n /**\n * Transforms a diviner query into an index query\n */\n | 'divinerQueryToIndexQueryDiviner'\n /**\n * Transforms the index candidates into indexes\n */\n | 'indexCandidateToIndexDiviner'\n /**\n * Transforms an index query response into a diviner divine query response\n */\n | 'indexQueryResponseToDivinerQueryResponseDiviner'\n /**\n * Uses the current state to determine the next batch of index candidates\n */\n | 'stateToIndexCandidateDiviner'\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageConfig = {\n [key in IndexingDivinerStage]: ModuleIdentifier\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;ACAO,IAAMA,wBAAwB;;;ACO9B,IAAMC,8BAA8B,GAAGC,qBAAAA;;;ACNvC,IAAMC,qBAAyC;","names":["IndexingDivinerSchema","IndexingDivinerConfigSchema","IndexingDivinerSchema","DivinerStageSchema"]}
|
package/dist/neutral/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
package/dist/neutral/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
package/dist/node/Config.d.cts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
2
|
-
import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
|
|
3
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import { IndexingDivinerStageConfig } from './Stage.ts';
|
|
5
|
-
export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
|
|
6
|
-
export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
|
|
7
|
-
export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
|
|
8
|
-
indexStore?: SearchableStorage;
|
|
9
|
-
indexingDivinerStages?: IndexingDivinerStageConfig;
|
|
10
|
-
payloadDivinerLimit?: number;
|
|
11
|
-
pollFrequency?: number;
|
|
12
|
-
schema: IndexingDivinerConfigSchema;
|
|
13
|
-
stateStore?: SearchableStorage;
|
|
14
|
-
}, TConfig>, TSchema>;
|
|
15
|
-
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAEvD,eAAO,MAAM,2BAA2B,uCAA6C,CAAA;AACrF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,MAAM,MAAM,qBAAqB,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,aAAa,CAC1I,cAAc,CACZ;IAIE,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAI9B,qBAAqB,CAAC,EAAE,0BAA0B,CAAA;IAIlD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAI5B,aAAa,CAAC,EAAE,MAAM,CAAA;IAItB,MAAM,EAAE,2BAA2B,CAAA;IAInC,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
package/dist/node/Config.d.mts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
2
|
-
import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
|
|
3
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import { IndexingDivinerStageConfig } from './Stage.ts';
|
|
5
|
-
export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
|
|
6
|
-
export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
|
|
7
|
-
export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
|
|
8
|
-
indexStore?: SearchableStorage;
|
|
9
|
-
indexingDivinerStages?: IndexingDivinerStageConfig;
|
|
10
|
-
payloadDivinerLimit?: number;
|
|
11
|
-
pollFrequency?: number;
|
|
12
|
-
schema: IndexingDivinerConfigSchema;
|
|
13
|
-
stateStore?: SearchableStorage;
|
|
14
|
-
}, TConfig>, TSchema>;
|
|
15
|
-
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAEvD,eAAO,MAAM,2BAA2B,uCAA6C,CAAA;AACrF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,MAAM,MAAM,qBAAqB,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,aAAa,CAC1I,cAAc,CACZ;IAIE,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAI9B,qBAAqB,CAAC,EAAE,0BAA0B,CAAA;IAIlD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAI5B,aAAa,CAAC,EAAE,MAAM,CAAA;IAItB,MAAM,EAAE,2BAA2B,CAAA;IAInC,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
package/dist/node/Config.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EmptyObject, WithAdditional } from '@xylabs/object';
|
|
2
|
-
import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
|
|
3
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import { IndexingDivinerStageConfig } from './Stage.ts';
|
|
5
|
-
export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
|
|
6
|
-
export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
|
|
7
|
-
export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
|
|
8
|
-
indexStore?: SearchableStorage;
|
|
9
|
-
indexingDivinerStages?: IndexingDivinerStageConfig;
|
|
10
|
-
payloadDivinerLimit?: number;
|
|
11
|
-
pollFrequency?: number;
|
|
12
|
-
schema: IndexingDivinerConfigSchema;
|
|
13
|
-
stateStore?: SearchableStorage;
|
|
14
|
-
}, TConfig>, TSchema>;
|
|
15
|
-
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAEvD,eAAO,MAAM,2BAA2B,uCAA6C,CAAA;AACrF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,MAAM,MAAM,qBAAqB,CAAC,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,IAAI,aAAa,CAC1I,cAAc,CACZ;IAIE,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAI9B,qBAAqB,CAAC,EAAE,0BAA0B,CAAA;IAIlD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAI5B,aAAa,CAAC,EAAE,MAAM,CAAA;IAItB,MAAM,EAAE,2BAA2B,CAAA;IAInC,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
package/dist/node/Labels.d.cts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Labels } from '@xyo-network/module-model';
|
|
2
|
-
import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
|
|
3
|
-
export type IndexingDivinerStageLabels = Labels & {
|
|
4
|
-
[key in DivinerStageSchema]: IndexingDivinerStage;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=Labels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Labels.d.ts","sourceRoot":"","sources":["../../src/Labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAKrE,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG;KAI/C,GAAG,IAAI,kBAAkB,GAAG,oBAAoB;CAClD,CAAA"}
|
package/dist/node/Labels.d.mts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Labels } from '@xyo-network/module-model';
|
|
2
|
-
import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
|
|
3
|
-
export type IndexingDivinerStageLabels = Labels & {
|
|
4
|
-
[key in DivinerStageSchema]: IndexingDivinerStage;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=Labels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Labels.d.ts","sourceRoot":"","sources":["../../src/Labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAKrE,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG;KAI/C,GAAG,IAAI,kBAAkB,GAAG,oBAAoB;CAClD,CAAA"}
|
package/dist/node/Labels.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Labels } from '@xyo-network/module-model';
|
|
2
|
-
import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
|
|
3
|
-
export type IndexingDivinerStageLabels = Labels & {
|
|
4
|
-
[key in DivinerStageSchema]: IndexingDivinerStage;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=Labels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Labels.d.ts","sourceRoot":"","sources":["../../src/Labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAKrE,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG;KAI/C,GAAG,IAAI,kBAAkB,GAAG,oBAAoB;CAClD,CAAA"}
|
package/dist/node/Params.d.cts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { IndexingDivinerConfig } from './Config.ts';
|
|
4
|
-
export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
|
|
5
|
-
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA"}
|
package/dist/node/Params.d.mts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { IndexingDivinerConfig } from './Config.ts';
|
|
4
|
-
export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
|
|
5
|
-
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA"}
|
package/dist/node/Params.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
-
import { IndexingDivinerConfig } from './Config.ts';
|
|
4
|
-
export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
|
|
5
|
-
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAA"}
|
package/dist/node/Schema.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gCAA0C,CAAA;AAC5E,MAAM,MAAM,2BAA2B,GAAG,OAAO,qBAAqB,CAAA"}
|
package/dist/node/Schema.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gCAA0C,CAAA;AAC5E,MAAM,MAAM,2BAA2B,GAAG,OAAO,qBAAqB,CAAA"}
|
package/dist/node/Schema.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gCAA0C,CAAA;AAC5E,MAAM,MAAM,2BAA2B,GAAG,OAAO,qBAAqB,CAAA"}
|
package/dist/node/Stage.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type DivinerStageSchema = 'network.xyo.diviner.stage';
|
|
2
|
-
export declare const DivinerStageSchema: DivinerStageSchema;
|
|
3
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
-
export type IndexingDivinerStage = 'divinerQueryToIndexQueryDiviner' | 'indexCandidateToIndexDiviner' | 'indexQueryResponseToDivinerQueryResponseDiviner' | 'stateToIndexCandidateDiviner';
|
|
5
|
-
export type IndexingDivinerStageConfig = {
|
|
6
|
-
[key in IndexingDivinerStage]: ModuleIdentifier;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=Stage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/Stage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,MAAM,MAAM,oBAAoB,GAI5B,iCAAiC,GAIjC,8BAA8B,GAI9B,iDAAiD,GAIjD,8BAA8B,CAAA;AAKlC,MAAM,MAAM,0BAA0B,GAAG;KACtC,GAAG,IAAI,oBAAoB,GAAG,gBAAgB;CAChD,CAAA"}
|
package/dist/node/Stage.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type DivinerStageSchema = 'network.xyo.diviner.stage';
|
|
2
|
-
export declare const DivinerStageSchema: DivinerStageSchema;
|
|
3
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
-
export type IndexingDivinerStage = 'divinerQueryToIndexQueryDiviner' | 'indexCandidateToIndexDiviner' | 'indexQueryResponseToDivinerQueryResponseDiviner' | 'stateToIndexCandidateDiviner';
|
|
5
|
-
export type IndexingDivinerStageConfig = {
|
|
6
|
-
[key in IndexingDivinerStage]: ModuleIdentifier;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=Stage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/Stage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,MAAM,MAAM,oBAAoB,GAI5B,iCAAiC,GAIjC,8BAA8B,GAI9B,iDAAiD,GAIjD,8BAA8B,CAAA;AAKlC,MAAM,MAAM,0BAA0B,GAAG;KACtC,GAAG,IAAI,oBAAoB,GAAG,gBAAgB;CAChD,CAAA"}
|
package/dist/node/Stage.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type DivinerStageSchema = 'network.xyo.diviner.stage';
|
|
2
|
-
export declare const DivinerStageSchema: DivinerStageSchema;
|
|
3
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
4
|
-
export type IndexingDivinerStage = 'divinerQueryToIndexQueryDiviner' | 'indexCandidateToIndexDiviner' | 'indexQueryResponseToDivinerQueryResponseDiviner' | 'stateToIndexCandidateDiviner';
|
|
5
|
-
export type IndexingDivinerStageConfig = {
|
|
6
|
-
[key in IndexingDivinerStage]: ModuleIdentifier;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=Stage.d.ts.map
|
package/dist/node/Stage.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stage.d.ts","sourceRoot":"","sources":["../../src/Stage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,2BAA2B,CAAA;AAC5D,eAAO,MAAM,kBAAkB,EAAE,kBAAgD,CAAA;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,MAAM,MAAM,oBAAoB,GAI5B,iCAAiC,GAIjC,8BAA8B,GAI9B,iDAAiD,GAIjD,8BAA8B,CAAA;AAKlC,MAAM,MAAM,0BAA0B,GAAG;KACtC,GAAG,IAAI,oBAAoB,GAAG,gBAAgB;CAChD,CAAA"}
|
package/dist/node/State.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
package/dist/node/State.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
package/dist/node/State.d.ts
DELETED
package/dist/node/State.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}
|
package/dist/node/index.cjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
DivinerStageSchema: () => DivinerStageSchema,
|
|
24
|
-
IndexingDivinerConfigSchema: () => IndexingDivinerConfigSchema,
|
|
25
|
-
IndexingDivinerSchema: () => IndexingDivinerSchema
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(src_exports);
|
|
28
|
-
|
|
29
|
-
// src/Schema.ts
|
|
30
|
-
var IndexingDivinerSchema = "network.xyo.diviner.indexing";
|
|
31
|
-
|
|
32
|
-
// src/Config.ts
|
|
33
|
-
var IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config`;
|
|
34
|
-
|
|
35
|
-
// src/Stage.ts
|
|
36
|
-
var DivinerStageSchema = "network.xyo.diviner.stage";
|
|
37
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
-
0 && (module.exports = {
|
|
39
|
-
DivinerStageSchema,
|
|
40
|
-
IndexingDivinerConfigSchema,
|
|
41
|
-
IndexingDivinerSchema
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts","../../src/Stage.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Labels.ts'\nexport * from './Params.ts'\nexport * from './Schema.ts'\nexport * from './Stage.ts'\nexport * from './State.ts'\n","export const IndexingDivinerSchema = 'network.xyo.diviner.indexing' as const\nexport type ImageThumbnailDivinerSchema = typeof IndexingDivinerSchema\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { IndexingDivinerSchema } from './Schema.ts'\nimport { IndexingDivinerStageConfig } from './Stage.ts'\n\nexport const IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config` as const\nexport type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema\n\nexport type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<\n WithAdditional<\n {\n /**\n * Where the diviner should store it's index\n */\n indexStore?: SearchableStorage\n /**\n * Config section for name/address of individual diviner stages\n */\n indexingDivinerStages?: IndexingDivinerStageConfig\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * How often to poll for new payloads to index\n */\n pollFrequency?: number\n /**\n * The schema for the Diviner config\n */\n schema: IndexingDivinerConfigSchema\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n },\n TConfig\n >,\n TSchema\n>\n","export type DivinerStageSchema = 'network.xyo.diviner.stage'\nexport const DivinerStageSchema: DivinerStageSchema = 'network.xyo.diviner.stage'\n\nimport { ModuleIdentifier } from '@xyo-network/module-model'\n\n/**\n * The diviners for each stage of an indexing diviner\n */\nexport type IndexingDivinerStage =\n /**\n * Transforms a diviner query into an index query\n */\n | 'divinerQueryToIndexQueryDiviner'\n /**\n * Transforms the index candidates into indexes\n */\n | 'indexCandidateToIndexDiviner'\n /**\n * Transforms an index query response into a diviner divine query response\n */\n | 'indexQueryResponseToDivinerQueryResponseDiviner'\n /**\n * Uses the current state to determine the next batch of index candidates\n */\n | 'stateToIndexCandidateDiviner'\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageConfig = {\n [key in IndexingDivinerStage]: ModuleIdentifier\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;ACAO,IAAMA,wBAAwB;;;ACO9B,IAAMC,8BAA8B,GAAGC,qBAAAA;;;ACNvC,IAAMC,qBAAyC;","names":["IndexingDivinerSchema","IndexingDivinerConfigSchema","IndexingDivinerSchema","DivinerStageSchema"]}
|
package/dist/node/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
package/dist/node/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
package/dist/node/index.d.ts
DELETED
package/dist/node/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
package/dist/node/index.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var IndexingDivinerSchema = "network.xyo.diviner.indexing";
|
|
3
|
-
|
|
4
|
-
// src/Config.ts
|
|
5
|
-
var IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config`;
|
|
6
|
-
|
|
7
|
-
// src/Stage.ts
|
|
8
|
-
var DivinerStageSchema = "network.xyo.diviner.stage";
|
|
9
|
-
export {
|
|
10
|
-
DivinerStageSchema,
|
|
11
|
-
IndexingDivinerConfigSchema,
|
|
12
|
-
IndexingDivinerSchema
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Stage.ts"],"sourcesContent":["export const IndexingDivinerSchema = 'network.xyo.diviner.indexing' as const\nexport type ImageThumbnailDivinerSchema = typeof IndexingDivinerSchema\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { IndexingDivinerSchema } from './Schema.ts'\nimport { IndexingDivinerStageConfig } from './Stage.ts'\n\nexport const IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config` as const\nexport type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema\n\nexport type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<\n WithAdditional<\n {\n /**\n * Where the diviner should store it's index\n */\n indexStore?: SearchableStorage\n /**\n * Config section for name/address of individual diviner stages\n */\n indexingDivinerStages?: IndexingDivinerStageConfig\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * How often to poll for new payloads to index\n */\n pollFrequency?: number\n /**\n * The schema for the Diviner config\n */\n schema: IndexingDivinerConfigSchema\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n },\n TConfig\n >,\n TSchema\n>\n","export type DivinerStageSchema = 'network.xyo.diviner.stage'\nexport const DivinerStageSchema: DivinerStageSchema = 'network.xyo.diviner.stage'\n\nimport { ModuleIdentifier } from '@xyo-network/module-model'\n\n/**\n * The diviners for each stage of an indexing diviner\n */\nexport type IndexingDivinerStage =\n /**\n * Transforms a diviner query into an index query\n */\n | 'divinerQueryToIndexQueryDiviner'\n /**\n * Transforms the index candidates into indexes\n */\n | 'indexCandidateToIndexDiviner'\n /**\n * Transforms an index query response into a diviner divine query response\n */\n | 'indexQueryResponseToDivinerQueryResponseDiviner'\n /**\n * Uses the current state to determine the next batch of index candidates\n */\n | 'stateToIndexCandidateDiviner'\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageConfig = {\n [key in IndexingDivinerStage]: ModuleIdentifier\n}\n"],"mappings":";AAAO,IAAMA,wBAAwB;;;ACO9B,IAAMC,8BAA8B,GAAGC,qBAAAA;;;ACNvC,IAAMC,qBAAyC;","names":["IndexingDivinerSchema","IndexingDivinerConfigSchema","IndexingDivinerSchema","DivinerStageSchema"]}
|