Skip to content

destillationapp-frontend v0.1.0


destillationapp-frontend / store/distillation/getters / default

Variable: default

default: object

Defined in: store/distillation/getters.ts:17

Type declaration

distillationDate()

distillationDate(state): string

Gets the distillation date from the distillation form data.

Parameters

state

State

The Vuex state.

Returns

string

Distillation date.

distillationForm()

distillationForm(state): DistillationForm

Gets the distillation form data from the state.

Parameters

state

State

The Vuex state.

Returns

DistillationForm

The distillation form data.

isPlantShredded()

isPlantShredded(state): boolean

Gets the shredded status of the plant from the distillation form data.

Parameters

state

State

The Vuex state.

Returns

boolean

Whether the plant is shredded.

isPlantSoaked()

isPlantSoaked(state): boolean

Gets the soaked status of the plant from the distillation form data.

Parameters

state

State

The Vuex state.

Returns

boolean

Whether the plant is soaked.