@xyo-network/diviner-temporal-indexing-memory 3.9.35 → 3.9.36

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 (61) hide show
  1. package/package.json +38 -38
  2. package/dist/neutral/Diviner.d.ts +0 -10
  3. package/dist/neutral/Diviner.d.ts.map +0 -1
  4. package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +0 -43
  5. package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.ts.map +0 -1
  6. package/dist/neutral/DivinerQueryToIndexQueryDiviner/index.d.ts +0 -2
  7. package/dist/neutral/DivinerQueryToIndexQueryDiviner/index.d.ts.map +0 -1
  8. package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.ts +0 -45
  9. package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.ts.map +0 -1
  10. package/dist/neutral/IndexCandidateToIndexDiviner/index.d.ts +0 -2
  11. package/dist/neutral/IndexCandidateToIndexDiviner/index.d.ts.map +0 -1
  12. package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts +0 -13
  13. package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts.map +0 -1
  14. package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts +0 -2
  15. package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts.map +0 -1
  16. package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.ts +0 -75
  17. package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.ts.map +0 -1
  18. package/dist/neutral/StateToIndexCandidateDiviner/index.d.ts +0 -2
  19. package/dist/neutral/StateToIndexCandidateDiviner/index.d.ts.map +0 -1
  20. package/dist/neutral/index.d.ts +0 -6
  21. package/dist/neutral/index.d.ts.map +0 -1
  22. package/dist/node/Diviner.d.ts +0 -10
  23. package/dist/node/Diviner.d.ts.map +0 -1
  24. package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +0 -43
  25. package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.ts.map +0 -1
  26. package/dist/node/DivinerQueryToIndexQueryDiviner/index.d.ts +0 -2
  27. package/dist/node/DivinerQueryToIndexQueryDiviner/index.d.ts.map +0 -1
  28. package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.ts +0 -45
  29. package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.ts.map +0 -1
  30. package/dist/node/IndexCandidateToIndexDiviner/index.d.ts +0 -2
  31. package/dist/node/IndexCandidateToIndexDiviner/index.d.ts.map +0 -1
  32. package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts +0 -13
  33. package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts.map +0 -1
  34. package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts +0 -2
  35. package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts.map +0 -1
  36. package/dist/node/StateToIndexCandidateDiviner/Diviner.d.ts +0 -75
  37. package/dist/node/StateToIndexCandidateDiviner/Diviner.d.ts.map +0 -1
  38. package/dist/node/StateToIndexCandidateDiviner/index.d.ts +0 -2
  39. package/dist/node/StateToIndexCandidateDiviner/index.d.ts.map +0 -1
  40. package/dist/node/index.d.ts +0 -6
  41. package/dist/node/index.d.ts.map +0 -1
  42. /package/dist/{browser → types}/Diviner.d.ts +0 -0
  43. /package/dist/{browser → types}/Diviner.d.ts.map +0 -0
  44. /package/dist/{browser → types}/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +0 -0
  45. /package/dist/{browser → types}/DivinerQueryToIndexQueryDiviner/Diviner.d.ts.map +0 -0
  46. /package/dist/{browser → types}/DivinerQueryToIndexQueryDiviner/index.d.ts +0 -0
  47. /package/dist/{browser → types}/DivinerQueryToIndexQueryDiviner/index.d.ts.map +0 -0
  48. /package/dist/{browser → types}/IndexCandidateToIndexDiviner/Diviner.d.ts +0 -0
  49. /package/dist/{browser → types}/IndexCandidateToIndexDiviner/Diviner.d.ts.map +0 -0
  50. /package/dist/{browser → types}/IndexCandidateToIndexDiviner/index.d.ts +0 -0
  51. /package/dist/{browser → types}/IndexCandidateToIndexDiviner/index.d.ts.map +0 -0
  52. /package/dist/{browser → types}/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts +0 -0
  53. /package/dist/{browser → types}/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts.map +0 -0
  54. /package/dist/{browser → types}/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts +0 -0
  55. /package/dist/{browser → types}/IndexQueryResponseToDivinerQueryResponseDiviner/index.d.ts.map +0 -0
  56. /package/dist/{browser → types}/StateToIndexCandidateDiviner/Diviner.d.ts +0 -0
  57. /package/dist/{browser → types}/StateToIndexCandidateDiviner/Diviner.d.ts.map +0 -0
  58. /package/dist/{browser → types}/StateToIndexCandidateDiviner/index.d.ts +0 -0
  59. /package/dist/{browser → types}/StateToIndexCandidateDiviner/index.d.ts.map +0 -0
  60. /package/dist/{browser → types}/index.d.ts +0 -0
  61. /package/dist/{browser → types}/index.d.ts.map +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-temporal-indexing-memory",
3
- "version": "3.9.35",
3
+ "version": "3.9.36",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -21,52 +21,52 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/neutral/index.d.ts",
24
+ "types": "./dist/types/index.d.ts",
25
25
  "default": "./dist/neutral/index.mjs"
26
26
  },
