modrinth
Version:
JavaScript library for accessing the Modrinth API
31 lines (30 loc) • 664 B
TypeScript
export interface ModSource {
id: string;
slug: string;
team: string;
title: string;
description: string;
body: string;
body_url: null | string;
published: string;
updated: string;
status: string;
license: License;
client_side: string;
server_side: string;
downloads: number;
followers: number;
categories: string[];
versions: string[];
icon_url: string;
issues_url: null | string;
source_url: null | string;
wiki_url: null | string;
discord_url: null | string;
donation_urls: any[];
}
export interface License {
id: string;
name: string;
url: null | string;
}