Skip to content

LimitSpec

Defined in: src/catalog.ts:170

A limit with options, for metered / credits / capacity features on a plan.

Property Type Description Defined in
limit number | "unlimited" | null "unlimited" (or null) for no limit. src/catalog.ts:172
overage? OveragePolicy "allow" lets usage continue past the limit and reports it as overage. Default "block". src/catalog.ts:174
overageLimit? number With overage: "allow", the most overage permitted per period. Default unlimited. src/catalog.ts:176
reset? ResetInterval Override the feature’s reset interval for this plan. src/catalog.ts:178