27
27
  "./package.json": "./package.json"
28
28
  },
29
29
  "module": "dist/neutral/index.mjs",
30
- "types": "dist/neutral/index.d.ts",
30
+ "types": "dist/types/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/array": "^4.5.7",
33
- "@xylabs/assert": "^4.5.7",
34
- "@xylabs/exists": "^4.5.7",
35
- "@xylabs/hex": "^4.5.7",
36
- "@xyo-network/archivist-model": "^3.9.35",
37
- "@xyo-network/archivist-wrapper": "^3.9.35",
38
- "@xyo-network/boundwitness-model": "^3.9.35",
39
- "@xyo-network/boundwitness-validator": "^3.9.35",
40
- "@xyo-network/diviner-abstract": "^3.9.35",
41
- "@xyo-network/diviner-boundwitness-abstract": "^3.9.35",
42
- "@xyo-network/diviner-boundwitness-model": "^3.9.35",
43
- "@xyo-network/diviner-indexing-memory": "^3.9.35",
44
- "@xyo-network/diviner-indexing-model": "^3.9.35",
45
- "@xyo-network/diviner-jsonpath-aggregate-memory": "^3.9.35",
46
- "@xyo-network/diviner-jsonpath-model": "^3.9.35",
47
- "@xyo-network/diviner-model": "^3.9.35",
48
- "@xyo-network/diviner-payload-model": "^3.9.35",
49
- "@xyo-network/diviner-temporal-indexing-model": "^3.9.35",
50
- "@xyo-network/diviner-wrapper": "^3.9.35",
51
- "@xyo-network/module-model": "^3.9.35",
52
- "@xyo-network/payload-builder": "^3.9.35",
53
- "@xyo-network/payload-model": "^3.9.35",
54
- "@xyo-network/payload-utils": "^3.9.35",
55
- "@xyo-network/witness-timestamp": "^3.9.35"
32
+ "@xylabs/array": "^4.6.0",
33
+ "@xylabs/assert": "^4.6.0",
34
+ "@xylabs/exists": "^4.6.0",
35
+ "@xylabs/hex": "^4.6.0",
36
+ "@xyo-network/archivist-model": "^3.9.36",
37
+ "@xyo-network/archivist-wrapper": "^3.9.36",
38
+ "@xyo-network/boundwitness-model": "^3.9.36",
39
+ "@xyo-network/boundwitness-validator": "^3.9.36",
40
+ "@xyo-network/diviner-abstract": "^3.9.36",
41
+ "@xyo-network/diviner-boundwitness-abstract": "^3.9.36",
42
+ "@xyo-network/diviner-boundwitness-model": "^3.9.36",
43
+ "@xyo-network/diviner-indexing-memory": "^3.9.36",
44
+ "@xyo-network/diviner-indexing-model": "^3.9.36",
45
+ "@xyo-network/diviner-jsonpath-aggregate-memory": "^3.9.36",
46
+ "@xyo-network/diviner-jsonpath-model": "^3.9.36",
47
+ "@xyo-network/diviner-model": "^3.9.36",
48
+ "@xyo-network/diviner-payload-model": "^3.9.36",
49
+ "@xyo-network/diviner-temporal-indexing-model": "^3.9.36",
50
+ "@xyo-network/diviner-wrapper": "^3.9.36",
51
+ "@xyo-network/module-model": "^3.9.36",
52
+ "@xyo-network/payload-builder": "^3.9.36",
53
+ "@xyo-network/payload-model": "^3.9.36",
54
+ "@xyo-network/payload-utils": "^3.9.36",
55
+ "@xyo-network/witness-timestamp": "^3.9.36"
56
56
  },
57
57
  "devDependencies": {
58
- "@xylabs/delay": "^4.5.7",
59
- "@xylabs/ts-scripts-yarn3": "^5.0.39",
60
- "@xylabs/tsconfig": "^5.0.39",
61
- "@xylabs/vitest-extended": "^4.5.7",
62
- "@xyo-network/account": "^3.9.35",
63
- "@xyo-network/archivist-memory": "^3.9.35",
64
- "@xyo-network/boundwitness-builder": "^3.9.35",
65
- "@xyo-network/manifest": "^3.9.35",
66
- "@xyo-network/module-factory-locator": "^3.9.35",
67
- "@xyo-network/node-memory": "^3.9.35",
58
+ "@xylabs/delay": "^4.6.0",
59
+ "@xylabs/ts-scripts-yarn3": "^6.0.5",
60
+ "@xylabs/tsconfig": "^6.0.5",
61
+ "@xylabs/vitest-extended": "^4.6.0",
62
+ "@xyo-network/account": "^3.9.36",
63
+ "@xyo-network/archivist-memory": "^3.9.36",
64
+ "@xyo-network/boundwitness-builder": "^3.9.36",
65
+ "@xyo-network/manifest": "^3.9.36",
66
+ "@xyo-network/module-factory-locator": "^3.9.36",
67
+ "@xyo-network/node-memory": "^3.9.36",
68
68
  "typescript": "^5.8.2",
69
- "vitest": "^3.0.7"
69
+ "vitest": "^3.0.8"
70
70
  },
