Changed design language. Added editions, better support for authors. Base for file handling

This commit is contained in:
2026-03-28 15:17:20 +02:00
parent cbd7f52535
commit 5acde17a53
84 changed files with 5861 additions and 1983 deletions
+10
View File
@@ -0,0 +1,10 @@
import type { AuthorSummary, AuthorDetail } from '../types'
import { api } from './client'
export function fetchAuthors(): Promise<AuthorSummary[]> {
return api.get<AuthorSummary[]>('/authors')
}
export function fetchAuthor(id: number): Promise<AuthorDetail> {
return api.get<AuthorDetail>(`/authors/${id}`)
}