mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 19:46:33 +00:00
Make "Open Image in New Tab" open raw image (when possible) (#7315)
* tell search engines not to index collections because bots keep spamming them and I can basically guarantee not a single human being is using collections in a way where this will be detrimental to them (besides the advertisement spam) * Index creator created collections * Open raw images from open image in new tab option in context menu
This commit is contained in:
@@ -89,6 +89,7 @@ export interface ProjectV3 {
|
||||
|
||||
versions: ModrinthId[]
|
||||
icon_url?: string
|
||||
raw_icon_url?: string
|
||||
|
||||
link_urls: Record<
|
||||
string,
|
||||
@@ -129,6 +130,7 @@ export interface Project {
|
||||
|
||||
body: string
|
||||
icon_url?: string
|
||||
raw_icon_url?: string
|
||||
color?: number
|
||||
|
||||
categories: Category[]
|
||||
@@ -230,6 +232,7 @@ export type Organization = {
|
||||
team_id: ModrinthId
|
||||
description: string
|
||||
icon_url: string
|
||||
raw_icon_url: string | null
|
||||
color: number
|
||||
members: OrganizationMember[]
|
||||
}
|
||||
@@ -254,6 +257,7 @@ export type Collection = {
|
||||
name: string
|
||||
description: string
|
||||
icon_url: string
|
||||
raw_icon_url: string | null
|
||||
color: number
|
||||
status: CollectionStatus
|
||||
created: string
|
||||
|
||||
Reference in New Issue
Block a user