types-sdk 0.5.2

SDK for types module: API trait, domain models and error definitions
Documentation

Types SDK

This crate provides the public API for the types module:

  • TypesClient trait for inter-module communication
  • TypesError for error handling

Purpose

The types module is responsible for registering core GTS types that are used throughout the framework (e.g., BaseModkitPluginV1 for plugin systems).

Usage

Consumers obtain the client from ClientHub:

use types_sdk::TypesClient;

// Get the client from ClientHub
let client = hub.get::<dyn TypesClient>()?;

// Check if core types are registered
let ready = client.is_ready().await?;