Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • License

Index

Constructors

constructor

Properties

blog

blog: ResponseRoutePluginUpdateGetLicenseEntity["blog"]

blogName

blogName: ResponseRoutePluginUpdateGetLicenseEntity["blogName"]

busy

busy: boolean = false

code

code: ResponseRoutePluginUpdateGetLicenseEntity["code"]

deactivate

deactivate: () => Promise<void> = flow(function* (this: License) {this.busy = true;try {const result: ResponseRouteLicenseDelete = yield request<RequestRouteLicenseDelete,ParamsRouteLicenseDelete,ResponseRouteLicenseDelete>({location: locationRestLicenseDelete,params: {slug: this.store.slug,blogId: this.blog}});set(this, result);} catch (e) {console.log(e);throw e;} finally {this.busy = false;}})

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

fetchTelemetryData

fetchTelemetryData: () => Promise<void> = flow(function* (this: License) {this.busy = true;try {const result: ResponseRouteLicenseDelete = yield request<RequestRouteLicenseTelemetryGet,ParamsRouteLicenseTelemetryGet,ResponseRouteLicenseTelemetryGet>({location: locationRestLicenseTelemetryGet,params: {slug: this.store.slug,blogId: this.blog}});this.telemetryData = result;} catch (e) {console.log(e);throw e;} finally {this.busy = false;}})

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

Optional hint

hint: ResponseRoutePluginUpdateGetLicenseEntity["hint"]

host

host: ResponseRoutePluginUpdateGetLicenseEntity["host"]

installationType

installationType: ResponseRoutePluginUpdateGetLicenseEntity["installationType"]

noUsage

noUsage: ResponseRoutePluginUpdateGetLicenseEntity["noUsage"]

programmatically

programmatically: ResponseRoutePluginUpdateGetLicenseEntity["programmatically"]

Optional remote

remote: ResponseRoutePluginUpdateGetLicenseEntity["remote"]

retry

retry: () => Promise<void> = flow(function* (this: License) {this.busy = true;try {const result: ResponseRouteLicenseDelete = yield request<RequestRouteLicenseRetry,ParamsRouteLicenseRetry,ResponseRouteLicenseRetry>({location: locationRestLicenseRetry,params: {slug: this.store.slug,blogId: this.blog}});set(this, result);} catch (e) {console.log(e);throw e;} finally {this.busy = false;}})

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

Readonly store

telemetryData

telemetryDataSharingOptIn

telemetryDataSharingOptIn: ResponseRoutePluginUpdateGetLicenseEntity["telemetryDataSharingOptIn"]

Generated using TypeDoc