more type cleanup

This commit is contained in:
Michael Dausmann
2024-02-17 14:54:45 +11:00
parent fcb8071cec
commit 9daea204e5
7 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,10 @@
import { ACCOUNT_ACCESS } from '~~/prisma/account-access-enum';
import { defineStore } from 'pinia';
import { ref, computed } from 'vue';
import { FullDBUser, MembershipWithUser } from '~~/lib/services/service.types';
import type {
FullDBUser,
MembershipWithUser
} from '~~/lib/services/service.types';
/*
This store manages User and Account state including the ActiveAccount

View File

@@ -1,6 +1,6 @@
import { Note } from '.prisma/client';
import type { Note } from '.prisma/client';
import { defineStore, storeToRefs } from 'pinia';
import { Ref } from 'vue';
import type { Ref } from 'vue';
export const useNotesStore = defineStore('notes', () => {
const accountStore = useAccountStore();