import { defineStore } from "pinia"; import { ref } from "vue"; import * as R from "ramda"; import type { MatrixItem } from "@/services/matrix/type"; export const useSettingStore = defineStore("setting", () => { const matrixList = ref([]); const setMatrixList = (data: MatrixItem[]) => { matrixList.value = data; }; return { matrixList, setMatrixList, }; });