@xyo-network/diviner-indexing-model 5.3.25 → 5.3.26

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 (2) hide show
  1. package/README.md +236 -10
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -1,23 +1,249 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/diviner-indexing-model
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
4
13
 
5
- Version: 5.0.2
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
6
17
 
7
- Primary SDK for using XYO Protocol 2.0
18
+ Using yarn:
8
19
 
9
- ## Documentation
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
10
23
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__diviner-indexing-model)
24
+ Using pnpm:
25
+
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
29
+
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### modules
46
+
47
+ ### packages
48
+
49
+ ### diviner
50
+
51
+ ### packages
52
+
53
+ ### indexing
54
+
55
+ ### packages
56
+
57
+ ### model
58
+
59
+ ### .temp-typedoc
60
+
61
+ ### type-aliases
62
+
63
+ ### <a id="DivinerStageSchema"></a>DivinerStageSchema
64
+
65
+ [**@xyo-network/diviner-indexing-model**](#../README)
66
+
67
+ ***
68
+
69
+ ```ts
70
+ type DivinerStageSchema = typeof DivinerStageSchema;
71
+ ```
72
+
73
+ ### <a id="ImageThumbnailDivinerSchema"></a>ImageThumbnailDivinerSchema
74
+
75
+ [**@xyo-network/diviner-indexing-model**](#../README)
76
+
77
+ ***
78
+
79
+ ```ts
80
+ type ImageThumbnailDivinerSchema = typeof IndexingDivinerSchema;
81
+ ```
82
+
83
+ ### <a id="IndexingDivinerConfig"></a>IndexingDivinerConfig
84
+
85
+ [**@xyo-network/diviner-indexing-model**](#../README)
86
+
87
+ ***
88
+
89
+ ```ts
90
+ type IndexingDivinerConfig<TConfig, TSchema> = DivinerConfig<WithAdditional<{
91
+ indexStore?: SearchableStorage;
92
+ indexingDivinerStages?: IndexingDivinerStageConfig;
93
+ payloadDivinerLimit?: number;
94
+ pollFrequency?: number;
95
+ schema: IndexingDivinerConfigSchema;
96
+ stateStore?: SearchableStorage;
97
+ }, TConfig>, TSchema>;
98
+ ```
99
+
100
+ ## Type Parameters
101
+
102
+ ### TConfig
103
+
104
+ `TConfig` *extends* `Payload` \| `EmptyObject` \| `void` = `void`
105
+
106
+ ### TSchema
107
+
108
+ `TSchema` *extends* `Schema` \| `void` = `void`
109
+
110
+ ### <a id="IndexingDivinerConfigSchema"></a>IndexingDivinerConfigSchema
111
+
112
+ [**@xyo-network/diviner-indexing-model**](#../README)
113
+
114
+ ***
115
+
116
+ ```ts
117
+ type IndexingDivinerConfigSchema = typeof IndexingDivinerConfigSchema;
118
+ ```
119
+
120
+ ### <a id="IndexingDivinerParams"></a>IndexingDivinerParams
121
+
122
+ [**@xyo-network/diviner-indexing-model**](#../README)
123
+
124
+ ***
125
+
126
+ ```ts
127
+ type IndexingDivinerParams = DivinerParams<AnyConfigSchema<IndexingDivinerConfig>>;
128
+ ```
129
+
130
+ ### <a id="IndexingDivinerStage"></a>IndexingDivinerStage
131
+
132
+ [**@xyo-network/diviner-indexing-model**](#../README)
133
+
134
+ ***
135
+
136
+ ```ts
137
+ type IndexingDivinerStage =
138
+ | "divinerQueryToIndexQueryDiviner"
139
+ | "indexCandidateToIndexDiviner"
140
+ | "indexQueryResponseToDivinerQueryResponseDiviner"
141
+ | "stateToIndexCandidateDiviner";
142
+ ```
143
+
144
+ The diviners for each stage of an indexing diviner
145
+
146
+ ### <a id="IndexingDivinerStageConfig"></a>IndexingDivinerStageConfig
147
+
148
+ [**@xyo-network/diviner-indexing-model**](#../README)
149
+
150
+ ***
151
+
152
+ ```ts
153
+ type IndexingDivinerStageConfig = { [key in IndexingDivinerStage]: ModuleIdentifier };
154
+ ```
155
+
156
+ Config section for declaring each indexing diviner stage
157
+
158
+ ### <a id="IndexingDivinerStageLabels"></a>IndexingDivinerStageLabels
159
+
160
+ [**@xyo-network/diviner-indexing-model**](#../README)
161
+
162
+ ***
163
+
164
+ ```ts
165
+ type IndexingDivinerStageLabels = Labels & { [key in DivinerStageSchema]: IndexingDivinerStage };
166
+ ```
167
+
168
+ Labels for Indexing Diviner Stage Diviners
169
+
170
+ ### <a id="IndexingDivinerState"></a>IndexingDivinerState
171
+
172
+ [**@xyo-network/diviner-indexing-model**](#../README)
173
+
174
+ ***
175
+
176
+ ```ts
177
+ type IndexingDivinerState = StateDictionary & object;
178
+ ```
179
+
180
+ ## Type Declaration
181
+
182
+ ### cursor
183
+
184
+ ```ts
185
+ cursor: Sequence;
186
+ ```
187
+
188
+ ### variables
189
+
190
+ ### <a id="DivinerStageSchema"></a>DivinerStageSchema
191
+
192
+ [**@xyo-network/diviner-indexing-model**](#../README)
193
+
194
+ ***
195
+
196
+ ```ts
197
+ const DivinerStageSchema: "network.xyo.diviner.stage" & object;
198
+ ```
199
+
200
+ ## Type Declaration
201
+
202
+ ### \_\_schema
203
+
204
+ ```ts
205
+ readonly __schema: true;
206
+ ```
207
+
208
+ ### <a id="IndexingDivinerConfigSchema"></a>IndexingDivinerConfigSchema
209
+
210
+ [**@xyo-network/diviner-indexing-model**](#../README)
211
+
212
+ ***
213
+
214
+ ```ts
215
+ const IndexingDivinerConfigSchema: string & object;
216
+ ```
217
+
218
+ ## Type Declaration
219
+
220
+ ### \_\_schema
221
+
222
+ ```ts
223
+ readonly __schema: true;
224
+ ```
225
+
226
+ ### <a id="IndexingDivinerSchema"></a>IndexingDivinerSchema
227
+
228
+ [**@xyo-network/diviner-indexing-model**](#../README)
229
+
230
+ ***
231
+
232
+ ```ts
233
+ const IndexingDivinerSchema: "network.xyo.diviner.indexing" & object;
234
+ ```
235
+
236
+ ## Type Declaration
237
+
238
+ ### \_\_schema
18
239
 
19
- ## Credits
240
+ ```ts
241
+ readonly __schema: true;
242
+ ```
20
243
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
244
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
245
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
246
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/diviner-indexing-model.svg
247
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/diviner-indexing-model
248
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/diviner-indexing-model.svg
249
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-indexing-model",
3
- "version": "5.3.25",
3
+ "version": "5.3.26",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,11 +22,11 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
+ "import": "./dist/neutral/index.mjs",
25
26
  "default": "./dist/neutral/index.mjs"
26
27
  },
27
28
  "./package.json": "./package.json"
28
29
  },
29
- "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
@@ -36,25 +36,25 @@
36
36
  "README.md"
37
37
  ],
38
38
  "dependencies": {
39
- "@xyo-network/module-model": "~5.3.25",
40
- "@xyo-network/diviner-model": "~5.3.25",
41
- "@xyo-network/payload-model": "~5.3.25"
39
+ "@xyo-network/diviner-model": "~5.3.26",
40
+ "@xyo-network/module-model": "~5.3.26",
41
+ "@xyo-network/payload-model": "~5.3.26"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@opentelemetry/api": "^1.9.1",
45
- "@types/node": "^25.5.0",
46
- "@xylabs/sdk-js": "^5.0.93",
47
- "@xylabs/ts-scripts-common": "~7.6.16",
48
- "@xylabs/ts-scripts-pnpm": "~7.6.16",
49
- "@xylabs/tsconfig": "~7.6.16",
45
+ "@types/node": "^25.5.2",
46
+ "@xylabs/sdk-js": "^5.0.94",
47
+ "@xylabs/ts-scripts-common": "~7.7.5",
48
+ "@xylabs/ts-scripts-pnpm": "~7.7.5",
49
+ "@xylabs/tsconfig": "~7.7.5",
50
50
  "acorn": "^8.16.0",
51
51
  "axios": "^1.14.0",
52
52
  "esbuild": "^0.28.0",
53
53
  "typescript": "~5.9.3",
54
54
  "zod": "^4.3.6",
55
- "@xyo-network/diviner-model": "~5.3.25",
56
- "@xyo-network/module-model": "~5.3.25",
57
- "@xyo-network/payload-model": "~5.3.25"
55
+ "@xyo-network/module-model": "~5.3.26",
56
+ "@xyo-network/payload-model": "~5.3.26",
57
+ "@xyo-network/diviner-model": "~5.3.26"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@xylabs/sdk-js": "^5",