Function: getMaxStepNo()
getMaxStepNo(
svc,companyId,sequenceId):Promise<number>
Defined in: src/db/queries/pipeline.ts:1194
Highest step_no in a sequence (0 when none) — the action appends the next step at max+1.
Parameters
svc
SupabaseClient
companyId
string
sequenceId
string
Returns
Promise<number>