Home / Function/ getChangelogPages() — ui Function Reference

getChangelogPages() — ui Function Reference

Architecture documentation for the getChangelogPages() function in changelog.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  915b7d17_403a_c6c7_23e4_6ce3baf3dabe["getChangelogPages()"]
  799e6b2d_bd25_4cd9_2509_71888f55cc48["changelog.ts"]
  915b7d17_403a_c6c7_23e4_6ce3baf3dabe -->|defined in| 799e6b2d_bd25_4cd9_2509_71888f55cc48
  dc7487bf_b5eb_e86b_e6dd_c14d9aa4b9f5["getDateFromFile()"]
  915b7d17_403a_c6c7_23e4_6ce3baf3dabe -->|calls| dc7487bf_b5eb_e86b_e6dd_c14d9aa4b9f5
  style 915b7d17_403a_c6c7_23e4_6ce3baf3dabe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/lib/changelog.ts lines 37–50

export function getChangelogPages() {
  return source
    .getPages()
    .filter((page) => page.slugs[0] === "changelog" && page.slugs.length > 1)
    .map((page) => ({
      ...page,
      date: getDateFromFile(page.slugs),
    }))
    .sort((a, b) => {
      const dateA = a.date?.getTime() ?? 0
      const dateB = b.date?.getTime() ?? 0
      return dateB - dateA
    })
}

Subdomains

Frequently Asked Questions

What does getChangelogPages() do?
getChangelogPages() is a function in the ui codebase, defined in apps/v4/lib/changelog.ts.
Where is getChangelogPages() defined?
getChangelogPages() is defined in apps/v4/lib/changelog.ts at line 37.
What does getChangelogPages() call?
getChangelogPages() calls 1 function(s): getDateFromFile.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free