@xyo-network/diviner-temporal-indexing-memory 2.81.0 → 2.82.1
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/Diviner.d.cts +1 -22
- package/dist/browser/Diviner.d.cts.map +1 -1
- package/dist/browser/Diviner.d.mts +1 -22
- package/dist/browser/Diviner.d.mts.map +1 -1
- package/dist/browser/Diviner.d.ts +1 -22
- package/dist/browser/Diviner.d.ts.map +1 -1
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.cts +1 -1
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.mts +1 -1
- package/dist/browser/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.cts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.mts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/Diviner.d.ts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/_Diviner.d.cts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/_Diviner.d.mts.map +1 -1
- package/dist/browser/IndexCandidateToIndexDiviner/_Diviner.d.ts.map +1 -1
- package/dist/browser/index.cjs +33 -154
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +20 -147
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/jsonpath/reducePayloads.d.cts +5 -5
- package/dist/browser/jsonpath/reducePayloads.d.cts.map +1 -1
- package/dist/browser/jsonpath/reducePayloads.d.mts +5 -5
- package/dist/browser/jsonpath/reducePayloads.d.mts.map +1 -1
- package/dist/browser/jsonpath/reducePayloads.d.ts +5 -5
- package/dist/browser/jsonpath/reducePayloads.d.ts.map +1 -1
- package/dist/node/Diviner.d.cts +1 -22
- package/dist/node/Diviner.d.cts.map +1 -1
- package/dist/node/Diviner.d.mts +1 -22
- package/dist/node/Diviner.d.mts.map +1 -1
- package/dist/node/Diviner.d.ts +1 -22
- package/dist/node/Diviner.d.ts.map +1 -1
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.cts +1 -1
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.mts +1 -1
- package/dist/node/DivinerQueryToIndexQueryDiviner/Diviner.d.ts +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.cts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.mts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/Diviner.d.ts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/_Diviner.d.cts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/_Diviner.d.mts.map +1 -1
- package/dist/node/IndexCandidateToIndexDiviner/_Diviner.d.ts.map +1 -1
- package/dist/node/index.js +33 -158
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +20 -151
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/jsonpath/reducePayloads.d.cts +5 -5
- package/dist/node/jsonpath/reducePayloads.d.cts.map +1 -1
- package/dist/node/jsonpath/reducePayloads.d.mts +5 -5
- package/dist/node/jsonpath/reducePayloads.d.mts.map +1 -1
- package/dist/node/jsonpath/reducePayloads.d.ts +5 -5
- package/dist/node/jsonpath/reducePayloads.d.ts.map +1 -1
- package/package.json +24 -25
- package/src/Diviner.ts +3 -140
- package/src/IndexCandidateToIndexDiviner/Diviner.ts +1 -1
- package/src/IndexCandidateToIndexDiviner/_Diviner.ts +1 -1
- package/src/jsonpath/reducePayloads.ts +1 -1
- package/src/spec/TemporalDiviner.json +63 -71
|
@@ -80,6 +80,9 @@
|
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"config": {
|
|
83
|
+
"filter": {
|
|
84
|
+
"payload_schemas": ["network.xyo.image.thumbnail"]
|
|
85
|
+
},
|
|
83
86
|
"labels": {
|
|
84
87
|
"network.xyo.diviner.stage": "stateToIndexCandidateDiviner",
|
|
85
88
|
"network.xyo.image.thumbnail": "diviner"
|
|
@@ -102,18 +105,70 @@
|
|
|
102
105
|
},
|
|
103
106
|
"language": "javascript",
|
|
104
107
|
"name": "ImageThumbnailIndexCandidateToImageThumbnailIndexDiviner",
|
|
105
|
-
"schema": "network.xyo.diviner.config"
|
|
108
|
+
"schema": "network.xyo.diviner.config",
|
|
109
|
+
"schemaTransforms": {
|
|
110
|
+
"network.xyo.image.thumbnail": [
|
|
111
|
+
{
|
|
112
|
+
"destinationField": "url",
|
|
113
|
+
"sourcePathExpression": "$.sourceUrl"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"destinationField": "status",
|
|
117
|
+
"sourcePathExpression": "$.http.status"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"network.xyo.timestamp": [
|
|
121
|
+
{
|
|
122
|
+
"destinationField": "timestamp",
|
|
123
|
+
"sourcePathExpression": "$.timestamp"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
106
127
|
}
|
|
107
128
|
},
|
|
108
129
|
{
|
|
109
130
|
"config": {
|
|
131
|
+
"divinerQuerySchema": "network.xyo.diviner.payload.query",
|
|
132
|
+
"indexQuerySchema": "network.xyo.diviner.payload.query",
|
|
133
|
+
"indexSchema": "network.xyo.diviner.indexing.temporal.result.index",
|
|
110
134
|
"labels": {
|
|
111
135
|
"network.xyo.diviner.stage": "divinerQueryToIndexQueryDiviner",
|
|
112
136
|
"network.xyo.image.thumbnail": "diviner"
|
|
113
137
|
},
|
|
114
138
|
"language": "javascript",
|
|
115
139
|
"name": "ImageThumbnailQueryToImageThumbnailIndexQueryDiviner",
|
|
116
|
-
"schema": "network.xyo.diviner.config"
|
|
140
|
+
"schema": "network.xyo.diviner.config",
|
|
141
|
+
"schemaTransforms": {
|
|
142
|
+
"network.xyo.diviner.payload.query": [
|
|
143
|
+
{
|
|
144
|
+
"destinationField": "url",
|
|
145
|
+
"sourcePathExpression": "$.url"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"defaultValue": 1,
|
|
149
|
+
"destinationField": "limit",
|
|
150
|
+
"sourcePathExpression": "$.limit"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"defaultValue": 0,
|
|
154
|
+
"destinationField": "offset",
|
|
155
|
+
"sourcePathExpression": "$.offset"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"defaultValue": "desc",
|
|
159
|
+
"destinationField": "order",
|
|
160
|
+
"sourcePathExpression": "$.order"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"destinationField": "status",
|
|
164
|
+
"sourcePathExpression": "$.status"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"destinationField": "success",
|
|
168
|
+
"sourcePathExpression": "$.success"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
117
172
|
}
|
|
118
173
|
},
|
|
119
174
|
{
|
|
@@ -134,79 +189,16 @@
|
|
|
134
189
|
"boundWitnessDiviner": "ImageThumbnailDivinerIndexBoundWitnessDiviner",
|
|
135
190
|
"payloadDiviner": "ImageThumbnailDivinerIndexPayloadDiviner"
|
|
136
191
|
},
|
|
192
|
+
"indexingDivinerStages": {
|
|
193
|
+
"divinerQueryToIndexQueryDiviner": "ImageThumbnailQueryToImageThumbnailIndexQueryDiviner",
|
|
194
|
+
"indexCandidateToIndexDiviner": "ImageThumbnailIndexCandidateToImageThumbnailIndexDiviner",
|
|
195
|
+
"indexQueryResponseToDivinerQueryResponseDiviner": "ImageThumbnailIndexQueryResponseToImageThumbnailQueryResponseDiviner",
|
|
196
|
+
"stateToIndexCandidateDiviner": "ImageThumbnailStateToIndexCandidateDiviner"
|
|
197
|
+
},
|
|
137
198
|
"language": "javascript",
|
|
138
199
|
"name": "ImageThumbnailDiviner",
|
|
139
200
|
"pollFrequency": 1000,
|
|
140
201
|
"schema": "network.xyo.diviner.indexing.config",
|
|
141
|
-
"stageConfigs": {
|
|
142
|
-
"divinerQueryToIndexQueryDiviner": {
|
|
143
|
-
"divinerQuerySchema": "network.xyo.diviner.payload.query",
|
|
144
|
-
"indexQuerySchema": "network.xyo.diviner.payload.query",
|
|
145
|
-
"indexSchema": "network.xyo.diviner.indexing.temporal.result.index",
|
|
146
|
-
"schemaTransforms": {
|
|
147
|
-
"network.xyo.diviner.payload.query": [
|
|
148
|
-
{
|
|
149
|
-
"destinationField": "url",
|
|
150
|
-
"sourcePathExpression": "$.url"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"defaultValue": 1,
|
|
154
|
-
"destinationField": "limit",
|
|
155
|
-
"sourcePathExpression": "$.limit"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"defaultValue": 0,
|
|
159
|
-
"destinationField": "offset",
|
|
160
|
-
"sourcePathExpression": "$.offset"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"defaultValue": "desc",
|
|
164
|
-
"destinationField": "order",
|
|
165
|
-
"sourcePathExpression": "$.order"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"destinationField": "status",
|
|
169
|
-
"sourcePathExpression": "$.status"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"destinationField": "success",
|
|
173
|
-
"sourcePathExpression": "$.success"
|
|
174
|
-
}
|
|
175
|
-
]
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"indexCandidateToIndexDiviner": {
|
|
179
|
-
"schemaTransforms": {
|
|
180
|
-
"network.xyo.image.thumbnail": [
|
|
181
|
-
{
|
|
182
|
-
"destinationField": "url",
|
|
183
|
-
"sourcePathExpression": "$.sourceUrl"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"destinationField": "status",
|
|
187
|
-
"sourcePathExpression": "$.http.status"
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
"network.xyo.timestamp": [
|
|
191
|
-
{
|
|
192
|
-
"destinationField": "timestamp",
|
|
193
|
-
"sourcePathExpression": "$.timestamp"
|
|
194
|
-
}
|
|
195
|
-
]
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"indexQueryResponseToDivinerQueryResponseDiviner": {},
|
|
199
|
-
"stateToIndexCandidateDiviner": {
|
|
200
|
-
"filter": {
|
|
201
|
-
"payload_schemas": ["network.xyo.image.thumbnail"]
|
|
202
|
-
},
|
|
203
|
-
"payloadStore": {
|
|
204
|
-
"archivist": "ImageThumbnailArchivist",
|
|
205
|
-
"boundWitnessDiviner": "ImageThumbnailBoundWitnessDiviner",
|
|
206
|
-
"payloadDiviner": "ImageThumbnailPayloadDiviner"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
202
|
"stateStore": {
|
|
211
203
|
"archivist": "AddressStateArchivist",
|
|
212
204
|
"boundWitnessDiviner": "AddressStateBoundWitnessDiviner",
|