Spaces:
Runtime error
Runtime error
Download src/types.ts from lasource87/bot: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/spaces/lasource87/bot/resolve/main/src/types.ts
- Command line
-
hf download hf://spaces/lasource87/bot/src/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/lasource87/bot/resolve/main/src/types.ts
1.21 kB
| export interface Category { | |
| id: string; | |
| name: string; | |
| type: 'delivery' | 'meetup'; | |
| display_order: number; | |
| created_at: string; | |
| } | |
| export interface Product { | |
| id: string; | |
| category_id: string; | |
| name: string; | |
| description: string; | |
| image_url: string | null; | |
| is_in_stock: boolean; | |
| type: 'delivery' | 'meetup'; | |
| display_order: number; | |
| fictitious_likes?: number; | |
| real_likes_count?: number; | |
| created_at: string; | |
| } | |
| export interface ProductPrice { | |
| id: string; | |
| product_id: string; | |
| quantity: string; | |
| price: number; | |
| created_at: string; | |
| } | |
| export interface ShopConfig { | |
| shopName: string; | |
| shopDescription: string; | |
| shopLogo: string; | |
| shopBanner: string; | |
| orderManager: string; | |
| isOpen: boolean; | |
| isMeetupEnabled: boolean; | |
| isVerificationEnabled: boolean; | |
| welcomeMessage: string; | |
| infoText: string; | |
| channelUrl: string; | |
| managerChatId: string; | |
| adminId: string; | |
| isAutoBroadcastEnabled: boolean; | |
| orderDispatchMode: 'private' | 'group'; | |
| deliveryGroupId: string; | |
| meetupGroupId: string; | |
| accentColor?: string; | |
| } | |
| export interface CartItem { | |
| productId: string; | |
| productName: string; | |
| priceId: string; | |
| quantityLabel: string; | |
| price: number; | |
| count: number; | |
| } | |