···11+/**
22+ * Configuration module for the PDS Dashboard
33+ */
44+export class Config {
55+ /**
66+ * The base URL of the PDS (Personal Data Server).
77+ * @default none
88+ */
99+ static readonly PDS_URL: string = "https://pds.synth.download";
1010+1111+ /**
1212+ * Theme to be used
1313+ * @default "default"
1414+ */
1515+ static readonly THEME: string = "synthdownload";
1616+1717+ /**
1818+ * The base URL of the frontend service for linking to replies/quotes/accounts etc.
1919+ * @default "https://deer.social" // or https://bsky.app if you're boring
2020+ */
2121+ static readonly FRONTEND_URL: string = "https://deer.social";
2222+2323+ /**
2424+ * Maximum number of posts to fetch from the PDS per request
2525+ * Should be around 20 for about 10 users on the pds
2626+ * The more users you have, the lower the number should be
2727+ * since sorting is slow and is done on the frontend
2828+ * @default 20
2929+ */
3030+ static readonly MAX_POSTS: number = 20;
3131+3232+ /**
3333+ * Footer text for the dashboard, you probably want to change this. Supports HTML.
3434+ * @default "<a href='https://git.witchcraft.systems/scientific-witchery/pds-dash' target='_blank'>Source</a> (<a href='https://github.com/witchcraft-systems/pds-dash/' target='_blank'>github mirror</a>)"
3535+ */
3636+ static readonly FOOTER_TEXT: string =
3737+ "<a href='https://synth.download' target='_blank'>Site</a> <span>•</span> <a href='https://forged.synth.download/sd/pds-dash' target='_blank'>Source</a>";
3838+3939+ /**
4040+ * Whether to show the posts with timestamps that are in the future.
4141+ * @default false
4242+ */
4343+ static readonly SHOW_FUTURE_POSTS: boolean = false;
4444+}