ui/client/features/tests/domain/StepDraft
Pure (DOMAIN-001): the draft of a step document being edited: its rows, what changed since it was opened, and the list the server is asked to validate.
Cockpit client (features), v0.8. Source: ui/client/features/tests/domain/StepDraft.ts.
Functions#
changeOf()#
changeOf(
d,original):StepChange
Defined in: ui/client/features/tests/domain/StepDraft.ts:14
Parameters#
d
original
Returns#
draftOf()#
draftOf(
steps):DraftStep[]
Defined in: ui/client/features/tests/domain/StepDraft.ts:5
Parameters#
steps
Returns#
payloadOf()#
payloadOf(
draft):StepFields[]
Defined in: ui/client/features/tests/domain/StepDraft.ts:8
Only the rows that stay, in order: what is sent to the server. sentence / keyword / binding never travel.