@andesine/sdk 0.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 +22 -0
- package/LICENSE +21 -0
- package/README.md +728 -0
- package/dist/answer-stream-7N_gLhVS.js +193 -0
- package/dist/answer-stream-7N_gLhVS.js.map +1 -0
- package/dist/index-DFEcYmbh.d.ts +23370 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1167 -0
- package/dist/index.js.map +1 -0
- package/dist/streaming.d.ts +41 -0
- package/dist/streaming.js +93 -0
- package/dist/streaming.js.map +1 -0
- package/openapi.json +27190 -0
- package/package.json +69 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
- Initial public TypeScript client generated from the Andesine OpenAPI document.
|
|
6
|
+
- Generated public schema and operation types, with direct and `Andesine` imports.
|
|
7
|
+
- Configurable base URL, authentication, Fetch implementation, timeouts, and cancellation.
|
|
8
|
+
- Typed errors, full-response mode, snapshots, pagination, and optional read retries.
|
|
9
|
+
- Publishing snapshot preconditions, bounded bulk inputs, and authenticated instance limits.
|
|
10
|
+
- Paginated members, invitations, migration content-loss entries, and published content listings.
|
|
11
|
+
- Resumable item and page iterators with snapshot metadata available on pages.
|
|
12
|
+
- Recorded schema metadata and exact revision reads, expected schema hashes, and structured schema validation errors.
|
|
13
|
+
- Shared sibling names, creation suffixes, and typed name-conflict errors for rename and restore operations.
|
|
14
|
+
- ID-or-path reads, collection path scopes, canonical paths, and a virtual published root tree.
|
|
15
|
+
- Snapshot-based path resolution and typed publication name-conflict errors.
|
|
16
|
+
- Read selectors use query parameters on fixed GET routes; collection lists use `collectionID` or `collectionPath` instead of `ancestorID`.
|
|
17
|
+
- Published entry lists support property filters, descendant scopes, and optional full content with input-dependent response types.
|
|
18
|
+
- Nested query filters use indexed bracket encoding compatible with the API.
|
|
19
|
+
- `toStructuredContent` unwraps property values and fragment content while preserving metadata and empty values.
|
|
20
|
+
- Canonical search paths and heading anchors, with required snapshot and version metadata on published results.
|
|
21
|
+
- Public complete AI answers with explicit key permissions, typed sources and history, and instance capability flags.
|
|
22
|
+
- Typed SSE answer methods, cancellation through consumption, stream errors, and optional `streaming` response/reader helpers.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Vrite, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|