/** * Social types * * Types for groups, group players, and social features */ /** * Group * * Represents a social group that users can join */ export interface GroupProps { /** Unique group identifier */ group_id: string; /** Group type - direct message or multi-member */ type: 'direct' | 'multiple'; /** Group description */ description: string; /** Related entity ID */ related_id?: string; /** Related entity type */ related_type?: string; /** Group display name */ name: string; /** Whether the group is invite-only */ invite_only: boolean; /** Invite code for joining */ invite_code?: string; /** Group image */ group_image?: { url: string; }; /** Whether members can invite others */ allow_member_invites?: boolean; /** Whether order alerts are enabled */ order_alerts: boolean; /** Whether position alerts are enabled */ position_alerts: boolean; /** Whether leaderboard is shown */ leaderboard_ind: boolean; /** Whether competition alerts are enabled */ competition_alerts: boolean; /** Admin player ID */ group_admin: string; /** Last message in the group */ last_message?: any; /** Timestamp when created */ create_datetime: any; /** Current group status */ status: string; /** Timestamp of last update */ last_update_datetime: any; /** Timestamp of last message */ last_message_datetime?: any; } /** * Group player * * Represents a player's membership in a group */ export interface GroupPlayerProps { /** Unique group player identifier */ group_player_id: string; /** Group this membership belongs to */ group_id: string; /** Whether leaderboard is enabled for this player */ leaderboard?: boolean; /** Player activity status */ activity?: string; /** Activity notification preferences */ activity_notifications?: string[]; /** Chat notification preferences */ chat_notifications?: boolean; /** Member notification preferences */ member_notifications?: boolean; /** Player ID */ player_id: string; /** Timestamp when joined */ create_datetime: any; /** Whether player is banned */ banned?: boolean; /** Membership status */ status: 'invited' | 'active' | 'inactive'; /** Timestamp of last update */ last_update_datetime: any; } //# sourceMappingURL=social.types.d.ts.map