EverydayTech Platform - Developer Reference
Complete Source Code Documentation - All Applications
Loading...
Searching...
No Matches
fieldpineApi.ts
Go to the documentation of this file.
1// Deprecated: This is a stub for legacy fieldpineApi calls
2// These should be migrated to use apiClient instead
3
4export const fieldpineApi = async (options: { endpoint: string; apiKey?: string }): Promise<any> => {
5 // For now, we'll throw an error to indicate this needs migration
6 // In production, these calls should go through the API client
7 console.warn('fieldpineApi is deprecated - this page needs migration to apiClient');
8
9 // Return empty data structure to allow compilation
10 return {
11 DATS: [],
12 success: false,
13 error: 'fieldpineApi is deprecated - use apiClient'
14 };
15};