import { defineStore } from 'pinia' import { ref } from 'vue' export interface ChartState { symbol: string start_time: number | null end_time: number | null period: string selected_shapes: string[] } export const useChartStore = defineStore('chartState', () => { const symbol = ref('BINANCE:BTC/USDT') const start_time = ref(null) const end_time = ref(null) const period = ref('15') const selected_shapes = ref([]) return { symbol, start_time, end_time, period, selected_shapes } })