PortalData
Defined in: src/react/compute.ts:29
What GET /api/portal/me returns, and what the provider holds: the
customer’s entitlements with usage, profile, public pricing and link-out
availability.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
addons |
object[] |
- | EntitlementSet.addons |
src/schema.ts:196 |
canCheckout |
boolean |
- | - | src/react/compute.ts:32 |
canManage |
boolean |
- | - | src/react/compute.ts:33 |
customer |
string |
- | EntitlementSet.customer |
src/schema.ts:194 |
features |
Record<string, FeatureUsage> |
- | CustomerEntitlements.features |
src/schema.ts:276 |
inactive |
object[] |
Subscriptions that are not entitled right now (inactive, expired trial, conflicts). | EntitlementSet.inactive |
src/schema.ts:199 |
plans |
ActivePlan[] |
- | EntitlementSet.plans |
src/schema.ts:195 |
pricing |
PricingTable |
- | - | src/react/compute.ts:31 |
profile |
object |
- | - | src/react/compute.ts:30 |
profile.email? |
string |
- | - | src/react/compute.ts:30 |
profile.id |
string |
- | - | src/react/compute.ts:30 |
profile.name? |
string |
- | - | src/react/compute.ts:30 |
resolvedAt |
string |
- | EntitlementSet.resolvedAt |
src/schema.ts:202 |
stale? |
boolean |
- | CustomerEntitlements.stale |
src/schema.ts:277 |
validUntil |
string | null |
ISO time at which this resolution may change (trial end, expiry, period end). | EntitlementSet.validUntil |
src/schema.ts:201 |