Skip to content

destillationapp-frontend v0.1.0


destillationapp-frontend / store/plant/getters / default

Variable: default

default: object

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

Type declaration

harvestRange()

harvestRange(state): [number, number]

Gets the harvest range from the plant form data.

Parameters

state

State

The Vuex state.

Returns

[number, number]

The harvest range.

plantForm()

plantForm(state): PlantForm

Gets the plant form data from the state.

Parameters

state

State

The Vuex state.

Returns

PlantForm

The plant form data.

plantOrigin()

plantOrigin(state): string

Gets the plant origin from the plant form data.

Parameters

state

State

The Vuex state.

Returns

string

The plant origin.

plantState()

plantState(state): string

Gets the plant state from the plant form data.

Parameters

state

State

The Vuex state.

Returns

string

The plant state.