@cranberry-money/shared-types
Version:
Shared TypeScript type definitions for Blueberry platform
17 lines • 367 B
TypeScript
export interface FormErrors {
[key: string]: string[];
}
export interface PaginationParams {
page?: number;
page_size?: number;
}
export interface OrderingParams {
order_by?: string;
}
export interface PaginatedResponse<T> {
count: number;
next: string | null;
previous: string | null;
results: T[];
}
//# sourceMappingURL=api.d.ts.map