Dashboard-Automatizase/types/api.ts
Luis Erlacher 0152a2fda0 feat: add n8n API testing script for Google OAuth2 schema and existing credentials
- 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.
2025-10-10 14:29:02 -03:00

7 lines
125 B
TypeScript

// Tipos de respostas de API
export interface ApiResponse<T = unknown> {
data?: T;
error?: string;
success: boolean;
}