19 lines
No EOL
322 B
TypeScript
19 lines
No EOL
322 B
TypeScript
// shared
|
|
import { ref } from "vue";
|
|
|
|
class Profile implements Profile{
|
|
crimata_id = "";
|
|
name = "";
|
|
photo = "";
|
|
}
|
|
|
|
export const profile = ref(new Profile());
|
|
|
|
export const setProfile: IpcListenerCallback<Profile> = (payload) => {
|
|
profile.value = payload;
|
|
};
|
|
|
|
export default {
|
|
profile,
|
|
setProfile
|
|
}; |