Add open links in new tab. (#160)

This commit is contained in:
Dessalines 2023-07-03 18:38:57 -04:00 committed by GitHub
parent d497a1efea
commit 8fa91b55bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,8 @@ export interface Community {
local: boolean; local: boolean;
icon?: string; icon?: string;
banner?: string; banner?: string;
followers_url: string;
inbox_url: string;
hidden: boolean; hidden: boolean;
posting_restricted_to_mods: boolean; posting_restricted_to_mods: boolean;
instance_id: InstanceId; instance_id: InstanceId;

View file

@ -23,4 +23,5 @@ export interface LocalUser {
email_verified: boolean; email_verified: boolean;
accepted_application: boolean; accepted_application: boolean;
totp_2fa_url?: string; totp_2fa_url?: string;
open_links_in_new_tab: boolean;
} }

View file

@ -15,6 +15,7 @@ export interface Person {
local: boolean; local: boolean;
banner?: string; banner?: string;
deleted: boolean; deleted: boolean;
inbox_url: string;
matrix_user_id?: string; matrix_user_id?: string;
admin: boolean; admin: boolean;
bot_account: boolean; bot_account: boolean;

View file

@ -25,4 +25,5 @@ export interface SaveUserSettings {
discussion_languages?: Array<LanguageId>; discussion_languages?: Array<LanguageId>;
generate_totp_2fa?: boolean; generate_totp_2fa?: boolean;
auth: string; auth: string;
open_links_in_new_tab?: boolean;
} }