Skip to contentOpen History to see the last commit
api.ts
6 lines186 Bytes
1import type { ProjectsPage } from './types' 3export const projectsAPI = { 4 getProjects: (cursor: number): Promise<ProjectsPage> => 5 $fetch('/api/projects', { query: { cursor } }),