@pumpkin-plugins/update-check API / register / UpdateRegistrationOptions
Type Alias: UpdateRegistrationOptions
UpdateRegistrationOptions = {
marketplaceUrl?:string;request:JsonRequest;schedule?:SchedulePoll; } | {marketplaceUrl?:string;request?:never;schedule:SchedulePoll; }
Defined in: register.ts:10
Update registration options. A scheduler is required unless a request override is supplied.
Union Members
Type Literal
{ marketplaceUrl?: string; request: JsonRequest; schedule?: SchedulePoll; }
marketplaceUrl?
optionalmarketplaceUrl?:string
request
request:
JsonRequest
Replaces the scheduled Market request. It runs synchronously inside onLoad and blocks plugin loading, so use it only in tests.
schedule?
optionalschedule?:SchedulePoll
Type Literal
{ marketplaceUrl?: string; request?: never; schedule: SchedulePoll; }