Skip to content

Frontend proxies

@cratis/showrunner.boxoffice is the TypeScript side of Cratis.Showrunner.BoxOffice: the proxies Arc generates for its commands and queries. It has no components.

Terminal window
yarn add @cratis/showrunner.boxoffice @cratis/arc @cratis/arc.react @cratis/fundamentals

@cratis/arc, @cratis/arc.react and @cratis/fundamentals are peer dependencies. Use the package version that matches the Cratis.Showrunner.BoxOffice NuGet package: both are released together.

ProxyWhat it is for
AssignSeat, ReleaseSeatGive a person a seat and take it back; see Seat licensing.
CurrentRosterWho holds the tenant’s seats, for the product’s maintainers; returns a SeatRoster.
MineWhere the signed-in user stands with the tenant’s seats; returns a SeatStanding.
CurrentStandingWhether the tenant is suspended and why it is read-only; returns a TenantStanding. See Suspension.
SetComputeBudget, SetComputeConcurrencyLimitLimit what a tenant may use of a meter; see Compute admission.
CurrentLimitsThe tenant’s budgets and concurrency limits, for the product’s maintainers; returns ComputeLimits.
CurrentEntitlementsWhat the signed-in user’s tenant may do in one answer: whether it is read-only and why, whether it is on a trial and until when, its seats and each module’s access; returns an EntitlementSummary.
CurrentUsageWhere the tenant stands with each meter in the allowance period it is in, for the product’s maintainers; returns MeterStanding values. See Compute admission.
LinkToPortalA signed link that opens the operator’s customer portal; returns a PortalLink. See The customer portal.
OnSaleThe offers the operator sells that are not withdrawn; returns Offer values.

The proxies are generated by a Debug build of Cratis.Showrunner.BoxOffice into Source/JavaScript/BoxOffice and committed; the build workflow fails when they are stale. Never edit them by hand.