feature
const feature: object;Defined in: src/catalog.ts:139
Feature builders.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description | Defined in |
|---|---|---|---|
boolean() |
(options) => BooleanFeature |
An on/off feature. | src/catalog.ts:141 |
capacity() |
(options) => CapacityFeature |
A current count against a ceiling (seats). | src/catalog.ts:156 |
credits() |
(options) => CreditsFeature |
A prepaid credit pool with a reset interval. | src/catalog.ts:151 |
metered() |
(options) => MeteredFeature |
A consumption counter with a reset interval. | src/catalog.ts:146 |
value() |
<T>(options) => ValueFeature<Widen<T>> |
A per-plan configuration value. | src/catalog.ts:161 |