Feature: Läufigkeit & Trächtigkeit — Zyklen, Progesterontests, Deckdaten, Meilensteine (SW by-v894)
This commit is contained in:
parent
5a639d47a9
commit
f3308a6a94
8 changed files with 997 additions and 8 deletions
|
|
@ -719,6 +719,26 @@ const API = (() => {
|
|||
detail(id) { return get(`/litters/${id}`); },
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------
|
||||
// LÄUFIGKEIT & TRÄCHTIGKEIT
|
||||
// ----------------------------------------------------------
|
||||
const laeufi = {
|
||||
list(hundId) { return get(`/laeufi/${hundId}`); },
|
||||
add(hundId, data) { return post(`/laeufi/${hundId}`, data); },
|
||||
update(id, data) { return put(`/laeufi/entry/${id}`, data); },
|
||||
remove(id) { return del(`/laeufi/entry/${id}`); },
|
||||
// Progesterontests
|
||||
listProg(laeufiId) { return get(`/laeufi/entry/${laeufiId}/prog`); },
|
||||
addProg(laeufiId, data) { return post(`/laeufi/entry/${laeufiId}/prog`, data); },
|
||||
updateProg(id, data) { return put(`/laeufi/prog/${id}`, data); },
|
||||
removeProg(id) { return del(`/laeufi/prog/${id}`); },
|
||||
// Deckdaten
|
||||
listDeck(hundId) { return get(`/laeufi/deck/${hundId}`); },
|
||||
addDeck(hundId, data) { return post(`/laeufi/deck/${hundId}`, data); },
|
||||
updateDeck(id, data) { return put(`/laeufi/deck/entry/${id}`, data); },
|
||||
removeDeck(id) { return del(`/laeufi/deck/entry/${id}`); },
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------
|
||||
// ZÜCHTER-FOTOS
|
||||
// ----------------------------------------------------------
|
||||
|
|
@ -782,7 +802,7 @@ const API = (() => {
|
|||
auth, dogs, diary, health, tieraerzte, healthDocs, poison,
|
||||
places, routes, walks, events, sitting, forum, lost, knigge, weather, push,
|
||||
friends, chat, webcal, importData, sharing, widget, notifications, services, ratings, sittingAccess, training, notes,
|
||||
breeder, litters, breederPhotos, zuchthunde, zuchtKi,
|
||||
breeder, litters, breederPhotos, zuchthunde, zuchtKi, laeufi,
|
||||
osm,
|
||||
subscribeToPush, getLocation, clientNow,
|
||||
APIError,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue