Skip to main content

Interface: KeygenOptions

Keygen options. https://keygen.sh/ Define KEYGEN_TOKEN environment variable.

Extends

Properties

account

readonly account: string

Keygen account's UUID


channel?

readonly optional channel?: "stable" | "rc" | "beta" | "alpha" | "dev" | null

The channel.

Default

stable

host?

readonly optional host?: string

Keygen host for self-hosted instances

Default

"api.keygen.sh"

platform?

readonly optional platform?: string | null

The target Platform. Is set programmatically explicitly during publishing.


product

readonly product: string

Keygen product's UUID


provider

readonly provider: "keygen"

The provider. Must be keygen.

Overrides

PublishConfiguration.provider


publishAutoUpdate?

readonly optional publishAutoUpdate?: boolean

Whether to publish auto update info files.

Auto update relies only on the first provider in the list (you can specify several publishers). Thus, probably, there`s no need to upload the metadata files for the other configured providers. But by default will be uploaded.

Default

true

Inherited from

PublishConfiguration.publishAutoUpdate


requestHeaders?

readonly optional requestHeaders?: OutgoingHttpHeaders

Any custom request headers

Inherited from

PublishConfiguration.requestHeaders


timeout?

readonly optional timeout?: number | null

Request timeout in milliseconds. (Default is 2 minutes; O is ignored)

Default

120000

Inherited from

PublishConfiguration.timeout