offeringsMeta
An array containing metadata for all available product offerings in the Product Builders application. Each offering is identified by a unique ID representing different product packages or programs.Type Definition
src/lib/data.ts
Structure
Array of offering metadata objects.
Unique identifier for the offering. Used for offering selection, routing, and content display.
Available Offerings
The array contains five distinct offerings:| ID | Description |
|---|---|
intensive | Intensive training or consultation program |
accelerator | Business acceleration program |
discovery | Discovery or assessment phase |
scale-up | Scaling and growth program |
leadership | Leadership development program |
Data Structure
src/lib/data.ts
Usage Example
Dynamic Routing
The offering IDs can be used for dynamic route generation:Filtering and Selection
Type Safety
Theid field uses a union type for compile-time type safety:
Extensibility
To add a new offering:- Update the
OfferingMetatype definition to include the new ID - Add the new offering object to the
offeringsMetaarray
Source Code
See the full implementation atsrc/lib/data.ts:23-43