/**
 * TypeScript declarations for GET /api/v1/users.
 * Generated from the schema published by example-data.com.
 */
export type User = {
  id: number;
  firstName: string;
  lastName: string;
  fullName: string;
  username: string;
  email: string;
  phone: string;
  bio: string;
  avatarUrl: string;
  thumbnailUrl: string;
  coverImageUrl: string;
  emailVerified: boolean;
  isActive: boolean;
  twitterHandle: string | null;
  createdAt: string;
  updatedAt: string;
};

export interface PaginationMeta {
  page: number;
  limit: number;
  total: number;
  totalPages: number;
}

export interface PaginationLinks {
  self: string;
  first: string;
  last: string;
  next: string | null;
  prev: string | null;
}

export interface ListEnvelope<T> {
  data: T[];
  meta: PaginationMeta;
  links: PaginationLinks;
}
