Show orgs in project card when a project is owned by an org (#5892)

* fix: link to user using id instead of username

* feat: show org in project card

* fix: account for outdated documents

* refactor: use struct to store owner information

* fix: default new fields

* fix lint
This commit is contained in:
Sychic
2026-04-23 13:32:19 -04:00
committed by GitHub
parent 16e1bf4611
commit 6862cf5ab2
9 changed files with 167 additions and 87 deletions

View File

@@ -1133,6 +1133,9 @@ export namespace Labrinth {
project_type: string
slug: string | null
author: string
author_id: string | null
organization: string | null
organization_id: string | null
title: string
description: string
categories: string[]
@@ -1167,6 +1170,9 @@ export namespace Labrinth {
project_types: string[]
slug: string | null
author: string
author_id: string | null
organization: string | null
organization_id: string | null
name: string
summary: string
categories: string[]