@indxsearch/indx-types 3.0.0 → 3.1.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/status.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- `SystemStatus` describes a rebuild's outcome: `shadowBuildFinishedUtc` says when the last rebuild ended, and `shadowBuildError` why it failed, if it did. A failed rebuild changes nothing: the dataset keeps serving what it had.
|
|
8
|
+
|
|
3
9
|
All notable changes to this project will be documented in this file.
|
|
4
10
|
|
|
5
11
|
## 3.0.0
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ npm install @indxsearch/indx-types
|
|
|
18
18
|
|
|
19
19
|
## Version Compatibility
|
|
20
20
|
|
|
21
|
-
This package (`@indxsearch/indx-types`
|
|
21
|
+
This package (`@indxsearch/indx-types` 3.x) provides types for **Indx v2.0** (IndxSearchLib v5). The shapes are generated from and verified against the live v5 OpenAPI spec.
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
package/dist/status.d.ts
CHANGED
|
@@ -36,6 +36,13 @@ export interface SystemStatus {
|
|
|
36
36
|
recordsOnDisk: number;
|
|
37
37
|
/** Fields in the stored field configuration; 0 = not analyzed. */
|
|
38
38
|
fieldsDiscovered: number;
|
|
39
|
+
/** True while a rebuild on a shadow engine runs. `PUT fields/configuration` and
|
|
40
|
+
* `POST index` on a Ready dataset answer 202 as soon as one is started. */
|
|
39
41
|
shadowBuildInProgress: boolean;
|
|
40
42
|
shadowBuildStartedUtc?: string | null;
|
|
43
|
+
/** When the last rebuild ended; null while one runs and before the first. */
|
|
44
|
+
shadowBuildFinishedUtc?: string | null;
|
|
45
|
+
/** Why the last rebuild failed, or null. A failed rebuild swaps nothing in: the dataset
|
|
46
|
+
* keeps serving with the documents and field configuration it had. */
|
|
47
|
+
shadowBuildError?: string | null;
|
|
41
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indxsearch/indx-types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "TypeScript type definitions for Indx v2. Provides complete types for search queries, filters, boosts, results, and system status based on the official Swagger specification.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"indx",
|