Avatar dialog view/set styles

This commit is contained in:
Natsumi
2025-04-11 14:08:43 +10:00
parent 30b1bf3332
commit 59d3ead781
9 changed files with 220 additions and 12 deletions

View File

@@ -152,6 +152,21 @@ const avatarReq = {
// window.API.$emit('AVATAR:IMPOSTER:DELETE', args);
return args;
});
},
/**
* @returns {Promise<{json: any, params}>}
*/
getAvailableAvatarStyles() {
return window.API.call('avatarStyles', {
method: 'GET'
}).then((json) => {
const args = {
json
};
// window.API.$emit('AVATAR:STYLES', args);
return args;
});
}
};
// #endregion