Underground-Digital/Workflow-Engine
0
1import type { AppIconType, AppMode } from '@/types/app'2export type AppBasicInfo = {3 id: string4 mode: AppMode5 icon_type: AppIconType | null6 icon: string7 icon_background: string8 icon_url: string9 name: string10 description: string11 use_icon_as_answer_icon: boolean12}13 14export type AppCategory = 'Writing' | 'Translate' | 'HR' | 'Programming' | 'Assistant'15 16export type App = {17 app: AppBasicInfo18 app_id: string19 description: string20 copyright: string21 privacy_policy: string | null22 custom_disclaimer: string | null23 category: AppCategory24 position: number25 is_listed: boolean26 install_count: number27 installed: boolean28 editable: boolean29 is_agent: boolean30}31 32export type InstalledApp = {33 app: AppBasicInfo34 id: string35 uninstallable: boolean36 is_pinned: boolean37}38 