UNPKG

@overwolf/ow-app-builder-lib

Version:
58 lines (57 loc) 1.79 kB
import { Configuration } from "../configuration"; import { OverwolfMetadata } from "./overwolfmetadata"; export interface Metadata { /** * The application name. * @required */ readonly name?: string; /** * The application description. */ readonly description?: string; /** * The url to the project [homepage](https://docs.npmjs.com/files/package.json#homepage) (NuGet Package `projectUrl` (optional) or Linux Package URL (required)). * * If not specified and your project repository is public on GitHub, it will be `https://github.com/${user}/${project}` by default. */ readonly homepage?: string | null; /** * *linux-only.* The [license](https://docs.npmjs.com/files/package.json#license) name. */ readonly license?: string | null; readonly author?: AuthorMetadata | null; /** * The [repository](https://docs.npmjs.com/files/package.json#repository). */ readonly repository?: string | RepositoryInfo | null; /** * The electron-builder configuration. */ readonly build?: Configuration; /** @private */ readonly dependencies?: Record<string, string>; /** @private */ readonly version?: string; /** @private */ readonly type?: string; /** @private */ readonly shortVersion?: string | null; /** @private */ readonly shortVersionWindows?: string | null; /** @private */ readonly productName?: string | null; /** @private */ readonly main?: string | null; /** * The Overwolf metadata section. */ readonly overwolf?: OverwolfMetadata; } export interface AuthorMetadata { readonly name: string; readonly email?: string; } export interface RepositoryInfo { readonly url: string; }