modrinthjs
Version:
A type safe Modrinth implementation.
29 lines (28 loc) • 615 B
TypeScript
export type CreatableReport = {
/**
* The type of the report being sent
*/
report_type: string;
/**
* The ID of the item (project, version, or user) being reported
*/
item_id: string;
/**
* The type of the item being reported
*/
item_type: CreatableReport.item_type;
/**
* The extended explanation of the report
*/
body: string;
};
export declare namespace CreatableReport {
/**
* The type of the item being reported
*/
enum item_type {
PROJECT = "project",
USER = "user",
VERSION = "version"
}
}