@xyo-network/diviner-temporal-indexing-model 5.2.27 → 5.3.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 (56) hide show
  1. package/dist/browser/Config.d.ts +3 -1
  2. package/dist/browser/Config.d.ts.map +1 -1
  3. package/dist/browser/DivinerQueryToIndexQueryDiviner/Config.d.ts +5 -4
  4. package/dist/browser/DivinerQueryToIndexQueryDiviner/Config.d.ts.map +1 -1
  5. package/dist/browser/IndexCandidateToIndexDiviner/Config.d.ts +4 -3
  6. package/dist/browser/IndexCandidateToIndexDiviner/Config.d.ts.map +1 -1
  7. package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts +4 -3
  8. package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts.map +1 -1
  9. package/dist/browser/Result/Schema.d.ts +3 -1
  10. package/dist/browser/Result/Schema.d.ts.map +1 -1
  11. package/dist/browser/ResultIndex/Schema.d.ts +3 -1
  12. package/dist/browser/ResultIndex/Schema.d.ts.map +1 -1
  13. package/dist/browser/StateToIndexCandidateDiviner/Config.d.ts +4 -3
  14. package/dist/browser/StateToIndexCandidateDiviner/Config.d.ts.map +1 -1
  15. package/dist/browser/index.mjs +24 -7
  16. package/dist/browser/index.mjs.map +1 -1
  17. package/dist/neutral/Config.d.ts +3 -1
  18. package/dist/neutral/Config.d.ts.map +1 -1
  19. package/dist/neutral/DivinerQueryToIndexQueryDiviner/Config.d.ts +5 -4
  20. package/dist/neutral/DivinerQueryToIndexQueryDiviner/Config.d.ts.map +1 -1
  21. package/dist/neutral/IndexCandidateToIndexDiviner/Config.d.ts +4 -3
  22. package/dist/neutral/IndexCandidateToIndexDiviner/Config.d.ts.map +1 -1
  23. package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts +4 -3
  24. package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts.map +1 -1
  25. package/dist/neutral/Result/Schema.d.ts +3 -1
  26. package/dist/neutral/Result/Schema.d.ts.map +1 -1
  27. package/dist/neutral/ResultIndex/Schema.d.ts +3 -1
  28. package/dist/neutral/ResultIndex/Schema.d.ts.map +1 -1
  29. package/dist/neutral/StateToIndexCandidateDiviner/Config.d.ts +4 -3
  30. package/dist/neutral/StateToIndexCandidateDiviner/Config.d.ts.map +1 -1
  31. package/dist/neutral/index.mjs +24 -7
  32. package/dist/neutral/index.mjs.map +1 -1
  33. package/dist/node/Config.d.ts +3 -1
  34. package/dist/node/Config.d.ts.map +1 -1
  35. package/dist/node/DivinerQueryToIndexQueryDiviner/Config.d.ts +5 -4
  36. package/dist/node/DivinerQueryToIndexQueryDiviner/Config.d.ts.map +1 -1
  37. package/dist/node/IndexCandidateToIndexDiviner/Config.d.ts +4 -3
  38. package/dist/node/IndexCandidateToIndexDiviner/Config.d.ts.map +1 -1
  39. package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts +4 -3
  40. package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Config.d.ts.map +1 -1
  41. package/dist/node/Result/Schema.d.ts +3 -1
  42. package/dist/node/Result/Schema.d.ts.map +1 -1
  43. package/dist/node/ResultIndex/Schema.d.ts +3 -1
  44. package/dist/node/ResultIndex/Schema.d.ts.map +1 -1
  45. package/dist/node/StateToIndexCandidateDiviner/Config.d.ts +4 -3
  46. package/dist/node/StateToIndexCandidateDiviner/Config.d.ts.map +1 -1
  47. package/dist/node/index.mjs +24 -7
  48. package/dist/node/index.mjs.map +1 -1
  49. package/package.json +7 -7
  50. package/src/Config.ts +2 -1
  51. package/src/DivinerQueryToIndexQueryDiviner/Config.ts +5 -4
  52. package/src/IndexCandidateToIndexDiviner/Config.ts +5 -3
  53. package/src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts +5 -4
  54. package/src/Result/Schema.ts +3 -1
  55. package/src/ResultIndex/Schema.ts +3 -1
  56. package/src/StateToIndexCandidateDiviner/Config.ts +5 -3
@@ -4,7 +4,9 @@ import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-mode
4
4
  import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts';
5
5
  import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
6
6
  import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts';
7
- export declare const TemporalIndexingDivinerConfigSchema: "network.xyo.diviner.indexing.temporal.config";
7
+ export declare const TemporalIndexingDivinerConfigSchema: string & {
8
+ readonly __schema: true;
9
+ };
8
10
  export type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema;
9
11
  /**
10
12
  * Config section for declaring each indexing diviner stage
@@ -1 +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"}
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;AAGlF,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;;CAA4D,CAAA;AAC5G,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"}
@@ -1,9 +1,10 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ import { type Schema } from '@xyo-network/payload-model';
4
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: string & {
5
+ readonly __schema: true;
6
+ };
7
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
7
8
  /**
8
9
  * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query
9
10
  */
