@publish-cms/type
Version:
Publish CMS Core Type
26 lines (25 loc) • 595 B
TypeScript
import { IUser } from '../user';
export declare class IUserParty {
id?: string;
partyId?: string;
type?: EUserPartyType | string;
userId?: string;
user?: IUser;
nonce?: string;
extra?: any;
count?: number;
status?: EUserPartyStatus | string;
createdAt?: Date | string;
updatedAt?: Date | string;
}
export declare enum EUserPartyType {
TELEGRAM = "TELEGRAM",
WALLET = "WALLET",
FACEBOOK = "FACEBOOK",
GOOGLE = "GOOGLE",
TWITTER = "TWITTER"
}
export declare enum EUserPartyStatus {
INACTIVE = "INACTIVE",
ACTIVE = "ACTIVE"
}