13 lines
217 B
TypeScript
13 lines
217 B
TypeScript
export interface ApiResponse<T> {
|
|
data: T;
|
|
message?: string;
|
|
success: boolean;
|
|
}
|
|
|
|
export interface ProblemDetails {
|
|
title?: string;
|
|
status?: number;
|
|
detail?: string;
|
|
errors?: Record<string, string[]>;
|
|
}
|