@xyo-network/diviner-indexing-model 2.110.16 → 2.110.17

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.
Files changed (47) hide show
  1. package/dist/browser/Config.d.cts +1 -1
  2. package/dist/browser/Config.d.mts +1 -1
  3. package/dist/browser/Config.d.ts +1 -1
  4. package/dist/browser/Labels.d.cts +1 -1
  5. package/dist/browser/Labels.d.mts +1 -1
  6. package/dist/browser/Labels.d.ts +1 -1
  7. package/dist/browser/Params.d.cts +1 -1
  8. package/dist/browser/Params.d.mts +1 -1
  9. package/dist/browser/Params.d.ts +1 -1
  10. package/dist/browser/index.cjs.map +1 -1
  11. package/dist/browser/index.d.cts +6 -6
  12. package/dist/browser/index.d.mts +6 -6
  13. package/dist/browser/index.d.ts +6 -6
  14. package/dist/browser/index.js.map +1 -1
  15. package/dist/neutral/Config.d.cts +1 -1
  16. package/dist/neutral/Config.d.mts +1 -1
  17. package/dist/neutral/Config.d.ts +1 -1
  18. package/dist/neutral/Labels.d.cts +1 -1
  19. package/dist/neutral/Labels.d.mts +1 -1
  20. package/dist/neutral/Labels.d.ts +1 -1
  21. package/dist/neutral/Params.d.cts +1 -1
  22. package/dist/neutral/Params.d.mts +1 -1
  23. package/dist/neutral/Params.d.ts +1 -1
  24. package/dist/neutral/index.cjs.map +1 -1
  25. package/dist/neutral/index.d.cts +6 -6
  26. package/dist/neutral/index.d.mts +6 -6
  27. package/dist/neutral/index.d.ts +6 -6
  28. package/dist/neutral/index.js.map +1 -1
  29. package/dist/node/Config.d.cts +1 -1
  30. package/dist/node/Config.d.mts +1 -1
  31. package/dist/node/Config.d.ts +1 -1
  32. package/dist/node/Labels.d.cts +1 -1
  33. package/dist/node/Labels.d.mts +1 -1
  34. package/dist/node/Labels.d.ts +1 -1
  35. package/dist/node/Params.d.cts +1 -1
  36. package/dist/node/Params.d.mts +1 -1
  37. package/dist/node/Params.d.ts +1 -1
  38. package/dist/node/index.cjs.map +1 -1
  39. package/dist/node/index.d.cts +6 -6
  40. package/dist/node/index.d.mts +6 -6
  41. package/dist/node/index.d.ts +6 -6
  42. package/dist/node/index.js.map +1 -1
  43. package/package.json +4 -4
  44. package/src/Config.ts +2 -2
  45. package/src/Labels.ts +1 -1
  46. package/src/Params.ts +1 -1
  47. package/src/index.ts +6 -6
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts","../../src/Stage.ts"],"sourcesContent":["export * from './Config.js'\nexport * from './Labels.js'\nexport * from './Params.js'\nexport * from './Schema.js'\nexport * from './Stage.js'\nexport * from './State.js'\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.js'\nimport { IndexingDivinerStageConfig } from './Stage.js'\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"]}
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"]}
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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.js'\nimport { IndexingDivinerStageConfig } from './Stage.js'\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"]}
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"]}
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts","../../src/Stage.ts"],"sourcesContent":["export * from './Config.js'\nexport * from './Labels.js'\nexport * from './Params.js'\nexport * from './Schema.js'\nexport * from './Stage.js'\nexport * from './State.js'\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.js'\nimport { IndexingDivinerStageConfig } from './Stage.js'\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"]}
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"]}
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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.js'\nimport { IndexingDivinerStageConfig } from './Stage.js'\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"]}
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"]}
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,7 +1,7 @@
1
1
  import { EmptyObject, WithAdditional } from '@xylabs/object';
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
3
  import { Payload } from '@xyo-network/payload-model';
