| 2 | import { persistentReactive } from 'src/composables/persistent-reactive' |
| 3 | |
| 4 | interface UserData { |
| 5 | lastWorkspaceId: string |
| 6 | noobAlertDismissed: boolean, |
| 7 | tipDismissed: Record<string, boolean> |
| 8 | prodExpiredNotifiedTimestamp: number |
| 9 | evalExpiredNotified: boolean |
| 10 | migrationAlertDismissed: boolean |
| 11 | } |
| 12 | |
| 13 | export const useUserDataStore = defineStore('user-data', () => { |
| 14 | const [data, ready] = persistentReactive<UserData>('#user-data', { |
nothing calls this directly
no outgoing calls
no test coverage detected