Spaces:
Sleeping
Sleeping
Download types.ts from aditya9708/omninexus-ai: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/spaces/aditya9708/omninexus-ai/resolve/main/types.ts
- Command line
-
hf download hf://spaces/aditya9708/omninexus-ai/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/aditya9708/omninexus-ai/resolve/main/types.ts
1.36 kB
| export enum AppView { | |
| LANDING = 'LANDING', | |
| EXPLORER = 'EXPLORER', | |
| CREATE = 'CREATE', | |
| TOOL_EXECUTION = 'TOOL_EXECUTION', | |
| DASHBOARD = 'DASHBOARD', | |
| PRICING = 'PRICING', | |
| ADMIN_PANEL = 'ADMIN_PANEL', | |
| ADMIN_LOGIN = 'ADMIN_LOGIN' | |
| } | |
| export interface Tool { | |
| id: string; | |
| name: string; | |
| description: string; | |
| category: 'Text' | 'Image' | 'Video' | 'Voice' | 'Agent'; | |
| icon: string; | |
| gradient: string; | |
| author: string; | |
| usageCount: number; | |
| epc?: number; // Earnings per click/run in INR | |
| isUserCreated?: boolean; | |
| isVerified?: boolean; | |
| status?: 'hot' | 'new' | 'stable'; | |
| } | |
| export interface ChatMessage { | |
| id: string; | |
| role: 'user' | 'assistant'; | |
| text: string; | |
| timestamp: number; | |
| groundingLinks?: Array<{ title: string; uri: string }>; | |
| } | |
| export interface GeneratedImage { | |
| id: string; | |
| url: string; | |
| prompt: string; | |
| timestamp: number; | |
| } | |
| export interface GeneratedVideo { | |
| id: string; | |
| url: string; | |
| prompt: string; | |
| status: 'completed' | 'processing' | 'failed'; | |
| timestamp: number; | |
| } | |
| export interface AffiliateStats { | |
| referralCode: string; | |
| totalReferrals: number; | |
| referralEarnings: number; | |
| conversionRate: string; | |
| } | |
| export interface GlobalStats { | |
| totalUsers: number; | |
| activeNodes: number; | |
| totalPlatformRevenue: number; | |
| totalRuns: number; | |
| serverStatus: 'online' | 'under_load' | 'maintenance'; | |
| } | |