1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Types Registry SDK
//!
//! This crate provides the public API for the `types-registry` module:
//! - `TypesRegistryClient` trait for inter-module communication
//! - `GtsTypeSchema` / `GtsInstance` typed entity models
//! - `TypeSchemaQuery` / `InstanceQuery` for filtering
//! - `GtsTypeId` / `GtsInstanceId` typed identifiers
//! - `TypesRegistryError` for error handling
//!
//! ## Usage
//!
//! Consumers obtain the client from `ClientHub`:
//! ```ignore
//! use types_registry_sdk::{TypeSchemaQuery, TypesRegistryClient};
//!
//! let client = hub.get::<dyn TypesRegistryClient>()?;
//!
//! let schema = client.get_type_schema("gts.acme.core.events.user.v1~").await?;
//! let schemas = client
//! .list_type_schemas(TypeSchemaQuery::default().with_pattern("gts.acme.*"))
//! .await?;
//! ```
pub use TypesRegistryClient;
pub use TypesRegistryError;
pub use ;
// Re-export the underlying gts identifier types so consumers don't need a
// direct dependency on `gts` for typed IDs.
pub use GtsInstanceId;