jormungandr-bite/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.userlite.md
Laura Hausmann 91dddc439f
[sdk] Rename iceshrimp-js package to iceshrimp-sdk
This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
2024-07-23 23:15:19 +02:00

1 KiB

Home > iceshrimp-sdk > entities > UserLite

entities.UserLite type

Signature:

export type UserLite = {
    id: ID;
    username: string;
    host: string | null;
    name: string;
    onlineStatus: "online" | "active" | "offline" | "unknown";
    avatarUrl: string;
    avatarBlurhash: string;
    alsoKnownAs: string[];
    movedToUri: any;
    emojis: {
        name: string;
        url: string;
    }[];
    instance?: {
        name: Instance["name"];
        softwareName: Instance["softwareName"];
        softwareVersion: Instance["softwareVersion"];
        iconUrl: Instance["iconUrl"];
        faviconUrl: Instance["faviconUrl"];
        themeColor: Instance["themeColor"];
    };
};

References: ID, Instance