mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 19:27:48 +08:00
c67f626b66
Co-authored-by: John Wang <takatost@gmail.com> Co-authored-by: Jyong <718720800@qq.com> Co-authored-by: 金伟强 <iamjoel007@gmail.com>
31 lines
516 B
TypeScript
31 lines
516 B
TypeScript
import type { AppMode } from './app'
|
|
|
|
export type AppBasicInfo = {
|
|
id: string
|
|
name: string
|
|
mode: AppMode
|
|
icon: string
|
|
icon_background: string
|
|
}
|
|
|
|
export type App = {
|
|
app: AppBasicInfo
|
|
app_id: string
|
|
description: string
|
|
copyright: string
|
|
privacy_policy: string
|
|
category: string
|
|
position: number
|
|
is_listed: boolean
|
|
install_count: number
|
|
installed: boolean
|
|
editable: boolean
|
|
}
|
|
|
|
export type InstalledApp = {
|
|
app: AppBasicInfo
|
|
id: string
|
|
uninstallable: boolean
|
|
is_pinned: boolean
|
|
}
|