feat: Oberflaeche fuer die Schnellerfassung
- "Mein Konto": Geraetemarken anlegen und widerrufen. Der Klartext ist nur einmal zu sehen, daneben steht eine Bauanleitung fuer den Kurzbefehl mit kopierfertiger Adresse und Kopfzeile. Ein fertiger Download geht nicht: seit iOS 15 muessen Kurzbefehl-Dateien signiert sein, und signieren kann nur ein Mac mit Apple-Konto. - Neue Seite "Eingang": was unterwegs erfasst wurde, mit Kategorie-Auswahl und Verwerfen. - Die Import-Pruefliste unterscheidet jetzt, WARUM eine Zeile uebersprungen wird: "schon erfasst" mit Erklaerung statt nur "Duplikat". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -164,6 +164,15 @@ export const api = {
|
||||
deleteAccount: (id) => request(`/accounts/${id}`, { method: "DELETE" }),
|
||||
setAccountOrder: (ids) => request("/accounts/order", { method: "PUT", body: { ids } }),
|
||||
|
||||
// Schnellerfassung: Gerätemarken und Eingang
|
||||
listTokens: () => request("/inbox/tokens"),
|
||||
createToken: (body) => request("/inbox/tokens", { method: "POST", body }),
|
||||
deleteToken: (id) => request(`/inbox/tokens/${id}`, { method: "DELETE" }),
|
||||
listInbox: () => request("/inbox"),
|
||||
discardInboxItem: (id) => request(`/inbox/${id}`, { method: "DELETE" }),
|
||||
setInboxCategory: (id, categoryId) =>
|
||||
request(`/inbox/${id}/category/${categoryId}`, { method: "POST" }),
|
||||
|
||||
// Kategorien (Gruppen + Kategorien)
|
||||
listCategories: () => request("/categories"),
|
||||
createGroup: (body) => request("/categories/groups", { method: "POST", body }),
|
||||
|
||||
Reference in New Issue
Block a user