allow blocking another person's content from this user (with iViewContent contact field)

This commit is contained in:
2025-06-20 15:53:31 -06:00
parent e5e07faf2a
commit c6c1091281
9 changed files with 215 additions and 91 deletions

View File

@@ -1122,6 +1122,7 @@ export default class DatabaseMigration extends Vue {
private loadingMessage = "";
private error = "";
private warning = "";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private exportedData: Record<string, any> | null = null;
private successMessage = "";
@@ -1134,6 +1135,7 @@ export default class DatabaseMigration extends Vue {
* @param {any} setting - The setting object
* @returns {string} The display name for the setting
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getSettingDisplayName(setting: any): string {
// Handle exported JSON format (has 'type' and 'did' fields)
if (setting.type && setting.did) {
@@ -1153,6 +1155,7 @@ export default class DatabaseMigration extends Vue {
* @param {any} account - The account object
* @returns {boolean} True if account has identity
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getAccountHasIdentity(account: any): boolean {
// Handle exported JSON format (has 'hasIdentity' field)
if (account.hasIdentity !== undefined) {
@@ -1170,6 +1173,7 @@ export default class DatabaseMigration extends Vue {
* @param {any} account - The account object
* @returns {boolean} True if account has mnemonic
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getAccountHasMnemonic(account: any): boolean {
// Handle exported JSON format (has 'hasMnemonic' field)
if (account.hasMnemonic !== undefined) {