Skip to content

five-on-it / apps/client/src/ui/respect / respectSteps

Function: respectSteps() ​

respectSteps(t, b): RespectStep[]

Defined in: apps/client/src/ui/respect.ts:102

A run's Respect step by step, in words: only the steps that changed anything (and why it paid nothing); a seat there for part of the run says its share of it, which its base was cut to.

Parameters ​

t ​

TFunction

b ​

band ​

"warning" | "low" | "good" = ...

base ​

number = ...

bonus ​

number = ...

conduct ​

number = ...

contribution? ​

number = ...

difficulty ​

number = ...

outcome ​

number = ...

present ​

boolean = ...

qualified ​

boolean = ...

repeat ​

number = ...

repeatIndex ​

number = ...

share ​

number = ...

short? ​

boolean = ...

There to the end, its span too short to count (30 s or a fifth of the run): nothing earned, nothing counted.

span? ​

number = ...

total ​

number = ...

Returns ​

RespectStep[]