update.uts 350 Bytes
import { reactive } from "vue";

export class UpdateStateType {
	static _C: string = "companion";
	status: boolean = false;
}

export const state = reactive(new UpdateStateType());

export const getters = {};

export const actions = {
	openUpdateModal: (payload: any): any | null => {
		(state as UpdateStateType).status = true;
		return null;
	}
};