@@ -1 +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,kEACL,CAAA;AAE5E;;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"}
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,EAAY,KAAK,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAIlE,eAAO,MAAM,kEAAkE;;CACa,CAAA;AAE5F,MAAM,MAAM,kEAAkE,GAC1E,OAAO,kEAAkE,CAAA;AAE7E;;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"}
@@ -1,8 +1,9 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms Index Candidates to Indexes
8
9
  */
@@ -1 +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,+DACL,CAAA;AAEzE;;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"}
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;AAK/D,eAAO,MAAM,+DAA+D;;CACa,CAAA;AAEzF,MAAM,MAAM,+DAA+D,GAAG,OAAO,+DAA+D,CAAA;AAEpJ;;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"}
@@ -1,8 +1,9 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ export declare const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response
8
9
  */
@@ -1 +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,kFACL,CAAA;AAE5F;;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"}
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;AAK/D,eAAO,MAAM,kFAAkF;;CACa,CAAA;AAE5G,MAAM,MAAM,kFAAkF,GAC1F,OAAO,kFAAkF,CAAA;AAE7F;;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"}
@@ -1,3 +1,5 @@
1
- export declare const TemporalIndexingDivinerResultSchema: "network.xyo.diviner.indexing.temporal.result";
1
+ export declare const TemporalIndexingDivinerResultSchema: string & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Result/Schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mCAAmC;;CAA4D,CAAA;AAC5G,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA"}
@@ -1,3 +1,5 @@
1
- export declare const TemporalIndexingDivinerResultIndexSchema: "network.xyo.diviner.indexing.temporal.result.index";
1
+ export declare const TemporalIndexingDivinerResultIndexSchema: string & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/ResultIndex/Schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wCAAwC;;CAAiE,CAAA;AACtH,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAA"}
@@ -1,8 +1,9 @@
1
1
  import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model';
2
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;
3
+ export declare const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates
8
9
  */
@@ -1 +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,+DACL,CAAA;AAEzE;;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"}
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;AAKlF,eAAO,MAAM,+DAA+D;;CACa,CAAA;AAEzF,MAAM,MAAM,+DAA+D,GAAG,OAAO,+DAA+D,CAAA;AAEpJ;;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"}
@@ -1,33 +1,46 @@
1
+ // src/Config.ts
2
+ import { asSchema } from "@xyo-network/payload-model";
3
+
1
4
  // src/Schema.ts
2
5
  import { IndexingDivinerSchema } from "@xyo-network/diviner-indexing-model";
3
6
  var TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal`;
4
7
 
5
8
  // src/Config.ts
6
- var TemporalIndexingDivinerConfigSchema = `${TemporalIndexingDivinerSchema}.config`;
9
+ var TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true);
10
+
11
+ // src/DivinerQueryToIndexQueryDiviner/Config.ts
12
+ import { asSchema as asSchema2 } from "@xyo-network/payload-model";
7
13
 
8
14
  // src/DivinerQueryToIndexQueryDiviner/Schema.ts
9
15
  var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`;
10
16
 
11
17
  // src/DivinerQueryToIndexQueryDiviner/Config.ts
12
- var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`;
18
+ var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = asSchema2(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true);
19
+
20
+ // src/IndexCandidateToIndexDiviner/Config.ts
21
+ import { asSchema as asSchema3 } from "@xyo-network/payload-model";
13
22
 
14
23
  // src/IndexCandidateToIndexDiviner/Schema.ts
15
24
  var TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`;
16
25
 
17
26
  // src/IndexCandidateToIndexDiviner/Config.ts
18
- var TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`;
27
+ var TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = asSchema3(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true);
28
+
29
+ // src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts
30
+ import { asSchema as asSchema4 } from "@xyo-network/payload-model";
19
31
 
20
32
  // src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts
21
33
  var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`;
22
34
 
23
35
  // src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts
24
- var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`;
36
+ var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = asSchema4(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true);
25
37
 
26
38
  // src/Result/Payload.ts
27
39
  import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
28
40
 
29
41
  // src/Result/Schema.ts
30
- var TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result`;
42
+ import { asSchema as asSchema5 } from "@xyo-network/payload-model";
43
+ var TemporalIndexingDivinerResultSchema = asSchema5(`${TemporalIndexingDivinerSchema}.result`, true);
31
44
 
32
45
  // src/Result/Payload.ts
33
46
  var isTemporalIndexingDivinerResult = isPayloadOfSchemaType(TemporalIndexingDivinerResultSchema);
