mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-08 10:26:50 +08:00
Feat/explore (#198)
This commit is contained in:
30
web/models/explore.ts
Normal file
30
web/models/explore.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import { 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
|
||||
}
|
||||
Reference in New Issue
Block a user