mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 19:21:05 +08:00
chore: knip fix (#34481)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -98,5 +98,3 @@ export const consoleRouterContract = {
|
||||
oauthInitiate: triggerOAuthInitiateContract,
|
||||
},
|
||||
}
|
||||
|
||||
export type ConsoleInputs = InferContractRouterInputs<typeof consoleRouterContract>
|
||||
|
||||
Reference in New Issue
Block a user