explore.ts 529 B

123456789101112131415161718192021222324252627282930
  1. import { AppMode } from "./app";
  2. export type AppBasicInfo = {
  3. id: string;
  4. name: string;
  5. mode: AppMode;
  6. icon: string;
  7. icon_background: string;
  8. }
  9. export type App = {
  10. app: AppBasicInfo;
  11. app_id: string;
  12. description: string;
  13. copyright: string;
  14. privacy_policy: string;
  15. category: string;
  16. position: number;
  17. is_listed: boolean;
  18. install_count: number;
  19. installed: boolean;
  20. editable: boolean;
  21. }
  22. export type InstalledApp = {
  23. app: AppBasicInfo;
  24. id: string;
  25. uninstallable: boolean
  26. is_pinned: boolean
  27. }