dify/web/models/explore.ts

30 lines
529 B
TypeScript
Raw Normal View History

2023-05-25 16:59:47 +08:00
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
}