@xyo-network/diviner-temporal-indexing-memory 2.106.0 → 2.107.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.
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.cts +0 -23
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.cts.map +1 -1
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.mts +0 -23
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.mts.map +1 -1
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +0 -23
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.ts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.cts +0 -26
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.cts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.mts +0 -26
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.mts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.ts +0 -26
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.ts.map +1 -1
- package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.cts +0 -3
- package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.cts.map +1 -1
- package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.mts +0 -3
- package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.mts.map +1 -1
- package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts +0 -3
- package/dist/browser/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts.map +1 -1
- package/dist/browser/StateToIndexCandidateDiviner/Diviner.d.cts +19 -44
- package/dist/browser/StateToIndexCandidateDiviner/Diviner.d.cts.map +1 -1
- package/dist/browser/StateToIndexCandidateDiviner/Diviner.d.mts +19 -44
- package/dist/browser/StateToIndexCandidateDiviner/Diviner.d.mts.map +1 -1
- package/dist/browser/StateToIndexCandidateDiviner/Diviner.d.ts +19 -44
- package/dist/browser/StateToIndexCandidateDiviner/Diviner.d.ts.map +1 -1
- package/dist/browser/index.cjs +1 -401
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +1 -380
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.cts +0 -23
- package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.cts.map +1 -1
- package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.mts +0 -23
- package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.mts.map +1 -1
- package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +0 -23
- package/dist/neutral/DivinerQueryToIndexQueryDiviner/Diviner.d.ts.map +1 -1
- package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.cts +0 -26
- package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.cts.map +1 -1
- package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.mts +0 -26
- package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.mts.map +1 -1
- package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.ts +0 -26
- package/dist/neutral/IndexCandidateToIndexDiviner/Diviner.d.ts.map +1 -1
- package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.cts +0 -3
- package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.cts.map +1 -1
- package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.mts +0 -3
- package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.mts.map +1 -1
- package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts +0 -3
- package/dist/neutral/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts.map +1 -1
- package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.cts +19 -44
- package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.cts.map +1 -1
- package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.mts +19 -44
- package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.mts.map +1 -1
- package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.ts +19 -44
- package/dist/neutral/StateToIndexCandidateDiviner/Diviner.d.ts.map +1 -1
- package/dist/neutral/index.cjs +1 -401
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +1 -380
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.cts +0 -23
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.cts.map +1 -1
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.mts +0 -23
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.mts.map +1 -1
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +0 -23
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.ts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.cts +0 -26
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.cts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.mts +0 -26
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.mts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.ts +0 -26
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.ts.map +1 -1
- package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.cts +0 -3
- package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.cts.map +1 -1
- package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.mts +0 -3
- package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.mts.map +1 -1
- package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts +0 -3
- package/dist/node/IndexQueryResponseToDivinerQueryResponseDiviner/Diviner.d.ts.map +1 -1
- package/dist/node/StateToIndexCandidateDiviner/Diviner.d.cts +19 -44
- package/dist/node/StateToIndexCandidateDiviner/Diviner.d.cts.map +1 -1
- package/dist/node/StateToIndexCandidateDiviner/Diviner.d.mts +19 -44
- package/dist/node/StateToIndexCandidateDiviner/Diviner.d.mts.map +1 -1
- package/dist/node/StateToIndexCandidateDiviner/Diviner.d.ts +19 -44
- package/dist/node/StateToIndexCandidateDiviner/Diviner.d.ts.map +1 -1
- package/dist/node/index.cjs +1 -414
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +1 -385
- package/dist/node/index.js.map +1 -1
- package/package.json +29 -29
|
@@ -3,107 +3,82 @@ import { ArchivistWrapper } from '@xyo-network/archivist-wrapper';
|
|
|
3
3
|
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
4
4
|
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
5
5
|
import { BoundWitnessDiviner } from '@xyo-network/diviner-boundwitness-abstract';
|
|
6
|
+
import { BoundWitnessDivinerQuerySchema } from '@xyo-network/diviner-boundwitness-model';
|
|
6
7
|
import { IndexingDivinerState } from '@xyo-network/diviner-indexing-model';
|
|
7
8
|
import { TemporalIndexingDivinerStateToIndexCandidateDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
|
|
8
9
|
import { DivinerWrapper } from '@xyo-network/diviner-wrapper';
|
|
9
10
|
import { Labels, ModuleState } from '@xyo-network/module-model';
|
|
10
11
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
11
12
|
import { TimeStamp } from '@xyo-network/witness-timestamp';
|
|
12
|
-
/**
|
|
13
|
-
* All Payload types involved in index candidates for indexing
|
|
14
|
-
*/
|
|
15
13
|
export type IndexCandidate = BoundWitness | Payload | TimeStamp;
|
|
16
|
-
/**
|
|
17
|
-
* The response from the TemporalStateToIndexCandidateDiviner
|
|
18
|
-
*/
|
|
19
14
|
export type TemporalStateToIndexCandidateDivinerResponse = [
|
|
20
|
-
/**
|
|
21
|
-
* The next state of the diviner
|
|
22
|
-
*/
|
|
23
15
|
nextState: ModuleState<IndexingDivinerState>,
|
|
24
|
-
/**
|
|
25
|
-
* The index candidates
|
|
26
|
-
*/
|
|
27
16
|
...IndexCandidate[]
|
|
28
17
|
];
|
|
29
|
-
/**
|
|
30
|
-
* Transforms candidates for image thumbnail indexing into their indexed representation
|
|
31
|
-
*/
|
|
32
18
|
export declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extends TemporalIndexingDivinerStateToIndexCandidateDivinerParams = TemporalIndexingDivinerStateToIndexCandidateDivinerParams> extends AbstractDiviner<TParams, Payload, ModuleState | IndexCandidate> {
|
|
33
19
|
static readonly configSchemas: Schema[];
|
|
34
20
|
static readonly defaultConfigSchema: Schema;
|
|
35
21
|
static labels: Labels;
|
|
36
22
|
get payloadDivinerLimit(): number;
|
|
37
|
-
/**
|
|
38
|
-
* The required payload_schemas within BoundWitnesses to identify index candidates
|
|
39
|
-
*/
|
|
40
23
|
protected get payload_schemas(): string[];
|
|
41
24
|
protected divineHandler(payloads?: Payload[]): Promise<[ModuleState, ...IndexCandidate[]]>;
|
|
42
|
-
/**
|
|
43
|
-
* Retrieves the archivist for the payloadStore
|
|
44
|
-
* @returns The archivist for the payloadStore or undefined if not resolvable
|
|
45
|
-
*/
|
|
46
25
|
protected getArchivistForStore(): Promise<ArchivistWrapper | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* Retrieves the BoundWitness Diviner for the payloadStore
|
|
49
|
-
* @returns The BoundWitness Diviner for the payloadStore or undefined if not resolvable
|
|
50
|
-
*/
|
|
51
26
|
protected getBoundWitnessDivinerForStore(): Promise<DivinerWrapper<BoundWitnessDiviner<import("@xylabs/object").BaseParamsFields & {
|
|
52
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random"
|
|
53
|
-
addToResolvers?: boolean
|
|
54
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[]
|
|
55
|
-
allowNameResolution?: boolean
|
|
27
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
28
|
+
addToResolvers?: boolean;
|
|
29
|
+
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
30
|
+
allowNameResolution?: boolean;
|
|
56
31
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
57
32
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
58
33
|
} & {
|
|
59
34
|
schema: string;
|
|
60
35
|
} & import("@xyo-network/payload-model").PayloadFields & {
|
|
61
|
-
schema: "network
|
|
36
|
+
schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfigSchema;
|
|
62
37
|
}, "schema"> & {
|
|
63
38
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
64
39
|
}, "schema"> & {
|
|
65
40
|
schema: string;
|
|
66
41
|
};
|
|
67
|
-
ephemeralQueryAccountEnabled?: boolean
|
|
68
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[]
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
43
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
69
44
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
70
|
-
schema:
|
|
45
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
71
46
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
72
47
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
73
48
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
74
49
|
schema: "network.xyo.boundwitness";
|
|
75
50
|
}, import("@xyo-network/diviner-model").DivinerModuleEventData<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
76
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random"
|
|
77
|
-
addToResolvers?: boolean
|
|
78
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[]
|
|
79
|
-
allowNameResolution?: boolean
|
|
51
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
52
|
+
addToResolvers?: boolean;
|
|
53
|
+
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
54
|
+
allowNameResolution?: boolean;
|
|
80
55
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
81
56
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
82
57
|
} & {
|
|
83
58
|
schema: string;
|
|
84
59
|
} & import("@xyo-network/payload-model").PayloadFields & {
|
|
85
|
-
schema: "network
|
|
60
|
+
schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfigSchema;
|
|
86
61
|
}, "schema"> & {
|
|
87
62
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
88
63
|
}, "schema"> & {
|
|
89
64
|
schema: string;
|
|
90
65
|
};
|
|
91
|
-
ephemeralQueryAccountEnabled?: boolean
|
|
92
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[]
|
|
66
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
67
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
93
68
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
94
|
-
schema:
|
|
69
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
95
70
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
96
71
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
97
72
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
98
73
|
schema: "network.xyo.boundwitness";
|
|
99
74
|
}, import("@xyo-network/diviner-model").DivinerModuleEventData>, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
100
|
-
schema:
|
|
75
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
101
76
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
102
77
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
103
78
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
104
79
|
schema: "network.xyo.boundwitness";
|
|
105
80
|
}>>, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
106
|
-
schema:
|
|
81
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
107
82
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
108
83
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
109
84
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Diviner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,EAAE,YAAY,EAA0B,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAA;
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Diviner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,EAAE,YAAY,EAA0B,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAA;AAChF,OAAO,EAA8D,8BAA8B,EAAE,MAAM,yCAAyC,CAAA;AACpJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAEL,yDAAyD,EAC1D,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAiB,MAAM,EAAoB,WAAW,EAAqB,MAAM,2BAA2B,CAAA;AAEnH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,SAAS,EAAmB,MAAM,gCAAgC,CAAA;AAK3E,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAK/D,MAAM,MAAM,4CAA4C,GAAG;IAIzD,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC;IAI5C,GAAG,cAAc,EAAE;CACpB,CAAA;AAeD,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,OAAgB,MAAM,EAAE,MAAM,CAG7B;IAED,IAAI,mBAAmB,WAEtB;IAKD,SAAS,KAAK,eAAe,IAAI,MAAM,EAAE,CAGxC;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,CAAC,WAAW,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC;cA6B7F,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;cAiB7D,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmB9B,yBAAyB,CAAC,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,GAAG,OAAO,CAAC,cAAc,EAAE,GAAG,SAAS,CAAC;CAOjI"}
|
|
@@ -3,107 +3,82 @@ import { ArchivistWrapper } from '@xyo-network/archivist-wrapper';
|
|
|
3
3
|
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
4
4
|
import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
5
5
|
import { BoundWitnessDiviner } from '@xyo-network/diviner-boundwitness-abstract';
|
|
6
|
+
import { BoundWitnessDivinerQuerySchema } from '@xyo-network/diviner-boundwitness-model';
|
|
6
7
|
import { IndexingDivinerState } from '@xyo-network/diviner-indexing-model';
|
|
7
8
|
import { TemporalIndexingDivinerStateToIndexCandidateDivinerParams } from '@xyo-network/diviner-temporal-indexing-model';
|
|
8
9
|
import { DivinerWrapper } from '@xyo-network/diviner-wrapper';
|
|
9
10
|
import { Labels, ModuleState } from '@xyo-network/module-model';
|
|
10
11
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
11
12
|
import { TimeStamp } from '@xyo-network/witness-timestamp';
|
|
12
|
-
/**
|
|
13
|
-
* All Payload types involved in index candidates for indexing
|
|
14
|
-
*/
|
|
15
13
|
export type IndexCandidate = BoundWitness | Payload | TimeStamp;
|
|
16
|
-
/**
|
|
17
|
-
* The response from the TemporalStateToIndexCandidateDiviner
|
|
18
|
-
*/
|
|
19
14
|
export type TemporalStateToIndexCandidateDivinerResponse = [
|
|
20
|
-
/**
|
|
21
|
-
* The next state of the diviner
|
|
22
|
-
*/
|
|
23
15
|
nextState: ModuleState<IndexingDivinerState>,
|
|
24
|
-
/**
|
|
25
|
-
* The index candidates
|
|
26
|
-
*/
|
|
27
16
|
...IndexCandidate[]
|
|
28
17
|
];
|
|
29
|
-
/**
|
|
30
|
-
* Transforms candidates for image thumbnail indexing into their indexed representation
|
|
31
|
-
*/
|
|
32
18
|
export declare class TemporalIndexingDivinerStateToIndexCandidateDiviner<TParams extends TemporalIndexingDivinerStateToIndexCandidateDivinerParams = TemporalIndexingDivinerStateToIndexCandidateDivinerParams> extends AbstractDiviner<TParams, Payload, ModuleState | IndexCandidate> {
|
|
33
19
|
static readonly configSchemas: Schema[];
|
|
34
20
|
static readonly defaultConfigSchema: Schema;
|
|
35
21
|
static labels: Labels;
|
|
36
22
|
get payloadDivinerLimit(): number;
|
|
37
|
-
/**
|
|
38
|
-
* The required payload_schemas within BoundWitnesses to identify index candidates
|
|
39
|
-
*/
|
|
40
23
|
protected get payload_schemas(): string[];
|
|
41
24
|
protected divineHandler(payloads?: Payload[]): Promise<[ModuleState, ...IndexCandidate[]]>;
|
|
42
|
-
/**
|
|
43
|
-
* Retrieves the archivist for the payloadStore
|
|
44
|
-
* @returns The archivist for the payloadStore or undefined if not resolvable
|
|
45
|
-
*/
|
|
46
25
|
protected getArchivistForStore(): Promise<ArchivistWrapper | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* Retrieves the BoundWitness Diviner for the payloadStore
|
|
49
|
-
* @returns The BoundWitness Diviner for the payloadStore or undefined if not resolvable
|
|
50
|
-
*/
|
|
51
26
|
protected getBoundWitnessDivinerForStore(): Promise<DivinerWrapper<BoundWitnessDiviner<import("@xylabs/object").BaseParamsFields & {
|
|
52
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random"
|
|
53
|
-
addToResolvers?: boolean
|
|
54
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[]
|
|
55
|
-
allowNameResolution?: boolean
|
|
27
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
28
|
+
addToResolvers?: boolean;
|
|
29
|
+
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
30
|
+
allowNameResolution?: boolean;
|
|
56
31
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
57
32
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
58
33
|
} & {
|
|
59
34
|
schema: string;
|
|
60
35
|
} & import("@xyo-network/payload-model").PayloadFields & {
|
|
61
|
-
schema: "network
|
|
36
|
+
schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfigSchema;
|
|
62
37
|
}, "schema"> & {
|
|
63
38
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
64
39
|
}, "schema"> & {
|
|
65
40
|
schema: string;
|
|
66
41
|
};
|
|
67
|
-
ephemeralQueryAccountEnabled?: boolean
|
|
68
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[]
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
43
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
69
44
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
70
|
-
schema:
|
|
45
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
71
46
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
72
47
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
73
48
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
74
49
|
schema: "network.xyo.boundwitness";
|
|
75
50
|
}, import("@xyo-network/diviner-model").DivinerModuleEventData<import("@xyo-network/diviner-model").DivinerInstance<import("@xylabs/object").BaseParamsFields & {
|
|
76
|
-
account?: import("@xyo-network/account-model").AccountInstance | "random"
|
|
77
|
-
addToResolvers?: boolean
|
|
78
|
-
additionalSigners?: import("@xyo-network/account-model").AccountInstance[]
|
|
79
|
-
allowNameResolution?: boolean
|
|
51
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
52
|
+
addToResolvers?: boolean;
|
|
53
|
+
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
54
|
+
allowNameResolution?: boolean;
|
|
80
55
|
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
81
56
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
82
57
|
} & {
|
|
83
58
|
schema: string;
|
|
84
59
|
} & import("@xyo-network/payload-model").PayloadFields & {
|
|
85
|
-
schema: "network
|
|
60
|
+
schema: import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerConfigSchema;
|
|
86
61
|
}, "schema"> & {
|
|
87
62
|
schema: "network.xyo.diviner.boundwitness.config";
|
|
88
63
|
}, "schema"> & {
|
|
89
64
|
schema: string;
|
|
90
65
|
};
|
|
91
|
-
ephemeralQueryAccountEnabled?: boolean
|
|
92
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[]
|
|
66
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
67
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
93
68
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
94
|
-
schema:
|
|
69
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
95
70
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
96
71
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
97
72
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
98
73
|
schema: "network.xyo.boundwitness";
|
|
99
74
|
}, import("@xyo-network/diviner-model").DivinerModuleEventData>, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
100
|
-
schema:
|
|
75
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
101
76
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
102
77
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
103
78
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
104
79
|
schema: "network.xyo.boundwitness";
|
|
105
80
|
}>>, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
106
|
-
schema:
|
|
81
|
+
schema: BoundWitnessDivinerQuerySchema;
|
|
107
82
|
} & import("@xyo-network/diviner-boundwitness-model").BoundWitnessDivinerPredicate & import("@xyo-network/payload-model").QueryFields, "schema"> & {
|
|
108
83
|
schema: "network.xyo.diviner.boundwitness.query";
|
|
109
84
|
}, import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Diviner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,EAAE,YAAY,EAA0B,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAA;
|
|
1
|
+
{"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../../src/StateToIndexCandidateDiviner/Diviner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACjE,OAAO,EAAE,YAAY,EAA0B,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAA;AAChF,OAAO,EAA8D,8BAA8B,EAAE,MAAM,yCAAyC,CAAA;AACpJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAEL,yDAAyD,EAC1D,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAiB,MAAM,EAAoB,WAAW,EAAqB,MAAM,2BAA2B,CAAA;AAEnH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,SAAS,EAAmB,MAAM,gCAAgC,CAAA;AAK3E,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAK/D,MAAM,MAAM,4CAA4C,GAAG;IAIzD,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC;IAI5C,GAAG,cAAc,EAAE;CACpB,CAAA;AAeD,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,OAAgB,MAAM,EAAE,MAAM,CAG7B;IAED,IAAI,mBAAmB,WAEtB;IAKD,SAAS,KAAK,eAAe,IAAI,MAAM,EAAE,CAGxC;cAEwB,aAAa,CAAC,QAAQ,GAAE,OAAO,EAAO,GAAG,OAAO,CAAC,CAAC,WAAW,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC;cA6B7F,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;cAiB7D,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmB9B,yBAAyB,CAAC,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,GAAG,OAAO,CAAC,cAAc,EAAE,GAAG,SAAS,CAAC;CAOjI"}
|