@xyo-network/diviner-temporal-indexing-model 4.0.2 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/build/neutral/Config.d.ts +53 -0
  2. package/build/neutral/Config.d.ts.map +1 -0
  3. package/build/neutral/DivinerQueryToIndexQueryDiviner/Config.d.ts +32 -0
  4. package/build/neutral/DivinerQueryToIndexQueryDiviner/Config.d.ts.map +1 -0
  5. package/build/neutral/DivinerQueryToIndexQueryDiviner/Params.d.ts +5 -0
  6. package/build/neutral/DivinerQueryToIndexQueryDiviner/Params.d.ts.map +1 -0
  7. package/build/neutral/DivinerQueryToIndexQueryDiviner/Schema.d.ts +4 -0
  8. package/build/neutral/DivinerQueryToIndexQueryDiviner/Schema.d.ts.map +1 -0
  9. package/build/neutral/DivinerQueryToIndexQueryDiviner/index.d.ts +4 -0
  10. package/build/neutral/DivinerQueryToIndexQueryDiviner/index.d.ts.map +1 -0
  11. package/build/neutral/IndexCandidateToIndexDiviner/Config.d.ts +19 -0
  12. package/build/neutral/IndexCandidateToIndexDiviner/Config.d.ts.map +1 -0
  13. package/build/neutral/IndexCandidateToIndexDiviner/Params.d.ts +8 -0
  14. package/build/neutral/IndexCandidateToIndexDiviner/Params.d.ts.map +1 -0
  15. package/build/neutral/IndexCandidateToIndexDiviner/Schema.d.ts +4 -0
  16. package/build/neutral/IndexCandidateToIndexDiviner/Schema.d.ts.map +1 -0
  17. package/build/neutral/IndexCandidateToIndexDiviner/index.d.ts +4 -0
  18. package/build/neutral/IndexCandidateToIndexDiviner/index.d.ts.map +1 -0
  19. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts +19 -0
  20. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts.map +1 -0
  21. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Params.d.ts +5 -0
  22. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Params.d.ts.map +1 -0
  23. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.d.ts +4 -0
  24. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.d.ts.map +1 -0
  25. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts +4 -0
  26. package/build/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts.map +1 -0
  27. package/build/neutral/Params.d.ts +5 -0
  28. package/build/neutral/Params.d.ts.map +1 -0
  29. package/build/neutral/Result/Payload.d.ts +9 -0
  30. package/build/neutral/Result/Payload.d.ts.map +1 -0
  31. package/build/neutral/Result/Schema.d.ts +3 -0
  32. package/build/neutral/Result/Schema.d.ts.map +1 -0
  33. package/build/neutral/Result/index.d.ts +3 -0
  34. package/build/neutral/Result/index.d.ts.map +1 -0
  35. package/build/neutral/ResultIndex/Payload.d.ts +7 -0
  36. package/build/neutral/ResultIndex/Payload.d.ts.map +1 -0
  37. package/build/neutral/ResultIndex/Schema.d.ts +3 -0
  38. package/build/neutral/ResultIndex/Schema.d.ts.map +1 -0
  39. package/build/neutral/ResultIndex/index.d.ts +3 -0
  40. package/build/neutral/ResultIndex/index.d.ts.map +1 -0
  41. package/build/neutral/Schema.d.ts +3 -0
  42. package/build/neutral/Schema.d.ts.map +1 -0
  43. package/build/neutral/StateToIndexCandidateDiviner/Config.d.ts +27 -0
  44. package/build/neutral/StateToIndexCandidateDiviner/Config.d.ts.map +1 -0
  45. package/build/neutral/StateToIndexCandidateDiviner/Params.d.ts +5 -0
  46. package/build/neutral/StateToIndexCandidateDiviner/Params.d.ts.map +1 -0
  47. package/build/neutral/StateToIndexCandidateDiviner/Schema.d.ts +4 -0
  48. package/build/neutral/StateToIndexCandidateDiviner/Schema.d.ts.map +1 -0
  49. package/build/neutral/StateToIndexCandidateDiviner/index.d.ts +4 -0
  50. package/build/neutral/StateToIndexCandidateDiviner/index.d.ts.map +1 -0
  51. package/build/neutral/index.d.ts +10 -0
  52. package/build/neutral/index.d.ts.map +1 -0
  53. package/build/node/Config.d.ts +53 -0
  54. package/build/node/Config.d.ts.map +1 -0
  55. package/build/node/DivinerQueryToIndexQueryDiviner/Config.d.ts +32 -0
  56. package/build/node/DivinerQueryToIndexQueryDiviner/Config.d.ts.map +1 -0
  57. package/build/node/DivinerQueryToIndexQueryDiviner/Params.d.ts +5 -0
  58. package/build/node/DivinerQueryToIndexQueryDiviner/Params.d.ts.map +1 -0
  59. package/build/node/DivinerQueryToIndexQueryDiviner/Schema.d.ts +4 -0
  60. package/build/node/DivinerQueryToIndexQueryDiviner/Schema.d.ts.map +1 -0
  61. package/build/node/DivinerQueryToIndexQueryDiviner/index.d.ts +4 -0
  62. package/build/node/DivinerQueryToIndexQueryDiviner/index.d.ts.map +1 -0
  63. package/build/node/IndexCandidateToIndexDiviner/Config.d.ts +19 -0
  64. package/build/node/IndexCandidateToIndexDiviner/Config.d.ts.map +1 -0
  65. package/build/node/IndexCandidateToIndexDiviner/Params.d.ts +8 -0
  66. package/build/node/IndexCandidateToIndexDiviner/Params.d.ts.map +1 -0
  67. package/build/node/IndexCandidateToIndexDiviner/Schema.d.ts +4 -0
  68. package/build/node/IndexCandidateToIndexDiviner/Schema.d.ts.map +1 -0
  69. package/build/node/IndexCandidateToIndexDiviner/index.d.ts +4 -0
  70. package/build/node/IndexCandidateToIndexDiviner/index.d.ts.map +1 -0
  71. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts +19 -0
  72. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts.map +1 -0
  73. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/Params.d.ts +5 -0
  74. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/Params.d.ts.map +1 -0
  75. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.d.ts +4 -0
  76. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.d.ts.map +1 -0
  77. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts +4 -0
  78. package/build/node/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts.map +1 -0
  79. package/build/node/Params.d.ts +5 -0
  80. package/build/node/Params.d.ts.map +1 -0
  81. package/build/node/Result/Payload.d.ts +9 -0
  82. package/build/node/Result/Payload.d.ts.map +1 -0
  83. package/build/node/Result/Schema.d.ts +3 -0
  84. package/build/node/Result/Schema.d.ts.map +1 -0
  85. package/build/node/Result/index.d.ts +3 -0
  86. package/build/node/Result/index.d.ts.map +1 -0
  87. package/build/node/ResultIndex/Payload.d.ts +7 -0
  88. package/build/node/ResultIndex/Payload.d.ts.map +1 -0
  89. package/build/node/ResultIndex/Schema.d.ts +3 -0
  90. package/build/node/ResultIndex/Schema.d.ts.map +1 -0
  91. package/build/node/ResultIndex/index.d.ts +3 -0
  92. package/build/node/ResultIndex/index.d.ts.map +1 -0
  93. package/build/node/Schema.d.ts +3 -0
  94. package/build/node/Schema.d.ts.map +1 -0
  95. package/build/node/StateToIndexCandidateDiviner/Config.d.ts +27 -0
  96. package/build/node/StateToIndexCandidateDiviner/Config.d.ts.map +1 -0
  97. package/build/node/StateToIndexCandidateDiviner/Params.d.ts +5 -0
  98. package/build/node/StateToIndexCandidateDiviner/Params.d.ts.map +1 -0
  99. package/build/node/StateToIndexCandidateDiviner/Schema.d.ts +4 -0
  100. package/build/node/StateToIndexCandidateDiviner/Schema.d.ts.map +1 -0
  101. package/build/node/StateToIndexCandidateDiviner/index.d.ts +4 -0
  102. package/build/node/StateToIndexCandidateDiviner/index.d.ts.map +1 -0
  103. package/build/node/index.d.ts +10 -0
  104. package/build/node/index.d.ts.map +1 -0
  105. package/dist/browser/index.d.ts +186 -0
  106. package/dist/neutral/index.d.ts +186 -0
  107. package/dist/node/index.d.ts +186 -0
  108. package/package.json +12 -12
  109. /package/{dist/types → build/browser}/Config.d.ts +0 -0
  110. /package/{dist/types → build/browser}/Config.d.ts.map +0 -0
  111. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/Config.d.ts +0 -0
  112. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/Config.d.ts.map +0 -0
  113. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/Params.d.ts +0 -0
  114. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/Params.d.ts.map +0 -0
  115. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/Schema.d.ts +0 -0
  116. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/Schema.d.ts.map +0 -0
  117. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/index.d.ts +0 -0
  118. /package/{dist/types → build/browser}/DivinerQueryToIndexQueryDiviner/index.d.ts.map +0 -0
  119. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/Config.d.ts +0 -0
  120. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/Config.d.ts.map +0 -0
  121. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/Params.d.ts +0 -0
  122. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/Params.d.ts.map +0 -0
  123. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/Schema.d.ts +0 -0
  124. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/Schema.d.ts.map +0 -0
  125. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/index.d.ts +0 -0
  126. /package/{dist/types → build/browser}/IndexCandidateToIndexDiviner/index.d.ts.map +0 -0
  127. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts +0 -0
  128. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts.map +0 -0
  129. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/Params.d.ts +0 -0
  130. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/Params.d.ts.map +0 -0
  131. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.d.ts +0 -0
  132. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.d.ts.map +0 -0
  133. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts +0 -0
  134. /package/{dist/types → build/browser}/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts.map +0 -0
  135. /package/{dist/types → build/browser}/Params.d.ts +0 -0
  136. /package/{dist/types → build/browser}/Params.d.ts.map +0 -0
  137. /package/{dist/types → build/browser}/Result/Payload.d.ts +0 -0
  138. /package/{dist/types → build/browser}/Result/Payload.d.ts.map +0 -0
  139. /package/{dist/types → build/browser}/Result/Schema.d.ts +0 -0
  140. /package/{dist/types → build/browser}/Result/Schema.d.ts.map +0 -0
  141. /package/{dist/types → build/browser}/Result/index.d.ts +0 -0
  142. /package/{dist/types → build/browser}/Result/index.d.ts.map +0 -0
  143. /package/{dist/types → build/browser}/ResultIndex/Payload.d.ts +0 -0
  144. /package/{dist/types → build/browser}/ResultIndex/Payload.d.ts.map +0 -0
  145. /package/{dist/types → build/browser}/ResultIndex/Schema.d.ts +0 -0
  146. /package/{dist/types → build/browser}/ResultIndex/Schema.d.ts.map +0 -0
  147. /package/{dist/types → build/browser}/ResultIndex/index.d.ts +0 -0
  148. /package/{dist/types → build/browser}/ResultIndex/index.d.ts.map +0 -0
  149. /package/{dist/types → build/browser}/Schema.d.ts +0 -0
  150. /package/{dist/types → build/browser}/Schema.d.ts.map +0 -0
  151. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/Config.d.ts +0 -0
  152. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/Config.d.ts.map +0 -0
  153. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/Params.d.ts +0 -0
  154. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/Params.d.ts.map +0 -0
  155. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/Schema.d.ts +0 -0
  156. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/Schema.d.ts.map +0 -0
  157. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/index.d.ts +0 -0
  158. /package/{dist/types → build/browser}/StateToIndexCandidateDiviner/index.d.ts.map +0 -0
  159. /package/{dist/types → build/browser}/index.d.ts +0 -0
  160. /package/{dist/types → build/browser}/index.d.ts.map +0 -0
