ik-mini 0.2.0-alpha.5

Minimal async API Wrapper for IK | Only Reader/Public API | Extremely minimal.
Documentation
//! Defines the public type aliases for the data structures returned by API endpoints.
//!
//! These aliases provide a clear and consistent naming convention (e.g., `UserResponse`)
//! for the types that consumers of this library will receive, distinguishing them from
//! the internal `model` structs. This makes the library's public API more explicit.

use crate::model;

/// Represents response for a full story chapter object. Alias for [`model::StoryResult`]
pub(crate) type StoryResult = model::StoryResult;

/// Represents the response data for a full story object. Alias for [`model::Story`].
pub type StoryResponse = model::Story;

/// Represents the response for a full story chapter object. Alias for [`model::Chapter`].
pub type ChapterResponse = model::Chapter;

/// Represents the multiple chapter response (Vec of StoryResponse)
pub type ChaptersResponse = Vec<ChapterResponse>;

/// Represents the auth return type
pub type LoginResponse = model::LoginResponse;