mineos-market-client
    Preparing search index...

    Type Alias UploadPublicationParams

    Parameters for uploading a new publication.

    type UploadPublicationParams = {
        name: string;
        description: string;
        iconUrl?: `${string}/${string}.pic`;
        previews?: `${string}/${string}.pic`[];
        category: PublicationCategory;
        license: License;
        sourceUrl: string;
        path?: `${string}.lua`;
        localizations?: `${string}/${string}.lang`[];
        dependencies?: (PublicationDependency | FileDependency)[];
    }
    Index

    Properties

    name: string

    Name of the publication

    description: string

    Description of the publication

    iconUrl?: `${string}/${string}.pic`

    URL to the icon file (.pic format required)

    Only applicable for applications and wallpapers. Including this for libraries/scripts causes installation failures due to incorrect package structure.

    previews?: `${string}/${string}.pic`[]

    URLs to preview images

    Category of the publication

    license: License

    License identifier

    sourceUrl: string

    URL to the raw Lua source code

    path?: `${string}.lua`

    Destination path for the main source file, including the filename

    • Applications or wallpapers: Always Main.lua in the package directory
    • Libraries: Relative path in the <root>/Libraries folder
    • Scripts: Absolute path from the root
    Main.lua
    
    localizations?: `${string}/${string}.lang`[]

    URLs to localization files

    Files will be placed in the Localizations/ folder automatically.

    Only applicable for applications and wallpapers. Including this for libraries/scripts causes installation failures due to incorrect package structure.

    Additional dependencies required by this publication