User-Related Types

Private User Type

type PrivateDisadusUser = {
  id: string;
  username: string;
  email: string;
  firstName: string;
  lastName: string;
  bio: string;
  pfp: string;
  communities: string[];
  createdAt: number;
  primaryCommunity: string;
  community?: Communities;
  isAdmin: boolean;
  theme: number;
  staffLevel: number;
  tester: boolean;
  premiumUntil: number;
  openLinkStyle: number;
  tags?: string[];
};

Public User Type

Last updated

Was this helpful?