@@ -0,0 +1,53 @@
1
+ import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model';
2
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
3
+ import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
4
+ import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts';
5
+ import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
6
+ import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts';
7
+ export declare const TemporalIndexingDivinerConfigSchema: "network.xyo.diviner.indexing.temporal.config";
8
+ export type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema;
9
+ /**
10
+ * Config section for declaring each indexing diviner stage
11
+ */
12
+ export type IndexingDivinerStageTransformConfig = {
13
+ [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary;
14
+ };
15
+ /**
16
+ * Diviner Config for a Diviner which Indexes Payloads
17
+ */
18
+ export type TemporalIndexingDivinerConfig = DivinerConfig<{
19
+ /**
20
+ * Where the diviner should store it's index
21
+ */
22
+ indexStore?: SearchableStorage;
23
+ /**
24
+ * Config section for name/address of individual diviner stages
25
+ */
26
+ indexingDivinerStages?: IndexingDivinerStageConfig;
27
+ /**
28
+ * The maximum number of payloads to index at a time
29
+ */
30
+ payloadDivinerLimit?: number;
31
+ /**
32
+ * How often to poll for new payloads to index
33
+ */
34
+ pollFrequency?: number;
35
+ /**
36
+ * The schema for this config
37
+ */
38
+ schema: TemporalIndexingDivinerConfigSchema;
39
+ /**
40
+ * Optional config section for individual diviner stages
41
+ */
42
+ stageConfigs?: {
43
+ divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>;
44
+ indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>;
45
+ indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>;
46
+ stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>;
47
+ };
48
+ /**
49
+ * Where the diviner should persist its internal state
50
+ */
51
+ stateStore?: SearchableStorage;
52
+ }>;
53
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAA;AAC3G,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAElF,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,4CAA4C,CAAA;AAC9H,OAAO,KAAK,EAAE,4EAA4E,EAAE,MAAM,4DAA4D,CAAA;AAE9J,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,yCAAyC,CAAA;AAExH,eAAO,MAAM,mCAAmC,gDAAqD,CAAA;AACrG,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;KAC/C,GAAG,IAAI,oBAAoB,GAAG,8CAA8C;CAC9E,CAAA;AAGD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,0BAA0B,CAAA;IAClD;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,MAAM,EAAE,mCAAmC,CAAA;IAC3C;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,+BAA+B,CAAC,EAAE,IAAI,CAAC,4DAA4D,EAAE,QAAQ,CAAC,CAAA;QAC9G,4BAA4B,CAAC,EAAE,IAAI,CAAC,4DAA4D,EAAE,QAAQ,CAAC,CAAA;QAC3G,+CAA+C,CAAC,EAAE,IAAI,CAAC,4EAA4E,EAAE,QAAQ,CAAC,CAAA;QAC9I,4BAA4B,CAAC,EAAE,IAAI,CAAC,yDAAyD,EAAE,QAAQ,CAAC,CAAA;KACzG,CAAA;IACD;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B,CAAC,CAAA"}
@@ -0,0 +1,32 @@
1
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
3
+ import type { Schema } from '@xyo-network/payload-model';
4
+ import { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts';
5
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`;
6
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
7
+ /**
8
+ * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query
9
+ */
10
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{
11
+ /**
12
+ * The schema of the diviner query payloads
13
+ */
14
+ divinerQuerySchema?: Schema;
15
+ /**
16
+ * The schema of the index query payloads
17
+ */
18
+ indexQuerySchema?: Schema;
19
+ /**
20
+ * The schema of the index payloads
21
+ */
22
+ indexSchema?: Schema;
23
+ /**
24
+ * The config schema
25
+ */
26
+ schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
27
+ /**
28
+ * The transforms to apply to the source payloads
29
+ */
30
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
31
+ }>;
32
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,EAAE,4DAA4D,EAAE,MAAM,aAAa,CAAA;AAE1F,MAAM,MAAM,kEAAkE,GAC1E,GAAG,4DAA4D,SAAS,CAAA;AAC5E,eAAO,MAAM,kEAAkE,EAAE,kEACP,CAAA;AAE1E;;GAEG;AACH,MAAM,MAAM,4DAA4D,GAAG,aAAa,CAAC;IACvF;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,MAAM,EAAE,kEAAkE,CAAA;IAC1E;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './Config.ts';
4
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,aAAa,CAAA;AAE/F,MAAM,MAAM,4DAA4D,GAAG,aAAa,CACtF,eAAe,CAAC,4DAA4D,CAAC,CAC9E,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { TemporalIndexingDivinerSchema } from '../Schema.ts';
2
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`;
3
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema;
4
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,MAAM,4DAA4D,GAAG,GAAG,6BAA6B,wCAAwC,CAAA;AACnJ,eAAO,MAAM,4DAA4D,EAAE,4DACD,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,19 @@
1
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
3
+ import { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts';
4
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`;
5
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
6
+ /**
7
+ * Diviner Config for a Diviner which transforms Index Candidates to Indexes
8
+ */
9
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{
10
+ /**
11
+ * The config schema
12
+ */
13
+ schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
14
+ /**
15
+ * The transforms to apply to the source payloads
16
+ */
17
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
18
+ }>;
19
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,EAAE,yDAAyD,EAAE,MAAM,aAAa,CAAA;AAEvF,MAAM,MAAM,+DAA+D,GAAG,GAAG,yDAAyD,SAAS,CAAA;AACnJ,eAAO,MAAM,+DAA+D,EAAE,+DACP,CAAA;AAEvE;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG,aAAa,CAAC;IACpF;;OAEG;IACH,MAAM,EAAE,+DAA+D,CAAA;IACvE;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig } from './Config.ts';
4
+ /**
5
+ * Diviner Params for a Diviner which transforms Index Candidates to Indexes
6
+ */
7
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,aAAa,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG,aAAa,CACnF,eAAe,CAAC,yDAAyD,CAAC,CAC3E,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { TemporalIndexingDivinerSchema } from '../Schema.ts';
2
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`;
3
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema;
4
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,MAAM,yDAAyD,GAAG,GAAG,6BAA6B,qCAAqC,CAAA;AAC7I,eAAO,MAAM,yDAAyD,EAAE,yDACA,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,19 @@
1
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
3
+ import { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts';
4
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`;
5
+ export declare const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema;
6
+ /**
7
+ * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response
8
+ */
9
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig = DivinerConfig<{
10
+ /**
11
+ * The config schema
12
+ */
13
+ schema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema;
14
+ /**
15
+ * The transforms to apply to the source payloads
16
+ */
17
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
18
+ }>;
19
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,EAAE,4EAA4E,EAAE,MAAM,aAAa,CAAA;AAE1G,MAAM,MAAM,kFAAkF,GAC1F,GAAG,4EAA4E,SAAS,CAAA;AAE5F,eAAO,MAAM,kFAAkF,EAAE,kFACN,CAAA;AAE3F;;GAEG;AACH,MAAM,MAAM,4EAA4E,GAAG,aAAa,CAAC;IACvG;;OAEG;IACH,MAAM,EAAE,kFAAkF,CAAA;IAC1F;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './Config.ts';
4
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,4EAA4E,EAAE,MAAM,aAAa,CAAA;AAE/G,MAAM,MAAM,4EAA4E,GAAG,aAAa,CACtG,eAAe,CAAC,4EAA4E,CAAC,CAC9F,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { TemporalIndexingDivinerSchema } from '../Schema.ts';
2
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`;
3
+ export declare const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema;
4
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,MAAM,4EAA4E,GACpF,GAAG,6BAA6B,wDAAwD,CAAA;AAE5F,eAAO,MAAM,4EAA4E,EAAE,4EACD,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerConfig } from './Config.ts';
4
+ export type TemporalIndexingDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAA;AAGhE,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC,eAAe,CAAC,6BAA6B,CAAC,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { Hash } from '@xylabs/hex';
2
+ import type { Payload } from '@xyo-network/payload-model';
3
+ import { TemporalIndexingDivinerResultSchema } from './Schema.ts';
4
+ export type TemporalIndexingDivinerResult = Payload<{
5
+ sources: Hash[];
6
+ timestamp: string;
7
+ }, TemporalIndexingDivinerResultSchema>;
8
+ export declare const isTemporalIndexingDivinerResult: (x?: unknown | null) => x is TemporalIndexingDivinerResult;
9
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Result/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGzD,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAA;AAEjE,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD;IACE,OAAO,EAAE,IAAI,EAAE,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB,EACD,mCAAmC,CACpC,CAAA;AACD,eAAO,MAAM,+BAA+B,4DAA4F,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const TemporalIndexingDivinerResultSchema: "network.xyo.diviner.indexing.temporal.result";
2
+ export type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Result/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC,gDAAqD,CAAA;AACrG,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Payload.ts';
2
+ export * from './Schema.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Result/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { PayloadWithSources } from '@xyo-network/payload-model';
2
+ import { TemporalIndexingDivinerResultIndexSchema } from './Schema.ts';
3
+ export type TemporalIndexingDivinerResultIndex = PayloadWithSources<{
4
+ timestamp: number;
5
+ }, TemporalIndexingDivinerResultIndexSchema>;
6
+ export declare const isTemporalIndexingDivinerResultIndex: (x?: unknown | null) => x is TemporalIndexingDivinerResultIndex;
7
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/ResultIndex/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAGpE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAA;AAEtE,MAAM,MAAM,kCAAkC,GAAG,kBAAkB,CACjE;IACE,SAAS,EAAE,MAAM,CAAA;CAClB,EACD,wCAAwC,CACzC,CAAA;AAED,eAAO,MAAM,oCAAoC,iEAEhD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const TemporalIndexingDivinerResultIndexSchema: "network.xyo.diviner.indexing.temporal.result.index";
2
+ export type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/ResultIndex/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wCAAwC,sDAA0D,CAAA;AAC/G,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Payload.ts';
2
+ export * from './Schema.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ResultIndex/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const TemporalIndexingDivinerSchema: "network.xyo.diviner.indexing.temporal";
2
+ export type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,6BAA6B,yCAA+C,CAAA;AACzF,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAA"}
@@ -0,0 +1,27 @@
1
+ import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model';
2
+ import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
3
+ import { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts';
4
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`;
5
+ export declare const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema;
6
+ /**
7
+ * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates
8
+ */
9
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfig = DivinerConfig<{
10
+ /**
11
+ * The filter to use to identify index candidates
12
+ */
13
+ filter?: BoundWitnessDivinerPredicate;
14
+ /**
15
+ * The maximum number of payloads to index at a time
16
+ */
17
+ payloadDivinerLimit?: number;
18
+ /**
19
+ * Where the diviner should look for stored thumbnails
20
+ */
21
+ payloadStore?: SearchableStorage;
22
+ /**
23
+ * The config schema
24
+ */
25
+ schema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema;
26
+ }>;
27
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAA;AAC3F,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAElF,OAAO,EAAE,yDAAyD,EAAE,MAAM,aAAa,CAAA;AAEvF,MAAM,MAAM,+DAA+D,GAAG,GAAG,yDAAyD,SAAS,CAAA;AACnJ,eAAO,MAAM,+DAA+D,EAAE,+DACP,CAAA;AAEvE;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG,aAAa,CAAC;IACpF;;OAEG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAA;IACrC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC;;OAEG;IACH,MAAM,EAAE,+DAA+D,CAAA;CACxE,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './Config.ts';
4
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,aAAa,CAAA;AAE5F,MAAM,MAAM,yDAAyD,GAAG,aAAa,CACnF,eAAe,CAAC,yDAAyD,CAAC,CAC3E,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { TemporalIndexingDivinerSchema } from '../Schema.ts';
2
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`;
3
+ export declare const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema;
4
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,MAAM,yDAAyD,GAAG,GAAG,6BAA6B,qCAAqC,CAAA;AAC7I,eAAO,MAAM,yDAAyD,EAAE,yDACD,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,10 @@
1
+ export * from './Config.ts';
2
+ export * from './DivinerQueryToIndexQueryDiviner/index.ts';
3
+ export * from './IndexCandidateToIndexDiviner/index.ts';
4
+ export * from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
5
+ export * from './Params.ts';
6
+ export * from './Result/index.ts';
7
+ export * from './ResultIndex/index.ts';
8
+ export * from './Schema.ts';
9
+ export * from './StateToIndexCandidateDiviner/index.ts';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,4CAA4C,CAAA;AAC1D,cAAc,yCAAyC,CAAA;AACvD,cAAc,4DAA4D,CAAA;AAC1E,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,yCAAyC,CAAA"}
@@ -0,0 +1,53 @@
1
+ import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model';
2
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
3
+ import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model';
4
+ import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts';
5
+ import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
6
+ import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts';
7
+ export declare const TemporalIndexingDivinerConfigSchema: "network.xyo.diviner.indexing.temporal.config";
8
+ export type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema;
9
+ /**
10
+ * Config section for declaring each indexing diviner stage
11
+ */
12
+ export type IndexingDivinerStageTransformConfig = {
13
+ [key in IndexingDivinerStage]: SchemaToJsonPathTransformExpressionsDictionary;
14
+ };
15
+ /**
16
+ * Diviner Config for a Diviner which Indexes Payloads
17
+ */
18
+ export type TemporalIndexingDivinerConfig = DivinerConfig<{
19
+ /**
20
+ * Where the diviner should store it's index
21
+ */
22
+ indexStore?: SearchableStorage;
23
+ /**
24
+ * Config section for name/address of individual diviner stages
25
+ */
26
+ indexingDivinerStages?: IndexingDivinerStageConfig;
27
+ /**
28
+ * The maximum number of payloads to index at a time
29
+ */
30
+ payloadDivinerLimit?: number;
31
+ /**
32
+ * How often to poll for new payloads to index
33
+ */
34
+ pollFrequency?: number;
35
+ /**
36
+ * The schema for this config
37
+ */
38
+ schema: TemporalIndexingDivinerConfigSchema;
39
+ /**
40
+ * Optional config section for individual diviner stages
41
+ */
42
+ stageConfigs?: {
43
+ divinerQueryToIndexQueryDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>;
44
+ indexCandidateToIndexDiviner?: Omit<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig, 'schema'>;
45
+ indexQueryResponseToDivinerQueryResponseDiviner?: Omit<TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig, 'schema'>;
46
+ stateToIndexCandidateDiviner?: Omit<TemporalIndexingDivinerStateToIndexCandidateDivinerConfig, 'schema'>;
47
+ };
48
+ /**
49
+ * Where the diviner should persist its internal state
50
+ */
51
+ stateStore?: SearchableStorage;
52
+ }>;
53
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAA;AAC3G,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAElF,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,4CAA4C,CAAA;AAC9H,OAAO,KAAK,EAAE,4EAA4E,EAAE,MAAM,4DAA4D,CAAA;AAE9J,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,yCAAyC,CAAA;AAExH,eAAO,MAAM,mCAAmC,gDAAqD,CAAA;AACrG,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;KAC/C,GAAG,IAAI,oBAAoB,GAAG,8CAA8C;CAC9E,CAAA;AAGD;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,0BAA0B,CAAA;IAClD;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,MAAM,EAAE,mCAAmC,CAAA;IAC3C;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,+BAA+B,CAAC,EAAE,IAAI,CAAC,4DAA4D,EAAE,QAAQ,CAAC,CAAA;QAC9G,4BAA4B,CAAC,EAAE,IAAI,CAAC,4DAA4D,EAAE,QAAQ,CAAC,CAAA;QAC3G,+CAA+C,CAAC,EAAE,IAAI,CAAC,4EAA4E,EAAE,QAAQ,CAAC,CAAA;QAC9I,4BAA4B,CAAC,EAAE,IAAI,CAAC,yDAAyD,EAAE,QAAQ,CAAC,CAAA;KACzG,CAAA;IACD;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B,CAAC,CAAA"}
@@ -0,0 +1,32 @@
1
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
3
+ import type { Schema } from '@xyo-network/payload-model';
4
+ import { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts';
5
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`;
6
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
7
+ /**
8
+ * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query
9
+ */
10
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig = DivinerConfig<{
11
+ /**
12
+ * The schema of the diviner query payloads
13
+ */
14
+ divinerQuerySchema?: Schema;
15
+ /**
16
+ * The schema of the index query payloads
17
+ */
18
+ indexQuerySchema?: Schema;
19
+ /**
20
+ * The schema of the index payloads
21
+ */
22
+ indexSchema?: Schema;
23
+ /**
24
+ * The config schema
25
+ */
26
+ schema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
27
+ /**
28
+ * The transforms to apply to the source payloads
29
+ */
30
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
31
+ }>;
32
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,EAAE,4DAA4D,EAAE,MAAM,aAAa,CAAA;AAE1F,MAAM,MAAM,kEAAkE,GAC1E,GAAG,4DAA4D,SAAS,CAAA;AAC5E,eAAO,MAAM,kEAAkE,EAAE,kEACP,CAAA;AAE1E;;GAEG;AACH,MAAM,MAAM,4DAA4D,GAAG,aAAa,CAAC;IACvF;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,MAAM,EAAE,kEAAkE,CAAA;IAC1E;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './Config.ts';
4
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig>>;
5
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,aAAa,CAAA;AAE/F,MAAM,MAAM,4DAA4D,GAAG,aAAa,CACtF,eAAe,CAAC,4DAA4D,CAAC,CAC9E,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { TemporalIndexingDivinerSchema } from '../Schema.ts';
2
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`;
3
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema;
4
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,MAAM,4DAA4D,GAAG,GAAG,6BAA6B,wCAAwC,CAAA;AACnJ,eAAO,MAAM,4DAA4D,EAAE,4DACD,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,19 @@
1
+ import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
+ import type { DivinerConfig } from '@xyo-network/diviner-model';
3
+ import { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts';
4
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`;
5
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
6
+ /**
7
+ * Diviner Config for a Diviner which transforms Index Candidates to Indexes
8
+ */
9
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig = DivinerConfig<{
10
+ /**
11
+ * The config schema
12
+ */
13
+ schema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
14
+ /**
15
+ * The transforms to apply to the source payloads
16
+ */
17
+ schemaTransforms?: SchemaToJsonPathTransformExpressionsDictionary;
18
+ }>;
19
+ //# sourceMappingURL=Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,qCAAqC,CAAA;AACzG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,EAAE,yDAAyD,EAAE,MAAM,aAAa,CAAA;AAEvF,MAAM,MAAM,+DAA+D,GAAG,GAAG,yDAAyD,SAAS,CAAA;AACnJ,eAAO,MAAM,+DAA+D,EAAE,+DACP,CAAA;AAEvE;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG,aAAa,CAAC;IACpF;;OAEG;IACH,MAAM,EAAE,+DAA+D,CAAA;IACvE;;OAEG;IACH,gBAAgB,CAAC,EAAE,8CAA8C,CAAA;CAClE,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { DivinerParams } from '@xyo-network/diviner-model';
2
+ import type { AnyConfigSchema } from '@xyo-network/module-model';
3
+ import type { TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig } from './Config.ts';
4
+ /**
5
+ * Diviner Params for a Diviner which transforms Index Candidates to Indexes
6
+ */
7
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerParams = DivinerParams<AnyConfigSchema<TemporalIndexingDivinerIndexCandidateToIndexDivinerConfig>>;
8
+ //# sourceMappingURL=Params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,aAAa,CAAA;AAE5F;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG,aAAa,CACnF,eAAe,CAAC,yDAAyD,CAAC,CAC3E,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { TemporalIndexingDivinerSchema } from '../Schema.ts';
2
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`;
3
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema;
4
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,MAAM,yDAAyD,GAAG,GAAG,6BAA6B,qCAAqC,CAAA;AAC7I,eAAO,MAAM,yDAAyD,EAAE,yDACA,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './Config.ts';
2
+ export * from './Params.ts';
3
+ export * from './Schema.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}