UNPKG

apis.do

Version:

Unified API Gateway for all domains and services in the .do ecosystem

24 lines (23 loc) 471 B
export interface ErrorResponse { errors?: Array<{ message: string; code?: string; path?: string; }>; } export interface ListResponse<T> { data: T[]; meta?: { total?: number; page?: number; pageSize?: number; hasNextPage?: boolean; }; } export interface QueryParams { [key: string]: any; limit?: number; page?: number; sort?: string | string[]; where?: Record<string, any>; }