interface CommunityStats

Returned by GET /api/community?period= to the Community page, and gathered by community-service.ts, which the digests read too.

Properties

from: Date

The period covered, from from to to.

to: Date

The most upvoted public dumps posted in it, 10 at most.

In sign-up order, each with invitedByUsername when someone invited them.

The public playlists created in it, the fullest first, with dumpCount.

totals: { dumps: number; upvotes: number; comments: number; }

Public dumps posted, upvotes cast and comments written in it.

Usage

import { type CommunityStats } from "shared/community.ts";