feat: add login to the preference modal

This commit is contained in:
Kentai Radiquum 2024-09-20 12:09:25 +05:00
parent 6f1e48983a
commit 8138286233
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 64 additions and 39 deletions

View file

@ -18,6 +18,11 @@ export const ENDPOINTS = {
favorite: `${API_PREFIX}/favorite`,
settings: {
my: `${API_PREFIX}/profile/preference/my`,
login: {
info: `${API_PREFIX}/profile/preference/login/info`,
history: `${API_PREFIX}/profile/login/history/all`, // /<user_id>/<page>
change: `${API_PREFIX}/profile/preference/login/change`, // ?login=<url_encoded_string>
},
statusEdit: `${API_PREFIX}/profile/preference/status/edit`,
statsEdit: `${API_PREFIX}/profile/preference/privacy/stats/edit`,
countsEdit: `${API_PREFIX}/profile/preference/privacy/counts/edit`,