Merge remote-tracking branch 'upstream/main' into beta

This commit is contained in:
2025-08-16 22:38:14 +03:00
844 changed files with 105393 additions and 102744 deletions

View File

@@ -44,7 +44,7 @@ export async function elyby_auth_authenticate(login, password, clientToken) {
* @property {string} user_code - The code to enter on the verification_uri page.
*/
export async function login() {
return await invoke('plugin:auth|login')
return await invoke('plugin:auth|login')
}
/**
@@ -52,7 +52,7 @@ export async function login() {
* @return {Promise<UUID | undefined>}
*/
export async function get_default_user() {
return await invoke('plugin:auth|get_default_user')
return await invoke('plugin:auth|get_default_user')
}
/**
@@ -60,7 +60,7 @@ export async function get_default_user() {
* @param {UUID} user
*/
export async function set_default_user(user) {
return await invoke('plugin:auth|set_default_user', { user })
return await invoke('plugin:auth|set_default_user', { user })
}
/**
@@ -68,7 +68,7 @@ export async function set_default_user(user) {
* @param {UUID} user
*/
export async function remove_user(user) {
return await invoke('plugin:auth|remove_user', { user })
return await invoke('plugin:auth|remove_user', { user })
}
/**
@@ -76,5 +76,5 @@ export async function remove_user(user) {
* @returns {Promise<Credential[]>}
*/
export async function users() {
return await invoke('plugin:auth|get_users')
return await invoke('plugin:auth|get_users')
}