mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
refactor: new order typings
This commit is contained in:
+4
-4
@@ -1,5 +1,5 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { IOrderN, IOrderO, IOrderS, TOrder } from '../types/orderTypes';
|
||||
import { IOrderData, IOrderN, IOrderO, IOrderS, TOrder } from '../types/orderTypes';
|
||||
import {
|
||||
currentFormattedDate,
|
||||
currentFormattedHours,
|
||||
@@ -24,6 +24,8 @@ export const useStore = defineStore('store', {
|
||||
helperModalOpen: false,
|
||||
orderDarkMode: false,
|
||||
|
||||
panelMode: 'OrderMessage',
|
||||
|
||||
chosenOrderType: 'orderN' as TOrder,
|
||||
chosenLocalOrderId: '',
|
||||
|
||||
@@ -339,9 +341,7 @@ export const useStore = defineStore('store', {
|
||||
Y: '',
|
||||
Z: ''
|
||||
}
|
||||
},
|
||||
|
||||
panelMode: 'OrderMessage',
|
||||
} as IOrderData,
|
||||
|
||||
orderFooter: {
|
||||
stationName: '',
|
||||
|
||||
Reference in New Issue
Block a user