explore.ts 656 B

1234567891011121314151617181920212223242526272829303132333435
  1. import type { AppMode } from './app'
  2. export type AppBasicInfo = {
  3. id: string
  4. name: string
  5. mode: AppMode
  6. icon: string
  7. icon_background: string
  8. is_agent: boolean
  9. }
  10. export type AppCategory = 'Writing' | 'Translate' | 'HR' | 'Programming' | 'Assistant'
  11. export type App = {
  12. app: AppBasicInfo
  13. app_id: string
  14. description: string
  15. copyright: string
  16. privacy_policy: string | null
  17. category: AppCategory
  18. position: number
  19. is_listed: boolean
  20. install_count: number
  21. installed: boolean
  22. editable: boolean
  23. is_agent: boolean
  24. }
  25. export type InstalledApp = {
  26. app: AppBasicInfo
  27. id: string
  28. uninstallable: boolean
  29. is_pinned: boolean
  30. }