modpack-lock
    Preparing search index...

    Type Alias ContentVersion

    A metadata for a specific version file of a project on Modrinth. Saved in the lockfile.

    type ContentVersion = {
        id: string;
        project_id: string;
        author_id: string;
        date_published: string;
        downloads: number;
        files: any[];
        game_versions?: string[];
        loaders?: string[];
        featured?: boolean;
        name?: string;
        version_number?: string;
        changelog?: string;
        changelog_url?: string | null;
        version_type?: string;
        status?: string;
        requested_status?: string | null;
        dependencies?: VersionDependency[];
    }
    Index

    Properties

    id: string

    The ID of the version

    project_id: string

    The ID of the project

    author_id: string

    The ID of the author

    date_published: string

    The date the version was published

    downloads: number

    The number of downloads of the version

    files: any[]

    The files of the version

    game_versions?: string[]

    The game versions the version is compatible with

    loaders?: string[]

    The loaders the version is compatible with

    featured?: boolean

    Whether the version is featured

    name?: string

    The name of the version

    version_number?: string

    The version number

    changelog?: string

    The changelog of the version

    changelog_url?: string | null

    The URL of the changelog

    version_type?: string

    The type of version

    status?: string

    The status of the version

    requested_status?: string | null

    The requested status of the version

    dependencies?: VersionDependency[]

    The dependencies for this version