用户信息

interface User {
    avatarImage: AvatarImage;
    backgroundImage: BackgroundImage;
    bio?: string;
    briefIntro: string;
    city?: string;
    country?: string;
    createdAt: string;
    decorations?: {
        sponsor: {
            picUrl: string;
            themes: {
                dark: {
                    picUrl: string;
                };
            };
        };
    };
    following?: boolean;
    gender: string;
    id: string;
    isBannedForever: boolean;
    isCancelled?: true;
    isSponsor: boolean;
    isVerified: boolean;
    muting: boolean;
    profileImageUrl: string;
    province?: string;
    ref?: string;
    refRemark?: RefRemark;
    screenName: string;
    sponsorExpiresAt?: string;
    statsCount: StatsCount;
    storyStatus?: StoryStatus;
    trailingIcons?: TrailingIcon[];
    updatedAt: string;
    username: string;
    verifyMessage: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

avatarImage: AvatarImage
backgroundImage: BackgroundImage
bio?: string
briefIntro: string
city?: string
country?: string
createdAt: string
decorations?: {
    sponsor: {
        picUrl: string;
        themes: {
            dark: {
                picUrl: string;
            };
        };
    };
}

Type declaration

  • sponsor: {
        picUrl: string;
        themes: {
            dark: {
                picUrl: string;
            };
        };
    }

    会员

    • picUrl: string
    • themes: {
          dark: {
              picUrl: string;
          };
      }
      • dark: {
            picUrl: string;
        }
        • picUrl: string
following?: boolean

是否关注

gender: string
id: string
isBannedForever: boolean
isCancelled?: true

是否已注销

isSponsor: boolean
isVerified: boolean
muting: boolean

是否 不看TA的内容

profileImageUrl: string
province?: string
ref?: string
refRemark?: RefRemark
screenName: string
sponsorExpiresAt?: string

会员过期时间

statsCount: StatsCount
storyStatus?: StoryStatus

日记状态

trailingIcons?: TrailingIcon[]

尾部图标

updatedAt: string
username: string
verifyMessage: string