Fill-the-Frames / frontend /src /lib /api /animation-client.ts
sid385's picture
feat: complete automated mosdac to ai animation pipeline
3adb6ef
Raw
History Blame Contribute Delete
301 Bytes
import { AnimationFrame } from '@/features/animation/types';
import { api } from './base-client';
export const animationClient = {
getLatestFrames: async (variable: string = 'TIR1'): Promise<AnimationFrame[]> => {
return api.get(`/animation/latest`, {
params: { variable }
});
}
};