mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 01:02:54 +00:00 
			
		
		
		
	Create Message class representing defined data format
This commit is contained in:
		@@ -1,6 +1,11 @@
 | 
			
		||||
import { Component, OnInit } from '@angular/core';
 | 
			
		||||
import { MarkdownService } from '../markdown.service';
 | 
			
		||||
 | 
			
		||||
class Message {
 | 
			
		||||
  originator: string;
 | 
			
		||||
  timestamp: Date;
 | 
			
		||||
  message: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@Component({
 | 
			
		||||
  selector: 'app-logs',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user