Module types

Module types 

Source
Expand description

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.

Type Aliases§

ChapterResponse
Represents the response for a full story chapter object. Alias for [model::Chapter].
ChaptersResponse
Represents the multiple chapter response (Vec of StoryResponse)
LoginResponse
Represents the auth return type
StoryResponse
Represents the response data for a full story object. Alias for [model::Story].