// @todo: sample store
import { defineStore } from "pinia";

interface ISampleState {
  sample: boolean;
}

const initialState = (): ISampleState => ({
  sample: false,
});

export const useSampleStore = defineStore("dictionary", {
  state: initialState,

  getters: {
    getNegativeSample: (state) => !state.sample,
  },

  actions: {
    toggleSample() {
      this.sample = !this.sample;
    },
  },
});