71
71
  "publishConfig": {
72
72
  "access": "public"
@@ -1,10 +0,0 @@
1
- import { IndexingDiviner } from '@xyo-network/diviner-indexing-memory';
2
- import type { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model';
3
- import type { TemporalIndexingDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
4
- import type { Payload, Schema } from '@xyo-network/payload-model';
5
- export declare class TemporalIndexingDiviner<TParams extends TemporalIndexingDivinerParams = TemporalIndexingDivinerParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut>> extends IndexingDiviner<TParams, TIn, TOut, TEventData> {
6
- static readonly configSchemas: Schema[];
7
- static readonly defaultConfigSchema: Schema;
8
- protected startHandler(): Promise<boolean>;
9
- }
10
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACzF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAA;AAEjG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEjE,qBAAa,uBAAuB,CAClC,OAAO,SAAS,6BAA6B,GAAG,6BAA6B,EAC7E,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,OAAO,GAAG,OAAO,EAC9B,UAAU,SAAS,sBAAsB,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,sBAAsB,CAChH,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EACnC,GAAG,EACH,IAAI,CACL,CACD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC;IACvD,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAgE;IAChH,gBAAyB,mBAAmB,EAAE,MAAM,CAAsC;cAEjE,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC;CAI1D"}
@@ -1,43 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import type { SchemaToJsonPathTransformExpressionsDictionary, SchemaToPayloadTransformersDictionary } from '@xyo-network/diviner-jsonpath-model';
3
- import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
4
- import type { Labels } from '@xyo-network/module-model';
5
- import type { Payload, Schema } from '@xyo-network/payload-model';
6
- /**
7
- * A diviner that converts diviner query to index query
8
- */
9
- export declare class TemporalIndexingDivinerDivinerQueryToIndexQueryDiviner<TParams extends TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams = TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams> extends AbstractDiviner<TParams> {
10
- static readonly configSchemas: string[];
11
- static readonly defaultConfigSchema: "network.xyo.diviner.indexing.temporal.stage.divinerQueryToIndexQueryDiviner.config";
12
- static readonly labels: Labels;
13
- private _indexableSchemas;
14
- private _payloadTransformers;
15
- /**
16
- * The schema of the diviner query payloads
17
- */
18
- protected get divinerQuerySchema(): Schema;
19
- /**
20
- * The schema of the index query payloads
21
- */
22
- protected get indexQuerySchema(): Schema;
23
- /**
24
- * The schema of the index payloads
25
- */
26
- protected get indexSchema(): Schema;
27
- /**
28
- * List of indexable schemas for this diviner
29
- */
30
- protected get indexableSchemas(): Schema[];
31
- /**
32
- * Dictionary of schemas to payload transformers for creating indexes
33
- * from the payloads within a Bound Witness
34
- */
35
- protected get payloadTransformers(): SchemaToPayloadTransformersDictionary;
36
- /**
37
- * The dictionary of schemas to JSON Path transform expressions for creating indexes
38
- * from the payloads within a Bound Witness
39
- */
40
- protected get schemaTransforms(): SchemaToJsonPathTransformExpressionsDictionary;
41
- protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
42
- }
43
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,KAAK,EAAE,8CAA8C,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAA;AAGhJ,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,8CAA8C,CAAA;AAKhI,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAGjE;;GAEG;AACH,qBAAa,sDAAsD,CACjE,OAAO,SAAS,4DAA4D,GAAG,4DAA4D,CAC3I,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,gBAAyB,aAAa,WAA+F;IACrI,gBAAyB,mBAAmB,uFAAqE;IACjH,gBAAyB,MAAM,EAAE,MAAM,CAGtC;IAED,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,oBAAoB,CAAmD;IAE/E;;OAEG;IACH,SAAS,KAAK,kBAAkB,IAAI,MAAM,CAEzC;IAED;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,MAAM,CAEvC;IAED;;OAEG;IACH,SAAS,KAAK,WAAW,IAAI,MAAM,CAElC;IAED;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,MAAM,EAAE,CAGzC;IAED;;;OAGG;IACH,SAAS,KAAK,mBAAmB,IAAI,qCAAqC,CAGzE;IAED;;;OAGG;IACH,SAAS,KAAK,gBAAgB,IAAI,8CAA8C,CAsB/E;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAuBrF"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,45 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import type { SchemaToJsonPathTransformExpressionsDictionary, SchemaToPayloadTransformersDictionary } from '@xyo-network/diviner-jsonpath-model';
3
- import type { TemporalIndexingDivinerIndexCandidateToIndexDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
4
- import type { Labels } from '@xyo-network/module-model';
5
- import type { Payload, Schema } from '@xyo-network/payload-model';
6
- /**
7
- * Diviner which transforms index candidates to indexes using JSON Path to map
8
- * source properties in the supplied payloads to destination fields in the
9
- * resultant index
10
- */
11
- export declare class TemporalIndexingDivinerIndexCandidateToIndexDiviner<TParams extends TemporalIndexingDivinerIndexCandidateToIndexDivinerParams = TemporalIndexingDivinerIndexCandidateToIndexDivinerParams> extends AbstractDiviner<TParams> {
12
- static readonly configSchemas: Schema[];
13
- static readonly defaultConfigSchema: Schema;
14
- static readonly labels: Labels;
15
- private _indexableSchemas;
16
- private _payloadTransformers;
17
- /**
18
- * List of indexable schemas for this diviner
19
- */
20
- protected get indexableSchemas(): string[];
21
- /**
22
- * Dictionary of schemas to payload transformers for creating indexes
23
- * from the payloads within a Bound Witness
24
- */
25
- protected get payloadTransformers(): SchemaToPayloadTransformersDictionary;
26
- /**
27
- * The dictionary of schemas to JSON Path transform expressions for creating indexes
28
- * from the payloads within a Bound Witness
29
- */
30
- protected get schemaTransforms(): SchemaToJsonPathTransformExpressionsDictionary;
31
- protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
32
- /**
33
- * Identifies if a payload is one that is indexed by this diviner
34
- * @param x The candidate payload
35
- * @returns True if the payload is one indexed by this diviner, false otherwise
36
- */
37
- protected isIndexablePayload: (x: unknown) => boolean;
38
- /**
39
- * Identifies if a schema is one that is indexed by this diviner
40
- * @param schema The candidate schema
41
- * @returns True if this schema is one indexed by this diviner, false otherwise
42
- */
43
- protected isIndexableSchema: (schema?: string | null) => boolean;
44
- }
45
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Diviner.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,KAAK,EAAE,8CAA8C,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAA;AAChJ,OAAO,KAAK,EACV,yDAAyD,EAE1D,MAAM,8CAA8C,CAAA;AAKrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQjE;;;;GAIG;AACH,qBAAa,mDAAmD,CAC9D,OAAO,SAAS,yDAAyD,GAAG,yDAAyD,CACrI,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA4F;IAC5I,gBAAyB,mBAAmB,EAAE,MAAM,CAAkE;IACtH,gBAAyB,MAAM,EAAE,MAAM,CAGtC;IAED,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,oBAAoB,CAAmD;IAE/E;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,MAAM,EAAE,CAGzC;IAED;;;OAGG;IACH,SAAS,KAAK,mBAAmB,IAAI,qCAAqC,CAGzE;IAED;;;OAGG;IACH,SAAS,KAAK,gBAAgB,IAAI,8CAA8C,CAE/E;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAwDpF;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,GAAI,GAAG,OAAO,aAEzC;IAED;;;;OAIG;IACH,SAAS,CAAC,iBAAiB,GAAI,SAAS,MAAM,GAAG,IAAI,aAEpD;CACF"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,13 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import type { Labels } from '@xyo-network/module-model';
3
- import type { Payload, Schema } from '@xyo-network/payload-model';
4
- /**
5
- * Transforms an ImageThumbnailIndex response into an ImageThumbnailResponse response
6
- */
7
- export declare class TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDiviner extends AbstractDiviner {
8
- static readonly configSchemas: Schema[];
9
- static readonly defaultConfigSchema: Schema;
10
- static readonly labels: Labels;
11
- protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
12
- }
13
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEjE;;GAEG;AACH,qBAAa,sEAAuE,SAAQ,eAAe;IACzG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAG/C;IAED,gBAAyB,mBAAmB,EAAE,MAAM,CAAqF;IACzI,gBAAyB,MAAM,EAAE,MAAM,CAGtC;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAQrF"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,75 +0,0 @@
1
- import type { ArchivistInstance } from '@xyo-network/archivist-model';
2
- import { ArchivistWrapper } from '@xyo-network/archivist-wrapper';
3
- import type { BoundWitness } from '@xyo-network/boundwitness-model';
4
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
5
- import type { BoundWitnessDiviner } from '@xyo-network/diviner-boundwitness-abstract';
6
- import type { BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model';
7
- import type { IndexingDivinerState } from '@xyo-network/diviner-indexing-model';
8
- import type { TemporalIndexingDivinerStateToIndexCandidateDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
9
- import { DivinerWrapper } from '@xyo-network/diviner-wrapper';
10
- import type { Labels, ModuleState } from '@xyo-network/module-model';
11
- import type { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
12
- import type { TimeStamp } from '@xyo-network/witness-timestamp';
13
- /**
14
- * All Payload types involved in index candidates for indexing
15
- */
16
- export type IndexCandidate = BoundWitness | Payload | TimeStamp;
17
- /**
18
- * The response from the TemporalStateToIndexCandidateDiviner
19
- */
20
- export type TemporalStateToIndexCandidateDivinerResponse = [
21
- /**
22
- * The next state of the diviner
23
- */
24
- nextState: ModuleState<IndexingDivinerState>,
25
- /**
26
- * The index candidates
27
- */
28
- ...IndexCandidate[]
29
- ];
30
- /**
31
- * Transforms candidates for image thumbnail indexing into their indexed representation
32
- */
33
- export declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extends TemporalIndexingDivinerStateToIndexCandidateDivinerParams = TemporalIndexingDivinerStateToIndexCandidateDivinerParams> extends AbstractDiviner<TParams, Payload, ModuleState | IndexCandidate> {
34
- static readonly configSchemas: Schema[];
35
- static readonly defaultConfigSchema: Schema;
36
- static readonly labels: Labels;
37
- get payloadDivinerLimit(): number;
38
- /**
39
- * The required payload_schemas within BoundWitnesses to identify index candidates
40
- */
41
- protected get payload_schemas(): string[];
42
- protected divineHandler(payloads?: Payload[]): Promise<TemporalStateToIndexCandidateDivinerResponse>;
43
- /**
44
- * Retrieves the archivist for the payloadStore
45
- * @returns The archivist for the payloadStore or undefined if not resolvable
46
- */
47
- protected getArchivistForStore(): Promise<ArchivistWrapper | undefined>;
48
- /**
49
- * Retrieves the BoundWitness Diviner for the payloadStore
50
- * @returns The BoundWitness Diviner for the payloadStore or undefined if not resolvable
51
- */
52
- protected getBoundWitnessDivinerForStore(): Promise<DivinerWrapper<BoundWitnessDiviner<import("@xylabs/object").BaseParamsFields & {
53
- account?: import("@xyo-network/account-model").AccountInstance | "random";
54
- addToResolvers?: boolean;
55
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
56
- allowNameResolution?: boolean;
57
- config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfig>;
58
- ephemeralQueryAccountEnabled?: boolean;
59
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
60
- privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
61
- publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
62
- }, BoundWitnessDivinerQueryPayload, BoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
63
- account?: import("@xyo-network/account-model").AccountInstance | "random";
64
- addToResolvers?: boolean;
65
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
66
- allowNameResolution?: boolean;
67
- config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfig>;
68
- ephemeralQueryAccountEnabled?: boolean;
69
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
70
- privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
71
- publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
72
- }, BoundWitnessDivinerQueryPayload, BoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData>, BoundWitnessDivinerQueryPayload, BoundWitness>>, BoundWitnessDivinerQueryPayload, WithStorageMeta<BoundWitness>> | undefined>;
73
- protected getPayloadsInBoundWitness(bw: BoundWitness, archivist: ArchivistInstance): Promise<IndexCandidate[] | undefined>;
74
- }
75
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Diviner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,8BAA8B,CAAA;AAC3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAA;AACrF,OAAO,KAAK,EAA6B,+BAA+B,EAAE,MAAM,yCAAyC,CAAA;AACzH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC/E,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,8CAA8C,CAAA;AAE7H,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,KAAK,EACV,MAAM,EAAoB,WAAW,EACtC,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EACV,OAAO,EAAE,MAAM,EACf,eAAe,EAChB,MAAM,4BAA4B,CAAA;AAGnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAG/D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAE/D;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC;IAC5C;;OAEG;IACH,GAAG,cAAc,EAAE;CACpB,CAAA;AAYD;;GAEG;AACH,qBAAa,mDAAmD,CAC9D,OAAO,SAAS,yDAAyD,GAAG,yDAAyD,CACrI,SAAQ,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,cAAc,CAAC;IACvE,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA4F;IAC5I,gBAAyB,mBAAmB,EAAE,MAAM,CAAkE;IACtH,gBAAyB,MAAM,EAAE,MAAM,CAGtC;IAED,IAAI,mBAAmB,WAEtB;IAED;;OAEG;IACH,SAAS,KAAK,eAAe,IAAI,MAAM,EAAE,CAGxC;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,4CAA4C,CAAC;IAgCvH;;;OAGG;cACa,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAa7E;;;OAGG;cACa,8BAA8B;;;;;;;;;;;;;;;;;;;;;cAmB9B,yBAAyB,CAAC,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,GAAG,OAAO,CAAC,cAAc,EAAE,GAAG,SAAS,CAAC;CAOjI"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Diviner.ts';
2
- export * from './DivinerQueryToIndexQueryDiviner/index.ts';
3
- export * from './IndexCandidateToIndexDiviner/index.ts';
4
- export * from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
5
- export * from './StateToIndexCandidateDiviner/index.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,4CAA4C,CAAA;AAC1D,cAAc,yCAAyC,CAAA;AACvD,cAAc,4DAA4D,CAAA;AAC1E,cAAc,yCAAyC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { IndexingDiviner } from '@xyo-network/diviner-indexing-memory';
2
- import type { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model';
3
- import type { TemporalIndexingDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
4
- import type { Payload, Schema } from '@xyo-network/payload-model';
5
- export declare class TemporalIndexingDiviner<TParams extends TemporalIndexingDivinerParams = TemporalIndexingDivinerParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut>> extends IndexingDiviner<TParams, TIn, TOut, TEventData> {
6
- static readonly configSchemas: Schema[];
7
- static readonly defaultConfigSchema: Schema;
8
- protected startHandler(): Promise<boolean>;
9
- }
10
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACzF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAA;AAEjG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEjE,qBAAa,uBAAuB,CAClC,OAAO,SAAS,6BAA6B,GAAG,6BAA6B,EAC7E,GAAG,SAAS,OAAO,GAAG,OAAO,EAC7B,IAAI,SAAS,OAAO,GAAG,OAAO,EAC9B,UAAU,SAAS,sBAAsB,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,sBAAsB,CAChH,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EACnC,GAAG,EACH,IAAI,CACL,CACD,SAAQ,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC;IACvD,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAgE;IAChH,gBAAyB,mBAAmB,EAAE,MAAM,CAAsC;cAEjE,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC;CAI1D"}
@@ -1,43 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import type { SchemaToJsonPathTransformExpressionsDictionary, SchemaToPayloadTransformersDictionary } from '@xyo-network/diviner-jsonpath-model';
3
- import type { TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
4
- import type { Labels } from '@xyo-network/module-model';
5
- import type { Payload, Schema } from '@xyo-network/payload-model';
6
- /**
7
- * A diviner that converts diviner query to index query
8
- */
9
- export declare class TemporalIndexingDivinerDivinerQueryToIndexQueryDiviner<TParams extends TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams = TemporalIndexingDivinerDivinerQueryToIndexQueryDivinerParams> extends AbstractDiviner<TParams> {
10
- static readonly configSchemas: string[];
11
- static readonly defaultConfigSchema: "network.xyo.diviner.indexing.temporal.stage.divinerQueryToIndexQueryDiviner.config";
12
- static readonly labels: Labels;
13
- private _indexableSchemas;
14
- private _payloadTransformers;
15
- /**
16
- * The schema of the diviner query payloads
17
- */
18
- protected get divinerQuerySchema(): Schema;
19
- /**
20
- * The schema of the index query payloads
21
- */
22
- protected get indexQuerySchema(): Schema;
23
- /**
24
- * The schema of the index payloads
25
- */
26
- protected get indexSchema(): Schema;
27
- /**
28
- * List of indexable schemas for this diviner
29
- */
30
- protected get indexableSchemas(): Schema[];
31
- /**
32
- * Dictionary of schemas to payload transformers for creating indexes
33
- * from the payloads within a Bound Witness
34
- */
35
- protected get payloadTransformers(): SchemaToPayloadTransformersDictionary;
36
- /**
37
- * The dictionary of schemas to JSON Path transform expressions for creating indexes
38
- * from the payloads within a Bound Witness
39
- */
40
- protected get schemaTransforms(): SchemaToJsonPathTransformExpressionsDictionary;
41
- protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
42
- }
43
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/Diviner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,KAAK,EAAE,8CAA8C,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAA;AAGhJ,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,8CAA8C,CAAA;AAKhI,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAGjE;;GAEG;AACH,qBAAa,sDAAsD,CACjE,OAAO,SAAS,4DAA4D,GAAG,4DAA4D,CAC3I,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,gBAAyB,aAAa,WAA+F;IACrI,gBAAyB,mBAAmB,uFAAqE;IACjH,gBAAyB,MAAM,EAAE,MAAM,CAGtC;IAED,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,oBAAoB,CAAmD;IAE/E;;OAEG;IACH,SAAS,KAAK,kBAAkB,IAAI,MAAM,CAEzC;IAED;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,MAAM,CAEvC;IAED;;OAEG;IACH,SAAS,KAAK,WAAW,IAAI,MAAM,CAElC;IAED;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,MAAM,EAAE,CAGzC;IAED;;;OAGG;IACH,SAAS,KAAK,mBAAmB,IAAI,qCAAqC,CAGzE;IAED;;;OAGG;IACH,SAAS,KAAK,gBAAgB,IAAI,8CAA8C,CAsB/E;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAuBrF"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DivinerQueryToIndexQueryDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,45 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import type { SchemaToJsonPathTransformExpressionsDictionary, SchemaToPayloadTransformersDictionary } from '@xyo-network/diviner-jsonpath-model';
3
- import type { TemporalIndexingDivinerIndexCandidateToIndexDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
4
- import type { Labels } from '@xyo-network/module-model';
5
- import type { Payload, Schema } from '@xyo-network/payload-model';
6
- /**
7
- * Diviner which transforms index candidates to indexes using JSON Path to map
8
- * source properties in the supplied payloads to destination fields in the
9
- * resultant index
10
- */
11
- export declare class TemporalIndexingDivinerIndexCandidateToIndexDiviner<TParams extends TemporalIndexingDivinerIndexCandidateToIndexDivinerParams = TemporalIndexingDivinerIndexCandidateToIndexDivinerParams> extends AbstractDiviner<TParams> {
12
- static readonly configSchemas: Schema[];
13
- static readonly defaultConfigSchema: Schema;
14
- static readonly labels: Labels;
15
- private _indexableSchemas;
16
- private _payloadTransformers;
17
- /**
18
- * List of indexable schemas for this diviner
19
- */
20
- protected get indexableSchemas(): string[];
21
- /**
22
- * Dictionary of schemas to payload transformers for creating indexes
23
- * from the payloads within a Bound Witness
24
- */
25
- protected get payloadTransformers(): SchemaToPayloadTransformersDictionary;
26
- /**
27
- * The dictionary of schemas to JSON Path transform expressions for creating indexes
28
- * from the payloads within a Bound Witness
29
- */
30
- protected get schemaTransforms(): SchemaToJsonPathTransformExpressionsDictionary;
31
- protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
32
- /**
33
- * Identifies if a payload is one that is indexed by this diviner
34
- * @param x The candidate payload
35
- * @returns True if the payload is one indexed by this diviner, false otherwise
36
- */
37
- protected isIndexablePayload: (x: unknown) => boolean;
38
- /**
39
- * Identifies if a schema is one that is indexed by this diviner
40
- * @param schema The candidate schema
41
- * @returns True if this schema is one indexed by this diviner, false otherwise
42
- */
43
- protected isIndexableSchema: (schema?: string | null) => boolean;
44
- }
45
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/Diviner.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,KAAK,EAAE,8CAA8C,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAA;AAChJ,OAAO,KAAK,EACV,yDAAyD,EAE1D,MAAM,8CAA8C,CAAA;AAKrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQjE;;;;GAIG;AACH,qBAAa,mDAAmD,CAC9D,OAAO,SAAS,yDAAyD,GAAG,yDAAyD,CACrI,SAAQ,eAAe,CAAC,OAAO,CAAC;IAChC,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA4F;IAC5I,gBAAyB,mBAAmB,EAAE,MAAM,CAAkE;IACtH,gBAAyB,MAAM,EAAE,MAAM,CAGtC;IAED,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,oBAAoB,CAAmD;IAE/E;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,MAAM,EAAE,CAGzC;IAED;;;OAGG;IACH,SAAS,KAAK,mBAAmB,IAAI,qCAAqC,CAGzE;IAED;;;OAGG;IACH,SAAS,KAAK,gBAAgB,IAAI,8CAA8C,CAE/E;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAwDpF;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,GAAI,GAAG,OAAO,aAEzC;IAED;;;;OAIG;IACH,SAAS,CAAC,iBAAiB,GAAI,SAAS,MAAM,GAAG,IAAI,aAEpD;CACF"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexCandidateToIndexDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,13 +0,0 @@
1
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
2
- import type { Labels } from '@xyo-network/module-model';
3
- import type { Payload, Schema } from '@xyo-network/payload-model';
4
- /**
5
- * Transforms an ImageThumbnailIndex response into an ImageThumbnailResponse response
6
- */
7
- export declare class TemporalIndexingDivinerIndexQueryResponseToDivinerQueryResponseDiviner extends AbstractDiviner {
8
- static readonly configSchemas: Schema[];
9
- static readonly defaultConfigSchema: Schema;
10
- static readonly labels: Labels;
11
- protected divineHandler(payloads?: Payload[]): Promise<Payload[]>;
12
- }
13
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEjE;;GAEG;AACH,qBAAa,sEAAuE,SAAQ,eAAe;IACzG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAG/C;IAED,gBAAyB,mBAAmB,EAAE,MAAM,CAAqF;IACzI,gBAAyB,MAAM,EAAE,MAAM,CAGtC;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAQrF"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/IndexQueryResponseToDivinerQueryResponseDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,75 +0,0 @@
1
- import type { ArchivistInstance } from '@xyo-network/archivist-model';
2
- import { ArchivistWrapper } from '@xyo-network/archivist-wrapper';
3
- import type { BoundWitness } from '@xyo-network/boundwitness-model';
4
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
5
- import type { BoundWitnessDiviner } from '@xyo-network/diviner-boundwitness-abstract';
6
- import type { BoundWitnessDivinerQueryPayload } from '@xyo-network/diviner-boundwitness-model';
7
- import type { IndexingDivinerState } from '@xyo-network/diviner-indexing-model';
8
- import type { TemporalIndexingDivinerStateToIndexCandidateDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
9
- import { DivinerWrapper } from '@xyo-network/diviner-wrapper';
10
- import type { Labels, ModuleState } from '@xyo-network/module-model';
11
- import type { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
12
- import type { TimeStamp } from '@xyo-network/witness-timestamp';
13
- /**
14
- * All Payload types involved in index candidates for indexing
15
- */
16
- export type IndexCandidate = BoundWitness | Payload | TimeStamp;
17
- /**
18
- * The response from the TemporalStateToIndexCandidateDiviner
19
- */
20
- export type TemporalStateToIndexCandidateDivinerResponse = [
21
- /**
22
- * The next state of the diviner
23
- */
24
- nextState: ModuleState<IndexingDivinerState>,
25
- /**
26
- * The index candidates
27
- */
28
- ...IndexCandidate[]
29
- ];
30
- /**
31
- * Transforms candidates for image thumbnail indexing into their indexed representation
32
- */
33
- export declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extends TemporalIndexingDivinerStateToIndexCandidateDivinerParams = TemporalIndexingDivinerStateToIndexCandidateDivinerParams> extends AbstractDiviner<TParams, Payload, ModuleState | IndexCandidate> {
34
- static readonly configSchemas: Schema[];
35
- static readonly defaultConfigSchema: Schema;
36
- static readonly labels: Labels;
37
- get payloadDivinerLimit(): number;
38
- /**
39
- * The required payload_schemas within BoundWitnesses to identify index candidates
40
- */
41
- protected get payload_schemas(): string[];
42
- protected divineHandler(payloads?: Payload[]): Promise<TemporalStateToIndexCandidateDivinerResponse>;
43
- /**
44
- * Retrieves the archivist for the payloadStore
45
- * @returns The archivist for the payloadStore or undefined if not resolvable
46
- */
47
- protected getArchivistForStore(): Promise<ArchivistWrapper | undefined>;
48
- /**
49
- * Retrieves the BoundWitness Diviner for the payloadStore
50
- * @returns The BoundWitness Diviner for the payloadStore or undefined if not resolvable
51
- */
52
- protected getBoundWitnessDivinerForStore(): Promise<DivinerWrapper<BoundWitnessDiviner<import("@xylabs/object").BaseParamsFields & {
53
- account?: import("@xyo-network/account-model").AccountInstance | "random";
54
- addToResolvers?: boolean;
55
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
56
- allowNameResolution?: boolean;
57
- config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfig>;
58
- ephemeralQueryAccountEnabled?: boolean;
59
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
60
- privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
61
- publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
62
- }, BoundWitnessDivinerQueryPayload, BoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
63
- account?: import("@xyo-network/account-model").AccountInstance | "random";
64
- addToResolvers?: boolean;
65
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
66
- allowNameResolution?: boolean;
67
- config: import("@xyo-network/module-model").AnyConfigSchema<import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfig>;
68
- ephemeralQueryAccountEnabled?: boolean;
69
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
70
- privateChildren?: import("@xyo-network/module-model").ModuleInstance[];
71
- publicChildren?: import("@xyo-network/module-model").ModuleInstance[];
72
- }, BoundWitnessDivinerQueryPayload, BoundWitness, import("@xyo-network/diviner-model").DivinerModuleEventData>, BoundWitnessDivinerQueryPayload, BoundWitness>>, BoundWitnessDivinerQueryPayload, WithStorageMeta<BoundWitness>> | undefined>;
73
- protected getPayloadsInBoundWitness(bw: BoundWitness, archivist: ArchivistInstance): Promise<IndexCandidate[] | undefined>;
74
- }
75
- //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Diviner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,8BAA8B,CAAA;AAC3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAA;AACrF,OAAO,KAAK,EAA6B,+BAA+B,EAAE,MAAM,yCAAyC,CAAA;AACzH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC/E,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,8CAA8C,CAAA;AAE7H,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,KAAK,EACV,MAAM,EAAoB,WAAW,EACtC,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EACV,OAAO,EAAE,MAAM,EACf,eAAe,EAChB,MAAM,4BAA4B,CAAA;AAGnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAG/D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAE/D;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC;IAC5C;;OAEG;IACH,GAAG,cAAc,EAAE;CACpB,CAAA;AAYD;;GAEG;AACH,qBAAa,mDAAmD,CAC9D,OAAO,SAAS,yDAAyD,GAAG,yDAAyD,CACrI,SAAQ,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,cAAc,CAAC;IACvE,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA4F;IAC5I,gBAAyB,mBAAmB,EAAE,MAAM,CAAkE;IACtH,gBAAyB,MAAM,EAAE,MAAM,CAGtC;IAED,IAAI,mBAAmB,WAEtB;IAED;;OAEG;IACH,SAAS,KAAK,eAAe,IAAI,MAAM,EAAE,CAGxC;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,4CAA4C,CAAC;IAgCvH;;;OAGG;cACa,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAa7E;;;OAGG;cACa,8BAA8B;;;;;;;;;;;;;;;;;;;;;cAmB9B,yBAAyB,CAAC,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,GAAG,OAAO,CAAC,cAAc,EAAE,GAAG,SAAS,CAAC;CAOjI"}
@@ -1,2 +0,0 @@
1
- export * from './Diviner.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Diviner.ts';
2
- export * from './DivinerQueryToIndexQueryDiviner/index.ts';
3
- export * from './IndexCandidateToIndexDiviner/index.ts';
4
- export * from './IndexQueryResponseToDivinerQueryResponseDiviner/index.ts';
5
- export * from './StateToIndexCandidateDiviner/index.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,4CAA4C,CAAA;AAC1D,cAAc,yCAAyC,CAAA;AACvD,cAAc,4DAA4D,CAAA;AAC1E,cAAc,yCAAyC,CAAA"}
File without changes
File without changes
File without changes
File without changes