UNPKG

modrinthjs

Version:
41 lines (40 loc) 1.1 kB
import type { BaseProject } from './BaseProject'; export type ServerRenderedProject = (BaseProject & { /** * The project type of the project */ project_type: ServerRenderedProject.project_type; /** * The total number of downloads of the project */ downloads: number; /** * The URL of the project's icon */ icon_url?: string | null; /** * The RGB color of the project, automatically generated from the project icon */ color?: number | null; /** * The ID of the moderation thread associated with this project */ thread_id?: string; monetization_status?: ServerRenderedProject.monetization_status; }); export declare namespace ServerRenderedProject { /** * The project type of the project */ enum project_type { MOD = "mod", MODPACK = "modpack", RESOURCEPACK = "resourcepack", SHADER = "shader" } enum monetization_status { MONETIZED = "monetized", DEMONETIZED = "demonetized", FORCE_DEMONETIZED = "force-demonetized" } }