Kaizen
Browse modulesFormsforms/serverFunctions

Function: buildConditionsTable()

function buildConditionsTable(rows: ConditionWithVersion[]): ConditionsTable;

Defined in: server/forms/condition-evaluator.ts:68

Build the conditions table consumed by evaluateConditionLogic from a list of Conditions rows joined with currentVersion.

NOTE: This is SERVER-ONLY; the row shape requires @prisma/client.

Parameters

ParameterType
rowsConditionWithVersion[]

Returns

ConditionsTable

On this page