Represents the information needed to identify an installed library. This information is also called ubername when it's represented as a string like this: H5P.Example-1.0 Even though H5P libraries generally also have a patch version (1.0.0), the patch version is not needed to identify an installed library as there can only be one installed patch version of a library at a time. (However, It is possible to install the same library in different major or minor versions. That's why the machine name is not enough to identify it.)

interface ILibraryName {
    machineName: string;
    majorVersion: number;
    minorVersion: number;
}

Implemented by

Properties

machineName: string

The name used to identify the library (e.g. H5P.Example)

majorVersion: number

The major version of the library (e.g. 1)

minorVersion: number

The minor version of the library (e.g. 0)