Theme settings per user

This commit is contained in:
Muhammad Ibrahim
2025-10-31 17:33:47 +00:00
parent 37462f4831
commit 94bfffd882
13 changed files with 317 additions and 191 deletions

View File

@@ -169,6 +169,12 @@ export const settingsAPI = {
getServerUrl: () => api.get("/settings/server-url"),
};
// User Preferences API
export const userPreferencesAPI = {
get: () => api.get("/user/preferences"),
update: (preferences) => api.patch("/user/preferences", preferences),
};
// Agent File Management API
export const agentFileAPI = {
getInfo: () => api.get("/hosts/agent/info"),