|
@ -1212,6 +1212,11 @@ export const PlatformServiceMixin = { |
|
|
* @param changes Settings changes to save |
|
|
* @param changes Settings changes to save |
|
|
* @returns Promise<boolean> Success status |
|
|
* @returns Promise<boolean> Success status |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
/** |
|
|
|
|
|
* Since this is unused, and since it relies on this.activeDid which isn't guaranteed to exist, |
|
|
|
|
|
* let's take this out for the sake of safety. |
|
|
|
|
|
* Totally remove after start of 2026 (since it would be obvious by then that it's not used). |
|
|
|
|
|
* |
|
|
async $saveMySettings(changes: Partial<Settings>): Promise<boolean> { |
|
|
async $saveMySettings(changes: Partial<Settings>): Promise<boolean> { |
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
|
const currentDid = (this as any).activeDid; |
|
|
const currentDid = (this as any).activeDid; |
|
@ -1221,6 +1226,7 @@ export const PlatformServiceMixin = { |
|
|
} |
|
|
} |
|
|
return await this.$saveUserSettings(currentDid, changes); |
|
|
return await this.$saveUserSettings(currentDid, changes); |
|
|
}, |
|
|
}, |
|
|
|
|
|
**/ |
|
|
|
|
|
|
|
|
// =================================================
|
|
|
// =================================================
|
|
|
// CACHE MANAGEMENT METHODS
|
|
|
// CACHE MANAGEMENT METHODS
|
|
@ -2040,7 +2046,8 @@ declare module "@vue/runtime-core" { |
|
|
did: string, |
|
|
did: string, |
|
|
changes: Partial<Settings>, |
|
|
changes: Partial<Settings>, |
|
|
): Promise<boolean>; |
|
|
): Promise<boolean>; |
|
|
$saveMySettings(changes: Partial<Settings>): Promise<boolean>; |
|
|
// @deprecated; see implementation note above
|
|
|
|
|
|
// $saveMySettings(changes: Partial<Settings>): Promise<boolean>;
|
|
|
|
|
|
|
|
|
// Cache management methods
|
|
|
// Cache management methods
|
|
|
$refreshSettings(): Promise<Settings>; |
|
|
$refreshSettings(): Promise<Settings>; |
|
|