PremiumResult
Defined in: packages/client/src/results.ts:413
Answer to a premium query.
Properties
Section titled “Properties”activeEntitlements
Section titled “activeEntitlements”activeEntitlements:
object[]
Defined in: packages/client/src/results.ts:416
active
Section titled “active”active:
number
name:
string
sku:
string
changes
Section titled “changes”changes:
object[]
Defined in: packages/client/src/results.ts:415
Entitlements created, updated and deleted in the range. testCount of them were test entitlements.
action
Section titled “action”action:
string
count:
number
name:
string
sku:
string
testCount
Section titled “testCount”testCount:
number
estimatedMonthlyRevenue
Section titled “estimatedMonthlyRevenue”estimatedMonthlyRevenue:
Record<string,number>
Defined in: packages/client/src/results.ts:429
By currency: active and ending subscriptions times their price.
premiumShare
Section titled “premiumShare”premiumShare:
number|null
Defined in: packages/client/src/results.ts:427
Share of runs by users with an entitlement, 0 to 1.
pricesConfigured
Section titled “pricesConfigured”pricesConfigured:
boolean
Defined in: packages/client/src/results.ts:430
subscriptions
Section titled “subscriptions”subscriptions:
object[]
Defined in: packages/client/src/results.ts:418
Subscriptions by SKU, with the price set in Settings.
active
Section titled “active”active:
number
ending
Section titled “ending”ending:
number
inactive
Section titled “inactive”inactive:
number
name:
string
price: {
amount:number;currency:string; } |null
sku:
string