add support for starring entries

This commit is contained in:
Athou
2022-08-19 10:34:04 +02:00
parent 91bc7fa4b0
commit 973fe56cc8
14 changed files with 104 additions and 19 deletions

View File

@@ -18,6 +18,7 @@ import {
RegistrationRequest,
ServerInfo,
Settings,
StarRequest,
SubscribeRequest,
Subscription,
UserModel,
@@ -44,6 +45,7 @@ export const client = {
},
entry: {
mark: (req: MarkRequest) => axiosInstance.post("entry/mark", req),
star: (req: StarRequest) => axiosInstance.post("entry/star", req),
},
feed: {
get: (id: string) => axiosInstance.get<Subscription>(`feed/get/${id}`),