mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-29 03:20:54 +12:00
21 lines
591 B
TypeScript
21 lines
591 B
TypeScript
import { GetterTree } from "vuex"
|
|
import { StateInterface } from "../index"
|
|
import { FloatingWindowsStateInteface } from "./state"
|
|
|
|
const getters: GetterTree<FloatingWindowsStateInteface, StateInterface> = {
|
|
getAdvSearchWindowVisible (context) {
|
|
return context.advSearchWindowVisible
|
|
},
|
|
getNoteCorkboardWindowVisible (context) {
|
|
return context.noteCorkboardWindowVisible
|
|
},
|
|
getDocumentPreviewVisible (context) {
|
|
return context.documentPreviewVisible
|
|
},
|
|
getDocumentPreviewWindowID (context) {
|
|
return context.documentPreviewWindowID
|
|
}
|
|
}
|
|
|
|
export default getters
|