- Implemented a bash script to test n8n API and retrieve credential schemas. - Added types for API responses, Google Calendar, and WhatsApp instances. - Configured Vitest for testing with React and added setup for testing-library.
7 lines
125 B
TypeScript
7 lines
125 B
TypeScript
// Tipos de respostas de API
|
|
export interface ApiResponse<T = unknown> {
|
|
data?: T;
|
|
error?: string;
|
|
success: boolean;
|
|
}
|