refactor: migrate to nuxt compatibilityVersion: 4 (#3298)
This commit is contained in:
parent
46e4433e1c
commit
a3fbc056a9
342 changed files with 1200 additions and 2932 deletions
|
@ -1,5 +1,5 @@
|
|||
import type { MastoNotification, NotificationInfo, PushPayload, UserLogin } from './types'
|
||||
import { closeDatabases, get } from '../utils/elk-idb'
|
||||
import { closeDatabases, get } from '../app/utils/elk-idb'
|
||||
|
||||
export async function findNotification({ access_token, notification_id/* , notification_type */ }: PushPayload): Promise<NotificationInfo | undefined> {
|
||||
const users = await get<UserLogin[]>('elk-users')
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/// <reference lib="WebWorker" />
|
||||
/// <reference types="vite/client" />
|
||||
import type { PushPayload } from '~/service-worker/types'
|
||||
import { ELK_PAGE_LIFECYCLE_FROZEN } from '../constants'
|
||||
import type { PushPayload } from '~~/service-worker/types'
|
||||
import { ELK_PAGE_LIFECYCLE_FROZEN } from '../app/constants'
|
||||
import {
|
||||
closeDatabaseConnections,
|
||||
createNotificationOptions,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue