NagOptions

Options for nag().

On this page

Options for nag().

import type { NagOptions } from "@sponsorkit/sdk";

interface NagOptions { … }

Interface, exported from @sponsorkit/sdk, @sponsorkit/sdk/node.

Properties#

id#

id: string

Stable id of this nag (e.g. your app name).

every#

every: number

Due after this many runs (processes) since it was last shown.

orEvery#

orEvery?: string | number

Also due when this much time passed since it was last shown: ISO-8601 duration ("P7D") or seconds.