4
- import { IndexingDivinerStageConfig } from './Stage.js';
4
+ import { IndexingDivinerStageConfig } from './Stage.ts';
5
5
  export declare const IndexingDivinerConfigSchema: "network.xyo.diviner.indexing.config";
6
6
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
7
7
  export type IndexingDivinerConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends string | void = void> = DivinerConfig<WithAdditional<{
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Labels } from '@xyo-network/module-model';
2
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js';
2
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts';
3
3
  export type IndexingDivinerStageLabels = Labels & {
4
4
  [key in DivinerStageSchema]: IndexingDivinerStage;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model';
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { IndexingDivinerConfig } from './Config.js';
3
+ import { IndexingDivinerConfig } from './Config.ts';
4
4
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
5
5
  //# sourceMappingURL=Params.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Config.ts","../../src/Stage.ts"],"sourcesContent":["export * from './Config.js'\nexport * from './Labels.js'\nexport * from './Params.js'\nexport * from './Schema.js'\nexport * from './Stage.js'\nexport * from './State.js'\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.js'\nimport { IndexingDivinerStageConfig } from './Stage.js'\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"]}
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"]}
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
5
- export * from './Stage.js';
6
- export * from './State.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
+ export * from './Stage.ts';
6
+ export * from './State.ts';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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.js'\nimport { IndexingDivinerStageConfig } from './Stage.js'\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"]}
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"]}
package/package.json CHANGED
@@ -11,9 +11,9 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@xylabs/object": "^3.6.6",
14
- "@xyo-network/diviner-model": "^2.110.16",
15
- "@xyo-network/module-model": "^2.110.16",
16
- "@xyo-network/payload-model": "^2.110.16"
14
+ "@xyo-network/diviner-model": "^2.110.17",
15
+ "@xyo-network/module-model": "^2.110.17",
16
+ "@xyo-network/payload-model": "^2.110.17"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@xylabs/ts-scripts-yarn3": "^3.14.1",
@@ -59,6 +59,6 @@
59
59
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
60
60
  },
61
61
  "sideEffects": false,
62
- "version": "2.110.16",
62
+ "version": "2.110.17",
63
63
  "type": "module"
64
64
  }
package/src/Config.ts CHANGED
@@ -2,8 +2,8 @@ import { EmptyObject, WithAdditional } from '@xylabs/object'
2
2
  import { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'
3
3
  import { Payload } from '@xyo-network/payload-model'
4
4
 
5
- import { IndexingDivinerSchema } from './Schema.js'
6
- import { IndexingDivinerStageConfig } from './Stage.js'
5
+ import { IndexingDivinerSchema } from './Schema.ts'
6
+ import { IndexingDivinerStageConfig } from './Stage.ts'
7
7
 
8
8
  export const IndexingDivinerConfigSchema = `${IndexingDivinerSchema}.config` as const
9
9
  export type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema
package/src/Labels.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Labels } from '@xyo-network/module-model'
2
2
 
3
- import { DivinerStageSchema, IndexingDivinerStage } from './Stage.js'
3
+ import { DivinerStageSchema, IndexingDivinerStage } from './Stage.ts'
4
4
 
5
5
  /**
6
6
  * Labels for Indexing Diviner Stage Diviners
package/src/Params.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DivinerParams } from '@xyo-network/diviner-model'
2
2
  import { AnyConfigSchema } from '@xyo-network/module-model'
3
3
 
4
- import { IndexingDivinerConfig } from './Config.js'
4
+ import { IndexingDivinerConfig } from './Config.ts'
5
5
 
6
6
  export type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './Config.js'
2
- export * from './Labels.js'
3
- export * from './Params.js'
4
- export * from './Schema.js'
5
- export * from './Stage.js'
6
- export * from './State.js'
1
+ export * from './Config.ts'
2
+ export * from './Labels.ts'
3
+ export * from './Params.ts'
4
+ export * from './Schema.ts'
5
+ export * from './Stage.ts'
6
+ export * from './State.ts'