Appearance
DoCurious API Reference / adapters / mapChallengeTypeToFe
Function: mapChallengeTypeToFe()
mapChallengeTypeToFe(
sql):FulfillmentType
Defined in: adapters/statusMaps.ts:330
Map a SQL challenge type to FE FulfillmentType.
Parameters
sql
string
SQL challenge type ('HOSTED' | 'ONLINE' | 'KIT' | 'AUTONOMOUS' | 'AFFILIATE')
Returns
FE fulfillment type (defaults to 'hosted')