You've already forked AstralRinth
forked from didirus/AstralRinth
feat: ssr fixes + switch project page to tanstack (#5192)
* feat: ssr fixes * feat: lazy load non-core data * feat: ssr timing debugging * feat: go back to all parallel * feat: migrate to DI + set up mutators * feat: remove double get versions request, only call v3 * refactor: [version].vue page to use composition API and typescript * feat: gallery.vue start * fix: remove left behind console log * fix: type issues + gallery * fix: versionsummary modal + version page direct join * fix: projectRaw guard * fix: currentMember val fix * fix: actualProjectType * fix: vers summary link same page * fix: lint --------- Co-authored-by: tdgao <mr.trumgao@gmail.com>
This commit is contained in:
@@ -200,7 +200,7 @@ export const coreNags: Nag[] = [
|
||||
context.project.source_url ||
|
||||
context.project.wiki_url ||
|
||||
context.project.discord_url ||
|
||||
context.project.donation_urls.length > 0
|
||||
context.project.donation_urls?.length
|
||||
),
|
||||
link: {
|
||||
path: 'settings/links',
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import type { Labrinth } from '@modrinth/api-client'
|
||||
import type { MessageDescriptor } from '@modrinth/ui'
|
||||
import type { User, Version } from '@modrinth/utils'
|
||||
import type { FunctionalComponent, SVGAttributes } from 'vue'
|
||||
|
||||
/**
|
||||
@@ -25,11 +24,11 @@ export interface NagContext {
|
||||
/**
|
||||
* The versions associated with the project.
|
||||
*/
|
||||
versions: Version[]
|
||||
versions: Labrinth.Versions.v2.Version[]
|
||||
/**
|
||||
* The current project member viewing the nag.
|
||||
*/
|
||||
currentMember: User
|
||||
currentMember: Labrinth.Users.v2.User
|
||||
/**
|
||||
* The current route in the application.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user