···44 name: string;
55 handle: string;
66 avatarUrl?: string;
77+ bannerUrl?: string;
78 description?: string;
89 isFollowing?: boolean; // Whether the calling user follows this user
1010+ followsYou?: boolean; // Whether this user follows the calling user
1111+ followerCount?: number; // Number of users following this user
1212+ followingCount?: number; // Number of users this user follows
1313+ followedCollectionsCount?: number; // Number of collections this user follows
914}
1515+1616+// Type alias for inline profile objects (without isFollowing)
1717+// Used for nested author objects in collections, cards, etc.
1818+export type UserProfileDTO = Omit<User, 'isFollowing'>;
1919+2020+// Type alias for minimal profile objects (without description)
2121+// Used for card authors in collection pages and other compact displays
2222+export type MinimalUserProfile = Omit<UserProfileDTO, 'description'>;
10231124// Base pagination interface
1225export interface Pagination {
···2626export type { LoginWithAppPasswordRequest as LoginWithAppPasswordDTO } from './requests';
27272828// Type aliases for backend DTO naming conventions
2929-export type { User as UserProfileDTO } from './common';
3029export type { Collection as CollectionDTO } from './responses';
3130export type { UrlCard as UrlCardDTO } from './responses';
3231export type { Pagination as PaginationDTO } from './common';