Interface TallyListDTO<T>

Type definitions for paginated list responses

This module contains type definitions for paginated list responses from the Tally API. These types are used to handle paginated data across different endpoints.

  • TallyListDTO is a generic type that can be used with any item type
  • Includes metadata about pagination (page, limit, total, hasMore)
  • Used by various endpoints that return lists of items
interface TallyListDTO<T> {
    hasMore: boolean;
    items: T[];
    limit: number;
    page: number;
    total: number;
}

Type Parameters

  • T

Properties

hasMore: boolean
items: T[]
limit: number
page: number
total: number