You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/guides/client-sdk.mdx
+87-26Lines changed: 87 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The `@objectstack/client` is the official TypeScript client for ObjectStack. It
17
17
-**Batch Operations**: Efficient bulk create/update/upsert/delete with transaction support
18
18
-**Query Builder**: Programmatic query construction with `createQuery()` and `createFilter()`
19
19
-**Standardized Errors**: Machine-readable error codes with retry guidance
20
-
-**100% Protocol Compliant**: Implements all 13 API namespaces and 95+ methods defined in `@objectstack/spec`
20
+
-**100% Protocol Compliant**: Implements all 15 API namespaces defined in `@objectstack/spec`
21
21
22
22
## Installation
23
23
@@ -105,19 +105,21 @@ if (discovery.services?.auth?.enabled) {
105
105
106
106
## Protocol Coverage
107
107
108
-
The `@objectstack/client` SDK aims to implement the ObjectStack API protocol specification. It covers all 13 API namespaces defined in `@objectstack/spec`:
108
+
The `@objectstack/client` SDK aims to implement the ObjectStack API protocol specification. It covers all 15 API namespaces defined in `@objectstack/spec`:
109
109
110
110
| Namespace | Status | Methods | Purpose |
111
111
|:----------|:------:|:--------|:--------|
112
112
|**discovery**| ✅ | 1 | API version & capabilities detection |
|`useMetadata(type, name)`| Get arbitrary metadata |
484
+
423
485
---
424
486
425
487
## Testing
@@ -449,7 +511,7 @@ cd packages/client
449
511
pnpm test:integration
450
512
```
451
513
452
-
Integration tests verify end-to-end communication with a live ObjectStack server across all 13 API namespaces.
514
+
Integration tests verify end-to-end communication with a live ObjectStack server across all 15 API namespaces.
453
515
454
516
<Callouttype="info">
455
517
**Test coverage**: Integration test specifications cover discovery/connection, authentication, metadata operations, CRUD operations (basic, batch, advanced queries), permissions, workflow, realtime, notifications, AI services, i18n, analytics, packages, views, storage, and automation.
@@ -461,10 +523,9 @@ Integration tests verify end-to-end communication with a live ObjectStack server
461
523
462
524
For detailed information about the client's protocol implementation:
463
525
464
-
-**[Protocol Compliance Matrix](https://github.com/objectstack-ai/spec/blob/main/packages/client/CLIENT_SPEC_COMPLIANCE.md)** — Method-by-method verification of all 95+ API methods across 13 namespaces
526
+
-**[Protocol Compliance Matrix](https://github.com/objectstack-ai/spec/blob/main/packages/client/CLIENT_SPEC_COMPLIANCE.md)** — Method-by-method verification of all API methods across 15 namespaces
465
527
-**[Integration Test Specifications](https://github.com/objectstack-ai/spec/blob/main/packages/client/CLIENT_SERVER_INTEGRATION_TESTS.md)** — Comprehensive test cases for client-server communication
466
528
-**[Quick Reference Guide](https://github.com/objectstack-ai/spec/blob/main/packages/client/QUICK_REFERENCE.md)** — Developer navigation and API reference
467
-
-**[中文合规性报告](https://github.com/objectstack-ai/spec/blob/main/packages/client/CLIENT_SPEC_COMPLIANCE_CN.md)** — Chinese language compliance verification report
0 commit comments