@@ -36,18 +49,22 @@ var isTemporalIndexingDivinerResult = isPayloadOfSchemaType(TemporalIndexingDivi
36
49
  import { isPayloadOfSchemaType as isPayloadOfSchemaType2 } from "@xyo-network/payload-model";
37
50
 
38
51
  // src/ResultIndex/Schema.ts
39
- var TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index`;
52
+ import { asSchema as asSchema6 } from "@xyo-network/payload-model";
53
+ var TemporalIndexingDivinerResultIndexSchema = asSchema6(`${TemporalIndexingDivinerResultSchema}.index`, true);
40
54
 
41
55
  // src/ResultIndex/Payload.ts
42
56
  var isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType2(
43
57
  TemporalIndexingDivinerResultIndexSchema
44
58
  );
45
59
 
60
+ // src/StateToIndexCandidateDiviner/Config.ts
61
+ import { asSchema as asSchema7 } from "@xyo-network/payload-model";
62
+
46
63
  // src/StateToIndexCandidateDiviner/Schema.ts
47
64
  var TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`;
48
65
 
49
66
  // src/StateToIndexCandidateDiviner/Config.ts
50
- var TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`;
67
+ var TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = asSchema7(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true);
51
68
  export {
52
69
  TemporalIndexingDivinerConfigSchema,
53
70
  TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts"],"sourcesContent":["import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\n\nexport const TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal` as const\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","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'\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 = `${TemporalIndexingDivinerSchema}.config` as const\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`\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 { 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 { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`\n// eslint-disable-next-line @stylistic/max-len\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`\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 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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result` as const\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 { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index` as const\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`\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"],"mappings":";AAAA,SAAS,6BAA6B;AAE/B,IAAM,gCAAgC,GAAG,qBAAqB;;;ACO9D,IAAM,sCAAsC,GAAG,6BAA6B;;;ACN5E,IAAM,+DACT,GAAG,6BAA6B;;;ACI7B,IAAM,qEACT,GAAG,4DAA4D;;;ACN5D,IAAM,4DACT,GAAG,6BAA6B;;;ACE7B,IAAM,kEACT,GAAG,yDAAyD;;;ACFzD,IAAM,+EACT,GAAG,6BAA6B;;;ACE7B,IAAM,qFACT,GAAG,4EAA4E;;;ACPnF,SAAS,6BAA6B;;;ACA/B,IAAM,sCAAsC,GAAG,6BAA6B;;;ADW5E,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAA,8BAA6B;;;ACC/B,IAAM,2CAA2C,GAAG,mCAAmC;;;ADUvF,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEXO,IAAM,4DACT,GAAG,6BAA6B;;;ACE7B,IAAM,kEACT,GAAG,yDAAyD;","names":["isPayloadOfSchemaType","isPayloadOfSchemaType"]}
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'\n\nexport const TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal` as const\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\n"],"mappings":";AAGA,SAAS,gBAAgB;;;ACHzB,SAAS,6BAA6B;AAE/B,IAAM,gCAAgC,GAAG,qBAAqB;;;ADQ9D,IAAM,sCAAsC,SAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAA,iBAA6B;;;ACC/B,IAAM,+DACT,GAAG,6BAA6B;;;ADE7B,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACClB,IAAM,4DACT,GAAG,6BAA6B;;;ADE7B,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,iBAAgB;;;ACClB,IAAM,4DACT,GAAG,6BAA6B;;;ADE7B,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema"]}
@@ -4,7 +4,9 @@ import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-mode
4
4
  import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts';
5
5
  import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
6
6
  import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts';
7
- export declare const TemporalIndexingDivinerConfigSchema: "network.xyo.diviner.indexing.temporal.config";
7
+ export declare const TemporalIndexingDivinerConfigSchema: string & {
8
+ readonly __schema: true;
9
+ };
8
10
  export type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema;
9
11
  /**
10
12
  * Config section for declaring each indexing diviner stage
@@ -1 +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"}
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;AAGlF,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;;CAA4D,CAAA;AAC5G,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"}
@@ -1,9 +1,10 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ import { type Schema } from '@xyo-network/payload-model';
4
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: string & {
5
+ readonly __schema: true;
6
+ };
7
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
7
8
  /**
8
9
  * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query
9
10
  */
@@ -1 +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,kEACL,CAAA;AAE5E;;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"}
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,EAAY,KAAK,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAIlE,eAAO,MAAM,kEAAkE;;CACa,CAAA;AAE5F,MAAM,MAAM,kEAAkE,GAC1E,OAAO,kEAAkE,CAAA;AAE7E;;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"}
@@ -1,8 +1,9 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms Index Candidates to Indexes
8
9
  */
@@ -1 +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,+DACL,CAAA;AAEzE;;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"}
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;AAK/D,eAAO,MAAM,+DAA+D;;CACa,CAAA;AAEzF,MAAM,MAAM,+DAA+D,GAAG,OAAO,+DAA+D,CAAA;AAEpJ;;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"}
@@ -1,8 +1,9 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ export declare const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response
8
9
  */
@@ -1 +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,kFACL,CAAA;AAE5F;;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"}
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;AAK/D,eAAO,MAAM,kFAAkF;;CACa,CAAA;AAE5G,MAAM,MAAM,kFAAkF,GAC1F,OAAO,kFAAkF,CAAA;AAE7F;;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"}
@@ -1,3 +1,5 @@
1
- export declare const TemporalIndexingDivinerResultSchema: "network.xyo.diviner.indexing.temporal.result";
1
+ export declare const TemporalIndexingDivinerResultSchema: string & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Result/Schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mCAAmC;;CAA4D,CAAA;AAC5G,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA"}
@@ -1,3 +1,5 @@
1
- export declare const TemporalIndexingDivinerResultIndexSchema: "network.xyo.diviner.indexing.temporal.result.index";
1
+ export declare const TemporalIndexingDivinerResultIndexSchema: string & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/ResultIndex/Schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wCAAwC;;CAAiE,CAAA;AACtH,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAA"}
@@ -1,8 +1,9 @@
1
1
  import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model';
2
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;
3
+ export declare const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates
8
9
  */
@@ -1 +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,+DACL,CAAA;AAEzE;;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"}
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;AAKlF,eAAO,MAAM,+DAA+D;;CACa,CAAA;AAEzF,MAAM,MAAM,+DAA+D,GAAG,OAAO,+DAA+D,CAAA;AAEpJ;;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"}
@@ -1,33 +1,46 @@
1
+ // src/Config.ts
2
+ import { asSchema } from "@xyo-network/payload-model";
3
+
1
4
  // src/Schema.ts
2
5
  import { IndexingDivinerSchema } from "@xyo-network/diviner-indexing-model";
3
6
  var TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal`;
4
7
 
5
8
  // src/Config.ts
6
- var TemporalIndexingDivinerConfigSchema = `${TemporalIndexingDivinerSchema}.config`;
9
+ var TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true);
10
+
11
+ // src/DivinerQueryToIndexQueryDiviner/Config.ts
12
+ import { asSchema as asSchema2 } from "@xyo-network/payload-model";
7
13
 
8
14
  // src/DivinerQueryToIndexQueryDiviner/Schema.ts
9
15
  var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`;
10
16
 
11
17
  // src/DivinerQueryToIndexQueryDiviner/Config.ts
12
- var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`;
18
+ var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = asSchema2(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true);
19
+
20
+ // src/IndexCandidateToIndexDiviner/Config.ts
21
+ import { asSchema as asSchema3 } from "@xyo-network/payload-model";
13
22
 
14
23
  // src/IndexCandidateToIndexDiviner/Schema.ts
15
24
  var TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`;
16
25
 
17
26
  // src/IndexCandidateToIndexDiviner/Config.ts
18
- var TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`;
27
+ var TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = asSchema3(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true);
28
+
29
+ // src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts
30
+ import { asSchema as asSchema4 } from "@xyo-network/payload-model";
19
31
 
20
32
  // src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts
21
33
  var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`;
22
34
 
23
35
  // src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts
24
- var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`;
36
+ var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = asSchema4(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true);
25
37
 
26
38
  // src/Result/Payload.ts
27
39
  import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
28
40
 
29
41
  // src/Result/Schema.ts
30
- var TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result`;
42
+ import { asSchema as asSchema5 } from "@xyo-network/payload-model";
43
+ var TemporalIndexingDivinerResultSchema = asSchema5(`${TemporalIndexingDivinerSchema}.result`, true);
31
44
 
32
45
  // src/Result/Payload.ts
33
46
  var isTemporalIndexingDivinerResult = isPayloadOfSchemaType(TemporalIndexingDivinerResultSchema);
@@ -36,18 +49,22 @@ var isTemporalIndexingDivinerResult = isPayloadOfSchemaType(TemporalIndexingDivi
36
49
  import { isPayloadOfSchemaType as isPayloadOfSchemaType2 } from "@xyo-network/payload-model";
37
50
 
38
51
  // src/ResultIndex/Schema.ts
39
- var TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index`;
52
+ import { asSchema as asSchema6 } from "@xyo-network/payload-model";
53
+ var TemporalIndexingDivinerResultIndexSchema = asSchema6(`${TemporalIndexingDivinerResultSchema}.index`, true);
40
54
 
41
55
  // src/ResultIndex/Payload.ts
42
56
  var isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType2(
43
57
  TemporalIndexingDivinerResultIndexSchema
44
58
  );
45
59
 
60
+ // src/StateToIndexCandidateDiviner/Config.ts
61
+ import { asSchema as asSchema7 } from "@xyo-network/payload-model";
62
+
46
63
  // src/StateToIndexCandidateDiviner/Schema.ts
47
64
  var TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`;
48
65
 
49
66
  // src/StateToIndexCandidateDiviner/Config.ts
50
- var TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`;
67
+ var TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = asSchema7(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true);
51
68
  export {
52
69
  TemporalIndexingDivinerConfigSchema,
53
70
  TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts"],"sourcesContent":["import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\n\nexport const TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal` as const\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","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'\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 = `${TemporalIndexingDivinerSchema}.config` as const\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`\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 { 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 { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`\n// eslint-disable-next-line @stylistic/max-len\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`\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 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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result` as const\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 { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index` as const\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`\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"],"mappings":";AAAA,SAAS,6BAA6B;AAE/B,IAAM,gCAAgC,GAAG,qBAAqB;;;ACO9D,IAAM,sCAAsC,GAAG,6BAA6B;;;ACN5E,IAAM,+DACT,GAAG,6BAA6B;;;ACI7B,IAAM,qEACT,GAAG,4DAA4D;;;ACN5D,IAAM,4DACT,GAAG,6BAA6B;;;ACE7B,IAAM,kEACT,GAAG,yDAAyD;;;ACFzD,IAAM,+EACT,GAAG,6BAA6B;;;ACE7B,IAAM,qFACT,GAAG,4EAA4E;;;ACPnF,SAAS,6BAA6B;;;ACA/B,IAAM,sCAAsC,GAAG,6BAA6B;;;ADW5E,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAA,8BAA6B;;;ACC/B,IAAM,2CAA2C,GAAG,mCAAmC;;;ADUvF,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEXO,IAAM,4DACT,GAAG,6BAA6B;;;ACE7B,IAAM,kEACT,GAAG,yDAAyD;","names":["isPayloadOfSchemaType","isPayloadOfSchemaType"]}
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'\n\nexport const TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal` as const\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\n"],"mappings":";AAGA,SAAS,gBAAgB;;;ACHzB,SAAS,6BAA6B;AAE/B,IAAM,gCAAgC,GAAG,qBAAqB;;;ADQ9D,IAAM,sCAAsC,SAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAA,iBAA6B;;;ACC/B,IAAM,+DACT,GAAG,6BAA6B;;;ADE7B,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACClB,IAAM,4DACT,GAAG,6BAA6B;;;ADE7B,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,iBAAgB;;;ACClB,IAAM,4DACT,GAAG,6BAA6B;;;ADE7B,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema"]}
@@ -4,7 +4,9 @@ import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-mode
4
4
  import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts';
5
5
  import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
6
6
  import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts';
7
- export declare const TemporalIndexingDivinerConfigSchema: "network.xyo.diviner.indexing.temporal.config";
7
+ export declare const TemporalIndexingDivinerConfigSchema: string & {
8
+ readonly __schema: true;
9
+ };
8
10
  export type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema;
9
11
  /**
10
12
  * Config section for declaring each indexing diviner stage
@@ -1 +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"}
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;AAGlF,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;;CAA4D,CAAA;AAC5G,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"}
@@ -1,9 +1,10 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ import { type Schema } from '@xyo-network/payload-model';
4
+ export declare const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: string & {
5
+ readonly __schema: true;
6
+ };
7
+ export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema;
7
8
  /**
8
9
  * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query
9
10
  */
@@ -1 +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,kEACL,CAAA;AAE5E;;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"}
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,EAAY,KAAK,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAIlE,eAAO,MAAM,kEAAkE;;CACa,CAAA;AAE5F,MAAM,MAAM,kEAAkE,GAC1E,OAAO,kEAAkE,CAAA;AAE7E;;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"}
@@ -1,8 +1,9 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ export declare const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms Index Candidates to Indexes
8
9
  */
@@ -1 +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,+DACL,CAAA;AAEzE;;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"}
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;AAK/D,eAAO,MAAM,+DAA+D;;CACa,CAAA;AAEzF,MAAM,MAAM,+DAA+D,GAAG,OAAO,+DAA+D,CAAA;AAEpJ;;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"}
@@ -1,8 +1,9 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model';
2
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;
3
+ export declare const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response
8
9
  */
@@ -1 +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,kFACL,CAAA;AAE5F;;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"}
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;AAK/D,eAAO,MAAM,kFAAkF;;CACa,CAAA;AAE5G,MAAM,MAAM,kFAAkF,GAC1F,OAAO,kFAAkF,CAAA;AAE7F;;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"}
@@ -1,3 +1,5 @@
1
- export declare const TemporalIndexingDivinerResultSchema: "network.xyo.diviner.indexing.temporal.result";
1
+ export declare const TemporalIndexingDivinerResultSchema: string & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Result/Schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mCAAmC;;CAA4D,CAAA;AAC5G,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAA"}
@@ -1,3 +1,5 @@
1
- export declare const TemporalIndexingDivinerResultIndexSchema: "network.xyo.diviner.indexing.temporal.result.index";
1
+ export declare const TemporalIndexingDivinerResultIndexSchema: string & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/ResultIndex/Schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wCAAwC;;CAAiE,CAAA;AACtH,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAA"}
@@ -1,8 +1,9 @@
1
1
  import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model';
2
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;
3
+ export declare const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: string & {
4
+ readonly __schema: true;
5
+ };
6
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema;
6
7
  /**
7
8
  * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates
8
9
  */
@@ -1 +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,+DACL,CAAA;AAEzE;;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"}
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;AAKlF,eAAO,MAAM,+DAA+D;;CACa,CAAA;AAEzF,MAAM,MAAM,+DAA+D,GAAG,OAAO,+DAA+D,CAAA;AAEpJ;;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"}
@@ -1,33 +1,46 @@
1
+ // src/Config.ts
2
+ import { asSchema } from "@xyo-network/payload-model";
3
+
1
4
  // src/Schema.ts
2
5
  import { IndexingDivinerSchema } from "@xyo-network/diviner-indexing-model";
3
6
  var TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal`;
4
7
 
5
8
  // src/Config.ts
6
- var TemporalIndexingDivinerConfigSchema = `${TemporalIndexingDivinerSchema}.config`;
9
+ var TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true);
10
+
11
+ // src/DivinerQueryToIndexQueryDiviner/Config.ts
12
+ import { asSchema as asSchema2 } from "@xyo-network/payload-model";
7
13
 
8
14
  // src/DivinerQueryToIndexQueryDiviner/Schema.ts
9
15
  var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`;
10
16
 
11
17
  // src/DivinerQueryToIndexQueryDiviner/Config.ts
12
- var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`;
18
+ var TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema = asSchema2(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true);
19
+
20
+ // src/IndexCandidateToIndexDiviner/Config.ts
21
+ import { asSchema as asSchema3 } from "@xyo-network/payload-model";
13
22
 
14
23
  // src/IndexCandidateToIndexDiviner/Schema.ts
15
24
  var TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`;
16
25
 
17
26
  // src/IndexCandidateToIndexDiviner/Config.ts
18
- var TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`;
27
+ var TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = asSchema3(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true);
28
+
29
+ // src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts
30
+ import { asSchema as asSchema4 } from "@xyo-network/payload-model";
19
31
 
20
32
  // src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts
21
33
  var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexQueryResponseToDivinerQueryResponseDiviner`;
22
34
 
23
35
  // src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts
24
- var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`;
36
+ var TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema = asSchema4(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true);
25
37
 
26
38
  // src/Result/Payload.ts
27
39
  import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
28
40
 
29
41
  // src/Result/Schema.ts
30
- var TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result`;
42
+ import { asSchema as asSchema5 } from "@xyo-network/payload-model";
43
+ var TemporalIndexingDivinerResultSchema = asSchema5(`${TemporalIndexingDivinerSchema}.result`, true);
31
44
 
32
45
  // src/Result/Payload.ts
33
46
  var isTemporalIndexingDivinerResult = isPayloadOfSchemaType(TemporalIndexingDivinerResultSchema);
@@ -36,18 +49,22 @@ var isTemporalIndexingDivinerResult = isPayloadOfSchemaType(TemporalIndexingDivi
36
49
  import { isPayloadOfSchemaType as isPayloadOfSchemaType2 } from "@xyo-network/payload-model";
37
50
 
38
51
  // src/ResultIndex/Schema.ts
39
- var TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index`;
52
+ import { asSchema as asSchema6 } from "@xyo-network/payload-model";
53
+ var TemporalIndexingDivinerResultIndexSchema = asSchema6(`${TemporalIndexingDivinerResultSchema}.index`, true);
40
54
 
41
55
  // src/ResultIndex/Payload.ts
42
56
  var isTemporalIndexingDivinerResultIndex = isPayloadOfSchemaType2(
43
57
  TemporalIndexingDivinerResultIndexSchema
44
58
  );
45
59
 
60
+ // src/StateToIndexCandidateDiviner/Config.ts
61
+ import { asSchema as asSchema7 } from "@xyo-network/payload-model";
62
+
46
63
  // src/StateToIndexCandidateDiviner/Schema.ts
47
64
  var TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`;
48
65
 
49
66
  // src/StateToIndexCandidateDiviner/Config.ts
50
- var TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`;
67
+ var TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = asSchema7(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true);
51
68
  export {
52
69
  TemporalIndexingDivinerConfigSchema,
53
70
  TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/DivinerQueryToIndexQueryDiviner/Schema.ts","../../src/DivinerQueryToIndexQueryDiviner/Config.ts","../../src/IndexCandidateToIndexDiviner/Schema.ts","../../src/IndexCandidateToIndexDiviner/Config.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Schema.ts","../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Config.ts","../../src/Result/Payload.ts","../../src/Result/Schema.ts","../../src/ResultIndex/Payload.ts","../../src/ResultIndex/Schema.ts","../../src/StateToIndexCandidateDiviner/Schema.ts","../../src/StateToIndexCandidateDiviner/Config.ts"],"sourcesContent":["import { IndexingDivinerSchema } from '@xyo-network/diviner-indexing-model'\n\nexport const TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal` as const\nexport type TemporalIndexingDivinerSchema = typeof TemporalIndexingDivinerSchema\n","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'\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 = `${TemporalIndexingDivinerSchema}.config` as const\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Schema } from '@xyo-network/payload-model'\n\nimport { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema\n = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\n","import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`\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 { 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 { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'\nimport type { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`\n// eslint-disable-next-line @stylistic/max-len\nexport const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema\n = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`\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 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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport const TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result` as const\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 { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'\n\nexport const TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index` as const\nexport type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema\n","import { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\n","import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'\nimport type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'\n\nimport { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema\n = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`\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"],"mappings":";AAAA,SAAS,6BAA6B;AAE/B,IAAM,gCAAgC,GAAG,qBAAqB;;;ACO9D,IAAM,sCAAsC,GAAG,6BAA6B;;;ACN5E,IAAM,+DACT,GAAG,6BAA6B;;;ACI7B,IAAM,qEACT,GAAG,4DAA4D;;;ACN5D,IAAM,4DACT,GAAG,6BAA6B;;;ACE7B,IAAM,kEACT,GAAG,yDAAyD;;;ACFzD,IAAM,+EACT,GAAG,6BAA6B;;;ACE7B,IAAM,qFACT,GAAG,4EAA4E;;;ACPnF,SAAS,6BAA6B;;;ACA/B,IAAM,sCAAsC,GAAG,6BAA6B;;;ADW5E,IAAM,kCAAkC,sBAAqD,mCAAmC;;;AEZvI,SAAS,yBAAAA,8BAA6B;;;ACC/B,IAAM,2CAA2C,GAAG,mCAAmC;;;ADUvF,IAAM,uCAAuCC;AAAA,EAClD;AACF;;;AEXO,IAAM,4DACT,GAAG,6BAA6B;;;ACE7B,IAAM,kEACT,GAAG,yDAAyD;","names":["isPayloadOfSchemaType","isPayloadOfSchemaType"]}
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'\n\nexport const TemporalIndexingDivinerSchema = `${IndexingDivinerSchema}.temporal` as const\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\nexport const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.divinerQueryToIndexQueryDiviner`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\nexport const TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.indexCandidateToIndexDiviner`\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 { TemporalIndexingDivinerSchema } from '../Schema.ts'\n\nexport type TemporalIndexingDivinerStateToIndexCandidateDivinerSchema = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\nexport const TemporalIndexingDivinerStateToIndexCandidateDivinerSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerSchema\n = `${TemporalIndexingDivinerSchema}.stage.stateToIndexCandidateDiviner`\n"],"mappings":";AAGA,SAAS,gBAAgB;;;ACHzB,SAAS,6BAA6B;AAE/B,IAAM,gCAAgC,GAAG,qBAAqB;;;ADQ9D,IAAM,sCAAsC,SAAS,GAAG,6BAA6B,WAAW,IAAI;;;AER3G,SAAS,YAAAA,iBAA6B;;;ACC/B,IAAM,+DACT,GAAG,6BAA6B;;;ADE7B,IAAM,qEACTC,UAAS,GAAG,4DAA4D,WAAW,IAAI;;;AEL3F,SAAS,YAAAC,iBAAgB;;;ACClB,IAAM,4DACT,GAAG,6BAA6B;;;ADE7B,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,iBAAgB;;;ACClB,IAAM,4DACT,GAAG,6BAA6B;;;ADE7B,IAAM,kEACTC,UAAS,GAAG,yDAAyD,WAAW,IAAI;","names":["asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema","isPayloadOfSchemaType","asSchema","asSchema"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-temporal-indexing-model",
3
- "version": "5.2.27",
3
+ "version": "5.3.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -37,12 +37,12 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@xylabs/sdk-js": "~5.0.64",
40
- "@xyo-network/diviner-boundwitness-model": "~5.2.27",
41
- "@xyo-network/diviner-indexing-model": "~5.2.27",
42
- "@xyo-network/diviner-jsonpath-model": "~5.2.27",
43
- "@xyo-network/diviner-model": "~5.2.27",
44
- "@xyo-network/module-model": "~5.2.27",
45
- "@xyo-network/payload-model": "~5.2.27"
40
+ "@xyo-network/diviner-boundwitness-model": "~5.3.0",
41
+ "@xyo-network/diviner-indexing-model": "~5.3.0",
42
+ "@xyo-network/diviner-jsonpath-model": "~5.3.0",
43
+ "@xyo-network/diviner-model": "~5.3.0",
44
+ "@xyo-network/module-model": "~5.3.0",
45
+ "@xyo-network/payload-model": "~5.3.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@xylabs/ts-scripts-yarn3": "~7.3.2",
package/src/Config.ts CHANGED
@@ -1,13 +1,14 @@
1
1
  import type { IndexingDivinerStage, IndexingDivinerStageConfig } from '@xyo-network/diviner-indexing-model'
2
2
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'
3
3
  import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'
4
+ import { asSchema } from '@xyo-network/payload-model'
4
5
 
5
6
  import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfig } from './DivinerQueryToIndexQueryDiviner/index.ts'
6
7
  import type { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfig } from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts'
7
8
  import { TemporalIndexingDivinerSchema } from './Schema.ts'
8
9
  import type { TemporalIndexingDivinerStateToIndexCandidateDivinerConfig } from './StateToIndexCandidateDiviner/index.ts'
9
10
 
10
- export const TemporalIndexingDivinerConfigSchema = `${TemporalIndexingDivinerSchema}.config` as const
11
+ export const TemporalIndexingDivinerConfigSchema = asSchema(`${TemporalIndexingDivinerSchema}.config`, true)
11
12
  export type TemporalIndexingDivinerConfigSchema = typeof TemporalIndexingDivinerConfigSchema
12
13
 
13
14
  /**
@@ -1,13 +1,14 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'
2
2
  import type { DivinerConfig } from '@xyo-network/diviner-model'
3
- import type { Schema } from '@xyo-network/payload-model'
3
+ import { asSchema, type Schema } from '@xyo-network/payload-model'
4
4
 
5
5
  import { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema } from './Schema.ts'
6
6
 
7
+ export const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema
8
+ = asSchema(`${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`, true)
9
+
7
10
  export type TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema
8
- = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`
9
- export const TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema: TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema
10
- = `${TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerSchema}.config`
11
+ = typeof TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerConfigSchema
11
12
 
12
13
  /**
13
14
  * Diviner Config for a Diviner which transforms a Diviner Query to an Index Query
@@ -1,11 +1,13 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'
2
2
  import type { DivinerConfig } from '@xyo-network/diviner-model'
3
+ import { asSchema } from '@xyo-network/payload-model'
3
4
 
4
5
  import { TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema } from './Schema.ts'
5
6
 
6
- export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`
7
- export const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema: TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema
8
- = `${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`
7
+ export const TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema
8
+ = asSchema(`${TemporalIndexingDivinerIndexCandidateToIndexDivinerSchema}.config`, true)
9
+
10
+ export type TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema = typeof TemporalIndexingDivinerIndexCandidateToIndexDivinerConfigSchema
9
11
 
10
12
  /**
11
13
  * Diviner Config for a Diviner which transforms Index Candidates to Indexes
@@ -1,13 +1,14 @@
1
1
  import type { SchemaToJsonPathTransformExpressionsDictionary } from '@xyo-network/diviner-jsonpath-model'
2
2
  import type { DivinerConfig } from '@xyo-network/diviner-model'
3
+ import { asSchema } from '@xyo-network/payload-model'
3
4
 
4
5
  import { TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema } from './Schema.ts'
5
6
 
7
+ export const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema
8
+ = asSchema(`${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`, true)
9
+
6
10
  export type TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema
7
- = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`
8
- // eslint-disable-next-line @stylistic/max-len
9
- export const TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema: TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema
10
- = `${TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerSchema}.config`
11
+ = typeof TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDivinerConfigSchema
11
12
 
12
13
  /**
13
14
  * Diviner Config for a Diviner which transforms an Index Query Response to a Diviner Query Response
@@ -1,4 +1,6 @@
1
+ import { asSchema } from '@xyo-network/payload-model'
2
+
1
3
  import { TemporalIndexingDivinerSchema } from '../Schema.ts'
2
4
 
3
- export const TemporalIndexingDivinerResultSchema = `${TemporalIndexingDivinerSchema}.result` as const
5
+ export const TemporalIndexingDivinerResultSchema = asSchema(`${TemporalIndexingDivinerSchema}.result`, true)
4
6
  export type TemporalIndexingDivinerResultSchema = typeof TemporalIndexingDivinerResultSchema
@@ -1,4 +1,6 @@
1
+ import { asSchema } from '@xyo-network/payload-model'
2
+
1
3
  import { TemporalIndexingDivinerResultSchema } from '../Result/index.ts'
2
4
 
3
- export const TemporalIndexingDivinerResultIndexSchema = `${TemporalIndexingDivinerResultSchema}.index` as const
5
+ export const TemporalIndexingDivinerResultIndexSchema = asSchema(`${TemporalIndexingDivinerResultSchema}.index`, true)
4
6
  export type TemporalIndexingDivinerResultIndexSchema = typeof TemporalIndexingDivinerResultIndexSchema
@@ -1,11 +1,13 @@
1
1
  import type { BoundWitnessDivinerPredicate } from '@xyo-network/diviner-boundwitness-model'
2
2
  import type { DivinerConfig, SearchableStorage } from '@xyo-network/diviner-model'
3
+ import { asSchema } from '@xyo-network/payload-model'
3
4
 
4
5
  import { TemporalIndexingDivinerStateToIndexCandidateDivinerSchema } from './Schema.ts'
5
6
 
6
- export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`
7
- export const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema: TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema
8
- = `${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`
7
+ export const TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema
8
+ = asSchema(`${TemporalIndexingDivinerStateToIndexCandidateDivinerSchema}.config`, true)
9
+
10
+ export type TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema = typeof TemporalIndexingDivinerStateToIndexCandidateDivinerConfigSchema
9
11
 
10
12
  /**
11
13
  * Diviner Config for a Diviner which transforms a Diviner State to Index Candidates