Skip to content

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

FulfillmentType

FE fulfillment type (defaults to 'hosted')

DoCurious Platform Documentation