@xyo-network/diviner-temporal-indexing-model 5.3.14 → 5.3.16

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts","../../src/StateToIndexCandidateDiviner/Schema.ts"],"sourcesContent":["import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'\nimport type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'\nimport type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'\nimport { TemporalIndexingDivinerSchema } from './Schema.ts'\nimport type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'\n\nexport const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)\nexport type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageTransformConfig = {\n [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary\n}\n\n// TODO: Extend indexing diviner config\n/**\n * Diviner Config for a Diviner which Indexes Payloads\n */\nexport type TemporalIndexingDivinerConfig = DivinerConfig<{\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 this config\n */\n schema: TemporalIndexingDivinerConfigSchema\n /**\n * Optional config section for individual diviner stages\n */\n stageConfigs?: {\n divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>\n stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>\n }\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n}>\n","import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const TemporalIndexingDivinerSchema = asSchema(`${IndexingDivinerSchema}.temporal`, true)\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query\n */\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{\n /**\n * The schema of the diviner query payloads\n */\n divinerQuerySchema?: Schema\n /**\n * The schema of the index query payloads\n */\n indexQuerySchema?: Schema\n /**\n * The schema of the index payloads\n */\n indexSchema?: Schema\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms Index Candidates to Indexes\n */\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response\n */\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n// eslint-disable-next-line @stylistic/max-len\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n","import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResult = Payload<\n {\n sources: Hash[]\n timestamp: string\n },\n TemporalIndexingDivinerResultSchema\n>\nexport const isTemporalIndexingDivinerResult = isPayloadOfSchemaType<TemporalIndexingDivinerResult>(TemporalIndexingDivinerResultSchema)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)\nexport type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema\n","import type { PayloadWithSources } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResultIndex = PayloadWithSources<\n {\n timestamp: number\n },\n TemporalIndexingDivinerResultIndexSchema\n>\n\nexport const isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType<TemporalIndexingDivinerResultIndex>(\n TemporalIndexingDivinerResultIndexSchema,\n)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates\n */\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{\n /**\n * The filter to use to identify index candidates\n */\n filter?: BoundWitnessDivinerPredicate\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * Where the diviner should look for stored thumbnails\n */\n payloadStore?: SearchableStorage\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n"],"mappings":";AAGA,SAAS,YAAAA,iBAAgB;;;ACHzB,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AAElB,IAAM,gCAAgC,SAAS,GAAG,qBAAqB,aAAa,IAAI;;;ADOxF,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAC,iBAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,+DACTC,UAAS,GAAG,6BAA6B,0CAA0C,IAAI;;;ADCpF,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACFzB,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,4DACTC,UAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;;;AELxF,SAAS,YAAAC,iBAAgB;;;ACGlB,IAAM,+EACT,GAAG,6BAA6B;;;ADA7B,IAAM,qFACTC,UAAS,GAAG,4EAA4E,WAAW,IAAI;;;AEL3G,SAAS,6BAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;ADSpG,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAC,8BAA6B;;;ACDtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,2CAA2CC,UAAS,GAAG,mCAAmC,UAAU,IAAI;;;ADQ9G,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEZA,SAAS,YAAAC,kBAAgB;;;ACFzB,SAAS,YAAAC,kBAAgB;AAIlB,IAAM,4DACTC,WAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,WAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","asSchema","asSchema"]}
1
+ {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts","../../src/StateToIndexCandidateDiviner/Schema.ts"],"sourcesContent":["import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'\nimport type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'\nimport type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'\nimport { TemporalIndexingDivinerSchema } from './Schema.ts'\nimport type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'\n\nexport const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)\nexport type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageTransformConfig = {\n [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary\n}\n\n// TODO: Extend indexing diviner config\n/**\n * Diviner Config for a Diviner which Indexes Payloads\n */\nexport type TemporalIndexingDivinerConfig = DivinerConfig<{\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 this config\n */\n schema: TemporalIndexingDivinerConfigSchema\n /**\n * Optional config section for individual diviner stages\n */\n stageConfigs?: {\n divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>\n stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>\n }\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n}>\n","import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const TemporalIndexingDivinerSchema = asSchema(`${IndexingDivinerSchema}.temporal`, true)\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query\n */\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{\n /**\n * The schema of the diviner query payloads\n */\n divinerQuerySchema?: Schema\n /**\n * The schema of the index query payloads\n */\n indexQuerySchema?: Schema\n /**\n * The schema of the index payloads\n */\n indexSchema?: Schema\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms Index Candidates to Indexes\n */\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response\n */\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n","import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResult = Payload<\n {\n sources: Hash[]\n timestamp: string\n },\n TemporalIndexingDivinerResultSchema\n>\nexport const isTemporalIndexingDivinerResult = isPayloadOfSchemaType<TemporalIndexingDivinerResult>(TemporalIndexingDivinerResultSchema)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)\nexport type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema\n","import type { PayloadWithSources } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResultIndex = PayloadWithSources<\n {\n timestamp: number\n },\n TemporalIndexingDivinerResultIndexSchema\n>\n\nexport const isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType<TemporalIndexingDivinerResultIndex>(\n TemporalIndexingDivinerResultIndexSchema,\n)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates\n */\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{\n /**\n * The filter to use to identify index candidates\n */\n filter?: BoundWitnessDivinerPredicate\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * Where the diviner should look for stored thumbnails\n */\n payloadStore?: SearchableStorage\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n"],"mappings":";AAGA,SAAS,YAAAA,iBAAgB;;;ACHzB,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AAElB,IAAM,gCAAgC,SAAS,GAAG,qBAAqB,aAAa,IAAI;;;ADOxF,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAC,iBAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,+DACTC,UAAS,GAAG,6BAA6B,0CAA0C,IAAI;;;ADCpF,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACFzB,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,4DACTC,UAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;;;AELxF,SAAS,YAAAC,iBAAgB;;;ACGlB,IAAM,+EACT,GAAG,6BAA6B;;;ADA7B,IAAM,qFACTC,UAAS,GAAG,4EAA4E,WAAW,IAAI;;;AEL3G,SAAS,6BAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;ADSpG,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAC,8BAA6B;;;ACDtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,2CAA2CC,UAAS,GAAG,mCAAmC,UAAU,IAAI;;;ADQ9G,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEZA,SAAS,YAAAC,kBAAgB;;;ACFzB,SAAS,YAAAC,kBAAgB;AAIlB,IAAM,4DACTC,WAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,WAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","asSchema","asSchema"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts","../../src/StateToIndexCandidateDiviner/Schema.ts"],"sourcesContent":["import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'\nimport type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'\nimport type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'\nimport { TemporalIndexingDivinerSchema } from './Schema.ts'\nimport type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'\n\nexport const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)\nexport type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageTransformConfig = {\n [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary\n}\n\n// TODO: Extend indexing diviner config\n/**\n * Diviner Config for a Diviner which Indexes Payloads\n */\nexport type TemporalIndexingDivinerConfig = DivinerConfig<{\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 this config\n */\n schema: TemporalIndexingDivinerConfigSchema\n /**\n * Optional config section for individual diviner stages\n */\n stageConfigs?: {\n divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>\n stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>\n }\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n}>\n","import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const TemporalIndexingDivinerSchema = asSchema(`${IndexingDivinerSchema}.temporal`, true)\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query\n */\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{\n /**\n * The schema of the diviner query payloads\n */\n divinerQuerySchema?: Schema\n /**\n * The schema of the index query payloads\n */\n indexQuerySchema?: Schema\n /**\n * The schema of the index payloads\n */\n indexSchema?: Schema\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms Index Candidates to Indexes\n */\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response\n */\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n// eslint-disable-next-line @stylistic/max-len\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n","import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResult = Payload<\n {\n sources: Hash[]\n timestamp: string\n },\n TemporalIndexingDivinerResultSchema\n>\nexport const isTemporalIndexingDivinerResult = isPayloadOfSchemaType<TemporalIndexingDivinerResult>(TemporalIndexingDivinerResultSchema)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)\nexport type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema\n","import type { PayloadWithSources } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResultIndex = PayloadWithSources<\n {\n timestamp: number\n },\n TemporalIndexingDivinerResultIndexSchema\n>\n\nexport const isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType<TemporalIndexingDivinerResultIndex>(\n TemporalIndexingDivinerResultIndexSchema,\n)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates\n */\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{\n /**\n * The filter to use to identify index candidates\n */\n filter?: BoundWitnessDivinerPredicate\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * Where the diviner should look for stored thumbnails\n */\n payloadStore?: SearchableStorage\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n"],"mappings":";AAGA,SAAS,YAAAA,iBAAgB;;;ACHzB,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AAElB,IAAM,gCAAgC,SAAS,GAAG,qBAAqB,aAAa,IAAI;;;ADOxF,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAC,iBAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,+DACTC,UAAS,GAAG,6BAA6B,0CAA0C,IAAI;;;ADCpF,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACFzB,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,4DACTC,UAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;;;AELxF,SAAS,YAAAC,iBAAgB;;;ACGlB,IAAM,+EACT,GAAG,6BAA6B;;;ADA7B,IAAM,qFACTC,UAAS,GAAG,4EAA4E,WAAW,IAAI;;;AEL3G,SAAS,6BAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;ADSpG,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAC,8BAA6B;;;ACDtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,2CAA2CC,UAAS,GAAG,mCAAmC,UAAU,IAAI;;;ADQ9G,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEZA,SAAS,YAAAC,kBAAgB;;;ACFzB,SAAS,YAAAC,kBAAgB;AAIlB,IAAM,4DACTC,WAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,WAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","asSchema","asSchema"]}
1
+ {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts","../../src/StateToIndexCandidateDiviner/Schema.ts"],"sourcesContent":["import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'\nimport type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'\nimport type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'\nimport { TemporalIndexingDivinerSchema } from './Schema.ts'\nimport type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'\n\nexport const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)\nexport type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageTransformConfig = {\n [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary\n}\n\n// TODO: Extend indexing diviner config\n/**\n * Diviner Config for a Diviner which Indexes Payloads\n */\nexport type TemporalIndexingDivinerConfig = DivinerConfig<{\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 this config\n */\n schema: TemporalIndexingDivinerConfigSchema\n /**\n * Optional config section for individual diviner stages\n */\n stageConfigs?: {\n divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>\n stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>\n }\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n}>\n","import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const TemporalIndexingDivinerSchema = asSchema(`${IndexingDivinerSchema}.temporal`, true)\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query\n */\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{\n /**\n * The schema of the diviner query payloads\n */\n divinerQuerySchema?: Schema\n /**\n * The schema of the index query payloads\n */\n indexQuerySchema?: Schema\n /**\n * The schema of the index payloads\n */\n indexSchema?: Schema\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms Index Candidates to Indexes\n */\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response\n */\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n","import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResult = Payload<\n {\n sources: Hash[]\n timestamp: string\n },\n TemporalIndexingDivinerResultSchema\n>\nexport const isTemporalIndexingDivinerResult = isPayloadOfSchemaType<TemporalIndexingDivinerResult>(TemporalIndexingDivinerResultSchema)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)\nexport type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema\n","import type { PayloadWithSources } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResultIndex = PayloadWithSources<\n {\n timestamp: number\n },\n TemporalIndexingDivinerResultIndexSchema\n>\n\nexport const isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType<TemporalIndexingDivinerResultIndex>(\n TemporalIndexingDivinerResultIndexSchema,\n)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates\n */\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{\n /**\n * The filter to use to identify index candidates\n */\n filter?: BoundWitnessDivinerPredicate\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * Where the diviner should look for stored thumbnails\n */\n payloadStore?: SearchableStorage\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n"],"mappings":";AAGA,SAAS,YAAAA,iBAAgB;;;ACHzB,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AAElB,IAAM,gCAAgC,SAAS,GAAG,qBAAqB,aAAa,IAAI;;;ADOxF,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAC,iBAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,+DACTC,UAAS,GAAG,6BAA6B,0CAA0C,IAAI;;;ADCpF,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACFzB,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,4DACTC,UAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;;;AELxF,SAAS,YAAAC,iBAAgB;;;ACGlB,IAAM,+EACT,GAAG,6BAA6B;;;ADA7B,IAAM,qFACTC,UAAS,GAAG,4EAA4E,WAAW,IAAI;;;AEL3G,SAAS,6BAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;ADSpG,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAC,8BAA6B;;;ACDtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,2CAA2CC,UAAS,GAAG,mCAAmC,UAAU,IAAI;;;ADQ9G,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEZA,SAAS,YAAAC,kBAAgB;;;ACFzB,SAAS,YAAAC,kBAAgB;AAIlB,IAAM,4DACTC,WAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,WAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","asSchema","asSchema"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts","../../src/StateToIndexCandidateDiviner/Schema.ts"],"sourcesContent":["import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'\nimport type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'\nimport type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'\nimport { TemporalIndexingDivinerSchema } from './Schema.ts'\nimport type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'\n\nexport const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)\nexport type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageTransformConfig = {\n [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary\n}\n\n// TODO: Extend indexing diviner config\n/**\n * Diviner Config for a Diviner which Indexes Payloads\n */\nexport type TemporalIndexingDivinerConfig = DivinerConfig<{\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 this config\n */\n schema: TemporalIndexingDivinerConfigSchema\n /**\n * Optional config section for individual diviner stages\n */\n stageConfigs?: {\n divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>\n stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>\n }\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n}>\n","import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const TemporalIndexingDivinerSchema = asSchema(`${IndexingDivinerSchema}.temporal`, true)\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query\n */\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{\n /**\n * The schema of the diviner query payloads\n */\n divinerQuerySchema?: Schema\n /**\n * The schema of the index query payloads\n */\n indexQuerySchema?: Schema\n /**\n * The schema of the index payloads\n */\n indexSchema?: Schema\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms Index Candidates to Indexes\n */\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response\n */\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n// eslint-disable-next-line @stylistic/max-len\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n","import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResult = Payload<\n {\n sources: Hash[]\n timestamp: string\n },\n TemporalIndexingDivinerResultSchema\n>\nexport const isTemporalIndexingDivinerResult = isPayloadOfSchemaType<TemporalIndexingDivinerResult>(TemporalIndexingDivinerResultSchema)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)\nexport type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema\n","import type { PayloadWithSources } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResultIndex = PayloadWithSources<\n {\n timestamp: number\n },\n TemporalIndexingDivinerResultIndexSchema\n>\n\nexport const isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType<TemporalIndexingDivinerResultIndex>(\n TemporalIndexingDivinerResultIndexSchema,\n)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates\n */\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{\n /**\n * The filter to use to identify index candidates\n */\n filter?: BoundWitnessDivinerPredicate\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * Where the diviner should look for stored thumbnails\n */\n payloadStore?: SearchableStorage\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n"],"mappings":";AAGA,SAAS,YAAAA,iBAAgB;;;ACHzB,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AAElB,IAAM,gCAAgC,SAAS,GAAG,qBAAqB,aAAa,IAAI;;;ADOxF,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAC,iBAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,+DACTC,UAAS,GAAG,6BAA6B,0CAA0C,IAAI;;;ADCpF,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACFzB,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,4DACTC,UAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;;;AELxF,SAAS,YAAAC,iBAAgB;;;ACGlB,IAAM,+EACT,GAAG,6BAA6B;;;ADA7B,IAAM,qFACTC,UAAS,GAAG,4EAA4E,WAAW,IAAI;;;AEL3G,SAAS,6BAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;ADSpG,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAC,8BAA6B;;;ACDtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,2CAA2CC,UAAS,GAAG,mCAAmC,UAAU,IAAI;;;ADQ9G,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEZA,SAAS,YAAAC,kBAAgB;;;ACFzB,SAAS,YAAAC,kBAAgB;AAIlB,IAAM,4DACTC,WAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,WAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","asSchema","asSchema"]}
1
+ {"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts","../../src/StateToIndexCandidateDiviner/Schema.ts"],"sourcesContent":["import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'\nimport type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'\nimport type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'\nimport { TemporalIndexingDivinerSchema } from './Schema.ts'\nimport type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'\n\nexport const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)\nexport type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema\n\n/**\n * Config section for declaring each indexing diviner stage\n */\nexport type IndexingDivinerStageTransformConfig = {\n [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary\n}\n\n// TODO: Extend indexing diviner config\n/**\n * Diviner Config for a Diviner which Indexes Payloads\n */\nexport type TemporalIndexingDivinerConfig = DivinerConfig<{\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 this config\n */\n schema: TemporalIndexingDivinerConfigSchema\n /**\n * Optional config section for individual diviner stages\n */\n stageConfigs?: {\n divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>\n indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>\n stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>\n }\n /**\n * Where the diviner should persist its internal state\n */\n stateStore?: SearchableStorage\n}>\n","import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const TemporalIndexingDivinerSchema = asSchema(`${IndexingDivinerSchema}.temporal`, true)\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema, type Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query\n */\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{\n /**\n * The schema of the diviner query payloads\n */\n divinerQuerySchema?: Schema\n /**\n * The schema of the index query payloads\n */\n indexQuerySchema?: Schema\n /**\n * The schema of the index payloads\n */\n indexSchema?: Schema\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`, true)\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms Index Candidates to Indexes\n */\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`, true)\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response\n */\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n /**\n * The transforms to apply to the source payloads\n */\n schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary\n}>\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`\n","import type { Hash } from '@xylabs/sdk-js'\nimport type { Payload } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResult = Payload<\n {\n sources: Hash[]\n timestamp: string\n },\n TemporalIndexingDivinerResultSchema\n>\nexport const isTemporalIndexingDivinerResult = isPayloadOfSchemaType<TemporalIndexingDivinerResult>(TemporalIndexingDivinerResultSchema)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)\nexport type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema\n","import type { PayloadWithSources } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerResultIndex = PayloadWithSources<\n {\n timestamp: number\n },\n TemporalIndexingDivinerResultIndexSchema\n>\n\nexport const isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType<TemporalIndexingDivinerResultIndex>(\n TemporalIndexingDivinerResultIndexSchema,\n)\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n\n/**\n * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates\n */\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{\n /**\n * The filter to use to identify index candidates\n */\n filter?: BoundWitnessDivinerPredicate\n /**\n * The maximum number of payloads to index at a time\n */\n payloadDivinerLimit?: number\n /**\n * Where the diviner should look for stored thumbnails\n */\n payloadStore?: SearchableStorage\n /**\n * The config schema\n */\n schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n}>\n","import { asSchema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = asSchema(`${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`, true)\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n"],"mappings":";AAGA,SAAS,YAAAA,iBAAgB;;;ACHzB,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AAElB,IAAM,gCAAgC,SAAS,GAAG,qBAAqB,aAAa,IAAI;;;ADOxF,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAC,iBAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,+DACTC,UAAS,GAAG,6BAA6B,0CAA0C,IAAI;;;ADCpF,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACFzB,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,4DACTC,UAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;;;AELxF,SAAS,YAAAC,iBAAgB;;;ACGlB,IAAM,+EACT,GAAG,6BAA6B;;;ADA7B,IAAM,qFACTC,UAAS,GAAG,4EAA4E,WAAW,IAAI;;;AEL3G,SAAS,6BAA6B;;;ACFtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,sCAAsCC,UAAS,GAAG,6BAA6B,WAAW,IAAI;;;ADSpG,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAC,8BAA6B;;;ACDtC,SAAS,YAAAC,iBAAgB;AAIlB,IAAM,2CAA2CC,UAAS,GAAG,mCAAmC,UAAU,IAAI;;;ADQ9G,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEZA,SAAS,YAAAC,kBAAgB;;;ACFzB,SAAS,YAAAC,kBAAgB;AAIlB,IAAM,4DACTC,WAAS,GAAG,6BAA6B,uCAAuC,IAAI;;;ADCjF,IAAM,kEACTC,WAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","asSchema","asSchema"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-temporal-indexing-model",
3
- "version": "5.3.14",
3
+ "version": "5.3.16",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -36,17 +36,16 @@
36
36
  "!**/*.test.*"
37
37
  ],
38
38
  "dependencies": {
39
- "@xyo-network/diviner-boundwitness-model": "~5.3.14",
40
- "@xyo-network/diviner-indexing-model": "~5.3.14",
41
- "@xyo-network/diviner-jsonpath-model": "~5.3.14",
42
- "@xyo-network/diviner-model": "~5.3.14",
43
- "@xyo-network/module-model": "~5.3.14",
44
- "@xyo-network/payload-model": "~5.3.14"
39
+ "@xyo-network/diviner-boundwitness-model": "~5.3.16",
40
+ "@xyo-network/diviner-indexing-model": "~5.3.16",
41
+ "@xyo-network/diviner-jsonpath-model": "~5.3.16",
42
+ "@xyo-network/diviner-model": "~5.3.16",
43
+ "@xyo-network/module-model": "~5.3.16",
44
+ "@xyo-network/payload-model": "~5.3.16"
45
45
  },
46
46
  "devDependencies": {
47
- "@xylabs/sdk-js": "^5.0.80",
48
- "@xylabs/ts-scripts-yarn3": "~7.3.2",
49
- "@xylabs/tsconfig": "~7.3.2",
47
+ "@xylabs/sdk-js": "^5.0.86",
48
+ "@xylabs/tsconfig": "~7.4.17",
50
49
  "typescript": "~5.9.3",
51
50
  "zod": "^4.3.6"
52
51
  },
@@ -2,6 +2,6 @@ import { TemporalIndexingDivinerSchema } from '../Schema.ts'
2
2
 
3
3
  export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema
4
4
  = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`
5
- // eslint-disable-next-line @stylistic/max-len
5
+
6
6
  export const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema
7
7
  = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`