moderator-toolbox-nxg-for-reddit / modules/shared/proposals/paths

modules/shared/proposals/paths

Functions

getProposalsPagePath()

getProposalsPagePath(): string

Defined in: extension/data/modules/shared/proposals/paths.ts:17

Returns the wiki page path for a subreddit’s proposals. Takes no subreddit argument because the path is the same in every subreddit (the subreddit scopes the wiki, not the page name); it is a function to leave room for a future bucketed layout (toolbox-nxg/proposals/<bucket>) without changing callers.

Returns

string