mirror of
				https://github.com/owncast/owncast.git
				synced 2025-10-31 10:08:10 +08:00 
			
		
		
		
	Add placeholder components to be worked on
This commit is contained in:
		
							
								
								
									
										15
									
								
								web/interfaces/server-status.model.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								web/interfaces/server-status.model.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | ||||
| export interface ServerStatus { | ||||
|   online: boolean; | ||||
|   viewerCount: number; | ||||
|   lastConnectTime?: Date; | ||||
|   lastDisconnectTime?: Date; | ||||
|   versionNumber?: string; | ||||
|   streamTitle?: string; | ||||
| } | ||||
|  | ||||
| export function makeEmptyServerStatus(): ServerStatus { | ||||
|   return { | ||||
|     online: false, | ||||
|     viewerCount: 0, | ||||
|   }; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Gabe Kangas
					Gabe Kangas