Merge branch 'main' of github.com:elk-zone/elk into dev
This commit is contained in:
commit
078ca947aa
5 changed files with 670 additions and 694 deletions
|
@ -95,9 +95,9 @@ export async function toggleMuteAccount(relationship: mastodon.v1.Relationship,
|
||||||
relationship!.muting = !relationship!.muting
|
relationship!.muting = !relationship!.muting
|
||||||
relationship = relationship!.muting
|
relationship = relationship!.muting
|
||||||
? await client.value.v1.accounts.$select(account.id).mute({
|
? await client.value.v1.accounts.$select(account.id).mute({
|
||||||
duration,
|
duration,
|
||||||
notifications,
|
notifications,
|
||||||
})
|
})
|
||||||
: await client.value.v1.accounts.$select(account.id).unmute()
|
: await client.value.v1.accounts.$select(account.id).unmute()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
3
modules/pwa/runtime/types.d.ts
vendored
3
modules/pwa/runtime/types.d.ts
vendored
|
@ -1,5 +1,4 @@
|
||||||
import type { Ref } from 'vue'
|
import type { Ref, UnwrapNestedRefs } from 'vue'
|
||||||
import type { UnwrapNestedRefs } from 'vue'
|
|
||||||
|
|
||||||
export interface PwaInjection {
|
export interface PwaInjection {
|
||||||
isInstalled: boolean
|
isInstalled: boolean
|
||||||
|
|
10
package.json
10
package.json
|
@ -68,7 +68,7 @@
|
||||||
"@vueuse/motion": "2.2.6",
|
"@vueuse/motion": "2.2.6",
|
||||||
"@vueuse/nuxt": "^13.2.0",
|
"@vueuse/nuxt": "^13.2.0",
|
||||||
"blurhash": "^2.0.5",
|
"blurhash": "^2.0.5",
|
||||||
"browser-fs-access": "^0.35.0",
|
"browser-fs-access": "^0.38.0",
|
||||||
"cheerio": "^1.0.0",
|
"cheerio": "^1.0.0",
|
||||||
"chroma-js": "^3.0.0",
|
"chroma-js": "^3.0.0",
|
||||||
"emoji-mart": "^5.5.2",
|
"emoji-mart": "^5.5.2",
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
"ws": "^8.15.1"
|
"ws": "^8.15.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^4.13.1",
|
"@antfu/eslint-config": "^4.19.0",
|
||||||
"@antfu/ni": "^24.4.0",
|
"@antfu/ni": "^24.4.0",
|
||||||
"@types/chroma-js": "^3.1.1",
|
"@types/chroma-js": "^3.1.1",
|
||||||
"@types/file-saver": "^2.0.7",
|
"@types/file-saver": "^2.0.7",
|
||||||
|
@ -131,13 +131,13 @@
|
||||||
"@vue/test-utils": "2.4.6",
|
"@vue/test-utils": "2.4.6",
|
||||||
"bumpp": "^10.2.0",
|
"bumpp": "^10.2.0",
|
||||||
"consola": "^3.4.2",
|
"consola": "^3.4.2",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.32.0",
|
||||||
"eslint-plugin-format": "^1.0.1",
|
"eslint-plugin-format": "^1.0.1",
|
||||||
"flat": "^6.0.1",
|
"flat": "^6.0.1",
|
||||||
"fs-extra": "^11.3.0",
|
"fs-extra": "^11.3.0",
|
||||||
"lint-staged": "^15.5.2",
|
"lint-staged": "^15.5.2",
|
||||||
"nuxt": "^3.17.7",
|
"nuxt": "^3.17.7",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.6.2",
|
||||||
"sharp": "^0.34.3",
|
"sharp": "^0.34.3",
|
||||||
"sharp-ico": "^0.1.5",
|
"sharp-ico": "^0.1.5",
|
||||||
"simple-git-hooks": "^2.13.0",
|
"simple-git-hooks": "^2.13.0",
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"nuxt-component-meta": "0.12.1",
|
"nuxt-component-meta": "0.13.0",
|
||||||
"unstorage": "^1.16.1",
|
"unstorage": "^1.16.1",
|
||||||
"vitest": "3.2.4",
|
"vitest": "3.2.4",
|
||||||
"vue": "^3.5.4"
|
"vue": "^3.5.4"
|
||||||
|
|
28
page-lifecycle.d.ts
vendored
28
page-lifecycle.d.ts
vendored
|
@ -1,17 +1,17 @@
|
||||||
declare module 'page-lifecycle/dist/lifecycle.mjs' {
|
declare module 'page-lifecycle/dist/lifecycle.mjs' {
|
||||||
type PageLifecycleState = 'active' | 'passive' | 'hidden' | 'frozen' | 'terminated'
|
type PageLifecycleState = 'active' | 'passive' | 'hidden' | 'frozen' | 'terminated'
|
||||||
|
|
||||||
interface PageLifecycleEvent extends Event {
|
interface PageLifecycleEvent extends Event {
|
||||||
newState: PageLifecycleState
|
newState: PageLifecycleState
|
||||||
oldState: PageLifecycleState
|
oldState: PageLifecycleState
|
||||||
}
|
}
|
||||||
interface PageLifecycle extends EventTarget {
|
interface PageLifecycle extends EventTarget {
|
||||||
get state(): PageLifecycleState
|
get state(): PageLifecycleState
|
||||||
get pageWasDiscarded(): boolean
|
get pageWasDiscarded(): boolean
|
||||||
addUnsavedChanges: (id: symbol | any) => void
|
addUnsavedChanges: (id: symbol | any) => void
|
||||||
removeUnsavedChanges: (id: symbol | any) => void
|
removeUnsavedChanges: (id: symbol | any) => void
|
||||||
addEventListener: (type: string, listener: (evt: PageLifecycleEvent) => void) => void
|
addEventListener: (type: string, listener: (evt: PageLifecycleEvent) => void) => void
|
||||||
}
|
}
|
||||||
const lifecycle: PageLifecycle
|
const lifecycle: PageLifecycle
|
||||||
export default lifecycle
|
export default lifecycle
|
||||||
}
|
}
|
||||||
|
|
1317
pnpm-lock.yaml
1317
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue