chore: knip fix (#34481)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Stephen Zhou
2026-04-02 23:03:42 +08:00
committed by GitHub
parent 985b41c40b
commit 36e840cd87
403 changed files with 475 additions and 3679 deletions

View File

@@ -7,7 +7,7 @@ import type { AppModeEnum } from '@/types/app'
import { type } from '@orpc/contract'
import { base } from '../base'
export type ExploreAppsResponse = {
type ExploreAppsResponse = {
categories: AppCategory[]
recommended_apps: App[]
}
@@ -22,16 +22,16 @@ export type ExploreAppDetailResponse = {
can_trial?: boolean
}
export type InstalledAppsResponse = {
type InstalledAppsResponse = {
installed_apps: InstalledApp[]
}
export type InstalledAppMutationResponse = {
type InstalledAppMutationResponse = {
result: string
message: string
}
export type AppAccessModeResponse = {
type AppAccessModeResponse = {
accessMode: AccessMode
}

View File

@@ -1,7 +1,7 @@
import { type } from '@orpc/contract'
import { base } from '../base'
export type ConsoleNotification = {
type ConsoleNotification = {
body: string
frequency: 'once' | 'always'
lang: string
@@ -11,7 +11,7 @@ export type ConsoleNotification = {
title_pic_url?: string
}
export type ConsoleNotificationResponse = {
type ConsoleNotificationResponse = {
notifications: ConsoleNotification[]
should_show: boolean
}

View File

@@ -98,5 +98,3 @@ export const consoleRouterContract = {
oauthInitiate: triggerOAuthInitiateContract,
},
}
export type ConsoleInputs = InferContractRouterInputs<typeof consoleRouterContract>