weverse
Version:
Wrapper for weverse private API
43 lines (42 loc) • 1.21 kB
TypeScript
import { Artist } from "../types";
import { WeverseCommunity } from "./community";
declare type PartialArtist = Partial<WeverseArtist>;
declare const WeverseArtist_base: new (t: {
id: number;
communityUserId: number;
name: string;
listName: string[];
profileNickName: string;
profileImgPath: URL;
profileUploadImgPath: URL;
isBirthday: boolean;
groupName: string;
communityId: number;
hasNewToFans: boolean;
hasNewPrivateToFans: boolean;
toFanLastId: number | undefined;
toFanLastCreatedAt: Date | undefined;
birthdayImgUrl: URL;
}) => {
id: number;
communityUserId: number;
name: string;
listName: string[];
profileNickName: string;
profileImgPath: URL;
profileUploadImgPath: URL;
isBirthday: boolean;
groupName: string;
communityId: number;
hasNewToFans: boolean;
hasNewPrivateToFans: boolean;
toFanLastId: number | undefined;
toFanLastCreatedAt: Date | undefined;
birthdayImgUrl: URL;
};
export declare class WeverseArtist extends WeverseArtist_base {
community: WeverseCommunity;
constructor(props: Artist, community: WeverseCommunity);
toJSON(): PartialArtist;
}
export {};