Merge pull request #15 from LemmyNet/display_name

Display name
This commit is contained in:
Dessalines 2021-04-07 16:35:32 -04:00 committed by GitHub
commit 4b8f765456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy",
"version": "0.10.3",
"version": "0.11.0-rc.1",
"author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0",
"main": "./dist/index.js",

View file

@ -46,7 +46,7 @@ export interface SaveUserSettings {
lang: string;
avatar?: string;
banner?: string;
preferred_username?: string; // The display name
display_name?: string;
email?: string;
bio?: string;
matrix_user_id?: string;

View file

@ -14,7 +14,7 @@ export interface LocalUserSettings {
export interface PersonSafe {
id: number;
name: string;
preferred_username?: string;
display_name?: string;
avatar?: string;
banned: boolean;
published: string;