@knowledge-stack/ksapi 1.140.0 → 1.140.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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.140.
|
|
1
|
+
# @knowledge-stack/ksapi@1.140.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -668,7 +668,7 @@ and is automatically generated by the
|
|
|
668
668
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
669
669
|
|
|
670
670
|
- API version: `0.1.0`
|
|
671
|
-
- Package version: `1.140.
|
|
671
|
+
- Package version: `1.140.1`
|
|
672
672
|
- Generator version: `7.21.0`
|
|
673
673
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
674
674
|
|
|
@@ -16,10 +16,12 @@ import type { DocumentType } from './DocumentType';
|
|
|
16
16
|
* ``chunk_id`` is the load-bearing field — every reader can use it via
|
|
17
17
|
* ``/v1/chunks/bulk``. The document fields are populated by
|
|
18
18
|
* ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at
|
|
19
|
-
* save time; they stay ``None`` only when
|
|
20
|
-
* (
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* save time; they stay ``None`` only when a *transient* resolve failure
|
|
20
|
+
* (network, 5xx) left the chunk unenriched. A chunk that no longer exists
|
|
21
|
+
* (a definitive 404) is dropped at save time rather than persisted with a
|
|
22
|
+
* bare id, so a dead citation never reaches the FE. The doc-info snapshot is
|
|
23
|
+
* captured at save time; later renames or replacements of the source document
|
|
24
|
+
* do not update it.
|
|
23
25
|
* @export
|
|
24
26
|
* @interface CitedChunk
|
|
25
27
|
*/
|
|
@@ -16,10 +16,12 @@ import type { DocumentType } from './DocumentType';
|
|
|
16
16
|
* ``chunk_id`` is the load-bearing field — every reader can use it via
|
|
17
17
|
* ``/v1/chunks/bulk``. The document fields are populated by
|
|
18
18
|
* ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at
|
|
19
|
-
* save time; they stay ``None`` only when
|
|
20
|
-
* (
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* save time; they stay ``None`` only when a *transient* resolve failure
|
|
20
|
+
* (network, 5xx) left the chunk unenriched. A chunk that no longer exists
|
|
21
|
+
* (a definitive 404) is dropped at save time rather than persisted with a
|
|
22
|
+
* bare id, so a dead citation never reaches the FE. The doc-info snapshot is
|
|
23
|
+
* captured at save time; later renames or replacements of the source document
|
|
24
|
+
* do not update it.
|
|
23
25
|
* @export
|
|
24
26
|
* @interface CitedChunk
|
|
25
27
|
*/
|
package/docs/CitedChunk.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# CitedChunk
|
|
3
3
|
|
|
4
|
-
One cited chunk with the source document context for FE rendering. ``chunk_id`` is the load-bearing field — every reader can use it via ``/v1/chunks/bulk``. The document fields are populated by ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at save time; they stay ``None`` only when
|
|
4
|
+
One cited chunk with the source document context for FE rendering. ``chunk_id`` is the load-bearing field — every reader can use it via ``/v1/chunks/bulk``. The document fields are populated by ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at save time; they stay ``None`` only when a *transient* resolve failure (network, 5xx) left the chunk unenriched. A chunk that no longer exists (a definitive 404) is dropped at save time rather than persisted with a bare id, so a dead citation never reaches the FE. The doc-info snapshot is captured at save time; later renames or replacements of the source document do not update it.
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
package/package.json
CHANGED
package/src/models/CitedChunk.ts
CHANGED
|
@@ -27,10 +27,12 @@ import {
|
|
|
27
27
|
* ``chunk_id`` is the load-bearing field — every reader can use it via
|
|
28
28
|
* ``/v1/chunks/bulk``. The document fields are populated by
|
|
29
29
|
* ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at
|
|
30
|
-
* save time; they stay ``None`` only when
|
|
31
|
-
* (
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* save time; they stay ``None`` only when a *transient* resolve failure
|
|
31
|
+
* (network, 5xx) left the chunk unenriched. A chunk that no longer exists
|
|
32
|
+
* (a definitive 404) is dropped at save time rather than persisted with a
|
|
33
|
+
* bare id, so a dead citation never reaches the FE. The doc-info snapshot is
|
|
34
|
+
* captured at save time; later renames or replacements of the source document
|
|
35
|
+
* do not update it.
|
|
34
36
|
* @export
|
|
35
37
|
* @interface CitedChunk
|
|
36
38
|
*/
|